[RECOVERY][CWM] ClockworkMod v6.0.2.7 Touch v14.4.6 | exFAT support (01/11/13)

Search This thread

sk8erwitskil

Senior Member
Apr 11, 2010
1,368
2,635
San Jose
IRC on freenode: #sk8erwitskil

NEW: I have created a script to easily update to the latest version of my recovery.
- Download this file ----> updater.sh (updated to fix typo)
- Put it on your sdcard
- open adb and type:
Code:
su
sh /mnt/sdcard/updater.sh skyrocket
- it will reboot you into recovery
- starting in v14.2.1 it will automatically start installing and reboot when its done

Note: If your sdcard is not mounted on /mnt/sdcard then open the script and change the line that says path=/mnt/sdcard/sk8sUpdater to match your mount point. i.e. ICS users may have to change it to say path=/mnt/emmc/sk8sUpdater

I have ported touch recovery to Clockworkmod 6. I will be making updates to this just like my other touch recovery. I have added a few menu items and tweaks to make it like my CWM5 recovery.

Looking through the cwm code more in depth i have noticed MANY flaws with the code for new(er) phones that use /emmc instead of /sdcard as the main storage. i have now fixed those flaws in v9+.

Here is a video of how it works: --------> YOUTUBE LINK


Flashable zip:
cwm6027touch_v14.4.6_hercules.zip: ---------> DOWNLOAD

Thanks to :
gweedo767 (for creating the original touch recovery)
koush (for creating CWM)
PhilZ (for his amazing improvements and help with applying universal touch code) BIG THANKS!

PREVIOUS VERSIONS:
Code:
v1:
[CODE]initial release

v2:
Code:
- updated to latest version of clockworkmod
- add reboot download option
- add reboot recovery option
- add power off option
- change font size
- add various internal/external sdcard options from cwm 5.5.0.4 touch recovery
- change order of internal/external sdcard so internal comes first on backup/restore/install

v3:
Code:
- add support for phones that sdcard mounts as external_sd
- fix the line below the menu to actually be below the menu
- clean up the "andy the android" picture. (if you make a backup you will see that the picture in the background has been poorly edited. there are bits of black spots around him)
- JellyBean Background

v4:
Code:
- fixed missing slash that was not allowing installs from external sdcard

v5:
Code:
- update to latest version of CWM 6.0.0.8

v6:
Code:
- updated to latest version of CWM 6.0.0.9
- added ability to delete nandroids from recovery (in backup and restore menu)
- changed order of internal/external so external comes first
- fix timestamp creation on backups

v7:
Code:
- updated to latest version of CWM 6.0.1.0
- fixed bug that would not allow backup of /system

v8:
Code:
- update to latest version of CWM 6.0.1.1
- allow customization of backup format (dedupe/tar)
- use minizip tool instead of e2fsck, etc.
- more....

v9:
Code:
- update to latest version CWM 6.0.1.2
- fixed bug where backing up to external wouldnt backup /emmc/.android_secure
- ADDED DUAL LUNFILE SUPPORT! (thanks to topprospect for this!)
   -- what this does is when you mount USB storage you 
       will see both of your sdcards mount at the same time
- various /emmc fixes (recovery now looks for all clockworkmod "." files in /emmc instead of /sdcard)
   - this is useful for people who dont use an external sdcard at all

v10:
Code:
- grabbed latest commits to official CWM 6
- added new extras menu (look in 2nd post for info)
- some other stuff i dont remember

v11:
Code:
- fixed hide nandroid progress bug (it now works)
- added sk8's fix permissions option (logging is disabled so it runs faster and it also clears stale data directories)
- fixed bug where normal fix permissions wouldnt create a log to correct location
- cleaned up some syntax

v12:
Code:
- added darkside wipe/super wipe built in
- added aroma file manager built in
- added ability to backup/restore the /efs partition
- cleaned up oneconfirm/hidenandroidprogess features to be one menu item
- more......

v12.5:
Code:
- fixed bug where darkside cache scripts wouldnt work
- added option to create a custom zip (read 2nd post)

