yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Android Development] zurik:
EXKM+Naptime (for aggressive doze, disabling motion sensors) + Greenify (to terminate apps running in background)(disabled aggressive doze) =Nice battery life!!!!!

---------- Post added at 09:41 PM ---------- Previous post was at 09:37 PM ----------

I think that ambient light eats a lot of battery... I had also 2 wp devices (sometime I had enabled ambient light and the drainage of these was high and I disabled because of drainage).

---------- Post added at 09:42 PM ---------- Previous post was at 09:41 PM ----------

@theflash , which governor you will suggest for little cluster and big cluster?
[Nexus 5X Android Development] Batticus:
Still seeing 2% drain. Never really bothered me but definitely not fixed for me :D
[Nexus 5X Android Development] Midomad:
Since Greenify already has aggressive doze option why use Naptime?
[Nexus 5X Android Development] Benik3:
I have it enabled and still I'm able to get around 1%/hr. That's not bad :)

About governors, I like DrankSauce, impulse on little, Interactive (it used to be Ironactive) on Big :)

BTW I saw that it use min frequency of Big core to 633MHz. It's because there is no big impact on power consumption compared to 384MHz?
[Nexus 5X Android Development] kevtrysmoddin:
Ambiturner helps with make ambient display more responsive and I use naptime and serviclely and ambiturner still works as it should
[Nexus 5X Android Development] oliver7:
Battery is bad with Flash-kernel, almost 1h less sot than pixelrom/google kernel.
[Nexus 5X Android Development] nathanchance:
Highly unfortunate to be honest
[Nexus 5X Android Development] oliver7:
i got 2:45h sot on flash, at least 3:30h on google/pixelrom (at 20% left)..
[Nexus 5X Android Development] Droidtimex:
You have to give some time when flash new kernel!

Flash kernel is one of the best around here...
[Nexus 5X Android Development] valeron94:
Yes, exactly for that
[Nexus 5X Android Development] titodadro:
My expirience with pixel rom and flash kernel 4,5 SOT , with stock rom and flash kernel 6 hours SOT

Then whats the problem ??? ...... :D:D:D
[Nexus 5X Android Development] oliver7:
Default settings or different governors, speed, rate etc.?
[Nexus 5X Android Development] Batticus:
Brightness setting?
[Nexus 5X Android Development] titodadro:
First of all , pixel rom an another roms had a lot of features, but that provides more bugs and wakeloks than stock one.

I´m using flash kernel with drunksaucelite profile from Alcolawl.

The first time i had flashed 2.0 version i had more battery drain , returned to stock kernel , the second time i tried everything was ok as always,

thats was my phone problem, not the kernel
[Nexus 5X Android Development] Midomad:
Not true about Pixel Rom

It's stock + pixel goodies.

No extra features!
[Nexus 5X Android Development] Benik3:
I'm very happy with ABCrom :)

Extra futures like notification light etc., but still light and stable and good battery life :)
[Nexus 5X Android Development] Mrcactuseater:
I would strongly suggest twisted-core, been using it since lollipop on different devices and has always provided the best features and battery longevity for me.
[Nexus 5X Android Development] leolawliet:
Just curious, what is this twisted-core you speak of?
[Nexus 5X Android Development] titodadro:
First post pixel rom .......
[Nexus 5X Android Development] Midomad:
As i said it's stock with pixel mod...

I think you're new to xda so before making a conclusion you need to try things first!
[Nexus 5X Android Development] kojak1989:
2tap to wake still not working properly and i don't have this half screen option in EXKM.And yes I make clean install with latest PN.
[Nexus 5X Android Development] joetheshmo:
Half screen option is for KA only..
[Nexus 5X Android Development] kojak1989:
Sorry for this,my fault.
[Nexus 5X Android Development] kojak1989:
2tap to sleep on home screen is battery drain feature?
[Nexus 5X Android Development] nathanchance:
No. Only when the screen is off.
[Nexus 5X Android Development] kojak1989:
Only when the screen is off? Sorry but I don't understand this ?
[Nexus 5X Android Development] nathanchance:
I'm not sure what you are talking about, what you described is a ROM feature.
[Nexus 5X Android Development] ulxerker:
He means the 2tap to wake feature which is draining battery when the screen is off and listening for input (double tap).
[Nexus 5X Android Development] nathanchance:
But he said on home screen, like Nova has.

