yashsingh1/xdaforums huggingface dataset:
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] danesusername:
Running PAC now and the script ran like a charm! Ktoonservative started changing my sampling_rate to 10000 again, so I'm using conservative. I'll report on battery life tomorrow and the next day to keep you updated.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] baconatorXVI:
Have you PM'd ktoonsez about this? maybe he can help you better then we can.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] danesusername:
I'll do that. It's an old issue that I've had before, I'm not sure exactly how I got rid of it the first time.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] jasvncnt1:
Is it my work computer screwing up or are the script links down?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] liltitiz:
It works on my phone.

http://db.tt/XEOyV7ej
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] jasvncnt1:
Thank you! Been reading your thread and going to give this a shot. Im not too good with kernel adjustments. I usually just leave stock. But would really like better battery so here we go....

Man my head is spinning..can someone help?

So I flashed KT and set it up like this

Ktoonservative setup to input in ktweaker:

Boost 2nd core on button:0

Boost cpu:540

Boost gpu: doesn't matter

Boost hold cycle :0

Boost turn on 2nd core:0

Cpu down block cycle:0

Down threshold:75

Down threshold hotplug:60

Freq step:3

Ignore nice load:0

No 2nd cpu screen off:1

Sampling down factor:3

Sampling rate: 25000

Sampling rate screen off: 45000

Up threshold:94

Up threshold hotplug:96

Also had the script run which it said ran without errors.

ktoonservatve/row (should it be asswax)?

378/1512. Should this be different because of the script?

No UV.....

Any help would be great. Im still reading the thread to see if I can understand it better
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] baconatorXVI:
Ok first I would say change sampling down factor to one. Three names it stay on higher frequencies longer.

Do you have root explorer? It's worth the buy. You can edit your script from there. Open your script and read what it says, if it's saying it's echoing 378 to cpu1 minimum (i can't remember the exact path and file name) then so it is, that will be your minimum.

Try perfmon from the play store, it's got an overlay so you can see what cpu1 does when you run your script.

If you need any more classification don't be afraid to ask. When you can explain what it is you are doing you will be at a point where you have a good grasp on the subject.

Try adjusting the up and down thresholds so you can visually see how the cpu frequency scales up and down quicker or slower depending on how you tweak it. Just do something consistent like home screen scrolling and watch how you can adjust how cpu0 scales up and down using the up and down frequencies of ktweaker

Have fun!
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] mikoal:
yea i just tasker'd it to toggle on and off the data. (but im not sure how to put a condition on when the screen is off but tether is on, leave data on. I dont think there is a variable that allows me to check for tether is on or off)

i tried another setup that rerick used its pegasusq with zen, and im getting about 2:40min screen with 6 hours up time with 10% remaining.

i think its slowly getting better.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] Heisenberg420:
Here's my goto settings for battery savings if u wanna give them a try

Asswax/zen
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] liltitiz:
The sampling down rate is set to 3 to avoid too much bouncing when the load on cpu0 is high. I took care of setting Sampling rate to 25000 to balance and it works best this way.

Your min/max freqs on cpu1 will be the same that the one you set in ktweaker since it's applying on both cores. But don't forget to adjust the value in the script to match your min freq as I explained in the post I shared the settings.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] mikoal:
thanks, what times were you getting on this?

have u tried pegasus/zen?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] Heisenberg420:
Yesterday I got it down to around 20% after 12h uptime, 4hr screen time, and about 20 min of voice calls
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] mikoal:
wow, i wish i had that.......

jw, ppls "on screen" time, is it heavy net surfing? sometimes when my screen is on reading etc, it doesnt drain nearly as fast.........
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] Heisenberg420:
That's a good point screen time can really mean a lot of different things even though its what most people use to judge battery life

For me its usually browsing, tapatalk, gmail which are pretty light on battery life especially compared to videos and gaming
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] jasvncnt1:
Hey Bacon thanks for taking your time to help me. Much appreciated. I do have root explorer and I just bought perfmon. At idle CPU0 is at 378 23% CPU1 just bounces around all over the place. Then it will say offline for a moment then starts again. Think I may just have to start fresh. Maybe its the script I'm not really getting. Shouldn't I be using asswax with it
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] liltitiz:
If your min isn't set at 81mhz you have to adjust the script to match with your min freq as I explained in the post I shared the script in. And no you better using ktoonservative cpu0 and asswax cpu1
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] jasvncnt1:
Thanks I'll check all my settings

Min is at 81. When I run script should I get script ran successful. No errors but says no output generated
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] baconatorXVI:
So wait your minimum is at 81 but you're never seeing it lower than 378? What apps are you testing to see your frequencies? do you have a 3D live wall paper that's using the cpu? I'll post my script and my ktweaker settings minus the undervolting