v13:
Code:
- report log gets copied to /emmc instead of /sdcard
- add support for roms without busybox (stock roms) to create a custom rom zip
- add support for openrecoveryscript (read [URL="http://xdaforums.com/showpost.php?p=31093552&postcount=344"]THIS[/URL])
- add support to choose a custom created openrecoveryscript
- use goo-manager to flash roms and create openrecoveryscripts
- now detects where android_secure is automatically
- fix ors-mount.sh to work even if 'sdcard' is in the path
- misc code cleanups.....

v13.1
Code:
- bug fixes
- android_secure fixes

v13.2
Code:
- that pesky android_secure - bugfixes for restoring android_secure

v13.3
Code:
- updated to latest 6.0.1.4
- some bugfixes
- added option to select where android_secure lives (hopefully this is the last time. i promise)

v13.4:
Code:
- updated aroma file manager to latest version

v13.5:
Code:
- add initial support for whole-device encryption (thanks topprospect)

v14:
Code:
- updated to latest CWM 6.0.1.5
- fixed some mtdutils issues
- added a bootanimation changer

v14.1:
Code:
- not released

v14.2:
Code:
- added bootanimation change selection from external sdcard
- added newest aroma filemanager w/ console support (you can use terminal in recovery)
- updated to latest changes of official CWM
- added support for Android 4.2
- zip file now installs updater.sh to your internal sdcard
- updated updater.sh to fix typo

v14.2.1:
Code:
- openrecoveryscript automatically runs if script is found in /cache/recovery/
    - this is good for using my updater.sh or goomanager

v14.3
Code:
- skipping this number to keep in line with my other devices

v14.3.1
Code:
- lots and lots of under the hood improvements
- re-wrote OpenRecoveryScript and efs backup/restore code
   - these work alot better now (thanks so much to PhilZ for his amazing help)
- add option to backup/restore boot.img from sdcard
- now using latest stable kernel
- completely re-wrote the touch code for some improvements
   - now to select you tap anywhere on the screen
- fixed some typos
- made my source code universally compatible with all phones using ICS or greater
- compiling in jellybean base recovery code now
Code:
v14.4
- fixed soft keys (virtual keys on bottom) (credit to PhilZ for this)
- reverted back to swipe to select
- tweaked some features in the extras menu
Code:
v14.4.1
- messed up on the mount points so i fixed them now
- added some buffer to fix ability to accidentally select wrong item
Code:
v14.4.5
- skipped some versions because they were made for other phones
- re-wrote the create custom backup feature to be universal now with all phones/roms (thanks to PhilZ for the help)
- added new settings menu
    - add ability to change timezone
    - added /preload support [B](must go and enable it in misc nandroid settings)[/B]
- add rom name to nandroid names
- more i just cant remember now....
[/CODE]
Current Version:
v14.4.6
- added exFAT support
- some under the hood optimizations

Major update to how touch works now:
UP - swipe finger up on screen
DOWN - swipe finger down on screen
SELECT - swipe finger from left to right
BACK - swipe from right to left

SOURCE: https://github.com/sk8erwitskil/touch_recovery_cm10

This is what the new dedupe format does. This is a direct quote from the original creator of clockworkmod:
Code:
ClockworkMod Recovery now deduplicates files between builds. This results in way smaller backups.
Don't delete /sdcard(or emmc)/clockworkmod/blobs

Overview
I've gotten a few questions about how this works, so I figured I'd make a post on it.

Basically, here's what happens:

The files being backed up are hashed (sha256, not that it matters). Then it checks for a file with the name of the hash in
/sdcard/clockworkmod/blobs

So, if the hash of the file was c5273884b90d490134e7737b29a65405cea0f7bb786ca82c6337ceb24de6f5ed, it looks for /sdcard/clockworkmod/blobs/c5273884b90d490134e7737b29a65405cea0f7bb786ca82c6337ceb24de6f5ed

If the hash file is found, it continues on to the next file. Otherwise, it copies the file to the blobs directory with the file name being the hash.

ROMs and user data, for the most part, do not change too much between builds and backups. So, your APKs, system files, etc, are generally only stored once. This saves a ton of space. Especially between incremental backups.


