[Q] nandroid to zip... - Eee Pad Transformer Q&A, Help & Troubleshooting

Is there a way to convert a nandroid backup into a flashable zip file? I would like to have the possibility of returning to my rooted rom if ever I decide in the mean time to go back to stock rom and don't like it.
The question has been asked a few times but has never, to my knowledge, received a clear answer.

NoUseToRush said:
Is there a way to convert a nandroid backup into a flashable zip file? I would like to have the possibility of returning to my rooted rom if ever I decide in the mean time to go back to stock rom and don't like it.
The question has been asked a few times but has never, to my knowledge, received a clear answer.
Click to expand...
Click to collapse
A nandroid back up takes a snap shot of your entire OS. All of the /system files, all of the /data files. All the apps in their current state. I mean EVERYTHING is store in the nandroid back up. When you preform that there is a "backup/restore" option in the Clockwork ROM recovery image. You would just select "restore" then select the back up you want to store. I will advise you not to change the name of the file as the MD5SUMs will not match and it will not be able to load it. It's a flash-able .zip my nature. but it will verify it's own MD5SUM prior to flashing it.
which brings me to this point.
but to restore you nandroid you need to be a) rooted b)have clockwork installed.

Yup, you can do it, but you need a few things:
1) system.img and boot.img to flash
2) you'll also need a non-stock recovery, so if you return to stock, just go back to a rooted stock system, and keep the non-stock/cwm recovery so that you can apply the zip. This begs neidlinger's point above about just restoring your backup via recovery.
3) if you want to really cross your eyes and dot your tees, then you should also get the EBT partition from the stock firmware so that you can update the bootloader. Most people are fine using what ever old bootloader they had when they rooted, but I think it can cause bootloops with certain combinations.
So yes it can be done, but it's more an exercise in android-fu. You'll have to search around and take apart a few zips to figure it out.

what about this (just to see if I understand the approach): I make a cwm recovery of my present non-stock rom and I somehow manage to go back to a stock rom. If I miss my custom rom, I root , install cwm recovery and restore the backup stored on my external sd card...How is that?

NoUseToRush said:
what about this (just to see if I understand the approach): I make a cwm recovery of my present non-stock rom and I somehow manage to go back to a stock rom. If I miss my custom rom, I root , install cwm recovery and restore the backup stored on my external sd card...How is that?
Click to expand...
Click to collapse
That is correct
You are on a custom OS, you make a nandroid backup Via CRW (ClockWork Recovery) (it will store to the SDcard)
you go back to OE not rooted OS with stock recovery.
you don't like it, it's slow or ugly, what ever.
you re-root. Reinstall CWR
you wipe the device
select "backup/restore"
Then restore
and it will restore the Nandroid completely.
you boot the device to the exact point in which you left it.

Related

[Q] First Time Flashing Rom

Ok, I just want to cover all my bases and make sure everything is set for me.
I rooted my ATRIX, installed ROM manager pro and Titanium backup pro, backed up my apps and data with Titanium, and flashed clockworkmod with rom manager.
I have the Alien rom and the alien theme downloaded and put on my sdcard.
From what I understand I just click install rom in rom manager and it should all be good correct?
Thanks for any advice! I just want to make sure I'm doing everything correctly.
Jup thats one way to do it. And it is a good method!
So go ahead and flash it if you already haven't done it
Sounds good to me.
should would fine long as your phone likes cwm, i had a lil issues with it myself but i'm running a new rezound that doesn't have the best support with it yet, i switched to amon ra recovery as it seemed to have a lil more to offer and didn't give me a issue with the scripts some roms use, long as that phone is well supported by cwm you should be fine tho
Or you can just boot intoo clockworkmod recovery and select "install zip from sdcard" and point to the zipfile of the new rom. A wipe is usually necessary and also doable from the recovery.
scarbutt11 said:
Ok, I just want to cover all my bases and make sure everything is set for me.
I rooted my ATRIX, installed ROM manager pro and Titanium backup pro, backed up my apps and data with Titanium, and flashed clockworkmod with rom manager.
I have the Alien rom and the alien theme downloaded and put on my sdcard.
From what I understand I just click install rom in rom manager and it should all be good correct?
Thanks for any advice! I just want to make sure I'm doing everything correctly.
Click to expand...
Click to collapse
Well, almost. You also need to unlock the bootloader before you can flash a ROM. You mentioned that you backed up your data using Titanium Backup, which is fine, but you should also create a backup in recovery. That way, if something goes wrong and you end up with a phone that won't get past the boot logo, you can simply boot into recovery and restore your phone to exactly how it was before. Just make sure you have at least 2GB of free space on your sd card so that it can perform a full backup. To perform a backup, turn off your phone, then right as you're turning it on again, hold the volume down button until "fastboot" shows up. Then press the down volume button until you see "Android Recovery." Now press up to enter recovery. From there, navigate to backup. I realize that this isn't necessary, but I soft-bricked my phone the first time I tried to flash a rom, and if I had done a proper backup, it would have saved me a lot of grief.
Hope this helped!
I would also make a Nandroid backup of the current system just in case. Nandroid backups never failed on me when needed. I do believe it is a good "go to" option if a restore backup is needed.
Just my two cents

