yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] eraldo:
Lg home is a memory hog and seems to be quite cpu intensive compared to most other home apps but if using a dif homescreen then maybe it will still perform smoothly otherwise i doubt it will perform good.
[LG Optimus 2x] mechzombie:
Hi... I have installed cynogenmod 7.1 Stable. In Performance > CPU Settings, it shows 216/1000MHz as the only available frequency. I installed SetCPU, it closes saying some error.

Can you please tell me what I have to do, basically I want to underclock it for battery issues.

Thanks
[LG Optimus 2x] Mungulz:
Just undervolted all default values by 100mV, stress test running perfect. CPU at 52C on a 18ish ambient day.
[LG Optimus 2x] retareq:
I have 3 setcpu profiles on stock.

In call : 312/216

Screen off : 216/216

Battery <100% : 760/216

Getting amazing stand by time, 2h 30m since I unplugged the charger and only 1% battery spent.

Getting decent results during use as well, or atleast thats what I call it. Earlier today I went through 400+ google reader articles over wifi and watch accompanying youtube videos and also checked some external links. After about 30 mins I lost 7-10% battery. I think thats good enough, unless someone here is about to blow my mind with their results :p
[LG Optimus 2x] retareq:
3h and 30m now still at 99%.

5 minutes of evernote and battery at 95% now. Sooo unsatisfying.
[LG Optimus 2x] miina_tokiha:
benchmark @800Mhz
[LG Optimus 2x] Kickasskev:
what rom you using and what setting for oc
[LG Optimus 2x] miina_tokiha:
Topogigi v20 SP3.

Andrev OC 800MHz wake.

undervolt@850mV

pretty smooth for daily use.

if play heavy games, I restore it back to 1GHz.
[LG Optimus 2x] Kickasskev:
what kernel
[LG Optimus 2x] miina_tokiha:
Neoblaze, from SP2.

I need as stable ROM as possible, but fast.

all stock from Topogigi's built.
[LG Optimus 2x] retareq:
Do you have google video calling via front cam ? That's all I care about and I cant find the answer anywhere.

My lg might be getting decent battery life but the entire operation/daily use experience is very bad. Last night I used subsonic to stream my home library to my phone and while I listened to it I read stuff on google reader and then everything started to lag. Just setting the max and min isn't working well for me. I ran antutu last night and got 4500ish numbers with setcpu and juicedefender off and You are getting 6500+
[LG Optimus 2x] oleg1981:
quabrant 1580marks on 600mhz

after 3 hrs on 600mhz I'm impressed with the battary live!

3hrs wifi browsing, 2times quadtant test. battary dropped 12%
[LG Optimus 2x] retareq:
Post more info, what rom, kernel etc. I set my max to 600 and I get good battery but it takes all the fun out of using it, everything lags. You can still do things sure but I dont like lag.

---------- Post added at 04:16 PM ---------- Previous post was at 04:11 PM ----------

How is the battery life ? Also the 800mhz wake and undervolt are those part of sp3 or extra steps you did ?
[LG Optimus 2x] oleg1981:
100% stock rom + over it.

the version is 2.2.2 v20b

nothing lags. the only diference i see is thet lock screen sart to respond about 1second after power button is pressed. before it was instant.
[LG Optimus 2x] retareq:
Thanks for the info. I'm on v21b rooted with setcpu max set to 600ish and there is noticeable lag everywhere. Feels like how the phone was when I first got it and had to replace the lg launcher to get rid of the lag.
[LG Optimus 2x] miina_tokiha:
6500+ is when I overclock to 1,4GHz.

it's only for benchmark, and not for daily use.

battery life is about 24h of normal use.

I always connected to wifi.

oh, and I replace LG Home Launcher with Xperia Launcer.

