[RECOVERY][MOD][Desire][02-Nov-2011] Clockwork 5.0.2.7.111102

Search This thread

zyonee

Senior Member
Nov 13, 2009
908
482
Stockholm
OnePlus 6
OnePlus 8 Pro
First of all, this is not my work. I only compiled it.

This is the usual ClockworkMod recovery, compiled from the CM7 sources with additions/modifications by j_r0dd. What I've done is only to compile it for the HTC Desire. For details, check out the link to j_r0dd's original thread for the Nexus S.

The credits go to Koush for the recovery itself and to j_r0dd for the modifications.

j_r0dd said:
This is based on the latest CM7 source which I modified for myself. I take no credit for the recovery whatsoever, but I will take all the blame for my mods . We all know this is Koush's hard work. Just some things were driving me crazy personally. First was the confirmation menu. I really got sick of scrolling through all those "No"s just to flash something, so i changed it for me personally and just thought I would share. I also created a proper wipe menu. I got sick of some wipes in the main menu and the rest in the "advanced" menu. I made this more Amon_RA like. See the attached screenshot for my changes. That change has led to a few others by me. flash with fastboot or flash_image. THESE ARE NOT IN ROM MANAGER. Also if you have an issue with this take it up with me NOT Koush.

Original Nexus S thread with changelog here.

Download:
recovery-clockwork-5.0.2.7.111102-j_r0dd_mod-bravo.zip
(old) recovery-clockwork-5.0.2.7.111027-j_r0dd_mod-bravo.zip

Change log:

02-Nov-2011 (v5.0.2.7):
  • Merged 5.0.2.7 sources from CM7 repo again (some bugfixes)
  • Added option to wipe cache partition and dalvik cache at the same time
27-Oct-2011 (v5.0.2.7):
  • Merged 5.0.2.7 sources from CM7 repo (support for internal/external sdcard in backup/restore)
07-Oct-2011 (v5.0.2.6):
  • Rearranged wipe menu to avoid accidental factory wipes
  • Added "Reboot Bootloader"
  • Moved SD Card partitioning into a function of its own for both int/ext SD card
  • Merged 5.0.2.6 sources from CM7 repo
  • Added a menu choice of ext2/ext3/ext4 when partitioning SD card
25-Sep-2011 (v5.0.2.3):
  • Updated to j_r0dd's 5.0.2.3 version. Currently no changes made by myself.
17-Jun-2011 (v4.0.0.5):
  • Moved the "Wipe data/factory reset" to the bottom of the wipe menu to reduce the risk of accidental factory wipes.
19-Jun-2011 (v4.0.0.5):
  • Added "Reboot bootloader" option in advanced menu.
  • Added the ext4 modifications kindly supplied by roalex. Needs testing. Please make a proper nandroid backup with a proven working recovery version before trying this.
20-Jun-2011 (v4.0.0.5):
  • Added "Show log" in the advanced menu. This can help when reporting errors here. Use it. :)
21-Jun-2011 (v4.0.0.5.z110621):
  • Reverted and correctly added roalex's ext4 additions.
  • Modified recovery.fstab for ext4 support on some devices.
23-Jun-2011 (v4.0.0.5.z110623):
  • Removed NULL ext3 in recovery.fstab to hopefully get ext4 working properly.
06-Jul-2011 (v4.0.0.5.z110706):
  • Added "Advanced backup". Now you can backup/restore individual partitions.
  • Some other commits from other devs in github
  • Changed file limit from 10000 to 50000 in unyaffs. Should help when restoring large data partitions fails.
17-Jul-2011 (v4.0.1.0.110717):
  • Rebased completely on j_r0dd's 4.0.1.0 source and removed roalex's ext4 additions, as it wasn't working for everyone. Now trying with the original ext4 support which is included in CWM.
20-Jul-2011 (v4.0.1.4.110720):
  • Bug fixes


Disclaimer
These recoveries are compiled using the latest commits from koush, j_r0dd and others. That means they haven't been thoroughly tested and might have minor/major issues. I take no responsibility for any damages this thing might cause, but most things should work as intended. If you want something guaranteed to work, I think you should stick with one of the older versions.

Source code available here.
 
Last edited:

sjknight413

Senior Member
Dec 1, 2009
2,659
1,310
Brighton, England
bit hesitant to flash this, had a few usb bricks from recent clockworks. reckon some people who have flashed it could nandroid backup then restore and check it all works?
 

zyonee

