[RECOVERY][5/6/11] ClockworkMod Recovery for X10mini / X8 - 3.2.0.0-r3 - Sony Ericsson XPERIA X10 Mini

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.
Click to expand...
Click to collapse
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!
​

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

Thank you mate! Another great addition!

very cool but does this mean i cant install it when i am using your miniCM7 ??

freebordjunky said:
very cool but does this mean i cant install it when i am using your miniCM7 ??
Click to expand...
Click to collapse
That means you should bother the dev of your ROM.
....
And also check the MiniCM7 thread

Thanks a million! Will try on MiniCM6-1.0.1!
Sent from my X10mini using XDA Premium App

Great work. Thanks

o2gulo said:
Thanks a million! Will try on MiniCM6-1.0.1!
Sent from my X10mini using XDA Premium App
Click to expand...
Click to collapse
Uhm, you shouldn't.....
nobodyAtall said:
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
Click to expand...
Click to collapse

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?

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

parthabhatta said:
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?
Click to expand...
Click to collapse
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.

Good Thing I reverted Back to 2.1 ..
One question, If we use xRec and Flash it, will xRec be removed?

Is backward compatible with xRecovery? I mean themes updates and Backups made for xRecovery will work?
Sent from my X10mini using XDA App

It replaced xRecovery.. No problems at all... Works great... Thanks dude..

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

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

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

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

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) :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
seams it isnt fixed on right resolution
*edit*
Great Port thx to all for make this happen
bitmovel said:
also, "fix permissions" does not work. the phone stops working. only battery off can make it run again
Click to expand...
Click to collapse

DJxSpeedy said:
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) :
seams it isnt fixed on right resolution
*edit*
Great Port thx to all for make this happen
Click to expand...
Click to collapse
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

Related

[RECOVERY] ClockworkMod Recovery for X10 Mini Pro - 3.2.0.0-r3

First, I need to say that this was not made by me!, all credits go to nobodyAtall, I just changed chargemon to make it work on mini pro, all roms, Please read original post here for more info
This is the latest ClockworkMod Recovery (v.3.2.0.0) ported to work on X10 mini pro
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.
Click to expand...
Click to collapse
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
Working on any ROM .. Unified chargemon (For stock last version supported it's 2.1.1.A.0.6!, if you have newer, downgrade, don't working for stock 1.6)
Busybox from the market
Root
Installation
Install through CWM recovery (sorry no more support for xRecovery)
Credits:
nobodyAtall for porting this amazing software to mini, thumbs up to him PLEASE
All credits on original post
Fast Disclaimer: I'm not responsible if this brick your lovely device
Installing right now
Sent from my U20i using XDA Premium App
Just installed it on my mini pro, works fine. Much appriciated.
Thx to nobodyAtall too
Hey, awesome, I've been waiting for this on our Mini Pro's Thanks to you and nobodyatall! just a question - does this mean, we can use ROM Manager?
Ravencz said:
Hey, awesome, I've been waiting for this on our Mini Pro's Thanks to you and nobodyatall! just a question - does this mean, we can use ROM Manager?
Click to expand...
Click to collapse
I think it still need some changes, but we're close to get CWM recovery 100% functional
Ravencz said:
Hey, awesome, I've been waiting for this on our Mini Pro's Thanks to you and nobodyatall! just a question - does this mean, we can use ROM Manager?
Click to expand...
Click to collapse
This is the goal actually (or some other easy way to install updates), at least for MiniCM
Glad it works for you guys too
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) :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
seams it isnt fixed on right resolution
*edit*
Great Port thx to all for make this happen
With the ClockworkMod it's possible recorevy backup of the xrecovery??
Download now, hehe
DJxSpeedy said:
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) :
seams it isnt fixed on right resolution
*edit*
Great Port thx to all for make this happen
Click to expand...
Click to collapse
same error here.
also, "fix permissions" does not work. the phone stops working. only battery off can make it run again
Andreson01 said:
With the ClockworkMod it's possible recorevy backup of the xrecovery??
Download now, hehe
Click to expand...
Click to collapse
Testing as we speak. Please remember you cannot use xrecovery folder anymore. you must move it to new clockworkmod foler
bitmovel said:
same error here.
also, "fix permissions" does not work. the phone stops working. only battery off can make it run again
Testing as we speak. Please remember you cannot use xrecovery folder anymore. you must move it to new clockworkmod foler
Click to expand...
Click to collapse
Please make this reports on X10 mini thread, nAa sure will give us a answer
Just tested:
Yes! It can restore xrecovery backups. Just move them to the new directory
Thank you!!
D4rKn3sSyS said:
Please make this reports on X10 mini thread, nAa sure will give us a answer
Click to expand...
Click to collapse
ive quoted my post here with bitmovel's post to mini thread
thanks
bitmovel said:
thanks
Click to expand...
Click to collapse
no problem
31 download and 4 thanks ... Some of you guys dont really appreciate the dev's work, same with nAa post, i dont care thanks on me, but at least thank to nAa, he's a awesome dev
D4rKn3sSyS said:
31 views and 4 thanks ... You guys dont really appreciate the dev's work, same with nAa post
Click to expand...
Click to collapse
Hey mate i love your work! I'm on mobile i give you a thanks tomorrow! Use the force dev and never say die! You are great! ;-)
Inviato dal mio U20i usando Tapatalk
Just tested it on my mini pro and seems to work just fine. Only the last line in the "loogging" part is sligtly under the screen and therefore cut-off but that's not a big issue as the text is still very readable
Testing report: fix permissions IS working, as normal it take a while, exactly equal that on xRecovery, so test it again people who are having problems, will take about 2 mins, seems to be that clean battery status it's not working.. im doing tests
EDIT: Confirmed working on r2, nicely working, only 1 bug left, sd-ext mount, already reported to nAa
D4rKn3sSyS said:
Testing report: fix permissions IS working, as normal it take a while, exactly equal that on xRecovery, so test it again people who are having problems, will take about 2 mins, seems to be that clean battery status it's not working.. im doing tests
Click to expand...
Click to collapse
thanks.
looks like I didnt wait enough time.
I miss your xrecovery backgrounds... hehe

