Remove All Ads from XDA
Thread Deleted Email Thread
Prev Previous Post   Next Post Next
UPDATE: Original thread was created by hansip87, thank for the great work, appreciate his time collecting the guides
UPDATE: Ok to honour chiefy009 original post about collection of mods that being used here, Please go here to appreciate his time collecting the mods. Without him, this tutorial won't be complete and i won't find out that Arc's file system is directly applicable to our Ray. Say thanks to him, and hopefully this tutorial can continue to help you all.

Hello, just want to help other noobie who owns Xperia Ray (or Arc/Neo/Pro - similar device) to have a step-by-step optimizing the Stock ROM of Ray. Optimizing means that you as user have more efficient and faster experience with your Xperia. This is the summary of steps, explained later:
  1. Root the Phone
  2. Install Busybox and CWM Recovery
  3. Enable Dynamic Brightness on Ray
  4. Install Quick Panel Setting to Statusbar
  5. Install Reboot Menu + Scrolling Cache Disabled + 30 steps Volume Stepping
  6. Remove Bloatware from your Phone
  7. Move big games/apps to SD
  8. Install Supercharger to optimize Memory and KAK to optimize Kernel
  9. Edit build.prop to Optimize Ray
  10. Enable Dual Band and Burst Mode for Wifi
  11. (Additional) Recalibrate Your Battery
  12. *WARNING For Advanced User Only* Unlock Bootloader and Apply OC+UV kernel

