yashsingh1/xdaforums huggingface dataset:
[Xperia Arc Android Development] hootnath:
ok, nothing seemed to be making the touchscreen responsive with the ICS beta n its derivatives.

except one thing just did.

i changed the sampling rate from 200000(2 lak) to 20000 (20 hazar), n of course i had to change the up-threshold so i changed that to 95 (i did all these in rom-toolbox's kernel tweaks settings)

now everything is super-responsive (app startups, physical buttons, onscreen buttons, switching, yo name it) N while you are just lets say reading stuff on the screen, the cpu is generally at its lowest

what that means is : both responsiveness and higher battery.

please comment.

UPDATE : check the 7th post on this forum for more tweaks for snappy app launching n switching here http://xdaforums.com/showthread.php?t=1570374#post24186676

UPDATE : ADDITIONAL TWEAK (more battery life) : in rom-toolbox change powersave bias to 35 (in rom toolbox) : saves a lot more battery by preventing the cpu from rushing to full-frequency while you are doing simple tasks like flicking the screen.

UPDATE : 3/31/12 : an interesting observation about "force gpu" 's causing poor performance on my post here : http://xdaforums.com/showthread.php?t=1570374&page=2#post24266342

UPDATE : 4/7/12 : want even more battery life n smoothness?

add these to your build.prop save , reboot into recovery, clean dalvik-cache and /cache partition then reboot into system. things should be faster. and oh, underclock it.

ro.kernel.android.checkjni=0

dalvik.vm.execution-mode=int:jit

ro.ril.disable.power.collapse=0

ro.mot.buttonlight.timeout=1

dalvik.vm.verify-bytecode=false

dalvik.vm.dexopt-flags=v=n,o=v

you can also do a semi-odex using titanium backup's integrate system dalvik into rom thing, but then you won't be able to change any file in the rom (like applying patches, mods etc until you've either done undo integration thing in titanium backup or just used adb shell to delete *.odex from /system/apps n rebooted)

UPDATE : 4/28/12 : if you are using a derivative of the .562 ICS then you can change the kernel tweaks/sysctl settings to dirty_ratio = 80 dirty_background_ratio = 20 and vfs_cache_pressure = 20 to get snappy app startups up_threshold and powersave_bias can both be set to 90 and select ignore_nice_load. if you use lots of apps then raise the dirty background ratio and dirty ratio both by 15 points and reduce vfs_cache_pressure by 15 for low cpu usage while the apps are running. i've noticed that many of the custom roms have started getting my tweaks or similars preincluded , plus the official ics is much better than icsbeta in memory management. and oh, use arcknight kernel. its super awesome for both features and battery life. i switch my governor to interactivex or smartassv2 when i am recording using the 14mbps camcorder mod, and then back.

the android backup & restore under person in settings should be turned off. it takes a lot of cpu, battery, data n memory. its aweful.

if this works for you, press the thanks button. :)
[Xperia Arc Android Development] Duvel999:
How can this be done?

:cool:
[Xperia Arc Android Development] hootnath:
i used rom toolbox pro, its free version is available here - https://play.google.com/store/apps/details?id=com.jrummy.liberty.toolbox

anything else that can edit sysctl.conf (e.g. https://play.google.com/store/apps/details?id=com.jrummy.sysctl.config and https://play.google.com/store/apps/details?id=scd.atools ) will also work.
[Xperia Arc Android Development] Duvel999:
Gonna try it:cool:
[Xperia Arc Android Development] drsouly:
system seems to be a bit snappier

thx mate
[Xperia Arc Android Development] digitalsuni:
thnx mate.
[Xperia Arc Android Development] hootnath:
for snappy app switching i discovered another bunch of settings

in rom toolbox's kernel tweaks under performance, change min free kbytes to [CORRECTION]8192[not 8096] (or [UPDATE] 6144 - whichever one you like), dirty ratio to 95, dirty background ratio to 70 and vfs cache pressure to 5 (n of course check the apply on boot option)

let me know how you like this additional tweak

UPDATE: some observations ; high dirty ratio causes lower cpu usage n faster app-switching, low dirty background ratio causes faster app startups but uses too much cpu, vfs cache pressure above 5 or 10 causes high cpu usage n lags. (i use lots of apps)

UPDATE #2 FURTHER IMPROVEMENTS (fast all around with acceptable cpu usage, super app switching, n decently fast launcher without sacrificing cpu-speed n battery life)

Kernel Tweaks :

reduce dirty background ratio to 50

check the OOM kill allocating task (if your device crashes after this, uncheck this, it may kill the android system n android os processes as well in some cases)

Auto Memory Manager :

foreground 6

visible 8

secondary 32

hidden 40

content 48

empty 120
[Xperia Arc Android Development] marcelotorres:
Thnks

[white10char]
[Xperia Arc Android Development] Okluzhion:
The up-threshold and powersave bias settings do not stick for some reason. They return to default values after a reboot even though Apply on boot is checked.

Sent from my LT15i (Xperia arc) on KA ICSony
[Xperia Arc Android Development] estuardo4:
It is the same for me. I guess we'll have to review each init.d script to see what is the one that is changing these values on restart.
[Xperia Arc Android Development] ascariz:
perhaps kickass kernel script
[Xperia Arc Android Development] hootnath:
check the 98kickasskernelizer (i'd find the respective values - especially min-free n change them in the script itself), there are two other not so popular scripts out there too that you may be using.

please share with us whatever was causing the overriding of rom toolbox's (or sysctl etc)'s settings.
[Xperia Arc Android Development] hansip87:
Hey there thanks for the tip. Already tried it but I don't think there's any major improvement. In fact, antutu graphic score is down a bit. But don't know why. Maybe just my phone. :o
[Xperia Arc Android Development] hootnath:
the benchmarks dont tell you about usability. better responsiveness is due to faster cpu response to situations.

antutu's benchmark tests for continuous high performance (battery hogging w/lags) while running just one app.

my settings are for giving great experience (touch, app switching and app launching as well)

think of it as antutu being a mr. universe test, while mine are a gymnastics olympics tournament.
[Xperia Arc Android Development] darth5zaft:
Well thanks. A lot less sluggish when scrooling..
[Xperia Arc Android Development] hootnath:
thank you.

i just posted another slight tweak for higher battery life. its in the first post.
[Xperia Arc Android Development] hootnath:
i tried 6144, restarted n it sticks. try 8192 (i haven't tried restarting after that) : my 8096 was a mistake - i accidently doubled 1024 to 2048 n that to 4096 and then stupidly to 8096.

it is possible that numbers that are not multiples of 1024 are ignored if set on boot.

that occurred to me since init.d scripts are loaded much before rom-toolbox gets a chance to do its magic.
[Xperia Arc Android Development] Okluzhion:
Could it be that these settings are conflicting with Supercharger?

Sent from my LT15i (Xperia arc) on KA ICSony
[Xperia Arc Android Development] estuardo4:
I tried and it stuck after a reboot. It is working fine now. My battery is lasting more indeed, but wifi is always on, even after I made the suggested changes. I guess I'll have to reinstall Doomkernel v04 and JJ's ROM from scratch. But even with wifi always on, I'm having better battery life and less lag.

Thank you again.
[Xperia Arc Android Development] hootnath:
i found another interesting thing today.

the force GPU for 3d in the settings -> developer options actually uses a lot of the cpu and causes lags. i turned it off and have instead done the following

Get rid of CPU rendering:

Navigate to /system/lib/egl/

Open the file named "egl.cfg"

Delete the first line. It should say "0 0 android" or something similar

Go back into the egl folder and delete libGLES_android.so

What this does is remove the entire soft-rendering pathway from the OS.

source : http://www.ifans.com/forums/threads/ics-performance-tweaks.369959/ ;

now, i have changed the powersave bias in teh romtoolbox's kernel tweaks to 95 instead of {correcton}35{not]95. the cpu is spending more time @ 122mhz and deep sleep now without lags (which means more battery)

if this thing works for you, please press thanks.
[Xperia Arc Android Development] estuardo4:
I will try it, but could you please review this quoted text? You wrote "change 95 for 95 on the power save bias. What new value should we change?

Thank you. I appreciate your help.
[Xperia Arc Android Development] Okluzhion:
I think he meant 35 to 95...

Funny... instead of being "battery friendly", this has made my phone go completely "battery unfriendly". 15% per hour with wifi and screen on... 2-3% more battery drain than usual. I don't know if I got unlucky with this unit or are other people using their phones very little to make them last 2 days...

Sent from my LT15i (Xperia arc) on KA ICSony
[Xperia Arc Android Development] estuardo4:
...or 95 to 35... I have to wait for his response.

Getting good battery life on Android is an exercise on futility. There are so many variants that it's almost impossible to find what's wrong and what's good for our phone.

I have installed Doom's v4.0 kernel, JJ's ROM, Ondemand governor, sio interface, 99supercharger, baseband 64 and some other tweaks. Yesterday with heavy use I got 20 hours and 15% left. Today, with the same configuration, I only got 9 hours. It is really frustrating. And the more you tweak, the less possibility of knowing what's going on bad.

But it is at the same time, really funny. When JJ wrote that no more developing to his kernel was necessary, I immediately began to look for other ROMs to test.

Such is life with this Android addiction.
[Xperia Arc Android Development] hootnath:
thank you for catching it, i have fixed the mistake. its supposed to be changed to 95 from 35 (95 instead of 35). sorry for the typo.

which settings did you try? (gpu?

can you post your complete kernel-tweaks configuration (sysctl configuration) as well as that for your cpu control (min max frequency) as well as your automemory manager config.

i'd also be interested in knowing how many apps (non gaming) ones you have installed (which'll give me an approx idea about how many are possibly running in the memory). what kind of animation mod do you have installed and what are your window n transition animation settings.

also, what were your previous settings and what has your general use been like (just making calls, just reading a lot of text, social apps, news apps etc)
[Xperia Arc Android Development] hootnath:
how frequently a particular app is trying to access the SD, n the internet changes even if the general usage patterns don't change. one app's excessive behind-the-table actions can affect other apps and memory management in general too.

moreover i am posting observations that i encourage others to explore so that we can collaboratively figure out the best settings that work for a lot of other people who are heavy app users like myself.

i've also noticed the erratic behavior of the wifi mod. i am not sure at this point which mod works well and which one doesnt. maybe the interference based on how many other devices and wifi-routers there are on around one and how much of the "invisible" data thats others in their rooms are transfering over it affects the wifi mods' ability to receive error-free packets or to at least think that it has received error-free packets.

the wifi mods are making it hard to check for sure whats exactly eating the battery (i recently installed a wifi mod from the ray forum, its hard for me to tell without a proper tool that turns off all the apps n only lets the wifi n some stanadrd data-transfer run to check which mod works). moreover, with constant usage android-system is the second-highest battery-eater, next only to the screen :: this is incredibly high.

i have been focussed on examining the smoothness of user-experience, quicker launches n switching, while minimising cpu's UP-scaling while being on android's ondemand governor.

p.s. i just upgraded my tool to "system tuner", it apparantly does what "rom toolbox" does and also lets you monitor resource usage.
[Xperia Arc Android Development] hootnath:
### HIGH CPU/BATTERY/memory USING APPS ### SOLUTION REQUESTED ###

exchage service has high cpu usage at 12-14 percent constantly and so does audioeffectservice at 4-6 percent constantly

android system is at between 30 and 40 percent of battery consumption second only to screen/display at 25 percent brightness.

out of the 335mb (as opposed to the advertised 512mb) of ram the kernel are system are taking a whooping ~110mb and ~71mb of space respectively. someone oughta lower these.

plus if someone could look into re-partitioning via customMTD , hBOOT or whatever else it takes so we can have higher space in ouy data partition, i'd be most greatful.
[Xperia Arc Android Development] Okluzhion:
Nevermind that, seems like the problem is in the new version of ICSony. But I've always had high battery drain problems. On stock GB it was 11%-12% per hour, nothing better did I experience with CM7. Yesterday my phone barely managed to survive 6 hours of use, had to charge it twice. And Android OS is the biggest consumer after the Screen.

min/max: 245/1024MHz

governor: ondemand

I/O scheduler: deadline

Sent from my LT15i (Xperia arc) on KA ICSony
[Xperia Arc Android Development] hootnath:
well, it seems like there is a solution to the android-system's high battery usage problem.

its called baseband .66 but then it may have caused another problem. while android system has gone down to being the 3rd in the list at less than 10%, android OS is now the second biggest one at more than 30%.
[Xperia Arc Android Development] lofty5:
had to give up on ics unfortunately. Was just way to slow for me.
[Xperia Arc Android Development] estuardo4:
It is quick enough for me. The only thing that is really slow is the task switcher, so I have to discontinue its use. But otherwise, it is as quick for me as GB.
[Xperia Arc Android Development] darth5zaft:
I did this. Now the arc will go on off on off the screen for a few times after i press the powet button
[Xperia Arc Android Development] hootnath:
thats not this doing it. its one of the other tweaks you must have applied. this is working fine for everyone and has nothing to do with the power-button directly or indirectly.

your framework may be buggy. which rom are you using? did you apply a framework mod on it?
[Xperia Arc Android Development] darth5zaft:
Im using moddified ics rom. I think mybe it happen after I zip something before applying this tweak. I try again with a fresh rom.thx
[Xperia Arc Android Development] ArmorD:
Uhh, how can I change the values? I tried Rom Toolbox pro and sysclf editor, but there was no sampling value?

Sent from LT18i @ Xda Premium
[Xperia Arc Android Development] hootnath:
in rom toolbox, go to performance (second tab/screen on top), then kernel tweaks (second button) n then advanced tab/screen from the top.
[Xperia Arc Android Development] hootnath:
have you tried the fxp114? it runs super smooth even at 652mhz. it seems to be draining my battery even in sleep though, although i am still getting 7 hours of total use-time (apps n all, not including screen off).
[Xperia Arc Android Development] estuardo4:
I'd love to use fxp114, but I use my camcorder a lot, and the Sony stock is really good. That's why I discontinued the use of MIUI. I love MIUI, but I can't live without my camcorder.
[Xperia Arc Android Development] hootnath:
based on your suggestion, i just updated the first post with the tweaks i had posted yesterday on jj's rom's thread.
[Xperia Arc Android Development] qetuR:
Ok, this works really good. It is really more responsive for me. But when loading apps for the first time, it takes a while. But after that when you want to switch into that application again, it is really fast.
[Xperia Arc Android Development] hootnath:
you can decrease startup time by lowering the dirty background ratio, but that puts constant strain on the cpu and reduces battery life , 40 or 50 dirty background ratio is acceptable i think.
[Xperia Arc Android Development] estuardo4:
Hootnath,

By now I guess you have installed the new v4 of jj's ICS ROM. I have it installed, but obviously all my build.prop changes are lost. Could you please comment if your mods are still valid? Battery drain has not increased since I installed this new ROM.

Thank you for your help.
[Xperia Arc Android Development] hootnath:
his new rom is based off of the miui v4 i haven't tried his new rom yet but considering that MIUIv4 is based off of ICS beta you can try the tweaks on that rom as well, find out the difference for yourself and tell us how it is too.

all the build.prop tweaks should still be valid for the new rom. kernel optimization tweaks may not be as applicable.

some people put my build.prop tweaks in their /data/local.prop . i don't like doing that because i've noticed on various fones n roms that doing that makes the system laggy for some unknown reason . i have a busy week and can't try new things n experiments for a few more days now. maybe you can try the local.prop instead and tell us how it fares for you.
[Xperia Arc Android Development] estuardo4:
I'm not talking about MIUI. JJ posted today a new ROM based on the leaked ics. I will try some of your settings anyway, because I was having 40 hours of battery with your settings and now I'm having less than 15 with this new ROM.
[Xperia Arc Android Development] estuardo4:
Hootnath,

I've installed the latest JJ's ROM (v1.1) and applied your mods. But I'm not having the same battery life than with your mods and the beta ICS. I had 24 hours before and now I'm lucky if I have 12 hours. Do you still have the time and interest to check the new ROM?

Thank you for your help.
[Xperia Arc Android Development] hootnath:
I am using the arconium cuz it came out before jj's n I realised that i don't like the aosp look n menu font sizes.

I haven't tweaked it much ... Give me a few more days since I have been busy.

Meanwhile try the night kernel, use on demand governor n change sampling rate to 80000 .
[Xperia Arc Android Development] estuardo4:
Nope, I still don't have the same battery as with your mods and JJs ICS ROM beta. I don't know what changed, but battery life has increased with the new "stable" official ICS ROM from Sony.

I guess I'll have to wait until Sony releases the kernel sources so Doom or Jimbo77 can modify theirs, and hope for the best.
[Xperia Arc Android Development] Pandemic:
i dont understand this:

UPDATE : ADDITIONAL TWEAK (more battery life) : in rom-toolbox change powersave bias to 35 (in rom toolbox) : saves a lot more battery by preventing the cpu from rushing to full-frequency while you are doing simple tasks like flicking the screen.

in rom-toolbox change powersave bias to 35 (in rom toolbox)

yeah where in rom toolbx ??

you call it twice :confused:
[Xperia Arc Android Development] cezarL:
Performance tab - Kernel tweaks - Advanced tab

Sampling rate is in the same screen. Its value may be 'invisible' but if you tap on it you'll see the value and you can change it.
[Xperia Arc Android Development] Pandemic:
ok thanks mate but i see only in advance scheduler deadline and noob further nothing

, but when i do this:

for snappy app switching i discovered another bunch of settings

in rom toolbox's kernel tweaks under performance, change min free kbytes to [CORRECTION]8192[not 8096] (or [UPDATE] 6144 - whichever one you like), dirty ratio to 95, dirty background ratio to 70 and vfs cache pressure to 5 (n of course check the apply on boot option)

my setting jumps bakc to the normal state :S

how is that possible?

i have supercharged ICS stock rom.

so i think this is have no effect wright of have it impact on my supercharger?
[Xperia Arc Android Development] Okluzhion:
That's what supercharger does, it's its job, changes those settings, so this will conflict with supercharger.

Sent from my cracked Xperia arc
[Xperia Arc Android Development] hootnath:
sorry for the delay in the response.

you have to use the ondemand governor for cpu to get the up threshold and powersave bias as options. change that deadline to noop too or sio if your kernel supports it.

for your settings to stick after reboot you have to click on apply on boot option in the romtoolbox and make sure that your rom toolbox is not on your sd card (sd card apps don't autostart on boot)

i don't like using supercharger because i have over 200 apps (excluding the rom ones). supercharger, with so many apps, is constantly trying to keep wayy too many apps in the memory - which start competing for memory, bandwidth and cpu usage all at the same time making the system crawl.
[Xperia Arc Android Development] estuardo4:
I don't know what changed between the beta version and the final one, but my battery is only lasting 12 to 15 hours, after I change the settings and added the lines hootnath posted. I even have my processor speed at800MHz. I used CPU Spy to check if my Arc is entering deep sleep and yes, most of the time it was. My screen is at 30% all the time. With these settings with the beta ROM my Arc lasted 30 hours. It's driving me mad.
[Xperia Arc Android Development] Six6sHot:
How do I do this? how do I change these numbers?
[Xperia Arc Android Development] estuardo4:
I'm using ROM Toolbox. I don't know if there are other programs to do it. But you can try the lite version of ROM Toolbox. You have to use Ondemand governor and either sio or noop.
[Xperia Arc Android Development] ankurvij:
I too had the same issue- values were not saved after boot. I didnt installed any Super Charger script :victory: but was still facing this issue. :cyclops:

After lot of research realized that it can be SU fault. This is how i solved it and works for me- Uninstall all updates of SuperUser (Do not uninstall), Download Super SU, Gives Access to SuperSu and ROMM Toolbox. Now values should persist after reboot.

May be some problem with latest SU binary 3.1.1
[General Questions and Answers] asking_alexandria27:
odin mode

product name: SCH-R720

custom binary download:0

current binary:official

downloading

is this download mode?
[General Questions and Answers] Ropb:
Can you post a picture??

When you see the little android guy with the tag "downloading2 then yeah you are in download modus
[General Questions and Answers] JDMo:
Did you ever get your phone reflashed to stock and working again?
[General Questions and Answers] tyler79durdan:
Yes that is download mode.

If I helped hit the thanks button!
[Galaxy S II Q&A, Help & Troubleshooting] Paras Lehana:
Root Galaxy R

Savya Swaroop

You asked me for this... ROOTING GALAXY R...

Rooting method is same for every phone, it just depends on the custom roms compatibility

http://xdaforums.com/showthread.php?t=1406880

:)

------------

Thank Me If You Liked My Work
[Galaxy S II Q&A, Help & Troubleshooting] idbilal:
yar mine phone infi is as following

PDA : I9100GJPKH8

Phone: I9100GDZKH5

CSC: I9100GOJPKG7

suggest me a stable n compatible kernel
[Galaxy S II Q&A, Help & Troubleshooting] Paras Lehana:
Try this, the most stable and recognized kernel - superatoms http://www.mediafire.com/?ibic4cftc34a1h4

It's JPKK1

----------------------

Click The Thanks Button below if I helped... :)
[Galaxy S II Q&A, Help & Troubleshooting] idbilal:
i got CWM recovery but didnt get super user
[Galaxy S II Q&A, Help & Troubleshooting] Paras Lehana:
I think you are successful in rooting your phone

TRY INSTALLING IT FROM HERE

https://play.google.com/store/apps/details?id=com.noshufou.android.su&hl=en

CHECK IF YOUR PHONE IS ROOTED

https://play.google.com/store/apps/details?id=com.joeykrim.rootcheck&hl=en

IF YOU HAVE ROOTED YOUR PHONE THEN PLEASE VOTE VERY ABOVE OF THE POST

-------------------

Click the Thanks button if I'm still helping you :)
[Galaxy S II Q&A, Help & Troubleshooting] idbilal:
yes rooted successfully now what should be the next step??