yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S II SGH-T989] KonstantinKeller:
That sounds exactly like what I did, yet still bad life. I'll post a screenshot when its at like 20%

---------- Post added at 10:12 AM ---------- Previous post was at 10:10 AM ----------

I'm using Juggernaut v4.1 with Faux 0.0.7. Terrible battery.
[T-Mobile Samsung Galaxy S II SGH-T989] :
Faux said this in the opening not all phones can handle gpu overclock the same way. Just because mines can handle it yours might not be able to. i would wait a day or so.
[T-Mobile Samsung Galaxy S II SGH-T989] kkholidaze:
I'm using Juggs 4.1

Sent from a Sammy Galaxy S II far, far away..
[T-Mobile Samsung Galaxy S II SGH-T989] phewizzo:
Ppl are not understanding that Faux did not pre UV his kernel and u have to UV urself to get great battery life. Your coming from either bullet or synergy which was already pre UV. UV guys plz. Im at -75 global and its stable. I get a 1% drop every hour overnight. If ur not gonna UV then ur not gonna get good battery life, thats the purpose of y the feature is there..
[T-Mobile Samsung Galaxy S II SGH-T989] KonstantinKeller:
I uved it -25. I'll try -75.
[T-Mobile Samsung Galaxy S II SGH-T989] armyofbear136:
yesssss ty dude I didn't understand the battery droppage either... i tried UV before but I didn't realize the results were so great, and I can't stand using synergy or any other kernel on any roms, I run too much **** and it lags bad without faux. Now I can have great battery and great performance! You's my lifesaver.
[T-Mobile Samsung Galaxy S II SGH-T989] morbid:
What r u guys using to UV?
[T-Mobile Samsung Galaxy S II SGH-T989] phewizzo:
Your welcome. Im hoping everyone really reads this and understands.
[T-Mobile Samsung Galaxy S II SGH-T989] phewizzo:
System tuner..
[T-Mobile Samsung Galaxy S II SGH-T989] fatboy547:
If i just flash gideons will i be uv already? Do i need system tuner?
[T-Mobile Samsung Galaxy S II SGH-T989] armyofbear136:
I dropped -50mv on this ***** and holy crap it's already either as good if not better than synergy. #mindblown. I've been running faux for like a week and I'm just now figuring out how useful UV is /palmface
[T-Mobile Samsung Galaxy S II SGH-T989] phewizzo:
Im on -75 and battery life is better then i ever got with any other kernel and I hear ppl get to -100.
[T-Mobile Samsung Galaxy S II SGH-T989] KonstantinKeller:
Can you give me complete flash instructions and exactly how you uved/oced it? I can't seem to get it to work.
[T-Mobile Samsung Galaxy S II SGH-T989] phewizzo:
Download system tuner from android market, after flashing the kernel, open system tuner set ur cpu min max to what u want. Myne is default 1512-384. Now go to voltage panel, hit reset all and then hit -12.5 6 times and ur set..
[T-Mobile Samsung Galaxy S II SGH-T989] KonstantinKeller:
Alright, I did this. But when I set the min freq to 385, it will jump back to 1782 according to system panel lite. And I don't think the settings stay past reboot. Plus, how do I check if uv is working?
[T-Mobile Samsung Galaxy S II SGH-T989] phewizzo:
Thats an artifact with system tuner, the min will go back to max but thats not true. Its really at 384 even though the slider says max.
[T-Mobile Samsung Galaxy S II SGH-T989] KonstantinKeller:
Yeah, but in system panel lite, it say min: 1080mhz and max: 1080mhz. And I can't check if its uved.
[T-Mobile Samsung Galaxy S II SGH-T989] GideonX:
My script sets it to -50.
[T-Mobile Samsung Galaxy S II SGH-T989] KonstantinKeller:
But how do I change the frequency to 1.73 ghz?
[T-Mobile Samsung Galaxy S II SGH-T989] GideonX:
Download the zip

Extract the post boot script

Open with text editor (ex: notepad++)

Scroll to the bottom and change 1080000 to 1728000 for both CPUs.

Save script

Push it back into the zip and place on your sdcard

Flash via CWM

or

