[02 Nov][RECOVERY][NAND|SD][cLK|MAGLDR] ClockworkMod Recovery 5.0.2.6 "YES/NO" STABLE

Search This thread

arif-ali

Retired Recognized Developer
Nov 14, 2007
1,005
1,455
Sheffield
blog.arif-ali.co.uk
Hi, folks

ClockworkMod Recovery (<- source).
"Changelog of ClockworkMod Recovery"

changes are here for some of the work we have done for support in RM

changes for the yes/no patch, and anything provided in this thread are here

If you cannot wait for new builds, then Arifs nightly builds are available here.

Features:

  • Based on 5.0.2.6 sources
  • Re-coded recovery and leo gits in few places to have the same CWR working for both MAGLDR and cLK
  • Fixed cLK with versioning in cLK to add clk=1.4.0.1 to /proc/cmdline
  • Now require cLK 1.4.0.1, rather than the 1.4 from cedesmith
  • Compiled using official Offmode-Charging Fix by Koush
  • Edited confirmation menu to show one "no" only
  • Re-arranged YES / NO: YES now is on first place
  • ReiserFS and NILFS Support
  • Offmode-Charging with cLK ONLY
  • SD-EXT backup / restore (no matter if Reiser, NILFS, ext 2/3/4)



You can flash this image easily from within Android; simply copy the file onto your sdcard and run following commands:

Code:
$ su
# flash_image recovery /sdcard/name_of_recovery_file.img

Maybe the flash_image command is not available on your build; you can find it attached. Copy it into /system/bin folder and run following in terminal emulator:

Code:
$ su
# chmod 777 /system/bin/flash_image

For cLK:

  • You need android sdk installed and path variable set in windoze to "*androidsdk*/platform-tools" and "*androidsdk*/tools" (alternatively you can copy the .img into the tools folder of android sdk and operate from there)
  • Flash appropiate cLK 1.4.0.1 layout from second post
  • Download the file attached
  • Boot your phone into fastboot mode (hold back key (left arrow) whilst powering on)
  • Open a command line by pressing "windoze key+r" and typing "cmd", followed by enter
  • Navigate to folder, which contains the recovery image
  • Type "fastboot erase recovery" (<- not really necessary; just to make sure), followed by enter
  • Type "fastboot flash recovery name_of_recovery_file.img", followed by enter
  • Type "fastboot reboot" for rebooting your phone
  • Access recovery as described in cedesmiths thread (hold home key whilst powering on)
  • You're done :)

For MAGLDR 1.13, booting from NAND:

  • Download the file attached
  • Download a partition layout incl. recovery from this thread which fits your ROM you want to use best and unzip it into "C:\recovery" for example
  • Copy over the recovery image file from inside the zip archive into this folder "C:\recovery", delete existing "recovery-raw.img" and rename copied image file to "recovery-raw.img"
  • Flash the recovery and partition layout using "DAF.exe" as usual and described in the thread of raiderx or the ROM provider
  • Boot Recovery with menu point "8. AD Recovery"
  • You're done :)
Note: For future updates of CWR it's best to set up a fixed boot partition size of 5M and not use the filesize flag in flash.cfg.
[/list]

For MAGLDR up to 1.13, booting from SDCard (SD-files version):

  • Download the file attached
  • Extract the files to the root directory of your sdcard
  • Start recovery within MAGLDR with menu point "AD SD"
  • Recovery should start
  • You're done :)

For both via CWR:

  • Download the *_CWR.zip file onto sdcard
  • Go into recovery by either holding home key in cLK or using the 8. AD to recovery in MAGLDR
  • Note: recovery-partition size of minimum 5MB needed
  • Select Install zip from sdcard
  • Select Choose zip from sdcard
  • Navigate/Select the recovery from the sdcard
  • Select yes to install the recovery
  • reboot into recovery, and hooray, you are in the new recovery
 

Attachments

  • flash_image.zip
    7.3 KB · Views: 38,769
  • recovery_5.0.2.6_leo_sd.zip
    3.9 MB · Views: 55,206
  • recovery_5.0.2.6_leo_CWR.zip
    4.3 MB · Views: 100,678
Last edited by a moderator:

seadersn

Recognized Developer
Nov 3, 2010
3,616
3,432
46
Germany
LG V30
OnePlus 7T Pro McLaren
August 7, 2011
  • Newest sources 4.0.1.4

