yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] JaylanPHNX:
I hate to be that guy, but it would be a very good idea to read the last few pages of any thread before posting a question. It'll save you the embarrassment of repeating what's been asked and answered four times in three pages.

From my Tab Pro 8.4
[Nexus 6P Android Development] greyhd:
Unfortunately the majority will not read your post and keep asking questions that were answered one post above theirs, lol
[Nexus 6P Android Development] dhalham:
Thanks, how do I turn of battery optimization for WhatsApp specifically?
[Nexus 6P Android Development] Ericarthurc:
Hey Flash, love the kernel! I need some help though! This kernel forces enforced selinux on the system. On the stock rom and on purenexus 7 rom I could run "su setenforce 0" in terminal to set my selinux to permissive and then install all the root stuff I want without problem. Well I wanted to try the Nitrogen Rom and when I flashed your kernel it was enforcing selinux again (which is normal) I went to terminal to change it to permissive and I was getting a "permissions denied" error in terminal and I couldn't change the Selinux to permissive. Now I know this is probably a rom issue but no one over there has answered me haha. Was wondering if maybe there was even a way to install your kernel so that it's always permissive? Thanks for your hard work
[Nexus 6P Android Development] Dbj.Dhaval:
I am using it with nitrogen OS 7.1. No problem
[Nexus 6P Android Development] king_david43:
It works on the custom 7.1 Roms but you will have problems on the 7.1.1 Dev preview
[Nexus 6P Android Development] drothenberger:
[MENTION=6842057]The Flash[/MENTION]: Could you please include the following commit to patch the Dirty COWs vulnerability:

https://github.com/flar2/angler/commit/0e86266e3ff77d8cfb3fae95e661f2950d838418
[Nexus 6P Android Development] Prattham:
You can go into battery then battery optimization and click on all apps by default it will show not optimized

Then select whatsapp and select don't optimize

It may effect battery life or not

Cheers:)
[Nexus 6P Android Development] nathanchance:
Appreciate the heads up but it's already been patched here since 3.13 since I stay up to date with upstream Linux. That fix was a part of 3.10.104, I just didn't make an announcement about it because I didn't think it was going to blow up this much.
[Nexus 6P Android Development] drothenberger:
Good to know. Sorry for the noise. I looked briefly at the changelog for 3.14 but I was browsing it on my phone and got tired before I got to 3.13. Thanks for your hard work on keeping us all safe!
[Nexus 6P Android Development] flunk03:
Haha good to see you in the nexus 6p forum's;)
[Nexus 6P Android Development] arcticnights:
Hey guys! If you don't mind me asking, what 7.0/7.1 roms are you using or would recommend? I'm switching over from MM and I'm not too sure which 7.0 roms are stable or available. [MENTION=6842057]The Flash[/MENTION], you're still using Pure right? :)
[Nexus 6P Android Development] joeyfong:
pn
[Nexus 6P Android Development] banccalif:
I'm on nitrogen 7.1 with flash kernel and pulled 6hrs SOT. I'm using the governor profile posted on pg 205 also. Bad ass combo if you ask me ????
[Nexus 6P Android Development] ViperXvenom8888:
Flash kernel supports Nitrogen OS 7.1? Does it support 7.1.1 DP?
[Nexus 6P Android Development] Pollie81:
Maybe you should read some posts above yours..

Verstuurd vanaf mijn Nexus 6P met Tapatalk
[Nexus 6P Android Development] Dbj.Dhaval:
Did you found the solution to this problem. I am also facing this problem
[Nexus 6P Android Development] xperator:
No. I'm still seeing random wifi toggles
[Nexus 6P Android Development] banccalif:
Not sure, I was running dp purely stock
[Nexus 6P Android Development] mrjake1970:
also been using flash 1.0 profile since you released it and it's made a noticeable difference in both battery and smooth scrolling..

It has flatlined my idle drain, and have been very impressed with fast performance..the only hiccup I've noticed is after a long screen off/standby it will sometimes take 2-3 seconds from fingerprint vibration to screen comes on..I'm assuming from it sleeping so deeply.. not a complaint mind you.. because a small delay occasionally vs all the benefits is well worth it

love it, thank you and keep up the awesome development..
[Nexus 6P Android Development] RASanchez007:
I couldn't download flash 1.0 from the XDA app or chrome app so I downloaded flash1.0.sh.