Some of you may be thinking "well, how do I delete a backup?".
First, never delete the blobs directory. This would actually delete all your backups by rendering them unusable.
Simply delete the usual backup directory, and the next time you run a backup, all the unused hash files will be automatically delete (a process known as garbage collection). The recovery will show "Freeing space..." while this is happening.
 
Last edited:

sk8erwitskil

Senior Member
Apr 11, 2010
1,368
2,635
San Jose
Whats in the extras menu?

- change bootanimation (this lets you select a bootanimation form your internal sdcard. it backs up your current bootanimation to /{internal sdcard}/clockworkmod/ba_backup/. it only backs up the original bootanimation so if you keep changing your bootanimation you will still only have your original one in ba_backup.)

- enable/disable one confirm (this makes it so you only have to scroll through one confirm selection when installing something instead of having to go through 10 of them to click yes)

- hide/show backup & restore progress (this makes it so the progress bar when you backup/restore doesnt show up and makes backups/restores a bit faster since it doesnt have to show you the progress and files its backing up)

- select android_secure on internal/external (use this to select where you have .android_secure. default is internal, so if you have it on external make sure to choose this once to set it up)

- aroma file manager (file explorer)

- create custom zip (this will create a custom rom from the currently installed files you have on your phone. it takes your /system partition and /boot partition and makes them into a zip file ready to be flashed. the end product will be in clockworkmod/custom_rom/. this has recently been fixed to work on all phones/roms

- choose custom openrecoveryscript (read THIS)

- recovery info (shows the version of recovery and the build date)

- Special Backup & Restore (backup and restore your kernel/boot and /misc partitions)

- Misc Nandroid Settings (change time zone, turn preload support on/off (default is off), enable md5 checking)
 
Last edited:

phordych05

Senior Member
Jul 13, 2010
801
43
philly
when i go into cwm it says read only file system...?...how do i fix that...cause my system is monted and my sd card is mounted...pleasse help...thanks in advance... ;)
 

noodles2224

Senior Member
Jan 10, 2009
1,797
219
37
if your .android_secure folder lives on your external sdcard then download this file -----------> [url said:
http://d-h.st/PdV[/url]

I do see that folder in my external, micro sd right?? So, i just need this file only?? Its the recorvery itself..??


Sent from my SGH-T989
 

sk8erwitskil

Senior Member
Apr 11, 2010
1,368
2,635
San Jose
when i go into cwm it says read only file system...?...how do i fix that...cause my system is monted and my sd card is mounted...pleasse help...thanks in advance... ;)

can you please explain more? what are you trying to do when it says read only file system? are you trying to adb something to your system partition? you need to remount it as rw before you can put something there. thats always the case.

I do see that folder in my external, micro sd right?? So, i just need this file only?? Its the recorvery itself..??


Sent from my SGH-T989

yes if you have .android_secure in /sdcard then download the secondary one :)
 

Gamesoul Master

Senior Member
Aug 26, 2010
682
177
I hate to be "that guy" who asks this question, but...

Will this play nice with installing the various ROM's for this phone? Although I have never personally had a problem with installing any ROM's on the various recoveries, people always report problems with certain combinations.
 

scribbles92

Senior Member
Apr 30, 2011
133
48
Las Vegas
I downloaded this last night and used it right away... This takes waaaay too long to do a backup. Close to 15 mins... too long for me :(
 

noodles2224

Senior Member
Jan 10, 2009
1,797
219
37
can you please explain more? what are you trying to do when it says read only file system? are you trying to adb something to your system partition? you need to remount it as rw before you can put something there. thats always the case.



yes if you have .android_secure in /sdcard then download the secondary one :)

Well i have it in /sdcard/external_sd not just /sdcard. Still download the second one right? Sorry but with this samsung internal and external, sometimes just saying sdcard is a little confusing.. :)


Sent from my SGH-T989
 

sk8erwitskil

