Is it possible to image the ROM on an android and dump it to either the SD or the computer? I'm talking everything - I mean seeing as Odin/Heimdall can write to it all I'm assuming it can rip all the partitions and store it as one binary image.
Anybody?
I dont know about Odin... but if you have a CWM-based recovery, you should be able to just boot into into it and make a nandroid backup.
louiehummv said:
I dont know about Odin... but if you have a CWM-based recovery, you should be able to just boot into into it and make a nandroid backup.
Click to expand...
Click to collapse
It looks like that's exactly what I was looking for!
(Using CWM for CM7).
That's everything (apps, settings - like a direct dd image)?
Related
I just got custom recovery done. Now some doubts
1)I tried to take a NAND backup but get a "Run nandroid-mobile.sh via adb!" error. I do see that a nandroid folder with the image files are created, so is it partial and whether the error is common, or is it something I have to take care about. I have a 2GB SD card.
Update: I did a backup again and got the same error. Checked the SD card and the new backup is also the same size i.e abt 298MB with the following(boot.img, cache.img, data.img and system.img)
2)Once i have the backup, if i need to revert back incase i upgraded my current firmware to a newer one, i just need to restore the backup via custom recovery ..rite?
3)In most of the forums its written that we have to copy the flash_image and the recovery-RA-GNM-thunderg-1.1.0 files which is a zip file and its also said not to unzip it to the SD card and copy it as it is(zip files), if so the commands doesnt work cos they are file specific and not zip specific, which gave me an error telling such files are not there. So i extracted the img and put in the SD card and executed the commands and i got into Custom recovery and i can still do. So can i remove those files or is it still needed??
4)I have downloaded my stock ROM incase anything happens. Now if i have flashed my phone with a custom-ROM, will it delete the contacts, messages, installed apps?
5) If 4), then which is the safest way to back them up so that when i flash another ROM i just need to restore them ?
6) Basically what is the diff between flashing my stock rom and a restore from custom recovery(which would be my stock settings i believe)?
Thanks in advance guys. You're doing a great job.
1. Don't know. It seems to have no effect on restore.
2. You will have recovery intact after u flash a custom ROM. so u need to boot into the recovery via the home+voldown+power trigger, and restore it.
3.You should have
a. flash_image with NO extension (i.e. not zip. unzip the zip to get flash_image)
b. the custom recovery.img (i.e. unzip the custom recovery.zip. dont change name.)
c. the custom ROM.zip (this one, don't unzip.)
4. Remember : When u flash, everything gets wiped (mine had some exceptions, but ignore it. Just pretend it is a factory reset.)
5. Titanium Backup FTW
6. Not sure, but i guess you keep all the settings/apps when u do a NAND restore. a flash will nuke the memory.
dongimin2 said:
1. Don't know. It seems to have no effect on restore.
5. Titanium Backup FTW
Click to expand...
Click to collapse
Can you tell me how to do a complete backup with titanium and then how to restore it? The only way i could was to schedule one which created individual files inside the titanium directory. So you're telling that i can copy this backup to PC and later copy to SD when i want to restore and it will restore the whole thing?
2. You will have recovery intact after u flash a custom ROM. so u need to boot into the recovery via the home+voldown+power trigger, and restore it.
Click to expand...
Click to collapse
Ok so how do i get this recovery? this is the NAND backup one rite, i am getting confused to which recovery i sud go abt. Sorry Noob here
3.You should have
a. flash_image with NO extension (i.e. not zip. unzip the zip to get flash_image)
b. the custom recovery.img (i.e. unzip the custom recovery.zip. dont change name.)
c. the custom ROM.zip (this one, don't unzip.)
Click to expand...
Click to collapse
Awesome, just as i thought it would be.
4. Remember : When u flash, everything gets wiped (mine had some exceptions, but ignore it. Just pretend it is a factory reset.)
Click to expand...
Click to collapse
Ok so i backup the whole thing before i flash. So which backup should i do, the titanium one or the custom recovery one? what do u suggest? (this answer will clear my doubts regarding the backup thingy)
6. Not sure, but i guess you keep all the settings/apps when u do a NAND restore. a flash will nuke the memory.
Click to expand...
Click to collapse
Oh ok, gotcha
Thanks a lot for being patient enuf .
Hey guys I was Hoping someone could maybe Answer a few Questions I have about Restoring Nandroid Backups...
Ok First off I'm a Experienced Clockwork Recovery user, and because of that I guess you can say I'm kind of a Noob to Other Recoveries. Now even though Most Recoveries Do have the Same basic Functions ... I guess its the ones Not Available in Clockwork that I Need the Answers to...
I was Tempted to try TWRP for a while now, and just Yesterday finally Did! But Although its Installed I really Haven't made a Backup, or Flashed a Rom. So After going through the TWRP Recovery menu a Little, I was Curious How do you Compress a Backup? Is that a Option given After you go through the motions of making a Backup?
I'm thinking YES, but Haven't made one so figured I Ask first, seeing I'm Not sure I'll ever actually get that far!
Reason I'm saying this is because...
I have Nandroid Backups on my Sdcard which were made with Clockwork and if it Isn't Possible to Restore my Already Made Backups using TWRP, I'd Probably just go Back to Clockwork as my Default Recovery...
Anyone know if its Possible to Restore Nandroids made from Clockwork, with TWRP?
Thanx in Advance...
PMGRANDS said:
So After going through the TWRP Recovery menu a Little, I was Curious How do you Compress a Backup? Is that a Option given After you go through the motions of making a Backup?
Click to expand...
Click to collapse
Yes, you're correct. Would have to create a backup first, then you'd be able to compress it.
PMGRANDS said:
Anyone know if its Possible to Restore Nandroids made from Clockwork, with TWRP?
Click to expand...
Click to collapse
Great question. I hadn't ever thought of this ... but the question does make complete sense.
Short answer: Depends which version of CWM and TWRP .. some versions yes and some versions no.
Longer answer:
For starters, each recovery stores the their recovery files in separate directories and uses different "file extensions". I think they used to be compatible in the sense they both used images of the partitions. The most recent version of CWM, 5.0.2.0 is now using tar files for system and data which wouldn't be compatible with the TWRP restore process.
I think TWRP was/is using exact images of the actual partitions created with the 'dd' linux binary.
I haven't checked the TWPR or CWM in the last few months just followed updates on twitter, IRC and here. I'm sure if my information is out of date somebody will post up to correct.
Hope that helps!
On the compression is, when your in the backup screen and you see the options for you to select what u want to back up at the bottom there is a box that says compress backup and you would just select that before you begin the backup process. Compressed backups take a bit longer to complete but are worth the weight.
PdawG43 said:
On the compression is, when your in the backup screen and you see the options for you to select what u want to back up at the bottom there is a box that says compress backup and you would just select that before you begin the backup process. Compressed backups take a bit longer to complete but are worth the weight.
Click to expand...
Click to collapse
Thanx for the Reply man...
Hey you wouldn't happen to know the answer to my question about Restoring a Nandroid made with Clockwork from or to TWRP would you??
Thanks Either Way Tho...
Some answers might be completely obvious from other threads, but I want to ask them anyway to be 100% sure.
I am currently using CF-Root.
The CWM backup, is that a "nandroid" backup?
Exactly what areas of the phone does the CWM back up? Kernel+ROM (with apps, system data etc), or something else as well? I assume that radio and bootloader remains untouched?
Does the backup include the /sdcard directory (which is internal memory after all)?
I assume /external_sd is not included(?)
If I would perform a backup, leave the backup in the /sdcard directory, flash Cyanogenmod, and then restore the first backup, would the phone be EXACTLY like it was before? Including kernel?
Will the CWM recovery still be available although flashing another ROM?
Ogredani said:
Some answers might be completely obvious from other threads, but I want to ask them anyway to be 100% sure.
I am currently using CF-Root.
The CWM backup, is that a "nandroid" backup?
Exactly what areas of the phone does the CWM back up? Kernel+ROM (with apps, system data etc), or something else as well? I assume that radio and bootloader remains untouched?
Does the backup include the /sdcard directory (which is internal memory after all)?
I assume /external_sd is not included(?)
If I would perform a backup, leave the backup in the /sdcard directory, flash Cyanogenmod, and then restore the first backup, would the phone be EXACTLY like it was before? Including kernel?
Will the CWM recovery still be available although flashing another ROM?
Click to expand...
Click to collapse
1) Yes
2) All of what you said, think it also backs up bootloader
3) No as this doesnt get wiped when installing a new ROM
4) no its not
5) Yes its like a mirror image
5) Yes aslong as the kernel you flash comes with custom recovery
Hope it helped and dont forget to hit thanks
Ricey
ricey1986 said:
1) Yes
2) All of what you said, think it also backs up bootloader
3) No as this doesnt get wiped when installing a new ROM
4) no its not
5) Yes its like a mirror image
5) Yes aslong as the kernel you flash comes with custom recovery
Hope it helped and dont forget to hit thanks
Ricey
Click to expand...
Click to collapse
if this is true, it's just perfect. is it (answer 1-6) really true?
Exactly what I wanted to hear. Thanks.
Will see if I bother flashing Cyanogenmod just yet. Android 4.0 for the SGS2 is around the corner.
sea_salt said:
if this is true, it's just perfect. is it (answer 1-6) really true?
Click to expand...
Click to collapse
Yes its true, if your unsure about anything just read the OP of the rom you want. Most questions are answered there.
Ricey
CWM recovery etc .
http://forum.xda-developers.com/showthread.php?t=1134290
You need to back up your EFS folder outside of CWM .
jje
On my PC's I use Acronis backup software. It will create a one file image that is very easy to restore. Is there anyway to do something like this with the rooted Nook tablet
pepi4 said:
On my PC's I use Acronis backup software. It will create a one file image that is very easy to restore. Is there anyway to do something like this with the rooted Nook tablet
Click to expand...
Click to collapse
Titanium backup from the market does a good job of backing up apps and system data.
Until we get Clockwork Recovery going, I don't think there's a way to do an image style backup.
Sent from my BNTV250 using Tapatalk
Well, thanks to buawks and nemith we have CWM working and it can fully back up your NT. I've even used the recovery to restore my device (accidently got stuck in a boot loop).
You can either make an sd card and boot into CWM from there or you can install it on the internal memory.
Goncezilla said:
Well, thanks to buawks and nemith we have CWM working and it can fully back up your NT. I've even used the recovery to restore my device (accidently got stuck in a boot loop).
You can either make an sd card and boot into CWM from there or you can install it on the internal memory.
Click to expand...
Click to collapse
Where is this software located?
Look at these threads:
CWM SD Recovery File: http://forum.xda-developers.com/showthread.php?t=1440645
How to build internal file: http://forum.xda-developers.com/showthread.php?t=1440438
I'm currently working on posting built recovery images but have to work out a boot loop bug on the internal CWM setup first.
PM me if you need specific files in the mean time.
I've been reading these threads, but unless I'm missing something it's not clear how we can create our own recovery image of our own devices. The first link is a post to a provided recovery image. If I have my NT rooted and set up just the way I like it right now, how do I create a recovery image before taking the next steps being worked by AO, Indirect, nemith, and the other great developers?
tonyp22 said:
I've been reading these threads, but unless I'm missing something it's not clear how we can create our own recovery image of our own devices. The first link is a post to a provided recovery image. If I have my NT rooted and set up just the way I like it right now, how do I create a recovery image before taking the next steps being worked by AO, Indirect, nemith, and the other great developers?
Click to expand...
Click to collapse
Watch this thread.
A Thanks to you and Goncezilla.
Yes ... thanks to all. This forum rocks
I recently decided to try MROM (I currently have CM7) so I backed up my current ROM and installed MROM. When I tried to check if I could restore my previous ROM, ROM Manager did not list my latest backups, but instead, listed some really old backups. I checked the clockworkmod folder to see if the latest backups were there and they were. Now, for some reason, ROM Manager was looking in the emmc folder, and not the sdcard (where the latest backups were) and I don't know if there's a way to change where it looks for the backups. I changed the settings to use an external sdcard (I don't know if that would help but I tried) and it didn't help. I then booted into recovery and tried the restore option there and I was able to see my latest backups.
I'm not sure why ROM Manager was unable to see them but booting in recovery worked fine. I want to try MROM (and I know I can restore from the recovery console if I really have to) but I just want to understand why this was happening and if there was another way to restore my backups (ROM Manager saves backups in ext3.tar format and I don't know how to use that with adb).
Don't bother with rom manager. I always get rid of it on every cm rom I try. Its pointless. Your recovery works and its a better option IMO.
Thanks! I would still like to know what's going wrong though, if possible, and also if there's a way to restore a backup saved in ext3.tar format using adb.
mrcountdookoo said:
Thanks! I would still like to know what's going wrong though, if possible
Click to expand...
Click to collapse
Hard to tell. You may never find out. ROM Manager can indeed be weird like that, and is in my opinion unreliable.
mrcountdookoo said:
and also if there's a way to restore a backup saved in ext3.tar format using adb.
Click to expand...
Click to collapse
The backup is a regular TAR archive (as the name suggests). Most recoveries contain the tar tool which you can use to restore the backup.