Just wondering if there is a way to have 2 roms on your phone at the same time and being able to switch between them. I am working on some app dev with googles new app inventor and I seem to be having all kinds of wierd stuff so I want to flash stock for using app inventor while keeping my current Zen Hero in tact so I can just switch back when I am done. I thought there was some kinda rom manager but I wasn't sure if it made you wipe before switching to another rom.
About the only option you have is to nand backup your current rom, wipe everything, flash the rom you want to work with, boot it up and let it load, boot back into recovery and nand backup that one. Then you can nand restore between the two without wiping. If you have a2sd enabled you will want to do backup with ext.
How do I select which nand backup I want to restore. Normally it just restores the last backup and I dont have a choice.
Put both of them on your SD card in the nandroid folder, inside the sub-folder that is your serial number. You may want to rename those inner folders to something other than just that long time/date string so you can more easily tell them apart.
chromiumleaf said:
Put both of them on your SD card in the nandroid folder, inside the sub-folder that is your serial number. You may want to rename those inner folders to something other than just that long time/date string so you can more easily tell them apart.
Click to expand...
Click to collapse
Yes but when I select Nand backup it does not give me an option to choose which one I want to install it restores the last backup i made. So if I backup the new rom and then try to restore the old one it will just restore the newest backup...is there a way to choose?
chromiumleaf said:
Put both of them on your SD card in the nandroid folder, inside the sub-folder that is your serial number. You may want to rename those inner folders to something other than just that long time/date string so you can more easily tell them apart.
Click to expand...
Click to collapse
Also if you have renamed the folder and put a space in it that could cause a problem so you might want to remove the spaces.
BTW, I see you are from College Station. I'm a fan of the Freebird burritos down there.
AjaxBU said:
BTW, I see you are from College Station. I'm a fan of the Freebird burritos down there.
Click to expand...
Click to collapse
Nice! Yeah me too, I go there a lot!
teedo757 said:
Yes but when I select Nand backup it does not give me an option to choose which one I want to install it restores the last backup i made. So if I backup the new rom and then try to restore the old one it will just restore the newest backup...is there a way to choose?
Click to expand...
Click to collapse
Do you mean when you select "Nand restore"? You shouldn't be selecting Nand backup if you are trying to restore a previous nandroid. Also, what version of recovery do you have?
It sounds as if you have an old recovery on your phone. Maybe 1.2.3, which will only let you recover the last one. Download and flash AmonRa1.6.2 from here or find darchstar's recovery. With those you can choose between all of your backups.
unCoRrUpTeD said:
It sounds as if you have an old recovery on your phone. Maybe 1.2.3, which will only let you recover the last one. Download and flash AmonRa1.6.2 from here or find darchstar's recovery. With those you can choose between all of your backups.
Click to expand...
Click to collapse
Works. Thanks a ton.
teedo757 said:
Works. Thanks a ton.
Click to expand...
Click to collapse
You can edit the names of the folders that are located inside /nandroid/(device_name). The folder name is originally named after yyyymmddhhmm or something similiar. Just rename them with no spaces or symbols, then you will know which one is which.
Related
Hey all,
Are nandroid restores specific to one particular device or can they be interchanged between two G1's? I have a spare G1 that I play around with that has root while my other G1 doesn't have root. I am thinking about rooting the other one and wanted to know if I could just go through the rooting process, (radio, spl, cyanogen recovery etc) throw on a cyanogenmod or JF, then do a nandroid restore from the spare device with all my settings on it. I know that nandroid creates a unique numerical folder that has your latest backup in it so I wasn't sure if this folder would be seen by nandroid on a different phone.
Any thoughts?
EDIT:
Just wanted to update this thread in case anyone else wanted/needed to do this. As I suspected, I ran into folder name problems when trying to copy one nandroid restore to my spare phone and trying a restore. There is a simple fix however....
1) Perform a nandroid backup on the phone you WANT to backup.
2) Copy that nandroid folder from the phone to your PC.
3) Perform a nandroid backup on the phone you DON'T WANT to backup.
4) Copy that nandroid folder from the phone to your PC.
5) Compare the nandroid subfolder name (should be alpha-numeric starting with HT) of the backup you want to the name of the one you don't.
6) Change the name of the nandroid subfolder on the backup you want to restore to the same name of the folder you don't want. This way you fool nandroid into thinking that the backup was originally done on that phone.
7) Copy the entire nandroid folder (with the newly changed subfolder name) to the sdcard of the phone you want to restore.
8) Boot into recovery (power+home) and perform the nandroid restore. If the restore fails, you probably don't have the correct subfolder name. Return to step 5 and 6.
9) If the restore is successful, reboot and you should be all set!
Good question. I wouldn't have thought there would be issues with it bar of course your settings etc but then a wipe before would resolve that. Just make sure to do what you've said though (upgrade radio, SPL, recovery etc) first.
DirectMatrix said:
Hey all,
Are nandroid restores specific to one particular device or can they be interchanged between two G1's? I have a spare G1 that I play around with that has root while my other G1 doesn't have root. I am thinking about rooting the other one and wanted to know if I could just go through the rooting process, (radio, spl, cyanogen recovery etc) throw on a cyanogenmod or JF, then do a nandroid restore from the spare device with all my settings on it. I know that nandroid creates a unique numerical folder that has your latest backup in it so I wasn't sure if this folder would be seen by nandroid on a different phone.
Any thoughts?
Click to expand...
Click to collapse
It won't upgrade your SPL, radio, and recovery. If you look in the nandroid folder, you'll see exactly what is backed up. I think its the /system folder and the /data folder as well as something else. But if you have another phone that is already rooted and has the correct SPL, radio, and recovery, this will work.
Should be fine then as he's planning on doing the usual steps up until flashing the desired ROM of choice. Tell us how it goes DirectMatrix and if it works, please change your thread title to include [SOLVED] so we all know ^_^
NeoBlade said:
Should be fine then as he's planning on doing the usual steps up until flashing the desired ROM of choice. Tell us how it goes DirectMatrix and if it works, please change your thread title to include [SOLVED] so we all know ^_^
Click to expand...
Click to collapse
Gonna start rooting the other phone now so I'll keep this thread updated with whether nandroid backups are swappable between phones. I hope so as that will save me quite a bit of settings/data calibrations.
@h.nocturna... LOL, you have been dealing with n00bs too long in the Q&A section....of course nandroid won't upgrade my radio, SPL, and recovery, but I had a good laugh anyways. Thanks all for the advice
Anyone know if there is a way to give a nandroid backup a name of your choosing? Sometimes when I'm flash and loading a bunch of different stuff I like to do nandroid backups before each one so I can save my phone in various states. unfortunately that means that just the date and time stamp naming convention isn't enough for me to locate the exact one I want to restore.
DaveKid said:
Anyone know if there is a way to give a nandroid backup a name of your choosing? Sometimes when I'm flash and loading a bunch of different stuff I like to do nandroid backups before each one so I can save my phone in various states. unfortunately that means that just the date and time stamp naming convention isn't enough for me to locate the exact one I want to restore.
Click to expand...
Click to collapse
Yep, drag them to your pc and just rename them!
That's the easy way anyway.
Whenever I flash a new rom and I like it, I backup a full clean install so I can start from scratch again, it's better then going through the syncing and logging in again.
I also store mine on the pc, so if my card gets fubar'd then I've still got them.
great idea....never even considered that.
thanks
Not to sound rude, but I would think that'd be the most obvious solution to your question.. o_0
DaveKid said:
Anyone know if there is a way to give a nandroid backup a name of your choosing? Sometimes when I'm flash and loading a bunch of different stuff I like to do nandroid backups before each one so I can save my phone in various states. unfortunately that means that just the date and time stamp naming convention isn't enough for me to locate the exact one I want to restore.
Click to expand...
Click to collapse
Just use any file explorer (Astro, ES, etc.) and rename the backup file to anything you like...
i just tried to restore a nandroid backup, i did as above says, i went on the PC and re-named backup as something i`d remember put it back on the Desire, and nandroid just fails instantly at `MD5 mismatch`
could this be because the folder name changes after the backup has been made??, thanks.
You don't even need a computer to name your backups. All you need to do is download ROM manager from the market (the free version will suffice). Then whenever you need to make a nandroid backup, open the app, choose "Backup current ROM" and it will automatically ask you to name your backup from the get-go so that there aren't any problems afterwards.
DJ 1 said:
i just tried to restore a nandroid backup, i did as above says, i went on the PC and re-named backup as something i`d remember put it back on the Desire, and nandroid just fails instantly at `MD5 mismatch`
could this be because the folder name changes after the backup has been made??, thanks.
Click to expand...
Click to collapse
I get the mismatch failed sometimes if my battery isn't sufficiently charged. Renaming the folder won't mess up your backup.
If you use ROM Manager, it will allow you to specify the name of the backup before you create them and it generates the appropriate MD5 sum.
quahog_convo said:
If you use ROM Manager, it will allow you to specify the name of the backup before you create them and it generates the appropriate MD5 sum.
Click to expand...
Click to collapse
Which is exactly what I said just two post before this one.
when you rename a nandroid backup on your phone using a file explorer, don't put spaces when you rename it, putting spaces gives it an md5sum mismatch.
Can I restore a nandroid backup from a friends phone on to my phone?
Are there any problems that may occur if I do this?
In theory it should work. AS LONG AS BOTH OF YOU TWO HAVE THE SAME PHONE!!!
Try it and find out, but remember:
ONLY YOU ARE RESPONIBLE FOR BRICKING YOUR PHONE NANDROID FIRST!
Yes..
On your sdcard is a folder named nandroid. Inside this folder is a folder named HTXXXXXXXXXXXXX. This is your device id. Inside that folder are folders with dates. These folders hold all of the images from the backup. You will want to take one of these folders and place it into the same folders on your sdcard. The device ID folder has to be your device ID.
location|| Device ID ||Name of Nandroid (Folder)
|------||-------------||-------------------|
/sdcard/HT01FHF02297/BDES-20100412-1746
You can also change the Name of the Nadroid folder for easir reference, but it can not have spaces
unCoRrUpTeD said:
Yes..
On your sdcard is a folder named nandroid. Inside this folder is a folder named HTXXXXXXXXXXXXX. This is your device id. Inside that folder are folders with dates. These folders hold all of the images from the backup. You will want to take one of these folders and place it into the same folders on your sdcard. The device ID folder has to be your device ID.
location|| Device ID ||Name of Nandroid (Folder)
|------||-------------||-------------------|
/sdcard/HT01FHF02297/BDES-20100412-1746
You can also change the Name of the Nadroid folder for easir reference, but it can not have spaces
Click to expand...
Click to collapse
Yeah, it can be done. In fact, I actually save all my nandroids to my computers for safety reasons (e.g., in case my SD card dies on me, or my nandroid becomes corrupted for some unknown reason(s)). Anyway, just place the nandroid in the nandroid/HT[whatever_u'r_id_is]/ on u'r sd card as uncorrupted states above. It shouldn't mess with u'r phone number or what not... but although, you may end up with the same contacts, lol. I'm not sure how that aspect of it works... Try it and find out
I wonder if the nandroid's use the device ID number to label each nandroid (within) the file and if it has to match the device being flashed to... anyway, let us know how it comes out if you do try it. And remember, nandroid u'r current setup first before trying it, just in case it messes up u'r phone for some reason. But I honestly don't fore see that happening. Good luck!
Sorry if i sounds stupid, but I'm not used to nandroid stuff. i understand most of it but in theory can i just place my sd card into my new aria (my current one has a broken screen) and nandroid backup it? should it be ok?
tripstermcgee said:
Sorry if i sounds stupid, but I'm not used to nandroid stuff. i understand most of it but in theory can i just place my sd card into my new aria (my current one has a broken screen) and nandroid backup it? should it be ok?
Click to expand...
Click to collapse
You should be ok. It will make a new device folder in the nandroid folder, then you can manually move your others over to the new one.
-----
Sent from my CDMA Hero. I got some hot Gingerbread-on-Hero action here!
No confirmation post
I wish he would have confirmed this works, I just got a lemon exchange from the SHack and I'm wondering if I have to set it all back up or if I can just restore to an old backup. I understand that this works in theory and I get the whole changing the device id thing but there is no confirmation that this works.
BUT i will try and give a yay or nay confirmation now.
Edit: IT DOES Work. I did this on a LG G2x. It did not have the device ID I expected., (worried me a little it was the wrong stuff), I assume some phone have this some don't, but as far as I can tell this worked just fine.
I'm geeked when i realized I had to redo my 12 emails and sign into a dozen or more apps and config all those personalized settings again I was pissed. But now I'm good.
Thanks XDA and all the Devs and Geeks out there that make this a great site.
no folder as nandroid only clockworkmod which as all my backup. opening a backup folder shows XXXXX.md5, XXXXX.vfat.tar, XXXXX.rfs.tar, XXXXX.rfs.tar, XXXXX.rfs.tar
Hi all!
Well, thanks to everyone for their donations-- without you, this wouldn't be possible.
I present to you, one stepping stone towards custom ROMs: the shipping ROM on the device, backed up as a NANDROID.
What is this?
This is the shipping ROM on the device. There are no changes to this ROM besides being rooted.
Click to expand...
Click to collapse
How do I use this?
Extract the contents of this file to your SD card (external SD card) under
Code:
/clockworkmod/backups/
and you will end up with a
Code:
/clockworkmod/backups/revo_stock
folder.
Run Clockwork on your device, and select "Backups and Restore" then "Advanced Restore". Select "revo_stock" as the backup to restore, and choose to restore ONLY "system".
(You can also restore boot.img, but it is unnecessary, and I only left that in there for future use.)
Click to expand...
Click to collapse
What does this backup include?
This backup ONLY includes /system and boot.img. There is no recovery.img in this backup, nor is there a /data or /cache.
Click to expand...
Click to collapse
Will I lose my apps or information if I restore this backup?
No you will not, this backup will not touch your /data partition.
Click to expand...
Click to collapse
Why is this useful?
Accidentally erased something important in /system?
Removed something and now 4g Hotspot doesn't work?
Restore this, and it'll fix that... of course all the stock OS will come back, but hey-- you get a second chance
Click to expand...
Click to collapse
Downloads
http://goo-inside.me/private/iomonster/files/revo_stock.zip
Special thanks to Snipa and s0up for hosting this file for me, as I really really really hate upload sites.
Click to expand...
Click to collapse
Contact Me!
Got an issue with this release? Post here!
Want to contact me privately? PM me on XDA or Rootzwiki
Twitter your thing? Follow me, @tylerfixer on Twitter
Join the official LG Revolution dev IRC channel at freenode on #lgrevolution
I'm IOMonster on IRC!
Click to expand...
Click to collapse
thanks icecube, i hit refresh all yesterday waiting for this!!!!!!!!!!!!!!!!
leemsami said:
thanks icecube, i hit refresh all yesterday waiting for this!!!!!!!!!!!!!!!!
Click to expand...
Click to collapse
i meant thecube!!
Haha! No worries, it's 3:30AM
do i push this through adb or do i extract it on windows then put it on my sd card.
leemsami said:
do i push this through adb or do i extract it on windows then put it on my sd card.
Click to expand...
Click to collapse
Extract through windows and put on your SD card in the proper folder.
its telling me that i have a md5 mismatch!!! i will try downloading it again.
Thanks cube please keep up the hard work! I wish I could do something to help other then sending some $$$ I would love to help bring the revolution along.
Viva la revolution.
Did anybody use this yet. i tried and it says my md5 does not match. i tried numerous times
Haven't tried it yet but I checked the MD5 against the images and they are correct.
Ah, sorry, forgot to state select "Advanced Restore" or whatever it's called-- JUST restore system.img.
If you select "Restore" it looks for the /data and recovery.img in the nandroid.md5 file, and when it doesn't find it, it errors out with an md5 error.
I'll edit the instructions now...
Just tested this. I can't advanced restore the system.img either. Comes back with MD5 mismatch. I can restore my own backups without a hitch however.
[Edit] I forgot to mention. There's a carriage return on the Rooted Factory-Stock ROM MD5 file. Removing it didn't seem to matter. I was thinking that maybe it was the culprit.
Agh! you just gave me the answer... I saved it in windows, rather than linux, so the line endings are wrong...
If you're able to, just open the file nandroid.md5 in Notepad++ or something like it, and remove the extra blank line, and change the line endings to UNIX style.
Thanks, I'll re-upload the .zip when I'm on a faster connection.
The actual .img files themselves are good, though.
thecubed said:
Agh! you just gave me the answer... I saved it in windows, rather than linux, so the line endings are wrong...
If you're able to, just open the file nandroid.md5 in Notepad++ or something like it, and remove the extra blank line, and change the line endings to UNIX style.
Thanks, I'll re-upload the .zip when I'm on a faster connection.
The actual .img files themselves are good, though.
Click to expand...
Click to collapse
thanks thecube, it worked with the notepade++ steps and unix style.
re-uploaded. Should work just fine now.
Is there a version of this with everything? In other words, not just system but data, etc. I somehow am stuck in CWR...don't have a nandroid backup. I pushed this to the right place on the SD card, did the system restore, but it still repeatedly boots into CWR. Is there anything that will do a FULL restore instead of just system?
Thanks in advance.
MarkyD311 said:
Is there a version of this with everything? In other words, not just system but data, etc. I somehow am stuck in CWR...don't have a nandroid backup. I pushed this to the right place on the SD card, did the system restore, but it still repeatedly boots into CWR. Is there anything that will do a FULL restore instead of just system?
Thanks in advance.
Click to expand...
Click to collapse
Hm, so you did a data wipe from within Android. Yep, that'll get you stuck in CWR, but it's not a problem with the backup, it's that the LG bootloader isn't happy with Clockwork.
When installing Clockwork, did you make the p8 backup?
so im having the same problem i even started a thread too but im an idiot and didnt make that p8 backup because the md5sum didnt match so i stopped there but clockwork still seem to flashed to the phone now im in clockwork everytime i boot up was wondering any way to work around this if not guess imma just get a new phone until there is a way
rodney323 said:
so im having the same problem i even started a thread too but im an idiot and didnt make that p8 backup because the md5sum didnt match so i stopped there but clockwork still seem to flashed to the phone now im in clockwork everytime i boot up was wondering any way to work around this if not guess imma just get a new phone until there is a way
Click to expand...
Click to collapse
There is a way, I just haven't written it into an easy-to-use program yet.
For now, if you haven't made a p8 backup, the easiest method is for you to come on IRC and have me adb into your phone and fix it for you.
If I get a spare moment though, I will work on a stuckinclockwork.zip that you can flash using clockwork to get you out of clockwork.
Stuck in clockwork fix:
http://forum.xda-developers.com/showthread.php?p=15501302#post15501302
Please help me! I was on Sense 5 rooted with twrp installed. Decided id try out the new CM 10.1 for the HTC ONE. So i backed up my system, data and everything else and proceeded to install CM. Decided it wasnt for me, went to TWRP, went to restore and there are no files there? What happened? I can see I only have 6GB storage available so the file is there somewhere!! How do i flash the backup? i read about a twrp utility or that the file structure is off?
Thanks for your help!!
UPDATE: When I go into a file manager, the backup from today is there.. it is in TWRP> BACKUPS> HT34JXXXXXX> (2013-05-14 @ 8:06 AM)
and inside that folder are the usual backup files. BUT IT STILL WONT SHOW UP IN TWRP WHEN I PRESS "RESTORE"
Anyone? I'm dieing here!!!
Reflash recovery, and see if now work.
I've restored yesterday my backup and no prob with TWRP.
And search your file in sdcard/0
If it will not work, reflash rom.
Don't know if this happened but I had a galaxy s3 before I got the htc one and I understood that cyanogenmod is a 4.2.2 type of rom and we have a 4.1.2 rom. A lot of peeps in the galaxy's forum would have trouble going back to touchwiz roms because the say flashing a 4.2.2type of rom partitions the memory files differently so then the 4.1.1 stock or custom roms. You may have to somehow unroot the phone and "push" the phone back to stock using your computer. People had to do that before with the s3. Hope that helps maybe. I have to go to work now. Good luck
Should I try to flash clockwork mod? Just go into the play store, download and flash from within the app? I don't understand I made a full nandroid it is in my phone and on my computer.. Why can't twrp recognize it?
Okaay said:
Should I try to flash clockwork mod? Just go into the play store, download and flash from within the app? I don't understand I made a full nandroid it is in my phone and on my computer.. Why can't twrp recognize it?
Click to expand...
Click to collapse
CWM can't restore TWRP backup.
If you backupped your rom with TWRP, this will restore it.
Did you try to see in sdcard/0?
Guich said:
CWM can't restore TWRP backup.
If you backupped your rom with TWRP, this will restore it.
Did you try to see in sdcard/0?
Click to expand...
Click to collapse
This is in the stock cm10 file manager. This is the exact backup I'd like to restore but when I go into the recovery and press on restore, nothing shows please keep responding!!!!
For team win recover the files need to be in /sdcard/0 the number zero or it won't be recognized. Move the directory structure to /sdcard/0. Also copy the directory with the backup to your computer in case.
Can we see the whole directory structure of where these files are located? like /recovery/2012305/ or where ever it happens to be?
nullkill said:
For team win recover the files need to be in /sdcard/0 the number zero or it won't be recognized. Move the directory structure to /sdcard/0. Also copy the directory with the backup to your computer in case.
Can we see the whole directory structure of where these files are located? like /recovery/2012305/ or where ever it happens to be?
Click to expand...
Click to collapse
Yeah man, I'll post the pics. Here they are looks as though it is in 0/
I just backed up the cm ROM just to see what would happen and now when I go to restore, the cm10 backup is the only one there and I can't locate it in file manager anywhere
Sent from my HTC One using xda app-developers app
Okaay said:
Yeah man, I'll post the pics. Here they are looks as though it is in 0/
I just backed up the cm ROM just to see what would happen and now when I go to restore, the cm10 backup is the only one there and I can't locate it in file manager anywhere
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
Search the SD card for boot.emmc.win you should get two results one from the original backup and one from the new one. You need to get both the backups together. Also copy your original backup to your computer so you have a copy of it in case you need to wipe or something.
nullkill said:
Search the SD card for boot.emmc.win you should get two results one from the original backup and one from the new one. You need to get both the backups together. Also copy your original backup to your computer so you have a copy of it in case you need to wipe or something.
Click to expand...
Click to collapse
This is what I see... Someone please help, the backup I wanna restore is already I'm TWRP folder on the internal storage but no files show up when I try the "restore" option in the recovery
Sent from my HTC One using xda app-developers app
Okaay said:
This is what I see... Someone please help, the backup I wanna restore is already I'm TWRP folder on the internal storage but no files show up when I try the "restore" option in the recovery
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
OK so did you copy your backup to your computer yet???? Well if not now would really really be the time to do that. Looks like there is a issue with how CM is doing the SD card and TWRP. So first copy the backup off of your phone. Should I say it again? COPY THE BACKUP OFF YOUR PHONE. Now go get the correct RUU for your phone. Run that sucker and restore the phone to stock. You will need to relock your bootloader. Once that is done put TWRP back on your phone and copy your backup to the phone.
Ran into this myself. Because of 4.2.2's support for multiple users, it segments the internal storage into pieces(i.e. 0 for first user, 1 for second user, 2, 3, so on). I didn't realize this and had to start from scratch.
Copy your TWRP backup(and anything else you don't want to lose) to your computer and delete the 0 file. Re-add your files to the internal storage(be sure to keep a copy on your computer). Then reboot into bootloader, fastboot erase cache, reflash, and reboot into recovery. Don't let the CM10.1 ROM start up, otherwise you'll be doing it again.
Alternatively, use the All-In-One toolkit to adb sideload a non-CM10.1 ROM onto your phone, delete the 0 folder(after transferring to your computer what you don't want to lose, of course), reboot recovery, and attempt to restore.
Thanks guys, got it working
Sent from my HTC One using xda app-developers app
This is the same problems people with the GNex came across moving back from 4.2.2 to 4.1.2 last year - you have to remember the internal memory changed and manually move fles to the non-0 folders! You guys should read up more before jumping head long into a new Android version!
Glad it's sorted now though
nullkill said:
For team win recover the files need to be in /sdcard/0 the number zero or it won't be recognized. Move the directory structure to /sdcard/0. Also copy the directory with the backup to your computer in case.
Can we see the whole directory structure of where these files are located? like /recovery/2012305/ or where ever it happens to be?
Click to expand...
Click to collapse
OOPs--sorry this must be an HTC specific problem--sorry for poking my Samsung nose in...
Maybe I am not understanding the thread but--
In my Galaxy Note2 all my TWRP backups, and I have about 5, are all in ext.sd. card and I have used it to restore on several occasions--could be a device specific situation, but in Note2 it's fine to have them in ext.sd card.