Senior Member
Apr 11, 2010
1,368
2,635
San Jose
I downloaded this last night and used it right away... This takes waaaay too long to do a backup. Close to 15 mins... too long for me :(

thats already been talked about. the first backup takes longer because of the dedupe format. incremental backups are much quicker. do a google search for koush dedupe clockworkmod 6 and youll see. i dont have the energy to explain it again.

Well i have it in /sdcard/external_sd not just /sdcard. Still download the second one right? Sorry but with this samsung internal and external, sometimes just saying sdcard is a little confusing.. :)


Sent from my SGH-T989

correct. because /sdcard/external_sd is how your OS mounts it. but in recovery it will be mounted as /sdcard. for samsung devices the stock way to mount storage is: internal = /emmc, external = /sdcard. depending on what rom you use though the developer of that rom may change the way that the OS mounts it because he prefers a different way. but in recovery i set it to be internal = /emmc, external = /sdcard
 

scribbles92

Senior Member
Apr 30, 2011
133
48
Las Vegas
thats already been talked about. the first backup takes longer because of the dedupe format. incremental backups are much quicker. do a google search for koush dedupe clockworkmod 6 and youll see. i dont have the energy to explain it again.

Oh ok, thanks sk8er... I was looking for another recovery and hadn't read up on it so... maybe I will give this another shot.:eek: (I'm actually coming from your other recovery -CWMR 5.5.0.4)
 
Last edited:

suaverc118

Senior Member
Mar 19, 2012
7,775
2,332
thats already been talked about. the first backup takes longer because of the dedupe format. incremental backups are much quicker. do a google search for koush dedupe clockworkmod 6 and youll see. i dont have the energy to explain it again.



correct. because /sdcard/external_sd is how your OS mounts it. but in recovery it will be mounted as /sdcard. for samsung devices the stock way to mount storage is: internal = /emmc, external = /sdcard. depending on what rom you use though the developer of that rom may change the way that the OS mounts it because he prefers a different way. but in recovery i set it to be internal = /emmc, external = /sdcard

I hate to ask this but how do I know if it's located there or not?

Sent from my SAMSUNG-SGH-T989 using xda premium
 