Using something like Root Explorer, open up the script on your phone after flashing my zip. Edit the file the same way, then reboot.
[T-Mobile Samsung Galaxy S II SGH-T989] Nismo13:
I stopped using system tuner because of the min setting jumping to the Max setting when you turn the screen off

I understand you are saying it's an artifact and that it really is staying at the min. So you are just using system tuner without the script? How is the battery life for you?
[T-Mobile Samsung Galaxy S II SGH-T989] KonstantinKeller:
One more thing, sorry if I'm bothering you. How would I under-volt it to -75 and then test if the script works right?
[T-Mobile Samsung Galaxy S II SGH-T989] GideonX:
Change -50000 to -75000 at the bottom of my script for the vdd line.

You can cat the same vdd path after a reboot with terminal emulator to see if the change took.

Btw, I'm going to post up a -75mV with 384/918 along with some typical kern/batt tweaks. Flash it if you want better battery. I haven't found it hiccup on anything I've thrown at it with a max of 918Mhz :D
[T-Mobile Samsung Galaxy S II SGH-T989] KonstantinKeller:
Thanks! And just to make sure, I can use 1.73GHz with a -75mV under-volt, right?
[T-Mobile Samsung Galaxy S II SGH-T989] GideonX:
I can't answer that one. Maybe? ;)

Just have the stock zip handy if it bootloops.
[T-Mobile Samsung Galaxy S II SGH-T989] KonstantinKeller:
Alright, about to flash your script I modified. Will report results when done.
[T-Mobile Samsung Galaxy S II SGH-T989] mettleh3d:
Things begin to stutter after I go past -50. Is this what happens or am I imagining things. I know I've gone too far and I got reboots.

Using Gideon script, 1512, -50mv.

Sent from my SGH-T989
[T-Mobile Samsung Galaxy S II SGH-T989] KonstantinKeller:
Alright, this is the output when I cat vdd_levels

192000: 800000
310500: 800000
384000: 800000
432000: 812500
486000: 837500
540000: 850000
594000: 862500
648000: 875000
702000: 900000
756000: 925000
810000: 937500
864000: 962500
918000: 987500
972000: 1012500
1026000: 1025000
1080000: 1037500
1134000: 1050000
1188000: 1062500
1242000: 1075000
1296000: 1100000
1350000: 1125000
1404000: 1150000
1458000: 1162500
1512000: 1175000
1566000: 1187500
1620000: 1200000
1674000: 1212500
1728000: 1225000

And catting the min freq brings me:

384000

Max is:

1728000

Does this mean its working? And I believe it showing the min freq as the highest isn't an artifact with the program, but I believe its an artifact with how the system reports it. Because it says that with all the programs I tried and system panel lite reports it as 1728mhz also, so I'm guessing its just how the system reports it. But, does it look like its working?
[T-Mobile Samsung Galaxy S II SGH-T989] phewizzo:
Na im not using the script. U can even see in the graph on system tuner that even if the min jumps up to max if u dont touch the screen the graph will show that its at 384. My battery life is 14+ hours and im a heavy user, facebook, twitter and texting. I dont use auto sync though for google, and I take notifications off all my apps cuz I find it annoying to show up on the top notification bar.
[T-Mobile Samsung Galaxy S II SGH-T989] phewizzo:
R u using the script and a cpu app? Cuz if u r thats gonna cause problems.
[T-Mobile Samsung Galaxy S II SGH-T989] BIGWORM:
Just an observation. I flashed the newest Dewizzed v2.0, clean wipe of course. According to System Tuner Pro, CPU1 is still not sleeping. I've had to flash Synergy again to get CPU1 to sleep properly.
[T-Mobile Samsung Galaxy S II SGH-T989] mettleh3d:
No sir, I only know to use 1 or the other. Using script only in this case. Back when using fauxclock, if I pushed passed -50 stutter was more apparent than less under volting.

Sent from my SGH-T989
[T-Mobile Samsung Galaxy S II SGH-T989] kkholidaze:
Just flash script without any oc/UV app. I didn't modify the script either. Left it the way it was. In my opinion, -50 is fine. How long do you need to go before a recharge anyway? A day? 2? By the way, not sure if it matters, I am also using juice defender on aggressive.