---------- Post added at 04:31 PM ---------- Previous post was at 04:22 PM ----------

Mk guys, here's my settings. If you're not into scripting the ktweaker settings are great, but you should seriously start scripting.

Battery has been fantastic for me

Script:

http://db.tt/L6pLrDDs

Ktweaker: so there's no voltage settings here, all stock

http://db.tt/g5fNFgZp
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] jasvncnt1:
Yeah it was strange. But was also very laggy. So went back into ktweaker and bumped min to 386. Seems little better. I was using perfmon. No good? No live wallpaper. No background syncing. I'm going to give your script a shot. When I run the script should I get any kind of output? It just tells me it ran with no errors. Thanks again. Hate being spoon fed lol. I just need more time to really sit and read this thread more. I'm not the smartest person so things like this don't come so quick for me. :o
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] liltitiz:
If the script ran correctly you'll get this

If you get any lags you might want to try and play with ktoonservative and asswax governor. You can find informations about this tunables in the second post of this thread. If you are not sur if your phone will agree with the script just don't set it on Boot so a reboot will get your phone back to its original setup.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] liltitiz:
I don't know if it is just me but even if I set another max freq in cpu1/cpufreq/max_scaling_freq it will always get set back to the max freq of ktweaker. So you can't really run different max freq for each cpu.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] liltitiz:
This is the time I got after spending the day out. Only mobile data, no wifi, max brightness, the screen time is from browsing with chrome, Facebook, Tapatalk, SMS and checking my email. I also listen to some music for like 2hours and spoke on the phone 30 minutes. I was still over 50% at the end of the day. I'm using task650's aokp rom and my ktoonservative(cpu0)/asswax(cpu1) settings I shared a few pages back. Subtract 10 minutes to the screen time I forgot to take the screen shot after the first one :p
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] baconatorXVI:
I have a hunch, i have Ktweaker and SManager both set to run at boot but i am able to run different max frequencies.(provided i don't go and change it in Ktweaker) I think SU is granted in alphabetical order, so as it boots Ktweaker sets max @ 129x for both, then SManager gets SU perms and it sets CPU1 max at 1080. That's my hunch...

what Rom? with Slim Rom i have like zero lag, even under these slower conditions.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] liltitiz:
Even using smanager I wasn't able to get a different max freq for cpu1 yo stick :/. Even if you turn your screen off/on and then go check in cpu1/cpufreq/max_scaling_freq your different max freq is still applied?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] baconatorXVI:
AH HA!!

I got it!

you want scaling_max_freq

the other one is just a place holder I believe. that's what's in my script at least.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] liltitiz:
That is what I meant I just inverted the order :p but the value applied by the script doesn't stick after the screen turns back on
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] danesusername:
Well damn, I thought I was set. This is what I'm getting after running the script:

What am I doing wrong this time?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] baconatorXVI:
hmm i don't know why you are having trouble, i've never had trouble with it. perhaps freeze ktweaker with titanium backup and try again? i don't know why it's not working
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] mikoal:
Stock battery? How many more hours u get with this vs Ur old ktoonservative setting?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] liltitiz:
Yes stock battery. I could get up to 3-4 hours screen time with 22-24hrs discharge with my old ktoonservative settings without cpu1 setting I would've not more than 16hrs with 2-3hrs screen time with the same usage
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] liltitiz:
Using a file explorer, take a look at the files the script applied the values to. If you find the same value then it is ok. Did you install the busybody your system?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] bweezy21:
screen off settings in ktoonservative resets the max frequencies. can't use screen off stuff or you have to reapply the script on screen on. that is if you want different maxes for each core.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] liltitiz:
That is what I thought thanks for confirming I'm not the only one :D

But I think it happens every times cpu1 goes offline so it would be a pain in the ass to get it to stick :p
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] danesusername:
Just checked and the settings were applied. Thanks, bro! I'll let you know how my battery takes it.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] jasvncnt1:
I may have changed a few settings just trying things out. Battery seems pretty good so far but still get a little stutter when scrolling and apps opening . Do you guys see anything I may have set wrong or conflicting?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] baconatorXVI:
Man I don't know I've never had trouble with my different maximum's. Even when cpu1 gets hotpluged. I've only used set on boot for both ktweaker and SManager.

I don't use any governor or max/min switching stuff for any event with ktweaker but I had figured it would screw with the separate maximums.

Perhaps for kicks try out slim? I remember you said you were on aokp. Did you try my settings files? I'm just curious if there's anything you've done that could mess with cpu1.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] mikoal:
Bacon/Titiz

Hmm i got some questions on these settings

1)

I noticed I dont have these following settings in my direction.... i couldnt find them in ktweaker or in the directory. when i run the script it say it doesnt exist (interactive_ideal_freq)

