yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] dr.zook:
Please share your findings, mate. How is it going?
[Android Software/Hacking General [Developers Only]] Senthil360:
GovTuner Inactive is NOT a bug. The ACTIVE/INACTIVE is not for the values but for the background process of GovTuner. In the latest version I have disabled the background process as it drains too much battery. If u want it to loop u can change it with Change Execution Interval.
[Android Software/Hacking General [Developers Only]] Mugetzsu:
That makes it clear. Thanks for the response. :)
[Android Software/Hacking General [Developers Only]] Raven_999:
My findings are pretty good. Till 2 days ago I was on Resurrection Remix_5.8.3_N_7.1.2 with Emotion kernel. It's a great Rom, fast smooth, stable. Not that I have something against Nougat, but to me it seems a little bit not so battery friendly. Android system was 2nd after screen in battery consumption. But I managed to reduce it by freezing/disabling unwanted system and user apps, using Govtuner, underclocking and undervolting, Greenify, turning off some app services with MyAndroidTools. In Emotion kernel I managed to undervolt the CPU by 105 mv on all frequencies. Couldn't go further as system was crashing. Underclocked till 1958 MHz as IMHO 4 cores at 2GHz is more than enough in my every day use(I don't play games), underclocked the GPU till 300 MHz + Adreno Idler on.

Snapdragon 805 is a great CPU, but it's built on a 28 nm architecture, therefore is very power hungry.

Now I rolled back to Resurrection Remix 5.7.4 Marshmallow, also with Emotion kernel using same tweaks as above but this time with zzmove governor and no hotplug(as you suggested), Govtuner 4.1.1, plus Senthil's profiles v4. Now the CPU temperature barely crosses 50°C on a hot summer day(35-36°C where I live),but there is a little stuttering only on app minimizing, but there's none on opening and I can live with that.

Having done all this tweaking, I decided to put the phone to a test: from 100% till 90% using XDA Labs and 1 hour of a full HD movie in MX Player + WiFi always on gave me 1 hour SoT, basically 1 h SoT per 10%, that's pretty good I think.

Here are my findings mate. I'll test further and share them with you tweak-lovers☺️. PEACE and HAVE A GREAT DAY!!!

---------- Post added at 08:28 PM ---------- Previous post was at 07:57 PM ----------

And what are your findings Doctor? What are the main tweaks you do to your phone /Rom?
[Android Software/Hacking General [Developers Only]] dr.zook:
And what are your findings Doctor? What are the main tweaks you do to your phone /Rom?[/QUOTE]

Well, actually I was on Resurrection Remix 5.7.4 MM like you when I started to get less and lesser sot.

I did much of the things you mentioned, with xposed using amplify, greenify, lspeed, myandroidtools and, of course, govtuner with zzmoove, hotplug disabled.

It got better, but not good enough for me.

And I started to encounter random shutdowns somewhere between 20 and 8 percent of battery left.

So I decided to buy a new battery. Not an original one, but a BIG one.

7500 mAh in fact.

After that, no more random shutdowns and I was not able to kill the battery over the day.

I upgraded to N, AICP unofficial and since then I only use govtuner (still zzmoove without hotplug), lspeed and myandroidtools. But not that much aimed for battery, more for fluidity.

As you see, I "cheated" a little with my hardware upgrade.

The phone still fits in my pocket, is fast and smooth and has a great battery life. Not elegant but effective.

Never looked back.
[Android Software/Hacking General [Developers Only]] Adzkii:
does that mean we should disable change execution interval?
[Android Software/Hacking General [Developers Only]] Raven_999:
That's up to you. First, I've set execution interval to 180 sec then read Senthil's post about battery drain and turned it off. Govtuner keeps running without execution interval more than 24 h now.
[Android Software/Hacking General [Developers Only]] :
In my phone, 4.1.1's battery profile behaves very differently than in 4.0.2.

4.0.2 always stayed in the lowest frequencies and only went to the middle and higher frequencies rarely. Thus I had a better battery life but a not so smooth phone.

4.1.1's battery profile kept my phone smooth and the frequencies are always the highest and in the middle, but I lost a significant amount of battery compared to 4.0.2.

Staying with 4.0.2 for now because that suits my need, those who want a less aggressive Battery profile can try the latest version.

Cheers.
[Android Software/Hacking General [Developers Only]] dr.zook:
On wich device, rom, governor?

Cause on my Note 4 SD on zzmoove governor, balanced profile 4.1.1 gives a better battery than the 4.0.2 battery profile.
[Android Software/Hacking General [Developers Only]] TjNiko:
well i can tell you that if u are in 7.1.2 rom with Pwerhal options govtuner will mess up the device. Not using mpdecision is dumb. Its there to save you battery.
[Android Software/Hacking General [Developers Only]] Senthil360:
Please don't quote this post.

Hey guys, hope latest version is rocking for you, or atleast for most of you. It's just difficult to make a bash program to run in the same way across all the different android devices. I have done as much as I can to make it possible.

I was and I am dealing with difficult situations in life. My medical university is completely unrelated to all this computer related stuff. As a validation of the below stated things; Most people who know me, know that I'm not a dramatic or narrative guy, but someone who is as straightforward as possible without hurting anyone's feelings.

For the past couple of months I didn't have a single minute to develop because of exams. At some point I thought of giving this up. But I simply couldn't do that because of 2 reasons and for 2 reasons ONLY,

1. I love doing this myself and

2. I love doing this for all of you.

Frankly speaking, I do understand that GovTuner won't be the same without me. I'll try my best to keep giving you the best. But I want all of you to know that, at some point in the future there may come a time where Senthil wouldn't be here at XDA providing updates. Straight Talk. Thank you.

Love and wishes,

Senthil.
[Android Software/Hacking General [Developers Only]] sadanandk:
Deleted
[Android Software/Hacking General [Developers Only]] dr.zook:
I want to say thank you for the time you put in this.

I was honored to be chosen as a tester for this great mod by [MENTION=7296895]veez21[/MENTION] some time ago and by you, [MENTION=6773050]Senthil360[/MENTION], for the latest version.

So I may be able to imagine, how much time and work all of you guys from the team have put into this.

We all should be very thankful you did this.

I know you from the good old Nameless times, Senthil, you would not write this if it wasn't necessary.

If your RL does not let you do this anymore, then we all should be thankful that you were able to find so much time in the past to push this mod to the point it actually is.

At least I am.

Nuff said.
[Android Software/Hacking General [Developers Only]] DEVILOPS 007:
Read the top line of the post you just quoted.
[Android Software/Hacking General [Developers Only]] eshipp31:
Battery

Are you using xposed with this setup
[Android Software/Hacking General [Developers Only]] Raven_999:
No Xposed
[Android Software/Hacking General [Developers Only]] :
Mine is not a popular phone, Intex Cloud Tread it has an MT6591, hotplug governor, stock ROM.
[Android Software/Hacking General [Developers Only]] dobermann24:
[MENTION=6773050]Senthil360[/MENTION] is umi z support ? Thanks
[Android Software/Hacking General [Developers Only]] dr.zook:
For me it does NOT mess up something, but it gives a better battery without losing smoothness.

And it does this best without mpdecision or any other hotplug solution.

All 4 cores permanently online means less CPU load and frequency, less temperature and a shorter race to idle.

That may not be true for all devices, but for me it is. I found out through lot of testing and playing around with different setups.

Please don't call someone dump just because his findings may not fit to your personal needs.

Regards
[Android Software/Hacking General [Developers Only]] :
Interesting. So without hotplug the CPU's will be in less frequency? My governor options are powersave, performance, userspace and hotplug.

If i use powersave instead of hotplug will it give me better battery life? Kernel Adiutor says it's not tunable.

Edit: No, Govtuner doesn't work on non tunable governors. Why didn't I think of that... :o
[Android Software/Hacking General [Developers Only]] dr.zook:
Powesave and Performance are useless for daily usage as they just keep the device at lowest/highest frequency all the time.

I don't have hotplug governor in my kernel and never used userspace, so I can't tell you much about them.

As far as I know, hotplug has tuneables and therefore is compatible with govtuner.

If you want to test, disable hotplugging completely and see how it goes.

Some additional stuff to read. Very interesting and informative.

https://xdaforums.com/note-4/snapdragon-dev/guide-note-4-snapdragon-805-fine-tune-t3284153
[Android Software/Hacking General [Developers Only]] cascabel:
Great mod, and i enjoy the discussion (specially with regard to the hotplug vs no hotplug one - i have a snap 805 device too so it's quite an interesting read).

I know it's probably not the correct place for this (I'm not sure where to post it since development for my device is virtually dead), but zzmoove on our kernel for 7.1 is buggy. It stays on the lowest frequency set regardless which profile i use.

The script (govtuner) gives back write error (io iirc). I'd happily send the screenshots if that would help. Just wasn't sure it was necessary since i thought it might be a kernel issue rather than the script. Just hoping there was a solution anyone knows about.
[Android Software/Hacking General [Developers Only]] :
Senthil previously said those errors doesn't mean Govtuner isn't working. Values are set anyways. :)
[Android Software/Hacking General [Developers Only]] dr.zook:
Did you try 4.0.2?