Are these errors okay?
[Nexus 6P Android Development] hh11bbaacchh11:
So, is there any tutorials on how to run script on terminal emulator? I want to run Flash's new profile.
[Nexus 6P Android Development] tcat007:
Is the Flash profile default on boot, or is there a profile that can be imported to EX somewhere?
[Nexus 6P Android Development] bobbarker2:
Thanks for the informative post. When I saw the multiple different frequencies at the same percentage that kind of made me scratch my head as well.

What are the other things to mention out of curiosity? Not trying to criticize The Flash or anything like that, just want to learn from my own sake when I tweak other people's profiles. And of course I like learning :)
[Nexus 6P Android Development] nathanchance:
No worries lol. Funny enough, I'm not actually sure that statement is correct. Reading the documentation, all frequencies have a target load of 90 percent, which would be the same as saying 90 384000:90 460800:90 etc. So if they are all 90, why do frequencies jump around? It's because loads are constantly being evaluated by the governor. So as a result, having two values at the same load is not detrimental. What it ultimately means is that the governor scales up to a value that makes the load start to drop; once it has reached that load value, it will start ramping down. Once it drops, it re-evaluates the load and the target load and drops again.
[Nexus 6P Android Development] bobbarker2:
The documentation seems a little out of date or incomplete as there's tuneable s in the current Interactive Governor which are not documented. And also this line drew my attention:

"If speeds are specified these must appear in ascending order."

Which doesn't seem to be the case with your settings. But I couldn't find a more up-to-date definition of the interactive tunables so my first statement of the documentation you referring to could be wrong... and probably is. Only did a cursory Google search.

In any case I didn't see any evidence for or against multiple frequencies at the same load in the documentation you reference.
[Nexus 6P Android Development] Sheetzie03:
Thanks [MENTION=6842057]The Flash[/MENTION] for the great kernel and new profile!
[Nexus 6P Android Development] nathanchance:
Yeah, that info is from 2010 haha. CAF hasn't updated the list (that or I haven't picked the commits that have updated that documentation fully). The speeds are specified in ascending order (384 to 480, 480 to 600, etc). The evidence for multiple frequencies at the same load is this line "The default is target load 90% for all speeds". I haven't really messed around with it too much lately, been working on some personal ROM stuff.
[Nexus 6P Android Development] xperator:
Actually I want to be proven wrong so that's why I don't point fingers at others work. I might be the one who's completely wrong after all. I want to see where people go with their profiles. Interactive governor is still a mystery to me.

The documentation on interactive is off if you ask me, and is different from how we have been designing governor profiles. We have been told by SoniCron to use the number as a delay to stay at the specified clock before making the jumping to the next clock. And it is kinda true, the higher the number is, the more time it will spend at that clock.

But I believe there are also other unclear variables taken into account behind this governor's logic. The target load is not just a delay, or the load as intended. I don't know about the documentation or how we think is the right way to use the target loads, but I can tell after all observations I had that the governor behaves differently for each different set of values. Sometimes the target load specified for a clock also defines it's priority over other clocks. And also other things Its really hard to explain lol my English is at its limits. Not to mention this was only the target loads we talked about, high speed freq, input boost and other variables also affects how target loads behave.

I wish I could take a look at interactive's code and understand it's logic but that's out of my league.

Its funny I was making ReZero V2 few weeks ago and after all these experiences with profiles I couldn't get it working as I wished it to work. I was like "oh gosh... I still can't figure out how interactive works..." So I put it aside and took a break.
[Nexus 6P Android Development] nathanchance:
It's very possible you are right about the documentation. I just checked CAF's website (https://source.codeaurora.org/quic/.../Documentation/cpu-freq?h=LA.BF64.1.2.3_rb1.5) and that has not been updated either. I suspect they got lazy ;) I've been trying to read the code as well and even though I am a computer science student, this is a HUGE C file and it hurts my head to read hahaha. I am not going to worry too much about the technical details of it since a profile is a lot of feel and trial/error.
[Nexus 6P Android Development] dhalham:
Best settings for performance without compromising battery too much ?
[Nexus 6P Android Development] kantjer:
There is no such thing as a free lunch.

Performance will always be at the expense off battery power. Try a few profiles and find your optimal settings. There is written more than enough about the subject to get you started.
[Nexus 6P Android Development] dhalham:
Where can I get the flash profile?
[Nexus 6P Android Development] Dbj.Dhaval:
Using search button
[Nexus 6P Android Development] TRgamer:
Page 205
[Nexus 6P Android Development] MarcoG::
[MENTION=6842057]The Flash[/MENTION] are you using your Flash Profile with the Settings from the Op

Gesendet von meinem Pixel XL mit Tapatalk
[Nexus 6P Android Development] nathanchance:
Yes, I'll update the OP either next update or when I feel the profile is more refined.
[Nexus 6P Android Development] SlyUK:
Looking forward to that then :)
[Nexus 6P Android Development] bobbarker2:
Yea sure looks that way. Or perhaps the governor you merged is newer than 3.10?

