Tutorial includes stock firmware .ftf files for Flashtool!
Tutorial fits for following phones :
These tutorials can also work on other 2011 Xperia phones.
Tutorial includes:
Yet to be added:
What will you need:
1. Android Dictionary
Android - Operating System for smartphones and tablets, based on Linux, built by Google, similar to Windows on PC.
Baseband - System of a smartphone, that controls the cellular radio systems(GSM, 3G, HSDPA etc).
Bootloader - Controls the booting process, makes sure that you will access User Interface.
BusyBox - Command line bridge, used to give commands to Android system. You will need app to send commands, it will use BusyBox to send the commands.
Brick - A phone, that you paid a lot for and now you can use it as brick, because it doesn't start up.
CWM/ClockworkMod Recovery - A specific program, that is used before booting to Android. Allows the user to make full backup of system and install custom ROMs, updates etc.
Downgrade - A job, that you have to do, when you want to get from newer firmware to older firmware.
Fastboot - Command Line Tool to edit Android filesystem. Unlike flashmode, this allows flashing unsigned partition images.
Flashmode - Phone mode, where you can freely flash any firmware to your phone via WotanServer or Flashtool.
Kernel - Bridge between hardware and Android, used for hardware information exchange and control hardware parts(CPU etc).
OTA/Over The Air - Updating your phone firmware directly from your phone via 3G or WiFi connection.
RAM - Random Access Memory, data storage area, where are currently in use apps and services. It is used, because it has really high data transfer rate compared to other possibilities(SDcard, hard disks etc).
ROM - Read Only Memory, data storage, where the data can only be read by system itself. It includes all data to start the Android. Many developers edit this ROM to change Android interface.
Root(ing) - Process, during which user gets access to Android system partition and files, giving the possibility to edit Android.
SEUS - Sony Ericsson Update Service, can be used in some cases to get back to newest stock firmware.
WotanServer - A paid application, which can be used to flash any stock firmware version with kernel to your phone.
2. Root your phone – only firmware 4.0.2.A.58 or older
Currently ZergRush method by DoomLord is the simplest way to do it.
NOTE: If you have newer firmware(4.0.2.A.0.62 or 4.0.2.A.0.69), check tutorial 2 first to downgrade your firmware.
Now you can access system files on your Android. Some file manager apps will require you to set a ticker to get access to the root, ES File Explorer is one of them.
3. Installing stock firmware and downgrading
In the newer firmware, the ZergRush exploit has been blocked. If you want to return to stock ROM or you want to get your phone rooted, you have to install (older) firmware to your phone, which can be done 2 ways:
Flashtool method
WotanServer method - Is paid method now!!
After that you can proceed with rooting your phone, which is explained in previous guide. Or just enjoy, that you just installed back stock ROM
4a. Installing ClockworkMod Recovery
NOTE: You must have stock and rooted phone!
NOTE: Most custom kernels already include Recovery.
What you need to do:
There is one more solution to install Recovery.
To enter the Recovery, turn off your phone, then turn it again, when Sony Ericsson logo appears, get ready. When screen gets brighter during Sony Ericsson logo, click Volume down button(I usually keep clicking it until I get into the recovery).
To move around in Recovery, use volume buttons to go up/down, Menu button to enter, Power button for back(in some cases, also back button works).
4b. Installing BusyBox
NOTE: Requires root.
NOTE: If you used zergRush method to root, BusyBox is automatically installed already and you can skip this.
5. Turning the "brick" into a smartphone
If you had unlocked bootloader and did OTA(Over the Air) update, then you probably ended up with a dead phone, aka brick. Don't worry, it is not completely bricked, still can be saved!
6a. Installing V6 Supercharger
Both can be used to improve the speed of your phone. Supercharger is meant to improve RAM, KAK is for kernel.
Also, it is recommended to NOT lock home to memory. Home screen will start faster, but at the same time, during other apps, less RAM will be available.
6b. Installing Kickass Kernelizer
This should improve your kernel, haven't tested myself yet.
7. Editing build.prop to optimize your phone's system
Build.prop consists of quite a lot lines, which set up, how some phone functions work. To edit the file, you need root rights and a program to explore root(ES File Explorer, Root Explorer etc).
Some more tweaks for build.prop, init.d etc:
http://forum.xda-developers.com/show....php?t=1289539
http://forum.xda-developers.com/show....php?t=1342241
8. Enabling WiFi Dual Band and Burst Mode
As the title already, this is to increase the internet speed for WiFi on your phone.
9. Unlocking bootloader
Unlocked bootloader is needed for most custom ROMs and for ALL custom kernels. It allows the booting system to be changed.
This can be done via official way or via test point method. Official way also removes DRM keys, which cannot be restored at all.
WARNING: You will lose warranty with this!
THE OFFICIAL METHOD - You lose DRM!!
THE TEST POINT METHOD
10. Installing custom kernel
Most custom ROMs will require a custom kernel, some of these include it already(CM, MIUI etc), other you need to find yourself(Hybrom). Installation is done via fastboot. First, you need to find a custom kernel, that will work on your phone. You can find these from Development section.
11. Installing custom ROM
Requirements: Unlocked bootloader, ROM .zip file downloaded.
Nothing difficult here.
12. Relocking bootloader
When you return to stock and/or need warranty back, you will need to relock bootloader. First install stock ROM and kernel and then relock bootloader, else you will have problems. Depending on the unlocking method, there are 2 ways to relock.
TEST POINT METHOD
Start S1 Tool and click Restore button. Should relock the bootloader automatically.
OFFICIAL METHOD
Might also work on Test Point method, but is not tested nor confirmed.
XX. Downloads
Stock firmwares, unrooted.
Big Thanks to benji.berg for collecting these firmwares!
XX. Frequently Asked Questions
Q. I just installed custom ROM, but phone is frozen at the logo!
A. Did you install custom kernel, which is confirmed to be working with that ROM? If you did everything correctly, it might take a while, because at first boot new caches are created.
Q. Flashtool won't install stock firmware, gives this-and-this error.
A. Make sure phone is in flashmode(turn off, hold down Volume DOWN, connect USB cable). If yes, make sure, that correct drivers are installed. If yes, post here with FULL log, and I will take a look.
Tutorial fits for following phones :
- Xperia Active (ST17)
- Xperia Mini (ST15)
- Xperia Mini Pro (SK17)
- Xperia Live with Walkman (WT19)
These tutorials can also work on other 2011 Xperia phones.
Tutorial includes:
- Android Dictionary
- Root the Phone
- Installing stock firmware and downgrading
- Install Busybox and CWM Recovery
- Unbricking your phone(after OTA update)
- Install Supercharger to optimize Memory and KAK to optimize Kernel
- Edit build.prop for additional optimizations
- Enable Dual Band and Burst Mode for Wifi
- Unlocking bootloader
- Installing custom kernel
- Installing custom ROM
- Relocking bootloader
- Downloads
- Frequently Asked Questions(FAQ)
Yet to be added:
- You tell me.
What will you need:
- Stock ROM on your Xperia and USB cable
- PC Companion installed on your computer (for base drivers)
- FlashTool(Flashtool topic and download)
- Enable "USB DEBUGGING" from Menu -> Settings -> Applications -> Development
- Enable "UNKNOWN SOURCES" from Menu -> Settings -> Applications
- Set Connectivity mode to MSC from Menu -> Sony Ericsson -> Connectivity -> USB Connection Mode
- Root Explorer or any file manager that provides access to root (I personally used ES File Explorer)
1. Android Dictionary
Android - Operating System for smartphones and tablets, based on Linux, built by Google, similar to Windows on PC.
Baseband - System of a smartphone, that controls the cellular radio systems(GSM, 3G, HSDPA etc).
Bootloader - Controls the booting process, makes sure that you will access User Interface.
BusyBox - Command line bridge, used to give commands to Android system. You will need app to send commands, it will use BusyBox to send the commands.
Brick - A phone, that you paid a lot for and now you can use it as brick, because it doesn't start up.
CWM/ClockworkMod Recovery - A specific program, that is used before booting to Android. Allows the user to make full backup of system and install custom ROMs, updates etc.
Downgrade - A job, that you have to do, when you want to get from newer firmware to older firmware.
Fastboot - Command Line Tool to edit Android filesystem. Unlike flashmode, this allows flashing unsigned partition images.
Flashmode - Phone mode, where you can freely flash any firmware to your phone via WotanServer or Flashtool.
Kernel - Bridge between hardware and Android, used for hardware information exchange and control hardware parts(CPU etc).
OTA/Over The Air - Updating your phone firmware directly from your phone via 3G or WiFi connection.
RAM - Random Access Memory, data storage area, where are currently in use apps and services. It is used, because it has really high data transfer rate compared to other possibilities(SDcard, hard disks etc).
ROM - Read Only Memory, data storage, where the data can only be read by system itself. It includes all data to start the Android. Many developers edit this ROM to change Android interface.
Root(ing) - Process, during which user gets access to Android system partition and files, giving the possibility to edit Android.
SEUS - Sony Ericsson Update Service, can be used in some cases to get back to newest stock firmware.
WotanServer - A paid application, which can be used to flash any stock firmware version with kernel to your phone.
2. Root your phone – only firmware 4.0.2.A.58 or older
Currently ZergRush method by DoomLord is the simplest way to do it.
NOTE: If you have newer firmware(4.0.2.A.0.62 or 4.0.2.A.0.69), check tutorial 2 first to downgrade your firmware.
- Download the attached file from link above, extract it to a folder using any .zip manager, for example 7-Zip.
- Connect Phone to USB.
- Execute "RUNME.bat" from the extracted folder.
- Follow the instructions in the window.
- The phone will be rebooted, after reboot you will have Superuser app and your phone is rooted!
- Don't forget to thank DoomLord on the original link in the credits
Now you can access system files on your Android. Some file manager apps will require you to set a ticker to get access to the root, ES File Explorer is one of them.
3. Installing stock firmware and downgrading
In the newer firmware, the ZergRush exploit has been blocked. If you want to return to stock ROM or you want to get your phone rooted, you have to install (older) firmware to your phone, which can be done 2 ways:
- Flashtool, you need to find correct files yourself.
- WotanServer, you have to register a free account.
Flashtool method
- Download the correct firmware file for your phone at the bottom of the post.
- Make sure Flashtool is installed.
- Place downloaded firmware file(.ftf format) in Flashtool\firmwares(by default C:\Program Files\Flashtool) folder.
- Start Flashtool.
- Click the lightning button and choose Flashmode.
- Firmware should appear there, if you have it in correct folder. Choose it.
- Turn off your phone, connect USB cable to computer, then press Volume Down button and connect USB cable to your phone.
- Flashtool should detect your phone and starts flashing. Follow the instructions.
- When it says „Flashing completed“, unplug your phone and turn it on.
WotanServer method - Is paid method now!!
- Go to WotanServer.com, make free account and download the client.
- Start the client.
- It wants to find your phone. Turn off your phone, then connect USB cable to computer, pressVolume Down button and connect USB cable to your phone.
- WotanClient detects your phone automatically.
- Click Advanced Settings and choose firmware (4.0.2.A.0.58 or older if you want to root).
- For region, it isn’t a big deal, which one you choose, although picking own one is easier.
- Next, enter your free account details(e-mail address and password) and click Update.
- Click Next and it will download proper firmware files and automatically install them.
- When it’s ready, unplug your phone and turn it on.
After that you can proceed with rooting your phone, which is explained in previous guide. Or just enjoy, that you just installed back stock ROM
4a. Installing ClockworkMod Recovery
NOTE: You must have stock and rooted phone!
NOTE: Most custom kernels already include Recovery.
What you need to do:
- Go to this link: http://forum.xda-developers.com/show....php?t=1346190 and download SE Tweak Installer.
- Connect your phone via USB cable.
- Start SE Tweak Installer.
- Pick CWM, which is for your phone.
- Click Install and wait. When it is ready, CWM is installed.
There is one more solution to install Recovery.
- Go to Android Market/Play Store.
- Search for Xperia CWM Auto-Installer.
- Download the app to your phone and start it.
- Follow the instructions to install the Recovery.
- And enjoy having a recovery.
To enter the Recovery, turn off your phone, then turn it again, when Sony Ericsson logo appears, get ready. When screen gets brighter during Sony Ericsson logo, click Volume down button(I usually keep clicking it until I get into the recovery).
To move around in Recovery, use volume buttons to go up/down, Menu button to enter, Power button for back(in some cases, also back button works).
4b. Installing BusyBox
NOTE: Requires root.
NOTE: If you used zergRush method to root, BusyBox is automatically installed already and you can skip this.
- Go into Play Store(Android Market) and search for BusyBox Installer.
- Download it and start it.
- Follow the instructions and install will be successful.
5. Turning the "brick" into a smartphone
If you had unlocked bootloader and did OTA(Over the Air) update, then you probably ended up with a dead phone, aka brick. Don't worry, it is not completely bricked, still can be saved!
- Download UnbrickingXperia2011.zip file from this post below.
- Unpack the .zip file and place the .ftf file in Flashtool\firmwares folder.
- Open Flashtool.
- Get your phone to flashmode, make sure it is turned off, press down Volume DOWN button and connect USB cable.
- In Flashtool, click the lightning button, pick Flashmode and choose the Xperia_2011_FreeXperia_ALL.ftf file.
- Let Flashtool finish.
- Install stock firmware and kernel to your phone.
- Remove USB cable from your phone and start your phone.
- Try not to brick it again, less problems for you.
6a. Installing V6 Supercharger
Both can be used to improve the speed of your phone. Supercharger is meant to improve RAM, KAK is for kernel.
- Install Script Manager.
- Download Supercharger from this topic, http://forum.xda-developers.com/showthread.php?t=991276, make sure to download the "V6_Supercharger_for_Android-update8.sh.txt" file.
- Place the file on root of your SDcard, that is the main folder on SDcard(where everything else is).
- Open Script Manager, start the V6 Supercharger as normal. You can choose 0 as scrolling speed.
- Pick the choice, that you like. I have used Agressive 1 personally(enter the number infront).
- When done setup, just exit from the menu (no.17). The result file named 99Supercharger will be generated at /data/ (or in /system/etc/init.d/99Supercharger if you have init.d mod)
- (If you use init.d mod, skip this) Open Script Manager, select the /data/99Supercharger.sh, and when the properties window pops up, tag it as "su" and "boot") The ScriptManager will load it at startup and as root, otherwise it will fail.
- To test if the script is loaded or not, launch again the setup script(repeat step 4-5) You will find a text like "Launcher is.. xxxxxxx" if it is written as "weak", the script is not running yet. If it is "hard to kill" it is running correctly.
Also, it is recommended to NOT lock home to memory. Home screen will start faster, but at the same time, during other apps, less RAM will be available.
6b. Installing Kickass Kernelizer
This should improve your kernel, haven't tested myself yet.
- Go to http://forum.xda-developers.com/show...postcount=7649 and download the file.
- Open it with Script Manager.
- Follow the instructions, I/O tweak is optional, I don't recommend it at this time. Pass when asked.
- Press I for Install.
- (If you use init.d mod, skip this) Open ScriptManager, select the /data/98KickAssKernel.sh, when the properties window pops up, tag it as "su" and "boot") The Script Manager will load it at startup and as root, otherwise it will not work properly.
- Reboot your phone.
- To verify, run it again after reboot and when it offers Verify, choose it.
7. Editing build.prop to optimize your phone's system
Build.prop consists of quite a lot lines, which set up, how some phone functions work. To edit the file, you need root rights and a program to explore root(ES File Explorer, Root Explorer etc).
- Making a NANDroid backup in Recovery first is a good idea, because if you make a mistake in build.prop file, and phone does not boot into Android, you can still restore it.
- Start your Explorer app and go to directory \system
- Open build.prop file with a text editor.
- Go with your PC to this post: http://forum.xda-developers.com/show...51&postcount=1. There are also other tweaks, you can try if you want(you might need init.d script for your ROM for init.d tweaks).
- Read the first part of the post, there are some build.prop tweaks, choose which ones you want.
- Make modifications in your build.prop file, save it and restart your phone.
- Changes should take effect, if you have made a mistake, edit the file again or restore the backup, depending on the situation.
Some more tweaks for build.prop, init.d etc:
http://forum.xda-developers.com/show....php?t=1289539
http://forum.xda-developers.com/show....php?t=1342241
8. Enabling WiFi Dual Band and Burst Mode
As the title already, this is to increase the internet speed for WiFi on your phone.
- Open Root Explorer, go to \system\etc and open file named tiwlan.ini with Text Editor.
- Edit these lines:Code:
HT_Enable=0 BurstModeEnable = 0 WiFiAdhoc = 0
Code:HT_Enable=1 BurstModeEnable = 1 WiFiAdhoc = 1
Code:Single_Dual_Band_Solution = 0
Code:Single_Dual_Band_Solution = 1
- Reboot your phone.
9. Unlocking bootloader
Unlocked bootloader is needed for most custom ROMs and for ALL custom kernels. It allows the booting system to be changed.
This can be done via official way or via test point method. Official way also removes DRM keys, which cannot be restored at all.
WARNING: You will lose warranty with this!
THE OFFICIAL METHOD - You lose DRM!!
- Go to http://unlockbootloader.sonymobile.com.
- Enter service menu, open keypad and enter *#*#7378423#*#*.
- Service Info - Configuration, Bootloader Unlock Allowed: Yes/No. If it says Yes, continue. If it says No, do not continue, because it will not work.
- On the website, click "Start Unlocking the bootloader".
- In the text, there are instructions, what you need to do. Also there are drivers that are needed for this process. Follow the instructions.
- Install the drivers, then click Continue.
- Enter your IMEI, name and e-mail. Leave out the last number from the IMEI.
- You get a code, leave the website open, you will need this code.
- Turn off your phone, then connect USB cable to your PC, hold down Volume UP button and connect USB cable to your phone. Blue LED should light up.
- You will be asked for drivers. Point to the usb_driver folder where you placed the android_winusb.inf-file, and select the Android Boot loader Interface-file.
- Open command prompt, first enter thisCode:
cd C:\...\android-sdk\platform-tools
Code:fastboot.exe -i 0x0fce oem unlock 0xKEY
- Bootloader is now unlocked.
THE TEST POINT METHOD
- Go to this topic http://forum.xda-developers.com/show....php?t=1285285.
- Follow the instructions to unlock bootloader.
10. Installing custom kernel
Most custom ROMs will require a custom kernel, some of these include it already(CM, MIUI etc), other you need to find yourself(Hybrom). Installation is done via fastboot. First, you need to find a custom kernel, that will work on your phone. You can find these from Development section.
- Make sure your bootloader is unlocked, enter service menu(*#*#7378423#*#*), Service Info, Configuration, if it says Bootloader unlocked: Yes, then it is unlocked.
- Make sure fastboot drivers are installed. These should come with Android SDK.
- Download the kernel you want. You will need a .img file, which is mostly inside a .zip file.
- From the downloads section, download kernel installation package and extract the folder.
- Place the .img file inside the folder. If it's name isn't boot.img yet, rename it to boot.img.
- Place your phone in fastboot. Turn it off, connect USB cable to your computer, hold Volume UP button and then connect USB cable to your phone. Blue LED should light UP.
- Double-click on the flash.cmd file. It will start fastboot automatically and install the kernel.
- When finished, disconnect the cable and turn on your phone.
11. Installing custom ROM
Requirements: Unlocked bootloader, ROM .zip file downloaded.
Nothing difficult here.
- Place the downloaded .zip file to the root of your SDcard.
- Install the custom kernel, explained in previous tutorial.
- Enter Recovery(while booting, when screen gets brighter, press Volume Down button until phone enters Recovery).
- Make factory reset, wipe cache partition and clear Dalvik Cache(under Advanced).
NB! Do NOT make format /system, because some ROMs require files from system folder and installation will not finish if files are not available. Then you have to install stock ROM again. - Choose install zip from sdcard, pick the downloaded .zip file on your SDcard.
- Wait for it to finish and reboot your phone.
12. Relocking bootloader
When you return to stock and/or need warranty back, you will need to relock bootloader. First install stock ROM and kernel and then relock bootloader, else you will have problems. Depending on the unlocking method, there are 2 ways to relock.
TEST POINT METHOD
Start S1 Tool and click Restore button. Should relock the bootloader automatically.
OFFICIAL METHOD
Might also work on Test Point method, but is not tested nor confirmed.
- Make sure you have Flashtool installed.
- From the downloads section, download Xperia_Relock_Bootloader.zip file.
- Extract the package, there is a .ftf file.
- Flash the .ftf file with Flashtool.
- Bootloader is locked again
XX. Downloads
Stock firmwares, unrooted.
Big Thanks to benji.berg for collecting these firmwares!
- Xperia Mini (ST15i)
4.0.2.A.0.42 - http://www.mediafire.com/?uboo3lrdxnoeldn
4.0.2.A.0.62 - http://www.mediafire.com/?c9m0pe241akm4cz - Xperia Mini Pro (SK17i)
4.0.2.A.0.42 - http://www.mediafire.com/?hevz3x5w9pqt24q - Xperia Active (ST17i)
4.0.2.A.0.42 - http://www.mediafire.com/?3zm7iss0sid94wr - Xperia Live with Walkman (WT19i)
4.0.2.A.0.42 - http://www.mediafire.com/?5ahb85ir7ni0i06
4.0.2.A.0.58 - http://www.mediafire.com/?waxk5op8e5im9ku
4.0.2.A.0.62 - http://www.mediafire.com/?y20899iwdxs9a5s - Xperia Ray (ST18i)
4.0.2.A.0.42 - http://www.mediafire.com/?0oi9t2m0z5p8a9y
4.1.A.0.562 (ICS) - http://www.multiupload.nl/0IPWE7LCEO - Xperia Arc (LT15i)
4.0.2.A.0.42 - http://uploaded.to/file/vmfu4czg
4.0.2.A.0.62 - http://uploaded.to/file/lpdhtmqi/LT1...al%20World.ftf - Xperia Arc S (LT18i)
4.0.2.A.0.42 - http://www.mediafire.com/?9mz2rhdouu6ggtk
4.0.2.A.0.62 - http://uploaded.to/file/gsfx4w60
4.1.A.0.562 - http://eddy.uni-duisburg.de/bin4ry/L....0.562_NCB.ftf - Xperia Neo (MT15i)
4.0.2.A.0.42 - http://www.mediafire.com/?4qy6vd4ndbfy8wy
4.0.2.A.0.62 - https://rapidshare.com/#!download|16...1246-9107_.ftf - Xperia Play (R800i)
4.0.2.A.0.42 - http://www.mediafire.com/?cne2yvrtcu3ccvn - Kernel Installation Package for Xperia phones - http://www.mediafire.com/?c0u0kf0ud5jvkhk
- Unbricking Xperia 2011 Package - http://www.mediafire.com/?s166qsg8qaaxc43
- Relocking Xperia Bootloader Package - http://www.mediafire.com/?1an09qoq5yq4b5y
XX. Frequently Asked Questions
Q. I just installed custom ROM, but phone is frozen at the logo!
A. Did you install custom kernel, which is confirmed to be working with that ROM? If you did everything correctly, it might take a while, because at first boot new caches are created.
Q. Flashtool won't install stock firmware, gives this-and-this error.
A. Make sure phone is in flashmode(turn off, hold down Volume DOWN, connect USB cable). If yes, make sure, that correct drivers are installed. If yes, post here with FULL log, and I will take a look.
0 comments:
Post a Comment