SOLVED Broken Recovery after root - Nexus S Q&A, Help & Troubleshooting

Hi people,
I have a bit of a problem here
Recently updated my Nexus S i9020t (unlocked uk version) to 4.0.3, all done no hassle and working fine.
Then I rooted the device following the instructions on nexushacks .com, including flashing TWRP recovery and superuser.
Again, all fine no hassle.
HOWEVER now, whenever I try to boot into recovery, i see a belly up android with a big exclamation mark
Any ideas as to how to fix this, ie re-install stock recovery?
Much appreciated in advance,
All the best

if you still have root just download rom manager and install recovery from there.
Sent from my Nexus S using XDA App

Hi Camalus,
I already tried installing clockworkmod recovery from rom manager, unfortunately the issue persists (same deal, android belly up with exclamation)

Is Root working? You can test this by using terminal emulator and typing in "su".
If it is, rename /etc/install-recovery.sh to something else (ie. /etc/install-recovery.sh.bak). This will stop stock recovery installing each boot. After this, flashing CWM or TWRP again will keep it there.

Job Done
Hi Harbb,
Thanks an absolute million, I did as you suggested and then flashed an old version of CWM recovery.
Result: SUCCESS!
Awesome job done, nice one bro

Flash the new one, save you trouble down the track. Also remember to rename that file i said so stock doesn't replace recovery
And of course you're welcome.

Hi Harbb,
Can I flash the new version of CWM recovery through ROM manager, or would it be advisable to do it manually, with fastboot (as I did successfully just now)?
Also, I have renamed install-recovery.sh to install-recovery.sh.bak just as you suggested.
Are there any other files I need to rename in order to ensure recovery works as it's supposed to, or should that be ok now?
Once again, thanks for your help

That's all you need to rename. I'd generally just advise wiping/flashing manually, ROM Manager should be fine for recovery since it doesn't actually reboot into recovery and execute commands.

Related

Rooted i9023, some help needed please!