Is there newer documentation available for newer kernel versions?

I'll do some snooping when I'm bored at work or on a break, could you point me to the specific code for the governor? It will save me a few minutes of searching :laugh: I assume it's the interactive.c in the drivers folder of your repo but just want to double-check before I go scraping around.

Side note does anyone else think Google's text-to-speech has gone hill majorly? Have to edit just about everything I dictate to it like the comma always comes out as karma and but always comes out as butt. WTF Google

Edit: Scratch that I went Upstream as far as I could go and there was no more documentation on the tunables missing documentation in the interactive governor. So I think people at Google or CAF just got lazy. Let's just email Mike@android.com and ask him for all the info. 1800 lines of C isn't much fun to go thru.

https://patchwork.kernel.org/patch/9128637/

This link seems to have some more tuneables documented.
[Nexus 6P Android Development] th3discodancer:
Had a 0% night drain last night after ages. :)

I've been tweaking the governors for a little bit more performance and i think this kernel might just be my daily driver from now on.

Except when I am on a flash spree :P
[Nexus 6P Android Development] senthilrameshjv:
Anything not working? As the kernel is intended to be used only for 7.0?
[Nexus 6P Android Development] shadowstep:
[MENTION=6842057]The Flash[/MENTION] Thanks for the interactive governor profile! I noticed a few typos (one that [MENTION=4151089]xperator[/MENTION] pointed out, and a few with the frequencies mentioned in the target load tunable for both the little and big cluster [which are mostly irrelevant anyway because as per my understanding, if an invalid frequency is mentioned in the target load tunable, then the governor will automatically choose the closest frequency to the invalid frequency mentioned and use that]).

I've rectified those little things and am uploading the updated profile here for anyone who wants to use it with EXKM. :) Instructions are the same, remove the extension, move into the gov_profiles sub-folder present in the ElementalX folder on the internal storage and select the profile in the app.

P.S. - If you want this attachment removed, do let me know (because I didn't explicitly ask for your permission before posting this). It won't be an issue at all. :good:
[Nexus 6P Android Development] banccalif:
Everything works fantastic. Best setup on my device to date
[Nexus 6P Android Development] shadowstep:
[MENTION=6842057]The Flash[/MENTION] Exciting times ahead! I always keep a tab of your personal branch on GitHub. Can't wait for your own gov.. well, never mind. You know what I'm talking about. ;)
[Nexus 6P Android Development] aostrom:
[MENTION=6842057]The Flash[/MENTION] - are you still recommending enabling msm_thermal and disabling core_control with your Flash v1.0 profile? Thanks for all the work you put in, this kernel is great - the best I've used since the days of Trinity Kernel on my Galaxy Nexus!
[Nexus 6P Android Development] lido:
I don't seem to have any sub folders in my elementalx folder. I know I must be missing a step obvious to all but myself...

Would greatly appreciate any assistance
[Nexus 6P Android Development] Poorboyrichy:
Is anyone else having issues with getting messages and emails until you open the specific app? I seem to be having issues with that. Any help or recommendations?
[Nexus 6P Android Development] th3discodancer:
Having that too. However, i don't think that's kernel related
[Nexus 6P Android Development] Poorboyrichy:
Ok. I posted in the ROM forum as well, maybe I will have some luck there.
[Nexus 6P Android Development] Shockz:
Make sure ex manager has storage permissions.
[Nexus 6P Android Development] lido:
It does. Thanks for the reply
[Nexus 6P Android Development] bobbarker2:
Reinstall from the play store.

---------- Post added at 04:08 AM ---------- Previous post was at 04:03 AM ----------

'This is currently just a rebranded interactive governor, I am just laying the foundation for future changes.'