echo 189000 > /sys/devices/system/cpu/cpufreq/asswax/interactive_ideal_freq

2)titiz this wont stick, similar to you

echo 1080000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

3) When using terminal emulator, with su rights, I get "permission denied" to run the script. I had to use Smanager to run it......why is that?

4) it froze on me a everytime after the benchmark finishes running....... or when it settles down.

Actually it just reboots even when i change the governor.......

how come thats happening?

5) how can you tell its even runnning? Is it just by going into the directory and looking that the selected governor file?

6) can you have ktoonservative running on cpu1? i tried to mod the script to do so but that didnt work......

EDIT: weird....conservative seems to work. Ktoonservative, asswax seems to make the phone boot........
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] liltitiz:
Your up threshold and up threshold hotplug needs to be closer so your cpu1 is use to help cpu0 to on his lower freq and it will help with the lag. If you ser up threshold to 75, set up threshold hotplug between 75and 80.

Also, setting your up and down threshold so close will just make your cpus to scale down and up uselessly. Setting your scaling down factor to 2 or 3 will also reduce the lag since your Sampling rate will be longer when the load on cpu is high. Therefore less scaling up/down uselessly, the load get processed faster and you cpu1 will be of better use because it won't turn on/off for nothing
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] jasvncnt1:
Thank you soooo much! That makes sense. Im learning..:D

so up threshold 75...Ill try hotplug at 80 and see how it goes. do you have a suggestion to start with for down threshold so its not so close with upthresh at 75?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] liltitiz:
55-60 should do it
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] baconatorXVI:
I'll respond from my pc, too much for mobile lol.

One thing I can say though is that when cpu1 gets hot plugged you can't access the directories. They effectively disappear. Running a background process should keep cpu1 active so it can be tweaked

Also doesn't touchwiz have some kind of power save features built in? I haven't used tw in forever but I thought I remembered that. Perhaps your touchwiz Rom doesn't like what you are doing.

Have you tried any aosp? I think a ton of your issues will be fixed by moving away from aosp. If you're worried about stability flash Slim :)
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] frazbox:
Had to make some altercations since updating to the latest crossbreeder script. The up threshold was too high and the down threshold was also too high. Through observation I realized that the CPU wasn't scaling up quickly enough and wasnt staying long at the high frequency when the app needed it. So it didnt show the effects of the script. Still getting the same performance with battery life after making my modifation.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] mikoal:
[QUOTE915617]I'll respond from my pc, to much for mobile lol.

One thing I can say though is that when cpu1 gets hot plugged you can't access the directories. They effectively disappear. Running a background process should keep cpu1 active so it can be tweaked

Also doesn't touchwiz have some kind of power save features built in? I haven't used tw in forever but I thought I remembered that. Perhaps your touchwiz Rom doesn't like what you are doing.

Have you tried any aosp? I think a ton of your issues will be fixed by moving away from aosp. If you're worried about stability flash Slim :)

1)so then I'm assuming on asop it will have (interactive_ideal_freq)

2)similar to liltitiz who is using aosp I belive and another person. This setting won't stick.

echo 1080000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

3) When using terminal emulator, with su rights, I get "permission denied" to run the script. I had to use Smanager to run it......why is that?

Is this ROM related?

4) only conservative works. But I guess that's more conservative than asswax right?

5) how can you tell its even runnning? Is it just by going into the directory and looking that the selected governor file?

6) can you have ktoonservative running on cpu1? ....
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] haveagr8day:
1)so then I'm assuming on asop it will have (interactive_ideal_freq)

2)similar to liltitiz who is using aosp I belive and another person. This setting won't stick.

echo 1080000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

3) When using terminal emulator, with su rights, I get "permission denied" to run the script. I had to use Smanager to run it......why is that?

Is this ROM related?

4) only conservative works. But I guess that's more conservative than asswax right?

5) how can you tell its even runnning? Is it just by going into the directory and looking that the selected governor file?

6) can you have ktoonservative running on cpu1? ....[/QUOTE]

3) Check the permissions on the script (make sure it is marked as executable)(Not sure if that is possible on internal memory)

6) In short, no. Not if it is on cpu0 anyways from what I can remember. I think ktoonsez gave an explanation of why when these settings were first being worked on.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] mikoal:
3) Check the permissions on the script (make sure it is marked as executable)(Not sure if that is possible on internal memory)

6) In short, no. Not if it is on cpu0 anyways from what I can remember. I think ktoonsez gave an explanation of why when these settings were first being worked on.

3) yea the permissions were either correct or couldnt be changed even with root explorer. I cant remmeber which was the case

6) i figured that you prob cant have a hotplugging gov on the second CPU