Ok guys so I have managed to root my i9023 and flash clockwork recovery which was all good, I set about flashing some new roms via rom manager, again, all good.
So now I settle on this cm7 based rom which I love, used anim mod to get some nice transitions, then I used font changer.
All was good, then I decided that the font I was using was a bit ott so I decided to change it again, upon reboot it starts boot looping, bollocks !!!
So I try to get into clockwork recovery, and it seems to have gone back to the stock bootloader, grrrrr
I re flash clockwork, wipe / clear etc... then flash the rom again, but it would not flash, so I went to my backup of stock n flashed that, all good.
I then install rom manager again and flash the rom I liked again, this time no problem, but when it loads up the home button and search button are not working
So i decide on a factory reset, I select wipe everything including sd just to be sure but it comes up "error null"???
So now I wipe the sd manually and then do the reset and it works, ok, I re load everything on from scratch and all is good, but when I installed rom manager it says that clockwork recovery IS NOT installed again
Can anyone here work out from my ramblings WTF is going on???
I dont get why the font changer all of a sudden caused a boot loop, as I had changed font about 15 times with it without issue, also why clockwork recovery will not stick anymore after a reboot, when before it did and I have not changed a thing!
Cheers!!!
Rename install-recovery.sh in system/etc to something else, flash cwm recovery again, this time it'll stick until you install a stock rom again.
Rom manager is causing more problems than it's saving time, hence I don't use it.
Sent from my Nexus S using XDA App
Thanks for the reply, can you go into detail on what exactly I need to do to get clockwork to stick? I still hold noob status!
Thanks!
Also rom manager seems fine, I flashed loads of roms with it with no issue, I also rebooted a few time at least between flashes so I dont get why clockwork suddenly decided to jump ship.
It was the font changer that f&%ked it all up for me, or anim mod (which I wont touch now even tho I miss the wicked transitions).
When using Font Changer, it's better to do a reboot manually instead of selecting Reboot from within the program. That sometimes cause me a boot loop too. But after turning the phone off / on a.k.a. "reboot manually", the phone boots fine.
To elaborate what rentaric said, use Root Explorer and go to /system/etc/, there should be a file named install-recovery.sh. This file is responsible for flashing the stock recovery every time the phone boots. If you rename it to something else e.g. install-recovery.sh.bak then CWM will stick on reboot.
Thanks, but when I get into the /system/etc/ there is not file called install-recovery.sh.
The only .sh in there is init.goldfish.sh
Any ideas???
bump...............
Flash cwm rec and either stock or custom rom.
Stock rom incl the .sh you want.
Sent from my Nexus S using XDA App
I've read on these forums that using Clockwork on the I9023 is a no-go. Serves up incompatible ROMs, etc.
BTW, I'm looking to root my I9023. Can the OP please point me to the method he used.
athani said:
I've read on these forums that using Clockwork on the I9023 is a no-go. Serves up incompatible ROMs, etc.
BTW, I'm looking to root my I9023. Can the OP please point me to the method he used.
Click to expand...
Click to collapse
LINK: http://forum.xda-developers.com/showthread.php?t=1007782
Please read the whole thread, if I had it would have saved me half a night scratching my head...lol
rentaric said:
Flash cwm rec and either stock or custom rom.
Stock rom incl the .sh you want.
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
Yeah I have a custom rom installed, supercm7, but the install-recovery.sh. that I have been told is causing the problem of clockwork disappearing is not in the /system/etc/ folder, so I am asking if there is anything else that could be causing me to have to re flash clockwork via my pc every time I want to change rom?
I will tell you exactly what happens.
1. I go into rom manager
2. download a rom and choose flash rom from sd card
3. it asked if I want to wipe etc, i select yes
4. phone re boots and I get ! with an android
5. I pull the battery, hold volume up n power and boot / connect to my pc
6. re flash clockwork via SDK
7.the phone then load the new rom on its own
Before it would just flash the rom without me having to install clockwork again.
install-recovery.sh is only there if you're using a stock android rom.
"so I am asking if there is anything else that could be causing me to have to re flash clockwork via my pc every time I want to change rom?"
ROM Manager.
It's not a reliable working tool for ME as I'm changing ROMs/kernels on a regular basis and it might not work reliable the one time you need it.
Thanks for that, I may just sack rom manager then.
Its a shame as I flashed several roms with it without issue.
Oh well, loving this supercm7 so gonna stick with it untill an update comes out.
Many thanks to all who have replied, clicking the thanks buttons now!
I had the same problem but i installed a previus recovery and works fine formeforme
Sent from my Nexus S 4G using XDA Premium App

[Q] Next problem

I upgraded manually to 4.04 coming from 4.03 rooted, i flashed the update file and then flashed Superuser, everything is working fine.
Today i wanted to make a backup with the rommanager, but it seems that the Clockworkmodrecovery isnt there anymore, when i tried to flash clockworkmodrecoveryin standard recovery i get the Signature verification fail and then the android with the exclamation mark.
For the rest the phone works fine. i am confused now, what to do
i have backups of my olders system, from a few days ago, but can i use rommanger to set things back or does that not work anymore because the clockworkmod recovery is missing now.
How can i get back clockworkmod recovery
is this working for you: http://andwise.net/?p=268 ?
No it does not work .
what does not work exactly ??
there is an missing dll in your fastboot exe,
pulled the battery and flashed thru rommanager, then its ok, recovery is there but when i want to make a backup, clockworkmod recovery is gone again after reboot, not sticky i think
Rename "/system/etc/install-recovery.sh" to "/system/etc/install-recovery.sh.bak". All Stock ROMs replace the recovery on each Boot if it isn't the stock one. Renaming this script stops that. After you do this, flash CWM one more time and it'll stick.
Ok thanks, i am just back to 4.03 using a nandroid backup, when i am going back to 4.04 i will try your solution

[Solved] Rooting nexus s GT19023 stock ICS 4.04? [/Solved]