Some users report that it works for them when 4.1.1 doesn't.

It's zzmoove values are very good, too :svetius:
[Android Software/Hacking General [Developers Only]] jugoslavpetrovic:
That's for this IO writing issue? Also, thats great if possible to avoid process who dont need it. Thanks
[Android Software/Hacking General [Developers Only]] cascabel:
Yeah, i saw that. That's good to hear.

I will try this asap. I hope it works. Cheers!

Edit:

Just like [MENTION=7134688]dr.zook[/MENTION] said simply using 4.0.2 worked like a charm. One last question: i read in the thread that setting execution intervals drains the battery. I disabled it on 4.1.1. Unfortunately, there isn't an option for that on 4.0.2. Is it better for me to set it to "locked" or simply set a very high execution interval? Thanks! Sorry for being noobish - been trying to find references within the thread, but 400+ posts is a lot to sift through.
[Android Software/Hacking General [Developers Only]] dr.zook:
I personally used execution interval of 1800 seconds with 4.0.2 without noticeable battery drain.

But that may not be the same for you.

Since I got my extended battery, my preference shifted more towards performance and smoothness then battery saving.

:cool:
[Android Software/Hacking General [Developers Only]] cascabel:
True. That big battery of yours is cheating. ? ? ?

I'll try your settings first since you know more about this,and then go from there. Appreciate your patience. ?
[Android Software/Hacking General [Developers Only]] dr.zook:
You're welcome :svetius:
[Android Software/Hacking General [Developers Only]] Senthil360:
The echo : write error happening on some devices is due the way your particular processor resolves the given code.

