Unlock bootloader (as of 2011/08/08)
- (Important!!) Before unlock bootloader, initialize your mini pro with SEUS (Sony Ericsson Update Service) to download the official ROM image into your PC.
http://www.sonyericsson.co.jp/support/software/updateservice/ - See Sony Ericsson bootloader unlock official site. Follow the instruction page, except No.8 and 10. See below regarding No.8 and 10.
http://unlockbootloader.sonyericsson.com/
http://unlockbootloader.sonyericsson.com/instructions - No.8 does not work. If you have the latest USB driver (which version is 12/06/2010,4.0.0000.00000 or newer) in your Android SDK folder, just add below description in the android_winusb.inf.
[Google.NTx86] ; SonyEricsson %SingleAdbInterface% = USB_Install, USB\VID_0FCE&PID_0DDE %CompositeAdbInterface% = USB_Install, USB\VID_0FCE&PID_0DDE&MI_01 %SingleBootLoaderInterface% = USB_Install, USB\VID_0FCE&PID_0DDE
for 64 bit Windows[Google.NTamd64] ; SonyEricsson %SingleAdbInterface% = USB_Install, USB\VID_0FCE&PID_0DDE %CompositeAdbInterface% = USB_Install, USB\VID_0FCE&PID_0DDE&MI_01 %SingleBootLoaderInterface% = USB_Install, USB\VID_0FCE&PID_0DDE
- No.10 - To enter fastboot mode, turn off the phone, hold [Vol Up] button, then connect USB cable. (It will turn on Blue LED.)
Extract system image from downloaded SEUS image files
- Find 3 "FILE_(numbers)" files in SEUS db folder below. The file size are about 66KB, 15MB and 150MB.
C:\Program Files\Sony Ericsson\Update Service\db\13740270\blob_fs
- Download ConvertTool.zip from here
- Extract ConvertTool.zip, then put the 3 FILE_(numbers) files into the same folder.
- Execute below command from cmd prompt. You will get 3 tgz files.
SeusDecrypt.bat FILE_(numbers)
- The smallest file should be renamed "loader.sin".
- Extract the largest file with 7-zip (as WinZip does not work), or rename *.tgz to *.zip, then extract it with WinRAR. You will get FILE_(number) files again.
- Extract it with 7-zip or WinRAR to get *.sin files.
- Download SIN2IMG from here
- Convert system.sin to img file.
SIN2IMG system.sin system.img
Modify system image
- Use linux PC
- Download unyaffs tool from here, then make it
- Download yaffs2 tool (mkfs.yaffs2.x86) from here, then put it into the same folder as unyaffs
- Put system.img into the same folder as unyaffs
- Extract the system.img into my_system folder
mkdir my_system cd my_system sudo ../unyaffs ../system.img
- Modify my_system folder as you like. For example, download the Superuser and extract it,
mkdir extracted_superuser cd extracted_superuser sudo unzip su-2.3.6.1-ef-signed.zip sudo cp extracted_superuser/system/app/Superuser.apk my_system/app/ sudo cp extracted_superuser/system/bin/su my_system/bin/ sudo chmod 644 my_sustem/Superuser.apk sudo chmod 06755 my_system/bin/su
- Compress my_system folder to image file.
sudo mkfs.yaffs2.x86 my_system my_system.img
Burn system image
- Recommend using Windows PC, as Windows Android SDK has fastboot tool by default
- Turn off the phone, then wait for a while.
- Hold [Vol up] button, then connect USB cable. (will turn on the blue LED.)
- Execute below command from cmd prompt
fastboot flash system my_system.img
References
http://www.sonyericsson.co.jp/support/software/updateservice/
http://unlockbootloader.sonyericsson.com/
http://unlockbootloader.sonyericsson.com/instructions
http://forum.xda-developers.com/showthread.php?t=730282
http://forum.xda-developers.com/showthread.php?t=853543#9454933
http://forum.xda-developers.com/showthread.php?t=902218
http://azuzu.spice.net.au/tools/SIN2IMG/
https://github.com/ehlers/unyaffs
http://jiggawatt.org/badc0de/android/
http://wiki.cyanogenmod.com/wiki/Fastboot
http://blog.8796.jp/8796kanri/2011/08/%E9%9B%BB%E8%A9%B1-xperia-mini-pro-sk17i-%E3%81%AE-root-%E5%8F%96%E5%BE%97.html
http://komugi.net/archives/2011/04/21082704
http://booleestreet.xii.jp/archives/4554
http://ruotal.sakura.ne.jp/blog/?p=2743#more-2743
http://d.hatena.ne.jp/ssknot/20110802/1312279146