[RECOVERY][CWMR][Unofficial] Clockworkmod Recovery for the Nexus 5

Last Updated:

  1. PlayfulGod

    PlayfulGod Well-Known Member Developer

    Okay people, :) we now have a fully functional CWMR

    The Goods

    My Builds

    To Install:
    1. Code (Text):
      1. adb reboot bootloader
    2. Code (Text):
      1. fastboot flash recovery recovery.img

    NOTE: To access the backup via a root explorer, look in /mnt/clockworkmod. ;)

    Thanks to
    • Exel - for testing
    • ricky310711 - for making me use my noggin. ;)
    • Anyone else that tested!!! I thank you! ;)

    DISCLAIMER: As always, I am not responsible for what you do with your device. USE AT OWN RISK!!!

  2. jlede

    jlede Well-Known Member

    Dang pg you are all over this and you don't own one yet gg
    Slayer72 likes this.
  3. bigt

    bigt Well-Known Member

    I just installed your recovery, when I booted to it I could just highlight (using volume up and down) choices (eg mount, advanced, wipe etc) but not choose them (I used the power button)
    Rxpert83, PlayfulGod and jhawkkw like this.
  4. PlayfulGod

    PlayfulGod Well-Known Member Developer

    new img uploaded, same link. Dont know if power to select is fixed, but swipe controls are enabled and need tested, but should work. lmk. ;)
    jhawkkw and Exel like this.
  5. Exel

    Exel Member

    Getting my Nexus 5 later on today. Will be more than happy to test this.

    Someone over at XDA tried already and was unsuccessful, it wouldn't boot into recovery.
  6. PlayfulGod

    PlayfulGod Well-Known Member Developer

    Yea I spoke with shimp208 about his build. He tried build from scratch and I've not seen his configs to know where he might went wrong going that route. I used the aosp device tree and prebuilt kernel, as did Troy_Dees (TWRP) who has TWRP available for the N5 too. ;)

    We have a booting img, so I'm on the right track at least. utkanos informed me about some possible issues, but not sure if they will be issues or not yet, we'll see. ;)
    Exel likes this.
  7. Exel

    Exel Member

    Awesome, thanks for working on this buddy.
    I don't really like TWRP, I love CWM.

    As I said before, my Nexus 5 is out for delivery so I should have it soon, will be more than happy to test any builds you have.
  8. PlayfulGod

    PlayfulGod Well-Known Member Developer

    We have it working!!!!!

    OP updated!
  9. morgankslade

    morgankslade Well-Known Member

    I have Andy with RED thing in his back. What should I do.
    I was trying to install custom recovery via command prompt.

    Wheew It just started back up.
  10. jhawkkw

    jhawkkw Chinchillin' Moderator

    Awesome, will give it a try in the morning. Thanks for the great work. :)
  11. jhawkkw

    jhawkkw Chinchillin' Moderator

    I was able to flash the root zip without issue. Great job PG!
    Rxpert83 likes this.
  12. morgankslade

    morgankslade Well-Known Member

    How about custom recovery.
  13. Rxpert83

    Rxpert83 Dr. Feelgood Moderator

    I'm not quite sure what you're asking here. Can you expand?

    This is a custom recovery that will replace the stock android recovery.
  14. morgankslade

    morgankslade Well-Known Member

    So far I havent been able to install one. I dont know what Im doing wrong. I have gotten Andy with red thing in his back.
  15. jhawkkw

    jhawkkw Chinchillin' Moderator

    Is your bootloader unlocked?
  16. morgankslade

    morgankslade Well-Known Member

    Yes...Unlocked and root, but no custom recovery.
  17. PlayfulGod

    PlayfulGod Well-Known Member Developer

    make sure you unlocked the bootloader...
    Code (Text):
    1. fastboot oem unlock

    Code (Text):
    1. fastboot flash recovery recovery-clockwork-
    morgankslade likes this.
  18. jhawkkw

    jhawkkw Chinchillin' Moderator

    Ah, there is a script in the android os that makes the device auto flash the Stock recovery every time it's booted up. So if you flash custom recovery, it gets overwritten by stock recovery as soon as you not the device into the system. Let me locate the file since I forgot the name.

    Edit: The file is /system/recovery-from-boot.p. By deleting it, you stop this process. Once deleted, flash custom recovery through the bootloader one more time and it will stick. I would back up this file though.
  19. morgankslade

    morgankslade Well-Known Member

    where would I find script?
  20. jhawkkw

    jhawkkw Chinchillin' Moderator

    You have to navigate to the root directory with a root enabled file explorer, and then go to the system sub-folder. Should be in there
  21. morgankslade

    morgankslade Well-Known Member

    Well I don't see it. I used Root Explorer,system..don't see recovery.
  22. jhawkkw

    jhawkkw Chinchillin' Moderator

    You're looking for a file called recovery-from-boot.p, that's the reflashing script. Here's a shot from my device.

    Attached Files:

    Rxpert83 likes this.
  23. morgankslade

    morgankslade Well-Known Member

    Got it thanks guys.
    Rxpert83 likes this.
  24. morgankslade

    morgankslade Well-Known Member

    Where does CWM store the backups?
    I would like to store a copy on Windows PC.
    ...and can I rename the backup without MD5 error? How?
  25. mysticalnyte

    mysticalnyte Well-Known Member

    Should be under a folder called "Clockwork mod" on the internal of the phone when you plug it into a PC.

    As for renaming it, I have no clue. I usually don't mess with backup names as long as it includes the date and time I backed up.

Share This Page