yashsingh1/xdaforums huggingface dataset:
[ZenFone 2 Android Development] nutcasev1.5:
Don't mess with Blu_Plug.

Issue 1 is actually due to a fix made to prevent sods. Issue 2 is a direct result of that. I will see if can do something about it in the coming release.
[ZenFone 2 Android Development] Igorhcc:
When I boot with the 'apply on boot' option checked in Kernel Adiutor, a lot of time my device crashes, forcing me to reboot. And another thing that I noticed is the battery drain is bigger (?) than the previous build. I'm arround 2:30 - 3:00 of SoT. Anyone made best times? Which configuration or tips do yours dudes are using?
[ZenFone 2 Android Development] krasCGQ:
Almost 4 hours here, less with 10-bit video playback.

CPUFreq Intel

IOSched Maple 2048/2048 (fifo_batch 16)

RF Affinity 2

Add Random and IO Stats disabled

Dynamic Fsync on

Other settings unchanged
[ZenFone 2 Android Development] foober:
[MENTION=6589753]krasCGQ[/MENTION] , which profil you edit with this setings ?

WysÅ‚ane z mojego ASUS_Z00A przy uÅ¼yciu Tapatalka
[ZenFone 2 Android Development] krasCGQ:
Nope. I don't edit any profile nor import any existing profiles yet.
[ZenFone 2 Android Development] foober:
Default set kernel with you changes ? Thats right?

WysÅ‚ane z mojego ASUS_Z00A przy uÅ¼yciu Tapatalka
[ZenFone 2 Android Development] saggiboy231:
What max CPU frequency are u using? i applied your settings. hoping it gives me a better screen time.
[ZenFone 2 Android Development] KisGedyHUN:
Hi.sorry but i can't find the download link
[ZenFone 2 Android Development] TheAndroidDeveloper:
Gdrive link
[ZenFone 2 Android Development] KisGedyHUN:
Uhhhh.thx bro.i was stupid...

Tapatalkkal küldve az én ASUS_Z00A eszközömről
[ZenFone 2 Android Development] krasCGQ:
Yep.

Stock: 2416. I don't change it since it doesn't have any benefit for me.
[ZenFone 2 Android Development] Igorhcc:
Can u gently make a profile with our configs and upload for I can test? My SoT is worse, I probably making something wrong.
[ZenFone 2 Android Development] krasCGQ:
Attached :)
[ZenFone 2 Android Development] ga_santos:
We need this commit in kernel : https://review.lineageos.org/#/c/154053/ for working filpflap cover app.
[ZenFone 2 Android Development] saggiboy231:
So i need to replace my existing profiles file with this one?
[ZenFone 2 Android Development] krasCGQ:
Of course!

Spoiler:

I'm currently testing new profile with more 'aggressive' downscaling freq and lower touchboost freq, and many lower values to others.

With light usage and less interactions with screen, SoT is about 31 minutes from about 100% to 90%.

Battery drain is actually depend on your phone's usage and may differ on certain situations like interaction with screen, etc. So, if you think SoT is bad, then try to reduce heavy interaction with screen like scrolling slowly etc.
[ZenFone 2 Android Development] Igorhcc:
Thanks for the profiles, I'll test today. And when you finish this new more 'agressive' profile, upload it, if possible, I want to try too.
[ZenFone 2 Android Development] krasCGQ:
If it goes well... :good:
[ZenFone 2 Android Development] Luq4dmin:
Got 5 hrs SOT here on RR 5.8.0✌:D
[ZenFone 2 Android Development] aryan531:
how would u get that?? its amazing
[ZenFone 2 Android Development] persieghini:
Stupid question....but never used custom kernel before....should I flash this every time I dirty flash a rom? Or only while clean flashing? And what happens if I forget to flash it? Does it break something?
[ZenFone 2 Android Development] persieghini:
How do I enable quick profile tile guys? I have enabled it in the app but I can't find it anywhere when I try to edit the quick tiles....is it something to do with permissions?
[ZenFone 2 Android Development] krasCGQ:
1) Flash after every ROM flashing.