Technically speaking, the CPU runs the next head command before find command completes its search, since the next head command's "read" is dependent on the "write" of find command into volatile memory, the head command returns nothing. Since the second command exits before find writes its value to the RAM, kernel sends a SIGPIPE or SIGKILL depending on the code to kill the find command.

This is the reason why the bash script fails on some devices. There is really no other efficient way that I know of to get this working precisely without errors. Of course we can lengthen the code and add counter measures but that is a long shot tbh.
[Android Software/Hacking General [Developers Only]] :
1800 with 4.0.2, same here....
[Android Software/Hacking General [Developers Only]] gh0stzk:
So... Now u said govtuner always drain our batteries, before execution interval option?
[Android Software/Hacking General [Developers Only]] :
Now I don't know what any of that means tbh but how come the older v4.0.2 didn't have those issues?
[Android Software/Hacking General [Developers Only]] dr.zook:
The loop consumes battery.

The more often it executes, the more battery it consumes.

But govtuner saves you a lot more battery than it consumes.
[Android Software/Hacking General [Developers Only]] gh0stzk:
I set it to 1800 secs now. But.. Noob question.. I applied balanced profile on my interactive governor.. I thought only one time needed to be applied.. Why the loop? I dont changue governor every 30 mins, no one changues governor alot.. Why need to be applied every certain time?
[Android Software/Hacking General [Developers Only]] dr.zook:
It should not be needed.

I remember users reported that in some cases the values got overwritten by whatever after some time.

Since then the loop got implemented to avoid that.

Battery impact is minimal to barely nonexistent relying on the set execution interval.

You can simply turn off the loop if you not encounter such issue.
[Android Software/Hacking General [Developers Only]] eshipp31:
Settings

I tried your settings but didn't get good results like what you got above...what have you gotten off a full cycle from these settings
[Android Software/Hacking General [Developers Only]] milano88:
hi,

my kernel have support for Init.d scripts for what govtuner show Init.d not working ? ver 4.0.2 work perfect
[Android Software/Hacking General [Developers Only]] jugoslavpetrovic:
What happened here? Prior stable version was dated April 15, and the latest now it says January 8.
[Android Software/Hacking General [Developers Only]] kammzaman:
Download link don't work!
[Android Software/Hacking General [Developers Only]] Raven_999:
Download from a browser, not from XDA app
[Android Software/Hacking General [Developers Only]] kammzaman:
int.d : not working

