[RECOVERY][5/6/11] ClockworkMod Recovery for X10mini / X8 - 3.2.0.0-r3

Search This thread

nobodyAtall

Recognized Developer
Jan 16, 2008
1,558
19,550
This is ClockworkMod Recovery (v.3.2.0.0) ported to work on X10mini / X10mini pro / X8

Introduction

ClockworkMod Recovery is the default recovery option by the CyanogenMod, it has several additional features over plain old xRecovery and uses Edify exclusively:

CyanogenMod said:
Amend scripting (update-script) is no longer supported
Amend scripting was deprecated by Google in Android 1.5.
It was necessary to remove it when upgrading to the ClockworkMod 3.0 Gingerbread based recovery.
Please switch to Edify scripting (updater-script and update-binary) to create working update zip packages.

Despite the non-support for Amend scripts, it's the future of Recoveries and cooks should get used to this kind of scripting when making their zips.

Update:

CWM 3.2.0.0-r3 introduces two new features that validate and restore the currently installed recovery and it's deps before reboot / shutdown. If the current recovery doesn't appear to be correct, it will prompt for a recovery restore option that at least guarantees that the phone can boot into recovery. This is NOT:

- a way to make any ROM that you installed boot
- an idiot proof mechanism (e.g. if you are prompted and omit restoring, you are on your own)


Features

  • ADB root shell
  • reboot system now
  • apply update from sdcard
  • wipe data / factory reset
  • wipe cache partition
  • install zip from sdcard
  • backup and restore
    • backup (also backs up ext partition and installed apps to sdcard)
    • restore (also restores ext partition and installed apps to sdcard)
    • restore from xRecovery (Use this in case you want to restore backups done with xRecovery)
    • advanced restore
  • mounts and storage
    • mount / unmount /cache
    • mount / unmount /data
    • mount / unmount /sdcard
    • mount / unmount /system
    • mount / unmount /sd-ext
    • mount / unmount /cache
    • format /cache
    • format /data
    • format /sdcard
    • format /system
    • format /sd-ext
    • mount USB storage
  • advanced
    • reboot recovery
    • wipe Dalvik Cache
    • wipe Battery Stats
    • report Error
    • key Test
    • partition SD Card
      • Ext Size (formatting as ext4)
      • Swap Size (Set this to 0)
      • Rest Size is for vfat
    • fix permissions
    • validate recovery
    • restore recovery
  • power off



Usage

When booting your phone and when the 'Sony Ericsson' letters appear, press and release continuously the 'back' button.
Once you are in the CW recovery, use the volume keys to navigate upwards / downwards, the 'home' or camera button key to select, the 'back' key to go back.



Requirements

  • Stock 2.1 ROM
  • Busybox from the market
  • Root



Installation

EITHER:
If you have xRecovery: Flash the CWM recovery Amend zip
OR:
If you have a previous version of CWM Recovery: Flash the CWM recovery Edify zip
OR:
If you don't have a recovery installed, using Root explorer: manually extract any of the above CWM recovery zips and copy the contents of the system folder (system/bin and system/xbin) to /system, then give 755 permissions to those files, especially to /system/bin/chargemon, or you'll get bootloop.



Notes to everyone

Do NOT use this recovery if you are not in Stock 2.1 firmware. If you have a custom ROM, your cook should incorporate this to his ROM first



Notes to Devs/Cooks

To incorporate this to your ROM, extend the chargemon file to contain the needed part required in order to boot your ROM, the rest of the files need no changes.
Switch to Edify when giving updates for your ROMs. Search xda and google for that, there are plenty of resources out there. E.g: http://forum.xda-developers.com/showthread.php?t=936175
Also use the attached update-binary which is modified and tested to work correctly with this recovery.



Credits:
DaRk_dOg for his testing / support
koushd for writing the piece of software the first place
zdzihu for his rm -rf tip ;)
Cyanogen for the obvious reasons...



Disclaimer:
I can't be held responsible if this Mod bricks your device or makes it explode in your hands! Use it at your own risk!
 

Attachments

  • update-binary.zip
    122.6 KB · Views: 10,050
  • CWM-recovery-3.2.0.0-r3-x10mini-Amend.zip
    1.8 MB · Views: 93,836
  • CWM-recovery-3.2.0.0-r3-x10mini-Edify.zip
    1.9 MB · Views: 43,551
