yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Debuffer:
Who said we couldn't?

Who said we weren't able to?

Who said that keeping 36h awake reading almost 90% of that time about scripting to learn more wouldn't be enough?

Who said that our team wouldn't do it properly?

Well, who said got a shot in the own foot.

WE DID IT!

Cluster is COMPLETELY fixed. By completely i mean 100% of 100%, 1000% of 1000%, all devices, roms, custom roms, kernels, at least it worked for all until now :)

2.8 WILL BE RELEASED TODAY JUST BECAUSE WE DID IT!

STAY TUNED HERE, IT MAY BE RELEASED ANYTIME!
[Android Software/Hacking General [Developers Only]] veez21:
Nice:good:
[Android Software/Hacking General [Developers Only]] ubelai:
Yeesssss! So keen!
[Android Software/Hacking General [Developers Only]] Vorlon8472:
Winter is coming! xD
[Android Software/Hacking General [Developers Only]] Blizzard22:
Reading this makes me...

https://www.youtube.com/watch?v=2PwfNeH1LN0
[Android Software/Hacking General [Developers Only]] MuradDA16:
Congratulation bro and your team! Waiting eagerly to flash it??
[Android Software/Hacking General [Developers Only]] ceelos218:
Release The Krakkkkkken!!!! xD
[Android Software/Hacking General [Developers Only]] mauam:
You're the devil, now I can't sleep till flash that. Upload it for f##k sake, so I can go sleep:laugh:
[Android Software/Hacking General [Developers Only]] Debuffer:
We made all the fix in balanced, I spent now 1h30min doing the changes to performance and battery profile. I'll now just update the tunables values for the profiles and it'll be ready to be released :)
[Android Software/Hacking General [Developers Only]] MuradDA16:
Thanks for your great effort to make this Mod perfect and we really appreciate it..... keep it up Sir
[Android Software/Hacking General [Developers Only]] Debuffer:
GovTuner 2.8

CLUSTER DEFINETELY FIXED

Reformulated all the scripts

Code optimization

Bug fixes

Reworked for all interactive based governors

Recoded all profiles

Added init.d installer

READ THE NEW APPLY INSTRUCTIONS
[Android Software/Hacking General [Developers Only]] locolyric:
any method to know tune are working? i can read all the result in terminal but i can't confirm new settings has been applied on my profile.
[Android Software/Hacking General [Developers Only]] BryanByteZ:
Check in kernel adiutor the tunables before and after govtuner
[Android Software/Hacking General [Developers Only]] locolyric:
note with thanks.
[Android Software/Hacking General [Developers Only]] Blizzard22:
Weird, why was 2.6 working with lulzacticeq but 2.8 doesn't?
[Android Software/Hacking General [Developers Only]] Debuffer:
Well, this governor isn't compatible.
[Android Software/Hacking General [Developers Only]] BryanByteZ:
Nice update already running it!
[Android Software/Hacking General [Developers Only]] Debuffer:
Govtuner 2.8.1

Fixed init.d installer

Download at: http://xdaforums.com/devdb/project/?id=16012#downloads
[Android Software/Hacking General [Developers Only]] Debuffer:
If you use a cluster device let me know if it worked for you, it will be really important since it worked for all the devices we tried.
[Android Software/Hacking General [Developers Only]] faizauthar12:
Works fine with msm8939 xiaomi mi4i

4 big, 4 little ;)
[Android Software/Hacking General [Developers Only]] Senthil360:
Ver 2.8 +Major Update​

1. The code is made DYNAMIC

This means gov_tuner now has its own parent process and make changes on the fly , without you having to reboot or run again when you change Governors

2. Faster Processing

Reworked code and removed unnecessary variable calculation to increase the code processing speed right out of the box

P.S Its just the beginning :D
[Android Software/Hacking General [Developers Only]] voroxda:
Loop while starting govtuner 2.8.1

Terminal window has to be cancelled.