2) Nope. It'll just revert to stock kernel.
[ZenFone 2 Android Development] Luq4dmin:
Just use the battery profile from profiles.json provided in the google drive :)
[ZenFone 2 Android Development] persieghini:
I guess I'll get 4h12m of screen on time... dunno if this is accurate enough...

I lost 2% screen off in 7 hours... that's good I guess :D

I'm using battery profile in the gdrive provided...

Thanks [MENTION=7074010]nutcasev1.5[/MENTION] great job <3
[ZenFone 2 Android Development] krasCGQ:
I think I'll get another ~1hr SoT with my current settings. Exported as MlkTea Settings v2.

What's changed:

~ Mostly tunable changes.

~ Don't stay at high frequency too long. Reduce to 15000

~ Reduced touchboost freq to 916MHz

~ High-speed load reduced to ~90%

~ Maximum CPUfreq reduced to 2333MHz

~ Don't know if there's a magic; lags are barely noticed!

The attached one still has v1 profiles for fun.
[ZenFone 2 Android Development] saggiboy231:
There is a strange thing happening with my phone.

I charge it with my power bank, it shows 100% fully charged.

The moment i remove the cable, it drops to 98%. I charged it again, and same thing happened.

---------- Post added at 03:38 AM ---------- Previous post was at 03:37 AM ----------

Will this profile work with the 1.8 Ghz model.
[ZenFone 2 Android Development] krasCGQ:
I don't know since I reduced the maxfreq to 2333MHz. You may try it on 1.8GHz variant, but maxfreq settings won't be applied.
[ZenFone 2 Android Development] aryan531:
thnks ...i switched in it ;)
[ZenFone 2 Android Development] Luq4dmin:
Try going with 1500mhz.,,im on it and still got smooth result :)
[ZenFone 2 Android Development] Luq4dmin:
Its the kernel's setting to make u limit the charge at 98%. Try to drag it to 100% in kernel adiutor > battery to make it full. They made that charging limit to extend the phone's battery life. :)
[ZenFone 2 Android Development] saggiboy231:
Alright. Thank u. For a moment i thought i scrwed up my phone. [emoji1]
[ZenFone 2 Android Development] persieghini:
Yup even I noticed this....I thought it was some safety measure to stop overcharging..... can anyone confirm pls?
[ZenFone 2 Android Development] Luq4dmin:
Yes.,i've explained it a bit in a post back. :)
[ZenFone 2 Android Development] krasCGQ:
I even go with 1333MHz... :rolleyes:
[ZenFone 2 Android Development] saggiboy231:
Goin with 1333, doesnt that effect performance.

In every profile ive tried, I keep getting a slight scrolling lag in every app.

Ive kept cpu from 1833 to 1500 and the lag is persistant.
[ZenFone 2 Android Development] persieghini:
When I try to switch off 4th or 3rd core

...2nd ,3rd and 4th cores all switch off together... getting them back on is a major hassle.... if I try to switch an individual core back on it switches off instantly...anyone else facing this problem?
[ZenFone 2 Android Development] _WiNNa_:
One says, lowering max CPU frequency will not have the effect of using less battery. Because the CPU will stay much longer on this low frequency to handle a task. So it will use more battery than being short time on max frequency...
[ZenFone 2 Android Development] krakou69:
Hello,

thx for your kernel

Can you add Interactive pro governor ?
[ZenFone 2 Android Development] krasCGQ:
Go and stress Blu_Plug min cores online settings. From 4 to 1 then from 1 to 4.
[ZenFone 2 Android Development] saggiboy231:
Should nova launcher be removed? Going by the stats, it consumes the most.
[ZenFone 2 Android Development] luiz__jr:
I can not find the partition / date / date /, at least the one I found does not have the kernel installation, can anyone help me?
[ZenFone 2 Android Development] krasCGQ:
Even other launcher will use nearly the same.
[ZenFone 2 Android Development] saggiboy231:
Is your device rooted?

The whole path is /data/data/com.kerneladiutor.mod
[ZenFone 2 Android Development] nutcasev1.5:
Update is coming in the next days. I screwed physics exam so Idk on the Lineage OS builds but Hololite & update is happening.