Why it show to me as "Init.d : not working". How to add 'init.d support' systemlessly. I am using aex v4.4 on mi 4i. Thankyou.
[Android Software/Hacking General [Developers Only]] morfances:
You can use the play store kernel auditor app and tick the flag on the init.d emulator
[Android Software/Hacking General [Developers Only]] kammzaman:
Universal Init.d

Thank you. Kernel auditor don't work for me, but 'Universal Init.d' is fully working to emulated init.d.

I wanna a systemless process to built-in init.d support into kernel. Thankyou.
[Android Software/Hacking General [Developers Only]] SunEater:
Does it work with my htc one m9 with venom 6.1.0 and elemental x kernel plz tell i m s on with unlock bootloader
[Android Software/Hacking General [Developers Only]] c-prodigo:
Do you think you could add governor changer again, it was great not having to install another app for that, but thanks for govtuner
[Android Software/Hacking General [Developers Only]] zahin5542:
Why it's showing GovTuner inactive Everytime i enter via terminal....when i again change it then it shows its active. If i enter via terminal again then it goes inactive again. Am i missing anything ??

I'm using GovTuner 4.1.1

Galaxy s5 KLTEDUOS/ RR 7.1.2
[Android Software/Hacking General [Developers Only]] kammzaman:
It's works fine for me on mi 4i. Thankyou.
[Android Software/Hacking General [Developers Only]] dr.zook:
Please read this

https://xdaforums.com/android/softw...-project-29th-june-2016-t3407828/post73118410
[Android Software/Hacking General [Developers Only]] zahin5542:
Thanks for the response...its clear now
[Android Software/Hacking General [Developers Only]] Patrick9801:
Why does it shows me "Error: Not working"? What can I do?
[Android Software/Hacking General [Developers Only]] dr.zook:
That means you don't have init.d support. That's no problem. Use KA to emulate init.d to apply values on boot.

To check if values got applied type w
[Android Software/Hacking General [Developers Only]] Patrick9801:
I've done that. Values are applied but it still says "Error: Not working"
[Android Software/Hacking General [Developers Only]] dr.zook:
If you read the lines under the "ERROR: Not working" message then it should be clear why.

If the values are applied, everything is fine.

No need to worry.
[Android Software/Hacking General [Developers Only]] CStadler:
Download link wont work

EDIT: Got it to work by copying the link

Should this add more governers to my device? Since i still only see one i had
[Android Software/Hacking General [Developers Only]] dr.zook:
It does not add governors to your device. That could only be done by flashing a kernel that includes more governors.

To check wich governors are supported by your kernel, install Kernel Adiutor from playstore.

For information about the mod just read the op.
[Android Software/Hacking General [Developers Only]] Wolfcity:
Hi [MENTION=5321318]Debuffer[/MENTION], first time user of govtuner 4.1.1 here. Governor is interactive, CPU hotplug mpdecision. When I activate a profile in terminal emulator I get the message

echo: write error: Invalid argument

(see attached screenshots)

The profile is active then but after closing and reopening terminal it´s inactive.

I´m using magisk 12 as root app.

Any suggestions?
[Android Software/Hacking General [Developers Only]] gh0stzk:
Its normal, the parameters are active :)
[Android Software/Hacking General [Developers Only]] veez21:
HEY GUYS!!! WE'RE AT THE PORTAL :D

https://www.xda-developers.com/latest-gov-tuner-project-update-reduces-code-size-by-70/
[Android Software/Hacking General [Developers Only]] Whitebeard05:
can't wait for this.
[Android Software/Hacking General [Developers Only]] deathblade:
Uninstall link is down anyone have a mirror?
[Android Software/Hacking General [Developers Only]] :
Here you go.
[Android Software/Hacking General [Developers Only]] dr.zook:
Uninstaller.zip is included in the installer.zip, just extract it and you're good to go.

Edit: got ninjad :D
[Android Software/Hacking General [Developers Only]] :
swish... :D
[Android Software/Hacking General [Developers Only]] Senthil360:
So it does seem like this echo : write error is happening to a considerable amount of devices. I'll start looking into it.