:(

P.S. Name stays to 2.8
[Android Software/Hacking General [Developers Only]] Wyzp:
3#

Did you read the bold part ?
[Android Software/Hacking General [Developers Only]] Debuffer:
I slept and came back and you had the fix for cluster.

I slept and came back and you made it dynamic.

Dude, I'll sleep for a complete 8h cycle and you do a new govtuner.

This already gave me a new idea. In future govtuner will do the tunable based on battery, cpu temperature and some other stuffs.
[Android Software/Hacking General [Developers Only]] Iceman:
Wow.....awesome, thanks for your hardwok;):good:
[Android Software/Hacking General [Developers Only]] Senthil360:
ROFl , LMFAO :))

Update : Now both governor and profiles are dynamic.

#GovTuner_FutureProof ;)
[Android Software/Hacking General [Developers Only]] der_Kief:
with new version 2.8.1. there are no changes in interactive performance profile compared to previous version 2.7.1

exact same values between them.
[Android Software/Hacking General [Developers Only]] Iceman:
i would like to know.. whether need to uninstall old version before flash the newest version of govtuner?? Or just dirty flash is ok. Thanks in advance:)
[Android Software/Hacking General [Developers Only]] Corduroysack:
Says in instructions to uninstall
[Android Software/Hacking General [Developers Only]] haniffxs:
hi. is it supposed to be some output showed after i enter the command line?

mine got nothing.
[Android Software/Hacking General [Developers Only]] Iceman:
Hi Debuffer,

Found bugs in latest 2.8.1 version, is not detected/show what governor i'm using in terminal?? Is this normal?? Basically I use interactive governor, hope can fix it soon. Thanks:)
[Android Software/Hacking General [Developers Only]] veez21:
Can you at least make it apply values with a time interval, making it constantly apply values sounds bad to deep sleep.
[Android Software/Hacking General [Developers Only]] bone069:
You are right. Device doesn't go into deep sleep anymore.
[Android Software/Hacking General [Developers Only]] MuradDA16:
Hi Debuffer,

Can I apply your Govtuner together with other tweaks such as ABS Tweaks? Is it any conflict?

Thanks.
[Android Software/Hacking General [Developers Only]] shantam3108:
I am using since last night and left battery at 16 perc and till morning it was 16 perc and used in the morning till 8 perc. I don't see deep sleep issues

---------- Post added at 09:04 AM ---------- Previous post was at 09:04 AM ----------

Screenshot please.. Device not going into deepsleep
[Android Software/Hacking General [Developers Only]] jamu08:
Hi Debuffer, I have installed v2.8.1 and applied command but my version shows 2.8. Secondly, i could not see which governer is presently running in terminal. Its is showing blank. My current governer is ondemand.

Further, when i execute the govtuner's balance profile from init.d in kernel adiutor, its crashes showing.....executing..............

Any idea??
[Android Software/Hacking General [Developers Only]] bone069:
Uninstalled and installed govtuner 2.8.1 again... Now it is working correctly. Don't know what caused this problem.

For me the selected governour is also not shown in terminal emulator.
[Android Software/Hacking General [Developers Only]] veez21:
"sh" is the govtuner script
[Android Software/Hacking General [Developers Only]] adriansticoid:
Observation time is quite short I believe. Only 12 mins.
[Android Software/Hacking General [Developers Only]] veez21:
That's because I've rebooted to see if sh will disappear, but it didn't, i temporarily disabled govtuner and rebooted and it's gone.
[Android Software/Hacking General [Developers Only]] bone069:
Are the recommended settings to be selected in kernel audiutor which were shown in the terminal changelog of v2.7 still necessary in new version?
[Android Software/Hacking General [Developers Only]] Debuffer:
When it's needed to uninstall first we'll put a warning on the changelog.

There are in target loads :)

Hmmm... After which command line? Govtuner in terminal? If so, after selecting a profile there will be a message and you need to close the terminal tab.

Yeah, fixed that already :)

Yes. You can apply it with any other mod which doesn't mess with governor tunables.

We are now testing it but I'm pretty sure that it won't affect the deep sleep.

As always, I forgot to change the version to 2.8.1.

The showing governor bug I've already fixed, we are fixing some other stuffs then I'll upload it.

Executing? Can you show me a screenshot?

Hmmm... We are testing it.
[Android Software/Hacking General [Developers Only]] Debuffer:
0 for inputboost/touch boost, 0ms inputboost/touch boost.
[Android Software/Hacking General [Developers Only]] Debuffer:
Are tested it. No deepsleep issues.
[Android Software/Hacking General [Developers Only]] voroxda:
I am afraid, I don't understand the revolution. I look at the init.d script. In my case /etc/init.d/GovTuner_battery.