Last edited:

parthabhatta

Senior Member
Mar 29, 2008
1,373
241
Calcutta
LG G8X ThinQ
Nobody.... I have one question. Though my phone gets stuck up in SE screen the CWM recovery works fine and shows up on repeated pressing of back button. Now once you upload the rectified ".zip" file can I not reflash it with CWM recovery and boot my device normally instead of going through the entire process of updating through SEUS?
 

Theshawty

Senior Member
Feb 13, 2011
16,644
4,750
This seems great as with all your work. May I bother you enough to make it work with MiniCM6, as the one you posted effed up my cellphone?

Keep up the great work, nAa :D
 
  • Like
Reactions: dabeez98

nobodyAtall

Recognized Developer
Jan 16, 2008
1,558
19,550
Nobody.... I have one question. Though my phone gets stuck up in SE screen the CWM recovery works fine and shows up on repeated pressing of back button. Now once you upload the rectified ".zip" file can I not reflash it with CWM recovery and boot my device normally instead of going through the entire process of updating through SEUS?
Hi,

This thread is for Stock 2.1 ROMs only.
At the state you are, you need to reflash with SEUS and restore with xrecovery.
 

F3niX

Senior Member
Jul 9, 2010
736
326
Hyderabad
Good Thing I reverted Back to 2.1 ..
One question, If we use xRec and Flash it, will xRec be removed?
 

ste71m

Senior Member
Sep 3, 2010
255
70
Is backward compatible with xRecovery? I mean themes updates and Backups made for xRecovery will work?

Sent from my X10mini using XDA App
 

kimb0

Senior Member
Mar 12, 2008
123
5
When want to replace my recovery i get:

E:Can't chown/mod /system/bin/charger
(No such file or directory)
E:Failure at line 4:
set_perm 0 0 0755 SYSTEM:bin/charger

:(

Edit: well it seemed like it worked, well recovery is orange now

Now it is stuck on SE screen, i dit revert back to stock 2.1

nobodyAtall please help
 
Last edited:

freebordjunky

Senior Member
Feb 20, 2011
1,240
219
stuttgart
a couple of questions,

1. i did a backup with the new cwm so the old backups from xrecovery wont work so can i delete them?
and
what is key test?

X10mini miniCM7 2.0.1 using XDA Premium App
 
  • Like
Reactions: martiii

D4rKn3sSyS

Inactive Recognized Developer
Jan 12, 2011
3,800
16,278
Medellín
This is really awesome, porting to mini pro right now! Thanks nAa, you're the man ;)
cheers, d4.

EDIT:
@nAa Still some wrong on sizes, hope you can fix it, or upload sources, but awesome work, ported to mini pro, ofc all crdtis for you
EDIT2:
Can you please upload a modded version that says Mini pro? Thanks :)
 
Last edited:

russoleonida

Senior Member
Dec 4, 2010
243
7
Italy
I flashed the file zip, but the phone forces close..it doesn't work..i repaired the software with SE

Sent from my X10mini using XDA Premium App
 

DJxSpeedy

Senior Member
Nov 15, 2008
375
49
djxspeedy.blogspot.com
Nokia 4.2
the last line when making backup or something others is half cutted by backup is this : Backing up System

the words shows me like this (example from PC) :
qm4g27d4msg.jpg


seams it isnt fixed on right resolution

*edit*
Great Port ;) thx to all for make this happen :D

also, "fix permissions" does not work. the phone stops working. only battery off can make it run again
 

D4rKn3sSyS

Inactive Recognized Developer
Jan 12, 2011
3,800
16,278
Medellín
the last line when making backup or something others is half cutted by backup is this : Backing up System

the words shows me like this (example from PC) :
qm4g27d4msg.jpg


seams it isnt fixed on right resolution

*edit*
Great Port ;) thx to all for make this happen :D

Yeah, same here, btw, tried to make a edify script for flashing old xRecovery, and it gives me error ?, I used chumby's amend2edify tool :)
 
  • Like
Reactions: jodhaniohm97