Hello to all respected members
i have a problem... i read all threads and tutorials on rooting nexus s GT19023 but still no success ...
i bought this phone yesterday so I'm new to this... hope someone kind will explain the details to me ...
bootloader status says : unlocked
but still no root on 4.04
clockmod recovery is installed... so another question
can i install custom rom using clockmod recovery without root access? if possible, then after installing custom ICS rom it will then be rooted>?
thanks in advance for all those who took time in helping me root ICS 4.04 stock rom... i really need root access on this rom... i hope i can install custom rom with cm recovery then have root with custom rom
since im new to this, please suggest the best rom and kernel to use i'm open to suggestions
thanks
if you want your phone rooted, flash this in CWM:
http://downloads.androidsu.com/superuser/Superuser-3.0.7-efghi-signed.zip
then, in app drawer should has Superuser icon.
In other way, if you flash custom rom, it's already rooted, so you don't have to flash that file above again...
thanks savantist ... i flashed custom rom and its working awesome... rooted + kernel... thanks for the reply thread is solved
I'm about to root my nexus s for the first time. I'm running Android 4.04. Quick nooby question..will I lose the contacts n data on my phone memory if I root by flashing that superuser file with CWM recovery..If yes then is there a way to create a NAND backup prior to rooting my device.
Thanks a lot for putting up with my nooby question. Pls help!!!
Sent from my Nexus S using XDA
recovery is also not working
i also have a nexus s baseband version i9023XXKI1. i got it with gingerbread but but I`ve put ics 4.0.4(stalk) in it successfully, but now I dont have root access neither my recovery mode is working.I still have superuser and rom manager installed. I`m stuck with it. please help. please...
naveen bailey said:
i also have a nexus s baseband version i9023XXKI1. i got it with gingerbread but but I`ve put ics 4.0.4(stalk) in it successfully, but now I dont have root access neither my recovery mode is working.I still have superuser and rom manager installed. I`m stuck with it. please help. please...
Click to expand...
Click to collapse
Flash CWM from fastboot
http://download.clockworkmod.com/recoveries/recovery-clockwork-5.0.2.0-crespo.img
Place the ClockworkMod Recovery Image in the same folder as fastboot (the /tools folder with the Android SDK folder). Power the Nexus S down, and hold Volume Up & the Power button until booted into the bootloader. Connect the Nexus S to the computer via USB. On the computer, open terminal and run:
fastboot flash recovery recovery-clockwork-5.0.2.0-crespo.img
The ClockworkMod Recovery should now be installed on the Nexus S.
After that boot into recovery using volume up + power button, then selecting recovery. Now in CWM flash
http://downloads.androidsu.com/superuser/Superuser-3.0.7-efghi-signed.zip
Reboot and you have root again.
PRAISE the lord! I have been to 7 different sites and followed their instructions to the letter and no ROOT.... I finally found this post and the signed Super user did the trick THANKS SO MUCH!
FINALLY!

Going to root, am I doing it right?