Sent from a Sammy Galaxy S II far, far away..
[T-Mobile Samsung Galaxy S II SGH-T989] grimmjaw:
Love this kernel. Smooth and great battery. I'm getting almost 6 hours of on screen time. Using the 7r2. Ultimate is a bit smoother but hits the battery a bit.

I'm heavily undervolted, underclocked to 1.18, lowest brightness, on edge only (turn on HSPA only when needed) and background data off.

Keep up the good work :-)

Sent from my SGS2 ^_^
[T-Mobile Samsung Galaxy S II SGH-T989] goonx:
Use Gideon script. Much better than system tuner. I'm back on mainstream after using synergy with his scripts.
[T-Mobile Samsung Galaxy S II SGH-T989] GideonX:
Added a new zip that does:

CPU0+1 @ 384/918 w/OnDemand gov at -75mV and contains some virtual mem tweaks. Open the script to see what they do. I tried to describe it the best I could in the comments. This is purely for battery savings and won't win you any benchmark fights. However, I can't tell a difference from going below 1Ghz compared to going above it in everyday tasks.

There's also now a cpuinfo.sh file that will be flashed. In terminal emulator, type cpuinfo.sh and it'll echo out the changes that were made. No need to cat the long paths to verify your changes ;)

Link in my sig for the download. Let me know if you have any questions, thanks.
[T-Mobile Samsung Galaxy S II SGH-T989] KonstantinKeller:
I'm using the ultimate kernel and gideons script. I am under volted -75mV and under clocked at 1.35GHz. Runs very smooth and lag free.
[T-Mobile Samsung Galaxy S II SGH-T989] ronin4740:
Thanks Gideon... Just got around to removing FauxClock and flashing the script... It's so simple to use and modify that I don't know why I didn't do it sooner.

One minor detail - I think the cpuinfo.sh is missing from your GideonX_OC_UV.zip file. I copied it out of the new one and included it with my modified script before flashing but thought I'd mention it.

*edit* and I get permission denied when I try to run it after copying it from the GideonX_OC_UV_VM_Tweaked_for_Battery.zip file... any thoughts on how to fix this? I'll start looking at the permissions with Root Explorer...

*re-edit* Had to add the executable permission to the cpuinfo.sh file in system/bin with root explorer... won't run if the script doesn't have permissions to run :) (and that just about exhausts my Linux knowledge!)
[T-Mobile Samsung Galaxy S II SGH-T989] GideonX:
It should be in there, I just updated it :)

If CPU1 throws a file not found from that cpuinfo.sh script, it just means it went offline. Don't be alarmed, it's normal. I'll put in a check on the next update to look for that.

---------- Post added at 11:39 PM ---------- Previous post was at 11:37 PM ----------

Redownload the zip. Copying the file over will not set the correct permissions. The update.script within the zip takes care of that.
[T-Mobile Samsung Galaxy S II SGH-T989] mettleh3d:
Cool Gideon thanks, I just noticed the new zip you made. Hey got a question, can you have different scales for each CPU? ie 384/918 for CPU 0 and 384/1512 for CPU1?

