yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] voroxda:
Sounds like a cluster depending scripting error from the developer of the script and has absolutely nothing to do with init.d support.
[Android Software/Hacking General [Developers Only]] ithehappy:
The smoothness is top notch, can't speak for battery life this early, as I do at least 5-6 cycles for that testing, I will come back in about a week for that.

Great work, keep it up.

Details: Note 4 SD, Interactive, Performance mode.
[Android Software/Hacking General [Developers Only]] Daught:
Any idea what is the problem? CM13 on droid turbo

Whops I checked earlier before the above post. Looks like the same problem.
[Android Software/Hacking General [Developers Only]] cd716:
Go to /system/etc/init.d, long click in the govtuner script, open with script editor, go to line 64 and change "elif" to "else" without kuotes.

Sent from my BROKEN GT-i8730
[Android Software/Hacking General [Developers Only]] Daught:
Problem is the blanced profile has all those line endings that were not filtered out. I am trying to filter them out but I am an absolute android noob and must figure out to make the system rw, because everything seems to be mounted read-only

if [ -d "$CLUSTER_DETECT2" ]; then^M

CLUSTER="$CPUFREQ_CLUSTER"^M

CLUSTER2="$CPUFREQ_CLUSTER2"^M

elif [ -d "$CLUSTER_DETECT4" ]; then^M

CLUSTER="$CPUFREQ_CLUSTER"^M

CLUSTER4="$CPUFREQ_CLUSTER4"^M

else^M

CLUSTER="$CPUFREQ_REGULAR"^M
[Android Software/Hacking General [Developers Only]] ubelai:
I've tried this but the error persists.
[Android Software/Hacking General [Developers Only]] mattzeller:
Line 64 and 74

Sent from my SCH-R220
[Android Software/Hacking General [Developers Only]] Daught:
Done

busybox mount -o remount, rw /system

busybox dos2unix /etc/init.d/GovTuner_balanced

tune

busybox mount -o remount, ro /system

This was exhilarating... I haven't used linux or programmed since cdwriter used to be emulated SCSI devices :)
[Android Software/Hacking General [Developers Only]] Daught:
This fixes it, and allows to switch back and forth between profiles.

mount -o remount, rw /system

dos2unix /system/etc/GovTuner/profiles/GovTuner_balanced

busybox mount -o remount, ro /system
[Android Software/Hacking General [Developers Only]] jamu08:
Hi!Dev, Why I can't apply tweaks without changing the permission of each govtuner profiles ??? I have to give permission to "x" option and then apply tweaks in terminal. Though, the color of battery tweaks shows yellow buy I am not sure whether it is working or not. I have got busybox 1.25.1.yds installed. Does govtuner use it own busybox??

After flashing the version 2.7.1, it still shows v2.7??? please help. Thnx.
[Android Software/Hacking General [Developers Only]] Debuffer:
Govtuner uses it's own busybox but it doesn't overwrite your present busybox. Yellow is for battery profile, each profile has it's color.
[Android Software/Hacking General [Developers Only]] jamu08:
What about the govtuner version??
[Android Software/Hacking General [Developers Only]] TjNiko:
balnced have to be fixed asap it gives me syntaxerrors if i try to apply it! Sony Z3
[Android Software/Hacking General [Developers Only]] Debuffer:
What's up with it?

I'll fix it tomorrow. I had a busy day and couldn't do anything about the mod today.
[Android Software/Hacking General [Developers Only]] febry_valdy:
[MENTION=5321318]Debuffer[/MENTION]

That's his username in telegram, and feel free to message him.
[Android Software/Hacking General [Developers Only]] Debuffer:
My telegram ID is Debuffer.
[Android Software/Hacking General [Developers Only]] Corduroysack:
Flashed latest govtuner and it all works no errors, but when I reboot after my phone heats up quite a bit and then settles to a acceptable level. It has occurred on both roms I flashed today using interactive ☺
[Android Software/Hacking General [Developers Only]] Debuffer:
I'll check for it for the upcoming version. Bug noted ×
[Android Software/Hacking General [Developers Only]] yrbef91:
installed the 2.7.1 version but encountered a little issue: can't write to folder /system/etc/init.d.

i changed the folder permission into 775, i don't know if this is necessary to others.

by the way, the cluster scaling is working. way better than 2.6. :good::good: thanks [MENTION=5321318]Debuffer[/MENTION] :victory:. i can see the tunable config using Kernel Adiutor Mod (KAM).