Expect some interesting surprises that I will throw in for v4k3.
[ZenFone 2 Android Development] Igorhcc:
Great Nutcase! I wish you luck with physics, it's difficult, I've been through it. Waiting for the next version of the Holo kernel, if possible, add more battery savings and performance governors. In the 4k2 version I noticed a small improvement in battery life, but my maximun SoT is about 3 hours, with all the changes possible to save battery.
[ZenFone 2 Android Development] aryan531:
gud luck nutcase....and i k eagerly waiting for new version from you... thanks for the kernel
[ZenFone 2 Android Development] nutcasev1.5:
You can't ask for both better battery & performance govs. What are your settings & ROM? Some Roms handle the battery more gently than others.

Everyone here who has got 4.5hrs+ sot has got it on minimal Roms like CM. So that needs to be considered.
[ZenFone 2 Android Development] Siebenheaven:
2 questions:

1.What should I back up through twrp (say I want to go back to old kernel) before installing this kernel

2. Since there are no installation instructions , flashing the zip through twrp should work. Is that the right way to install?
[ZenFone 2 Android Development] Nightwish1976:
1. If you wana go back to the old kernel, just flash the ROM, it will overwrite the custom kernel.

2. Yes, just flash it through recovery and wipe delvik and cache after. When flashing the kernel you will receive 2 errors, just ignore those, it's normal.
[ZenFone 2 Android Development] saggiboy231:
What would you say about RR? Does it consume more than CM.
[ZenFone 2 Android Development] ee99161:
Yes, it does.
[ZenFone 2 Android Development] Luq4dmin:
But i got this on RR.,,with normal daily use
[ZenFone 2 Android Development] foober:
[MENTION=7368349]Luq4dmin[/MENTION] , your settings kernel, apps like greenify. Use you?

Wysłane z mojego ASUS_Z00A przy użyciu Tapatalka
[ZenFone 2 Android Development] Luq4dmin:
Im only use the battery profile provided with the profiles.json in the google drive with some help of greenify., but with Aggresive Doze turned off. :)
[ZenFone 2 Android Development] saggiboy231:
I too used the battery profile, and barely touched 4. ?

Even lowered cpu freq, what is this aggresive doze, how is it turned off.
[ZenFone 2 Android Development] Luq4dmin:
The aggresive doze is an option in greenify. Its already been turned off by default. Might be your signal is frequently in low state that affects the battery usage.,or some apps is consuming it.
[ZenFone 2 Android Development] saggiboy231:
I will try greenify. Signal is quite good. I use dual sim. One for 4g data and the other for Cellular calls. Mobile data or wifi is constantly on.

Most battery drain is when screen is off. wonder why.

View attachment 3994093
[ZenFone 2 Android Development] foober:
[MENTION=7368349]Luq4dmin[/MENTION] i send you priv message about battery problem on RR.

Wysłane z mojego ASUS_Z00A przy użyciu Tapatalka
[ZenFone 2 Android Development] Luq4dmin:
Im using the same thing as u, except wifi. Im fully rely on mobile data for internet. That might be some apps still running in background while the screen is being turned off.,or caused by some wakelocks.
[ZenFone 2 Android Development] saggiboy231:
That might be the issue. Installed greenify and it showed the same.

Lets see if that works. ☺️
[ZenFone 2 Android Development] luiz__jr:
I'm using with the lineageOs, it works beauty but if I leave the cell phone stopped a lot of time it heats up
[ZenFone 2 Android Development] Igorhcc:
I'm using AICP nougat, in the latest build, with all applications denied to use data or run in background, except whatsapp . Using the battery profile of your 4k2 kernel I'm getting on average 2:30 hours of SoT... I'm using greenify too, for improve hibernation of the apps but looks like theres something that I can't notice, but it's not logical...
[ZenFone 2 Android Development] aryan531:
While installing magistk this happen ?? Any suggestions
[ZenFone 2 Android Development] Raiden01:
I recently installed los14.1 and I flashed the latest Holo kernal.

