Tell me more ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I searched it a while and found some articles regarding rooting the Xperia Ray but I couldn't understand them easily. So I want help from you geeks who can give me the lighted way with simple steps to root my phone.

I found this article from xda-developers.com but it sais there, that I have to have an "unlocked bootloader" which I probably don't have if I haven't done anything with my phone yet, have I?
And it tells me to "wipe the dalvik-cache" which I don't see anywhere (probably after unlocking the bootloader?). I also heard something of "fastboot", but I didn't get what it is :-?

I already gct the IMEI by entering *#06# into my phone and got the developer unlock code from unlockbootloader.sonyericsson.com.

I have running the actual Ice-Cream 4.0.4 Build-Number 4.1.B.1.13, Kernel 2.6.32.9-perf


EDIT:
right now I am following the instructions from Sony's Instructions on how to unlock bootloader. Entering the code *#*#7378423#*#* shows, that the unlock is allowed. I am downloading the huge Android SDK right now ...

share|improve this question

1 Answer

Unlock bootloader

With a locked bootloader, one cannot install custom roms.To gain power over bootloader one should unlock it.

Now this is the most simple and easy way to get ye bootloader by following small simple steps.

Download Files for Fastboot

1.Extract the file to a new folder naming say Unlock.(Do it neatly as you wont get confused while entering into CMD).

2.Go to unlockbootloader.sonyericsson.com (We will do the unlocking in the official way).

3.Read the instructions carefully and click Continue/Proceed whatever they ask,note down ye IMEI (The place where the website ask to paste it,enter in exactly first 14 digits,not 15digits) and after submitting ye Name, IMEI and mail click Submit and note down the code they produce(Copy that in a notepad).

4.Enter in fastboot mode(Press Volume up and connect USB cable simultaneously and blue light should come up,otherwise something has gone wrong).

5.Go to fastboot directory and Ctrl+Shift+Right Click

6.Type in fastboot.exe -i 0x0fce getvar version and hit enter

7.Type in
fastboot.exe -i 0x0fce oem unlock 0x
(with your code that you have already copied in notepad) and hit Enter

You are done Note: Official method says about installing latest Android SDK package which is of more than 60MB and this method will do everything within 20MB via downloading the file which I mentioned at the beginning

Rooting

In order to root do the following.

Prerequisites:
1.Flashtool
2.Kernel
3.Rooting Toolkit
4.Go to settings > Security > Mark ”Unknown sources”
5.Settings > Developer options > Mark USB debugging
6.Kernal

A. 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.

B. Launch the software and click the ‘Flash’ button (the button with the lightning icon.). Select the ‘Flashmode’ option and click OK.

enter image description here

1.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).

2.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.

3.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

As there is no direct way to root your ICS built Smartphone (xperia ray) ,this is a different approach in which 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.

Source: 1,2

NOTE: I'm not responsible for any of your act. Do this at your own RISK

share|improve this answer

protected by Community May 8 at 17:28

This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.

Not the answer you're looking for? Browse other questions tagged or ask your own question.