I see an endless loop ( while [ 5 == 5 ]; do)

your words now an own process

For my governor (interactive) less the 50 lines

The hole script with a all governors 2000 lines.

Of cause I can change the governor all the time. I can't see the magic. I am too silly.

And this ingenious code was processed all the time?

I will observe battery consumption in the future.
[Android Software/Hacking General [Developers Only]] docteurcrook:
Hello Guyz... is it normal that governor's name doesn't appear...?
[Android Software/Hacking General [Developers Only]] Senthil360:
Android has lots of process , services , daemons running in background.

The area where we are dealing now i.e Governors are not any normal stuff to hold surface level wakelocks in your device.

And if it did we wouldn't have made such a project guys ,

Have a look here :)
[Android Software/Hacking General [Developers Only]] Senthil360:
Wait how exactly do u think a software keeps itself updated with its environment, like say a kernel adiutor app, it constantly interacts with the system files , In short its nothing but a loop.

Besides the resources a loop utilises are bare minimal compared to our usage

The beta code published here was too fast to be dynamic , I have fixed it and stable version will be released later after testing.
[Android Software/Hacking General [Developers Only]] Debuffer:
Sorry for this... I have updated it before but after we needed to fix the cluster I forgot to re-update it. I'll update it for the upcoming version.

Yes. This bug is fixed already for the upcoming version.
[Android Software/Hacking General [Developers Only]] veez21:
Yeah, i agree to that, android has lots of processes but see my point, something like that(the constant applying of values) has no effect on mid-range to high-end phones, really nothing that I've experienced on a galaxy s4 since i flashed v2.8, but consider low-end devices, i have flashed 2.8.1 on three low ends and they actually do something to the battery life. The screenshot i posted is from a low end. :fingers-crossed:
[Android Software/Hacking General [Developers Only]] docteurcrook:
[MENTION=5321318]Debuffer[/MENTION]

I don't know what's wrong for me, since i've install 2.8.1 my phone is very laggy and when my screen is lock i can't reactivate my phone . I must pull up the battery to reboot

edit: i have some bootloop at the start, back to 2.7.1. and it's fine
[Android Software/Hacking General [Developers Only]] Debuffer:
To be honest I'm not sure. You gotta test it and tell me :)

I'll check it soon, bro. Thanks for the link :)
[Android Software/Hacking General [Developers Only]] Debuffer:
Hmmm.

Open terminal emulator then type

su

tune

Check if there's some error and screenshot me, please. [emoji4]
[Android Software/Hacking General [Developers Only]] gillim74:
How do i upload a screenshot
[Android Software/Hacking General [Developers Only]] gillim74:
Here you go
[Android Software/Hacking General [Developers Only]] Debuffer:
Well, apparently the tweaks are being applied. Can you check governor tunables?
[Android Software/Hacking General [Developers Only]] gillim74:
At the end in terminal it says permission denied.heres the tunables.
[Android Software/Hacking General [Developers Only]] Debuffer:
Your bioshock isn't tunable, bro. :(
[Android Software/Hacking General [Developers Only]] gillim74:
It worked on interactive.are you gonna add lionheart
[Android Software/Hacking General [Developers Only]] Debuffer:
Many governors gonna be added. Lion heart is one of them.
[Android Software/Hacking General [Developers Only]] Debuffer:
New update released. :)

Changelog

v1.5

Tweaks updated for conservative based governors

Tweaks updated for interactive based governors

Added Impulse governor

Added Uberdemand governor

Added Electroactive governor

Added IntelliMM governor

Added Barry_Allen governor

Added BluActive governor

Added DanceDance governor

Added Lionheart governor

Added PegasusQ governor
[Android Software/Hacking General [Developers Only]] edoardotavecchio:
Thanks for you work, that's a great mod and I appreciate your constant work on it.

Are you going to add alucard governor in the next release?
[Android Software/Hacking General [Developers Only]] Adzkii:
Awesome new updates:o. I'm currently using intelliactive governor, looking forward for more updates on it. Thank you for such fast updates!