June 10, 2011
  • 4.0.0.0 sources
  • Changelog of recovery:
    - added the efs partition to the do not format list
    - also fix up the /sdcard symlink on startup
    - tar nandroid and /data/media support

June 8, 2011
  • 3.2.0.1 sources
  • Changelog of recovery:
    - Rename format_ignore_partitions to a forbid_format
    - Fix 6 extentedcommands declaration warnings

June 3, 2011
  • 3.2.0.0 sources
  • Added changes necessary for compiling "one recovery for all"
  • ClockworkmodRecovery now works for MAGLDR and cLK, no extra recovery for each loader
  • Added new cLK 1.4.0.1 partition layouts as attachment
  • Arif is continuing this for unknown time: thank you very much, Arif :)

April 18, 2011
  • 3.0.2.4 sources; renamed to 3.0.2.5
  • Compiled with Koush's Offmode Charging fix
  • Attention: Filesize is ~ 1MB bigger than previous version due to new Offmode Charge Fix (i believe); it still fits into 5MB Recovery Partition Size
  • SD Version is only working if power or USB is plugged in -.- Working 3.0.2.4 Version here

April 13, 2011
  • Updated to newer 3.0.2.4 sources; see "changelog" link in first post ;)
  • Full support for REISERFS & NILFS filesystems
  • cLK and MAGLDR will follow
  • Added zip file containing cedesmith's offmodecharging and my edits as "patch" (diff) file
  • Added another flash-method and attached the binary which is necessary

March 29, 2011
  • Added some cLK_1.4_partition layouts; attached on this post
  • Normal Cache-size Version (usable for most cases):
    1. boot 5M
    2. cache 44MB
    3. recovery 5MB
    4. misc 1MB
    5. system 80-160MB in 10MB steps, 180-400 in 20MB steps
    6. userdata = rest of available NAND
  • Small Cache-size Version (requires initrd.gz which links /cache to userdata partition):
    1. boot 5M
    2. cache 5MB
    3. recovery 5MB
    4. misc 1MB
    5. system 80-160MB in 10MB steps, 180-400 in 20MB steps
    6. userdata = rest of available NAND
stirkac made an exe installer with these layouts; it installs cLK and the desired layout automatically. You can find it here. Thank him :)

March 25, 2011
  • Updated to 3.0.2.4 sources


March 17, 2011
  • Updated to 3.0.1.9 sources
  • cLK was updated to latest patches from cedesmith incl. complete offmode charging support (LED color changing, button press behaviour etc)


March 15, 2011
  • Backup'n Restore does what it is intended to
  • cLK is running well and was updated to latest patches from cedesmith
  • MAGLDR is running well if restored backups are from same version


March 14, 2011
  • Second run, needs testing by MAGLDR users regarding full restore (mainly: Boot partition!)
  • cLK is running well


March 10, 2011
  • Initial release, 3.0.1.4, English only
  • Bug with MAGLDR; removed


Notes:
- Backups from a previous version can't be restored with this one. However, backups from this version are fully working.
- Offmode charging is only possible with cLK; MAGLDR up to 1.13 isn't capable about that at this time, maybe in future releases.
- MAGLDR Versions are untested by me, here i'll need your feedback, especially regarding restorings from earlier versions (e.g 3.0.1.4 backup restored in 3.0.1.9 = working or not).

CWM "ChangeLog", but w/o Version No.
 

Attachments

  • cLK_1.4.0.1_layouts_seader.zip
    1.2 MB · Views: 6,714
Last edited:

elmmis

Member
Apr 27, 2010
47
0
hi, folks :)

after testing this out i've decided to make it public: my compiled and edited version of ClockworkMod Recovery.

download from multiupload.com

features:
  • based on newest 3.0.1.4
  • edited confirmation menu to show one "no" only
  • edited title to show "S.ClockworkMod Recovery 3.0.1.4" (for determination)
  • SD-EXT backup / restore incl.

this one is usable for both cLK & MAGLDR.

instructions:







this thread / recovery will be updated every 2-4 weeks, if new recovery is available.

have fun!

wooow~try it right now ! thank you!!
 

-Spyros-

Senior Member
Dec 6, 2009
57
5
Illerzell
EDIT
It works! : D
No more "No's": D
And the function "PowerOff" is rly nice :p

