[Q] Backing up front to allow restoring to factory? - General Questions and Answers

I got my Motorola DEFY recently, and I'm new to Android, but I want to install stuff that needs root. However, I want to be able to restore everything to how the phone was when I got it, should the need arise.
I successfully rooted using z4root and installed ROM manager, at which point I did some googling and discovered that if I install ClockworkMod Recovery it's not easy to revert back to the normal recovery console. It's not that hard, but I understand it requires an image of the original recovery console. I thought that the backup option on ROM Manager would help, but it requires ClockworkMod Recovery to be installed.
So the question is, can the recovery console be backed up prior to installing ClockworkMod Recovery, or alternately can the entire phone state be backed up, including the recovery console and the rest of the ROM.
Help would be appreciated. Thanks!

If you install CWM Recovery you can do a nandroid backup of your stock ROM so that you can revert later. You don't need to worry about a stock recovery image because once you restore the backup you made, the custom recovery will be overwritten with the stock one with every reboot.

Related

Help! Bricked phone!!

I rooted my HTC Desire CDMA from USCC okay, flashed a Froyo ROM with USCC stuff, and everything was okay. I made a nandroid backup, flashed CyanogenMod 7 RC4 and it seem to work okay, except I was having trouble entering my password when checking voice mail. Anyway, I decided to go back to Froyo. I used ROM Manager to restore the backup and got into ClockworkMod. However, none of the options work. If I go down to recovery, I go to the next screen, but no matter which option I select I end up with a black screen and nothing happens! I can't restore my backup! If I just try to press power on, I end up with the blue CyanogenMod screen and the arrow just goes round and round. Nothing happens. Please, if anyone has any suggestions, it would be greatly appreciated.
I remember hearing that because CM7 is a Gingerbread mod, it must use ClockworkMod v3 and to go back to your Froyo backup you'll need to downgrade to Clockwork Recovery 2.x. I'm not sure if things has changed, though, this was what I read a month or two ago.
Are you by any chance able to fastboot?
Reflash your CWM (if you are using NAND version) or get it again on your SD (if your are using SD version).
The problem is I can't do anything in ClockworkMod (version 2.5). Every option I select gives me a blank screen! I made a nandroid backup before flashing CyanogenMod, but I have no way of getting to my backup if I can't use ClockworkMod. Also, if I try to boot the phone, i just get the CyanogenMod 7 startup screen with the arrow going round and round. It will still be there 30 minutes later. I have to do a battery pull to start over with anything.
I was able to boot my phone after wiping all user data. I would like to use my nandroid backup to return to the previous ROM, but clockworkmod doesn't seem to work. I tried reflashing it in ROM manager and it only downloads a second or so and isn't really doing anything. I'm wondering if clockworkmod is defective. Is there any other way to flash it again without using ROM Manager?
If you are able to fastboot, you could try to restore a nandroid by flashing three files (boot.img, system.img, data.img) from your nandroid backup using:
Code:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata data.img
Disclaimer: I've not actually tried this procedure before! I got this info from here
You could use a similar procedure to flash a new ClockworkMod since your recovery may be corrupted: fastboot flash recovery recovery-clockwork-3.0.0.5-vision.img
You can download the image from Koush's website, under HTC G2.
This happened to me yesterday trying out the Alpha Build for the Fascinate. I was getting a dev block error and datadata would not mount. I had to go back to stock on heimdall. I don't know if this helps for your phone, but maybe somone with more knowledge can tell you if this may be happing to you and what the fix is, if that's not a fix for you.

[Q] How to dump stock recovery

