Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
nobodyAtall
Old
(Last edited by nobodyAtall; 6th August 2011 at 10:12 PM.)
#1  
nobodyAtall's Avatar
Recognized Developer - OP
Thanks Meter 17962
Posts: 1,483
Join Date: Jan 2008
Location: Patras

 
DONATE TO ME
Default [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!
The Following 75 Users Say Thank You to nobodyAtall For This Useful Post: [ Click to Expand ]
 
nobodyAtall
Old
(Last edited by nobodyAtall; 2nd June 2011 at 01:01 PM.)
#2  
nobodyAtall's Avatar
Recognized Developer - OP
Thanks Meter 17962
Posts: 1,483
Join Date: Jan 2008
Location: Patras

 
DONATE TO ME
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
The Following 18 Users Say Thank You to nobodyAtall For This Useful Post: [ Click to Expand ]
 
DaRk_dOg
Old
#3  
DaRk_dOg's Avatar
Recognized Themer
Thanks Meter 2121
Posts: 877
Join Date: Oct 2010
Thank you mate! Another great addition!
SE X10 mini MiniCM10 | HTC Desire HD CyanogenMod10 | Samsung Galaxy Nexus CyanogenMod10

My Themes:
Crystal CM7 || Crystal 2 CM10
The Following 2 Users Say Thank You to DaRk_dOg For This Useful Post: [ Click to Expand ]
 
freebordjunky
Old
#4  
freebordjunky's Avatar
Senior Member
Thanks Meter 136
Posts: 905
Join Date: Feb 2011
Location: stuttgart
very cool but does this mean i cant install it when i am using your miniCM7 ??
My android history: SE x10mini cm7 1 x 800MhZ --> SE Xperia Neo cm7 1 x 1GhZ --> Galaxy Nexus AOKP 2 x 1,2 GhZ --> SGS 3 Jelly Beaned 4 x 1,4 Ghz


 
nobodyAtall
Old
#5  
nobodyAtall's Avatar
Recognized Developer - OP
Thanks Meter 17962
Posts: 1,483
Join Date: Jan 2008
Location: Patras

 
DONATE TO ME
Quote:
Originally Posted by freebordjunky View Post
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
The Following 5 Users Say Thank You to nobodyAtall For This Useful Post: [ Click to Expand ]
 
o2gulo
Old
#6  
Member
Thanks Meter 5
Posts: 56
Join Date: Jan 2011
Location: Perlas ng Silangan
Thanks a million! Will try on MiniCM6-1.0.1!

Sent from my X10mini using XDA Premium App
Pinoy ako!
Device :| E10i |
 
nishan432
Old
#7  
nishan432's Avatar
Senior Member
Thanks Meter 32
Posts: 362
Join Date: Nov 2010
Location: Dhaka
Great work. Thanks
Xperia Neo+CybershotMod+JB look SystemUI
 
leftAlone
Old
#8  
Senior Member
Thanks Meter 31
Posts: 107
Join Date: Sep 2010
Location: Baguio City
Quote:
Originally Posted by o2gulo View Post
Thanks a million! Will try on MiniCM6-1.0.1!

Sent from my X10mini using XDA Premium App
Uhm, you shouldn't.....

Quote:
Originally Posted by nobodyAtall View Post
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
Press thanks if this helped you out!
 
parthabhatta
Old
#9  
Senior Member
Thanks Meter 53
Posts: 803
Join Date: Mar 2008
Location: Calcutta
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
Old
#10  
Theshawty's Avatar
Senior Member
Thanks Meter 2672
Posts: 9,407
Join Date: Feb 2011

 
DONATE TO ME
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

The Following User Says Thank You to Theshawty For This Useful Post: [ Click to Expand ]
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...