Tag Archives: ClockWorkMod

HowTo: install ClockworkMod Recovery on Xperia X10 Mini Pro using GNU/Linux

Prerequisites

I can show you my situation, I can’t confirm that my guide is usable in different cases:

  • sim unlocked, stock Xperia X10 Mini Pro device rooted (I used my guide)
  • firmware 2.1.1.A.0.6
  • baseband M76XX-TSNCJOLYM-53404015
  • a pc with Ubuntu 11.10 64bit
  • fully functional adb (find more info here)

Disclaimer you must agree before you proceed

Please double check the requirements I wrote before you proceed and remember that:

  • I am not responsible if you brick / ruin your phone in any way;
  • some computer skills are required;
  • do a full backup of your data NOW, it’s not programmed, but you may loose them

Software requirements

CWMInstaller-Linux-v4.zip: download from here or from my mirror.

Do some backup before changing things

On your pc:
adb shell
on the device
# su
# mount -o remount,rw /dev/block/mtdblock0 /system
# cat /system/bin/chargemon > /system/bin/chargemon.original-backup

It’s time to get the job done

The package is done to allow anyone to easily install the whole thing, but I wasn’t able to use the script.
You can see what I did to manually achieve the result.

On your pc
$ unzip CWMInstaller-Linux-v4.zip
$ cd CWMInstaller-Linux/
$ adb push files/ /data/local/tmp

On the phone
$ su
# mount -o remount,rw /dev/block/mtdblock0 /system
# cat /data/local/tmp/recovery.tar > /system/bin/recovery.tar
# cat /data/local/tmp/busybox > /system/bin/busybox
# cat /data/local/tmp/chargemon > /system/bin/chargemon
# chmod 755 /system/bin/recovery.tar
# chmod 755 /system/bin/chargemon
# chmod 755 /system/bin/busybox
# rm /data/local/tmp/chargemon /data/local/tmp/busybox /data/local/tmp/recovery.tar

Done!
# reboot

Test it making a real backup

When booting your phone and when the “Sony Ericsson” letters appear (not the logo), 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 to select, the “back” button to go back.

Go to “backup and restore“, “backup” and wait at least 3 minutes (on an empty device).

Conclusions

Now you are ready to install some new ROMs on your device.

References

HowTo: install xRecovery in Xperia X10 Mini Pro

Update: I got ClockworkMod Recovery working on my phone, that’s a better choice.

xRecovery is a custom Android recovery system for all variants of the Sony Ericsson Xperia X10, including Xperia X10 Mini Pro. If you want to take it to the next level by being able to take and restore full backups, flash custom ROMs, manage partitions and wipe not just data but cache and Dalvik cache as well, you have to install it.

It’s similar to ClockworkMod Recovery which cannot be installed on SE devices.

Here the steps I used to install xRecovery on a Xperia X10 Mini Pro.

Prerequisites

  1. check your handset details via “Settings” – “About phone”
    • Your “Baseband version” must be M76XX-TSNCJOLYM-53404015
    • Your “Build number” must be 2.1.1.A.0.6
  2. check if you have root access (you can use Root check app)
  3. you need Android Terminal Emulator app (install from the Market or apk download here)
If you need to root the phone you can follow my guide.
If you need busybox you can install it with Busybox installer
Software requirements

Install
Unrar the archive and from your pc type:

$ adb push AAIS/ /sdcard/

Use install.sh via Android Terminal Emulator (root user):

$ su
# cd /sdcard/AAIS
# sh install.sh

Choose 0 or simply push “Return”
At the end (3-10 seconds) phone will reboot.

All done.
A good idea: make a backup
Enter recovery:

  1. power off phone
  2. when booting your phone and when the “Sony Ericsson” letters appear, press and release continuously the “back” button
  3. 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
  4. choose “Backup and restore” – “Backup”
  5. reboot