[MENTION=5520227]kojak1989[/MENTION], if you mean double tap to wake the device, yes that drains battery on this device.
[Nexus 5X Android Development] kojak1989:
Because I have this in nova launcher and I don't know if can I use this without battery drain, I know it's not proper thread and sorry for that.
[Nexus 5X Android Development] nathanchance:
That feature in Nova doesn't drain any battery.
[Nexus 5X Android Development] kojak1989:
Thank you very much.
[Nexus 5X Android Development] kojak1989:
blu_active how it behaves on both clusters ? I mean its safe to use on little and the big one ?
[Nexus 5X Android Development] nathanchance:
Yeah it's been updated for big.LITTLE
[Nexus 5X Android Development] kojak1989:
Thanks again, you are awesome!
[Nexus 5X Android Development] imarcel99:
AndroidOS keep awake for 10h4min. Phone was off charger for 11 hours. And lost half of battery overnight...
[Nexus 5X Android Development] pitt93:
flash kernel

blu_active

stock pixel rom

F2FS

tweaked thermal engine

2.0ghz/1.66ghz (b/L)

3D marooned 12437
[Nexus 5X Android Development] leolawliet:
I'm very impressed with sot on this kernel.
[Nexus 5X Android Development] Smultie:
I'm actually very impressed with all aspects of this Kernel.

Blu_active is a really decent governor by the way. I'd say it's on the same level as DrunkSauce
[Nexus 5X Android Development] Lossyx:
Which profile have you applied to the ZZmoove governor?

I can't seem to find that tunable in EXKM to change profile.
[Nexus 5X Android Development] mr.ace:
[MENTION=6842057]The Flash[/MENTION] can you merge this patch in next version for save battery??

https://github.com/frap129/angler/commit/c52bd402b4c2a75a29d9fc16ea6cc6bcada9e861
[Nexus 5X Android Development] ndarkside93:
[MENTION=1751716]theflash[/MENTION] just want to report that I am having difficulty connecting to wpa2 secured wifi when I run your kernel. It's not a hardware issue or a room issue as it works fine with exkernel and Franco. If it helps I've only been able NB to test on the 5ghz band.
[Nexus 5X Android Development] nathanchance:
Yeah it's already in my personal branch for Angler.
[Nexus 5X Android Development] Benik3:
No problem here...

Did you updated radio to latest version included in 7.1.1?
[Nexus 5X Android Development] ndarkside93:
Would that be 2.6.36.2.20?
[Nexus 5X Android Development] Benik3:
Yes.

