yashsingh1/xdaforums huggingface dataset:
[ZenFone 2 General] Siebenheaven:
To be clear with it: to check see if

governor is interactive.

Then if you have applied full tune, your GPU should have minimum frequency at as 320mhz

These two should do fine. Otherwise you might want to reinstall KAM.

Diffrence in battery life Also depends on your usage pattern though. Just like no one medicine suits all diseases, no one profile can help everyone.

Profile was designed assuming low gaming and CPU intensive tasks like copying huge files, video encoding etc. If you do those, then, since my profile is a bit sluggish in increasing CPU frequency (I'm experimenting to fix that ?) you might actually end up having more CPU usage and hence more battery usage. There are two approaches regarding CPU management. One says:

When there is slightest load bump up frequencies as fast as possible so you finish the task as fast as possible and return to normal idle state.

The other says:

Wait till you are completely sure this task is big (most tasks such as starting an app have high load for a few seconds and then minimal loads. In such cases it is better to not bump frequencies because slight lag can be neglected for better battery (especially in phones that suck at battery life))

Now no-one of these two approaches is perfect.

Balancing these two is what gives you great battery and not that bad performance.

Lastly if you have gps on (or Bluetooth or NFC for that matter) all day, this profile can't help you because it just helps you reduce battery used by cpu (and GPU and some other stuff).

Normally CPU is the main cause of bad battery life. But if you use GPS all day, the battery used by GPS overtakes CPU battery consumption by far. You will see minimal effects of this profile.

Don't blame me or the profile then ?
[ZenFone 2 General] J33v1n:
Hahaha. I understand op . And I've got good battery life actually. After applying the profile and uninstalling KAM. But only for one charge cycle. After that I noticed battery drain was bad and when I rechecked by reinstalling KAM the profile was on ondemand. Any chance I got something wrong somewhere ? And if I leave KAM installed it reverts to ondemand also .
[ZenFone 2 General] Siebenheaven:
It reverts to on demand at reboot I suppose. So everytime you reboot, you'll have to apply profile again. The KAM profile widget is helpful(though it's a bit ugly,works well). ✌️
[ZenFone 2 General] Aksell:
Did you find any fix for this?:)
[ZenFone 2 General] Siebenheaven:
That's the correct behaviour.

It's kept as a security feature. Say I produce a profile that causes reboot on applying. Then your phone would get into bootloop, if the profile wasn't disabled after a reboot.

So probably, there's no fix, because there's nothing wrong going on in there?
[ZenFone 2 General] krasCGQ:
Why not use Per-App settings feature?

Tick Default, and forget.
[ZenFone 2 General] Siebenheaven:
Yep. Also apply at boot thing on the top works well.

After applying profile,you could set apply on boot for cpu,GPU, and all other sections that the profile modifies. This would basically mean profile gets applied at boot. Although I would suggest to set the apply at boot thing to 20s, then you'd have time to avoid any settings that might cause problems by manually disabling them before they automatically start at boot.
[ZenFone 2 General] adobrakic:
I'm unable to copy the profile into KAM's folder properly, I tried both methods. Saving a new profile in KAM doesn't create a file anywhere, I have no idea where the app looks for the file itself.
[ZenFone 2 General] krasCGQ:
/data/data/com.kerneladiutor.mod/files/profiles.json

If it's still not shown, kill the app and open again.
[ZenFone 2 General] adobrakic:
I did this, it didn't work. My filepath also isn't exactly like that.. it's /android/data/com.grarak.kerneladiutor.
[ZenFone 2 General] krasCGQ:
Then you've official Kernel Adiutor. Grab and install Kernel Adiutor-Mod.
[ZenFone 2 General] ramrasekar:
Hey [MENTION=7303924]Siebenheaven[/MENTION] !

Why did you change SELinux to Permissive?

