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 ...

Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Custom recovery won't stick

  1. #1
    Junior Member JoeSchmoe007's Avatar
    Join Date
    May 2011
    Posts
    6

    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-3.0.0.5-passion.img
    sending 'recovery' (2914 KB)...
    OKAY [ 0.438s]
    writing 'recovery'...
    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
    erasing 'recovery'...
    FAILED (remote: not allowed)
    finished. total time: 0.063s

    I am not sure if "erase recovery" is supposed to work

  2. Android.net is the premier Android Forum. Registered users do not see these ads. .

  3. #2
    Junior Member JoeSchmoe007's Avatar
    Join Date
    May 2011
    Posts
    6
    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

  4. #3
    Android Lurker danger-rat's Avatar
    Join Date
    Mar 2011
    Posts
    0
    I wrote a script that deletes the two files - much easier. Just flash through recovery...
    http://db.tt/ooDaCnU

  5. #4
    Android Master rugmankc's Avatar
    Join Date
    Apr 2010
    Posts
    1,955
    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

    [SIGPIC][/SIGPIC]


    San Francisco Giants

  6. #5
    Junior Member cyberstoic's Avatar
    Join Date
    Apr 2011
    Posts
    15
    Quote Originally Posted by danger-rat View Post
    I wrote a script that deletes the two files - much easier. Just flash through recovery...
    http://db.tt/ooDaCnU

    Nice piece of work, that is. Thanks!!

  7. #6
    Senior Member bourne's Avatar
    Join Date
    Jan 2011
    Posts
    289
    dr needs to post his hard work in his sig or something!
    ...................
    .:. phoneStats .:.
    .:. Nexus One
    .:. version 2.3.4
    .:. build number GRJ22
    .:. ROOT - Stock Gingerbread img
    ...................
    .:. Update from Gingerbread 2.3.3 to 2.3.4 and maintain root

  8. #7
    Android Lurker danger-rat's Avatar
    Join Date
    Mar 2011
    Posts
    0
    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...

  9. #8
    Senior Member bourne's Avatar
    Join Date
    Jan 2011
    Posts
    289
    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
    ...................
    .:. phoneStats .:.
    .:. Nexus One
    .:. version 2.3.4
    .:. build number GRJ22
    .:. ROOT - Stock Gingerbread img
    ...................
    .:. Update from Gingerbread 2.3.3 to 2.3.4 and maintain root

  10. #9
    Senior Member bourne's Avatar
    Join Date
    Jan 2011
    Posts
    289
    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/
    ...................
    .:. phoneStats .:.
    .:. Nexus One
    .:. version 2.3.4
    .:. build number GRJ22
    .:. ROOT - Stock Gingerbread img
    ...................
    .:. Update from Gingerbread 2.3.3 to 2.3.4 and maintain root

  11. #10
    Android Lurker danger-rat's Avatar
    Join Date
    Mar 2011
    Posts
    0
    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...

Page 1 of 2 12 LastLast

Remove Ads

http://www.scramblerducati.org/

Sponsored Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

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 3.0.0.5 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)
,
recovery-clockwork-3.0.0.5-passion.img
,
writing recovery failed remote not allowed
Click on a term to search our sites for related topics.
Android Forum