Is your new zip 384/918 max for both CPUs?
[T-Mobile Samsung Galaxy S II SGH-T989] ronin4740:
Curious what effect this code has (it's not in the OC_UV file) and if I should use the new file as a base for tweaking?

# Set kernel dirty data writes. Dirty just means changed data, don't freak out.
# By setting writeout times to be longer, there are less writes which may save more battery for you.
#
# /proc/sys/vm/dirty_expire_centisecs = how old is the data before kernel writes
# /proc/sys/vm/dirty_writeback_centisecs = how often should the kernel check for dirty data
# /proc/sys/vm/dirty_ratio = max memory in percent of data storage
# /proc/sys/vm/dirty_background_ratio = amount of memory in percent for a data writeout to stop
echo "500" > /proc/sys/vm/dirty_expire_centisecs
echo "1000" > /proc/sys/vm/dirty_writeback_centisecs
echo "90" > /proc/sys/vm/dirty_ratio
echo "5" > /proc/sys/vm/dirty_background_ratio
[T-Mobile Samsung Galaxy S II SGH-T989] GideonX:
Those are the vm tweaks I added. OC_UV zip does not have it.

The new zip is clocked lower, undervolted lower, and has the vm tweaks. It's for the battery saving zealots out there ;)

Sent from my SGH-T989
[T-Mobile Samsung Galaxy S II SGH-T989] mettleh3d:
Safe to alter the clocks?
[T-Mobile Samsung Galaxy S II SGH-T989] GideonX:
Of course. Just keep a copy of the stock zip handy just in case.

Sent from my SGH-T989
[T-Mobile Samsung Galaxy S II SGH-T989] goonx:
Hey Gideon,

I was using your original scripts. What exactly are the VM tweaks doing?
[T-Mobile Samsung Galaxy S II SGH-T989] GideonX:
From my understanding, those settings stretch out the time between data change checks and writes by the kernel. So I'm assuming less checking and writing equates to less power consumption.

Sent from my SGH-T989
[T-Mobile Samsung Galaxy S II SGH-T989] rUsTyRuSs:
Gideon would it be possible to start your own thread with your script so the people that are looking for updates pertaining to the kernel don't have to search and vice versa. It would be greatly appreciated.

Thank you in advance,

Russ
[T-Mobile Samsung Galaxy S II SGH-T989] faux123:
Gideonx, btw, users from my skyrocket kernel are also interested and are using your scripts as well.
[T-Mobile Samsung Galaxy S II SGH-T989] GideonX:
I thought about it, but this script is really just for faux's kernel. I don't think it really deserves an entire thread. No worries, it won't get updated too much besides what's up there now.

Sent from my SGH-T989
[T-Mobile Samsung Galaxy S II SGH-T989] GideonX:
Awesome! I suppose if it works for ours, it should work for them too.

Sent from my SGH-T989
[T-Mobile Samsung Galaxy S II SGH-T989] kkholidaze:
Is there anyone out there that has tried Gideons script with another kernel other than faux? Like synergy? Does it work?

Sent from a Sammy Galaxy S II far, far away..
[T-Mobile Samsung Galaxy S II SGH-T989] androidtoy09:
Gideon, sorry If this was asked before but how can I change the undervolt setting in your script? I do not want to under-volt.

Thank you for the script
[T-Mobile Samsung Galaxy S II SGH-T989] GideonX:
Open up the script with notepad++ or equivalent and place a # sign before the echo command for the line that reads /sys/devices/system/cpu/cpufreq/vdd_table/vdd_labels. Save and close the script.

After a reboot, you'll be on stock voltages.
[T-Mobile Samsung Galaxy S II SGH-T989] sarni84:
Yea gideon thanx for the scripts man definitely appreciate it. Im using the one u posted lastnight and i cannot tell a difference from 1674 ghz to 918ghz. It runs beautifully at this speed no lag and the battery life is killer. I got up today at 430am for work unplugged phone made a few calls and some texts to the wife also browsing xda on my break rite now and i just hit 95% usually by now i am between 80 to 85 % battery. I left the script as is and calibrated battery lastnight. Much thanx dude!;) ......damn i love this phone lol
[T-Mobile Samsung Galaxy S II SGH-T989] GideonX:
My thoughts exactly. Aside from benchmark numbers, the difference in feel from going to 918Mhz compared to anything higher really isn't much. I actually tried a bunch of speeds while testing and 918 was the sweet spot. Battery saving is just a nice "side effect" :)
[T-Mobile Samsung Galaxy S II SGH-T989] sarni84:
I

Im pretty sure it works with cmenards kernel (bullet) but i would stick with fauxs brotha also if u want great great battery life use gideons second script the one uved to -75 battery life is just killer man . Also no cpu app needed for oc/uv
[T-Mobile Samsung Galaxy S II SGH-T989] goonx:
Thanks Gideon,

The scripts definitely got the battery drain down to a stable and full day use level.

Is it possible to add a screen-off cpu limitation to the script. I know systemtuner has that ability. If added, I feel we can get even better battery savings.
[T-Mobile Samsung Galaxy S II SGH-T989] mettleh3d:
The kernel automatically drops into DEEP SLEEP when you screen off, which you can confirm with the app Cpu Spy. A screen off profile of say 192/384 min/max drains more than Deep Sleep. You want the deep sleep.
[T-Mobile Samsung Galaxy S II SGH-T989] BIGWORM:
I don't know if this is the proper kernel thread to point out, but I can confirm that GideonX's latest battery script is working Synergy v.10. Is there a way to actively set the deep sleep, or is it automatic? Just curious.
[T-Mobile Samsung Galaxy S II SGH-T989] ronin4740:
Just wanted to say thanks - MUCH better battery life with the script than with fauxclock!