its still kind of weird where asswax would reboot the phone i think it might be related to it staying on offline too long or ramps down too quick. Though it works with Ondemand and Conservative as the second governor.

After using the recommended ktoonsdervative with bacon's cpu 1 mod with conservative gov. Also with tasker turning on and off things, greenifying everything, renaming the files such as mpdecision with .bak........

At 49% I've squeezed out 6 hours with 1:10 min on screen time........ this still seems pretty average to me especially when compared to liltitiz's 24 hours with 5-6 hours on screen time......he literally has 4 times or more battery life than me....... I dont believe this is stock TW's fault as other stock TW seems to be getting good life too......

EDIT: so at about 14% with 8 hours use and 2 hours of screen time i decided to charge the phone. Something interesting happened though, in the battery screen i noticed Android OS consumed 45% of the usage and the screen took up 33-35%.....and the Android OS was running for 4 hours.......That is weird since it entered deep sleep for most of the time........

Any ideas whats causing this drain? If this is the culprit and i eliminate it, i want to say that my battery life can be amazing....
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] baconatorXVI:
Dude, there's no source code for stock touch wiz. The touch wiz devs can't really fix many of the problems they run into. Why don't you try something that is actively being developed fixed and made better like cyanogenmod or Slim? Something way more functional usable and stable?

I can't tell you how much better the battery life is for me on aosp.

All you gotta do is backup then flash. It's so easy.

I think a ton of your problems will be fixed. For a different type example you're basically trying to put like an LS1 corvette engine in a Toyota prius expecting everything to work. Sure you can make it happen but you're going to have problems. It's like you have the capability to put your corvette engine in an old sexy 60's muscle car yet you're insisting on the prius. Ok that's my rant. Point is you have all the resources set before you to set your phone up fantastically and easily, so why don't you?

I'm not trying to belittle you in any way, I'm just trying to help you see that you have stability and battery life very easily attainable.

I think so many of problems will disappear.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] mikoal:
No I understand. I've flashed aokp and cm and pa before. All had bugs. Bat life was comparable to stock. It just wasn't my thing.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] fdskl123:
Anyone having problems with dock audio on the latest release (6/26)? I've noticed that when upgrading to leankernel 6.5 and KT747 6/26 that all of the audio I play in my car using the USB out plays in mono. However if I revert to 6/8 KT747 everything plays in stereo again, and that's with just wiping cache and dirty flashing back to 6/8.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] baconatorXVI:
If it's something you are certain is being fixed by reverting back then I'd tell ktoonsez, but remember he's on vacation.

Just make sure it's not something else
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] danesusername:
I'm not having any issues with the newest release on Jellybam. What rom are you on? I saw someone in the other thread was having audio issues on Cm.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] bweezy21:
not sure about usb audio but my left channel doesn't seem to work in headphones or stereo cables....
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] umvagia0:
I'm currently running the latest CM10 stable build and the latest KT Kernel I was wondering if anyone could recommend the ideal governor/scheduler for great battery life. I have done a ton of research and have tinkered with it the last few days but i'm not really seeing good results. Even with the ktoonservative governor i've noticed a lot more battery drain than I would have expected. Any suggestions or can I load someone elses setting in ktweaker?

I was hoping to get somewhere around 3 to 4 hours of screen time, along with occasional use for phone and music.

Thanks in advance for any help, I appreciate it.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] rani9990:
Try the basic interactive, and set hispeed_freq to 810000. Use row as the governor.

If nothing works, I suggest trying a different kernel unfortunately.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] baconatorXVI:
Try using the data off toggle, made a world of difference for me
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] mrgnlit:
Hey I'm still getting a pretty hot battery using the asswax script and the other settings. I was wondering if anyone had solved the auto setting of sampling rate minimum which send to be the culprit? I'm getting battery tells around 40-50° c on average such I'm assuming isn't good. I under volted 50 across the board and that didn't seem to do any good.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] liltitiz:
Sampling rate min isn't meant to be changed... It is just there to inform you of the inimum Sampling rate possible.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] baconatorXVI:
I'd suggest undervolting to the maximum possible. That's what I did you get my temperatures down(and possibly better battery life).

I've posted many time methods to undervolt for stability. The short version is to disable setting ktweaker on reboot. set a maximum, run benchmarks on the background and basically do as many intensive activities you can to try and make a crash happen. Slowly lower voltage on the maximum frequency till you crash and then reboot. Once you reboot then raise your voltage till it's stable. It takes time but the lower heat is worth it. Once you get the maximum frequency stable lower your maximum frequency and work on the new frequency

Some chips can go way lower than others. For example my chip at 1512mhz is at 1065mv where stock is 1200mv. I've had it at 1030mv before but that was too unstable. But on my lower frequencies I can't go much lower than stock.

Just keep lowering for stability! It's worth the time