i still wonder, even using KAM the init.d script isn't working properly. it appeared the toast notification saying "simulating init.d", but the setting is remained the same. i ticked the "apply on boot" option on CPU section. am I missing something? :rolleyes:
[Android Software/Hacking General [Developers Only]] Daught:
In kernel auditor under CPU should I leave the apply on boot switch on or off?

Also how do I revert the gov tuner settings if I want to go back to original settings?
[Android Software/Hacking General [Developers Only]] Choochter:
If you have other settings in the CPU section which are required, then leave it switched on

There's an uninstaller in the download section
[Android Software/Hacking General [Developers Only]] kuranzi:
Im confuse about kerner auditor start on bot, should i turn it off or on ?
[Android Software/Hacking General [Developers Only]] Debuffer:
Use the Uninstaller to revert back to stock.

Well, if you use another settings which require to be applied on boot, leave it on. It won't change anything with govtuner since you'd have to do the tune command on boot.

Well, if you use another settings which require to be applied on boot, leave it on. It won't change anything with govtuner since you'd have to do the tune command on boot.
[Android Software/Hacking General [Developers Only]] kuranzi:
im using battery on govtuner, interactive on kernel auditor, start on bot at kernel auditor is off by default, what is better turn it on or turn it off ?
[Android Software/Hacking General [Developers Only]] Debuffer:
Update to whoever wants to track the 2.8 progress.

A day before yesterday I decided to take a break and have a time with my girl, so I took a day before yesterday and yesterday to watch movies and everything she wanted to. When I had some free times I had some new thoughts about values which could work better than the present version (2.7), which is already working really good with the present values. Today I'm using this new values and I gotta say it's working better than 2.7. I've been testing all the profiles and there's nothing to report negatively. The battery profile is giving me 30min screen on time with just 5-6% drain on apps like Telegram, WhatsApp, Facebook, Chrome and 4 minutes YouTube videos!

The balanced profile is giving me the perfect balanced between the performance and the battery profile. This balanced is unbelievable. I've not tested the battery in balanced profile yet since I'd need my device today and I'm using the battery profile.

The performance profile is just... I haven't words to describe, I swear I tried. It's performance is just as it has been on all versions, the notable and perfect difference is that we have been working to make the battery life better on this profile and we are doing it! The battery has been improved in each version without any performance loss. I'm sure you don't want to lose performance or performance profile, huh?

And a note to everyone: The standby is incredible. With Wi-Fi turned on over night (10h sleeping) I've only 3% drain. Sure, I'd use lspeed, greenify, powernap and some other things but only 3% over all this 10h with Wi-Fi on I'd think is amazing.

Pay attention to one thing: I'm not promising that you'll have that results. I'd own a Moto Maxx (International version of Droid Turbo) which has 3900mah battery. You'll have better results than before, for sure, but that depends of the apps installed, apps in background, etc.

And the stand-by time depends on the much notifications you receive. If you receive many notifications your device can't "sleep" properly.

Just to finish, we will continue to try fixes for cluster today. I expect that the next update fix all the clusters since we have fixed for a lot devices already.

That's it, folks! Expect the better!

Have a nice day and weekend, cheers!

An edit just to add, I have started my battery cycle now and I'm on 25min screen on time and have 97% battery left on battery profile.
[Android Software/Hacking General [Developers Only]] Debuffer:
Do you change something more on the cpu tab? Input boost, etc?
[Android Software/Hacking General [Developers Only]] Daught:
I meant to ask how I can load the stock settings, without uninstalling the app.

Great work thanks. Battery life has definitely been improved.
[Android Software/Hacking General [Developers Only]] Debuffer:
Delete the profile from system/etc/initd and reboot.
[Android Software/Hacking General [Developers Only]] kuranzi:
nope, im leave it by default, the ones that i change was the govtuner on terminal emulator to battery, in kernel audtor im not change anything except start on bot from off to on... should i turn it off or change it to on ? im really newbie on this :D
[Android Software/Hacking General [Developers Only]] Debuffer:
Well, if you don't change anything than turn it off.
[Android Software/Hacking General [Developers Only]] kuranzi:
thanks sir :D
[Android Software/Hacking General [Developers Only]] karll123:
Is 2.8 uploaded yet?
[Android Software/Hacking General [Developers Only]] Debuffer:
No. It's still under development.
[Android Software/Hacking General [Developers Only]] Choochter:
If it's just temporary, you can save a profile in Kernel Adiutor with the stock settings and switch to it using the KA widget
[Android Software/Hacking General [Developers Only]] Durrz:
Really excited for this!
[Android Software/Hacking General [Developers Only]] Refayatul:
Do I need to turn init.d in kernel auditor ?
[Android Software/Hacking General [Developers Only]] Choochter:
Not if your kernel has native init.d support. Also, there are other ways of getting init.d to work.
[Android Software/Hacking General [Developers Only]] momojuro:
Hello there !