Did you test it on one wifi or it happen with more routers using WPA2?
[Nexus 5X Android Development] ndarkside93:
It's happened at a few places when I'm out. I have the passwords right for three hotspots. But it works when I'm at home on wpa2, on the 2.4ghz band. I think it may have to sure with the 5ghz band
[Nexus 5X Android Development] ndarkside93:
Someone that was having the issue with other kernels or ROMs suggested uninstalling Google connectivity services and reinstalling.
[Nexus 5X Android Development] nokiagye:
I have the same issue I change the wpa2 to WPA and 30 hours now I connected fine
[Nexus 5X Android Development] nders:
The 2.1 main link links to 2.0 rc1. May need to update it
[Nexus 5X Android Development] Batticus:
Any other settings that need to be applied for blu_active?
[Nexus 5X Android Development] Smultie:
Nice, how much power does it save?
[Nexus 5X Android Development] nathanchance:
I haven't really noticed a difference to be honest. It's not a patch that hurts though so I'll still add it.
[Nexus 5X Android Development] edoardotavecchio:
[MENTION=6842057]The Flash[/MENTION] are you going to compile Flash ROM for bullhead too?
[Nexus 5X Android Development] kojak1989:
I set the exkm profile DrunkSauce Lite only blu_active for large and small if so can it be?
[Nexus 5X Android Development] leolawliet:
[MENTION=6842057]The Flash[/MENTION] would you recommend blu_active for big or little cluster?
[Nexus 5X Android Development] ndarkside93:
No, you would have to use a text editor and modify the profile to replace all interactive references with Blu_Active However, it would be pointless, as blu_active is just a CAF optimized, and updated, interactive governor, Blu Sparks tunable settings. All and all, code wise it's very similar to interactive and IMO it would be a pointless change
[Nexus 5X Android Development] Benik3:
[MENTION=6842057]The Flash[/MENTION] I wish you Marry Christmas and lot of presents :)
[Nexus 5X Android Development] kojak1989:
If so ,so for what purpose whose it added to this kernel?
[Nexus 5X Android Development] ndarkside93:
You have to realize most of the governor's are based on interactive, on demand, or conservative and optimized by the different kernel developers. Examples. Intelliactive and bluactive are based on interactive, despair is based on conservative. They are there because it's easier for most users to just pick a governed than to tune interactive to their liking.

Another example example would be ironactive. Once flash merged all the CAF and Qualcomm patches to interactive they were identical and thus phased out.

So while bluactive had been modified and updated from what's included in the AOSP sources. It's quite similar to the interactive governor in this kernel, as flash has merged the patches and commits
[Nexus 5X Android Development] nathanchance:
I am not releasing my ROM to the public but it is buildable if you know how.

I would just leave it with interactive.

It's fine on both.

Merry Christmas to you and all of my other users!
[Nexus 5X Android Development] axiel7:
Where can I find the repository?
[Nexus 5X Android Development] nathanchance:
https://github.com/Flash-ROM

I don't assist with compilation, you're on your own.
[Nexus 5X Android Development] mr.ace:
[MENTION=6842057]The Flash[/MENTION] can you merge adaptive LMK from CAF?
[Nexus 5X Android Development] nathanchance:
Sure but I'll post the same thing I posted in my Angler thread:

I already have the commits merged in my personal Angler branch so it will be easy to merge but I just will not have the time for two weeks between work and family things.
[Nexus 5X Android Development] nathanchance:
Update!

Merry Christmas everyone :) As I posted earlier, I won't be as active in terms of development these next two weeks, I will update for the security update but other than that, I'll be on hiatus due to work. I'll still be in the threads most likely but if I don't respond quickly, you know why. Enjoy!

Download FLASH 2.2 for Nougat 7.1.1: Main | Mirror

Changelog: (also on Github)

Adaptive low memory killer (disabled by default)

Process reclaim

Other low memory killer improvements

Binder improvements

Improved Adreno Idler (thanks to [MENTION=5051294]frap129[/MENTION])

Improved Makefile flags (thanks to [MENTION=5284595]kwoktopus[/MENTION])

Lazytime for EXT4 and F2FS

Toolchain bumped to 6.3.1
[Nexus 5X Android Development] Smultie:
Wow, nice! Would you recommend using the adaptive memory killer?
[Nexus 5X Android Development] nathanchance:
I use it without issues.
[Nexus 5X Android Development] ndarkside93:
[MENTION=1751716]theflash[/MENTION] Would like to thank you for another amazing release as always. Hope things go well in your work. Also, happy holidays to you and your family.
[Nexus 5X Android Development] kevtrysmoddin:
Thanks for the hard work, happy Christmas/holidays
[Nexus 5X Android Development] ensboarder:
How?
[Nexus 5X Android Development] peltus:
Just enable in exkm.
[Nexus 5X Android Development] zurik:
How it works? (the adaptive low memory killer)
[Nexus 5X Android Development] nathanchance:
Uses something called vmpressure to dynamically scale low memory killer settings; so if there is a lot of memory activity, it will make it more aggressive and if there is low activity, it will scale it back.
[Nexus 5X Android Development] catharsis724:
Was ironactive governor taken out? The OP on front page still has it included. Hoping to retain this as Drunksauce has been working well for me.