Any reason?:)
[ZenFone 2 General] Siebenheaven:
It doesn't serve any purpose as such. Change it back to enforcing if enforcing works for you.(enforcing caused some problems on earlier versions of lineage)
[ZenFone 2 General] ramrasekar:
Okay:good::)
[ZenFone 2 General] ramrasekar:
This improves SOT somewhat....but on other hand it drains battery on standby; double drain than stock kernel settings...:(

I can't use this tweak on the cost of idle battery drain...:rolleyes: and significant lag!

I am on Unofficial LOS by say99.
[ZenFone 2 General] GBry:
Folder not found

So... I should put the profiles.json into (root)/data/data/com.kerneladuitor.mod/files/ , right? I didn't find the said folder. Tried to create a profile from the app first, no avail. The profile is created though. Tried making the said folder manually, and put the modified profiles.json into the said folder, no avail. Is it supposed to be located in another folder, like the install process of Viper4Android, which varies from rom to rom?
[ZenFone 2 General] Axl_Mas:
Every time I need to insert the tuned profiles in KAM I've very big problems, even if I follow the guides in the official post.

Since I am not the only one in troubles when I need to install the profiles, could be possible to release a flashable zip to install KAM and his profiles from recovery?
[ZenFone 2 General] Siebenheaven:
Ok. These are the final and the best instructions I can give.

1st thing. You need to have KERNEL ADUITOR MOD AND NOT KERNEL ADUITOR.

Second. Inspite of following the instructions from first post, if you can't get profiles, do the following steps and you should get the profiles.

1. Clear data for KAM

2. Open KAM.Go to cpu section. Select interactive governor.

3.Go to profiles and press add button. In the new profile menu keep some dummy name and choose cpu from settings list.

4. Download my profiles.json. Open it in a es explorer / mixplorer/ any other text editor that can handle root.. Select all and copy.

5. Go to /data/data/com.kerneladuitor.mod/files

6. Open profiles.json there with text editor and paste the code you copied from my profiles.json. save and exit.

Profit.

This is required if nothing works.

I'll look into the flashable zip.
[ZenFone 2 General] nutcasev1.5:
There is a video I made for applying profiles for my kernel. Refer that here. It should work on Ka too. Just don't create the profiles on Ka.
[ZenFone 2 General] Siebenheaven:
Significant lag will happen if you use some other apps like control center, lspeed or hebf and their battery profiles.

If lag happens during graphics rendering like while navigating homescreen, increasing gpu lower bound frequency to 457Mhz should work.

I never face significant lag when doing normal tasks which include pretty heavy multitasking as well. It only lags during gaming but I have set the on demand profile to be set whenever I launch game in my KAM which fixes it.

V1.1 profiles did have some issues with idle battery backup.

Next and probably final version coming up soon. Should fix the standby battery drain.
[ZenFone 2 General] ramrasekar:
Okay thanks!...take your time...:)and update the profiles soon.

---------- Post added at 03:38 PM ---------- Previous post was at 03:32 PM ----------

You can make a flashable zip by titanium backup! ;)
[ZenFone 2 General] zdbtsta:
I have 3hr per 1% on during stand by using v1.1

Sadly I can't have 7 hr sot anymore with these latest builds.
[ZenFone 2 General] adrian1234a:
Hi with this tweak gd 2.1 is lagged please help my

Sorry my english :D
[ZenFone 2 General] Siebenheaven:
Yep. New builds are kinda messed up. I have been getting a wide range of screen on drains- from 13% per hour (the best I have seen on this phone, this rate of drain wasn't instantaneous, it lasted for over 45 min) to 20% per hour(the worst).

New profile put on hold because I can't determine what is causing the random drain.
[ZenFone 2 General] Siebenheaven:
GD 2.1? ??
[ZenFone 2 General] ramrasekar:
Test on say99 builds...as before;)

---------- Post added at 09:33 AM ---------- Previous post was at 09:30 AM ----------

I get -1% per 4 minutes with 4g data ON! :D in v1.1 and Unofficial LOS.
[ZenFone 2 General] ramrasekar:
Can anyone flash this KAM.zip?

Profiles inbuilt! No need to add them manually!;)