Also I downloaded and tried to apply the profile, but it doesn't get applied. I am using KAM v15. Also my phone is Z008.

Whatever profiles apply it stays at the default setting

SSJactive governor, max fq 1500MHz, min fq 250MHz.

While looking at the profile details I think that this was created for Z00A and not for the Z008 models. Is that why the profiles cannot be applied?

It would be really helpful if someone could port the same profiles to Z008.

---------- Post added at 03:25 PM ---------- Previous post was at 03:15 PM ----------

Guys another question. Why is this kernal in permissive mode? I am guessing something won't work as it is if I shift it to enforcing.

As stated above I'm on LOS14.1.
[ZenFone 2 Android Development] Raiden01:
Edit: I solved the profile not applying issue after clearing the app data, and again downloaded and copied the profiles in the required folder and restarted the phone.
[ZenFone 2 Android Development] krasCGQ:
It means that you won't be able to use SafetyNet powered apps.
[ZenFone 2 Android Development] nutcasev1.5:
Broken SafetyNet in next build. Release Tomorrow.

PoGo & all other SafetyNet requiring apps will work fine. Including Android pay.
[ZenFone 2 Android Development] krasCGQ:
Okay...

I see your GitHub repo's commits and you've merged sultan's commit. This will probably some good news for Pokemon Go users xD

EDIT: Stargazed too, lol
[ZenFone 2 Android Development] aryan531:
ty bro...

---------- Post added at 06:11 PM ---------- Previous post was at 05:43 PM ----------

ohhh.... note it
[ZenFone 2 Android Development] luiz__jr:
Someone with overheating problem in lineageOS
[ZenFone 2 Android Development] Matadorss:
how do i go back to the stock kernel?
[ZenFone 2 Android Development] ninhvuhungkhang:
You can dirty flash the ROM you're using. Remember to clean Dalvik and caches
[ZenFone 2 Android Development] Raiden01:
I had that when i flashed LOS 14.1 and was with the stock kernal. Flashing Holo N v4k2 has brought it mostly under control. I gets a bit warm when multitasking with data connection but nothing out of the ordinary. I'm using the battery profile from gdrive continuosly. I barely notice some hiccups here and there. Other than that it's all good.

---------- Post added at 02:38 AM ---------- Previous post was at 02:27 AM ----------

I've got thus consistent issues where in if I leave the phone untouched after rebooting (ie., without waking the screen) the phone falls into some kind of deep sleep in which I couldn't wake up the phone on double tapping the screen or by pressing the power button. The only thing I can do is hard rebooting the phone.

I coould reproduce this issue everytime.

Happens even when phone is put to charge, restarted and left untouched.

Logs can't be produced because I have to hard reboot the phone to get it working.

Phone : Z008

OS : LOS 14.1(2016/12/30)

Kernal : Holo N v4k2
[ZenFone 2 Android Development] Matadorss:
yes but, i want the file of the stock kernel.
[ZenFone 2 Android Development] Nightwish1976:
I'm pretty sure that's not the place to ask for the file of a different kernel.
[ZenFone 2 Android Development] Raiden01:
I don't think you can directly get the stock kernal file as it is. If you need to go back to stock kernal, just dirty flash the current rom, wipe cache and dalvik cache like he had said before.
[ZenFone 2 Android Development] ninhvuhungkhang:
You can't get stock kernel files. Just simply flash your current ROM just fine!
[ZenFone 2 Android Development] saggiboy231:
Installed greenify and it works, getting almost 5 hr SOT. and a just 3% drop in battery during night.

Thanks ?
[ZenFone 2 Android Development] Igorhcc:
Are you using the battery profile on the Holo 4k2, or a different profile? Which ROM are u using?
[ZenFone 2 Android Development] saggiboy231:
I am on RR 7.1. I am using the Mlk Tea v2 profile by [MENTION=6589753]krasCGQ[/MENTION]
[ZenFone 2 Android Development] Igorhcc:
You just replace the profiles.json in the destination folder? Because I did this, and stop the app, clean data, then reboot, but when I go to profiles in the KAM I got the message: "No definitions found!". Wht can I solve this?
[ZenFone 2 Android Development] SleepingAran:
I'm using CM14.1 and the latest TWRP Recovery.

