Saturday, March 16, 2013

ANDROID


This guide is originally thought for Xperia mini ST15i. But much of the content is general, and can be applied to other Xperia phones.
I've collected various stuff (tutorials, guides etc. on unlocking the bootloader, rooting, custom ROM, custom kernels, etc) in one single place for easy finding.
I tried writing this guide to the best of my knowledge. I've invested some effort in creating it, so I hope you find it useful
I've used guides and tools from other people&devs, and all the credit goes solely to them.

I'm also open to any suggestions and/ or corrections. If I miss a ROM/ kernel, let me know!





For Android newcomers:
What is Bootloader, custom ROM, Kernel, CWM, Firmware, Flashing, ADB, Root ?
Follow this link: http://forum.xda-developers.com/show....php?t=1930844



Contents:

1. Unlocking/re-locking bootloader
2. Rooting/Un-rooting, ADB drivers, flashing firmware with flashtool
3. Flashing ROMs /CWM
4. Kernel listing, flashing a kernel
5. FOTA unbrick
6. Firmwares&basebands download for ST15i
7. Complete GB&ICS ROM listing for Xperia MDPI
8. TwEaking
9. Some theming links
10. misc. stuff
11. Reference links/credits






1. [Unlocking/re-locking bootloader]

Sony Ericsson made it possible to unlock the bootloader on some Xperia phones.
Unlike my former Xperia X8, wich I hard bricked trying to unlock it
You need to have an unlocked bootloader to install cyanogenMOD, the majority of custom ROM's, custom kernels.

Follow the official guide for best results:
Unlocking the boot loader | Sony Xperia


Unlock Bootloader via Test Point for n00bz tutorial thanX DragonClawsAreSharp@XDA


[Tutorial] Unlock Bootloader.Test Point | For Newbs | 26th June - xda-developers



[Re-locking bootloader] thanX to Blagus@XDA

NOTE: This method only works if you unlocked via the official way! Do not attempt this if you unlocked via TestPoint method!

So if you wanna do it, just follow the guide

[Tutorial] Relock bootloader! - xda-developers


Bootloader unlock tool [Official method]:

SE Bootloader Unlocking v1.6 tool thanX to quangnhut123




2. [Rooting/Un-rooting, ADB drivers, flashing firmware with flashtool]

Requirements/prepping:
Check your firmware by going to settings> about phone> firmware.
Look at the last set of numbers.

>You can't root .62 firmware. If you have .62 firmware, you need to downgrade it.
>4.0.2.A.0.42 & 4.0.A.2.368 firmwares are rootable. (Flashing 4.0.2.A.0.62 firmware removes root).
>Download and flash .ftf file below to downgrade. How to flash firmwares is explained further down.
>You don't need unlocked bootloader for rooting.
>You need to have ADB installed (explained further down).


For rooting ICS (.431 firmware) and non-rootable .62 firmware, follow this link: http://forum.xda-developers.com/show....php?t=1688980

It's also possible to root or download firmwares with XDA ROM Hub tool.


Flashing firmwares with flashtool:
http://androxyde.github.com/]

Install FlashTool.
Go to your flashtool folder, and place the .ftf file in the folder "firmwares".
Turn off your phone.
Now open flashtool.exe> click the thunder icon> select flashmode> adsp.sin should be selected> click ok. Wait till it asks you to connect the phone.
When it does, hold down the -DOWN- volume button while connecting, to enter flashmode (the LED should turn green).
The flashing will commence.
After that, disconnect and turn on your phone.