A huge thanks to all the users on behalf of the GT team, it's a great achievement for GT to make it to the portal.
[Android Software/Hacking General [Developers Only]] cascabel:
Happens more often to 4.1.1 in my experience. 4.0.2 is pretty stable for me (some zzmoove parameters aren't optimized though). Also, 4.0.2 > 4.1.1 in terms of battery saving (on interactive and impulse; 4.1.1 is bugged on my zzmoove - stays on the lowest set frequency).

And congratulations on making it to the portal. Awesome work. Stopped using using zips/scripts for a long time, and i honestly only have this, ARISE, and AIK installed. Most useful scripts for my use.

LG f460k (cat.6 with snapdragon 805 running on nougat RR).
[Android Software/Hacking General [Developers Only]] geekmanoj:
Why am I getting govtuner inactive every single time. I just ran the terminal commands and activated battery profile. Then exited from it. After opening govtuner again it showed inactive. What's wrong here?

Edit : Found the fix or a clear info about my issue.
[Android Software/Hacking General [Developers Only]] Tech0308:
Read the previous posts:crying:
[Android Software/Hacking General [Developers Only]] geekmanoj:
Thanks. It helped :)
[Android Software/Hacking General [Developers Only]] DEVILOPS 007:
What command did you run to show that?
[Android Software/Hacking General [Developers Only]] dr.zook:
That is the command w

It shows so much cause of zzmoove, wich has a ridiculous amount of values to optimize ;)
[Android Software/Hacking General [Developers Only]] DEVILOPS 007:
Thanks, I ran su then govtuner then w but it doesn't show anything like in that screenshot with successful and error.
[Android Software/Hacking General [Developers Only]] sudeep22:
un installer not availabe
[Android Software/Hacking General [Developers Only]] zahin5542:
Go page 417....or see previous feeds
[Android Software/Hacking General [Developers Only]] Xspeed:
In current day and age you guys might want to consider a Magisk release.

Direct system mods are interfering with SafetyNet, but I'm sure you already know that.
[Android Software/Hacking General [Developers Only]] sudeep22:
hey pls help i am facing init.d not working
[Android Software/Hacking General [Developers Only]] jcarter3729:
What do this mean?
[Android Software/Hacking General [Developers Only]] Prometheus:
2.0.1 is fabulous [MENTION=5321318]Debuffer[/MENTION].. I have a query..

My phone has a n HMP Processor (SD615)..with 2 clusters of 4 cores each..

I can use a different governors for both clusters but

Whenever I execute the script through Kernel Adiutor its shows tweaks applied only for the governer applied on the cluster0 and not cluster1. Can anything be done for this?

Thanks
[Android Software/Hacking General [Developers Only]] Debuffer:
Yeah, we know it. We have problem with this since when the cores from cluster 1 are activated they generate a file with the governor, and when they're deactivated this file is deleted. With the cluster 0 the file isn't deleted. We still gotta see how to make it work properly.

If you use telegram call me Debuffer and you can help us on the tests, since one of our devs use sd810 cluster we can test, but it's better to have two testers.

@ Edit just to complete the answer since I was asleep when I wrote this.

This file which cluster 1 deletes and cluster 0 doesn't is the file which says the selected governor.

Every time the cluster 1 goes On it's like you change the governor and go back to yours at cluster 0.

Since this happen, the governor configuration can't work on cluster 1 yet. We are working on this and we will get a fix the fastest we can.
[Android Software/Hacking General [Developers Only]] snakx:
hi, stable version work (with fix). But version 2.0.1 don't work have bootloop (same as 1.4.1, etc).

i stay with stable version :)
[Android Software/Hacking General [Developers Only]] BryanByteZ:
Are you sure? Its a initd file i guess that cant cause a bootloop. Btw i use since 1.4 and its fine for me.

Good lucky and remember alwayd backup!
[Android Software/Hacking General [Developers Only]] snakx:
i reflash stable over and the phone boot lol
[Android Software/Hacking General [Developers Only]] Debuffer:
Try flashing uninstaller before 2.0.1.

This might work and fix this problem.
[Android Software/Hacking General [Developers Only]] snakx:
don't work. have test to copy and replace gov tuner file in stable.zip don't work.

i flash stable zip and replace in init.d folder the gov tuner file after reboot ;)
[Android Software/Hacking General [Developers Only]] Debuffer:
You'd need to flash uninstaller, reboot, flash 2.0.1, reboot. This is the procedure to fix it.
[Android Software/Hacking General [Developers Only]] snakx:
i flash uninstaller

reboot (and set default setting in kernel aduiotor)

reboot in recovery for flash 2.0.1

bootloop on bootlogo

i flash stable version my moto x play boot fine
[Android Software/Hacking General [Developers Only]] dkonect:
Really good projects.

really good governors tunes and for a lot of governors now.

Thanks for this and keep up your good works [MENTION=5321318]Debuffer[/MENTION]