[RECOVERY][5/6/11] ClockworkMod Recovery for X10mini / X8 - 3.2.0.0-r3
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:
Quote:
Originally Posted by CyanogenMod
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!
My pm is NOT tech support. Those messages are piped to /dev/null
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?
By now, we’re all quite familiar with Tasker, the personal automation app that seems to be able to … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?