Installing ADB:
How To Set Up ADB/USB Drivers for Android Devices (Updated 12/13/11) - TheUnlockrTheUnlockr
OR
[HOW-TO] ADB for Dummies(How-To Learner's Guide) - xda-developers

[Rooting]:
If you have a rootable firmware and installed adb drivers, you're all set.
Download this .zip file and extract it to some folder.
http://forum.xda-developers.com/atta...6&d=1325678726
from original thread:
[04/Jan][ROOTING/UNROOTING] DooMLoRD's Easy Rooting Toolkit [v4.0](zergRush Exploit) - xda-developers

Connect your phone in USB debugging mode. To do that, go to settings> applications> development> turn on "USB debugging". Also turn on "unknown sources" in applications. You might also wanna tick "stay awake". So the screen stays on while USB connected.
Then run the runme.bat in the folder you extracted the zip.
It takes about a minute, two. If you get a positive message, then you have a rooted phone!
You can also try rooting with FlashTool.
Open FlashTool> advanced> root> force zergRush


[Un-rooting]: thanX to DooMLorD again
If you want to un-root your rooted phone, get this file:
http://forum.xda-developers.com/atta...3&d=1319922608
from this original Thread:
[HOW-TO] Root Phones w/ Android v2.2.x-2.3.x (zergRush Method) - Page 15 - xda-developers

It's the same as the rooting process. Connect phone in USB debugging mode, turn on unknown sources, and start the process. This time you just have to confirm SU request on the phone. So you might wanna go to settings> applications> check stay awake, so the phone won't go standby during the process.
Important: If you haven't rooted your phone with the method described here (easy rooting toolkit by DooMLorD), don't use this tool!


3. [Flashing ROMs]

First thing, copy ROM zip file onto your SDcard

If your bootloader is locked, and you're on stock kernel, make sure you have CWM recovery installed (explained further down)
Start the phone. When you see the logo getting brighter, keep pressing volume DOWN until recovery menu appears.

If you have unlocked bootloader, flash a custom kernel. That way you'll have CWM. Since all custom kernels come with CWM.
Start your phone. The LED will change color to signal you to press volume DOWN in order to enter recovery.

Touchscreen doesn't work in CWM. Move trough the menu with volume keys, select with home button, go back with back touch button.
Choose factory reset, wipe cache.
In some cases if the ROM won't boot you'll need to go advanced> select wipe dalvik.
After that choose install zip from sdcard and choose ROM zip.

NOTE: I strongly suggest that you do a nandroid backup before you flash a ROM or modify the system in any way.
That way you are able to restore the system if something should go wrong.

That's it

Make sure the your kernel is compatible with the ROM you're trying to flash.
For example cyanogenmod requires it's own kernel. Also GB kernels don't work with ICS/ JB and vice versa.

And make sure you're flashing a ROM that is actually intended for your device!

DO NOT make the mistake by installing a Xperia miniPRO ROM! They may SOUND similar, but they are not. If you do, hardware/touch controls may not work and bootloops may occur.
It's very tricky to repair, if possible at all.

Optional google apps download (maps, talk,gmail, synchronization etc.):

Gingerbread ROMs
Goo-inside.me Downloads - Downloading gapps-gb-20110828-signed.zip

ICS ROMs:
Goo.im Downloads - Downloading gapps-ics-20120429-signed.zip

Clockwork Recovery [CWM]:

All custom kernels from the ones available for the mini have CWM.

If you don't want to unlock your bootloader to flash a custom kernel, but you have root, you can install CWM via this app on google play:
Xperia CWM Auto-Installer

Or download XDA ROM HUB
Connect your turned on phone> Select tweak my phone> install CWM
DL: https://romhub.codeplex.com/

or try RecoverX, Recovery installer: [TOOL] [14/07/2012] RecoverX - Recovery installer for all xperia devices - xda-developers





Flashing a kernel:
Flashtool method:
Shut off phone> hold UP volume button while connecting to PC. LED lights BLUE indicating device is in fastboot mode.
Open FlashTool> thunder icon> fastboot mode> select kernel to flash. You flashed the kernel.

CMD command: fastboot flash boot boot.img
Where boot.img is the name of the kernel file.


5. [FOTA (Firmware Over-the-Air) unbrick guide] thanX to testadeferro@XDA
The thing with the bootloader is that when you unlock it, you loose the ability to upgrade via Sony Ericsson PC companion/SEUS.
What happened to me is, I thought I could update firmware directly with my phone if not via PC... It downloaded the software, and restarted to install it. And that's where it froze, and went black.
I had my heart in my throat when I tried to turn it on, and it didn't respond. I thought omg there goes another phone... (I lost my X8 due to messing with it's bootloader)
So it wouldn't turn on, but when I connected it to the PC, the green light went on... what a relief LoL! It was still alive, but bricked.
So I found this FOTA unbrick guide, which did the job
If you wanna know more about FOTA, go to wikipedia> http://en.wikipedia.org/wiki/FOTA_(technology)