Sent from my device.
[Android Software/Hacking General [Developers Only]] Debuffer:
Alucard is way more complex than the other governors so it might take more time to be added, but yes, we are planning on add it soon.

It would be so good if you could give me a feedback from the versions you are using and this new version when you're able to :)

Thanks in advice.
[Android Software/Hacking General [Developers Only]] edoardotavecchio:
I'm sorry actually I've uninstalled this mod 'cause I'm trying to use my own settings, I'm using alucard governor and tweaking it by myself.
[Android Software/Hacking General [Developers Only]] Debuffer:
That's awesome, bro.

Maybe we can share information later?

I've been looking for Alucard tunables explanation and couldn't find.

Cheers.
[Android Software/Hacking General [Developers Only]] Debuffer:
Thank you for using the mod ;)

First of all we're going to add all the profiles we want, then we will tune even more each governor. :)

By the way, how's intelliactive going?
[Android Software/Hacking General [Developers Only]] mauam:
Really enjoying your tunables for pegasusq. I think you'll become a XDA star soon. Congrats:cool::good:
[Android Software/Hacking General [Developers Only]] Debuffer:
Thanks, bro.

After we add the governors we want to, we will tweak it even more to give users better results.
[Android Software/Hacking General [Developers Only]] kyeljnk:
waiting for smartmax and optimax tweaks :D
[Android Software/Hacking General [Developers Only]] jazzmar14:
requesting to add hotplug governor tweaks if you dont mind :D
[Android Software/Hacking General [Developers Only]] der_Kief:
no problem at all :)

when to expect next version ?
[Android Software/Hacking General [Developers Only]] Senthil360:
I have updated the code more, let's hope for the best.
[Android Software/Hacking General [Developers Only]] veez21:
Thanks for understanding:good:
[Android Software/Hacking General [Developers Only]] joaste:
Hi there,

there is definitely something strange going on with 2.8.1. In Kernel Adiutor and EX Kernel manager, where you set the min and max frequency for the CPUs, the values are constantly changing.

My battery life is slightly suffering as well since installing 2.8.1. I doesn't look like deep sleep is affected in my case, but the CPU and GPU are jumping around a lot more than usual while doing nothing and no apps in cache. :confused:

Hope you guys get to the bottom of this. Great job so far!

PS: phone is LG G4 (Imperium ROM and Kernel)

EDIT: in addition, looking at GSAM battery monitor, Kernel (android) is using way more than usual (49% in my case)...
[Android Software/Hacking General [Developers Only]] Senthil360:
Of course ;) , I'm confident the new code will run great on low, mid and high end devices, if there seems to be a problem with low end devices , we'll definitely fix it.

We can go further only when we take calculated risks ;)
[Android Software/Hacking General [Developers Only]] Debuffer:
v2.9

Made the profiles be dynamic (description below)

Now the profiles periodically check if the governor was changed and automatically apply the tunables for the new governor (this also helps with the cluster devices)

Updated interactive based governor for balanced profile since it showed to have a huge battery drain

Fixed governor not showing in terminal emulator

Download at: http://xdaforums.com/devdb/project/?id=16012#downloads

IMPORTANT NOTE

We are now testing a new method to scale. This method will use hispeed freq.

With this the smoothness will be noticeable improved without any extra battery drain.

