Backup Restore from TW to AOSP - Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot

A few newbie questions.
1. Does a full Nand backup also backup kernel? My understanding is that it doesn't.
2. Anyway to backup kernel?
3. When restoring AOSP Nand backup on a TW based kernel what's best way to get the stock AOSP kernel back included in Rom. This is not an issue for me when switching to a TW based Rom since I have a separate zip of the latest MF9 kernel.
Just want suggestions on how to restore from a Nand backup when changing from TW and AOSP roms. I want to be able to Restore quickly from TW to AOSP and AOSP to TW. I also prefer to stick with stock kernels since I've have random reboot issues with some of the custom kernels. I also understand this is not a concern when installing any ROM from scratch since the zip will usually install the desired kernel.

Nand backups do backup kernel/boot.img
Sent from my SPH-L720 using xda premium

devoureddreams said:
Nand backups do backup kernel/boot.img
Sent from my SPH-L720 using xda premium
Click to expand...
Click to collapse
Ok thanks no worries then.

Related

[Q] WHats is Deodexed EI22 rom?

hi im tring to download honeycomb explosion but it says its for deodexed e122 rom in the video. I dont know what that is? i have a rooted 2.3.5. with super user permisions. with CWM5 and thats it everything else is stock. so what is a DEODEXED EI22 ROm.
also if i install this theme how do i get it back to stock sansung gingerbread if i wanted to.?? thanx
A simple google of this will give you an answer on that. But easy answer is most custom ROMs are deodexed for ease of modding and stock is Odexed. You should run a nandroid backup of your system, flash a custom ROM then flash your theme. You don't like it then restore your backup.
Sent from my SPH-D700 using XDA App
http://forum.xda-developers.com/showthread.php?t=1339579
This is stock deodexed, think this is what you're looking for.

How to go from a custom rom back to stock without a backup?

So, my stock nandroid backup has failed me. I am on Slimbean right now and I like it, but I would like to flash back to stock until all the kinks are worked out. How can I get back to stock touchwiz? I'm not exactly sure what a deodexed ROM is, but it is my understanding that Wallet does not work on one so I would like to be on a ROM that allows wallet.
Floppy454 said:
So, my stock nandroid backup has failed me. I am on Slimbean right now and I like it, but I would like to flash back to stock until all the kinks are worked out. How can I get back to stock touchwiz? I'm not exactly sure what a deodexed ROM is, but it is my understanding that Wallet does not work on one so I would like to be on a ROM that allows wallet.
Click to expand...
Click to collapse
You could either use Odin to flash the stock rom and be back at square 1, unrooted. Or you could flash crawrj's odexed rooted rom, and Google wallet works on that. Just read up on disabling SEAndroid so you don't get the nag.
Sent from my SPH-L900 using Tapatalk 2
k2buckley said:
You could either use Odin to flash the stock room and be back at square 1, unrooted. Or you could flash Crawrj's odexed rooted rom, and Google wallet works on that. Just read up on disabling SEAndroid so you don't get the nag.
Sent from my SPH-L900 using Tapatalk 2
Click to expand...
Click to collapse
That is just what I was reading now. I'm probably going to flash that. I do understand it doesn't come with a kernal, so if I'm on Slimbean can I just wipe and flash the odexed rom over that kernal? If not, how do I get the stock kernal back to flash over?
Floppy454 said:
That is just what I was reading now. I'm probably going to flash that. I do understand it doesn't come with a kernal, so if I'm on Slimbean can I just wipe and flash the odexed rom over that kernal? If not, how do I get the stock kernal back to flash over?
Click to expand...
Click to collapse
Good point. Flash Shabbys custom kernel, it's linked in that same thread (crawjr's). So wipe, flash odexed rooted rom, flash kernel. You will need to freeze that SEAndroid app though, don't forget about that.
Sent from my SPH-L720 using Tapatalk 2
k2buckley said:
Good point. Flash Shabbys custom kernel, it's linked in that same thread (crawjr's). So wipe, flash odexed rooted rom, flash kernel. You will need to freeze that SEAndroid app though, don't forget about that.
Sent from my SPH-L720 using Tapatalk 2
Click to expand...
Click to collapse
Alright, so I can flash both at the same time? Also, how do I freeze the app? Just disable it in the settings?
Floppy454 said:
Alright, so I can flash both at the same time? Also, how do I freeze the app? Just disable it in the settings?
Click to expand...
Click to collapse
I used titanium backup to freeze it. You need the pro version to do that though
EDIT: Someone just informed me that the app is in the system/app directory, and is called KNOXAgent.apk. So I supposed you could try deleting/renaming that to disable it without using Titanium backup.
http://forum.xda-developers.com/showpost.php?p=41344748&postcount=134
And yes, flash the rom and then kernel in the same recovery session. You currently have an aosp kernel, so I'd doubt it boots if you tried to boot before flashing the kernel.
Sent from my SPH-L720 using Tapatalk 2
Did you have any success?
Sent from my SPH-L720 using Tapatalk 2

Ways to go back to Stock from PA?