EDIT: Nevermind. I just read up on interactive = ironactive. Apologies. Feel free to remove this post.
[Nexus 5X Android Development] ndarkside93:
If you want to use drunk sauce, you can always use a text editor and replace every ironactive mention with interactive and it will work perfectly. Just edit, save, and say permissions.
[Nexus 5X Android Development] Smultie:
Just to be sure: the low memory killer itself needs to be enabled too in EXKM?
[Nexus 5X Android Development] nathanchance:
Yes, the adaptive low memory killer option needs to be enabled in EXKM. Normal LMK is already enabled (in fact, I don't actually think it is disableable).
[Nexus 5X Android Development] Smultie:
So, the apply on boot is not needed in attached screenshot?
[Nexus 5X Android Development] nathanchance:
It is if you modified those values.
[Nexus 5X Android Development] Smultie:
Wouldn't the adaptive setting change these values anyway?
[Nexus 5X Android Development] nathanchance:
I don't think ALMK modifies these values directly (because they are in a sys path). Not entirely sure though, I didn't look too closely at the code.
[Nexus 5X Android Development] jerethi:
Are you using any CPU boost settings with blu_active?
[Nexus 5X Android Development] koax88:
Hi, on latest flash 2.2, is the default governor for big core is performance? or just happen to me?
[Nexus 5X Android Development] jugoslavpetrovic:
Should be Interactive on all I think.
[Nexus 5X Android Development] nathanchance:
Just you, it should be interactive.
[Nexus 5X Android Development] koax88:
Idk what happen,after 2nd flash its now back to interactive. Might be something in my init.d folder. Thanks for confirming.
[Nexus 5X Android Development] rmead01:
Do you recommend interactive over blu_active? I'm seeing what blu_active is like but no idea if it's supposed to be better on batt or better on performance.
[Nexus 5X Android Development] ndarkside93:
It's tuned more for performance than interactive.
[Nexus 5X Android Development] kojak1989:
I don't know why but today I had pop-up message with update to ElementalX kernel ?
[Nexus 5X Android Development] Midomad:
Because you are using EXKM.
[Nexus 5X Android Development] kojak1989:
Yes, but this is first time even if I check update in app he wants download it ?
[Nexus 5X Android Development] koax88:
found the culprit for the big core set to performance on boot, its boot animation from my layers theme, if use stock animation, all setting use the default interactive. its weird.
[Nexus 5X Android Development] crian:
Can confirm that changing bootanimantion with substratum sets performance gov on big cores after reboot.

And if I set big cores to interactive, the small ones running always on 1440 MHZ if screen is on.

With stock bootanimantion everything is running fine.

Don't know if this behavior is kernel, ROM or substratum related.

Really a strange issue.

BTW: I'm running DU with Flash.
[Nexus 5X Android Development] Benik3:
Simply disable check for updates in EXKM.

It doesn't test, it you have EXkernel or not. So it will give you option to "update" it even on Flash kernel etc...
[Nexus 5X Android Development] leolawliet:
Are you really sure that's the culprit? I couldn't reproduce the same results.

I'm using the same kernel and I've never had this issue guys. What specific boot animation are you guys using and if I may ask are you also using Allo?
[Nexus 5X Android Development] nathanchance:
For the people whose governor is switching to performance, what ROMs are you on? I know why this happens on DU and I suspect it will be true for other ROMs as well.

When your device first boots, the governor is set to performance (every Android device does per their defconfig) but while the device is booting, init scripts are run to switch the governor over to interactive and initialize their tunables. On DU, DrunkSauce is the default configuration. I removed ironactive two versions ago so when init.bullhead.power.sh is run, it echos ironactive to the path but it rejects it because it is not a valid governor and it defaults to performance. I will look into mitigating this in the source but for right now, that's the reason. Setting your governors to apply on boot should fix this for the time being.
[Nexus 5X Android Development] koax88:
Yep, on DU official. I use drunksause lite init.d which use interactive instead of ironactive and disable layer boot animation. All is good here,battery life and performance is decent. After reboot all tuneable value is set correctly. Thank you for this kernel. [emoji106]
[Nexus 5X Android Development] ndarkside93:
[MENTION=1751716]theflash[/MENTION] Is amazing how fast and fluid my phone is running after flashing your kernel. Probably a byproduct of running a kernel and ROM compiled and optimized by UberTC

However I am having a problem with setting a max frequency for. The. Big cores. They keep resetting to. 864mhz whatever I set them to.
[Nexus 5X Android Development] ulxerker:
do you use EXKM and enable apply on boot after setting the desired frequency?
[Nexus 5X Android Development] ndarkside93:
No. I prefer kernel adiutor. It. Franco kernel updater. But I set them at boot. But. It just eats. To 864
[Nexus 5X Android Development] joetheshmo:
Sounds. Like. Thermal. Throttling.
[Nexus 5X Android Development] ndarkside93:
Is still not staying on. 864. Thought I had fixed it but it just reset after boot
[Nexus 5X Android Development] zurik:
It's not problem. My device with this kernel, the big cluster when I set to max frequency, it reset to 864 MHz to save battery...
[Nexus 5X Android Development] ndarkside93:
I understand that, but does it work otherwise. I mean ramp up. Above 864 when needed?
[Nexus 5X Android Development] joetheshmo:
Have you tried setting your phone down to cool off?
[Nexus 5X Android Development] ndarkside93:
Yes, currently the cpu is running at 37°
[Nexus 5X Android Development] joetheshmo:
What settings do you have set under thermal? Do you have msm_thermal enabled or core_control?
[Nexus 5X Android Development] ndarkside93:
I had core control initially and when. I started having the issue I changed to soc thermal at 60° to see if it would help. It had no effect either way
[Nexus 5X Android Development] leolawliet:
This is my new favorite kernel. It's flawless!! Thanks The Flash :svetius:
[Nexus 5X Android Development] TheBurgh:
Any suggestions on battery saving governors?
[Nexus 5X Android Development] TW1ST3D1NS4N3:
Use chill governor and Maple scheduler combined
[Nexus 5X Android Development] :
I just switched to Maple from Zen. Chill is great! Made me laugh when I first saw it. I have Chill on little cluster and Interactive on Big. Been pretty darn good on battery. I set them all max 1632. Time to see what's going on with grandmas ole Maple syrup... With this kernel it reminded me of my wife. Love at 1st site. :cowboy: Hope everyone had a good night. Hitting the hay. Tomorrow starts the new jobby for the next 3-4 mo, 7-10s with every 14th day off. Gotta love the plant life. Not. :rolleyes: haha
[Nexus 5X Android Development] Giorgos Chatziioannou:
Noob question.. is there a difference between this and elementalx kernel? As far as i understand, what matters most are the settings you choose and both kernel support the same stuff

I am using EX with hawktail, is there any reason i should switch to this one?
[Nexus 5X Android Development] nathanchance:
I mean from a coding standpoint, I have at the least 1500 more patches that he does. From a real world standpoint, read the thread. Many people state it feels smoother and performs better. These questions are loaded and I cannot answer it well. Give it a try if you want, I have all the info in the OP.
[Nexus 5X Android Development] parthabhatta:
This kernel is very fluid, runs flawless and seems to be less heating for the device also. Enjoying this. Thanks to dev.
[Nexus 5X Android Development] ninjablackwing:
Is touchboost enabled in this kernel? Or is it disabled already? I can't seem to find the option to disable it in ex kernel manager and disabling touchboost is recommended when using governor profiles. Also, are governor profiles such as hawktail usable with chill governor?
[Nexus 5X Android Development] :
will just give feedback, i cannot set my zram memory to 768 via EXKM hehe not really a big bug! :)
[Nexus 5X Android Development] nathanchance:
Disabled entirely.