This method is under alpha version and is under tests in our telegram group. If you'd like to contribute with tests, check the OP and join our telegram group.
[Android Software/Hacking General [Developers Only]] der_Kief:
sadly performance profile isnt fixed ... still same values than 2.7.1 :(
[Android Software/Hacking General [Developers Only]] slayer101234:
Just flash govtuner 2.9 and this happens while applying balanced tweaks for interactive governer
[Android Software/Hacking General [Developers Only]] Debuffer:
I forgot it again :rolleyes:

Will upload 2.9.1 with the fix for it.
[Android Software/Hacking General [Developers Only]] Debuffer:
This do as the tab says, close the window.
[Android Software/Hacking General [Developers Only]] gimpy1:
I applied the balanced tweaks from 2.9. When I get the window on the right side picture, my T.E. Has an "X" at the top of the page.I click on the X and T.E. closes. I then do TE a second time and the "balanced" tweak shows up.

Don't know why you don't have an X at the top of the page?
[Android Software/Hacking General [Developers Only]] joaste:
Just a quick update: after flashing 2.9, the above mentioned symptoms have gone away. Kernel (android) in GSAM is back to normal and CPUs are not jumping around anymore.

Thanks a lot!:good:
[Android Software/Hacking General [Developers Only]] Debuffer:
Clear it from recents.
[Android Software/Hacking General [Developers Only]] Debuffer:
Govtuner v2.9.1 released

Fixed some errors in terminal which causes the profile to fail applying

Fixed performance governor which used old tunables

Download at: http://xdaforums.com/devdb/project/?id=16012#downloads
[Android Software/Hacking General [Developers Only]] Debuffer:
Govtuner v2.9.2

Fixed "no such file or directory" error

Download at: http://xdaforums.com/devdb/project/?id=16012#downloads
[Android Software/Hacking General [Developers Only]] justjr:
[emoji32]

I don't think it's necessary to do that. On kernel that changes don't stick, they still don't stick. On kernels tunables stick ok, this is only detrimental.
[Android Software/Hacking General [Developers Only]] adriansticoid:
2.9.1
[Android Software/Hacking General [Developers Only]] Debuffer:
use 2.9.2
[Android Software/Hacking General [Developers Only]] der_Kief:
thx for that fast fix :)

One question: with new performance profile still manually set cpu boost to ~1400MHz and boost intervall to 50ms ?

Or are these setting obsolete now ?
[Android Software/Hacking General [Developers Only]] Debuffer:
0mhz and 0ms :)
[Android Software/Hacking General [Developers Only]] der_Kief:
ok .... one more question :)

is it wanted that only two parameters changed within performance profile compared to 2.7.1 ?

Only go_hispeed_load and hispeed_freq changed. I ask because a few posts back you wrote something about target_loads !?
[Android Software/Hacking General [Developers Only]] Debuffer:
Hmmm... Can you send me SS?

Pretty sure i changed target loads as well.
[Android Software/Hacking General [Developers Only]] der_Kief:
# GOVERNOR TUNABLES FOR NON-CLUSTER DEVICES

# INTERACTIVE
while [ 5 == 5 ]; do
echo $$ > $OUTPUT
if [ -d "/sys/devices/system/cpu/cpufreq/$CUR_GOVERNOR" ]; then
if [ "$CUR_GOVERNOR" = "interactive" ]; then
for i in /sys/devices/system/cpu/cpufreq/interactive; do
if [ -e "$i/above_hispeed_delay" ]; then
$busybox echo "0" > "$i/above_hispeed_delay";
fi
if [ -e "$i/boost" ]; then
$busybox echo "0" > "$i/boost";
fi
if [ -e "$i/boostpulse" ]; then
$busybox echo "0" > "$i/boostpulse";
fi
if [ -e "$i/boostpulse_duration" ]; then
$busybox echo "0" > "$i/boostpulse_duration";
fi
if [ -e "$i/go_hispeed_load" ]; then
$busybox echo "80" > "$i/go_hispeed_load";
fi
if [ -e "$i/hispeed_freq" ]; then
$busybox echo "1400000" > "$i/hispeed_freq";
fi
if [ -e "$i/max_freq_hysteresis" ]; then
$busybox echo "0" > "$i/max_freq_hysteresis";
fi
if [ -e "$i/align_windows" ]; then
$busybox echo "0" > "$i/align_windows";
fi
if [ -e "$i/io_is_busy" ]; then
$busybox echo "0" > "$i/io_is_busy";
fi
if [ -e "$i/min_sample_time" ]; then
$busybox echo "200000" > "$i/min_sample_time";
fi
if [ -e "$i/sampling_down_factor" ]; then
$busybox echo "1" > "$i/sampling_down_factor";
fi
if [ -e "$i/target_loads" ]; then
$busybox echo "67 $MIN_CPU_FREQ:57 600000:31 800000:43 1100000:55 1400000:69 1700000:82 1900000:90 2000000:95" > "$i/target_loads";
fi
if [ -e "$i/timer_rate" ]; then
$busybox echo "90000" > "$i/timer_rate";
fi
if [ -e "$i/timer_slack" ]; then
$busybox echo "-1" > "$i/timer_slack";
fi
if [ -e "$i/up_threshold_any_cpu_freq" ]; then
$busybox echo "0" > "$i/up_threshold_any_cpu_freq";
fi
if [ -e "$i/up_threshold_any_cpu_load" ]; then
$busybox echo "0" > "$i/up_threshold_any_cpu_load";
fi
done
$busybox echo "Performance $CUR_GOVERNOR tweaks applied."
$busybox echo "PROFILE SUCESSFULLY APPLIED. CLOSE THIS WINDOW TAB OR THIS MESSAGE WILL KEEP HERE FOREVER."
$busybox echo "PROFILE SUCESSFULLY APPLIED. CLOSE THIS WINDOW TAB OR THIS MESSAGE WILL KEEP HERE FOREVER."
echo ""
[Android Software/Hacking General [Developers Only]] danishaznita:
Hello , i think you should probably write it in first post , because it is far to fast to read "close this tab or it will be going forever" ?