@seadersn,

kommt das auch auf Handy-FAQ? :p


Thnx

Greetings.
 
Last edited:
  • Like
Reactions: master59460

-Spyros-

Senior Member
Dec 6, 2009
57
5
Illerzell
Freu mich schon :D

Könntest du die ganze Recovery übersetzen [E-D]?
Oder ist das unmöglich?

Could you translate the whole recovery?
Or is that impossible?
 

Life Engineer

Senior Member
Jun 14, 2010
1,269
270
Jounieh
hi, folks :)

after testing this out i've decided to make it public: my compiled and edited version of ClockworkMod Recovery (<- source).

download from multiupload.com

features:
  • based on newest 3.0.1.4
  • edited confirmation menu to show one "no" only
  • edited title to show "S.ClockworkMod Recovery 3.0.1.4" (for determination)
  • SD-EXT backup / restore incl.

this one is usable for both cLK & MAGLDR.

BEAUTIFUL!

Can this be used with MAGLDR 1.11!?!?
If yes can you please provide me with the kernel and initrd to replace the existing ones on SDcard!?

Thx
 

pongster

Retired Recognized Developer
Apr 15, 2005
7,059
5,861
Quezon City
www.facebook.com
hi, folks :)

after testing this out i've decided to make it public: my compiled and edited version of ClockworkMod Recovery (<- source).

download from multiupload.com

features:
  • based on newest 3.0.1.4
  • edited confirmation menu to show one "no" only
  • edited title to show "S.ClockworkMod Recovery 3.0.1.4" (for determination)
  • SD-EXT backup / restore incl.

this one is usable for both cLK & MAGLDR.

instructions:






this thread / recovery will be updated every 2-4 weeks, if new recovery is available.

have fun!
Any chance you can add reiserfs and btrfs support when making a Nandroid Backup and Restore? :)
 

seadersn

Recognized Developer
Nov 3, 2010
3,616
3,432
46
Germany
LG V30
OnePlus 7T Pro McLaren
hi,

thx for the github link; anyway i've already added it to the first post :) unfortunately a changelog or sth similar isn't arising from the sources :( but thx, again.

regarding reiser+btr: i don't know this much of programming, what i did was an (easy) change of existing code, but if it's already present in the source code and one only needs the mount points, this is no problem, i believe :)
i can have a further, deeper look into that, but it would take a while if it's not present and i have to change the code and i will definitively need help. no assurance about that ;)
regarding magldr 1.11: life engineer, i will pm you a version for testing. maybe tomorrow morning, GMT+1?
@ spyros, from where do you know that i have plenty of time, he? :D ;)
 

arif-ali

Retired Recognized Developer
Nov 14, 2007
1,005
1,455
Sheffield
blog.arif-ali.co.uk
hi,

thx for the github link; anyway i've already added it to the first post :) unfortunately a changelog or sth similar isn't arising from the sources :( but thx, again.

regarding reiser+btr: i don't know this much of programming, what i did was an (easy) change of existing code, but if it's already present in the source code and one only needs the mount points, this is no problem, i believe :)
i can have a further, deeper look into that, but it would take a while if it's not present and i have to change the code and i will definitively need help. no assurance about that ;)
regarding magldr 1.11: life engineer, i will pm you a version for testing. maybe tomorrow morning, GMT+1?
@ spyros, from where do you know that i have plenty of time, he? :D ;)

hey seadersn,

I have been looking at the compilation of recovery as well, and a thought about drivers came about. Which kernel are you using are using the same one in device/htc/leo, or the one compiled by cedesmith. I think in order to get the reiserfs or btrfs, then all we need to do is compile our own kernel with the mods, and put it in the right place and it should work.

I will give it a test with my kernel this evening

with respect to the initrd and zImage, that's easy to get, You need the following 2 files

out/target/product/leo/kernel
out/target/product/leo/ramdisk-recovery.img

but again this needs testing, unless someone else can confirm this
 

karendar

Senior Member
Aug 9, 2010
2,214
883
Montreal
hi,

thx for the github link; anyway i've already added it to the first post :) unfortunately a changelog or sth similar isn't arising from the sources :( but thx, again.

regarding reiser+btr: i don't know this much of programming, what i did was an (easy) change of existing code, but if it's already present in the source code and one only needs the mount points, this is no problem, i believe :)
i can have a further, deeper look into that, but it would take a while if it's not present and i have to change the code and i will definitively need help. no assurance about that ;)

