The problem when you upgrade your mobile to ICS from GB is that, with the Rooting toolkit (which is the best way to root your device) you won’t be able to root as you did for GB devices. In order to root we are doing something different here.
Prerequisites:
- Flashtool
- Kernel
- Rooting Toolkit
- Go to settings > Security > Mark ”Unknown sources”
- Settings > Developer options > Mark USB debugging
- Kernal
So what we are doing here is
- We are trying to flash the Kernel(4.1.A.0.562) with the help of Flashtool, download and install the software. Copy the FTF file and go to the Flashtool folder you extracted. Paste it inside the ‘firmware’ folder
- Launch the software and click the ‘Flash’ button (the button with the lightning icon.). Select the ‘Flashmode’ option and click OK.
- Once you are done with installing new kernel, restart your device. Rooting toolkit will let you root your device (make sure you are done with prerequisites 4 and 5).
- Rooting your mobile via Rooting toolkit is very simple. Click on the .bat file and follow the on-screen instructions. Your mobile may restart more than twice, never mind it. Once you see “You are done” in the command mode, disconnect your device and make sure you see Superuser icon in menu.
- Step 6 in prerequisites is purely optional and if you want to update your kernel after rooting you can repeat step 1 with 4.1.B.0.587 Kernel.
Summary of what we did so far.
As there is no direct way to root your ICS built Smartphone (xperia ray) we are taking a different approach in which we are flashing a kernel which enables us to root mobile in a single shot. That is we flash 4.1.A.0.562 kernel, do necessary steps in rooting and then revert it to latest kernel by flashing 4.1.B.0.587.At the end of the day we will have an ICS built Ray with latest kernel inside with SU permission.
Unroot
If you want to unroot your mobile, then after flashing kernel with 4.1.A.0.562 download this and run the .bat file after extracting it to some location. This script will remove the SU files and make it unrooted so that you could bring back the guarantee thing.
Personal Opinion
The ICS update that Sony provides us is no good and for people like me who are always into modifying ROMs and Kernels, ICS provided by Sony is nothing but a bunch of waste. So as of now you will be able to install Software’s like Root Uninstaller and remove all the crappy software’s that Xperia have pre-built. That itself would gain you more speed and performance. Other must haves are Titanium backup, SetCPU which can really enhance your smart phone performance.
In case some weird things happen or your device enters bootloop, Follow this!!!
Now what if you did something careless and your mobile is not switching ‘ON’. May be a bootloop might be an outcome for your mobile. There is an awesome software which Sony has developed named SUS (Sony Update Service). Just connect in your mobile pressing volume down button and connect the usb cable to your mobile simultaneously and connect to pc and SUS would discover your mobile and do a fresh update(ICS) and would restore your mobile. For me, switching on Bluetooth while doing multitasking take my ICS Ray to boot loop and every time I would use SUS to make it right.
PS:Only problem while upgrading in SUS is we wont get root access!