Does it work?
[ZenFone 2 General] adrian1234a:
Geometry Dash 2.1 :v
[ZenFone 2 General] Siebenheaven:
Update:

Idle drain seems to be fixed after flashing 15jan bootimg and on the fulltunedv2. Testing if SOT is on par now.
[ZenFone 2 General] ramrasekar:
You are on Official or Unofficial?

Where can i download v2?
[ZenFone 2 General] Siebenheaven:
On official but having a lot of problems cause the unofficial boot image. Gonna go to unofficial build.I usually test for a day or two before posting profiles here.you can Expect profile soon.
[ZenFone 2 General] ramrasekar:
On Unofficial, test with the latest rom with original kernel as well as with Jan15 kernel!

Don't know why, but sometimes latest rom without changing kernel seems to be better at battery...remember this is still a WiP
[ZenFone 2 General] zdbtsta:
Well that's the normal drain for me wifi or 4g. I can't get it to 5%/minute drain
[ZenFone 2 General] ramrasekar:
Try to clean flash...;)
[ZenFone 2 General] zdbtsta:
I did. Still the same.
[ZenFone 2 General] ramrasekar:
Calibrate battery by using LSpeed App...and Reboot the phone;)
[ZenFone 2 General] zdbtsta:
I'm not going to force it anymore. I do all the steps I know. I do calibrate every los update. Flash every kernel I know and applied all the profile available lol.. There is something the devs still figuring out about the batt issue. I'll just wait for a fix :)
[ZenFone 2 General] Siebenheaven:
Set per app profile for that game to the one with on-demand
[ZenFone 2 General] adrian1234a:
ok
[ZenFone 2 General] Siebenheaven:
New profile up:

The idle battery drain fixed.

Added some virtual memory and entropy tweaks.

When applying the profile for the first time, KAM might freeze. Just press recent apps key, close KAM and start KAM again and apply profile. (No idea why this happens,but haven't faced any issues because of it)

The screenshot is from lineage official, considering what is normal on official lineage builds lately in terms of battery life, it's a lot better.

Haven't tested on unofficial builds(cause of unavailability and some *small* network issues leading to issues downloading big files

This will *Probably* be the final version. Because there's not much we can do about battery after this. Lineage will get better soon, as devs would find the real culprits.

Also there are some build prop tweaks that might help, included in the zip.

Feel free to add them to your build.prop at your own risk.
[ZenFone 2 General] ramrasekar:
Testing these profiles…u were true about the freeze but after opening KAM again it did not freeze further.

No lag noticed till now.

The build prop tweaks you added are already in LSpeed app in battery improvement under battery panel which has only build prop hacks i.e. no change to cpu.

Also there are more 2-3 build props for battery saving...see the lspeed mod thread by Paget96;)
[ZenFone 2 General] ramrasekar:
This:
[ZenFone 2 General] Siebenheaven:
True. There is a limit to how much profiles and tweaks you can apply. There will surely be many other threads suggesting general tweaks(like these build prop ones,that apply to almost every device out there, but their usefulness is limited). On the other hand, device specific profiles like the ones on this thread(since they are made specifically considering the device in question), offer somewhat better results(even these are just compromises that trade performance with battery life, for users who aren't as excited about performance,until it's above a certain expectation) but true results will be when devs truly find the cause behind the drain on newer builds. But right now no-one knows the cause, since it is shrouded between the many commits and rebases that lie in the lineage tree. Once the cause is known, I'm sure jrior and Sayeed and others would give all that's necessary to fix. I would say Don't keep asking on the official thread about battery issue. I'm sure by now the devs are well aware.

All we can do(cause our sheer incompetence in helping find the real issue) is cross our fingers and wait.
[ZenFone 2 General] zdbtsta:
Thanks man!
[ZenFone 2 General] ramrasekar:
Right:good:
[ZenFone 2 General] ramrasekar:
[MENTION=7303924]Siebenheaven[/MENTION]

Good News!

There is a new kernel called Boret's kernel...it works on all LinOS 14.1 based ROM's.