Oh sorry, by the time i post this , my tapatalk hasnt been updated ?,

Already installed and i mist say that , "battery" profile is smoother than before, will now test in games like vainglory
[Android Software/Hacking General [Developers Only]] Debuffer:
Yeah, that's the same as I have here. I can't remember the old one but I'll check later.

Anyway, sorry if there's mistake again, I'm really sleepy because fixing cluster made me sleep only 5h per day for the last 5 days.
[Android Software/Hacking General [Developers Only]] der_Kief:
no problem :)

here is 2.7.1

# INTERACTIVE

if [ "$CUR_GOVERNOR" = "interactive" ]; then
if [ -e "$GOVERNOR/above_hispeed_delay" ]; then
$busybox echo "0" > "$GOVERNOR/above_hispeed_delay";
fi
if [ -e "$GOVERNOR/boost" ]; then
$busybox echo "0" > "$GOVERNOR/boost";
fi
if [ -e "$GOVERNOR/boostpulse" ]; then
$busybox echo "0" > "$GOVERNOR/boostpulse";
fi
if [ -e "$GOVERNOR/boostpulse_duration" ]; then
$busybox echo "0" > "$GOVERNOR/boostpulse_duration";
fi
if [ -e "$GOVERNOR/go_hispeed_load" ]; then
$busybox echo "250" > "$GOVERNOR/go_hispeed_load";
fi
if [ -e "$GOVERNOR/hispeed_freq" ]; then
$busybox echo "$MIN_CPU_FREQ" > "$GOVERNOR/hispeed_freq";
fi
if [ -e "$GOVERNOR/max_freq_hysteresis" ]; then
$busybox echo "0" > "$GOVERNOR/max_freq_hysteresis";
fi
if [ -e "$GOVERNOR/align_windows" ]; then
$busybox echo "0" > "$GOVERNOR/align_windows";
fi
if [ -e "$GOVERNOR/io_is_busy" ]; then
$busybox echo "0" > "$GOVERNOR/io_is_busy";
fi
if [ -e "$GOVERNOR/min_sample_time" ]; then
$busybox echo "200000" > "$GOVERNOR/min_sample_time";
fi
if [ -e "$GOVERNOR/sampling_down_factor" ]; then
$busybox echo "1" > "$GOVERNOR/sampling_down_factor";
fi
if [ -e "$GOVERNOR/target_loads" ]; then
$busybox echo "67 $MIN_CPU_FREQ:57 600000:31 800000:43 1100000:55 1400000:69 1700000:82 1900000:90 2000000:95" > "$GOVERNOR/target_loads";
fi
if [ -e "$GOVERNOR/timer_rate" ]; then
$busybox echo "90000" > "$GOVERNOR/timer_rate";
fi
if [ -e "$GOVERNOR/timer_slack" ]; then
$busybox echo "-1" > "$GOVERNOR/timer_slack";
fi
if [ -e "$GOVERNOR/up_threshold_any_cpu_freq" ]; then
$busybox echo "0" > "$GOVERNOR/up_threshold_any_cpu_freq";
fi
if [ -e "$GOVERNOR/up_threshold_any_cpu_load" ]; then
$busybox echo "0" > "$GOVERNOR/up_threshold_any_cpu_load";
fi
$busybox echo "Performance $CUR_GOVERNOR tweaks applied."
exit
fi