November 6, 2012 at 1:41 pm
Super! Thank you very much!
December 6, 2012 at 3:42 pm
Hello i am not able to flash the kernel using this method, after doing the flash using the flashtool it is diplaying that flash is successfull. However after i boot the device i see the same older 587 kernel version
December 9, 2012 at 9:03 am
I am having the same problem as Hemanth. The log suggests that the flash was successful but I’m still seeing .587 on my phone.
09/021/2012 16:21:29 – INFO – Selected ST18i_4.1.A.0.562_kernel.ftf
09/021/2012 16:21:29 – INFO – Preparing files for flashing
09/021/2012 16:21:29 – INFO – Please connect your device into flashmode.
09/021/2012 16:21:54 – INFO – Device connected in flash mode
09/021/2012 16:21:54 – INFO – Opening device for R/W
09/021/2012 16:21:54 – INFO – Reading device information
09/021/2012 16:21:54 – INFO – Phone ready for flashmode operations.
09/021/2012 16:21:54 – INFO – Start Flashing
09/021/2012 16:21:54 – INFO – Processing loader
09/021/2012 16:21:54 – INFO – Checking header
09/021/2012 16:21:54 – INFO – Flashing data
09/021/2012 16:21:57 – INFO – Loader : S1_Loader_Root_773f – Version : R4A066 / Bootloader status : ROOTABLE
09/021/2012 16:21:57 – INFO – Processing kernel.sin
09/021/2012 16:21:57 – INFO – Checking header
09/021/2012 16:21:57 – INFO – Flashing data
09/021/2012 16:21:59 – INFO – Ending flash session
09/021/2012 16:21:59 – INFO – Flashing finished.
December 16, 2012 at 12:39 pm
hi,
i cant see superuser icon, don’t know whether it rooted
16/022/2012 12:22:46 – INFO – <- This level is successfully initialized
16/022/2012 12:22:47 – INFO – Flashtool Version 0.9.9.0 built on 2012-11-13 22:53:30
16/022/2012 12:22:47 – INFO – You can drag and drop ftf files here to start flashing them
16/023/2012 12:23:01 – INFO – Device connected with USB debugging off
16/023/2012 12:23:01 – INFO – For 2011 devices line, be sure you are not in MTP mode
16/023/2012 12:23:01 – INFO – Selected ST18i_4.1.A.0.562_kernel.ftf
16/023/2012 12:23:01 – INFO – Preparing files for flashing
16/023/2012 12:23:01 – INFO – Please connect your device into flashmode.
16/023/2012 12:23:12 – INFO – Device disconnected
16/023/2012 12:23:57 – INFO – Device connected in flash mode
16/023/2012 12:23:58 – INFO – Opening device for R/W
16/023/2012 12:23:58 – INFO – Reading device information
16/023/2012 12:23:58 – INFO – Phone ready for flashmode operations.
16/023/2012 12:23:58 – INFO – Start Flashing
16/023/2012 12:23:58 – INFO – Processing loader
16/023/2012 12:23:58 – INFO – Checking header
16/023/2012 12:23:58 – INFO – Flashing data
16/024/2012 12:24:01 – INFO – Loader : S1_Loader_Root_773f – Version : R4A066 / Bootloader status : ROOTABLE
16/024/2012 12:24:01 – INFO – Processing kernel.sin
16/024/2012 12:24:01 – INFO – Checking header
16/024/2012 12:24:01 – INFO – Flashing data
16/024/2012 12:24:03 – INFO – Ending flash session
16/024/2012 12:24:03 – INFO – Flashing finished.
16/024/2012 12:24:03 – INFO – Please unplug and start your phone
16/024/2012 12:24:03 – INFO – For flashtool, Unknown Sources and Debugging must be checked in phone settings
16/024/2012 12:24:04 – INFO – Device connected in flash mode
16/025/2012 12:25:55 – INFO – Device disconnected
16/026/2012 12:26:21 – INFO – Device connected with USB debugging off
16/026/2012 12:26:21 – INFO – For 2011 devices line, be sure you are not in MTP mode
16/027/2012 12:27:28 – INFO – Device disconnected
16/027/2012 12:27:31 – INFO – Device connected with USB debugging off
16/027/2012 12:27:31 – INFO – For 2011 devices line, be sure you are not in MTP mode
16/029/2012 12:29:22 – INFO – Device disconnected
16/030/2012 12:30:28 – ERROR – Drivers need to be installed for connected device.
16/030/2012 12:30:28 – ERROR – You can find them in the drivers folder of Flashtool.
16/030/2012 12:30:32 – INFO – Device connected with USB debugging off
16/030/2012 12:30:32 – INFO – For 2011 devices line, be sure you are not in MTP mode
16/031/2012 12:31:24 – INFO – Device connected with USB debugging on
16/031/2012 12:31:25 – ERROR – Cannot identify your device.
16/031/2012 12:31:25 – INFO – Selecting from user input
16/031/2012 12:31:57 – INFO – Connected device : ST18
16/031/2012 12:31:57 – INFO – Installed version of busybox : N/A
16/031/2012 12:31:57 – INFO – Android version : / kernel version : / Build number :
16/031/2012 12:31:57 – INFO – Phone in recovery mode
16/031/2012 12:31:57 – INFO – Root Access Allowed
January 18, 2013 at 8:07 pm
thanks to all the participants and genius..
i have successfully root my phone and flash the kernel..
February 5, 2013 at 3:25 pm
how did u do it? which operating system r u using on your pc??? xp or 7? i have same problem i dont see any super user icon..
February 20, 2013 at 7:19 am
Hay please tell the instruction or give a message to rohithmar995@gmail.com
March 10, 2013 at 1:54 am
@Amar What you have done so far is flashing the kernal(with flashtool software),after that you shoudh use the zip file to root it.Only after that you will see the Superuser Icon.
@Hemant Never mid it..After flashing your kernal with the version which i said,go for rooting and let me know if u successfully completed it or not.
You guys can drop me a mail anytime hazil@androidtweak.in
March 23, 2013 at 9:04 am
Thank you boss. I’m done with following your instruction.
April 28, 2013 at 4:45 pm
Hi,
Thanks for the post. In this method will I lose my DRM keys in the phone?
Thanks,
SJ