Performance and Battery both seems to good!

Has some extra governors io schedulers and tcp algorithms:D

Look into this!

Link: https://yadi.sk/d/Ur2QufXm3EZZSV

(It is a boot image...you can flash it)
[ZenFone 2 General] Siebenheaven:
Have used it before, on borets ROM and stock marshmallow though.

Will give it a try soon. Thanks!
[ZenFone 2 General] ramrasekar:
Its awesome!

[MENTION=7991022]zdbtsta[/MENTION], the thing you wanted:

4g on... -1% per 5 minutes using Whatsapp!

No profiles! Just changed CPU governer to interactive_pro;)
[ZenFone 2 General] ramrasekar:
Kernel Features:

See the Screenshot: Translated from Russian to English ;)
[ZenFone 2 General] zdbtsta:
Checked. Gonna try it ???
[ZenFone 2 General] ramrasekar:
Quote me the results;)

And if battery drains too fast, say -1% per 2 minutes then dirty flash the rom again, flash the boot.img, wipe davlik cache, and reboot system!
[ZenFone 2 General] zdbtsta:
I'll post my feedback after usnng this in full charge. If the results were okay maybe you can now return to the offical los
[ZenFone 2 General] ramrasekar:
I think that, the custom framework tweaks by sayeed makes his builds battey friendly;)

He has not shared its source yet, hence it can't be implemented in official builds:(

Though, I will surely jump to official builds, once i get a good battery review...
[ZenFone 2 General] ramrasekar:
[MENTION=7303924]Siebenheaven[/MENTION]

Can you help me out tuning interactive_pro governor to reduce idle battery drain?

The major problem is that CPU upscales its frequency very often...causing idle dain?

4G ON: -16% in 7 hours idle with Boret's kernel and interactive_pro governer.

Remember, i can't compromise performance...;)
[ZenFone 2 General] Siebenheaven:
Interactive_pro is a nonstandard governer, with no documentation whatsoever. None knows the tunables.

You might get lucky if borets himself replies and tells about it. I, myself, don't know any kernel (other than the one found on stock OnePlus one device) that has implemented interactive_pro .

You might get something on the borets kernel forums,maybe.:D
[ZenFone 2 General] ramrasekar:
Can you tell timer rate and time slack?
[ZenFone 2 General] dcduartee:
I've used this version since release with the build.prop tweaks and battery both on standby and the sot are better than the 2 previous versions. I'm using AICP btw
[ZenFone 2 General] Siebenheaven:
Well that's how it's supposed to be :D

Thanks for the feedback!
[ZenFone 2 General] Siebenheaven:
Briefly speaking, timer rate is the rate at which the loads of cpu get reevaluated and cpu frequency gets adjusted correspondingly. Timer slack is the allowed deviation in the reevaluation.
[ZenFone 2 General] ramrasekar:
Its pretty hard for me to understand that, please tell me target loads...:)
[ZenFone 2 General] Siebenheaven:
Target loads biases diffrent loads towards certain frequencies.

You typically should choose frequencies that are the most efficient.
[ZenFone 2 General] Siebenheaven:
https://android.googlesource.com/ke...7aebe08b/Documentation/cpu-freq/governors.txt

Anyone who wants more info on the tunables should read Google's official documentation on it. It explains those things best.

Reading it was how I got how I got to know how to tune governors. Best starting point for you guys.
[ZenFone 2 General] ramrasekar:
Fortunately I got some KrasCGQ's tunes of interactive_pro governor in Boret's kernel thread and i am using them and i apply them

from 1833Mhz since my ZF2 is 1.8Ghz variant...

See this: https://xdaforums.com/showpost.php?p=68548901&postcount=43

https://xdaforums.com/showpost.php?p=68595252&postcount=50

Correct me if i am wrong...
[ZenFone 2 General] Nightwish1976:
Hi.

Just wanted to thank again the OP for this great tweak and to confirm that the latest version is very efficient also for the battery life on standby (less than 1%/hour).