[Multiboot] [Update 14/6/11] Create, manage and boot your ROM options via CWM!

Introduction
This thread describes an experimental mod that allows you to boot into other boot images stored in your sdcard. It's a good reason for users to upgrade to CWM recovery since it allows for much more extended functionality. It's also another good reason for devs to support CWM recovery.
Our 'petit' X10mini does not have enough internal memory to store more than one android image, thus we have to use the sdcard for this.
WARNING:
This mod is experimental, and for advanced users only. Use it at your own risk
Requirements (READ THEM CAREFULLY):
- CWM recovery pre-installed
- You need a FAST enough sdcard. I'd suggest not using this mod if your sdcard is less than Class 6
- Your sdcard should have enough free space. Each 'boot option' that you create reserves 400MB of space in your sdcard
- In order to create a new boot option, you need a flashable zip of the ROM you wish to boot to, as well as a patch for it's ramdisk.tar (if this is a custom ROM, stock ROMs don't need this). The flashable zip of the ROM is the same that is used for usual ROM installation. The patch should be provided by the ROM's cook.
Instructions for devs only
To create a bootable image, you have two options:
- Make use of CWM recovery (which can create boot images from update.zip) and provide a patch for your ROM that makes sure: app2sd is disabled, ramdisk.tar does not mount mtd* partitions under /system, /data, or /cache. This patch is also flashable via the new multiboot menu of CWM. If you need more info, see the attached MiniCM7-multiboot.zip
OR
- Manually create ext2 system.img, data.img and cache.img for users to push under /sdcard/clockworkmod/multiboot/<name>/
Multiboot mod Installation
- Flash the attached CWM multiboot zip via CWM
Multiboot ROM Installation
The following scenario is provided as a proof of concept in order to install MiniCM7 as a boot from sdcard option
- Reboot into the new recovery and navigate to the new 'multiboot' menu. There you'll see the following options:
Select default boot option
Unset default boot option
Create boot option from zip
Delete existing boot option
Flash zip to boot option
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
- Select multiboot->Create boot option from zip and then pick the MiniCM7 flashable zip (which you can find in the MiniCM7 thread). Be patient, this step reserves the space and flashes the selected zip to the system.img in the sdcard
- Select multiboot->Flash zip to boot option, pick your newly created boot option and then pick the MiniCM7-multiboot.zip. This will flash the patch needed for MiniCM7 in order to make it run from sdcard. You can use this option in order to flash any zip you want to any of the boot options you have already created
- Select multiboot->Select default boot option and pick your newly created boot option
- Reboot (first boot will take some time depending on your sdcard speed).
To verify you have booted to your newly created boot option, check 'adb shell mount', it should say that /system /data and /cache is mounted from /loop* devices and not from mtd*
Uninstall
- Practically, if you flash a ROM image it will revert CWM / chargemon to its original state. There is not problem in keeping this CWM / chargemon version though.
- To revert booting from your phone's memory instead of the sdcard, navigate to multiboot->Unset default boot option
- To remove installed boot options, navigate to multiboot->Delete existing boot option and pick you choice. Alternatively remove the boot option you want from /sdcard/clockworkmod/multiboot/
Disclaimer:
I can't be held responsible if this mod bricks your device / trashes your sdcard or makes it explode in your hands! Use it at your own risk!
​
wao great experiment NAA,
perfect time to install stock 2.1 and miniCM7
Damn, Great job nAa! My sdcard is lower than Class 6 (I am still using the stock 2GB sdcard!!) so I can't try this one. Waiting for other people's opinion about this.
Great work! =)
A class 4 sd is good?
Enviado desde mi X10mini usando Tapatalk
twins.7 said:
wao great experiment NAA,
perfect time to install stock 2.1 and miniCM7
Click to expand...
Click to collapse
IMHO, stock 2.1 should be installed as a 'multiboot option' and MiniCM7 in the internal phone's memory - not the other way round.
I'm hoping some dev could chip in with an update.zip for a stock 2.1 ROM that can be installed as a multiboot option
Damn, where the f**k is the "Thanks" button in tapatalk!?
Another great addition mate! Thank you for giving us, mods that other devices hadn't even dreamed of!
Regards,D_d
Sent from my Desire HD using Tapatalk
nobodyAtall said:
IMHO, stock 2.1 should be installed as a 'multiboot option' and MiniCM7 in the internal phone's memory - not the other way round.
I'm hoping some dev could chip in with an update.zip for a stock 2.1 ROM that can be installed as a multiboot option
Click to expand...
Click to collapse
why?
can I use this step below?
- backup my stock in recovery
- copy the backup file to multiboot folder
twins.7 said:
why?
can I use this step below?
- backup my stock in recovery
- copy the backup file to multiboot folder
Click to expand...
Click to collapse
No you can't do that.
You need to install the boot option from an update.zip.
Already created backups have a different fs type that can't be mounted seperately.
Does it works with miniCM6?
Hello nobodyAtall, can we install CM7 and CM6 in this multiboot? if yes how to do that? ( I have cm7 2.0.2 installed ) Thanks
gatobadio said:
Hello nobodyAtall, can we install CM7 and CM6 in this multiboot? if yes how to do that? ( I have cm7 2.0.2 installed ) Thanks
Click to expand...
Click to collapse
We need to 'edify' MiniCM6 first for that
nobodyAtall said:
We need to 'edify' MiniCM6 first for that
Click to expand...
Click to collapse
10Q !!! We'll be waiting for it
Going to try to boot CM7 on my CM6. Going to post results a bit later.
Thank you nobodyAtAll for another magnificent tool!
edit: Well, no harm for my device but no CM7 either. Tool created IMG's to my sdcard but doesn't boot from there.
Speechless with just a big smile in my face!!!
Thanks nobotyatall for this it's all you mate!!
My regards,
Ribben
just shifted to optimus 2x as my main device but decided to keep my Mini for my daughter and guess what (for nAa's absolute marvels) to keep my tweaking going on.
Great achievement nAa for that. you have made this small device a great value. addition. Thanks to you for that.
parthabhatta said:
just shifted to optimus 2x as my main device but decided to keep my Mini for my daughter and guess what (for nAa's absolute marvels) to keep my tweaking going on.
Great achievement nAa for that. you have made this small device a great value. addition. Thanks to you for that.
Click to expand...
Click to collapse
It's cause of SE having crippled it so badly that it's interesting to work on this stuff
Successfully boot cm7 from cm6 using my class 2 8gb sd card. But how can I boot back to my original cm6?
Send from my x10 mini using XDA premium app
@nobodyAtall
dude awesome work!!!
we need to talk!!!
i need ur help for this:
http://forum.xda-developers.com/showthread.php?t=1114544
does fix_permissions fix ownership/permissions on /system & /data ????
Is this method works with app2sd ( /data mounted on sd ext partition ) ?
And can I use this method to boot CM7 from SE 2.1.1.A.0.6 firmware ?

[RECOVERY] ClockworkMod Recovery for Xperia X8 - 4.0.1.5 [UPDATE - 24/9/2011]

The Clockworkmod recovery is working on our X8 now
* I am not responsible for any brick or damage to your phone, so be cautious!
The package script for CWM recovery is different from xRecovery, don't try to flash xRecovery script with CWM recovery, errors might occur
If you want to create update.zip for CWM recovery, please go to here.
Use the attached update-binary which is modified and tested to work correctly with this recovery.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Features
- 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) (please make sure you have enough space on the sd card!)
------ restore (also restores ext partition and installed apps to sdcard)
------ 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
------ show log
- power off
How to use?
The method booting into it is same as booting to the xRecovery, just click the 'back' button continuously when see the white 'Sony Ericsson'
Installation requirements
1) Rooted
2) Busybox installed from the market
Installation
- If you are having xRecovery, flash "Amend" package
- If you are having previous version of ClockWorkMod Recovery, flash "Edify" package
Downloads
see attachments
Credits:
dbts25 for testing
puppet13th for dual mode recovery
---------------------------------------------------------------------------
If you like this thread, please feel free to click the 'THANKS' button!!
Changelog:
[24/9/2011]
- CWM recovery updated to 4.0.15
- removed some useless functions
[23/8/2011]
- Fixed errors of 4.0.14-r2
[9/8/2011]
- CWM recovery updated to 4.0.14
[15/6/2011]
- CWM recovery can work on Floyo, FroyoBread and Hackdroid 0.98 now.
- Dual recovery supported in CWM recovery and FreeXperia Recovery
[11/6/2011]
- CWM recovery can only work on stock X8 rom.
already tested,in my case i cant install another rom.stuck with froyobread n the end im using seus.this is my experience, maybe different with other
If is possible you can copy part of chargemon script to other chargemon of custom Rom and overwrite xrecovery script. So your custom zips will work with custom rom.
Sent from my X8 using XDA Premium App
sendalterbang said:
already tested,in my case i cant install another rom.stuck with froyobread n the end im using seus.this is my experience, maybe different with other
Click to expand...
Click to collapse
So I take it CWM still doesn't work with binary updates...
CWM doesn't support old update-scripts, I don't know which ones (amend or edify) - you have to convert them.
Xrecovery is using Amend script and CWM Recovery is using Edify script
Hi just want to ask for what we have xrecovery and cwm recovery? Its the same as i see
Sent from my X8 using Tapatalk
proadi96 said:
Hi just want to ask for what we have xrecovery and cwm recovery? Its the same as i see
Sent from my X8 using Tapatalk
Click to expand...
Click to collapse
Read the thread.............
my phone boots into recovery but no longer boots into android wtf ?
Omg,this is stupid...its the same thing as xrecovery...
Sent from my X8 using Tapatalk
xperiauser132 said:
Omg,this is stupid...its the same thing as xrecovery...
Sent from my X8 using Tapatalk
Click to expand...
Click to collapse
Sorry to say that, but you're stupid yourself This has similar functionality to xrec, but is hardly the same
I didnt say you were stupid -.-
But thanks.
Sent from my X8 using Tapatalk
xperiauser132 said:
Omg,this is stupid...its the same thing as xrecovery...
Sent from my X8 using Tapatalk
Click to expand...
Click to collapse
ClockworkMod recovery has a purpose of existence.
CM7 is build on Gingerbread sources so it is vital to use a common source based recovery.
Also edify scripting and the advanced syntax check that CWM performs, is by itself, a proof of superiority against xrecovery.
The correct order is think-search-discuss and NOT vice-versa.
Regards, D_d
But ill stay on xrecovery,i like it better.
Sent from my X8 using Tapatalk
Great work!
Sent from my X8 using XDA Premium App
It can create SD card partition? wow. xD
xperiauser132 said:
But ill stay on xrecovery,i like it better.
Sent from my X8 using Tapatalk
Click to expand...
Click to collapse
yes, because almost all of those custom ROM for X8 now is using Amend script (update-script), and i think only miniCM that is using Edify script (updater-script).
you know, that CWM can backup EXT partition on your SD Card?
CWM and Xrecovery/FreeXperia Recovery is different, and you should have noticed it if you see the options on the screenshot
also, if you want to convert update-script to updater-script, you can use dsixda's kitchen, just search XDA, and its a very easy thing to do.
So, to understand, if i'm in stock 2.1 i can use this and flash whetever cyanogen rom-mod (as hackdroid) i want (if i use the amend one) or i can use it if i'm already in the hackdroid rom? thanks
So i cant try it on xgin 5.1 ??
Sent from my X8 using Tapatalk

