Change recovery, then restore rom - Nexus 4 Q&A, Help & Troubleshooting

Hi,
Couple weeks ago I tried Ubuntu for phones. The install failed (yeah I know, Ubuntu...), wiped my phone, and installed a crappy recovery instead of my beloved touch recovery.
Now I'd like to reinstall the touch recovery instead of the crappy canonical's one, but I don't want to lose everything on my phone.
How can I backup my rom and settings on my computer, install the good recovery, then restore all my datas ?
Thanks for help !

up

Never tried Ubuntu, but I hope the standard recovery update script works the same on yours.
http://forum.xda-developers.com/showthread.php?t=1995440
You don't need to wipe anything to install a new recovery.

ksilver89 said:
Never tried Ubuntu, but I hope the standard recovery update script works the same on yours.
http://forum.xda-developers.com/showthread.php?t=1995440
You don't need to wipe anything to install a new recovery.
Click to expand...
Click to collapse
That was simple ! Thank you very much.

Related

[RECOVERY] ClockworkMod Recovery for Captivate (FINAL! SAFE!)

First things first, if you flashed a previous version of Clockwork Recovery using Odin, FLASH BACK TO A STOCK KERNEL using this Odin package:
http://koush.tandtgaming.com//test/kernel-captivate-stock.tar.md5
This recovery is *very* safe to use. It does NOT flash your kernel; it is a completely uninvasive recovery method.
How it works: The recovery is packaged as an update.zip that you run from STOCK recovery. The update.zip unpacks Clockwork Recovery onto the ramdisk and restarts recovery. When you reboot, it reverts back to the original, unmodified, stock recovery. So, you will need to keep the recovery on the root of your SD card as an update.zip, and apply the zip every time you want to start Clockwork.
HOWEVER, if you use ROM Manager, all of the recovery installation and management instructions are done for you!
Installation instructions:
Download ROM Manager from the Market.
Flash Recovery.
Choose Captivate as your phone.
Accept the Superuser prompt.
Use ROM Manager to create a Backup.
On the very FIRST boot of Clockwork, you may need to manually select "reinstall packages" if Clockwork does not start. You should only ever have to do this once. It will be automatic from then on.
Watch the backup go!
That's it! This is completely painless and safe! There is no need for Odin anymore to replace the recovery or flash updates!
If you appreciate my work, please buy the Premium version of ROM Manager!
Sweet!
Nandroid'd!
Ah yeah....smooth like butter baby!!! Great work once again. Remember to donate people!!!
big99gt said:
Ah yeah....smooth like butter baby!!! Great work once again. Remember to donate people!!!
Click to expand...
Click to collapse
For us Noobs, can we get more information on where and when to use this?
In reading everything I get some of it, but not all. This is my first hackable android phone, so I am still learning the lingo.
With other phones, I would just Flash a custom ROM or Flash Factory ROM back.
So how do ROM Manager and Clockwork recovery come into play?
Are there any tutorials - not that just give step by step (like above) but explain what is happening in each step or why?
alphadog00 said:
For us Noobs, can we get more information on where and when to use this?
In reading everything I get some of it, but not all. This is my first hackable android phone, so I am still learning the lingo.
With other phones, I would just Flash a custom ROM or Flash Factory ROM back.
So how do ROM Manager and Clockwork recovery come into play?
Are there any tutorials - not that just give step by step (like above) but explain what is happening in each step or why?
Click to expand...
Click to collapse
The long and short of it is that you can now flash ROMs and make backups, and restore, without your computer.
The recovery is the tool that lets you do the backups and installations. ROM Manager is a convenient Android front end to the recovery.
After these steps you won't really have to "hack" your phone lol. Root your phone and download Rom Manager from the Android market...then have it flash a recovery (the first selection at the top) choose your device when prompted. Now after that finishes select "reboot into recovery" and as the above post states you may need to select "reinstall packages" (I did). Once that goes through, you'll see your new custom recovery menu. DO A NANDROID BACKUP of your current Rom as soon as you can....then (as long as your current rom isn't messed up, if its stock your fine) from there on out you can play as much as you want with very little risk of bricking your phone. There are others who can explain it better but your stuck with me till they chime in lol. Its a very easy process and nearly foolproof.
Koush said:
That's it! This is completely painless and safe! There is no need for Odin anymore to replace the recovery or flash updates!
If you appreciate my work, please buy the Premium version of ROM Manager!
Click to expand...
Click to collapse
Awesome work! Premium version has been purchased by me. Thank you for the efforts.
Didn't work at first for me.
I installed Rom Manager (premium)
Installed CW recovery
Accepted SU
Tried to backup from within Rom Manager
I got a "Can't find update.zip" message.
When I rebooted and opened Rom Manager again, I got the "Error Occured" message, but it locked up on me and became unresponsive.
I uninstalled Rom Manager, rebooted, then reinstalled. I flashed CW recovery again, rebooted normally, opened rom manager again, and flashed CW recovery again.
After that I was able to use rom manager to reboot into recovery and backup.
Not sure if mine was just a fluke or what, but I figured I would share.
MSigler said:
Didn't work at first for me.
I installed Rom Manager (premium)
Installed CW recovery
Accepted SU
Tried to backup from within Rom Manager
I got a "Can't find update.zip" message.
When I rebooted and opened Rom Manager again, I got the "Error Occured" message, but it locked up on me and became unresponsive.
I uninstalled Rom Manager, rebooted, then reinstalled. I flashed CW recovery again, rebooted normally, opened rom manager again, and flashed CW recovery again.
After that I was able to use rom manager to reboot into recovery and backup.
Not sure if mine was just a fluke or what, but I figured I would share.
Click to expand...
Click to collapse
Titanium Backup did that to me also the first time I ran it....I've had quite a few freezes and slowdowns when opening a program for the first time and waiting for SU to kick in.
It should also be noted that when you chose to partition the sdcard via the recovery menu, it partitions the internal sdcard and not the external.
Maybe that can be made an option? I would like to do my nandroid backup to my external card so I have it for safe keeping.
Everything else working as expected, I enabled advanced options and downloaded the superuser package (from Extras) just to test things. Havent experienced any problems other than the sdcard wipe (which wasnt totally unexpected).
If something should happen to your phone (brick, unrecoverable error, etc), how can we reboot into this custom recovery to reflash the nandroid backup? Can we get into it via adb (adb reboot recovery)?
Yeah, having an external SD Nandroid would be a great option. Not just for safekeeping, but for easy transfer in case of hardware loss or replacement.
dweebs0r said:
It should also be noted that when you chose to partition the sdcard via the recovery menu, it partitions the internal sdcard and not the external.
Maybe that can be made an option? I would like to do my nandroid backup to my external card so I have it for safe keeping.
Everything else working as expected, I enabled advanced options and downloaded the superuser package (from Extras) just to test things. Havent experienced any problems other than the sdcard wipe (which wasnt totally unexpected).
If something should happen to your phone (brick, unrecoverable error, etc), how can we reboot into this custom recovery to reflash the nandroid backup? Can we get into it via adb (adb reboot recovery)?
Click to expand...
Click to collapse
I just did a reboot into recovery mode (the normal way, not with rom manager) and I had to click "reinstall packages" to get into the ClockworkMod recovery menu. So I'm not sure but I'm guessing (hoping) that its still available if we run into problems later.
Yep. It's pretty much how the Droid and N1 people are used to doing it anyway.
Clockwork is hella handy to manage and switch between working ROMs on the fly, as well as triggering recovery mode without keypress acrobatics, but having update.zip on the SD card to fall back on using the normal restore and the stock kernel is great in case of semi-bricking, and as this last week has shown us, the Galaxy phones are a bit prone to this.
THANK YOU!!! Been waiting for this since I got the phone, you are the man, I'll be adding to your Paypal account shortly!
Works like a charm. Thanks Koush!
Thank you. I am new to the scene, but looks like I chose the right hardware for hacking. The swift and easy way in which I have been able to advance my freedom on this gorgeous hardware makes me forget for a while that I am on AT&T, home of the fruit carrying zombie army.
Sweet! Can't wait to try this on my phone later tonight. Will deff be buying ROM Manager Pro
Thanks for this...I just bought the premium version...Since this is my first Android phone I have a question. I previously rooted my phone and uninstalled alll the AT&T bloatware, My question is about the backup I just made using this. If I restore the backup will it restore a rooted backup with out all the AT&T bloatware? Also when I ran the backup I go 2 messages at the end
No /sdcard/.andriod_secure found. Skipping backup of applications on external storage.. Is this normal?
No sd-ext found. Skipping backup of sd-ext. Is this normal?
Also I now have 2 ROM Manager icon in my application screens. 1 will open the program and the other tells me that the aplication is not installed on my phone. I tried to delete that icon but it won't go away, Any ideas? FIXED..I rebooted my phone and the extra icon went away...
Thanks for all help and these great apps...
jhernand1102 said:
Thanks for this...I just bought the premium version...Since this is my first Android phone I have a question. I previously rooted my phone and uninstalled alll the AT&T bloatware, My question is about the backup I just made using this. If I restore the backup will it restore a rooted backup with out all the AT&T bloatware? Also when I ran the backup I go 2 messages at the end
No /sdcard/.andriod_secure found. Skipping backup of applications on external storage.. Is this normal?
No sd-ext found. Skipping backup of sd-ext. Is this normal?
Thanks for all help and these great apps...
Click to expand...
Click to collapse
i got the same message, im assuming that you dont have an external sd card thats why it generated the message...
rabbivj said:
i got the same message, im assuming that you dont have an external sd card thats why it generated the message...
Click to expand...
Click to collapse
I do have one in my phone but there is nothing installed on it yet..maybe that's why..

brick Nexus S

Hello. i am new to the android family
i have a nexus s GT-9020T
i have rooted my phone but without setting the clockworkmod reovery.
today i was playing with the rom manager and downloaded one of the rom from the list. after installation i was unable to start the phone only seeing the google logo with the unlock logo.
i went back into the recovery by typing flash recovery recovery.img etc.
run a restore and restart the phone but still not work
my nexus s is 2.3.4 by the way.
please assist
What "restore" did you run?
Go here: http://forum.xda-developers.com/showthread.php?t=1056062
And download the full rom:
Model: i9020T
Full Rom: GRJ22, KD1
That'll revert your Nexus S to the latest completely stock 2.3.4
Then you can flash recovery again and go back to clockwork mod and go flash another rom or whatever.
Remember when you're flashing a new rom you need to wipe data and cache and dalvik cache.
i run an restore from the backup that i made before installing the new rom using clockwork mod recovery, its part of the option when installing the rom using the rom manager * click box - backup * etc something like that
sheunghko said:
i run an restore from the backup that i made before installing the new rom using clockwork mod recovery, its part of the option when installing the rom using the rom manager * click box - backup * etc something like that
Click to expand...
Click to collapse
Next time don't use Rom Manager to make backups or flash roms. It's stupid and can get you issues like you're having.
Anyways, try wiping data and cache then restoring the backup, do it in Clockwork Recovery.
Let it boot, first boot always takes a while, 5-10 minutes. If you see the boot animation freeze, stop and restart, then yeah it's screwed up, otherwise, just let it is.
If still not working from your backup, do what I said in previous reply, just restore to stock 2.3.4 then re flash clockwork mod and start over with the rom you want to flash.
thank your nxt. i have found the real problem. it was not my backup problem or the rom that u provided. it was the version of my clockwork mod recovery. i was using an 2.x.x.x to restore the phone which is why it doesn't work. everything work fine now after i flashed with an 3.x.x.x and restore the phone. one question thou, where can i always find the newest clockwork mod recovery release ? thank you very much
sheunghko said:
thank your nxt. i have found the real problem. it was not my backup problem or the rom that u provided. it was the version of my clockwork mod recovery. i was using an 2.x.x.x to restore the phone which is why it doesn't work. everything work fine now after i flashed with an 3.x.x.x and restore the phone. one question thou, where can i always find the newest clockwork mod recovery release ? thank you very much
Click to expand...
Click to collapse
http://mirrorbrain.cyanogenmod.com/cm/recoveries/
Or just use ROM Manager to get the latest.
That's the only thing I use ROM Manager for... getting the latest Recovery.
thanks again nxt. if you don't mind really ...i have one more question. i know the phone intend to uninstall clockwork mod recovery once its restarted. i know there is command type into the cmd to avoid the phone uninstall the clockworkmod reovery and make it permanent in another word. I didn't run those command when i root my phone because i don't know if its good to make it permanent like.... hmmm like if there will be a 2.3.5 coming next month..just saying ok... with a permanent unofficial recovery will cause a problem?
sheunghko said:
thanks again nxt. if you don't mind really ...i have one more question. i know the phone intend to uninstall clockwork mod recovery once its restarted. i know there is command type into the cmd to avoid the phone uninstall the clockworkmod reovery and make it permanent in another word. I didn't run those command when i root my phone because i don't know if its good to make it permanent like.... hmmm like if there will be a 2.3.5 coming next month..just saying ok... with a permanent unofficial recovery will cause a problem?
Click to expand...
Click to collapse
Are you running custom ROM? If you are, it's already made to not revert back to stock recovery. If you leave it stock recovery you'll get notifications for firmware updates by Google, but remember that applying those to a rooted phone might screw things up too.
the blue one is stock recovery right?
sheunghko said:
the blue one is stock recovery right?
Click to expand...
Click to collapse
Don't remember. It should only have like 3-4 options.
thanks again nxt. no i am not running an custom rom. i mean not yet. i planed to try one from the rom manager download section then my phone couldn't start after installation and now i have restored my phone from my backup using the clockwork mod recovery 3.x.x.x.

[Q] I bricked my tablet now it freezes at bootloader screen

So Today i just installed v8 ics bootloader on my acer a500 and i was very happy because after one month of trying auto way and failing i tried manual way and it worked :laugh:
so i installed cwm then i wanted to install a rom
at the wipes i choose
Dalvik Cache
then i asked it to backup my first rom
so it went into the bootloader mode and after like 20 mins said that backup failed because of a reason i can't remember .
then it restarted and it just freezes at the bootloader screen .
and whenever i restart or anything just freezes at bootloader screen. :crying:
is there anything i could do to fix it ? even if it includes wiping all of my data?
I am new to android I know I probably just did something very stupid but we all do mistake and learn.
I suggest installing whatever rom you were planing on installing after your backup, that might fix your boot problem. I also suggest flashing and using TWRP recovery, Cwm would never backup my flexrom partition but TWRP always backs it up and i never have issues making a backup or restoring from a backup since using twrp. Use TWRP 1.7.- as some problems arise when using the 2.2- versions..
I used the afterota to install twrp over the cwm recovery but you might not need to.
Good luck and if i can help you i will if issues arise.
Please I am a noob can u tell me how to do that in very boring details ?
now after a little button pressing thanks to ur idea it gpt fixed.
thanks alot
sasori962008 said:
now after a little button pressing thanks to ur idea it gpt fixed.
thanks alot
Click to expand...
Click to collapse
Happy that it worked for you.

[Q] Need help with cwm recovery

Hey guys, i'm kinda new to rooting(had iphone previously) and i'm having some trouble. The phone is rooted already(4.4.2), i installed ROM manager and now i dont know how to boot it to cwm recovery, every tutorial i follow it goes to stock recovery. I tried installing cwm with odin but it doesn't get through setup connection, or it does but it fails. I wanted to get the google edition ROM. Thanks in advance
Hetfield88 said:
Hey guys, i'm kinda new to rooting(had iphone previously) and i'm having some trouble. The phone is rooted already(4.4.2), i installed ROM manager and now i dont know how to boot it to cwm recovery, every tutorial i follow it goes to stock recovery. I tried installing cwm with odin but it doesn't get through setup connection, or it does but it fails. I wanted to get the google edition ROM. Thanks in advance
Click to expand...
Click to collapse
Have you tried the below app? Supposed to be good for flashing things.
https://play.google.com/store/apps/details?id=neldar.sgs.kernel.flasher
Sent from my GT-I9505 using Tapatalk
what is exactly flashing kernel? is it the same as flashing cwm recovery? so confused atm
Hetfield88 said:
what is exactly flashing kernel? is it the same as flashing cwm recovery? so confused atm
Click to expand...
Click to collapse
You don't need flash any kernel for have a custom recovery. Take a look:
~ For i9500: HERE
~ For i9505: HERE
Joku1981 said:
You don't need flash any kernel for have a custom recovery. Take a look:
Click to expand...
Click to collapse
Thanks a lot man!
Edit:ahem i think i messed up, i got the custom recovery to work, then i did a wipe to install the google rom, but it failed for some reason, what do i do now?
You sound like you really don't know what you're mate.
I think the best advice anyone can give you is to put your phone down and read some more.
If you have successfully flashed CWM then all you need to do is flash a ROM of your choice then wipe data / factory reset.
Also before you even think about flashing anything to your phone you NEED to back up your EFS partition.
Sent from my GT-I9505 using XDA Premium HD app
Obagleyfreer said:
You sound like you really don't know what you're mate.
I think the best advice anyone can give you is to put your phone down and read some more.
If you have successfully flashed CWM then all you need to do is flash a ROM of your choice then wipe data / factory reset.
Also before you even think about flashing anything to your phone you NEED to back up your EFS partition.
Sent from my GT-I9505 using XDA Premium HD app
Click to expand...
Click to collapse
you're right but now, since it's in recovery mode i have to fix this asap. i entered the recovery and did wipe data/factory reset like the tutorial said, then proceeded to install zip(the ROM) but it fails E/... status 7 installation aborted.
and i did backup data and sd card but the backups are in my pc and i cant get to them in recovery mode :/
Hetfield88 said:
you're right but now, since it's in recovery mode i have to fix this asap. i entered the recovery and did wipe data/factory reset like the tutorial said, then proceeded to install zip(the ROM) but it fails E/... status 7 installation aborted.
and i did backup data and sd card but the backups are in my pc and i cant get to them in recovery mode :/
Click to expand...
Click to collapse
Don't panic bad it's just down to the version of recovery ?
Just go back into recovery & try flashing again once you get status 7 go back & second line from bottom where you chose zip you will see "allow update old binary" tick the box if not ticked or until if it's selected then select zip to flash & it'll go straight through

Doesn't work to flash into custom recovery

Hi guys, I have a Samsung Galaxy S4 I9505, which is rooted of course. I am tired of the interface and want something fresh, but before that I need to get through that damn nandroid backup. When I launch my phone into recovery, I have no option to take that backup, which I knew I wouldn't have. I also tried download CWM, and launch that into the custom recovery mod, but that didn't work either, it just sent me into the default recovery. Then I looked around, and found this TWRP or TRWP or something, and tried that, but the same thing happened. I looked a little more and someone had said that you could flash into an .img file through adb emulator, which I of course tried. When I did that, this happened: dropbox.com/s/5e1ae2npir9n8v3/2014-09-14%2022.50.03.png. (Couldn't post as link, since I don't have many posts, and please don't remove it So, obviously, my question is as following; Do you know anything else I could try? I really want to take a backup of my phone before flashing any roms, and I believe I even need a custom recovery mod to do so anyway . Help is appreciated, thanks
iPixels said:
Hi guys, I have a Samsung Galaxy S4 I9505, which is rooted of course. I am tired of the interface and want something fresh, but before that I need to get through that damn nandroid backup. When I launch my phone into recovery, I have no option to take that backup, which I knew I wouldn't have. I also tried download CWM, and launch that into the custom recovery mod, but that didn't work either, it just sent me into the default recovery. Then I looked around, and found this TWRP or TRWP or something, and tried that, but the same thing happened. I looked a little more and someone had said that you could flash into an .img file through adb emulator, which I of course tried. When I did that, this happened: dropbox.com/s/5e1ae2npir9n8v3/2014-09-14%2022.50.03.png. (Couldn't post as link, since I don't have many posts, and please don't remove it So, obviously, my question is as following; Do you know anything else I could try? I really want to take a backup of my phone before flashing any roms, and I believe I even need a custom recovery mod to do so anyway . Help is appreciated, thanks
Click to expand...
Click to collapse
Hi mate ,
Try flashing a custom recovery with odin....
I like philz touch
download here
http://forum.xda-developers.com/showthread.php?t=2281367
instructions here
http://forum.xda-developers.com/showthread.php?t=2201860
with philz you just choose backup restore options ( these is for the nandroid backup) from there you select internal sd or external sd.... after a few minutes ....you just made a nandroid
The alternatives did not work
Thank you for your answer. I tried PhilZ touch, but that did not work either for some reason. I tried the zip first, flashing it from my recovery, but when it finished, I was sent directly to the desktop screen, and nothing happened. Same when I flashed through Odin. Or am I just stupid and that was the point, and there's something out there I was missing?
EDIT: It worked afterall, just restarted the phone and launched into recovery. Dumb me. Thank you man, I appreciate it!
thx
iPixels said:
Thank you for your answer. I tried PhilZ touch, but that did not work either for some reason. I tried the zip first, flashing it from my recovery, but when it finished, I was sent directly to the desktop screen, and nothing happened. Same when I flashed through Odin. Or am I just stupid and that was the point, and there's something out there I was missing?
EDIT: It worked afterall, just restarted the phone and launched into recovery. Dumb me. Thank you man, I appreciate it!
Click to expand...
Click to collapse
great mate!! :good:

Categories

Resources