Cya.
[ZenFone 2 General] filipe_m:
I think i have successfully install FullTune (Governor change to interactive).

But i have 2 questions:

- Wich is the last profile? I used FullTunedV2.1...

- In Kam do I have to in all sections activate the option "Apply on boot"?

All are disabled ... Does it mean the profile was not loaded properly?

Thanks!!
[ZenFone 2 General] Sasakiryo:
i have some question

i use lineage os 14.1 official on z00a

when i tried to import your profiles.json

i always got message "import file is malformed"
[ZenFone 2 General] ramrasekar:
-Yes v2.1 is the latest profile.

-Apply on boot basically applies your configurations when you reboot the phone, if you disable apply on boot then you can apply profile manually after reboot;) and yes profile is loaded properly.

---------- Post added at 07:51 AM ---------- Previous post was at 07:45 AM ----------

Its for Kernel Adiutor Mod(KAM), not for Original Kernel Adiutor.

In KAM, you will have to manually import profiles.json by Root Browser.

You will get download link of KAM in Holo kernel thread OP, also there is a video tutorial in the HoloOP:good:
[ZenFone 2 General] Sasakiryo:
Thanks for your reply sir

Actually, i managed to modify your json a little so it can be imported using the original kernel adiutor (profile>import)

Just change the header and footer actually :p

So far, the effect is real..the idle drain in my cm 14,1 official is very low
[ZenFone 2 General] ramrasekar:
Hey buddy, don't call me sir:eek:

I am just 16 years old, and these profiles are made by Siebenheaven, all credit to him, i just wrote a short tutorial:D
[ZenFone 2 General] Sasakiryo:
Hahaha

I think, as a "senior member", you are old enough to be called sir :p

Well the battery drain is as good as stock rom's (or maybe beter) at normal use

The real effect is the idle drain

Normally, if i forgot to turn off z00a before i sleep, in the morning it usually drained ~50% overnight

Now,it's about ~15%

Last night, i left at 48%

In the morning..it comes to 32%

Have u user holo kernel custom profile?

Compared to his json profile,do you think this custom is better?

Sorry for bad english
[ZenFone 2 General] ramrasekar:
Use Naptime app with aggressively doze and disable motion sensors, it reduces idle drain significantly...

You may try Holo Kernel but for me it shows no improvement in battery, rather it gives lags.

According to holo dev, he may release his v4k6 update today, i will test it and quote you if it solves drain:)
[ZenFone 2 General] wintersan:
Hello, first of all thanks for your efford. I have a problem with FullTuned v2.1 when I apply this profile it makes my phone laggy a bit for examle menu scrollings lagging a bit, while i writing something on whatsapp letters coming a bit slowly. Do you have any solution that you can suggest? Thanks.

My phone: 16GB/1.8 ghz version
[ZenFone 2 General] nutcasev1.5:
Try Holo on Non Sayeed builds. It's smooth there.

Plus don't jump the gun. I never said I'll release it yet. 2 bugs to kill before that
[ZenFone 2 General] ramrasekar:
-I don't want to switch to Official builds now:eek:

-Okay, i will wait for the final release:good::)
[ZenFone 2 General] Rogier Oudshoorn:
For anyone interested, i updated the profile to be used in the regular kernel adiutor app - which is a really small amount of work but it always takes a few minutes to figure out the differences in JSON format. I'll come back after a day to tell you how it goes :)
[ZenFone 2 General] Rogier Oudshoorn:
After using it for a day, there's definately an improvement on battery life. I also didn't notice the phone being slower or less responsive, so thank you very much!
[ZenFone 2 General] Siebenheaven:
Thanks for feedback!
[ZenFone 2 General] Siebenheaven:
Can't eat the cake and have it too?

The lags would be minimal, bear with them. Remember, this isn't even a kernel, it's tuned parameters?

I'll get time after exam, I'll try more tuning if possible or maybe compile my own kernel as well, if you guys want that?
[ZenFone 2 General] wintersan:
Thanks for reply. That would be great i think.
[ZenFone 2 General] Hardyan:
Nice work , and stock kernel an found very good for me use diari and lagg is minimal for me . I wait new tweak to future.... .