Sorry to burst the bubble. Though Nathan does work fast..
[Nexus 6P Android Development] lido:
Cleared data, uninstalled, reinstalled, set permissions... Still nothing...
[Nexus 6P Android Development] frost_nz:
I had this too. I just created the folders myself and everything works fine.
[Nexus 6P Android Development] senthilrameshjv:
Great. I flashed sometime back and using with Flash 1.0 profile.

---------- Post added at 05:30 AM ---------- Previous post was at 05:27 AM ----------

In my case..i went to Governor options and hit load. It asked me storage permissions.. Then I went to solid Explorer, pulled go refresh and I've the ex folder. Since I've the folders sorted in last modified order. The folder was at the top. If yours is alphabetical or any other sort you may find it in different place..
[Nexus 6P Android Development] arunkr:
[MENTION=220065]nathan[/MENTION], I heard touch boost and input boost are two different things, can u confirm??...I don't have touch boost in exkm... So I put input boost as disabled after loading any profile. If I leave it enabled I ended up getting the device very hot and battery life was less.
[Nexus 6P Android Development] shadowstep:
Haha, don't worry about it. I read that bit as well, and it was clear since he's using an interactive governor profile only with it, with the same interactive governor tunables. But it's a start. :)

By default, the stock setting is core_control enabled and msm_thermal disabled. However, I know [MENTION=6842057]The Flash[/MENTION] disables core_control and enables msm_thermal as it allows for a longer sustained performance, and he's not had any issues with it. Try using msm_thermal yourself and if you face any issues, then you can always switch back to core_control (which is the stock setting). Good luck! :good:

Yes, touchboost and inpur boost are two different things. You don't have the option to enable/disable touchboost in EXKM while using this kernel because [MENTION=6842057]The Flash[/MENTION] doesn't have it added to his kernel and all the interactive governor profiles disable it anyway, but mostly all of them use input boost, so you shouldn't disable that yourself as different profiles have different input boost settings.

Btw, read this post for more clarity on the differences between touchboost and input boot.
[Nexus 6P Android Development] arunkr:
Thanks for the clarity....:)
[Nexus 6P Android Development] kantjer:
Guys, can we please stop this.

Exactly this behaviour is the reason many devs go underground.

Users should first try to find answers by reading and searching. If some of you feel a user didn't do that just don't respond at all.
[Nexus 6P Android Development] JaylanPHNX:
Anyone have any idea why I'm getting ridiculous Bluetooth battery drain? BBS shows bluesleep as 94% of kernel wakelock. I don't know if it's kernel it ROM issue, but I figured I'd start here since it's a kernel wakelock.
[Nexus 6P Android Development] flunk03:
Have you disabled the bluedroid wakelock? Not sure if it will help but that's what I have done since my smartwatch is connected around 12 hrs a day which does increase my idle drain from 1.94% to 3.5% on the Flash Profile during that time frame. It could also be a rogue app/android wear (not sure if you use the latter) that is triggering this judging from what I have read so far.
[Nexus 6P Android Development] kantjer:
Check you're wakelock settings
[Nexus 6P Android Development] matt4321:
^^^ This!

Please play nicely everyone :D

Have a good day.

Forum moderator,

Matt
[Nexus 6P Android Development] lido:
Thank you that did it! So simple, and yet so complex! [emoji16] [emoji16]
[Nexus 6P Android Development] JaylanPHNX:
Thanks, guys. I've disabled it and we'll see how it goes. I do have a wear watch, but I guess i never suspected it. It's weirdly random when this drain happens. It can be really bad half the day (10%/h) then fine the last half after charging (2%/h). Same activity, no reboot between. Go figure.

I have to 6p.
[Nexus 6P Android Development] GreyCelt:
Last night I downloaded your profile & plugged it into EXKM. Soon after that, once my battery was at 100%, I unplugged my phone and went to bed.

I didn't realize that I left the Caffeine Button in Quick Tiles set on infinity. ????
[Nexus 6P Android Development] banccalif:
I'm absolutely loving this kernel!
[Nexus 6P Android Development] flunk03:
Give it a shot and let me know. The best fix afaik is to clear data on your Android wear app and re sync your watch assuming that android wear is the culprit
[Nexus 6P Android Development] aostrom:
I am sorry to perpetuate this thread, but I want to know if it was my original question that set off [MENTION=3306843]kantjer[/MENTION]. I asked about [MENTION=6842057]The Flash[/MENTION]'s recommendation for thermal vs. core control, specifically using his new profile and I think [MENTION=3306843]kantjer[/MENTION] was telling me to search for the answer. But -- I KNOW what the previous recommendation was and I also saw that Nathan said he was going to update the OP at some point in the future. I was asking the specific question of whether he was still recommending thermal vs. core control with his new Flash governor profile. I don't see how this was offensive to anyone, or violating any unwritten XDA code of behavior or something. Please explain if I was wrong.
[Nexus 6P Android Development] kantjer:
It wasn't your question that set me off, it was what happened afterwards.