When I tried to install the ZIP file from recovery, it says "Installation Failed: ROM Nuked"

running on ZE551ML

What might be causing this?
[ZenFone 2 Android Development] saggiboy231:
I just replaced the files. Didnt do anything else.
[ZenFone 2 Android Development] Igorhcc:
I replace the profiles, but when I replace the profile that I created before there, in the KAM app doesn't appear any profiles. Anyone can help?
[ZenFone 2 Android Development] Nightwish1976:
Sorry for offtopic, but what battery monitoring app do you use in the screenshot?
[ZenFone 2 Android Development] saggiboy231:
Accubattery
[ZenFone 2 Android Development] Raiden01:
Edit: It happens everytime I put the phone to charge and I do not disturb it. Phone falls into a deep sleep and I need to force reboot it every single time.

Anyone else having this issue. If yes, how did you guys solve it?
[ZenFone 2 Android Development] Nightwish1976:
In my case it happens when I restart the phone plugged in and I leave it without touching it for 1-2 minutes.

You are not alone :D
[ZenFone 2 Android Development] Raiden01:
Same thing bro. I had this when I was using Holo M on CM13.1 too. Don't remember which version was it. That's why I had to shift to FlareM another great kernal. Drain was a bit more in it but never consistently faced this issue.

I hope that Nutcase looks into it as it is a bit annoying and I have to turn off the phone or use it continuously while charging.

I didn't mean to be rude or anything and know that the dev owes nothing to us. Just wanted to report a consistent issue and was only trying to help. :angel:
[ZenFone 2 Android Development] ga_santos:
Wheres this version?
[ZenFone 2 Android Development] ryankabir:
Are these all with CYNGN/Lineage 14.1 (2017) nightlies?
[ZenFone 2 Android Development] Raiden01:
Yeah, but I don't know about the older CM14.1 versions because I've upgraded from CM13.1 to LOS 14.1 only two days ago, and I flashed HoloN v4k2 right after the first boot.
[ZenFone 2 Android Development] nutcasev1.5:
Yes its an issue since forever. But since it can easily be averted its up to you guys to actually search the thread for the issue to find a fix. In this case it's simple. Unlock the phone as soon as you boot. Then leave it alone. It will be fine.

This thing has a name "Chargeboot SOD". Seems like there is no fix for it AFAIK. Since problem is not that big & I can't get logs. You can't really expect me to fix it.
[ZenFone 2 Android Development] Igorhcc:
This version is new for me too. I'm not in the telegram group, but nutcase might release a new version here soon.

Bro how long time of SoT are you doing?
[ZenFone 2 Android Development] Raiden01:
Actually it happened once or twice even after I rebooted while charging the phone and unlocked it to so that it doesn't do the same.

I've also been following the thread from day one. I seached the thread but oversaw the chargeboot sod part. I'm really sorry. It was my mistake and ignorance.

---------- Post added at 05:06 PM ---------- Previous post was at 05:02 PM ----------

Sorry for the noob question but can I, in anyway, get the logs for the last boot session?
[ZenFone 2 Android Development] nutcasev1.5:
Oh don't worry. No logs are dumped with that Sod.

Nothing to be done there.
[ZenFone 2 Android Development] nutcasev1.5:
UPDATE

v4k3:

+ GPU Minfreq Lock (266)

+ SafetyNet Workaround

+ Hotplug Gov Optimizations

+ FlipFlap Support

- Blu_plug Hotplug

—---------- —--------- —— —------— —------ —---------- —---------------- —---

New Profiles with Perf Optimizations & Working Hotplug Profile.

Wipe Cache with This Build.

Users can switch Manually to SELinux Enforcing From KAM If their ROM Supports

Default Enforcing Only Comes Back when all ROMs go Enforcing

Emergency Builds Will Continue to be Done
[ZenFone 2 Android Development] Raiden01:
Had this huge battery drain overnight. Nearly a 50% drop.