[Q] Need reassurance about backup process

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.

Backup & restore rom

hi everyone,
i have just rooted my lava iris 454(ICS 4.0.4). i am very happy with my engineering (thanks to those members who helped me).
now before going to try custom ROM's i want to make a back up of company provided ROM.
SO, somebody please give me step by step instructions :
1) how can i backup my ROM.
2) After installing custom ROM how can i restore my backup ROM.
please somebody help me. i will be grateful.
aakashing said:
hi everyone,
i have just rooted my lava iris 454(ICS 4.0.4). i am very happy with my engineering (thanks to those members who helped me).
now before going to try custom ROM's i want to make a back up of company provided ROM.
SO, somebody please give me step by step instructions :
1) how can i backup my ROM.
2) After installing custom ROM how can i restore my backup ROM.
please somebody help me. i will be grateful.
Click to expand...
Click to collapse
You can install ROM Manager from PlayStore and use Clockworkmod to backup your ROM. Or you could also backup your rom by entering your device's recovery. You can trigger it by pressing a specific combination (Volume Up, Volume Down or both alternatively - depends on your device) of buttons while the device is switching on.
You can find elaborate explanations here: http://forum.xda-developers.com/showthread.php?t=1587607
Hope I helped.
In a nutshell, what you are looking for is called a making nandroid backup. There are many programs which can accomplish this. My favorite is 4EXT recovery, which you can download from the play store. It does require you have root to install 4EXT! After you have a program such as 4EXT or ClockworkMod which can make nandroid backups, then you can save them and restore them in the future. This is how you can return your phone to the exact way it was when you make the backup.
thank you for advising me 4EXT recovery and ROM Manager.
What about titanium backup?
i made a backup(i hope so) by Titanium backup, by selecting the option "Backup all user apps and system data".
my questions are:
1) is that enough for back up?
2) how can i restore it after installing a new rom?
3) in between the process of installing if my phone become dead or blank how it will possible to access titanium backup?
oh its so much complicated. plz any developer help me.
thanks in advance.
installed ROM Manager Premium v5.0.2.7
if select
1) "Flash CWM Recovery"
asks to confirm ph model-> select iris 454 -> says "it does not have an official supported CWM yet. Have u installed a cwm based recovery manually?" -> if i select "yes," 2 option comes for confirm version cmw 2.x and cmw 3.x -> after selecting one of those nothing happen.
2) Backup current ROM
displays "new backup name..." -> if i click OK the system reboot. -> in reboot process an android symbol comes and suddenly it lay down like a wounded man. -> system hangs ->only removing battery makes it solve.
Yes, that's enough backup. You have backed up all your system data and applications. So you can restore your phone's last known working state.
After installing a new ROM, you can download Titanium Backup from PlayStore and use it to restore everything.
Note: Some ROM's don't have PlayStore available in their package in which case you'd have to download the gapps package separately and flash it too while flashing the ROM.
You cannot use Titanium Backup if your phone doesn't come alive. You'd have to restore the stock ROM or flash some other known-to-be-working ROM. You can then restore your stuff.
Sent from my LiveWithWalkman
I've never used a nandroid backup, I usually do a backup with go backup (sms,phone log,wifi passwords and apps with preferences) which is an easy and intuitive app. If something fails i have a tested rom which i flash before do anything else.
Why it's better to do a nandroid backup and not just this??
Voldizard said:
Yes, that's enough backup. You have backed up all your system data and applications. So you can restore your phone's last known working state.
After installing a new ROM, you can download Titanium Backup from PlayStore and use it to restore everything.
Note: Some ROM's don't have PlayStore available in their package in which case you'd have to download the gapps package separately and flash it too while flashing the ROM.
You cannot use Titanium Backup if your phone doesn't come alive. You'd have to restore the stock ROM or flash some other known-to-be-working ROM. You can then restore your stuff.
Sent from my LiveWithWalkman
Click to expand...
Click to collapse
thnx dear.
titanium backup is enough for me.
but now what about" if your phone doesn't come alive"? how should i restore the stock ROM if it is unavailable?
can i make stock rom or make a back up of stock rom? how?
Sewrizer said:
this means that your device is not supported by CWM recovery so there is not much to do, unless your stock recovery can perform the same tasks as CWM. for instance sgs2 recovery mode only allows you to install zip and to wipe cache and factory reset.
On the other hand there is a risky method you may try but i am not sure whether it would work. Install odin on your PC or mobile odin on your device and look for a kernel which has CWM recovery in it. THIS IS A RISKY OPERATION SO THINK BEFORE YOU DO THIS. I'm saying this because i bricked my sgs2 and the only way i could make it work was to restore, but again, you need CWM to restore. good luck.
hit thanks if i helped or reply/ send me a PM if you need further details.
Click to expand...
Click to collapse
"for instance sgs2 recovery mode only allows you to install zip and to wipe cache and factory reset"
unable to understand this.
i want to try with other rom (because custom rom unavailable for my device); if it fails how should i make alive my phone?
is it possible to recover the company provided rom?
plz response.
thanks in adv.
aakashing said:
thnx dear.
titanium backup is enough for me.
but now what about" if your phone doesn't come alive"? how should i restore the stock ROM if it is unavailable?
can i make stock rom or make a back up of stock rom? how?
Click to expand...
Click to collapse
You can find the entire procedure for backing up your Stock ROM here: http://androidadvices.com/backup-stock-rom-clockworkmod-rom-manager/
In order to restore Stock ROM, turn off your phone, boot your phone into recovery and use the restore option in the screen you see.
Sewrizer said:
Can you put your phone in recovery mode? I if so, take a picture of it and post it in a reply.
Sent from Area 51 using my Samsung Galaxy i9100p
Click to expand...
Click to collapse
when i press power+ vol down key in booting time it displays Factory mode.
Under this heading the sub menus come like this (i dont know whether it is recovery mode or not.)
Full test
Item test
Test Report
Clear eMMC
Version
Reboot
is it enough info? otherwise ill shoot a photo.
plz make some way-out bro.
it sounds like you need to flash a custom recovery on your thing first
tsomclovin said:
it sounds like you need to flash a custom recovery on your thing first
Click to expand...
Click to collapse
whats that man?
whats d process?
i badly need to solve that.
thanks in advance.