Top Liked Posts

  • There are no posts matching your filters.
  • 79
    This is ClockworkMod Recovery (v.3.2.0.0) ported to work on X10mini / X10mini pro / X8

    Introduction

    ClockworkMod Recovery is the default recovery option by the CyanogenMod, it has several additional features over plain old xRecovery and uses Edify exclusively:

    CyanogenMod said:
    Amend scripting (update-script) is no longer supported
    Amend scripting was deprecated by Google in Android 1.5.
    It was necessary to remove it when upgrading to the ClockworkMod 3.0 Gingerbread based recovery.
    Please switch to Edify scripting (updater-script and update-binary) to create working update zip packages.

    Despite the non-support for Amend scripts, it's the future of Recoveries and cooks should get used to this kind of scripting when making their zips.

    Update:

    CWM 3.2.0.0-r3 introduces two new features that validate and restore the currently installed recovery and it's deps before reboot / shutdown. If the current recovery doesn't appear to be correct, it will prompt for a recovery restore option that at least guarantees that the phone can boot into recovery. This is NOT:

    - a way to make any ROM that you installed boot
    - an idiot proof mechanism (e.g. if you are prompted and omit restoring, you are on your own)


    Features

    • ADB root shell
    • reboot system now
    • apply update from sdcard
    • wipe data / factory reset
    • wipe cache partition
    • install zip from sdcard
    • backup and restore
      • backup (also backs up ext partition and installed apps to sdcard)
      • restore (also restores ext partition and installed apps to sdcard)
      • restore from xRecovery (Use this in case you want to restore backups done with xRecovery)
      • advanced restore
    • mounts and storage
      • mount / unmount /cache
      • mount / unmount /data
      • mount / unmount /sdcard
      • mount / unmount /system
      • mount / unmount /sd-ext
      • mount / unmount /cache
      • format /cache
      • format /data
      • format /sdcard
      • format /system
      • format /sd-ext
      • mount USB storage
    • advanced
      • reboot recovery
      • wipe Dalvik Cache
      • wipe Battery Stats
      • report Error
      • key Test
      • partition SD Card
        • Ext Size (formatting as ext4)
        • Swap Size (Set this to 0)
        • Rest Size is for vfat
      • fix permissions
      • validate recovery
      • restore recovery
    • power off



    Usage

    When booting your phone and when the 'Sony Ericsson' letters appear, press and release continuously the 'back' button.
    Once you are in the CW recovery, use the volume keys to navigate upwards / downwards, the 'home' or camera button key to select, the 'back' key to go back.



    Requirements

    • Stock 2.1 ROM
    • Busybox from the market
    • Root



    Installation

    EITHER:
    If you have xRecovery: Flash the CWM recovery Amend zip
    OR:
    If you have a previous version of CWM Recovery: Flash the CWM recovery Edify zip
    OR:
    If you don't have a recovery installed, using Root explorer: manually extract any of the above CWM recovery zips and copy the contents of the system folder (system/bin and system/xbin) to /system, then give 755 permissions to those files, especially to /system/bin/chargemon, or you'll get bootloop.



    Notes to everyone

    Do NOT use this recovery if you are not in Stock 2.1 firmware. If you have a custom ROM, your cook should incorporate this to his ROM first



    Notes to Devs/Cooks

    To incorporate this to your ROM, extend the chargemon file to contain the needed part required in order to boot your ROM, the rest of the files need no changes.
    Switch to Edify when giving updates for your ROMs. Search xda and google for that, there are plenty of resources out there. E.g: http://forum.xda-developers.com/showthread.php?t=936175
    Also use the attached update-binary which is modified and tested to work correctly with this recovery.



    Credits:
    DaRk_dOg for his testing / support
    koushd for writing the piece of software the first place
    zdzihu for his rm -rf tip ;)
    Cyanogen for the obvious reasons...



    Disclaimer:
    I can't be held responsible if this Mod bricks your device or makes it explode in your hands! Use it at your own risk!
    18
    Changelog:

    ClockworkMod Recovery v.3.2.0.0-r2:
    - Added restore from xRecovery option
    - Fixed letters cutoff at the bottom of the screen

    ClockworkMod Recovery v.3.2.0.0-r1 for x10mini
    - Ported default CM7 Recovery option
    5
    very cool but does this mean i cant install it when i am using your miniCM7 ??
    That means you should bother the dev of your ROM.

    ....


    And also check the MiniCM7 thread :)
    4
    Uploaded version 3.2.0.0-r2 which:
    - Adds a menu option to restore a backup done with xRecovery
    - Fixes the letters cutoff at the bottom of the screen
    2
    Thank you mate! Another great addition!