Screenshots attached below. As you guys can see phone didn't fall into deep sleep. Using holoN v4k3.
[ZenFone 2 Android Development] persieghini:
same here....I've gone back to previous version
[ZenFone 2 Android Development] Luq4dmin:
Everything works normally on mine. Also got a nice battery backup here..
[ZenFone 2 Android Development] Raiden01:
I never said the onscreen time was bad. I've also got a decent SoT. But the issue was the wakelock which kept my phone awake, which inturn drained 50% of the battery overnight. I came to know that the wakelock issue was of that of the rom and not of the kernal. So i installed LOS14.1 2017/01/09 from infinitus server and I'm going to flash the v2k3 version again to see if it improves off screen time.

PS. Try the new profiles uploaded. I think hotplug profiles has some issues with it. I've never been a fan of hotplugging and maybe I am a bit lazy to do it :p. Also having exams in two days so can't spent messing around much with the kernal profiles.
[ZenFone 2 Android Development] Luq4dmin:
Im not only said about the SoT. Im also show the standby time, which is 18hrs in a single charge. I would recomend u to use the new profile with battery + hotplug.,,got a really nice battery with it.
[ZenFone 2 Android Development] Nightwish1976:
Unfortunately, after a long deep sleep the phone is stuck on 2 cores, it seems not able to start the 3rd or 4th no mattter what the cpu load is. Using hotplug profile.
[ZenFone 2 Android Development] nutcasev1.5:
Change to another profile. Then come back to hotplug. Or else reboot & see.
[ZenFone 2 Android Development] Nightwish1976:
Changed to another governor and back, it's OK now. Thanks

LE: actually, even after restart it stays on 2 cores, last two cores are switched off, even at 100% load. Obviously, it's a bit laggy. Is this normal?
[ZenFone 2 Android Development] Raiden01:
Any ideas how to make the phone deep sleep ? Mine doesn't fall into one what so ever I do.

Also hotplugging profile has issues on mine. Phone freezes after a few a minutes after i activate the hotplug profile. Tried it two times but the same result.

Which logs should I provide?

Phone is Z008

---------- Post added at 02:04 PM ---------- Previous post was at 01:49 PM ----------

[MENTION=7074010]nutcasev1.5[/MENTION]

Bit off topic but what prerequisites should I have for compiling my own kernal?

If I could try to compile my own kernal I could be more productive to this group rather than suggesting this or that is giving me issues. Also would've more in depth knowledge on how stuff like these work. I'm really considering doing so just as my exams get over.
[ZenFone 2 Android Development] aryan531:
how to use combined battery + hotplug

and one more problem is that whenever i selevt any profile on KAM its applied but after that all profiles gone soo i have to replace profile file and reboot then it shows but again selecting any profile all the profile gone..... :confused:
[ZenFone 2 Android Development] SleepingAran:
Using v4k2 kernel running on jrior's CM14.1

The CPU load keeps on at 100% for no reason.

Tried turn it off and on again, doesn't work.

Any idea? What caused it?
[ZenFone 2 Android Development] Luq4dmin:
I dunno. I have this bug too with the latest profiles.json. To apply the battery + hotplug profile, apply the battery profile first, then just apply the hotplug profile.
[ZenFone 2 Android Development] aryan531:
k thanks buddy for info :good:

and i m gonna reflashig kernel may be it sort out that....

and if not then i have to switch back to 4k2... :rolleyes:
[ZenFone 2 Android Development] nutcasev1.5:
Ka bug. Use KAM please if you want me to fix your problems
[ZenFone 2 Android Development] nutcasev1.5:
I will look into it. Even I'm learning how gov hotplugging works.

Kmesg.

& as for learning how to compile you should create a Telegram account. It's not that simple & you need a lot of instruction from the scratch. Contact me in Telegram.
[ZenFone 2 Android Development] SleepingAran:
thanks, it worked
[ZenFone 2 Android Development] Raiden01:
Just wondering /proc/kmsg is supposed to store logs till last shutdown...right? But whenever I try to take it, it's empty. Also I'm using Syslog for taking logs, in that also the last kernal log option is unavailable. Doesn't our device support taking last kernal logs(last_kmsg).