For those who don't have init.d support, this flashable ZIP made by [MENTION=5150393]_alexndr[/MENTION] works great for enabling it (it's universal, tested both on Marshmallow and Lollipop devices). :)

Best regards.
[Android Software/Hacking General [Developers Only]] febry_valdy:
Nice sharing though.

But, the OP recommends me to use universal init.d in playstore to activate init.d support.
[Android Software/Hacking General [Developers Only]] Refayatul:
How to know if init.d is enable or supported ?
[Android Software/Hacking General [Developers Only]] moonryder:
look at /system/etc for the init.d folder
[Android Software/Hacking General [Developers Only]] Refayatul:
I found this folder
[Android Software/Hacking General [Developers Only]] Debuffer:
Hey, folks!

The v2.8 progress to whoever wants to track...

The new version is running greater than the 2.7. The battery life couldn't suffer many changes since it was really great on 2.7 but the smoothness had a big improvements on this new version I've been testing.

This new version is going to be released in the beta group soon and then, after the tests in the beta group it'll be released to xda.

Expect the best!
[Android Software/Hacking General [Developers Only]] adriansticoid:
You mean 2.8?
[Android Software/Hacking General [Developers Only]] Debuffer:
Yes. Just a typo xD
[Android Software/Hacking General [Developers Only]] adriansticoid:
Hahaha. It's ok bro. I hope the error "is a directory" in line 78 gets fixed in next update.:cyclops:
[Android Software/Hacking General [Developers Only]] slayer101234:
[MENTION=5321318]Debuffer[/MENTION] i am getting error while applying tweaks for ondemand

Attached screenshots
[Android Software/Hacking General [Developers Only]] metodding:
Link beta Group?
[Android Software/Hacking General [Developers Only]] moonryder:
+1
[Android Software/Hacking General [Developers Only]] samsald:
+1

Enviado desde mi SM-N900 mediante Tapatalk
[Android Software/Hacking General [Developers Only]] Debuffer:
It's in the first post.
[Android Software/Hacking General [Developers Only]] samsald:
In the telegram group??

Enviado desde mi SM-N900 mediante Tapatalk
[Android Software/Hacking General [Developers Only]] BryanByteZ:
Just a headsup when i using inbuilt cm su i GE this error in the SS but i flashed supersu and everything is fine.
[Android Software/Hacking General [Developers Only]] Debuffer:
The built-in cyanogenmod superuser has presented this error before. Use the flashable SuperSU and it'll be fine.
[Android Software/Hacking General [Developers Only]] LeftyGR:
Ok. So the rooted people with US S7/S7E variants that don't have or don't use a mod'ed stock rom, don't have an system/etc/init.d folder. But the modified supersu package does give us system/su.d. If I'm understanding this correctly, this is init.d support of sorts.

So to use this correctly, how to proceed? 1 Make the init.d folder manually so the script places the file (if that works) in it? It fails if it's not there 2 Manually place the file in su.d and fix perms? 3 Or use an init.d enabler, then use this?

#3 seems redundant if su.d folder acts as I'm assuming. Or... If #2 is a functional option, could we request an addition to the install script that would look for the su.d folder to copy if the if init.d does not exist?

I reread this 3 times. I think it makes sense. I'm very tired...lol

TIA
[Android Software/Hacking General [Developers Only]] Debuffer:
Use universal initd from Google play to enable initd
[Android Software/Hacking General [Developers Only]] slayer101234:
Am i doing something wrong:confused: :D
[Android Software/Hacking General [Developers Only]] ubelai:
Feel like a pest but I cannot wait for 2.8 to come about. I wish I could express my enthusiasm through posts, feedback, and ultimately the communication on top of it all, but I'm as caught up as a soongaloongai as these present times.

Debugger,

I can only hope you imagine my point of perspective despite the fact it may mean nothing more than gibberish, but I must go forth with one thing.