But answer your original question, the thermal vs core control is still the same.
[Nexus 6P Android Development] pickupman66:
I am trying to get viewability in Better battery States on the Kernel wakelocks and alarms, however all I get is "File could not be read" when I choose that option. I have searched and cannot seem to get the term correct or just flat out cannot find the answer.

BTW, it has been years since I was able to play with a Kernel (s3 days) so im quite impressed with all the profiles and options these days. Im not trying to get as thin as possible here, but trying to squeeze a bit more life out of my device. what I have seen recently is amazing from some of you guys. im running Rooted stock with Flash kernel. Currently on interactive governer and the excalibur_v2 Profile.
[Nexus 6P Android Development] bobbarker2:
I don't think it really matters what questions set it off. It's a culmination of many users not searching or reading before posting.

The point being, no "smoking gun" is needed to be identified. The problem is endemic throughout the forum.
[Nexus 6P Android Development] banccalif:
Managed to pull 7 hrs SOT this time ????
[Nexus 6P Android Development] igylan:
I know its off topic but mind telling me whar rom you using? :D
[Nexus 6P Android Development] banccalif:
I'm on nitrogen 10.27 build. Haven't updated yet, not sure if I want to :D
[Nexus 6P Android Development] shadowstep:
Those are great stats! :good: Also, not my profile. I just fine-tuned it around the edges. ;) The entire credit goes to [MENTION=6842057]The Flash[/MENTION]!
[Nexus 6P Android Development] flunk03:
[MENTION=6842057]The Flash[/MENTION] so I ran the flash profile for a few days since Google play services seems to have stabilized and here are the results. General settings are location set to battery saving, Google now on, network mode on LTE, 1 email synced

On Wi-Fi -idle drain is at 0.45%

On LTE with Bluetooth synced to Android wear -idle drain is at 2.61%.

I would say these are the best numbers I have got so far in terms of a balanced profile. Thanks.
[Nexus 6P Android Development] nathanchance:
I have updated my profile on my site: http://nchancellor.net/Kernels/angler/Profiles/Flash1.0.1

Two minor changes (which is why I did an x.x.1 instead of x.1): fixed the 1555MHz target load for little (thanks [MENTION=4151089]xperator[/MENTION]) and lowered the entry target load for big to 95 as we don't want to completely starve the big cluster of work if it needs it. Should perform just as well, if not better now. Let me know how it goes!
[Nexus 6P Android Development] Citizen_Snips:
Hey The Flash,

I noticed the OP is listed as Linaro 6.2 now. Last time I built the kernel it was DF-Linaro 4.9. The guide you linked me to earlier has links for up to 6.1. I tried googling Linaro 6.2 and didn't have much luck. I found a link to the Linaro toolchain git, but I have no idea how to use it yet. Not sure what link to grab to download that toolchain source. Could you provide me a link to sync Linaro 6.2?

This was the Git page I found. I don't know if that's right or not.

https://git.linaro.org/toolchain/gcc.git

On the top right I switched from master to linaro/local/snapshots/linaro-6.2-2016-10, but the "Clone" link on the bottom is still the same as the link I posted above. Sorry for the trouble, still new to this. :/
[Nexus 6P Android Development] nathanchance:
I compile my own toolchains using the source provided by the Uber Github, which is linked in the OP. If you need a prebuilt, use these: https://bitbucket.org/mdalexca/
[Nexus 6P Android Development] ariefabuzaky:
Hey tell me your kernel setting ?

Are you normal or hardcore user ? :silly:
[Nexus 6P Android Development] shadowstep:
Thanks!

..and with that, I'm attaching Flash v1.0.1 for use with EXKM. :) Also, if anyone is unsure of what all needs to be set on boot after applying this profile in EXKM, you can give this post a read. Should help!

Enjoy!
[Nexus 6P Android Development] nathanchance:
That profile is ready for EXKM but no worries lol, the post is helpful :)