A profile would need to be made specifically for chill, profiles are designed for specific governors (mostly interactive)

That's not really a bug lol, the swap partition on this device is only 533 MB: https://android.googlesource.com/device/lge/bullhead/+/nougat-mr0.5-release/fstab.bullhead#29
[Nexus 5X Android Development] :
oh, sorry hehe did not know because I can do that with EX kernel and Franco. Anyways, thank you :)
[Nexus 5X Android Development] pratamaaudi:
i can't event turn it on with exkm

i'm using nitrogen OS

any fix for that or workaround ?
[Nexus 5X Android Development] ulxerker:
install busybox and try again. some time ago flar2 stated that enabling zram needs busybox installed under certain circumstances.
[Nexus 5X Android Development] pratamaaudi:
I think busybox is installed

No problem setting zram using jolla and ex kernel before with same rom of course
[Nexus 5X Android Development] nathanchance:
ZRAM is on default, I haven't touched it other than adding upstream commits.
[Nexus 5X Android Development] pratamaaudi:
Is there a method to check if zram is running ?

Other than exkm

Because zram status is disable in there
[Nexus 5X Android Development] Keasby:
zRAM works here, turned on by default.

Thanks for the great kernel!

or use DevCheck:
[Nexus 5X Android Development] nathanchance:
It looks like Nitrogen is disabling ZRAM in their ramdisk if I had to guess (I can't check as they don't have their device tree posted). My swappiness value is 15.
[Nexus 5X Android Development] ulxerker:
according to EXKM there is 0% deep sleep at all cores after the phone was on standby for a while. there's nothing that keeps the phone busy in the background and I'm using Naptime, too.