it's lighter, no lag even use lower clock speed.
[LG Optimus 2x] oleg1981:
the first problem that i found with 600mhz is for some reason alarm clock is delaying . today the alarm delayed for 25minutes. it never happened on original clock.
[LG Optimus 2x] Supupa:
Has anybody noticed, that if you underclock from 800mhz and below, it automaticaly disables the second core?
[LG Optimus 2x] miina_tokiha:
are you sure?

my benchmark at 800MHz quite high...
[LG Optimus 2x] oleg1981:
how can you see that?
[LG Optimus 2x] Supupa:
I used the app "system panel" you can find it in the market

I clocked it at 816mhz min and max. As you can see its only using one core to complete tasks.
[LG Optimus 2x] Supupa:
Also quadrant and atutu only untilize one core, if im not mistaken :)
[LG Optimus 2x] antec123:
try smartbench 2011 it support multi core

https://market.android.com/details?id=com.smartbench.eleven&feature=search_result
[LG Optimus 2x] Supupa:
Ohh really, learn something new everyday (:
[LG Optimus 2x] miina_tokiha:
damm you're right.

no wonder many people feel lags if set the clock under 1GHz.
[LG Optimus 2x] retareq:
So any suggestions on what kind of profiles will give better battery results then ? My setcpu I set max to 760 and min at 216. I am not sure if thats using one or two cores, two probably because it eats battery like kit kat when I am actually using it. Definitely lower consumption than when at 1000Mhz but still. Perhaps theres a way to use only one core that should use less battery ? Also I am not sure how setting the min and max to same value behaves as opposed to how I have it. What do you guys think ?
[LG Optimus 2x] Supupa:
Yess i noticed the lag aswell.

Though wouldnt it be better if we had both cores running at 500mhz?

But there is the fact that no apps are optimized for dual core. :/
[LG Optimus 2x] miina_tokiha:
if there is a kernel that can force the O2X to enable both cores running at 600MHz, maybe we can solve battery & lag problem.

true, no apps are optimized for dual-core.

but android is an OS that do multi-task (you can see there are many apps run simultaneously at background).

both cores enable at lower clock speed will minimize the lag problem.

---------- Post added at 03:03 PM ---------- Previous post was at 03:01 PM ----------

set max at 800MHz will definitely saves battery.

but only 1 core enabled.

not worth at all.

I'm running at full 1GHz clock since I know O2X will disable 1 core if running below 1GHz.
[LG Optimus 2x] Supupa:
That could actually work, to be honest. hopefully a dev will come across this thread :D

System menus and muiltasking is optimized greatly but its the 3rd party apps like launchers only use the single core ):
[LG Optimus 2x] miina_tokiha:
I wonder how CM7.1 do?

since it's completely different built then leaked LG ROM.

