08-12-2012 05:00 PM
276 123 ...
tools
  1. drewwalton19216801's Avatar
    Team Hydro presents....

    CWMT Recovery v5.0.2.7 for LG Optimus S

    This thread is still around for historical reasons (and nostalgia). The most up-to-date version of CWMT Recovery is Cannibal Open Touch. Please find Cannibal Open Touch in the forum for your specific device!

    Special Info

    1) CWMT Recovery can now flash both Edify-based and Amend-based flashable ZIPs. What does this mean for you? It means you can now flash literally anything (as long as what you're flashing is for the Optimus S)!

    2) Radio.img flashing has been disabled (read: should be disabled). This hasn't been thoroughly tested, but all of you should know by now to NEVER flash OTA updates with a custom recovery.

    3) I have removed the "wipe battery stats" menu item from the Advanced menu and will not be re-enabling it no matter how much people complain. According to Dianne Hackborn, wiping the battery stats does absolutely nothing to your battery life.

    4) Starting with TH5, CWM Recovery (now CWMT Recovery now has touch controls! In order: Back, Down, Up, Select. The physical buttons still work as expected if you don't want to use the touch controls.


    Flashing Instructions

    1) Make sure USB Debugging is ON and that you have ADB access
    2) Download the CWMT Recovery v5.0.2.7-th8.1 image
    3) Place the recovery image on your SD Card.
    4) Fire up an ADB shell
    5) Make sure you are in a root shell. If you are not, execute the "su" command now.
    6) Execute "flash_image recovery /path/to/recovery.img" (replace /path/to/recovery.img with the ACTUAL path to the recovery image)
    7) Reboot to recovery mode
    8) PROFIT!


    Screenshots




    Download CWMT Recovery v5.0.2.7-th8.1

    Warning:
    Due to major core changes in the Nandroid software, any Nandroid backup made with CWMT Recovery 5.0.2.7-th7 will not be able to be restored with 5.0.2.7-th8 or above. Please make a fresh backup immediately after flashing 5.0.2.7-th8 or above. Xionia backups should be unaffected.

    By clicking "I Agree" below you agree that you are flashing this recovery image at your own risk. Neither myself, Team Hydro, nor anyone but yourself are responsible for any problems that may occur before, during or after flashing this recovery image. You also agree that this recovery image is to be flashed ONLY on the LG Optimus S, and not any of the other LG Optimus variants.

    I Agree


    Known Issues

    1) Touch control surfaces extend upwards to the top of the screen.
    This is intended behavior, it's called being fat-finger friendly


    Changelog

    v5.0.2.7-th8.1: Build.prop fixes (changed thunderc_LS670 to thunderc to allow installation of Cold as Ice (and possibly other CM-based ROMS).
    v5.0.2.7-th8: Amend-based flashable ZIPs are now supported. Nandroid now no longer supports tar backups or restores (they were causing strange issues), and nandroid itself has been rolled back to the same version of nandroid that is found in Xionia CWMA.
    v5.0.2.7-th7: Text overlapping the touch controls no longer happens, thanks to sblood86's awesome investigative skillz. Also, the corrupted nandroid backup issue should be resolved as we are now forcing TAR backups for partitions.
    v5.0.2.7-th6: UI update, thanks sblood86
    v5.0.2.7-th5: Skipped th4, first pass at touch controls!
    v5.0.2.7-th3: Removed "wipe battery stats" option from advanced menu
    v5.0.2.7-th2: Added "wipe system/data/cache" option to main menu
    v5.0.2.7-th1: Initial release




    Special Thanks
    Koush
    The CyanogenMod Team
    All of Team Hydro
    Cory Streater
    Jerry Hildenbrand
    AndroidCentral
    Dooderbutt
    Okotte Nakama
    Team Utter Chaos
    sblood86
    01-12-2012 01:38 PM
  2. CaMelGuY1337's Avatar
    Nice work sir, my buddies Optimus will thank you.

    Sent from the greatest HTC EVO 4G ever made!!!
    01-12-2012 01:48 PM
  3. bblaze's Avatar
    How does this differ from Zefie's CWM recovery?
    01-12-2012 01:53 PM
  4. drewwalton19216801's Avatar
    How does this differ from Zefie's CWM recovery?
    Flash it and find out for yourself. There's not a lot of difference, but it's newer and based on the very latest Gingerbread ClockworkMod source.

    Oh and it's basically official ClockworkMod (though unofficial since it's a port and NOT supported by Koush).
    01-12-2012 02:00 PM
  5. ens04's Avatar
    would previous backups with xionia recovery still wiil work if I restore with this new cwm recovery?
    01-12-2012 02:19 PM
  6. drewwalton19216801's Avatar
    would previous backups with xionia recovery still wiil work if I restore with this new cwm recovery?
    They absolutely will, as long as they're not corrupted.
    aaronrw, ens04 and PatrickAkridge like this.
    01-12-2012 02:44 PM
  7. Sdude1200's Avatar
    Will it still work if I use terminal on my phone instead of on a computer?

    Sent from Your Mother
    Kisersosay likes this.
    01-12-2012 03:36 PM
  8. therenegadenail's Avatar
    soooo... any other ways of doing this besides adb? :3 as i could never figure out how to get that rolling and i relied on that auto zvh tool at the top

    any possibility of a similar tool?
    01-12-2012 03:49 PM
  9. basketthis's Avatar
    ooooooooooooooooooooooooo............ aaaaaaaaaaaaaaaaaaaaaaaaaaaaa.........!

    Great work guys! Once again...
    01-12-2012 06:26 PM
  10. jcwxguy's Avatar
    Awesome
    01-12-2012 06:31 PM
  11. hlxanthus's Avatar
    Very nice !!
    01-12-2012 06:37 PM
  12. Xmb941's Avatar
    Is There Any Thing We Have To Do To Flash This? Like What Are The Commands?
    ikeywatson likes this.
    01-12-2012 06:47 PM
  13. jcwxguy's Avatar
    as stated in OP, open adb shell, and get superuser permissions (type su if showing $ then should show # now
    # flash_image recovery /sdcard/CWMRecovery_5.0.2.7-th3_thunderc.img


    (if placed on root of sd card), do not type in the #
    01-12-2012 06:58 PM
  14. Xmb941's Avatar
    as stated in OP, open adb shell, and get superuser permissions (type su if showing $ then should show # now
    # flash_image recovery /sdcard/CWMRecovery_5.0.2.7-th1_thunderc.img


    (if placed on root of sd card), do not type in the #
    Thank You
    01-12-2012 07:03 PM
  15. xcpefrmreality's Avatar
    Joeykrims flash image GUI says that its compatable with the optimus s, do you think its safe to flash this recovery with it?

    Edit...actually, nvm, I have an extra optimus s. I'll try it and report back with results.

    Edti2... no dice. It won't let me flash, it says I need the word recovery in the file name and that word is obviously there, I even tried renaming it to recovery.img but still no go...guess I'll do it the old fashioned way.
    Btw.. thanks for this drew and team
    01-12-2012 09:11 PM
  16. sfhub's Avatar
    Joeykrims flash image GUI says that its compatable with the optimus s, do you think its safe to flash this recovery with it?

    Edit...actually, nvm, I have an extra optimus s. I'll try it and report back with results.

    Edti2... no dice. It won't let me flash, it says I need the word recovery in the file name and that word is obviously there, I even tried renaming it to recovery.img but still no go...guess I'll do it the old fashioned way.
    Btw.. thanks for this drew and team
    If you put recovery.img in the copy2sd\000root directory of this package it will flash it for you.

    [How-To] Install Stock/Custom Recovery - 100% automated
    javascriptvoid likes this.
    01-12-2012 10:29 PM
  17. harsho1's Avatar
    Releasing this just gets me MORE excited for Hydro-rom, if that is possible!
    01-12-2012 10:37 PM
  18. xcpefrmreality's Avatar
    So I tried it through adb shell and I get the error "flash_image: command not found", I don't know why. So I tried the flash image GUI again with a "r" instead of "R" and it flashed fine. Booted into CWM.
    01-12-2012 10:39 PM
  19. sblood86's Avatar
    Flashed perfect using directions in the OP and appears to be working just like it should. Nice work as always Drew.
    01-13-2012 12:11 AM
  20. drewwalton19216801's Avatar
    CWM Recovery v5.0.2.7-th2 released:

    New Stuff:

    In TH2 I added a "wipe system/data/cache" option. This is now the replacement for the DebugFormat_SYSTEM.zip that you previously had to flash before flashing another Gingerbread ROM.

    Hit up the first post for the download.
    sblood86, epidenimus and Thraeryn like this.
    01-13-2012 01:01 AM
  21. jstntp's Avatar
    If you get this error: "flash_image: command not found"

    Then you need to do this from adb shell:

    Code:
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock5 /system
    cat /sdcard/flash_image > /system/bin/flash_image
    chmod 755 /system/bin/flash_image
    mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak   -- (If you get an error here, it's ok keep going)
    mount -o remount,ro -t yaffs2 /dev/block/mtdblock5 /system
    flash_image recovery /path/to/recovery.img
    reboot recovery
    01-13-2012 01:46 AM
  22. drewwalton19216801's Avatar
    Just so everyone knows, we WILL be removing the "Wipe battery stats" option in the next release (TH3). This is non-negotiable. See this post by Dianne Hackborn for more info.

    If you don't know who Dianne Hackborn is, you're missing some important stuff.
    xcpefrmreality likes this.
    01-13-2012 02:14 AM
  23. epidenimus's Avatar
    I added a "wipe system/data/cache" option. This is now the replacement for the DebugFormat_SYSTEM.zip that you previously had to flash before flashing another Gingerbread ROM.
    Nice feature add! I love removing hanging files from my SD card root directory.

    One small suggestion for future release: maybe use commas to separate 'system, data & cache'? The way it appears presently is confusing because it looks to wipe a specific directory that does not exist. I'm not sure everyone would get what that option does if they didn't read your page 2 post, which will likely get buried in time.
    01-13-2012 03:31 AM
  24. drewwalton19216801's Avatar
    Nice feature add! I love removing hanging files from my SD card root directory.

    One small suggestion for future release: maybe use commas to separate 'system, data & cache'? The way it appears presently is confusing because it looks to wipe a specific directory that does not exist. I'm not sure everyone would get what that option does if they didn't read your page 2 post, which will likely get buried in time.
    Good call. I'll definitely change that in TH4.
    01-13-2012 04:42 AM
  25. therenegadenail's Avatar
    If you put recovery.img in the copy2sd\000root directory of this package it will flash it for you.

    [How-To] Install Stock/Custom Recovery - 100% automated
    So you're telling me that I can put this in that folder and run it and it will flash the new recovery no problem? This sounds easier than adb, anything possibly going wrong?
    01-13-2012 07:53 AM
276 123 ...
LINK TO POST COPIED TO CLIPBOARD