I'm getting ready to flash CM7 onto my NS4G, but I want to backup the stock recovery before I start in case I want to revert back to pure stock. I know that there are placed where I can download other people's recovery dumps, but I'd really like to create my own.
Does anyone know how to get a recovery dump of the stock recovery. My issue comes in the fact that dumping recovery seems to require root, but rooting the NS is done by unlocking the bootloader and flashing the recovery. It's a catch 22, I can't backup the recovery without rooting but I can't root without flashing the recovery.
Any tips?
In a terminal:
dd if=/dev/mtd/mtd3 of=/sdcard/recovery.img
If you cat /proc/mtd it will output the value (partition) of all your mtd's. It will tell you what each is. Very handy i think.
snandlal said:
In a terminal:
dd if=/dev/mtd/mtd3 of=/sdcard/recovery.img
Click to expand...
Click to collapse
The trouble is that running dd requires root. I'm not aware of a root exploit for the Nexus S 4G 2.3.5. The current method to root the phone is to unlock it, flash ClockworkMod recovery, and flash superuser.
I accidentally solved my own problem. I gave up on trying to find a way to backup the stock recovery and I just moved forward with loading CM7. However, in the process I discovered a way to backup the full un-rooted stock system, including the stock recovery.
Here are the steps I took (more detailed steps on CyanogenMod wiki):
1. Unlock the phone using "fastboot oem unlock" (this did a factory reset, including the SD/USB memory)
2. Rebooted into the bootloader
3. Installed ClockworkMod Recovery using "fastboot flash recovery recovery-clockwork-3.1.0.1-crespo4g.img" while in the bootloader
4. Without leaving the bootloader I selected Recovery. This launched ClockworkMod Recovery.
5. Used ClockworkMod Recovery to run a NAND backup.
I can't fully explain this, but the backup included the stock recovery. When I restarted the phone and launched recovery again it still had my stock recovery image installed. The only way I can explain this is that "fastboot flash recovery" only flashed ClockworkMod temporarily while I was in the bootloader, I'm not sure how that works.
After flashing CM7 I used ROM Manager to install ClockworkMod Recovery again, and using that method caused it to stick. However, restoring my stock backup does in fact flash me back to stock recovery.
Long story short, I was able to get a clean backup of non-rooted stock. If I want to go back to pure stock for warranty or other reasons I only have two steps to take:
1. Restore my stock backup
2. Lock the bootloader
Check for /system/etc/install-recovery.sh delete or change permissions to 000. When booted to OS,it will rewrite over custom recovery
agasser said:
Long story short, I was able to get a clean backup of non-rooted stock. If I want to go back to pure stock for warranty or other reasons I only have two steps to take:
1. Restore my stock backup
2. Lock the bootloader
Click to expand...
Click to collapse
And Samsung can still read out the phone's files to see the bootloader was unlocked IF they wish to
agasser said:
I can't fully explain this, but the backup included the stock recovery. When I restarted the phone and launched recovery again it still had my stock recovery image installed. The only way I can explain this is that "fastboot flash recovery" only flashed ClockworkMod temporarily while I was in the bootloader, I'm not sure how that works.
Click to expand...
Click to collapse
Your NANDroid backup does contains CWM recovery. The reason you get the stock recovery after reboot is because of the /system/etc/install-recovery.sh script. (see what snandlal said above)
I think CM7 does not include that script in their ROM.

HELP! possible brick after installing TWRP recovery

After installing openscript recovery TWRP 2.2.1 via goo manager and then realize the recovery could not mount system or install any zip. I then try to revert back to team rogue xm recovery 1.5.0 with sucess by installing the recovery zip in TWRP (although some error due to system unable to mount). Got pretty happy that I'm able to revert back to rogue recovery but now faces this STUCK in automatic rebooting to recovery everytime I've try to reboot. I wipes everything completed 3x and install new rom but can't ever boot pass the recovery. I have yet to revert back to stock via softbrick method and figure I should ask for help first before unroot and unlock to start from scratch. below is an image of when ever I booted my xoom. Thanks for any help.
Oh, I've search first but noon seem to have the same problem as mine.

Help with making a backup of my rom

I have a cheap Tablet softwiner_evb and have tried cwm manager but cant install recovery ( the tab is ready rooted from factory and has an in built recovery feature) I just cant back my rom up incase it all goes South, I have used titainium backup but it appears to only back my apps up.
Have also tried goo manager, like I said the recovery and installing News roms is covered in the main menu of the tablet, just not rom back up:crying:
Adamblake said:
I have a cheap Tablet softwiner_evb and have tried cwm manager but cant install recovery ( the tab is ready rooted from factory and has an in built recovery feature) I just cant back my rom up incase it all goes South, I have used titainium backup but it appears to only back my apps up.
Have also tried goo manager, like I said the recovery and installing News roms is covered in the main menu of the tablet, just not rom back up:crying:
Click to expand...
Click to collapse
in my experience you must have a custom recovery to backup your rom. some DEV needs to make one to work on your device if your factory recovery doesn;t allow making a backup

[Q] Can you root the HTC Wildfire S without custom recovery such as CWM?

Basically I followed a guide on here before to root my phone with the simple procedure:-
1. Unlock bootloader at HTCDev
2. Install clockwork mod via fastboot recovery custom_recovery.img
3. Install zip from SD card using CWM (root.zip - includes all root items)
4. Update Superuser via PlayStore
These are the steps I followed when I first rooted my phone, however after a while my link2d and something else was causing my apps to crash, and eventually link2sd kept asking for root permission, and superuser would freeze. For about 7 hours last night I spend trying to fix my phone, which I did by doing a factory reset, then restored my stock ROM using CWM, then loading up a stock recovery.img file which I found on here somewhere, and then eventually I got my phone back to normal. By the way when you go through the bootloader and select recovery, when I get onto it, it justs sits there with a disk icon and a red 'X' or something, is this normal? However, want really p***ed me off was that I thought restoring a backup using CWM also restores the recovery and completely removes the CWM. My question is, instead of me going through all this hassle, is there a way I can FULLY backup my phone and then attempt a root without CWM or any other custom recovery? I have already tried the HTC super tool v3, superoneclickroot and another quick root that was advertised on here, and neither of them work.
My outcome would be to simply have root privileges on the stock ROM on my HTC Wildfire S (S-ON) 2.26.401.3, and if and have a full backup of the phone as though it was new (no root, no CWM etc.) and if a problem occurs I can simply restore everything.

Categories

Resources