Wednesday, September 30, 2015

rooting - How to unlock and root a Sony Ericsson Xperia Ray ST18i with 4.1.B.1.13


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



Answer




I downloaded


Eroot 1.3.4: Link


stopped all applications and started the eroot program


clicked on "-Root"



waited the 4 steps and there it was. (don't press again the "Root" button, that will remove root again)


you can check with the Root Checker App if you have root access, click on "Verify Root Access"


If you have root access you can install a CyanogenMod release shown in the following steps (source: mainly the CyanogenMod Wiki Howto starting from step "Obtaining the Bootloader Unlock Code"):


.


1. Download CyanogenMod



  1. Download the desired CyanogenMod and place it on your SDcard as ZIP file (currently the latest for ST18i is 10.0 which is named just cm-10-2013-NIGHTLY-urushi.zip )
    I chose cm-10-20131007-NIGHTLY-urushi.zip
    This takes some minutes...



  2. Download *Google Apps** for the CyanogenMod you selected (You have to install a 3rd-party app to get the Google apps, like Gmail, Play Store, and Youtube.)
    I chose gapps-jb-20121011-signed.zip


    .




2. enable fastboot:


Download Files for Fastboot (the same as the Xperia arc)




  1. Extract the file to a new folder naming say Unlock. (Do it neatly as you won't 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 your IMEI (The place where the website asks to paste it, enter in the exactly first 14 digits, not 15 digits) and after submitting your name, IMEI and email click Submit and note down the code they produce (copy that into a notepad).




  4. Enter in fastboot mode (Don't turn on the device, just press Volume up and connect USB cable simultaneously to your PC. A blue light should come up, otherwise something has gone wrong).





  5. Install the drivers for your device on your computer (from the unzipped drivers folder you downloaded)




  6. Go to the fastboot directory and Ctrl+Shift+Right Click (or on Windows 7 open a CMD shell end go into the fastboot directory)




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





  8. Type in
    fastboot.exe -i 0x0fce oem unlock 0x
    (use directly by your code that you have already copied in notepad)




You are done. When you start your phone you will have fresh factory reset but rooted Android.


.


3. install ClockworkMod:





  1. Install x-Parts from Google Play.




  2. After installation, open the app and select the Installs tab.




  3. Select Install CWM and follow on-screen instructions.





  4. You can Reboot into the recovery mode from there (press the button in the Tools Tab)




.


4. install boot.img:


Now you need to install the boot.img from the CyanogenMod Zip you downloaded:




  1. Connect your device into fastboot again with Vol-Up While plugging in the USB-Cable

    fastboot devices
    (Seeing your serial number means we know all is good.)




  2. Now type these commands:


    fastboot erase system -w
    fastboot erase boot




  3. then copy the boot.img in the same folder as fastboot.exe and type



    fastboot flash boot boot.img fastboot reboot




  4. Now press the Vol-Down Button to enter the Recovery Mode again and install your image




.


5. Install CyanogenMod in Recovery Mode:





  1. Once the device boots into the ClockworkMod Recovery, use the physical volume buttons to move up and down. On most devices, the power button is used to confirm your selection, although for some devices the power button is used as a "back" button to go up one level, in which case the home button is used to confirm the selection.
    Optional/Recommended: Select backup and restore to create a backup of the current installation on the Xperia Ray.




  2. Select the options to "wipe data/factory reset" and "wipe cache"



  3. Select "Install zip from sdcard"

  4. Select Choose the CyanogenMod zip from sdcard.

  5. Select the CyanogenMod file you placed on the sdcard. You will then need to then confirm that you do wish to flash this file.



  6. Install the Google Apps package as well


    Optional: Install any additional packages you wish using the same method.




Once the installation has finished, return back to the main menu, and select the reboot system now option. The Xperia Ray should now boot into CyanogenMod.


Whenever you want to re-enter the recovery-mode from now on (after installing ClockworkMod) you can always:



press the volume down key a few times when your phone boots up. The sony logo brightens at one point, press during that time



At first, I was stuck with an error at the end: I Cannot install any Custom ROMs on Xperia Ray ST18i: assert failed: getprop Status 7

but that is covered here now


No comments:

Post a Comment

samsung galaxy s 2 - Cannot restore Kies backup after firmware upgrade

I backed up my Samsung Galaxy S2 on Kies before updating to Ice Cream Sandwich. After the upgrade I tried to restore, but the restore fails ...