Senior Member
Nov 13, 2009
908
482
Stockholm
OnePlus 6
OnePlus 8 Pro
bit hesitant to flash this, had a few usb bricks from recent clockworks. reckon some people who have flashed it could nandroid backup then restore and check it all works?

Well, like I said, I can't guarantee that it works, especially since I have no Desire to test it on. I've used j_r0dd's source which is based on Koush's source for the official CM7 3.2.0.0 ClockworkMod recovery. It might work, or it might not work. Testing it is up to each person.
 

sjknight413

Senior Member
Dec 1, 2009
2,659
1,310
Brighton, England
Well, like I said, I can't guarantee that it works, especially since I have no Desire to test it on. I've used j_r0dd's source which is based on Koush's source for the official CM7 3.2.0.0 ClockworkMod recovery. It might work, or it might not work. Testing it is up to each person.

dont get me wrong, i didnt mean any disrespect :) looks like you have done good work! but i have only had my desire 4 days and already had 2 usb bricks! will probably test in a couple of days
 

zyonee

Senior Member
Nov 13, 2009
908
482
Stockholm
OnePlus 6
OnePlus 8 Pro
dont get me wrong, i didnt mean any disrespect :) looks like you have done good work! but i have only had my desire 4 days and already had 2 usb bricks! will probably test in a couple of days

Don't worry about it, I wasn't offended in any way. I'm wondering though if the USB bricks are caused by flashed (.img) recoveries. As I remember it, USB bricks were common with the earliest attempts to run recoveries by uploading the recovery binary to the phone's RAM while having to keep it plugged in to the computer.
 

zyonee

Senior Member
Nov 13, 2009
908
482
Stockholm
OnePlus 6
OnePlus 8 Pro
well i know i got the usb bricks whilst restoring nandroids when my phone wasn't plugged in. that help in any way?

Maybe your misc partition got overwritten with garbage. In my opinion, nandroid shouldn't touch this partition. The USB brick issue is usually caused by a corrupt misc partition.

Sent from my Nexus S using Tapatalk
 
  • Like
Reactions: bagaspras

sjknight413

Senior Member
Dec 1, 2009
2,659
1,310
Brighton, England
yeah i dont really know why it does, its easily fixable by reflashing the mtd0.img file generated from your cid and rom version though, its just a massive nuisance!
 

zyonee

Senior Member
Nov 13, 2009
908
482
Stockholm
OnePlus 6
OnePlus 8 Pro
yeah i dont really know why it does, its easily fixable by reflashing the mtd0.img file generated from your cid and rom version though, its just a massive nuisance!

You should check your nandroid backup folder. If there's a misc.img or something like it, maybe you should move that file elsewhere. That way, nandroid shouldn't overwrite your misc (mtd0) partition. I'm only guessing that it does handle that partition.
 
  • Like
Reactions: sffmandrake

teorouge

Senior Member
Jul 29, 2008
2,599
294
42
Trento
Is it wiping sd-ext correctly? "Official" 3.2.0.0 posted here some times ago restarted recovery upon sd-ext wipe.
 

zyonee

Senior Member
Nov 13, 2009
908
482
Stockholm
OnePlus 6
OnePlus 8 Pro
I fixed the SD card mounting bug. Please re-download 4.0.0.0.