CPU set to 1512000/384000 and undervolted by 75.

phone had seen light user all day... My powerskin case it's still half full... Phone runs fine, nice and snappy

Not sure why I'm seeing the CPU1 error... Will look at how I modified the script later tonight

Using tapatalk on my Galaxy 2 to post this!
[T-Mobile Samsung Galaxy S II SGH-T989] KonstantinKeller:
Thanks man, I tried this and it seems to be working. How would I calibrate the battery as it seems to be draining fast and i catted the cpu scalings, and it looked right. How would I go about doing this, or do I have to wait 2-3 days?
[T-Mobile Samsung Galaxy S II SGH-T989] morbid:
what modem are you guys using with your roms the original one or the kl1
[T-Mobile Samsung Galaxy S II SGH-T989] tdizzle404:
zip,kernel,rom capadibility?

can you make a zip set @ 1.5Ghz?

also does it matter wat rom im using?

Im just using the 2.3.6 stock rooted
[T-Mobile Samsung Galaxy S II SGH-T989] mettleh3d:
I get hotboots and huge slowdowns with 384/918. =[ but i will keep working with it to see if it works. Maybe -75mv is too much for my chip.

Recovery

Wipe Cache/Dalvik

Flash Stock Kernel

Reboot

Recovery

Wipe Cache/Dalvik

Flash Faux Kernel

Reboot

Recovery

Wipe Cache/Dalvik

Flash script 384/918

Reboot

Hotboots.

Also, how are you guys able to say 918 feels like 1723...there really is a difference...
[T-Mobile Samsung Galaxy S II SGH-T989] BIGWORM:
I didn't get the slowdowns, but I got a weird shutdown after sleeping the phone, the phone would reboot to the Samsung and then sit at a black screen. I had to power cycle the phone with the button combinations and it'd boot back up. It did that to me twice in the span of a day. I'm assuming it's being UVed too much, because from what I've heard, Synergy kernel is already UVed enough. I would love to play with GideonX's script, but I can't flash the Faux kernel because CPU1 does not sleep for me when running that kernel.
[T-Mobile Samsung Galaxy S II SGH-T989] faux123:
unless you disabled mpdecision, CPU1 will go to sleep :cool:

CPU1 on/off issue is NOT a kernel issue, it is more of a ROM / Setup / App issue.
[T-Mobile Samsung Galaxy S II SGH-T989] GideonX:
Not all phones are created equal :)
[T-Mobile Samsung Galaxy S II SGH-T989] kkholidaze:
This happened to me as well on both Faux and Synergy kernels with UV. What I found causes it is if you do not give the phone time to settle after reboot and say try to run an app right away, you will get the reboot black screen. Pull bat. After reboot, wait about 5 or so minutes before you do anything with the phone and it will work great all day long. 16 hours in, moderate to borderline heavy use, 40% still left! Nice B-)

Sent from a Sammy Galaxy S II far, far away..
[T-Mobile Samsung Galaxy S II SGH-T989] DG42xda:
In case this info might be useful to someone, I did a "very light" usage test, where I purposefully used the phone less than normal, but I still regularly used Gmail, Gtalk, SMS, and TweetCaster, but very little web browsing if at all and didn't talk on the phone for more than a few minutes.

I went 48 hours and the battery showed 20% left. I'm running Juggernaut 4.1, faux 007b5, and GideonX's script set to 1512 / 384 and UV set to -50. I tried a lower max but I noticed a slight screen lag. I want a super smooth screen, but I want to minimize standby battery drain, so this is a good setting. I'll probably leave it like this for a while.