[Encrypt] [Update 13/7/11] Encrypt yout personal data via CWM!

Introduction
This thread describes an experimental mod that allows you to encrypt your personal data (/data partition) on your phone.
This can make sure that no 'unauthorized' user can take your phone and view your data. It is NOT an anti-theft mechanism, but will protect your personal information in case you lose your phone (provided that the password is not easily recoverable).
This mod should work for X10mini / X10minipro / X8
WARNING:
This mod is experimental, for advanced users and security paranoics only. Use it at your own risk
Requirements:
- CWM recovery pre-installed
- Custom MiniCM7 ROM (should work on any custom ROM - I have not tested others). Will NOT work on stock ROMs.
- At least 200MB of free space in your sdcard
Encryption mod Installation
- Flash the attached CWM multiboot zip via CWM
Encrypting your /data
This mod allows for easily migrating your existing /data contents to the encrypted partition. To do so boot into CWM recovery:
- backup and restore -> backup
- encrypt -> Encrypt - migrate /data -> Yes
- Use the keypad to enter your password. To navigate, use the Vol up/down buttons for up/down, the menu/back buttons for left/right, the home button to select a letter, the camera button for backspace and the power button to verify that you are done.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This process will take 5 - 10 minutes, be patient.
Once finished, to verify that the migration was successful, select:
- encrypt -> Mount encrypted /data
This should ask you for the password you used and if successful, it should mount the encrypted partition under /data-enc.
$ adb shell mount
should give you this line among others:
/dev/mapper/data-enc on /data-enc type ext2 (rw,noatime,nodiratime,errors=continue)
which means that your private files can now be accessed under /data-enc.
When done, use:
- encrypt -> Umount encrypted /data to unmount
To update your password, use:
- encrypt -> Change encryption password
This will prompt for a password three times: the first one is for the existing password. The second and third should match and this is the new password.
Booting your phone
When booting your phone you are prompted with the keypad to insert your password. Unless the correct one is provided, you cannot continue booting.
Uninstall
- Boot into CWM and format your /data partition.
- mount the /system partition via CWM and use the following command to avoid getting asked for a password at boot:
- adb shell mv /system/bin/ramdisk.tar.bak /system/bin/ramdisk.tar
Thanks to:
- DaRk_dOg for his testing and theming ideas
- sigkill1337 for his keypad ui implementation for the Wildfire
Disclaimer:
I can't be held responsible if this mod bricks your device / trashes your phone or makes it explode in your hands! Use it at your own risk!
​
Changelog:
(13/7/11) CWM-encrypt-r1.zip
Initial version for encrypting /data partition
where is the Google's [+1] button? great tool
WARNING:
This mod is experimental, for advanced users and security paranoics only. Use it at your own risk
Dude seems like you are first paranoid one . Nice work!
p.s.
what if i forget password?
aZuZu said:
WARNING:
This mod is experimental, for advanced users and security paranoics only. Use it at your own risk
Dude seems like you are first pranoid one . Nice work!
p.s.
what if i forget password?
Click to expand...
Click to collapse
In terms of security, yes I am
If you forget your password you are doomed.
nobodyAtall said:
In terms of security, yes I am
If you forget your password you are doomed.
Click to expand...
Click to collapse
Flash tool will not work?
Sent from my X8 using XDA Premium App
Let me rephrase : if you forget your password you can't expect to be able to get your data back. That's the whole point of encrypting them. Sure you can get in recovery and format, as already described in the first post.
Sent from my Nexus One using XDA App
nobodyAtall, thank you for another great addition!
First multiboot, now data encryption. X10 mini is such a geeky device after all!
Thank again, D_d
What encryption algorithm is used?
P.S. I tried to encrypt MiniCM6-1.0.2, phone is much slower to work.
Camogyp said:
What encryption algorithm is used?
P.S. I tried to encrypt MiniCM6-1.0.2, phone is much slower to work.
Click to expand...
Click to collapse
It's using aes-plain encryption. Practically you need a weak password if you wanna crack this
I'm using it on MiniCM7 without any noticeable performance degradation.
it on MiniCM7 without any noticeable performance degradation.
Click to expand...
Click to collapse
Maybe I was wrong... I tried test speed at the application SemcCamera (gallery) - it did not work correctly after installing encryption. Deinstal apk... =)
The overall rate of the entire system is good. Sorry for previous post!
This mod use internal memory or ext2.
Sorry for stupid quastion.
Sent from my X8 using XDA Premium App
as-mario said:
This mod use internal memory or ext2.
Sorry for stupid quastion.
Sent from my X8 using XDA Premium App
Click to expand...
Click to collapse
It uses a encrypted loop device formatted as ext2 which is stored in the phone's [email protected] partition.
Hmm, intresting. Do you think this would work on the x10 mini pro? - If possible with the HW keyboard?
Great work nobodyAtall!!
just a question, can you do to work on x8? this and multiboot too?
thanks..
LuisDias said:
Great work nobodyAtall!!
just a question, can you do to work on x8? this and multiboot too?
thanks..
Click to expand...
Click to collapse
It works i test that.
Sent from X8 using XDA Premium app and running Kuyadroid
thnx!!!
Great job thnx!!!!
Need help restoring encrypted partition..
Hmm, I might've done something stupid and thought I'd ask for help.
I used MiniCM7 2.0.5 w/ encryption, then I chose to update to 2.0.6.. and when I reboot it seems I lost everything stored on /data/ (i.e. I'm not asked to decrypt anything and when I boot into CM7 nothing is there). I assume the encrypted data is still somewhere, but how can I tell CWM/miniCM7 2.0.6 to decrypt this into /data/ before boot?
Hi there.
You should copy your ramdisk from your MiniCM7-2.0.5 backup to your current installation. To do this, restore to your previous version, copy the /system/bin/ramdisk.tar file to your sdcard and once you upgrade to the latest version copy it back again. If all goes well, in next reboot you should be prompted with the password input screen.
DehDehDeh said:
Hmm, I might've done something stupid and thought I'd ask for help.
I used MiniCM7 2.0.5 w/ encryption, then I chose to update to 2.0.6.. and when I reboot it seems I lost everything stored on /data/ (i.e. I'm not asked to decrypt anything and when I boot into CM7 nothing is there). I assume the encrypted data is still somewhere, but how can I tell CWM/miniCM7 2.0.6 to decrypt this into /data/ before boot?
Click to expand...
Click to collapse
Sent from my Nexus One using XDA App
Hmm, I can't seem to get this to work;
I tried to update to MiniCM2.0.7 (from 2.0.6) by the method below, but it just reboots without my settings (and w/o asking for password).
I also tried mounting the encrypted /data in CWM (encrypt submenu) before flashing the update.
Can you tell me the proper way to update an encrypted MiniCM? I fail miserably
Also, I can't seem to uninstall Encrypt as per the guide in the first post, at least not while keeping my apps and settings. Is this not possible? (Since the first step is to format /data I'm thinking it isn't?)
Thanks for the help and your great development!
/DDD
nobodyAtall said:
Hi there.
You should copy your ramdisk from your MiniCM7-2.0.5 backup to your current installation. To do this, restore to your previous version, copy the /system/bin/ramdisk.tar file to your sdcard and once you upgrade to the latest version copy it back again. If all goes well, in next reboot you should be prompted with the password input screen.
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse

[Unlocked Only][RECOVERY][2011-11-14] Custom CWM-based Recovery 5.0.2.7-photon3

This is a modified CWM-based recovery for the Motorola Photon 4G. It is based on my own custom code forked from the CyanogenMod team's recovery. The major changes I have made include full support for dual SD cards, support for webtop partitions (SD card and internal) and changes to Nandroid backup/restore for this phone's additional partitions.
Some highlights include:
Dual SD card support
ADB support
USB Mass Storage support
Nandroid additions/changes
ext3 formatting
Probably others
This recovery is only for UNLOCKED devices. It is intended to be flashed directly to the recovery partition.
UNLOCKED users can flash this recovery using:
Code:
moto-fastboot devices
moto-fastboot erase recovery
moto-fastboot flash recovery recovery-photon3.img
Example:
Code:
$ moto-fastboot devices
TA20700KXH fastboot
$ moto-fastboot erase recovery
erasing 'recovery'... OKAY [ 0.741s]
$ moto-fastboot flash recovery recovery.img
sending 'recovery' (4780 KB)... OKAY [ 0.490s]
writing 'recovery'... OKAY [ 0.544s]
This is posted in a DEVELOPER forum and is being released to help further the development of Android for the Motorola Photon 4G. I have NOT personally tested this on my phone and YOU assume full responsibility for any damage incurred to YOUR phone!
Click to expand...
Click to collapse
I do NOT have a Motorola Photon 4G. I have based this recovery off the Photon kernel and Atrix resources as suggested by Calkulin. I do not SUSPECT there will be problems but again, I have NOT personally tested this on my phone and YOU assume full responsibility for any damage incurred to YOUR phone!
Click to expand...
Click to collapse
SPRINT USERS
Orange 5.0.2.7-photon3 / ZIP version.
MD5 0dc70209659fecbf7a2a01fe64b431af / a7fa2daf946557006931d33f3954e350
Cyan 5.0.2.7-photon3 / ZIP version.
MD5 440baa230638bd12dfd38b67977d3ac3 / 4da9f845f5d8ae0c37d0e1deaecd931c
Light green 5.0.2.7-photon3 / ZIP version.
MD5 b0791b6a4e0ea1a593d450518f309315 / f4afa4ca6f9616713ba436149df48c46
Dark green 5.0.2.7-photon3 / ZIP version.
MD5 5ef4862918169c1b4f9b0cbd60c70267 / 12acbe4adac62dc79e9a2b9ed1d0ea3b
Blue 5.0.2.7-photon3 / ZIP version.
MD5 cb1a4b2b48d18f535f5a3ce312e3ee81 / 53eee173392a8a821e45e8ddb1bbefd6
Red 5.0.2.7-photon3 / ZIP version.
MD5 f95a0adfb47ae2b995412b89d95f40fe / ca222e4891f756b5b4ad59fe06b6f0bf
Original ROM Manager/CWM installable zip thanks to SolidHelix. You must still be UNLOCKED and have already applied at least one version of this recovery via fastboot to use them.
Source is here.
A few notes:
The "osh" partition is webtop. It is the largest by far and will take some time to backup. Nandroid is not frozen!
The "sd-ext" partition is an ext2/3 partition on your external SD card. Veterans will know this as apps2sd and data2sd from other phones. I am not aware of any use of this partition on this phone yet.
Thanks to:
Koush and the CM team for CWM
Calkulin for pointing out the kernel
Everyone who has made unlocking the Photon possible
** Changelog **
2011-11-14 (5.0.2.7-photon3):
Minor bugfix update mostly
ext4 experimental support
Added the ability to convert an ext3 partition to ext4 under advanced. Shouldn't break anything, but it is experimental
2011-09-23 (5.0.2.3-photon2):
Updated to CWR5 base source.
The blue version is now the new CWR5 color. Old blue is gone. New photos welcome!
2011-09-17 (4.0.1.5-photon1.3):
Added a verify option to the backup and restore menu.
Renamed internal SD card mount point to /emmc and external is now /sdcard (this is largely cosmetic).
Merged in miscellaneous fixes from the official CWM. Version 5 will be merged in once its ready.
2011-08-17 (4.0.1.5-photon1.2):
Changed fstab to ext3 since no kernel support yet
2011-08-17 (4.0.1.4-photon1.1):
Added 0MB option to ext3 partition size under External SD card partitioning which removes any ext3 partitions from the card (choose 0MB ext3/0MB swap to have only a FAT32 partition).
Added a red build to the mix.
Updated the update-binary in the CWM zips to be tailored for this phone.
Minor fixes to sdparted (log file related mostly).
2011-08-14 (4.0.1.4-photon1):
Initial release
Screenshots
Thanks to DarkSim2o9 for the following screenshots (these show an Atrix, but the color is identical):
Orange
Cyan
Blue
Light green
Dark green
Red
Known Issues
I doubt ext4 support works due to no kernel support. Disabled currently. Added in -photon3.
Soft keys to use as navigation may not work due to the kernel.
Miscellaneous
If you'd like ROM Manager to see this recovery as "official" you can try XCellPhoneSalesRep's suggestion posted here.
Alternately, you can try dcarpenter85's suggestion here.
For issues with recovery not sticking, see here:
Thanks to mrinehart93 for pointing this out.
The system runs /system/etc/install-recovery.sh on boot with the stock rom. On boot it checks the recovery partition for some update and with CWM installed decides to reflash the stock recovery over it. Rename or delete the file and the CWM should stick.
Click to expand...
Click to collapse
Old versions
You can browse and download old versions here.
Awsome!!!
Sent from my MB855 using XDA App
Sounds good. Will try.
Sent from my unlocked rooted Moho!
This is what Calk posted earlier......right? I know it's yours, but not to be confused......just different colors...correct?
I like that there is a choice of colors. Well done!
Awesome job. One question, how might one boot direct into the recovery from a full Power Off?
the3rd said:
Awesome job. One question, how might one boot direct into the recovery from a full Power Off?
Click to expand...
Click to collapse
Hold down volume down and power till boot. Volume down till you see android recovery, then volume up.
Also, as aaron130 said you can use quick reboot from the market.
Sent from my unlocked rooted Mopho!
Fricken Awesomeness
Sent from my Photon Blaster.
ahhh this is what im getting..it seems fastboot isnt working for some reason even tho i just rooted..some help please
C:\AndroidSDK\tools\moto-fastboot>moto-fastboot devices
C:\AndroidSDK\tools\moto-fastboot>moto-fastboot erase recovery
< waiting for device >"
edit: nevermind got it working ..thanks!
Two questions:
1. Has anybody verified the "ROM Manager support" method on the Photon yet?
2. Other than color choice, what is the difference between this recovery and the one Calkulin posted earlier?
i think theres an issue with the recovery.
it installed perfectly and booted properly.
i chose to format the internal sd partition and it didnt remove any of the data.
i havent tried to flash anything yet or make a nandroid but ill keep you posted and i do have it loaded.
thanks for all of your hard work. greatly appreciated
the3rd said:
Awesome job. One question, how might one boot direct into the recovery from a full Power Off?
Click to expand...
Click to collapse
the same way you boot into fastboot
when phone is off.......
1. press and hold power and volume down
2. when the phone displays fastboot release the buttons
3. use volume down to switch to android recovery
4. press volume up and boot into cwm
Im creating a backup as I type (speak)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
jglee311 said:
This is what Calk posted earlier......right? I know it's yours, but not to be confused......just different colors...correct?
Click to expand...
Click to collapse
Lokifish Marz said:
Two questions:
1. Has anybody verified the "ROM Manager support" method on the Photon yet?
2. Other than color choice, what is the difference between this recovery and the one Calkulin posted earlier?
Click to expand...
Click to collapse
Calkulin's is based off my -atrix3 revision. This is slightly newer code (-atrix3.1 bug fixes mostly). It uses the same kernel as his. He PM'ed me to let me know how he got it to work on this phone and I simply used his advice to create the thread.
I haven't verified ROM Manager on this phone. It may need until Koush updates ROM Manager to say it supports this phone. I thought several times about editing that out of the second post but chose to leave it for now..
tim-tim said:
i think theres an issue with the recovery.
it installed perfectly and booted properly.
i chose to format the internal sd partition and it didnt remove any of the data.
i havent tried to flash anything yet or make a nandroid but ill keep you posted and i do have it loaded.
thanks for all of your hard work. greatly appreciated
Click to expand...
Click to collapse
Under Mounts and Storage menu? If someone can provide me with /proc/mounts while booted into regular Android, I can check it out.
romracer said:
Under Mounts and Storage menu? If someone can provide me with /proc/mounts while booted into regular Android, I can check it out.
Click to expand...
Click to collapse
http://pastebin.com/uGakTEYu
Yay 4 Juggs said:
http://pastebin.com/uGakTEYu
Click to expand...
Click to collapse
Thanks, the table looks exactly like the Atrix (not surprising). If choosing "Format /sdcard" from the mounts and storage menu didn't work, I'll probably need /tmp/recovery.log after trying (but before exiting recovery - the file is lost then).
Minor update released. Biggest changes include 0MB ext partition option under external SD card partitioning which combined with 0MB swap gives you just a FAT32 partition without having to use Windows, etc. There's also a red version now.
The code is technically based on 4.0.1.5 but Koush pushed his commit late and so the build still says 4.0.1.4. I didn't see the need to recompile just for that
romracer said:
Minor update released. Biggest changes include 0MB ext partition option under external SD card partitioning which combined with 0MB swap gives you just a FAT32 partition without having to use Windows, etc. There's also a red version now.
The code is technically based on 4.0.1.5 but Koush pushed his commit late and so the build still says 4.0.1.4. I didn't see the need to recompile just for that
Click to expand...
Click to collapse
are the tools fixed such as being able to clear cache...nandroid...etc?

Categories

Resources