Basic Requirement:
  1. Stock Ray(kernel 42 or lower)and cable
  2. PC Companion installed on the computer (for Ray base driver get installed)
  3. FlashTool(
  4. enable "USB DEBUGGING" from Menu -> Settings -> Applications -> Development
  5. enable "UNKNOWN SOURCES" from Menu -> Settings -> Applications
  6. set Connectivity mode to MSC from Menu -> Sony Ericsson -> Connectivity -> USB Connection Mode
  7. Root Explorer app or any app like it.

This tutorial is based on my experiences on my phone fw.42, but still apllicable for .62, except step 1 needs to have different implementation. Read here

1. Root the Phone

External link: {Guide} How To Root Xperia™ Smartphone Running ICS ( Ice Cream Sandwich) or GB ( Gingerbread )
GB Version:
This is the base of all modification of the Stock ROM. This is to enable you to insert anything to your phone system file. Currently ZergRush method by DoomLord is the simplest way to do it. So let's go:
  1. download the attached file from link above, extract it using winzip/winrar
  2. Connect Phone to USB.
  3. execute "RUNME.bat" inside the folder you extracted at no 1.
  4. follow the instruction that is being displayed.
  5. The phone will be rebooted and voila it's rooted!
  6. Don't forget to thank DoomLord on the original link above

ICS Version:
Follow this thread for ics 4.0.3, - Build 4.1.A.0.562: thanks to asertyio!
YOU CAN'T ROOT 4.0.4 (4.1.B.587) DIRECTLY If you are on ics 4.0.4 Build 4.1.B.0.431 or Build 4.1.B.0.587: Follow this guide [GUIDE] Rooting Xperia 2011 devices with ICS(4.1.B.0.587)

2. Install Busybox and CWM Recovery
This one is for enabling the phone to have a utility to cleanup and update your Ray with some of the great mod here. Busybox is a basic tool for embedded device to run Desktop OS-like command on your phone. Here are the steps:
  1. Install BusyBox Free from STEricsson from here, run and install the busybox from there.
  2. Download the SE Tweak Installer from link above
  3. Connect your Phone to USB
  4. Run the SE Tweak Installer, select the device type to the Ray one (or depends on your other Xperia type)
  5. Check Auto Reboot if you want to test right away.
  6. Press Install and follow the process.
  7. Give thanks to quangnhut123 at the above link

Note 1:
To access CWM Recovery, turn off your phone, and reboot. Once the Sony Ericsson logo appears, quickly spam the vol- button until the CWM Recovery displayed. access the CWM recovery with Home button for OK, Return button for returning to parent menu, vol+ vol- to access the menu.

Note 2:
There are Alternative method for BusyBox to be installed. You can do it by installing BusyBox installer from Market or using Titanium Backup and download it from "Problems?" button at the bottom of TB.
You can use x-Parts [CWM Installer] made by pvyParts. Download link from play store: x-Parts

ICS Version:
Still the same , but if you had problem of charging offline, try to replace charger file with the following thanks to pvyparts!

3. Enable Dynamic Brightness on Ray (original:
This is to enable Dynamic Brightness on Xperia Ray. 4 Me this is not really a big deal, but it is a nice feature that SE should have applied in the first place. It is to reduce brightness on dark places automatically. Here are the steps:
  1. with Root Explorer, open /system/etc/ in Text Editor (press and hold the file and Open the Text Editor). Don't forget to mount as R/W first.
  2. change line

    echo 0,0,0,0 > $dev/lcd-backlight/als/params


    echo 3,2,2,0 > $dev/lcd-backlight/als/params

  3. Save the changes
  4. If you want to improve, use the available at link above and replace to als_curve.
  5. Make sure als_curve and get correct permissions (rw-r--r--)
  6. Don't forget to thanks arcatarc

Note: This mod does not have instantaneous effect. To seen it, please use a Browser and do a blank white page to test if the script are working or not. To test it, close and open the upper right part of the phone.

ICS Version:
No Changes. Still the same

4. Install Quick Panel Setting to Statusbar (original:
Cluttered with widget to turn off/on settings? Wishing to have Statusbar widget instead? Download from the above or.. I have new and my own rebuild version from sj8023ld's mod. Please go here to download my version (2 More Brightness selection toggle)

ICS Version:
Go here to install the ICS version. Install the SystemUI package - by hansip87
Go here to install TABBED Xperia T SystemUI, Small QP and STOCK Bat - by adulfo

5. Install Reboot Menu + Disable Scrolling Cache + 30 Media Volume steppings (original:
Please read and download from here

NOTE: Step 4 and Step 5 is already merged into my mod. Please download from here to have them all and another mod you might need.

ICS Version:
Go here to install the ICS version. Install the Part A and Part B together.

6. Remove Bloatware from your Phone (original:
Don't need some of the Bloatware from your Phone? you can check out the list above. There are multiple option to uninstall, with Titanium Backup or straight through Root Explorer, delete safe apk's from the /system/app. Your choice.
Say Thanks to constin for the list.

But Oh! some apk won't uninstall after reboot! Help?!
There are some apps that stays on the system even after we remove it. Now here's how to do it:
  1. Remove the apk's with Titanium Backup or Root Explorer.
  2. Browse to /etc/customization/applications and /etc/product/applications with Root Explorer. This is the storage of additional bloatware from the distributor that will get installed on next reboot. Delete any of the unneeded apps here.
  3. You're done.

ICS Version: Still the same

7. Move Big apps to SD(original:
Surely some games eats up your valuable space on the phone. Here are the steps to move them to your SD.

*WARNING* if you move non-game app to SD, make sure the app:
  1. does not have widget feature
  2. does not need to be running at startup
  3. does not nedd root access

Here are the basic steps:
  1. go to Menu -> Settings -> Applications -> Manage Applications
  2. select the SD card tab, choose one of the apps
  3. press Move to SD card.
  4. if failed, try again to move it. Usually happened because of unclean SD card from previous usage.

But there are some games that for some reasons, developer restricts it to be on phone memory. Well you can move it though by your self. Here are the steps:
  1. Connect Phone to USB
  2. go to Google SDK folder or FlashTool folder
  3. Open command line that points out to the place where adb.exe exists
  4. type (without semicolon) "adb shell pm setInstallLocation 2"
  5. Do the basic steps above, move the games to SD
  6. back to the computer, type "adb shell pm setInstallLocation 0" to restore.
  7. Say thanks to Henchman for the tip at the above link

Note: explanation for parameter on adb shell pm setInstallLocation:
2 is for SD, 1 is for internal memory, 0 is for Auto

ICS Version: Still the same

8. Apply Supercharger to improve memory management and KAK to optimize Kernel(original:
Irritated by Home Launcher not responding quickly after playing games or browsing web on 8 tabs? Install Supercharger to optimize your phone.

Basically there are two major steps to do it:
  1. Setup Supercharger to your liking, run with Script Manager. Don't assign the script as startup boot script!
  2. Run Supercharger result script at startup of phone. Can be achieved with Script Manager from Market or with init.d mod from here: say thanks to iridaki!

You can read here too for help( Here is my short version of steps:
  1. Download the first Supercharger setup script from the first link on this matter above ( it is currently named as, put it on your SD card
  2. Install and open script manager, Find the downloaded file and run the script as normal one
  3. When asked the first time at making setup of Supercharger (speed of scrolling), i put 0 as choice (you can experiment here too, just cutting it short for you now)
  4. After that, list menu pops up. When selecting from Supercharger menu, choose the Aggressive setting 1 (there are 6-8settings? i haven't tried it all, but the Aggresive 1 is adequate)
  5. When done setup, just exit from the selection menu (no.17). The result file named 99Supercharger will be generated at /data/ (or in /system/etc/init.d/99Supercharger if you created /system/etc/init.d/ folder from iridaki's mod)
  6. (If you use init.d mod from iridaki, skip this one) Open ScriptManager, select the /data/, 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.
  7. To Test if the value is loaded or not, launch again the setup script(repeat step2-4) 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.
  8. say thanks to chiefy009 for his finding too here (
  9. say thanks to zeppelinrox @ for the Supercharger script, The most awesome script for Android
  10. Additional thanks to dreezz for the correction of the location of 99Supercharger file (it depends on the whether the init.d mod aready installed or not) thanks mate!

UPDATE: This one is for running KAK (Kick Ass Kernelizer) Steps are:
  1. Download from here:
  2. Run the script with Script Manager
  3. Just follow the instruction, I/O Tweak is optional, and i don't recommend it at this time. Please pass when asked.
  4. Press I for Install
  5. (If you use init.d mod from iridaki, skip this one) Open ScriptManager, select the /data/, 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.
  6. Reboot
  7. To verify, run again after reboot, and when offered choice to Verify, please Verify.

Note 1: Still failed? Please do recheck first and if all else fails, do the following:
  • Unsupercharge first (do it by running and select the UnSupercharger from the menu).
  • add this string into /system/build.prop at the last line by root explorer.


  • Give one empty line on the last line to prevent unwanted behaviour.
  • Save, and reboot.
  • thanks to coolkaas for the tip!

ICS Version:
You need to install services.jar to fix the ADJ issue. Go here. Supercharger for ICS is named V6 Supercharger version 9 RC 8.2. Download here and rename the .sh.pdf filename to .sh.

9. Edit build.prop to Optimize Ray system parameter(original:
This is the collection of all the additional parameter that can be added to Xperia Ray too. Please read from original link and do the following for step by step action:
  1. Open Root Explorer, go to /system/build.prop.
  2. Mount R/W first, then Open in Text Editor
  3. Insert some of the line from the link above. Don't forget to have a blank new line at the last paragraph to prevent unwanted behaviour. This is what i added to my phone:



    net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960
    net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960
    net.tcp.buffersize.umts=4096,87380,256960,4096,163 84,256960
    net.tcp.buffersize.gprs=4096,87380,256960,4096,163 84,256960
    net.tcp.buffersize.edge=4096,87380,256960,4096,163 84,256960

  4. Reboot
  5. Because of so many sources about this one, i put some of additional link below and please thanks the ones you use the most!

ICS Version:
There are some tweaks that in particular can increase the ICS memory management. Thanks to flak0 you can have less lag with ICS ROM
How? Add/Replace these Lines on /system/build.prop
dalvik.vm.dexopt-flags=m=y,v=n,o=v,u=n         //Add This + Remove if Exists
dalvik.vm.execution-mode=int:jit                     //Add This + Remove if Exists
windowsmgr.max_events_per_sec = 300           //Add This + Remove if Exists
#dalvik.vm.heapgrowthlimit=128M                    //Add # to comment the line

10. Enable Burst Mode in Wifi(original:
This is to increase wifi throughput, enabling more data to be transferred at one time.
  1. Open /system/etc/tiwlan.ini with TextEditor from Root Explorer
  2. Modify these lines

    BurstModeEnable = 0


    BurstModeEnable = 1

  3. Reboot
  4. Say thanks to XtremePeople

Beyond this point is for those who like to optimize the speed of the hardware. The upside, you can install another ROM and you can get Overclocking out from your phone. The downside is You risk losing warranty (eventhough the following does not remove DRM keys but still take note about this), so decide for yourself before taking the next steps.

11. Unlock Bootloader and apply OC + UV kernel(
S1 Tools:
OC+UV Kernel:
ICS Kernel:
Original Tutorial:

Some games getting laggy? Web is not fast enough? Overclock your CPU! Here are the additional requirements:
  1. step 1 and 2 has been done, to prevent unwanted behavior
  2. Phone must not be a branded one (SIM locked) But it is still possible, check the link below
  3. Some thin and long enough conductor (open cable, paperclip, etc)
  4. Steady Hand
  5. S1Tools (
  6. Of course, Daring to unlock bootloader

Here are some pages that might help if worst case scenario happened:
  1. - To return from a bricked Ray.

Ok you're ready? Follow this:
  1. Backup your phone (TB, CWM Nandroid, all of em), prepare for the worst
  2. Extract S1Tools to some folder
  3. Turn Off the phone, remove battery
  4. Find the test point, it is under some small rubber cap on upper left of the battery. Open the cap to reach it. it is the fourth one from the top. More info go here:
  5. Connect the test point to the negative connector on the battery pin.*
  6. While connecting test point, connect phone to USB, Windows will install driver called ZEUS Flash Device. If the driver is not available, you must update manually from USB flash driver inside S1Tools folder.
  7. You can remove the testpoint for now.
  8. Once driver installed, open S1Tools and press Patch SEMC Boot.
  9. Follow the steps described by S1Tools.**
  10. When Done, the log will be like this:

    1/5/2012 12:41:40 PM Welcome to S1 tool.
    1/5/2012 12:41:40 PM That is small and crippled subset of SETOOL2 service tool.
    1/5/2012 12:42:02 PM
    1/5/2012 12:42:02 PM DETACH USB CABLE FROM PHONE
    1/5/2012 12:42:02 PM REMOVE BATTERY FROM PHONE
    1/5/2012 12:42:02 PM ATTACH TESTPOINT
    1/5/2012 12:42:02 PM
    1/5/2012 12:42:56 PM PROCESSING ...
    1/5/2012 12:42:57 PM
    1/5/2012 12:43:08 PM
    1/5/2012 12:43:08 PM TO CONNECT NEXT PHONES
    1/5/2012 12:43:08 PM X10 Xperia,E10 Mini,E15 Xperia X8,U20 Mini Pro
    1/5/2012 12:43:08 PM LT15 Xperia ARC,MT15 Xperia NEO,R800 Xperia PLAY
    1/5/2012 12:43:08 PM PRESS AND HOLD "BACK" BUTTON...
    1/5/2012 12:43:08 PM
    1/5/2012 12:43:08 PM ST18 Xperia RAY,ST15 Xperia Mini,SK17 Xperia Mini Pro
    1/5/2012 12:43:08 PM PRESS AND HOLD "Volume Down" BUTTON...
    1/5/2012 12:43:08 PM
    1/5/2012 12:43:08 PM
    1/5/2012 12:43:09 PM
    1/5/2012 12:43:09 PM RUNNING S1_LOADER VER "R4A062"
    1/5/2012 12:43:09 PM LOADER AID: 0001
    1/5/2012 12:43:11 PM FLASH ID: "0098/00B3"
    1/5/2012 12:43:11 PM LOADER VERSION: "r4A069"
    1/5/2012 12:43:11 PM
    1/5/2012 12:43:11 PM
    1/5/2012 12:43:11 PM FINISHED
    1/5/2012 12:43:11 PM Elapsed:68 secs.

  11. Insert Battery and reboot. if your log looks like above, then congrats, you unlocked the bootloader without loosing DRM key.
  12. Download kernel named bootuv5.img from link above
  13. Do a fastboot (turn off phone, press and hold vol+ while connecting USB)
  14. Open folder inside Flashtool where fastboot.exe exists (/FlashTool/x10flasher_lib)
  15. Place bootuv5.img inside the same folder
  16. Open Command Line inside that folder too.
  17. test if devices is connected by typing "fastboot devices" if there is a result here, continue
  18. type "fastboot flash boot bootuv5.img"
  19. if there are FINISHED text, than you're done!
  20. Boot your phone, install setCPU or any app to control clock speed. Congrats
  21. Say thanks to xperia ray for the link ,aire for the kernel, and Kuldeep Singh for the complete tutorial.

*Note: i prefer this to just connecting to sim metal casing because i can concentrate on the small test point only while the other end can be slipped in between the two negative pin.

**Note: disconnect phone, connect test point again, connect again, press Ready button in S1Tools.

Note: Please be careful for every step when you need to attach test point. It is required to ensure 100% success rate.

Try this, slowly, carefully, exactly and in order.
  1. Make sure you have a copy of the (CM10 or PAC or MIUI JB) ROM zip on your SD card.
  2. Using Flashtool, install 4.0.4 in full, Do not exclude anything, all the wipe tick boxes checked.
  3. Unplug your phone, do not turn it on.
  4. On your computer, open the JB ROM zip with WinRAR and DRAG boot.img to your desktop with your mouse. Close the ROM zip.
  5. Holding volume +, plug your phone back in. The light will go blue. The Flashtool window will show connected in fastboot mode.
  6. Open the Fastboot window in Flashtool and select kernel to flash. Pick the one on your desktop. Wait for it to finish (not long)
  7. In the fastboot window, reboot phone into system.
  8. Unplug the phone
  9. The phone should start, if it doesn't then turn it on.
  10. The kernel logo will appear. When the lights flash press Vol - until the wobbly CWM recovery screen comes on.
  11. do this from the menus:
    - Wipe data/ factory reset, then Wipe cache.
    - Go to advanced, wipe dalvik cache.
    - Hit back, go to mounts and storage, format system.
    - Hit back, choose zip to install, pick the ROM from your SD card.
  12. Leave the phone for about an hour alone.
  13. Then install gapps from SD card using recovery. Pick reboot to recovery from power off menu.
  14. You do not need xparts. The phone will go back into wobbly CWM screen. Choose zip from SD card. Choose gapps. When installed wipe data, cache, and dalvik cache again. DON'T FORMAT SYSTEM. Reboot.


1. What is the difference between Flashmode and Fastboot? How to enter?
Flashmode is for flashing the kernel from SEUS or FlashTool. Fastboot is to do flashing from fastboot.exe. if you got .ftf file, do with flashmode. if you got kernel or ROM separate, you can do with fastboot. Flashmode spam volume DOWN while turned off and connect the USB, Fastboot spam volume UP while turned off and connect the USB
Usefull guide to using flashtool flashmode/fastboot mode: xperiadev flashtool-fastboot/

2. Fastboot devices can't find my device. What's wrong?
Go to Flashtool\drivers and run the exe. When selection comes up, install Fastboot drivers.

3. New Software is available from SE PC Companion. can i receive it if i did the step 10 above?
Yes you can I did it and no problem whatsoever. But for .62 firmware and so forth, the root method is different. You can go to idateyoutoclickthis method here

4. HELP! I bricked my phone, fastboot and flash mode is not working!
Try to download SE special tool named SEUS. This is Update Service application that was used specially for updating SE phone outside PC Companion. You can read the instruction here Say thanks to ygecesefa if this saves you!
The Following 134 Users Say Thank You to Wechy77 For This Useful Post: [ View ] Gift Wechy77 Ad-Free
Subscribe to Thread

root, statusbar, supercharger, tut, tutorial

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes