[HELP] Root, Optimizations, OC, & More TUT(UPD: ICS less lag w/ build.prop(no.9))
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:
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:
Install BusyBox Free from STEricsson from here, run and install the busybox from there.
Download the SE Tweak Installer from link above
Connect your Phone to USB
Run the SE Tweak Installer, select the device type to the Ray one (or depends on your other Xperia type)
Check Auto Reboot if you want to test right away.
Press Install and follow the process.
Give thanks to quangnhut123 at the above link
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.
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
Still the same , but if you had problem of charging offline, try to replace charger file with the following thanks to pvyparts!
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:
with Root Explorer, open /system/etc/hw_config.sh in Text Editor (press and hold the file and Open the Text Editor). Don't forget to mount as R/W first.
echo 0,0,0,0 > $dev/lcd-backlight/als/params
echo 3,2,2,0 > $dev/lcd-backlight/als/params
Save the changes
If you want to improve, use the als_curve.zip available at link above and replace to als_curve.
Make sure als_curve and hw_config.sh get correct permissions (rw-r--r--)
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.
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)
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
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:
Remove the apk's with Titanium Backup or Root Explorer.
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.
Install and open script manager, Find the downloaded file and run the script as normal one
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)
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)
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)
(If you use init.d mod from iridaki, skip this one) Open ScriptManager, 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 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.
Just follow the instruction, I/O Tweak is optional, and i don't recommend it at this time. Please pass when asked.
Press I for Install
(If you use init.d mod from iridaki, skip this one) Open ScriptManager, select the /data/98KickAssKernel.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 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 V6_SuperCharger_for_Android-update8.sh.txt 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!
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.
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
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.
Connect the test point to the negative connector on the battery pin.*
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.
You can remove the testpoint for now.
Once driver installed, open S1Tools and press Patch SEMC Boot.
Follow the steps described by S1Tools.**
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 PRESS "READY", THEN ATTACH USB CABLE TO PHONE
1/5/2012 12:42:02 PM
1/5/2012 12:42:56 PM PROCESSING ...
1/5/2012 12:42:57 PM REMOVE TESTPOINT NOW, THEN PRESS "READY"
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 PLEASE ATTACH TURNED OFF PHONE NOW
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 SEMC SIMLOCK CERTIFICATE, PROCEEDING
1/5/2012 12:43:11 PM FINISHED
1/5/2012 12:43:11 PM Elapsed:68 secs.
Insert Battery and reboot. if your log looks like above, then congrats, you unlocked the bootloader without loosing DRM key.
Download kernel named bootuv5.img from link above
Do a fastboot (turn off phone, press and hold vol+ while connecting USB)
Open folder inside Flashtool where fastboot.exe exists (/FlashTool/x10flasher_lib)
Place bootuv5.img inside the same folder
Open Command Line inside that folder too.
test if devices is connected by typing "fastboot devices" if there is a result here, continue
type "fastboot flash boot bootuv5.img"
if there are FINISHED text, than you're done!
Boot your phone, install setCPU or any app to control clock speed. Congrats
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.
12. FLASHING JB ROM FIRST TIME HOW-TO (UNLOCKED BOOTLOADER ONLY)
Try this, slowly, carefully, exactly and in order.
Make sure you have a copy of the (CM10 or PAC or MIUI JB) ROM zip on your SD card.
Using Flashtool, install 4.0.4 in full, Do not exclude anything, all the wipe tick boxes checked.
Unplug your phone, do not turn it on.
On your computer, open the JB ROM zip with WinRAR and DRAG boot.img to your desktop with your mouse. Close the ROM zip.
Holding volume +, plug your phone back in. The light will go blue. The Flashtool window will show connected in fastboot mode.
Open the Fastboot window in Flashtool and select kernel to flash. Pick the one on your desktop. Wait for it to finish (not long)
In the fastboot window, reboot phone into system.
Unplug the phone
The phone should start, if it doesn't then turn it on.
The kernel logo will appear. When the lights flash press Vol - until the wobbly CWM recovery screen comes on.
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.
Leave the phone for about an hour alone.
Then install gapps from SD card using recovery. Pick reboot to recovery from power off menu.
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.
Q&A: 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!
From HTML to LEDs or Android to Arduino, Hardware Hacking is a pastime of many people … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?