And that one thing is how you've managed to come across an optimal methodology of the Interactive Governor function - I've made slight observations dependant on all round use, battery life, responsiveness and basically what one may find pleasurable upon the touch of their device, on demand.
[Android Software/Hacking General [Developers Only]] veez21:
Try making your selinux permissive, if you're on cm
[Android Software/Hacking General [Developers Only]] Debuffer:
No, this isn't a bug.

2.8 is coming as soon as possible. We are doing all attempts to fix all the cluster devices properly, after that we'll be able to release it :)
[Android Software/Hacking General [Developers Only]] ubelai:
Please don't feel rushed. Ever. I wish I could be as involved as others right now but damn. I can only hope for the time to come in that regard.

Nevertheless, keep up the stellar work man. Your work is making innovative progress on the board of efficiency. THAT is what I love about where your efforts are leading you to.
[Android Software/Hacking General [Developers Only]] slayer101234:
How do i fix this error then :confused:
[Android Software/Hacking General [Developers Only]] Debuffer:
Thank you, buddy! We will keep doing the best for the mods and bringing the best improvements for it :)

Which error?
[Android Software/Hacking General [Developers Only]] slayer101234:
It gives a permission denied error when i apply tweaks for ondemand governer i gived all profile and all govtuner folders all permissions still i get permission denied error here is a screenshot
[Android Software/Hacking General [Developers Only]] Debuffer:
This error happens for some kernels. It's totally normal and isn't a bug. :)
[Android Software/Hacking General [Developers Only]] slayer101234:
Ok I m using stock kernel built in official omni 6
[Android Software/Hacking General [Developers Only]] Debuffer:
Anyway, it's highly advised to use interactive or interactive based governors since it gives govtuner more control over the used frequencies.
[Android Software/Hacking General [Developers Only]] slayer101234:
Ok thanks ???? it works fine on interactive governer :) ????????????????

Edit: those questions marks are emojis but its showing question marks :laugh:
[Android Software/Hacking General [Developers Only]] Debuffer:
Nice! :)
[Android Software/Hacking General [Developers Only]] android_htc:
Someone please confirm if everything is working correctly, thanks.

Interactive governor with balanced profile:
[Android Software/Hacking General [Developers Only]] Debuffer:
No, it's not. Does your device has big.LITTLE clusters?
[Android Software/Hacking General [Developers Only]] android_htc:
No, I do not have a cluster device, I have a note 4 N910F. Strange, thing is that the settings seems to apply when I run the command. But, it seems to change after a while. I am also running universal init.d as suggested. Any ideas?

Thanks for your support
[Android Software/Hacking General [Developers Only]] android_htc:
Seems to change once the screen is turned off to above screenshot. This is what I get once I run the commands:
[Android Software/Hacking General [Developers Only]] Debuffer:
We will check it.
[Android Software/Hacking General [Developers Only]] star_throne:
If you have the Exynos version, it has the a53 low cluster cores, its big.LITTLE chip. Snapdragon variant isnt big.LITTLE (4x krait 450)
[Android Software/Hacking General [Developers Only]] Debuffer:
Updating to whoever wants to track the project progress.

We've been doing a lot of attempts to fix all cluster devices which all attempts failed. Some cluster devices are fixed (OPO3 is one of the fixed ones). We still didn't found out what makes it work on some clusters but fail in many others.

We'll keep updating the project with new tunables since it does affect the little clusters without any problem. The little clusters are the most used so the mod still has awesome effects in it.

I have started the tests for the upcoming 2.8 version. The new values which have been tested are having greater results than 2.7(.1).

Today I'll start to release beta versions to the beta group (telegram) and possibly I'll release the new version tomorrow or so.

*If we find out a fix to all cluster devices it'll be implemented in the next version, if not, It'll be added and uploaded to xda as soon as we do it.

Expectations for the next version:

Battery profile: a smoother and more fluid device without extra drain.

Balanced profile: a bit more fluid than now decreasing the frequency the fastest possible to the minimum available so it'll save some battery.

Performance profile: do some battery improvements without losing the "performance" nickname.
[Android Software/Hacking General [Developers Only]] BryanByteZ:
Its already fixed but thanks anyway.
[Android Software/Hacking General [Developers Only]] PiggyFlooper:
Great project,