[Completed] Restore OS After Wiping System Partition - Galaxy S5

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

Reverting back to stock recovery

Hi,
I flashed Twrp but I can't backup, because it can't mount data.
I thought, I'd try to revert back to stock recovery and then flash twrp again.
Does anybody know how to do that without flashing an entire stock Rom?
Thanks
nearlygod said:
Hi,
I flashed Twrp but I can't backup, because it can't mount data.
I thought, I'd try to revert back to stock recovery and then flash twrp again.
Does anybody know how to do that without flashing an entire stock Rom?
Thanks
Click to expand...
Click to collapse
Hi
Why you just flash TWRP again and start from begining?
Anyhow if you wish to reflash your stock recovery You need to reflash a stock boot.img
Here you have 2 ways to do it:
http://forum.xda-developers.com/showpost.php?p=66934553&postcount=218
http://forum.xda-developers.com/showpost.php?p=66922116&postcount=215
In those threads the point was to re root but the principle is valid you can use them as guides
nearlygod said:
Hi,
I flashed Twrp but I can't backup, because it can't mount data.
I thought, I'd try to revert back to stock recovery and then flash twrp again.
Does anybody know how to do that without flashing an entire stock Rom?
Thanks
Click to expand...
Click to collapse
I had this problem and found out in my case, at least, it was because when I rooted, I didn't "format data" during the process. I've been told that if you don't format data during the process, you leave the data partition encrypted, and thus it can't be mounted (at least by non-system apps and processes). No guarantees here as always, but If you back everything up and redo the root process and do the data format, then you may be able to mount data. At that point you can restore your apps and info. I've also read (but haven't tried this!) that you can do a nandroid backup and restore ALL your data from that nandroid after you reset your phone (which the data format will do). You should google everything I have suggested and see if you can get what you need in this way, without having to reflash the ROM entirely or try to revert to stock recovery.
kettir said:
I had this problem and found out in my case, at least, it was because when I rooted, I didn't "format data" during the process. I've been told that if you don't format data during the process, you leave the data partition encrypted, and thus it can't be mounted (at least by non-system apps and processes). No guarantees here as always, but If you back everything up and redo the root process and do the data format, then you may be able to mount data. At that point you can restore your apps and info. I've also read (but haven't tried this!) that you can do a nandroid backup and restore ALL your data from that nandroid after you reset your phone (which the data format will do). You should google everything I have suggested and see if you can get what you need in this way, without having to reflash the ROM entirely or try to revert to stock recovery.
Click to expand...
Click to collapse
+1
Hi. Yes, I had to format everything. Now it works. Also the issues I had with Titanium Backup are gone. I flashed the ExtSdFix and I'm almost running like on Kitkat, yeah

Categories

Resources