I attached the CPU Spy screen so you can see where the cpu spent most of its time. I cut out frequencies that were used for a few seconds or a couple of minutes (the orange bars are the gaps). I think that it spent a little time at 1.7 GHz because I rebooted at some point (I've been customizing some icons and pushing APKs). You can see that the total time is less than 48 hours, so that probably indicates the reboot.
[T-Mobile Samsung Galaxy S II SGH-T989] kkholidaze:
Got random reboots again last night while I was running some tests and I think I found out why. The CPU doesn't play nice with clock speeds at boot less than, for me, 918. My battery was low and I was trying out set CPU. I had it set at 756 below 25% and it didn't like it. Once I bumped it back up, all was well. It seems it doesn't matter what my max speed is set at, it spends the majority of the time at 384 and deep sleep which is great for me.

Sent from a Sammy Galaxy S II far, far away..
[T-Mobile Samsung Galaxy S II SGH-T989] 850T5m:
I'm getting random reboots also with the new script, I'm running it on bullet kernel tho, i clocked it at

1.4ghz max with -75uv. Running really well, except for the random reboots...
[T-Mobile Samsung Galaxy S II SGH-T989] mettleh3d:
Maybe -75mv is too low for some of you. I got reboots and have changed the script to -50mv
[T-Mobile Samsung Galaxy S II SGH-T989] jay661972:
Cpu1 is online. Thanks G for the script. Oc to 1566 and uv -75 using stock rom rooted. 5% down while you are sleep.
[T-Mobile Samsung Galaxy S II SGH-T989] jay661972:
I think you need to reset cpu spy after reboot or else it will show 1.7 ghz. Mine always shows like that after reboot, i juz reset the cpu spy and i got the accurate reading by cpy spy
[T-Mobile Samsung Galaxy S II SGH-T989] GideonX:
If you are getting random locks or reboots with the new zip, it just means the -75mV is too much for your phone too handle. Either bump it back up to -50mV or just flash the other zip.

Again, not all phones are created equal :)
[T-Mobile Samsung Galaxy S II SGH-T989] jay661972:
Agree... Thanks G for the script. I am running the OC script zip and change the uv to -75 and oc to 1566. no issue or random reboots.
[T-Mobile Samsung Galaxy S II SGH-T989] Simer03:
I ran quadrant and i was getting only like 2800 with OC of 1.7 while my boss's at&t s2 unrooted got 3200+....

Sent from my blazed Juggernaut!
[T-Mobile Samsung Galaxy S II SGH-T989] btyork:
Quadrant is terrible. Use cf-bench.
[T-Mobile Samsung Galaxy S II SGH-T989] :
Benchmarks don't mean anything. Just be happy with your phone performance.
[T-Mobile Samsung Galaxy S II SGH-T989] sarni84:
Benchmarks ain't **** and I come to realize that. I want great battery life and don't care to much for ocing my phone to 1.7ghz the crazy things is I am using Gideon script and it kicks ass. I am underclocked to 918 ghz and uv -75 and this phone feels like the same as if I was oced this phone is a beast and I'm lving it
[T-Mobile Samsung Galaxy S II SGH-T989] tuffballa:
sorry for the noobish questions but how exactly do u run these scripts? are they flashable through cmw?
[T-Mobile Samsung Galaxy S II SGH-T989] 850T5m:
I set the new script to -62.5mv, running perfectly! Battery is at 70% after 8 hours of moderate use. I'm usually at like 40-50% by now!

Thanks!
[T-Mobile Samsung Galaxy S II SGH-T989] skadude66:
Yeah.
[T-Mobile Samsung Galaxy S II SGH-T989] kkholidaze:
Can someone wall me through the process of editing the script on my phone? I downloaded the zip. Via root explorer, extracted it into it's own folder. Opened the script with NotePad or in my case, text editor. Now this is where I get lost. What values do I change and when I'm done and re-save file, where do I place the files?

Sent from a Sammy Galaxy S II far, far away..
[T-Mobile Samsung Galaxy S II SGH-T989] 850T5m:
Download NotePad++ it will format the script much better. Don't extract the complete zip, just extract the script file out of it, edit to, then drag it back in. Once you open the file with NotePad++, it will be much more obvious to make changes
[T-Mobile Samsung Galaxy S II SGH-T989] kkholidaze:
Ahhhhh, that would explain it. Then when done, I install via cwm as usual? But I was looking for a way to edit on my phone without being at a computer

Sent from a Sammy Galaxy S II far, far away..