Custom recovery won't stick
This is a discussion on Custom recovery won't stick within the Nexus One Development & Hacking forums, part of the Nexus One category; I bought N1 with OS 2.2. Unlocked bootloader. Installed 2.3.3 via flashing system .IMG files from HTC binaries. Rooted. Upgraded to 2.3.4
Somewhere along this ...
Custom recovery won't stick
I bought N1 with OS 2.2. Unlocked bootloader. Installed 2.3.3 via flashing system .IMG files from HTC binaries. Rooted. Upgraded to 2.3.4
Somewhere along this process I installed custom recovery and SU. SU is working because I tried a couple apps that require SU.
At the end of the process I boot into recovery and realize it is stock (adroid picture with yellow exclamation sign). Somehow it got downgraded.
Now when I try to reinstall CWM it won't stick. That is it exists until system is rebooted, and then I am magically back to stock recovery
This is what I do:
1) Boot into bootloader mode
2) "fastboot devices" shows my phone
3) Attempt to flash recovery (progress bar on the phone goes once from bottom to top):
C:\Program Files\Android\android-sdk\platform-tools>fastboot flash recovery recovery-clockwork-220.127.116.11-passion.img
sending 'recovery' (2914 KB)...
OKAY [ 0.438s]
OKAY [ 1.063s]
finished. total time: 1.500s
4) Select BOOTLOADER from the menu
5) Wait for some text related PASSIMG.ZIP to flash on the scrceen and disappear
6) Select "Recovery" - brings me to CWM 3.0.5 UI. CWM works
7) Select "Reboot" from CWM
8) Wait until system boots
9) Power off
10) Power on while holding trackball
11) Wait for some text related PASSIMG.ZIP to flash on the scrceen and disappear
12) Select "Recovery" - brings me to stock recovery - droid picture and exclamation mark displayed
Same story with Amon Ra recovery
Potential sign of the problem: if I try to erase recovery before flashing I get this error message:
C:\Program Files\Android\android-sdk\platform-tools>fastboot erase recovery
FAILED (remote: not allowed)
finished. total time: 0.063s
I am not sure if "erase recovery" is supposed to work
Android.net is the premier Android Forum
. Registered users do not see these ads. .
Found solution at xda developers.
The cause of the problem seems to be that when phone is rebooted recovery is restored to stock by script install-recovery.sh
So what needs to be done is to prevent this script from running. This can be achieved by renaming it:
1) I did steps from 1) to 6) from my post above. This brought me to CWM
2) I ran adb shell
3) mounted system folder:
# cd /
~ # mount /system
4) changed folder to /system/etc:
~ # cd system
/system # cd etc
5) renamed script file
/system/etc # mv install-recovery.sh install-recovery.sh.bak
6) Rebooted phone and rebooted again to recovery via adb - CWM is present
I wrote a script that deletes the two files - much easier. Just flash through recovery...
I knew there was a reason they made you a SUPER Moderator DR
I will save that script--nice work
Phones Owned: Nokia 6200; Nokia 6126 2ea; BB 8700g; BB 8900; MyTouch 4G; Nexus One: HTC One S; Carrier-TMobile
San Francisco Giants
Originally Posted by danger-rat
Nice piece of work, that is. Thanks!!
dr needs to post his hard work in his sig or something!
I plan on putting together a bunch of files in a repository (so I don't have to use my dropbox). Just trying to find one that I can manage easily from my phone...
hmm.. so you are looking for something similar to dropbox?
What if you created another dropbox account and used the web to manage it?
It looks like their website is mobile friendly. That way you won't have to unlink your personal dropbox account from the dropbox app on your phone
I can try and track some alternatives down though
sorry I forgot about this https://www.sugarsync.com/
its similar to dropbox.
might be what you are looking for?
I should add that they have an android app - and apparently their free version gives you 5 GB which is pretty awesome!
sorry for another edit - links to more services http://techpp.com/2010/07/05/dropbox...-files-online/
I use my phone 90% of the time, so I need something that is easy to use from the phone. Dropbox is great, but I don't think I can do multiple accounts on the same phone...
Maybe if I share a folder with another account? I'll give it a try...
Search tags for this page
atrix 4g cwm wont stick
custom recovery won't stick
custom recovery wont stick
custom recovery wont stick gingerbread
custom recovery wont stick thunderbolt
cwm 18.104.22.168 custom recovery
cwm recovery doesnt stay
cwm wont stay
htc mytouch 4g 2.3.4 flash cwm
nexus 4 wont flash cwm
nexus s recovery wont stick
nexus s unlock erase failed
nexus s unlock failed (remote erase fail)
writing recovery failed remote not allowed
Click on a term to search our sites for related topics.