Thank you brother for you time
[ZenFone 2 General] filipe_m:
[MENTION=377564]sienbenheaven[/MENTION]

Full Tune is not update for a some time. Lineage kernel probably have some modifications since last Full Tune update. I still use it and my question is if it still adequate for the actual lineage build.

Thanks.
[ZenFone 2 General] Siebenheaven:
Well, the interactive governor would still be the same in the kernel I believe. Its a pretty old and stabilised implementation and I believe the profiles should still be applicable. I'll try to update soon though :)
[ZenFone 2 General] AhZhi:
This Mod is alive?
[Lenovo Vibe P1m Guides, News, & Discussion] Vlk Is My Name:
Fix IMEI Number Without Root Or Without PC (Lollipop MTK Device) :

NOTE

: (Must Read)

This guide was tested on Lenovo Vibe P1ma40 Lollipop stock ROM. It may also work on some other Mtk Lollipop device but it may need to change the code (Space between AT+ and EGMR... Eg; AT+ EGMR=1,7"IMEI_1" ) or without any space or maybe no need.

STEPS :

1) Download and install Mtk Engineering Mode apk from here.

2) Open and Go to Engineer mode (MTK)

3) Go to Connectivity Tab and Select CDS information.

4) Select Radio Information after that Select Phone1. (for the first IMEI)

5) At the top there is a command line which begins “AT+” just type there AT+E G M R=1,7,"IMEI_1" (Put your first IMEI number number)

6) Hit send command and you will / may get a confirmation.

7) Now go back and select “Phone2. (for the second IMEI number)

8) At the top there is a command line which begins “AT+” just type there AT+E G M R=1,10,"IMEI_2" (Put your second IMEI number)

9) Reboot your phone and check your IMEI number (Dial *#06#).

Note : Put a space between E & G & M & R ( Don't put space between AT and + or any other except I mentioned )

Eg;

AT+E<space>G<space>M<space>R=1,7"123456789098765" (Sim 1)

AT+E<space>G<space>M<space>R=1,10"123456789123456" (Sim 2)

mod edit - link removed
[Lenovo Vibe P1m Guides, News, & Discussion] thedeadfish59:
A very common method, but rarely shared on XDA, thanks for that :good: (working on MM)
[Lenovo Vibe P1m Guides, News, & Discussion] abdulheru:
I am not getting CDS information at MTK engineering app in my mobile

I am using Lenovo Vibe S1 Error Unknown Imei number
[Lenovo Vibe P1m Guides, News, & Discussion] Vlk Is My Name:
Are you using stock rom?
[Lenovo Vibe P1m Guides, News, & Discussion] abdulheru:
Don't know whether it is stock rom or original rom

I just bought it as second sales.
[Lenovo Vibe P1m Guides, News, & Discussion] FernandoSilva:
Any tips on how to do this on devices with Snapdragon?
[Lenovo Vibe P1m Guides, News, & Discussion] harproy:
not working

mod edit - quote removed

I have micromax p681 and it didnt work for me.It gives error cme +100 And i suspect that your device is rooted and you might me cheating(sorry)like some fake youtubers(who change imei on rooted device with apps that work only on rooted devices like mtk, uncle vuncle, xposed).
[Lenovo Vibe P1m Guides, News, & Discussion] Vlk Is My Name:
Read carefully from the beginning again... dude
[Lenovo Vibe P1m Guides, News, & Discussion] harproy:
mod edit - quote removed

My bad! I m extremely sorry n i take my foolish words back. Thx a lot the first format AT+ E.. worked for me.
[Lenovo Vibe P1m Guides, News, & Discussion] Vlk Is My Name:
:good: wc
[Lenovo Vibe P1m Guides, News, & Discussion] ZRK_NanDRD:
Thanks a lot this method helped, side note the device is AG Boost running Kitkat 4.4.2