Top Liked Posts

  • There are no posts matching your filters.
  • 44
    IRC on freenode: #sk8erwitskil

    NEW: I have created a script to easily update to the latest version of my recovery.
    - Download this file ----> updater.sh (updated to fix typo)
    - Put it on your sdcard
    - open adb and type:
    Code:
    su
    sh /mnt/sdcard/updater.sh skyrocket
    - it will reboot you into recovery
    - starting in v14.2.1 it will automatically start installing and reboot when its done

    Note: If your sdcard is not mounted on /mnt/sdcard then open the script and change the line that says path=/mnt/sdcard/sk8sUpdater to match your mount point. i.e. ICS users may have to change it to say path=/mnt/emmc/sk8sUpdater

    I have ported touch recovery to Clockworkmod 6. I will be making updates to this just like my other touch recovery. I have added a few menu items and tweaks to make it like my CWM5 recovery.

    Looking through the cwm code more in depth i have noticed MANY flaws with the code for new(er) phones that use /emmc instead of /sdcard as the main storage. i have now fixed those flaws in v9+.

    Here is a video of how it works: --------> YOUTUBE LINK


    Flashable zip:
    cwm6027touch_v14.4.6_hercules.zip: ---------> DOWNLOAD

    Thanks to :
    gweedo767 (for creating the original touch recovery)
    koush (for creating CWM)
    PhilZ (for his amazing improvements and help with applying universal touch code) BIG THANKS!

    PREVIOUS VERSIONS:
    Code:
    v1:
    [CODE]initial release

    v2:
    Code:
    - updated to latest version of clockworkmod
    - add reboot download option
    - add reboot recovery option
    - add power off option
    - change font size
    - add various internal/external sdcard options from cwm 5.5.0.4 touch recovery
    - change order of internal/external sdcard so internal comes first on backup/restore/install

    v3:
    Code:
    - add support for phones that sdcard mounts as external_sd
    - fix the line below the menu to actually be below the menu
    - clean up the "andy the android" picture. (if you make a backup you will see that the picture in the background has been poorly edited. there are bits of black spots around him)
    - JellyBean Background

    v4:
    Code:
    - fixed missing slash that was not allowing installs from external sdcard

    v5:
    Code:
    - update to latest version of CWM 6.0.0.8

    v6:
    Code:
    - updated to latest version of CWM 6.0.0.9
    - added ability to delete nandroids from recovery (in backup and restore menu)
    - changed order of internal/external so external comes first
    - fix timestamp creation on backups

    v7:
    Code:
    - updated to latest version of CWM 6.0.1.0
    - fixed bug that would not allow backup of /system

    v8:
    Code:
    - update to latest version of CWM 6.0.1.1
    - allow customization of backup format (dedupe/tar)
    - use minizip tool instead of e2fsck, etc.
    - more....

    v9:
    Code:
    - update to latest version CWM 6.0.1.2
    - fixed bug where backing up to external wouldnt backup /emmc/.android_secure
    - ADDED DUAL LUNFILE SUPPORT! (thanks to topprospect for this!)
       -- what this does is when you mount USB storage you 
           will see both of your sdcards mount at the same time
    - various /emmc fixes (recovery now looks for all clockworkmod "." files in /emmc instead of /sdcard)
       - this is useful for people who dont use an external sdcard at all

    v10:
    Code:
    - grabbed latest commits to official CWM 6
    - added new extras menu (look in 2nd post for info)
    - some other stuff i dont remember

    v11:
    Code:
    - fixed hide nandroid progress bug (it now works)
    - added sk8's fix permissions option (logging is disabled so it runs faster and it also clears stale data directories)
    - fixed bug where normal fix permissions wouldnt create a log to correct location
    - cleaned up some syntax

    v12:
    Code:
    - added darkside wipe/super wipe built in
    - added aroma file manager built in
    - added ability to backup/restore the /efs partition
    - cleaned up oneconfirm/hidenandroidprogess features to be one menu item
    - more......

    v12.5:
    Code:
    - fixed bug where darkside cache scripts wouldnt work
    - added option to create a custom zip (read 2nd post)

    v13:
    Code:
    - report log gets copied to /emmc instead of /sdcard
    - add support for roms without busybox (stock roms) to create a custom rom zip
    - add support for openrecoveryscript (read [URL="http://xdaforums.com/showpost.php?p=31093552&postcount=344"]THIS[/URL])
    - add support to choose a custom created openrecoveryscript
    - use goo-manager to flash roms and create openrecoveryscripts
    - now detects where android_secure is automatically
    - fix ors-mount.sh to work even if 'sdcard' is in the path
    - misc code cleanups.....

    v13.1
    Code:
    - bug fixes
    - android_secure fixes

    v13.2
    Code:
    - that pesky android_secure - bugfixes for restoring android_secure

    v13.3
    Code:
    - updated to latest 6.0.1.4
    - some bugfixes
    - added option to select where android_secure lives (hopefully this is the last time. i promise)

    v13.4:
    Code:
    - updated aroma file manager to latest version

    v13.5:
    Code:
    - add initial support for whole-device encryption (thanks topprospect)

    v14:
    Code:
    - updated to latest CWM 6.0.1.5
    - fixed some mtdutils issues
    - added a bootanimation changer

    v14.1:
    Code:
    - not released

    v14.2:
    Code:
    - added bootanimation change selection from external sdcard
    - added newest aroma filemanager w/ console support (you can use terminal in recovery)
    - updated to latest changes of official CWM
    - added support for Android 4.2
    - zip file now installs updater.sh to your internal sdcard
    - updated updater.sh to fix typo

    v14.2.1:
    Code:
    - openrecoveryscript automatically runs if script is found in /cache/recovery/
        - this is good for using my updater.sh or goomanager

    v14.3
    Code:
    - skipping this number to keep in line with my other devices

    v14.3.1
    Code:
    - lots and lots of under the hood improvements
    - re-wrote OpenRecoveryScript and efs backup/restore code
       - these work alot better now (thanks so much to PhilZ for his amazing help)
    - add option to backup/restore boot.img from sdcard
    - now using latest stable kernel
    - completely re-wrote the touch code for some improvements
       - now to select you tap anywhere on the screen
    - fixed some typos
    - made my source code universally compatible with all phones using ICS or greater
    - compiling in jellybean base recovery code now
    Code:
    v14.4
    - fixed soft keys (virtual keys on bottom) (credit to PhilZ for this)
    - reverted back to swipe to select
    - tweaked some features in the extras menu
    Code:
    v14.4.1
    - messed up on the mount points so i fixed them now
    - added some buffer to fix ability to accidentally select wrong item
    Code:
    v14.4.5
    - skipped some versions because they were made for other phones
    - re-wrote the create custom backup feature to be universal now with all phones/roms (thanks to PhilZ for the help)
    - added new settings menu
        - add ability to change timezone
        - added /preload support [B](must go and enable it in misc nandroid settings)[/B]
    - add rom name to nandroid names
    - more i just cant remember now....
    [/CODE]
    Current Version:
    v14.4.6
    - added exFAT support
    - some under the hood optimizations

    Major update to how touch works now:
    UP - swipe finger up on screen
    DOWN - swipe finger down on screen
    SELECT - swipe finger from left to right
    BACK - swipe from right to left

    SOURCE: https://github.com/sk8erwitskil/touch_recovery_cm10

    This is what the new dedupe format does. This is a direct quote from the original creator of clockworkmod:
    Code:
    ClockworkMod Recovery now deduplicates files between builds. This results in way smaller backups.
    Don't delete /sdcard(or emmc)/clockworkmod/blobs
    
    Overview
    I've gotten a few questions about how this works, so I figured I'd make a post on it.
    
    Basically, here's what happens:
    
    The files being backed up are hashed (sha256, not that it matters). Then it checks for a file with the name of the hash in
    /sdcard/clockworkmod/blobs
    
    So, if the hash of the file was c5273884b90d490134e7737b29a65405cea0f7bb786ca82c6337ceb24de6f5ed, it looks for /sdcard/clockworkmod/blobs/c5273884b90d490134e7737b29a65405cea0f7bb786ca82c6337ceb24de6f5ed
    
    If the hash file is found, it continues on to the next file. Otherwise, it copies the file to the blobs directory with the file name being the hash.
    
    ROMs and user data, for the most part, do not change too much between builds and backups. So, your APKs, system files, etc, are generally only stored once. This saves a ton of space. Especially between incremental backups.
    
    
    Some of you may be thinking "well, how do I delete a backup?".
    First, never delete the blobs directory. This would actually delete all your backups by rendering them unusable.
    Simply delete the usual backup directory, and the next time you run a backup, all the unused hash files will be automatically delete (a process known as garbage collection). The recovery will show "Freeing space..." while this is happening.
    12
    Whats in the extras menu?

    - change bootanimation (this lets you select a bootanimation form your internal sdcard. it backs up your current bootanimation to /{internal sdcard}/clockworkmod/ba_backup/. it only backs up the original bootanimation so if you keep changing your bootanimation you will still only have your original one in ba_backup.)

    - enable/disable one confirm (this makes it so you only have to scroll through one confirm selection when installing something instead of having to go through 10 of them to click yes)

    - hide/show backup & restore progress (this makes it so the progress bar when you backup/restore doesnt show up and makes backups/restores a bit faster since it doesnt have to show you the progress and files its backing up)

    - select android_secure on internal/external (use this to select where you have .android_secure. default is internal, so if you have it on external make sure to choose this once to set it up)

    - aroma file manager (file explorer)

    - create custom zip (this will create a custom rom from the currently installed files you have on your phone. it takes your /system partition and /boot partition and makes them into a zip file ready to be flashed. the end product will be in clockworkmod/custom_rom/. this has recently been fixed to work on all phones/roms

    - choose custom openrecoveryscript (read THIS)

    - recovery info (shows the version of recovery and the build date)

    - Special Backup & Restore (backup and restore your kernel/boot and /misc partitions)

    - Misc Nandroid Settings (change time zone, turn preload support on/off (default is off), enable md5 checking)
    6
    updated to accommodate android 4.2 storage settings
    5
    uploaded newest version. lots of new features
    4
    new version should fix android_secure issues