[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Knight47:
Questions

Question Time

Q.which governor is for performance and which one is for battery life?

A. Tough question! lulzactive and smartassV2 for a balance between performance and battery. For light weight tasks, lulzactive should be better for battery. And for heavy weight tasks, lulzactive should be better for performance also. To get maximum performance, use a tweaked ondemand or conservative, but never complain about battery. NOTE: It's not so easy to tame luzactive. If you don't know how exactly to do it, stay away from it or you will end up complaining about battery drain!

Q. "Hey, almost forgot. How do i change governors?"

A.use Voltage Control/SetCpu/No Frills/Antuntu CPU Master, etc. Nofrills has the interfaces for gpu oc/uc/uv and charge-current change if your kernel supports them. Like we guessed, these apps will tell us the active governor too.

Q. "How do i know which governor is best for me?"

A. It depends on what you need and your daily usage pattern. Performance or battery. Better choose a governor that's balanced for battery/performance. Or tweak a governor to give performance an upper-hand as compared to battery. We can always re-charge the phone:

Q. "Well i have set my favorite governor as screen-on governor and another one as screen-off governor. Why the hell is the phone not waking up after deep sleep. I need to force-restart the phone by pressing power button for about 10 secs. Is it a sleep-of-death?"

A. Yes it is. Do not use two governors as screen-on & screen-off govs, if they both have an upper frequency limit for screen-off state.

Didn't get it?

Examples for right combinations(screen-on:screen-off):-

ondemand:smartassV2, lulzactive:smartassV2

Q. "How to make my device more snappier. I don't care much about batt....err...I do care about battery life, but only in terms of avoiding unwanted power consumption. Device should instantly dance to my tunes."

A. Scale 500 to 1200 during screen-on and 200-500 during screen-off. Use performance tweaked conservative/ondemand(x). Response will be sweet. And don't worry, minimum of 500 during screen-on will not drain too much battery like you think!

Q.Which Rom is more battery friendly?

A.hmmm.....well.JJ's Hybrid.which is smooth in 800mhz

Q.What kernel will you recommend me to use?

A.Sirkays 7.3.431 kernel.Link for that thread

Q.What is the stable value for OC in Xperia Ray?

A. 1400mhz(1,4Ghz) because you'll experience some wild reboots in 1600Mhz(1.6Ghz)

Q.Is it possible to have Dual boot in Ray?

A. No

Q.What exactly is smooth scaling?

A. Ondemand governor jumps straight to max frequency a little too often. We can control this by setting a smooth scaling frequency to which the CPU will scale to first before scaling to maximum frequency. A little power saving is the target here. Note that CPU driver does smooth scaling - not governor. When CPU driver is requested by governor to scale up to max frequency, it first scales to smooth frequency, and only in the next sampling to highest frequency. Smooth scaling atm is active for ondemand

Q.What is OTG?

A. On-The-Go,is a specification that allows Xperia Ray to act as a host allowing a USB flash drive to be attached and also connecting USB peripherals directly for communication purposes among them.

Q.Q.What is BFS?

A.Brain F**k Scheduler (BFS) is a task scheduler .The objective of BFS, compared to other schedulers, was to provide a scheduler with a simpler algorithm, that did not require adjustment of heuristics or tuning parameters to tailor performance to a specific type of computation workload. The BFS author asserted that these tunable parameters were difficult for the average user to understand, especially in terms of interactions of multiple parameters with each other, and claimed that the use of such tuning parameters could often result in improved performance in a specific targeted type of computation, at the cost of worse performance in the general case. BFS has been reported to improve responsiveness.It's better for Multi Tasking

Q.What is task sheduler?

A.scheduling is the method by which threads, processes or data flows are given access to system resources (e.g. processor time, communications bandwidth). This is usually done to load balance a system effectively or achieve a target quality of service. The need for a scheduling algorithm arises from the requirement for most modern systems to perform multitasking (execute more than one process at a time) and multiplexing (transmit multiple flows simultaneously).For more info

Q.What is ZRAM?[/B]

A.It increases performance by avoiding paging on disk and instead uses a compressed block device in RAM in which paging takes place until it is necessary to use the swap space on the hard disk drive. Since using RAM is faster than using disks, zRam allows to make more use of RAM when swapping/paging is required.

Q.How to make a Zram script?

A.1. Using Root Explorer, got to /sytem/etc/init.d/

2. press Menu then create new file

3. paste these in it

#!/system/bin/sh
sysctl -w vm.swappiness=60
echo '1' > /sys/block/zram0/reset
echo $((60*1024*1024)) > /sys/block/zram0/disksize
mkswap /dev/block/zram0
swapon /dev/block/zram0

4. close and save it as 99zram

5. set permission to 777 or "rwxrwxrwx" (tick all)

6. take note: 60*1024*1024 = 60MB zram disksize. if you want to set 30MB, change 60 to 30.

Source-Sirkays thread

Q.Is there is any way to run Tegra,PowerVR android games on Ray?

A.Yea,you can use Chainfire3D(you have to install Tegra,PowerVR plugins too

Q.My device is not stable at 1.6 Ghz. But i still wanna overclock the device to possible maximum and show off to friends?

A.Try 1516Mhz

Q.I sometimes get unexpected reboots. What could be wrong?

A. Number of reasons.

- Problem from ROM side -wrong build.prop tweaks, etc.

- Too much UV on CPU

- Too much CPU OC

- CPU/Battery heated up too much because of weather/benchmarking/faulty charger, etc

Q.I want to help dev debug an issue providing a Log-cat. How to?

A. After the problem (random reboot/freeze/lockup), do not pull out battery to recover. Just long press power button so that device can reboot. Then connect device to PC,

Then do the following steps from this guids

Q.How to flash kernel in Xperia ray other than "fastboot flash boot <file name>.img"?

A.Use Flash-tool or this QuickIMG tool