If something like this should happen to you, download the *.ftf file from the link.
http://www.mediafire.com/?lc7inivdvwbjpov

Turn the phone off.
Unzip the file, place the ftf file in C:\Flashtool\firmwares (or wherever you installed flashtool), open flashtool click the flash button, and click ok (don't modify anything. It will ask you to connect the phone now. Take the turned off phone, hold the volume DOWN button while connecting. the led light should turn green, which indicates you're connected in flash mode. You should see the flashing process progress now. After it's completed, disconnect your phone and turn it on


6. [Firmwares/basebands for Xperia ST15i mini]
[4.0.2.A.0.42]

[4.0.2.A.0.62]

[4.0.A.2.368]

ICS [4.1.B.0.431]

ICS [4.1.B.0.587]

[FTF]Generic ST15i xperia mini ICS 4.1.B.0.431 1249-8388 R2I (Android 4.0.4) + root

Other Xperia phones go to this link: http://forum.xda-developers.com/show...24&postcount=3 (ThanX to someguyfromhell)
Makes no sense to assemble a new list when it's already existing


Basebands: [Basebands][ST15I] .64, .66, .70 baseband ftf files - xda-developers





7. [MDPI ROM listing]
Most ROMs today use the AROMA installer (http://forum.xda-developers.com/show....php?t=1461712).
All ROMs listed here are available for all MDPI Xperia devices. If a particular ROM is not available for all, I'll tag it with device name.

Currently counting a total of 69 ROMs. 25 GB ROMs, 33 ICS ROMs, 11 JB ROMs


---------------------------------------------------------------------------------------------GB ROM's---------------------------------------------------------------------------------------------

[discontinued/dead]Hybrom_v17_mdpi: http://www.mediafire.com/download.php?z3qo67qo5c5b56d
HybromV16[ST15i]: http://www.mediafire.com/download.php?siggf1ik303znvq

[LWW]GingerXtreme: http://forum.xda-developers.com/show....php?t=1896585

[LWW]PhoLeBulOuS RoM: http://forum.xda-developers.com/show....php?t=1923681

Windows Droid: http://forum.xda-developers.com/show....php?t=2002376

NeroDroid: [ROM][Mini/MiniPro/Active/LWW][Aroma] NeroDroid ROM Universal Edition ##RELEASED## - xda-developers

Flush78: [CUSTOM ROM] [Mini]&[Active] Flush78_v6.5 S Edition - 4.0.2.A.0.69 [14/apr/2012] - xda-developers

[ST15i]Clean'n'Tweaked: [ROM] [MINI] Xperia Mini ST15a/i Clean 'n' Tweaked - 4.0.2.A.0.69 - v4.1 (27/03/2012) - xda-developers

Spartan ROM: [ROM][ST15/ST17/SK17/WT19] Spartan Rom V2.0 [V6][Fugu][3G][KaK][Aroma][Beats] - xda-developers

HoneyBreadSandwich: http://forum.xda-developers.com/show...4#post31128634

PRO-X ROM: [ROM][Mini Pro][2.3.4][FINAL] PRO-X ROM v2.4 by Project Xperia - xda-developers

GingerCruzt-XS: [ROM][GB][LWW]GingerCruzt-XS 2.3.7 Official - xda-developers
ST15i port: [PORT][ROM][GB][Mini|Mini Pro]GingerCruzt-XS 2.3.7 Official - xda-developers

X-Royal (V13 only): [Xperia MDPI] X-royal Rom V13 & [ICS rom] X-royal v6 for lww - xda-developers
Direct DL link: ALL_v13_VIP.zip

HaSa HyperbeamNewEdition: http://forum.xda-developers.com/show....php?t=1870421

SonyDroid: [ROM][LwW/Mini/Mini Pro][2.3.4] SonyDroid ROM v6[Extra baterry life][ICS STYLE] - xda-developers

MIUI 2.3.16: [GB][MIUI 2.3.16][LwW/Mini/Mini Pro/Active] 22-6-2012 - xda-developers

[CM7 based ROMs]

X-Gamer: http://forum.xda-developers.com/show....php?t=1987661

MIUIv2 final edition: http://forum.xda-developers.com/show....php?t=1880962

LeWa OS: [MINI|MINIPRO|ACTIVE|LwW] Lewa OS v2 R4 Awesome 20-5-2012 - xda-developers

JoyOS: [MINI|MINIPRO|ACTIVE|LwW] JoyOS 1.2.2 {4-6-2012} - xda-developers

Beauty Sense: http://forum.xda-developers.com/show....php?t=1649130

Stornmix: [ROM][CM7.2][MINI] Stornmix 1.0.0 [08/04/2012] - xda-developers

FXP cyanogenmod 7.2:http://forum.xda-developers.com/show....php?t=1226715



[Locked/Unlocked bootloader]

Install a ROM on locked bootloader: [ZIP/CWM/ROOT] Post ROM Install Zip For Locked Bootloaders - xda-developers

X-MoD: http://forum.xda-developers.com/show....php?t=1906446

HaSa ROM: [ROM] GB [ "HaSa"] [ALL MDPI] [Super Fast][NEW LOOKS][stable][V3.1][16/8/12] - xda-developers
New thread: http://forum.xda-developers.com/show....php?t=1907900

Xperia UXP NXT: [NEWS 8][29.03.2012] Xperia UXP NXT new UI features [mini pro/mini/live] - xda-developers

Hyperbeam ROM: Hyperbeam ROM Gingerbread [fast][smooth][supercharged][Mini Pro][Mini] - xda-developers



---------------------------------------------------------------------------------------------ICS ROM's---------------------------------------------------------------------------------------------

Official Sony ICS: [ROM] Official Sony ICS 4.1.A.0.562 GENERIC Port - xda-developers

Flyme OS[WiP]: http://forum.xda-developers.com/show....php?t=2012666

FXP CM9.0: {Mini/MiniPro/Active/Live}[DEVELOPMENT] -FXP117- CM9.0 - FreeXperia Project - xda-developers

[CM9]Eternity_cm9: [ROM][LWW/MINI/MINIPRO/ACTIVE] Eternity_cm9 || 10.7.2012 || LWW V5 SOON - xda-developers

C.A.M.P.S+™|CM10ϟ|AOKPϟ|Paranoid?ϟ|MiUiϟ|Sonyϟ|: http://forum.xda-developers.com/show....php?t=1986715

jjHYBRID AOSP ROM [ROM Control]: http://forum.xda-developers.com/show....php?t=2018098

AOSP CX-Cracker: http://forum.xda-developers.com/show....php?t=1927015

ReVolutioN: http://forum.xda-developers.com/show....php?t=1726863

Xperia Ultimate HD™: http://forum.xda-developers.com/show....php?t=1991371

Pestanoid: http://forum.xda-developers.com/show....php?t=1905976

Clean 'n' Tweaked: http://forum.xda-developers.com/show....php?t=1973859

[ST15i]FOX XMP: http://forum.xda-developers.com/show....php?t=1925702

CX-ChotuXperia: http://forum.xda-developers.com/show....php?t=1927015

OptiMax: http://forum.xda-developers.com/show....php?t=1968412

XROM: [ROM][GB][ICS][XM/XMP/ACTIVE/LWW] XROM™ ICS RC6 ALL Device Xperia MDPI 2011[20-04-12] - xda-developers

WxP Windows Xperia Project: http://forum.xda-developers.com/show....php?t=2007693

DeliciousSandwich: http://forum.xda-developers.com/show....php?t=1935239

◢EXTREME™◣: http://forum.xda-developers.com/show....php?t=1924861

◢UNLIMITED™◣: http://forum.xda-developers.com/show....php?t=1834448

[LWW][AOSP]LiquidSmooth: http://forum.xda-developers.com/show....php?t=1953589

[LWW]Nova-ROM: http://forum.xda-developers.com/show....php?t=1911639

[LWW/XMP][CM9]Bionic: http://forum.xda-developers.com/show....php?t=1884904

[LWW]ICECRUZT-XS.Hyouka: http://forum.xda-developers.com/show....php?t=1733008

[LWW]ICSpeed: http://forum.xda-developers.com/show....php?t=1905205

[LWW]ProjectBravo: http://forum.xda-developers.com/show....php?t=1922102

HAPPY ICS: http://forum.xda-developers.com/show....php?t=1921705

SugarRush: http://forum.xda-developers.com/show....php?t=1969131

DarkAges SONY Engine: [ROM][ICS][MINI][ACTIVE][WIP] DarkAges SONY Engine 1.0.0 RC1 NOW REALESE !!!! opened - xda-developers

ROM_OctanE: http://forum.xda-developers.com/show....php?t=1925608

AOSP ICS - Polish Blood Project: [ROM 4.0.4] AOSP ICS - Polish Blood Project (SK15i/WT19i) - xda-developers

KangXperiaProject: [AOKP][ROM]{LWW | Mini | Active | MiniPro}KangXperiaProject (milestone 6)[9 JUL '12] - xda-developers

Paranoid Android: [Rom]MINI[Paranoid Android] V2 UPLOADED - xda-developers

ICS REMIX: http://forum.xda-developers.com/show....php?t=1874391

FlindTeers ROM: [ROM][Minipro/Mini/Lww/Active][ICS]FlindTeers v0.1 FAST & SMOOTH[CM9] - xda-developers

HaSa MIUI: [ROM] [ICS] HaSa MIUI 2.8.10 (v1) - xda-developers

Real MIUI[port]: [ICS][Mini/MiniPro/LWW/Active] Real MIUI r1 (2.8.17) ~ 20-August-2012 - xda-developers

[ST15i]Miuitronic: http://forum.xda-developers.com/show....php?t=1889126


[Locked/unlocked Bootloader ICS ROMs]

Install a ROM on locked bootloader: [ZIP/CWM/ROOT] Post ROM Install Zip For Locked Bootloaders - xda-developers


Xperia Blue Ice: http://forum.xda-developers.com/show....php?t=2030659

JellyMangoAIO: http://forum.xda-developers.com/show....php?t=2017119

[ST15i]Official 4.1.B.0.587 CWM flashable: http://forum.xda-developers.com/show....php?t=1902920

[SK17i]Official 4.1.B.0.587 CWM flashable: http://forum.xda-developers.com/show....php?t=1907994

Serenity: http://forum.xda-developers.com/show....php?t=1936672

Smultronic: [ROM] [ICS] [Mini] Smultronic v1.0 - 25/july/2012 - xda-developers

HyperbeamCream: http://forum.xda-developers.com/show....php?t=1899892

Xperia Ice Cream Pureness: [ROM][ICS] Xperia ice cream pureness[loced/unlocked BL][ALL MDPI][25/08/12] - xda-developers

S'perience ROM: http://forum.xda-developers.com/show....php?t=1888350

Real ICS: [ICS][Mini/MiniPro/LWW/Active] Real ICS r3.1 (based on 4.1.B.0.431) ~ 25-June-2012 - xda-developers

RealICS Lite: [ICS][Mini/MiniPro/LWW/Active] Real ICS Lite r2 [LOCKED/UNLOCKED BL] ~ 21-July-2012 - xda-developers

CyanogenTimeScape: [ROM][LOCKED/UNLOCKED BL] CyanogenTimeScape | XMP, XM, Active, LWW - xda-developers

Flush78 ICS Cold: [ROM][Mini] Flush78 ICS Cold v1 - 4.1.B.0.431 - 17/june/12 - xda-developers

ExMIUIv4 2.6.29: [MINI|MINIPRO|ACTIVE|LwW] ExMIUIv4 2.4.13-r1 [12/04/14] - xda-developers

MIUI 2.11.9: http://forum.xda-developers.com/show....php?t=1994075

MIUIv4 2.7.13: http://forum.xda-developers.com/show....php?t=1702952

DryDROID: [ROM][Mini/Mini Pro/Active/LWW][LOCKED/UNLOCKED BL]DryDROID V5 Based on stock ICS rom - xda-developers


--------------------------------------------------------------------------------------------- Jelly Bean ROMs ---------------------------------------------------------------------------------------------

[CM10/JB] MIUIv4: http://forum.xda-developers.com/show....php?t=1922228

Chotu Xperia-MIUI: http://forum.xda-developers.com/show....php?t=1995441

HASA MIUI: http://forum.xda-developers.com/show....php?t=1953185

BadBeanRom: http://forum.xda-developers.com/show....php?t=1942076

HyperbeamBean: http://forum.xda-developers.com/show....php?t=1918377

KangXperiaProject: http://forum.xda-developers.com/show....php?t=1829369

[SK17]PACman ROM: http://forum.xda-developers.com/show....php?t=1892040

AOSP Jelly-Crack: http://forum.xda-developers.com/show....php?t=1889699

JellyVanilla: [ROM][JB][Mini/MiniPro/Active/LwW] JellyVanilla 1 rev2 - [08/16/12] - xda-developers

JellySandwich: http://forum.xda-developers.com/show....php?t=1924402

JellyVanilla GX: http://forum.xda-developers.com/show....php?t=1921766

JellyMIUI: [ROM][JB][Mini/MiniPro/LwW] JellyMIUI 2.8.17 v1.0 - 08/24/2012 - xda-developers

[JB/CM10]PARANOIDANDROID: [LwW/Active/Mini/MiniPro][JB:CM10:HYBRID] PARANOIDANDROID [1.992, True HybridMode] - xda-developers

CyanogenMod10 Alpha by expeacer: [MINI/MINIPRO/ACTIVE/LwW][JB-4.1.1] CyanogenMod10 Alpha [12/07/24] - xda-developers

FXP CM10: {Mini/MiniPro/Active/Live}[DEVELOPMENT] -FXP132- CM10 - FreeXperia Project - xda-developers

HASA MIUI: http://forum.xda-developers.com/show....php?t=1972727

ParanoidAndroid: http://forum.xda-developers.com/show....php?t=1963556


>>>How to flash a ROM is explained under 3. [Flashing ROMs]



8. TwEaks

I placed all tweaks into my tweak collection HERE



9. Theming

Online ROM themeing[UOT kitchen]: UOT Kitchen

Some nice cyanogenMOD themes: 12 Awesome CyanogenMod 7 Themes [Android]

cyanogenMOD theme collection on XDA: [UPDATE 4-5-12] Theme Chooser Themes - Over 310 Themes! - xda-developers

Stock ROM themes: [MOD][v3,v4 Lite] DefaultThemes for Live/Mini/Mini Pro - xda-developers

Create a theme for HTC_IME mod keyboard: http://www.gimpsta.com/themer/


10. misc.

Auto Bloatware Remover/APK Installer: [TOOL]Auto Bloatware Remover/APK Installer For Xperia Mini & Mini pro & Active v0.5 - xda-developers

[GB/ICS]Quickpanel with brightness bar: [MOD][GB][v1.8] mini_mod [ICS] Quickpanel with brightness bar - xda-developers

Xperia mini overheating FiX:
http://androidforums.com/sony-ericss...ml#post3925489
or
http://forum.xda-developers.com/show....php?t=1387605


0 comments:

Post a Comment

 
;