Hi,
I am about to flash the PA rom on my N4 but before doing that I need to know how easier I can come back to my stock setup.
I have made a complete nandroid backup but I am not sure if that will work. My baseband and bootloader are already latest versions so that's that.
Actually I'm not sure if flashing the stock rom back is the only way so need to confirm that.
Thanks!
You can either go back to stock by flashing the stock nexus 4 images, or by restoring your nandroid backup that you created while you are on stock ROM.
Sent from my HTC Desire using xda app-developers app
Or you can simply download the deodexed stock 4.2.2 ROM and flash it via recovery. Just wipe cache and dalvik cache.
http://forum.xda-developers.com/showthread.php?t=2010887
Sent from my Nexus 7 using Tapatalk 2
scream4cheese said:
Or you can simply download the deodexed stock 4.2.2 ROM and flash it via recovery. Just wipe cache and dalvik cache.
http://forum.xda-developers.com/showthread.php?t=2010887
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
But it isn't really stock because he won't get OTA's if the rom is deodexed, right?
http://forum.xda-developers.com/showthread.php?t=2010312
not sure why this isn't posted in a sticky in this forum.. But there you go.
Its easy to follow. Step by step with links for the downloads you'll need.
rskyline said:
But it isn't really stock because he won't get OTA's if the rom is deodexed, right?
Click to expand...
Click to collapse
If you flash a stock ROM from XDA whether its deodexed or odexed it won't install ota because its signed differently
Sent from my Nexus 4
Thank you so much for your helpful responses, I was able to "test" and successfully restore my previous setup using a nandroid backup so no need to flash stock images/firmwares
So, we have two options when we want to go back to previous rom:
1. Either flash a factory image as mentioned (which erases all the system data etc etc)
2. Make a nandroid backup before installing a custom rom and restore the backup if youre not happy with it
Cheers and Thanks again! :good:

how do i deodex my rom?

i want to deodex my rom on s4 4g model, how can i do this is there a tool to do this? the galaxy s4 toolkit only allows you to reodex but not deodex
can anyone provide me with a way of doing this? i have the latest official firmware and it is rooted
Just flash a deodexed rom. It's easier. There are roms that don't wipe.
Sent from my GT-I9505 using xda premium
As mentioned above. Easiest way.
if i flash a deodexed rom over my odexed rom, will this be ok? the firmware is exactly the same though
how will this if at all affect the phone?
It won't affect anything but the odexed apps that will be replaced with deodexed ones. Don't forget to backup your rom via rom manager or from recovery mode.
And btw it all depends on the rom you want to flash. Cuz some roms don't have bloatware or Google apps installed.
Sent from my GT-I9505 using xda premium
mox123 said:
if i flash a deodexed rom over my odexed rom, will this be ok? the firmware is exactly the same though
how will this if at all affect the phone?
Click to expand...
Click to collapse
I think that changing from a odexed rom to a deodexed rom is recommended to do a full wipe.
Make a backup and wipe, it isn't hard.
Or just go for it, without wiping. If you see any problems, do the wipe (and use the backup I recommend doing anyway).

Backing up Galaxy s4

Hey guys
Quick question here guys, im a complete noob on android. Ive rooted my phone, and have installed greenify, titanium backup, and clockworkmod recovery software. I read somewhere i should have made a back up copy before rooting. Is it too late to unroot, or can i still do it now? Any help would be appreciated.
Thanks
The general idea is to to root, install a custom recovery and make a backup before you proceed with installing any new root-access apps, roms, etc. Backups (nandroids) are made in a custom recovery like twrp or, in your case, cwm. Cheers
:fingers-crossed:
xBeerdroiDx said:
The general idea is to to root, install a custom recovery and make a backup before you proceed with installing any new root-access apps, roms, etc. Backups (nandroids) are made in a custom recovery like twrp or, in your case, cwm. Cheers
Click to expand...
Click to collapse
awesome thanks, just did it and it worked fine!
thanks
xBeerdroiDx said:
The general idea is to to root, install a custom recovery and make a backup before you proceed with installing any new root-access apps, roms, etc. Backups (nandroids) are made in a custom recovery like twrp or, in your case, cwm. Cheers
Click to expand...
Click to collapse
Is it too late to make a backup if I've done all that stuff? Wow I've got gaps in my knowledge as a noob.
Sent from my SAMSUNG-SGH-I337 using XDA Premium 4 mobile app
Wittyusernametaken said:
Is it too late to make a backup if I've done all that stuff? Wow I've got gaps in my knowledge as a noob.
Sent from my SAMSUNG-SGH-I337 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
If your already rooted and have MDL/MDB bootloaders and a custom rom you can make a nandroid backup at anytime. This is good practice whenever switching Roms performing a backup before flashing a new rom. It gives you something to restore in case you have issues with the new rom or just don't like it and want to be back to where you were before. Think of a nandroud backup as an ISO IMAGE where everything is saved/restored exactly like the point you made the backup.
Now if you WANT to save a backup if the stock firmware right after you rooted it then no you cannot just do that easily. To do it you will need to Odin back to the stock firmware (MDB/MDL firmwares) then re root your phone, make a backup, then flash the Roms you want.
Sent From My Spiderman Themed I337
RockRatt said:
If your already rooted and have MDL/MDB bootloaders and a custom rom you can make a nandroid backup at anytime. This is good practice whenever switching Roms performing a backup before flashing a new rom. It gives you something to restore in case you have issues with the new rom or just don't like it and want to be back to where you were before. Think of a nandroud backup as an ISO IMAGE where everything is saved/restored exactly like the point you made the backup.
Now if you WANT to save a backup if the stock firmware right after you rooted it then no you cannot just do that easily. To do it you will need to Odin back to the stock firmware (MDB/MDL firmwares) then re root your phone, make a backup, then flash the Roms you want.
Sent From My Spiderman Themed I337
Click to expand...
Click to collapse
Well darn. I'm running stock mdl. Haven't tried a custom rom because I don't have a external storage card, not to mention after using Titanium and greenify and whatnot I've pretty much got it how I want it at this point. Oh well live and learn. Thank you for the information. There's so much I'm trying to learn post iPhone 5.
Sent from my SAMSUNG-SGH-I337 using XDA Premium 4 mobile app

Categories

Resources