seadersn, check this out: Post from the desire forums... Looks like ReiserFS might be supported in Clockwork directly. Just need to edit .config:

http://xdaforums.com/showpost.php?p=10488102&postcount=432

Alot of the kernels already have ReiserFS and btrfs, I believe...
 

Top Liked Posts

  • There are no posts matching your filters.
  • 209
    Hi, folks

    ClockworkMod Recovery (<- source).
    "Changelog of ClockworkMod Recovery"

    changes are here for some of the work we have done for support in RM

    changes for the yes/no patch, and anything provided in this thread are here

    If you cannot wait for new builds, then Arifs nightly builds are available here.

    Features:

    • Based on 5.0.2.6 sources
    • Re-coded recovery and leo gits in few places to have the same CWR working for both MAGLDR and cLK
    • Fixed cLK with versioning in cLK to add clk=1.4.0.1 to /proc/cmdline
    • Now require cLK 1.4.0.1, rather than the 1.4 from cedesmith
    • Compiled using official Offmode-Charging Fix by Koush
    • Edited confirmation menu to show one "no" only
    • Re-arranged YES / NO: YES now is on first place
    • ReiserFS and NILFS Support
    • Offmode-Charging with cLK ONLY
    • SD-EXT backup / restore (no matter if Reiser, NILFS, ext 2/3/4)



    You can flash this image easily from within Android; simply copy the file onto your sdcard and run following commands:

    Code:
    $ su
    # flash_image recovery /sdcard/name_of_recovery_file.img

    Maybe the flash_image command is not available on your build; you can find it attached. Copy it into /system/bin folder and run following in terminal emulator:

    Code:
    $ su
    # chmod 777 /system/bin/flash_image

    For cLK:

    • You need android sdk installed and path variable set in windoze to "*androidsdk*/platform-tools" and "*androidsdk*/tools" (alternatively you can copy the .img into the tools folder of android sdk and operate from there)
    • Flash appropiate cLK 1.4.0.1 layout from second post
    • Download the file attached
    • Boot your phone into fastboot mode (hold back key (left arrow) whilst powering on)
    • Open a command line by pressing "windoze key+r" and typing "cmd", followed by enter
    • Navigate to folder, which contains the recovery image
    • Type "fastboot erase recovery" (<- not really necessary; just to make sure), followed by enter
    • Type "fastboot flash recovery name_of_recovery_file.img", followed by enter
    • Type "fastboot reboot" for rebooting your phone
    • Access recovery as described in cedesmiths thread (hold home key whilst powering on)
    • You're done :)

    For MAGLDR 1.13, booting from NAND:

    • Download the file attached
    • Download a partition layout incl. recovery from this thread which fits your ROM you want to use best and unzip it into "C:\recovery" for example
    • Copy over the recovery image file from inside the zip archive into this folder "C:\recovery", delete existing "recovery-raw.img" and rename copied image file to "recovery-raw.img"
    • Flash the recovery and partition layout using "DAF.exe" as usual and described in the thread of raiderx or the ROM provider
    • Boot Recovery with menu point "8. AD Recovery"
    • You're done :)
    Note: For future updates of CWR it's best to set up a fixed boot partition size of 5M and not use the filesize flag in flash.cfg.
    [/list]

    For MAGLDR up to 1.13, booting from SDCard (SD-files version):

    • Download the file attached
    • Extract the files to the root directory of your sdcard
    • Start recovery within MAGLDR with menu point "AD SD"
    • Recovery should start
    • You're done :)

    For both via CWR:

    • Download the *_CWR.zip file onto sdcard
    • Go into recovery by either holding home key in cLK or using the 8. AD to recovery in MAGLDR
    • Note: recovery-partition size of minimum 5MB needed
    • Select Install zip from sdcard
    • Select Choose zip from sdcard
    • Navigate/Select the recovery from the sdcard
    • Select yes to install the recovery
    • reboot into recovery, and hooray, you are in the new recovery
    24
    August 7, 2011
    • Newest sources 4.0.1.4

    June 10, 2011
    • 4.0.0.0 sources
    • Changelog of recovery:
      - added the efs partition to the do not format list
      - also fix up the /sdcard symlink on startup
      - tar nandroid and /data/media support

    June 8, 2011
    • 3.2.0.1 sources
    • Changelog of recovery:
      - Rename format_ignore_partitions to a forbid_format
      - Fix 6 extentedcommands declaration warnings

    June 3, 2011
    • 3.2.0.0 sources
    • Added changes necessary for compiling "one recovery for all"
    • ClockworkmodRecovery now works for MAGLDR and cLK, no extra recovery for each loader
    • Added new cLK 1.4.0.1 partition layouts as attachment
    • Arif is continuing this for unknown time: thank you very much, Arif :)

    April 18, 2011
    • 3.0.2.4 sources; renamed to 3.0.2.5
    • Compiled with Koush's Offmode Charging fix
    • Attention: Filesize is ~ 1MB bigger than previous version due to new Offmode Charge Fix (i believe); it still fits into 5MB Recovery Partition Size
    • SD Version is only working if power or USB is plugged in -.- Working 3.0.2.4 Version here

    April 13, 2011
    • Updated to newer 3.0.2.4 sources; see "changelog" link in first post ;)
    • Full support for REISERFS & NILFS filesystems
    • cLK and MAGLDR will follow
    • Added zip file containing cedesmith's offmodecharging and my edits as "patch" (diff) file
    • Added another flash-method and attached the binary which is necessary

    March 29, 2011
    • Added some cLK_1.4_partition layouts; attached on this post
    • Normal Cache-size Version (usable for most cases):
      1. boot 5M
      2. cache 44MB
      3. recovery 5MB
      4. misc 1MB
      5. system 80-160MB in 10MB steps, 180-400 in 20MB steps
      6. userdata = rest of available NAND
    • Small Cache-size Version (requires initrd.gz which links /cache to userdata partition):
      1. boot 5M
      2. cache 5MB
      3. recovery 5MB
      4. misc 1MB
      5. system 80-160MB in 10MB steps, 180-400 in 20MB steps
      6. userdata = rest of available NAND
    stirkac made an exe installer with these layouts; it installs cLK and the desired layout automatically. You can find it here. Thank him :)

    March 25, 2011
    • Updated to 3.0.2.4 sources


    March 17, 2011
    • Updated to 3.0.1.9 sources
    • cLK was updated to latest patches from cedesmith incl. complete offmode charging support (LED color changing, button press behaviour etc)


    March 15, 2011
    • Backup'n Restore does what it is intended to
    • cLK is running well and was updated to latest patches from cedesmith
    • MAGLDR is running well if restored backups are from same version


    March 14, 2011
    • Second run, needs testing by MAGLDR users regarding full restore (mainly: Boot partition!)
    • cLK is running well


    March 10, 2011
    • Initial release, 3.0.1.4, English only
    • Bug with MAGLDR; removed


    Notes:
    - Backups from a previous version can't be restored with this one. However, backups from this version are fully working.
    - Offmode charging is only possible with cLK; MAGLDR up to 1.13 isn't capable about that at this time, maybe in future releases.
    - MAGLDR Versions are untested by me, here i'll need your feedback, especially regarding restorings from earlier versions (e.g 3.0.1.4 backup restored in 3.0.1.9 = working or not).

    CWM "ChangeLog", but w/o Version No.
    24
    CWR 6.0.2.7

    All,

    I have compiled a new version of Recovery, it's the standard CWR, so I haven't made any modifications yet.


    Let me know how it goes

    I am working to get CM10.1 compiled at some point, at the moment I am hitting some hurdles, but hopefully can get something up soon

    and, I hope everyone's had a good festive period
    18
    nope, it isn't possible for now because of nand vs (e)mmc, as i understood :( my testimonials with ext2/3 in kernel and recovery stuff were unsuccessful, too :(

    i will change first post now to latest 5.0.2.6 version now; and quit the developing of android for hd2 now :) it's enough; RL is catching me and i really need my energy there. i will assist hyperdroid team in future, too, but not that way it was the last three / four months. assisting for this device, which is getting only older, is done for me :(

    have fun @ all :D maybe we will see us again in the sensation or sgs2 or ... section again; but earliest in 5-6 months ;)
    16
    CWR 3.0.2.8

    OK, here is the update as promised

    I have tested the both magldr and clk builds myself, so should work.

    Any problems, let me know