I think it'd be a better one if the scaling_available_frequencies are set as variables and injected into your formulas so as to provide for cross device compatibility
[Android Software/Hacking General [Developers Only]] Debuffer:
Using the present frequencies in the device or the frequencies that has been used in the formula won't change anything since actually it does use the closest frequency above this one.
[Android Software/Hacking General [Developers Only]] Toonlinkmaster25:
Do I apply the same value to all the cores?
[Android Software/Hacking General [Developers Only]] djdubyah:
Tried two different emulator apps, i can type su, but no enter key, only done... hit that, nothing happens. Any idea?
[Android Software/Hacking General [Developers Only]] Debuffer:
Yes.

Try the most downloaded from Google play, that's the one I use and recommend.
[Android Software/Hacking General [Developers Only]] djdubyah:
Thanks for reply. Think was keyboard had Done instead of Return so wasnt registering i was hitting. Gtabbed something called hacker kb prob rem and just grab googles. Ty
[Android Software/Hacking General [Developers Only]] Debuffer:
Did you fix it?
[Android Software/Hacking General [Developers Only]] djdubyah:
Yup. It was the kb, I guess either didn't like return done was giving or fact was Samsungs. S7 purring
[Android Software/Hacking General [Developers Only]] burtallicus:
hello

i have a question

im using slimmrom 4.8 (lolipop) on xperia z3c and i flashed govtuner and enabled battery profile. Now only 2 cores are working regardless of load, i even put a cpu stress app and only 2 cores are working

the only modification to the regular rom made by me before the flash was made by kernel adiutor, limitting the max freq to 1,9ghz instead of 2,4

governor is the default one, interactive

is this normal behavior?
[Android Software/Hacking General [Developers Only]] Debuffer:
No, it's not normal. Anyway, any cpu plug/unplug related thing is because of hotplug and not the mod itself.
[Android Software/Hacking General [Developers Only]] burtallicus:
so lowering the max freq from kernel adiutor has nothing to do with it? will try again on a full fresh install are report back in a couple of minutes

and you recomand not to change max freq or to disable MPDecision from kernel adiutor?
[Android Software/Hacking General [Developers Only]] Debuffer:
Leave mpdecision enabled and don't underclock, let govtuner work by itself.
[Android Software/Hacking General [Developers Only]] burtallicus:
ok, what is in your opinion the best gov for SD 801 CPU on lolipop ?

yes, limiting max scaling freq disables 2 cores ....just tried again
[Android Software/Hacking General [Developers Only]] burtallicus:
ok, i gave it another try

no other modification .... using kernel adiutor to monitor only the cores

flashed the script , then from terminal enabled battery profile, now it works as expected i think, i mean it running 2 cores and starting other 2 cores from time to time.

the question is: on both cores 1 and 4 that are online the freq is 1036Mhz with under 10% load ....and never drops below that freq... is that ok?

another question is .... i saw for 30 seconds i guess, immediately after flash that the phone ran on one core :D that was nice...but i never saw that again .....now is only 1036Mhz on 2 cores
[Android Software/Hacking General [Developers Only]] Debuffer:
Well, let me explain something which isn't clear maybe.

Govtuner only configure the way your governor scales up/down, it doesn't turn on/off your cores.
[Android Software/Hacking General [Developers Only]] Debuffer:
Updating the cluster fixing to whoever wants to track:

WE ARE DOING IT, BOYS!

We did close to 90% of the fix already, we fixed a lot of stuff and now we just need to fix some paths to completely fix it.

Yeah, cluster will be fixed!
[Android Software/Hacking General [Developers Only]] Durrz:
May I ask what do you mean by clusters?
[Android Software/Hacking General [Developers Only]] adriansticoid:
big.LITTLE grouping of cores. Most common in octa-cores.

---------- Post added at 03:12 PM ---------- Previous post was at 03:10 PM ----------

@Debuffer I just found out that the values don't apply after reboot even though I use the stock governor. I have to manually tune in Terminal. Is this because my device is a cluster device?
[Android Software/Hacking General [Developers Only]] Debuffer:
Actually mostly of times Tune command is needed. Even if it's not I'd like to do and recommend.
[Android Software/Hacking General [Developers Only]] Durrz:
Thanks! Got it now :)
[Android Software/Hacking General [Developers Only]] adriansticoid:
I see. By the way I use L Speed now. Waiting for that integration. :)
[Android Software/Hacking General [Developers Only]] Senthil360:
Tomorrow's a Big day

TEASER :P
[Android Software/Hacking General [Developers Only]] shantam3108:
Haha yeah... Wait for the big day..

:cool:

Something's coming :P