anyone seeing this, too?
[Nexus 5X Android Development] ulxerker:
very good, give it a shot.
[Nexus 5X Android Development] mr.ace:
[MENTION=6842057]The Flash[/MENTION] can you take a look at this commits?

https://github.com/B14CKB1RD-Kernel...mmit/0049be6d8886db2f0489332e7f9840582e37d69f

https://github.com/B14CKB1RD-Kernel...mmit/7c85dbc45a512d4e5ae7964fca5c99a13c02702b

https://github.com/B14CKB1RD-Kernel...mmit/d882f9709d4d1214758609979840ec5325650d2b
[Nexus 5X Android Development] luckana:
I just wanted to ask if this is normal, i use drunksauce lite and i see that the 460mhz frequence is never used and the usage is pretty evenly distributed across the entire frequency table so, is that how its supposed to be
[Nexus 5X Android Development] ndarkside93:
Yes that's pretty normal. It's a byproduct of the way target loads are assigned by the script
[Nexus 5X Android Development] Benik3:
It's probably because of input boost (first frequency is 600MHz), so when you are working on the phone it always jump directly to 600MHz and above...
[Nexus 5X Android Development] jugoslavpetrovic:
Does zzmove has its own hotpluging?
[Nexus 5X Android Development] leolawliet:
It's pretty normal, but usually for me Drunksauce tends to stick with the lower frequencies.
[Nexus 5X Android Development] nathanchance:
Not much point to those, I've already tried adding them to Angler and they don't go in clean at all.
[Nexus 5X Android Development] jugoslavpetrovic:
Safe to have both msm_thermal and core control ON? Also hotpluging with zzmove on both? And what can I expect from both thermals together on?
[Nexus 5X Android Development] joetheshmo:
Use only one thermal at a time, not sure about the hotplugging