if CM can enable both cores at lower clock speed, I'll change to their built.
[LG Optimus 2x] Supupa:
That was my second thought, would you be willing to test this out? (: cause im not homee :/
[LG Optimus 2x] retareq:
I just flashed cm7.1 today. I now have two profiles, powersaver and performance and in cm itself I cannot set any values so I installed setcpu separately and put my profiles back in. I wiped the battery stats so I am trying to kill the battery, about 8% left. I don't mind testing, probably tomorrow. I dont have to install any special kernel do I ? I dont feel safe doing that yet.
[LG Optimus 2x] miina_tokiha:
could you please try to set max clock to 600 & 800MHz, and see the cores status using "System Panel" app from market.

if both cores enables at that clock speed, I'll definitely change using CM7.1
[LG Optimus 2x] retareq:
Ok I was not sure if both Min and Max had to be same value but I tried :

- Both min and max at 600 and the 2nd core was inactive

- Both min and max at 800 both cores were active and phone started getting hotter and hotter as I held it.

I took a screenshot I'm gonna try to add it here hopefully it works.

---------- Post added at 04:38 AM ---------- Previous post was at 04:37 AM ----------

Perhaps I did it wrong but the phone was burning up. Now hopefully something good came out of it...looking forward to replies.

---------- Post added at 04:44 AM ---------- Previous post was at 04:38 AM ----------

Just tried another test, both Min and Max at 760Mhz also has 2 cores running. Below this second core doesnt turn on. Phone is not heating up rapidly either. Mildly...
[LG Optimus 2x] Supupa:
Thank you for your testing (:

I will try it out later tonight, and the heating up os due to both cores running at same frequency for a long period of time. Its fine though (:
[LG Optimus 2x] retareq:
I hope we can come up with a way to use this to our advantage :D
[LG Optimus 2x] miina_tokiha:
I've tried Spica HP SR1 kernel just now.

still 1 core disabled if I set max clock under 1 GHz.

it looks like time to flash CM7.
[LG Optimus 2x] Supupa:
im using cm7 at the moment with vorkernel and it uses the second core when needed. Though when its frequency is 456mhz it stops using the second core altogether.

so i might stick with cm7.1 on 608mhz for now (:
[LG Optimus 2x] spica1234:
2Nd core is disable for powersaving reason. As and when needed its got activated with changed freq:)
[LG Optimus 2x] Supupa:
Yess that's exactly right, but we found out what freq the second core gets disabled at, even if the first core is at 100% load (:
[LG Optimus 2x] miina_tokiha:
to all of you that still using Froyo,

I just tried my friend's O2X, still using factory froyo ROM.

even at 1GHz, it only use 1 core!!!

this confirm my theory why Froyo lags so much.

it can't utilize Tegra 2 fully.
[LG Optimus 2x] retareq:
I used cm7.1 all of yesterday, in fact I was brave enough to try both cm7.1 and miui on same day :)

As we already discovered last night 706mhz gives us both cores. I have been using my phone with max at 6-700 and all the froyo-ish lags are gone. I replaced adw with go launcher and if I drop below 600mhz max I start noticing a little lag on the app drawer screen. Other than that, even at 600 I was listening to shoutcast radio while tinkering with phone with wifi on and background sync all hapenning but the phone never stutters. I only notice the lag in the launchers at low speeds.

With froyo I was getting 2 days of light usage battery life. Now to see how cm7 does. If I can get full 24 hours of abuse then I'm happy.
[LG Optimus 2x] oleg1981:
my on 608mhz uses only one qore but on 760uses 2 cores.

but even on 608 there is no lag t all. only the gps are not usable! to laggy!
[LG Optimus 2x] retareq:
That is possible. I use my phone more as a mp3/sms device. I didn't even install facebook on it. So during usage there is very little stress on my cores. I think 700-800 is the sweet spot for me.

I did try out google video talk last night and a 1 hour conversation = 200mb data + 20-30% battery drain.
[LG Optimus 2x] retareq:
Just an update. After overnight charge this is what I have right now...

I'm happy. These numbers are similar to what I achieved on stock froyo. Muhuhahahaha
[LG Optimus 2x] Supupa:
when you are testing, make the first core have atleast 60% work load in total, so you know if the second core will kick in after power saving, but it probly wont? (;

Its easily done by scrolling up and down the page (:
[LG Optimus 2x] retareq:
Did you guys try cm7.1 with any other kernels ? I am getting excellent standy time but during use the battery drains too fast.
[LG Optimus 2x] Supupa:
In on cm7 nightly with vork kernel.

This is with heavy use and overnight standby of about 10 hours
[LG Optimus 2x] retareq:
How did you get youtube working ? Mine wont work at all.

Vork kernel you say ? I am still getting excellent standby time, I attached todays screenshot. All I am looking for is less consumption during usage...and my screens are from NOT using the phone. If I did right now battery would be lower.

What are your thoughts on vork kernel ? Also I just checked there seems to be a bunch of vork's, can't seem to find the one I need for my cm7.1. Not sure if these kernels are hardware specific or not. Hows your experience been with this ?
[LG Optimus 2x] yocasta:
I have two profiles set in SetCpu

Battery lower than 30% -> CPU 312 min. 608 max (scaling powersave)

Screen off -> CPU 312 min. 456 max (powersave)

In case that the calls or notifications gets laggy when screen is off, I raise a bit the values.

For normal use I have min 456 and 1000 in powersave.

With this two profiles I get a day of normal use (web, couple of vid, 15 mins of angry birds, mail, whatsapp...)

I dont need a beast when its sleeping, I only need a puppy :p
[LG Optimus 2x] retareq:
I have 2 profiles for In-call and screen-off already, that's what's making it last well in standby. During use though its a different story. I have it set to mix 216 max 700 but your's is 456/1000. I think having a higher value for MIN causes the cpu to run at that speed while using. So in that case 456 should be eating more battery. Right?
[LG Optimus 2x] 75markus:
youtube also simply working for me, dot need to do anything...

newest vorkkernels <testbuilds, work fine for me> you can find here :

http://webchat.freenode.net/?channels=vorkkernel

when choosing Screen off -> CPU 312 min. 456 max, scaling : powersave will no to anything !

powersafe will use the lowest 4 frequencies, while performance will use the highest 4.

so, this scaling only makes sense when you use full range of frequencies or overclock...
[LG Optimus 2x] yocasta:
I will give a try putting down the min at 216, and see how it responses.
[LG Optimus 2x] retareq:
I'm on cm7.1. I cant seem to find the right vork for it. I found one on xda it says it needs Nightly 177 and later. I think the cm7.1 stable is before 177...
[LG Optimus 2x] yocasta:
Here is an old vork

http://xdaforums.com/showpost.php?p=18636150&postcount=2423

But with stable it fails when ending calls (black screen)

Last time it hapened to me, it drained my battery.
[LG Optimus 2x] retareq:
I just found out there is a vorkkernel app now where you can set flags and it will download the proper kernel for you. I am looking into that right now.

Tried using the app and installed the kernel but got black screen of death with no way to restore my cm7 backups. So I'm now going back to stock and start all over again.
[LG Optimus 2x] 75markus:
?? no need to, just boot to recovery and restore your backup ... not working ?
[LG Optimus 2x] retareq:
Ok I don't know why but so far I have fu**ed my phone 3 times and not once was I able to restore any of my backups from recovery. It cant find it, then I tried mounting things and it wouldnt let me. If I go to Backup/Restore and then Restore it just comes back to main menu.

Such a ****ing pain.
[LG Optimus 2x] miina_tokiha:
I just tried the new v20L ROM.

using default kernel, 2nd-core kick in at 760MHz!

this will make the phone more responsive when down-clocking.

I'll update battery life later.
[LG Optimus 2x] retareq:
What is a v20L ? Is it restricted to some parts of world only ?
[LG Optimus 2x] miina_tokiha:
the newest Gingerbread update from LG.

you can get it on O2X Android Development sub-forum.

or update via LG updater.
[LG Optimus 2x] retareq:
Interesting...I'm on v21b and it says theres no update.
[LG Optimus 2x] isaaac97:
Underclock to 608mhz

Still pretty smooth and cooler...

Running on tonyp's cm 10.1 build 4

:D
[LG Optimus 2x] winstonxl2:
doesn't it lagg for you if you watch on youtube or what?

for youtube to have it good videoplay on every rom it's for me around 813mhz so if you just want to spare battery and don't game so much and those things just the simple things then i would say that you can do it around 813mhz if you only whatsapp or on youtube
[LG Optimus 2x] isaaac97:
Hahahaha :D I think it is still okay? Alright i should try 813mhz :D Thanks Anyways :D
[LG Optimus 2x] Lebrija:
What about undervolting? I uv perfectly on an xperia neo but I had random reboots on the 2x.
[Galaxy S II Themes and Apps] _Opiate_:
Thanks! 10char
[Galaxy S II Themes and Apps] GadgetCheck:
Thanks again ;)
[Galaxy S II Themes and Apps] zoule HCo:
I'm on Batista 3.7.2..

open the framework-res.apk.. but couldn't find the arrays.xml

can i copy n paste the file.. ?
[Galaxy S II Themes and Apps] kalpik:
You have to decompile the apk first!
[Galaxy S II Themes and Apps] xinfinityoO:
u need to decompile it /..smali..:eek:
[Galaxy S II Themes and Apps] zoule HCo:
yup i already decompile the apk..

batista framework-res.apk i think fully modified..

will download the link above..
[Galaxy S II Themes and Apps] a9402169:
compiled, changed the values, can't notice any difference... but I'll keep watching.

Edit:

Ok, lower values - can notice the difference, it works!

My values - 255, 140, 90, 40, 10.
[Galaxy S II Themes and Apps] bgx:
Yeah! Will try to compile later! Thx this was the mod I waiting for!

EDIT: Tryed to compile for cog 1.5 but stuck into bootloop...

EDIT2: Have made it work! Here the file for Cognition 1.5 with Lucid/Hyperdroid Theme with these params:

<item>3</item>
<item>30</item>
<item>70</item>
<item>140</item>
<item>255</item>
[Galaxy S II Themes and Apps] prosumerhacks:
Can you outline the procedure and tools used..just simple steps would do.. Btw is the hack working as expected? :)
[Galaxy S II Themes and Apps] lostsoul:
Excuse my ignorance, but how do I install this?

Sent from my GT-I9100
[Galaxy S II Themes and Apps] sicopat:
look for APK Manager links and how to

you need to decompil framework-res.apk

then compil back
[Galaxy S II Themes and Apps] ebliss:
Do you have to change anything in the apk manager setting? such as compression rate?

Also, during compiling, it will prompt whether this is a system apk, do I answer "y"?
[Galaxy S II Themes and Apps] DanRyb:
I really wanted to try this out, using MoDaCo but there is no framework-res.apk/res/values/arrays.xml in the framework-res.apk. Am I pulling it from the right place? I pulled it from /system/framework/
[Galaxy S II Themes and Apps] LockeOn:
I will post a simple guide how to modify any framework-res.apk using apkmanager but it has to wait till midnight or so. Another thing is that I think that 70, 130 and 255 values can be lowered a little bit more - I have been using my phone all day while I was outside and the screen was really bright. If anyone will find some kind of perfect ultra low levels please share them, for now everybody can test their configuration. Last thing - i was using my phone a lot today and battery usage for display went down from usual 68-72% to 55-56%.
[Galaxy S II Themes and Apps] desean:
yes

on post 5, it is already mentioned that you need to decompile the apk first!
[Galaxy S II Themes and Apps] DanRyb:
Thanks for your reply, but I did decompile it! I do not see that file within the structure listed!
[Galaxy S II Themes and Apps] sicopat:
don't change compression rate

every apks located in /system folders are system apk so Yes.

you press Yes then Yes again. a keep folder is created delete ressources.acrs in it, then press any kay in apk manager windows

in place here apk to mod you have now unsignedframework-res.apk, just rename it in framework-res.apk and if you want you can zipallign it (it will work without last step)
[Galaxy S II Themes and Apps] desean:
Thanks LockeOn for sharing.

Just a quick how-to for everyone else before more people post on how to apply the MOD, using APK manager (I think this is the easiest method)

Steps

Download APK manager and unpack somewhere

Grab framework-res.apk from your phone under \system\framework\ (e.g. adb pull) and place it in the "place-apk-here-for-modding" folder

Run Script.bat and select option 9

Once done, go to projects\framework-res.apk\res\values\arrays.xml and edit your values as per first post.

Once edited, compile the apk using option 11

Qn: Is this a system apk. Ans: y

Qn: Aside from the signatures, would .... least. Ans: y

Prompt: In the apk manager folder u'll find a keep folder..... done then press enter on this script. Press any key to continue . . . You have to go to "keep" folder and delete resources.arsc because arrays.xml have been changed. After this You can press any key in apk manager window.

Once done, input 22 in apk manager and select "unsignedframework-res.apk" by entering the number that stands for it. After selecting it You should see in apk main window in the top right corner "Current-App: unsignedframework-res.apk". Now press 5 to zipalign apk. You will find your completed, zipaligned apk under place-apk-here-for-modding\unsignedframework-res.apk

rename back to framework-res.apk and adb push the file back to your phone.

And here are the values I use, taking some values from my Hero days :p

<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>5</item>
<item>25</item>
<item>60</item>
<item>125</item>
<item>255</item>
</integer-array>

Since some MOD (like APM for example) make changes to the framework-res.apk, it is better for you to do your own instead of begging others to do and post here.

Edit1: Updated steps as recommended by LockeOn

Edit2: using more aggressive values now after few days testing

<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>2</item>
<item>15</item>
<item>32</item>
<item>100</item>
<item>200</item>
</integer-array>

before this, i was always using minimum brightness instead of auto brightness thus decided to set 32 and below for majority of the values. it works for me when i am indoor and outdoor under low light. when outdoors under brightness, the increase is bright enough for me so I believe i have found my sweet spot :D

note that my environment and preference may diff from everyone so what works for me may not work for you :p
[Galaxy S II Themes and Apps] desean:
I think you unpacked, not decompile.
[Galaxy S II Themes and Apps] LockeOn:
Thanks for that I would like to attach this to the first post if You don't mind but first I need to correct a couple of things:

In this step:

[*]Prompt: In the apk manager folder u'll find a keep folder..... done then press enter on this script. Press any key to continue . . . You have to go to "keep" folder and delete resources.arsc because arrays.xml have been changed. After this You can press any key in apk manager window.

And this step:

[*]Once done, input 22 in apk manager and select "unsignedframework-res.apk" by entering the number that stands for it. After selecting it You should see in apk main window in the top right corner "Current-App: unsignedframework-res.apk". Now press 5 to zipalign apk. You will find your completed, zipaligned apk under place-apk-here-for-modding\unsignedframework-res.apk

[*]rename back to framework-res.apk and adb push the file back to your phone.
[Galaxy S II Themes and Apps] AndroidGX:
Nice idea, wanted to give a try, I already got Kahvitahra mod (APM + CRT + OS + JKays Green Battery) for Kitchen ROM KH3 and I can't see any sign of "values" folder on my framework-res.apk.. any idea :confused:

edit: tried with RootExplorer directly, but if I need to decompile using another apk, recompile, push adb, etc etc, no thanks :p all this to just modify brightness settings it's weird :(
[Galaxy S II Themes and Apps] desean:
By all means. I will edit my post too :D

for me, it is still a learning process as this is my first try at decompiling
[Galaxy S II Themes and Apps] LockeOn:
Follow the guide in the first post. You have to DECOMPILE framework-res.apk using APK MANAGER. DO NOT OPEN IT IN WINRAR/WINZIP/7ZIP/ETC because that way You won't find the files that has to be edited.
[Galaxy S II Themes and Apps] Firefighter-88:
good job :D

great mod, know we just need leomar to add it to his kitchen ;)
[Galaxy S II Themes and Apps] jameslfc5:
Thanks for this but does everyone know that status bar is a brightness control when auto-brightness is turned off?

HOW TO:

1) Turn auto-brightness off

2) Hold the status bar and more your finger to the right to INCREASE brightness and the left to DECREASE the brightness
[Galaxy S II Themes and Apps] LockeOn:
Doing this everytime the light changes is a little bit inconvenient + in menus, and some or even most of the apps there is no status bar so You have to go back to home screen etc. I already tried it and it is not a good solution.

Another thing is I tried to lower auto-brightness levels a little and so far it works good. The values are:

<item>5</item>

<item>25</item>

<item>60</item>

<item>120</item>

<item>235</item>