I am on stock 4.0.4 with a locked bootloader. I want to have root with the stock rom, nothing else just root.
So I am gonna use the tool provided here,
http://forum.xda-developers.com/showthread.php?t=1544940
I have already installed drivers and have the tool downloaded.
Then I would like to flash the stock google 4.0.4 rom that will let me receive OTA updates. Is this the right file?
http://forum.xda-developers.com/showthread.php?t=1569509
Or can I just flash the stock rom from here?
http://forum.xda-developers.com/showthread.php?t=1572307
I heard there are problems flashing stock rom with CWR if the stock recovery isnt removed? Thats why I dont know if I should flash the stock image.
Is the process of flashing rom with CWR recovery the same as with stock recovery?
My phone is the i9023.
Thanks a bunch in advance.
Gambler_3 said:
I am on stock 4.0.4 with a locked bootloader. I want to have root with the stock rom, nothing else just root.
So I am gonna use the tool provided here,
http://forum.xda-developers.com/showthread.php?t=1544940
I have already installed drivers and have the tool downloaded.
Then I would like to flash the stock google 4.0.4 rom that will let me receive OTA updates. Is this the right file?
http://forum.xda-developers.com/showthread.php?t=1569509
Or can I just flash the stock rom from here?
http://forum.xda-developers.com/showthread.php?t=1572307
Is the process of flashing rom with CWM recovery the same as with stock recovery?
Thanks in advance.
Click to expand...
Click to collapse
Baseband version? under about phone
billchen0014 said:
baseband version? Under about phone
Click to expand...
Click to collapse
i9023xxki1.
Sorry should have specified my phone in the OP.
Best way is to do it manually. You can find all of the steps required here. The only difference is that you should be flashing the latest recovery from here and the latest superuser.zip file when flashing with recovery.
Note, unlocking bootloader will cause loss of EVERYTHING on the device that you have put on there (sdcard, apps, data partition, etc).
Harbb said:
Best way is to do it manually. You can find all of the steps required here. The only difference is that you should be flashing the latest recovery from here and the latest superuser.zip file when flashing with recovery.
Note, unlocking bootloader will cause loss of EVERYTHING on the device that you have put on there (sdcard, apps, data partition, etc).
Click to expand...
Click to collapse
You suppose thats better to do manually so I will have latest version of recovery and superuser?
And yes I am aware of the data loss waited sometime to finish all my games now I am ready to lose all my app data.
Harbb said:
Best way is to do it manually. You can find all of the steps required here. The only difference is that you should be flashing the latest recovery from here and the latest superuser.zip file when flashing with recovery.
Note, unlocking bootloader will cause loss of EVERYTHING on the device that you have put on there (sdcard, apps, data partition, etc).
Click to expand...
Click to collapse
Do it this way. The one click is fine but using Android SDK and going through all that will help you in the long run. This way you know the process in case something goes wrong. It may be confusing at first but worth it. It will teach you a lot more than flashing a one click!
I learnt a lot from this and feel much more experienced and capable because of it. I know I will be able to solve any major issues using Android Debug Bridge (adb).
Okay then I am gonna try the manual way and gonna take out time for it. Now I just need to know what do I flash once I have unlocked bootloader and installed CWR?
I just want the stock google rom and receive OTA if nexus S continues to be supported by google.
You won't need to reinstall the ROM if you are currently on 4.0.4. The ROM stays there as-is. Feel free to do your wipes in recovery and reflash stock 4.0.4 through CWM if you must. You flash CWM to your phone and then superuser through CWM.
Steps:
Setup ADB/fastboot
Bootloader --> fastboot oem unlock --> agree
Bootloader --> fastboot flash recovery recovery.img --> this will give you CWM
Recovery --> flash superuser.zip and, if you must, wipe and reflash ICS (flash su AFTER this if done)
Reboot --> bingo
Also note, with stock ROMs it will replace your current recovery with stock recovery on each boot. If you want to keep CWM, delete /system/etc/flash-recovery.sh when you first boot. You'll have to reflash recovery afterward and it will stick.
Oh I was of the impression that unlocking bootloader wipes everything means it wipes the OS as well. That is nice if it's just data and not the OS, dont think I would reflash it if it's not needed.
Can you explain what you mean by will have to reflash recovery? I will have to do that even if I delete that file on first boot? And whats the drawback if I dont delete that file and stick with stock recovery?
As soon as you boot into stock android it will replace the recovery. So if that file is there on first boot, it will replace it while booting and you will be without CWM (stock instead). After first boot you can delete the file (you can reflash a ROM which has this deleted, or delete it yourself from a stock ROM, or even use adb or a recovery-based file manager to delete the file, then you won't have this problem at all) and it will no longer reflash stock recovery, but you would already have the stock one and need to flash CWM one more time to get it to stick. Easiest way is to just flash CWM and delete it within android imo, saves mounting commands and the such.
No downside really. If you need to flash something for one reason or another you'll just have to reflash CWM before you do so. Once rooted, ROM Manager can do this for you within android anyway.
I had already downloaded and installed the drivers from the one click root thread and my computer shows the android adb thing when I connect my phone with USB debugging.
But as you guys suggested I am gonna do the manual way. So do I just skip the installing driver on computer in the part 1 of this guide?
http://forum.xda-developers.com/showthread.php?t=1007782
In my bootloader menu why is it showing my phone as an i9020?? Is it normal?
Gambler_3 said:
In my bootloader menu why is it showing my phone as an i9020?? Is it normal?
Click to expand...
Click to collapse
Because you have a Nexus S with amoled. That's the i9020. The i9023 is SLCD.
DeuXGod said:
Because you have a Nexus S with amoled. That's the i9020. The i9023 is SLCD.
Click to expand...
Click to collapse
He has the i9023 to my knowledge. It is completely normal, though. Bootloader and recovery for i9020 and i9023 series are the same, this can be attributed to the issue with 4.0.3 recovery backlight not turning on.
If fastboot recognises your phone in the bootloader (the fastboot menu), your drivers are installed an working perfectly.
Finally got to the unlock bootloader screen, didnt do it just yet but now I know how to do it.
I must say the guide is a bit outdated, the software has changed quite a bit seems. The most frustrating part was that the fastboot file is actually in the platform tools folder instead of the tools folder which I didnt figure for a while. I will hold off rooting when I have a whole day off because once I lose everything I would be very anxious to get my phone back to normal which will take time.
Thanks for the help harbb, if I have any problem flashing recovery and superuser I will come back for more help.
And yes I have the LCD version i9023.
Btw the guide said the fastboot will be in the tools folder but the tools folder had a read me that "adb has moved to the platform tools folder" this is how I figured to go to that folder and thats where the fastboot file actually was.
Now it says I should put the recovery image in the tools folder so should I do that or put it in the platform tools folder?
In the instructions for the flashing recovery I am not understanding one thing.
6 - Then back on the SNS select Power Off (Reboot also works)
Part 4 - Root
1 - Power ON the SNS
So after flashing recovery I have to reboot? Since I am on stock rom that would bring back the stock recovery so how would I flash superuser then?
If I delete the stock recovery can I still get OTA updates?
fastboot and adb is now in platform tools, that is correct. Easiest way is to put your recovery in there too so you don't have to type in the absolute file path to it, don't put it in tools.
Don't power off or reboot the phone. After you flash recovery go straight into the recovery menu and root, flash custom ROMs, kernels, etc. You can transfer files to flash via the mounts and storage --> mount usb storage menu. After this feel free to reboot.
Harbb said:
fastboot and adb is now in platform tools, that is correct. Easiest way is to put your recovery in there too so you don't have to type in the absolute file path to it, don't put it in tools.
Don't power off or reboot the phone. After you flash recovery go straight into the recovery menu and root, flash custom ROMs, kernels, etc. You can transfer files to flash via the mounts and storage --> mount usb storage menu. After this feel free to reboot.
Click to expand...
Click to collapse
Just wanted to update that I successfully unlocked and rooted. Thanks a bunch mate.
Gambler_3 said:
Just wanted to update that I successfully unlocked and rooted. Thanks a bunch mate.
Click to expand...
Click to collapse
Good work, been wandering what you were up to on this
Hope you enjoy the possibilities.

SD Card issues

Hi, after updating to 5.0, I've had some issues with SD card.
I flashed 5.0 using the google factory image, it was a clean flash too.
basically adb reboot bootloader, then flash-all.bat
After that, I figured i should make a EFS copy, so i flashed the script on xda, it worked, everything is perfect, except the SD card(?)
When I am using ES file explorer (and a lot of other root explorer, nothing worked), i have to go back to /data/media/0 to actually see the EFS_Backup folder.
Same with TWRP backups.
In /sdcard you simply cannot see it, no matter what i do.
How do I fix this problem? I am rooted stock rom, flashed SU via http://forum.xda-developers.com/showthread.php?t=1538053 using zip file and TWRP 2.8.1.0
EDIT: figured i'll add the details here as well
i have SU 2.37, latest elementalX kernel for 5.0 (also have the same issue with stock kernel so i doubt the issue is this), 2.8.1.0 TWRP because 2.8.2.0 boot loop, stock rom
EDIT #2: I just flashed SU 2.38 BETA, since someone said they fixed the issue with that, no luck for me.....
EDIT #3: Just made 2.8.2.0 boot, turns out i just need to boot into rom before going into recovery first......never had to do this but oh well, now i know.
I have the exact same problem as you do. Files just disappear one fine day. I have tried every possible custom ROM out there, every possible recovery and different versions of SU.
Will try what you recommend and report back.
Thanks for starting this thread. i'm just surprised how more people don't have the same issues.

Categories

Resources