Hi
I have a couple of questions, been digging around xda and the web and found some conflicting answers...
1) Does a Nandroid backup also back up the kernel? I'm thinking about dabbling with some custom kernels, but don't want to potentially mess things up as well as have an easy way back to the stock kernel if I don't like the custom one for one reason or another.
2) What would happen if I made a Nandroid backup from recovery, did a full wipe (/data, /system, /sdcard, caches), rebooted then restored from the Nandroid backup?
I'm still pretty new to all this but I've done some reading and a wee bit of flashing & rooting on Nexus devices and the HP Touchpad. I also have an old TF101 that I'd really like to tinker with as well.
Thanks!
cardula said:
Hi
I have a couple of questions, been digging around xda and the web and found some conflicting answers...
1) Does a Nandroid backup also back up the kernel? I'm thinking about dabbling with some custom kernels, but don't want to potentially mess things up as well as have an easy way back to the stock kernel if I don't like the custom one for one reason or another.
2) What would happen if I made a Nandroid backup from recovery, did a full wipe (/data, /system, /sdcard, caches), rebooted then restored from the Nandroid backup?
I'm still pretty new to all this but I've done some reading and a wee bit of flashing & rooting on Nexus devices and the HP Touchpad. I also have an old TF101 that I'd really like to tinker with as well.
Thanks!
Click to expand...
Click to collapse
I don't know much about kernel but I do know that Nandroid backup backups everything exactly where the phone is.
That means if you do factory reset and restore Nandroid backup it will restore everything from the day you made the Nandroid backup.
I hope it clarifies everything.
Let me answer your questions.
1. When you do a nandroid backup, it backs up everything. Including the kernel.
2. If you nandroid backup, factory reset your device then restore your nandroid backup. Your device will return to the same state you had it previously. You will have all your content, files and settings. However if you do a backup, then factory reset and reboot, your device will be wiped of everything but it will boot up. As if the device was just turned in upon purchase. Also note, if you do a backup, then wipe your device (factory reset) you will not lose your backup.
Just note, if you ever flash a ROM, even if the developer states there is no issues. MAKE A BACKUP, sometimes things go wrong.
Happy flashing
If I helped, don't hesitate to hit that Thanks button
Thanks for the quick replies!
I was a bit confused about 2) because I read somewhere that if you make a nandroid backup of a stock ROM, then install a custom ROM (non-Stock based ie CM, PA or OmniROM) you must flash the stock ROM again before you can restore the nandroid backup, or else restoring the nandroid backup will not work. Is this true?
Consider the following example, say I:
-flash TWRP on my device and root
-make nandroid of stock, rooted ROM
-wipe /data, /system, /sdcard and caches and reboot back into recovery
-ADB push a non-stock custom ROM .zip file and flash the custom ROM
-decide I want to return to stock, rooted ROM after a while
-Boot into TWRP, then wipe /data, /system, /sdcard and caches and reboot back into recovery
-ADB push my original stock, rooted nandroid backup to /sdcard while in reocvery
-restore nandroid backup
What would be the outcome of the above example? I'm very curious...but I'd like some advice before attempting something like this myself as I'm still kinda new to all this
BTW I'm now comfortable flashing back to stock using fastboot and the google facotry image to restore a Nexus device so I now know how to do this in case things go south. I'm just curious if this would work on a device where returning to a full stock state isn't so easy.
No you don't need to install anything to get back to the previous state. So if you had a stock rooted ROM, then backed it up. But you decided to flash, let's say. Cyanogenmod but you wished to return back to stock, you don't need to flash stock ROM, all you have to do is just wipe data and restore your backup.
And for the example.
The outcome would be, you would be resulted with a stock, rooted rom.
If I helped, don't hesitate to hit that Thanks button
Thanks again, krishneelg3 for the quick reply. Been wondering about this for a while.
Cheers
No worries, if you have any other questions to ask, just ask. xda is a giving community !
If I helped, don't hesitate to hit that Thanks button
Related
Hey all, sorry if this has been asked, but if I run a full back up in recovery, then try another ROM after doing a full wipe, and dislike it, when I restore the old backup, will it return my device to exactly the same point (accounts, apps, text etc) as when I backed it up?
Or will I have to reenter all account information again?
Cheers!
Restore will put the device back to exactly as it was at the point the backup was made.
From my understanding a nandroid will backup everything and restore it back to that point except for the kernel. So say you were OCed in the backup and not currently when you restore you'll get everything back but you'll still need to re-flash the kernel to OC again. Good luck!
Awesome,
Thanks very much for the info!!
nandroid is a life saver. I flash roms all the time just to try them out because I can always go back.
Hi. I've been using a ROM for the last little while (SlimICS), and I like it, more or less. There's a feature in another ROM (ParanoidAndroid, per-app density), that I'd really like to try out, but this ROM also has a lot of features I don't want (tablet mode) and doubt I would like. I use TWRP as my recovery...if I use TWRP to make a backup of System, Data, Boot, Recovery, .android_secure, and EFS, will I be able to flash this other ROM, then restore the backup to go back to my old ROM after I play with the new one a bit? Will the backup of these items bring me back to exactly how it was before, if I do a Wipe Cache/Dalvik Cache/Factory Reset?
Sorry if these questions are answered elsewhere, I'm just trying to make sure that my limited understanding of all this isn't incorrect, in my specific situation.
If you make a backup through recovery, when you restore, it'll be exactly where you left off, settings and all, when you shut the phone down.
When backing up in Recovery, you are backing up the OS and apps. This is called a nandroid. This does not backup anything on the sdcard.
Yesterday, I flashed a different kernel version on my NS. Before flashing, I did a nandroid backup using Reovery. Unfortunately, the kernel failed to load properly and I was stuck in a boot loop. I restored my backup I have done previously, and my phone was back where it was, few minutes before. It is very easy to do and backups/restores and verified using MD5 checksum.
Keep in mind that some apps put stuff on the sdcard. So if you flash your phone to a new ROM, upgrade apps and then go back to another ROM, it is possible that some apps won't work anymore. I've never seen this happen but this is a possibility.
Hi,
i am using CWM.
currently, i am under Cyanogen.
i want to try AOKP.
my question is
i have followed the steps below
a backup
Wipe data
Wipe system
Install AOKp
Till now am i right?
and after to come back to my backup
step 1
Should i Wipe Data?
step 2
Should i wipe system ?
Restore CWM of Cyanogen
are the steps 1 and 2 necessary?
is it a bad practice?
do it let gremlim?
moreover can i restore a back up made under TWRP from CWM?
Can i restore a back up made under CWM from TWRP?
how do you restore the back up?
am i missing steps? Fix permissions?
do i need to recalibrate my battery each time?
Thanks
Heniki
You can only restore CWM backups with CWM and TWRP backups with TWRP. As of now CWM 6's backup function is broken but it is being worked on. So make sure your Backups are from either TWRP or CMW 5 if you want them to work.
To restore a backup I wipe data/factory reset and wipe system. Then choose the backup I want to restore. No need to fix permissions unless things start to act funny after the restore. As far as battery calibration goes it's a myth.
hechoen said:
You can only restore CWM backups with CWM and TWRP backups with TWRP. As of now CWM 6's backup function is broken but it is being worked on. So make sure your Backups are from either TWRP or CMW 5 if you want them to work.
To restore a backup I wipe data/factory reset and wipe system. Then choose the backup I want to restore. No need to fix permissions unless things start to act funny after the restore. As far as battery calibration goes it's a myth.
Click to expand...
Click to collapse
With R6, Bryan said he fixed the backup and restore issues with CWM6. Idk about the rest of the features
When you say "Cyanogen" I think many assume you mean CM9 (ICS).
If you are running CM7 (GB), be very careful how you restore. Most system data (and perhaps some user data) from GB is not compatible with ICS.
jeffsf said:
When you say "Cyanogen" I think many assume you mean CM9 (ICS).
If you are running CM7 (GB), be very careful how you restore. Most system data (and perhaps some user data) from GB is not compatible with ICS.
Click to expand...
Click to collapse
Right, i am under CM9
Thanks guys
How i Can move from TWRP To CWM?
i found this one to move from CWM to TWRP http://forum.xda-developers.com/showthread.php?t=1721489.
i want really to understand what are the bad practices which will create gremlims
heniki said:
Thanks guys
How i Can move from TWRP To CWM?
i found this one to move from CWM to TWRP http://forum.xda-developers.com/showthread.php?t=1721489.
i want really to understand what are the bad practices which will create gremlims
Click to expand...
Click to collapse
As Fb said in the post you linked you flash the boot.img that came with your rom or reflash the rom.
The more times you flash roms the more issues you could have with "gremlins". Read more about it in the link.
http://forum.xda-developers.com/showthread.php?t=1500427
Sent from my SGH-T959V using xda premium
Sorry if this has been covered way too many times but I want to make sure.
I have rooted my phone that was running 3.20.502.52 with the AAHK so now I'm on the version it sent me back to and I have done nothing since. I am getting ready to switch to the Jellytime R29 ROM. I know to make a Nandroid backup but I was a little concerned about getting back to the state my phone is right now should anything go wrong or if I don't like it, go back. It seems that I can't just restore my Nandroid through CWM without flashing a different kernel since I'd be coming from a JB ROM.
My current setup is:
Android: 2.3.3
Sense: 2.1
Kernel: 2.6.35.10-gd2564fb
Software 2.47.502.7
So, in order use my Nandroid in case the Jellytime messes up, do I simply have to do a factory reset, and wipe cache, and dalvik-cache (this is considered a "full" wipe, yes?) and then flash a compatible kernel then restore my backup? And if so, can I find that exact kernel somewhere to flash or is there another one you guys can recommend me to use in my situation? OR, can I just straight up restore the Nandroid since the backup should cover the kernel too?
Sorry I'm a newb. I'm trying to learn. All help is greatly appreciated. I'm hoping to flash Jellytime as soon as I know how to recover from it.
1. Welcome!
2. The kernel is included in the backup. You also don't need to wipe anything; just restore the nandroid. Make sure you use a fully updated recovery; make sure using ROM Manager for CWM or the 4ext Updater or Play Store app for 4ext.
3. A full wipe is system, data, and cache. Dalvik is already included if you wipe those. A factory reset only wipes data and cache, leaving system unwiped. In 4ext just choose "wipe all partitions except sdcard."
Alright. I already flashed Jellytime a while ago and so far I see no reason for wanting to go back although I did a quadrant standards test and scored lower than stock. Not sure why, but either way, this was a nice first ROM. What I wiped in cwm was the reset, cache, and dalvic. So far everything is working if I missed anything.
Didn't know wiping wasn't necessary for using backups. Must of missed that in my reading. Thanks though. I'll become less of a newb over time.
Due to problems with Google Services on my rooted Galaxy S5 (SM-G900F) I opted for a reset from TWRP and it returned to a condition where after some initial screens it was just stuck at "Checking for Updates" so I went back into TWRP and told it to wipe the other partitions. Whoops - now I have no OS (I was sort of assuming that the factory reset OS was somewhere else)
Which is the stock ROM for my Region - UK, unbranded - where do I get it from and how do I load it using Odin and/or TWRP?
TIA
Hello,
Did you make a nandroid backup of your stock ROM or a nandroid backup of a custom ROM if you installed one? If you have a nandroid backup of either of those then you can restore them in TWRP by choosing the restore option and then your nandroid then swipe the slider at the bottom of the screen. If you installed a custom ROM at any time before this and you still have the ROM file then you can reflash the ROM and Gapps.
If you don't have a custom ROM stored anywhere but can still get to recovery, then you can download any of the custom ROMs compatible with your device and a Gapps package that matches it and put them on your extsdcard then boot to recovery and flash the ROM and gapps, do the normal wipes in recovery after flashing, the normal wipes(wipe data/factory reset, wipe cache and wipe dalvik cache), DO NOT CHOOSE THE ADVANCED OPTIONS THAT LET YOU WIPE PARTITIONS.
Check this thread to see if it is your stock firmware, it SHOULD be but double check first, it also has instructions for rooting again and installing recovery.
http://forum.xda-developers.com/galaxy-s5/development/stock-rom-root-recovery-sm-g900f-t2967725
If that doesn't work then go to Sammobile.com and search for your stock firmware by using your device model number.
The firmwares can sometimes be found at samsung-updates.com also.
Find the right firmware for your exact model number and flash through Odin.
For further assistance, post your question in the forum linked below.
http://forum.xda-developers.com/galaxy-s5/help
Good luck.
Droidriven said:
Did you make a nandroid backup of your stock ROM or a nandroid backup of a custom ROM if you installed one?
Click to expand...
Click to collapse
Sadly not - wasn't expecting to need it, thought it would revert to factory default - I have Titanium backup of apps and data.
I am hopefully a few minutes away from downloading the stock ROM and hopefully can reflash that using ODIN.
KD
colehill said:
Sadly not - wasn't expecting to need it, thought it would revert to factory default - I have Titanium backup of apps and data.
I am hopefully a few minutes away from downloading the stock ROM and hopefully can reflash that using ODIN.
KD
Click to expand...
Click to collapse
Making nandroid backups in recovery is the most important and valuable function of custom recovery, flashing ROMs is its' secondary purpose Android is not like PC with a recovery partition that restores a factory IMG, on PC that factory IMG is stored in a recovery partition. The factory reset feature in stock android does not restore an IMG, it deletes all data from the user partition and leaves everything in system partition the way it is, if you delete a system app and then do a factory reset then you will still not have the system app that you deleted. Anything you modify in system remains the way you modified it if you use the factory reset option. You should only use the factory reset in recovery, not the factory reset in system settings when you have a rooted device with custom recovery.
I'm sure that when you found the recovery, the directions had to have mentioned making a nandroid backup of your stock ROM before flashing anything, your present situation is why you do that, so that if anything goes wrong then you can easily restore to the one ROM that you know for sure works with no issues.
Sent from my SCH-I535 using Tapatalk
Droidriven said:
I'm sure that when you found the recovery, the directions had to have mentioned making a nandroid backup of your stock ROM before flashing anything, your present situation is why you do that, so that if anything goes wrong then you can easily restore to the one ROM that you know for sure works with no issues.
Click to expand...
Click to collapse
I installed the TWERP recovery as part of the rooting operation and I didn't pay any attention to the backup option - I thought that's what Titanium did.
I am learning and will make sure that I take a Nandroid backup once I have it back up and running. Life would be so much simpler if only Samsunng didn't stuff their 'phones with bloatware that can't be deleted in stock mode.
KD
colehill said:
I installed the TWERP recovery as part of the rooting operation and I didn't pay any attention to the backup option - I thought that's what Titanium did.
I am learning and will make sure that I take a Nandroid backup once I have it back up and running. Life would be so much simpler if only Samsunng didn't stuff their 'phones with bloatware that can't be deleted in stock mode.
KD
Click to expand...
Click to collapse
Titanium backup can only backup data that you installed or downloaded, it does not backup anything that comes on the phone itself, that is what custom recovery is for.
When following guides to mod your device, read and understand ALL instructions before you even make the first move to touch your device. Get used to being thorough about reading and understanding first or you'll end up in a mess, possibly even hard brick your device, all it takes is one wrong move. Not all mistakes are fixable with android devices.
Sent from my SCH-I535 using Tapatalk