Still buggy. Each time you leave a file list, you'll need to "adb shell umount /sdcard" from your computer. Looking into it.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 27
    First of all, this is not my work. I only compiled it.

    This is the usual ClockworkMod recovery, compiled from the CM7 sources with additions/modifications by j_r0dd. What I've done is only to compile it for the HTC Desire. For details, check out the link to j_r0dd's original thread for the Nexus S.

    The credits go to Koush for the recovery itself and to j_r0dd for the modifications.

    j_r0dd said:
    This is based on the latest CM7 source which I modified for myself. I take no credit for the recovery whatsoever, but I will take all the blame for my mods . We all know this is Koush's hard work. Just some things were driving me crazy personally. First was the confirmation menu. I really got sick of scrolling through all those "No"s just to flash something, so i changed it for me personally and just thought I would share. I also created a proper wipe menu. I got sick of some wipes in the main menu and the rest in the "advanced" menu. I made this more Amon_RA like. See the attached screenshot for my changes. That change has led to a few others by me. flash with fastboot or flash_image. THESE ARE NOT IN ROM MANAGER. Also if you have an issue with this take it up with me NOT Koush.

    Original Nexus S thread with changelog here.

    Download:
    recovery-clockwork-5.0.2.7.111102-j_r0dd_mod-bravo.zip
    (old) recovery-clockwork-5.0.2.7.111027-j_r0dd_mod-bravo.zip

    Change log:

    02-Nov-2011 (v5.0.2.7):
    • Merged 5.0.2.7 sources from CM7 repo again (some bugfixes)
    • Added option to wipe cache partition and dalvik cache at the same time
    27-Oct-2011 (v5.0.2.7):
    • Merged 5.0.2.7 sources from CM7 repo (support for internal/external sdcard in backup/restore)
    07-Oct-2011 (v5.0.2.6):
    • Rearranged wipe menu to avoid accidental factory wipes
    • Added "Reboot Bootloader"
    • Moved SD Card partitioning into a function of its own for both int/ext SD card
    • Merged 5.0.2.6 sources from CM7 repo
    • Added a menu choice of ext2/ext3/ext4 when partitioning SD card
    25-Sep-2011 (v5.0.2.3):
    • Updated to j_r0dd's 5.0.2.3 version. Currently no changes made by myself.
    17-Jun-2011 (v4.0.0.5):
    • Moved the "Wipe data/factory reset" to the bottom of the wipe menu to reduce the risk of accidental factory wipes.
    19-Jun-2011 (v4.0.0.5):
    • Added "Reboot bootloader" option in advanced menu.
    • Added the ext4 modifications kindly supplied by roalex. Needs testing. Please make a proper nandroid backup with a proven working recovery version before trying this.
    20-Jun-2011 (v4.0.0.5):
    • Added "Show log" in the advanced menu. This can help when reporting errors here. Use it. :)
    21-Jun-2011 (v4.0.0.5.z110621):
    • Reverted and correctly added roalex's ext4 additions.
    • Modified recovery.fstab for ext4 support on some devices.
    23-Jun-2011 (v4.0.0.5.z110623):
    • Removed NULL ext3 in recovery.fstab to hopefully get ext4 working properly.
    06-Jul-2011 (v4.0.0.5.z110706):
    • Added "Advanced backup". Now you can backup/restore individual partitions.
    • Some other commits from other devs in github
    • Changed file limit from 10000 to 50000 in unyaffs. Should help when restoring large data partitions fails.
    17-Jul-2011 (v4.0.1.0.110717):
    • Rebased completely on j_r0dd's 4.0.1.0 source and removed roalex's ext4 additions, as it wasn't working for everyone. Now trying with the original ext4 support which is included in CWM.
    20-Jul-2011 (v4.0.1.4.110720):
    • Bug fixes


    Disclaimer
    These recoveries are compiled using the latest commits from koush, j_r0dd and others. That means they haven't been thoroughly tested and might have minor/major issues. I take no responsibility for any damages this thing might cause, but most things should work as intended. If you want something guaranteed to work, I think you should stick with one of the older versions.

    Source code available here.
    3
    New version (4.0.0.5.z110623) uploaded. This should hopefully get ext4 working. Please test wiping, formatting, backup and restore with ext4 partition.
    3
    about the ext4 thingy, its true if recovery.fstab is set to ext4 it will format ext4 but its meant for devices which use internal sdcards so it will not work properly for a2sdext, after 1 reboot it will die ><

    if its set to ext3 in fstab it will work fine, but on every wipe/format your sd-ext will be ext3 again :)

    so i played around a bit with this sources and i managed to make it wipe/format ext4 properly.

    im using this fstab:

    # mount point fstype device [device2]

    /boot mtd boot
    /cache yaffs2 cache
    /data yaffs2 userdata
    /recovery mtd recovery
    /sdcard vfat /dev/block/mmcblk0p1 /dev/block/mmcblk0
    /system yaffs2 system
    /sd-ext ext4 /dev/block/mmcblk0p2

    *we really don't want MISC in there.

    my changed are located here , only the last 4 commits are needed, the others simply some tryouts which i reverted.

    btw the ext4 format logic i added is pretty much Cool's Alignment script :)

    for the brave ppl added a build as well.
    2
    Ok, so here goes. I'm making a new attempt. Rebased everything on j_r0dd's current 4.0.1.0, but without roalex's ext4 additions. See original post.
    2
    anybody have a changelog for v5? cant find one anywhere!

    I think it'll be avaliable on github once koush pushes the update to his repo. Until then, look for @koush and @clockworkmod on Twitter for some news.

    Sent from my Nexus S using Tapatalk