yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Android Development] return.of.octobot:
So, that's where I actually pulled the thunderplug code from. I also just realized that I need to fix the scheduler_boost values too, as 0 or "off" is not included as a variable, for whatever reason. My thinking in inserting the thunderplug parameters into Ben's UKM as opposed to flashing Yarpiin's was to avoid issues with kernel cross compatibility and differing feature sets, but if you think everything would play nice between the two then by all means, I'll give it a shot.

Sent from my intoxicated ONE A2005
[OnePlus 2 Android Development] urgali:
You can try it, the ben's ukm was created in "collaboration" with [MENTION=5288056]yarpiin[/MENTION] and the ukm there is done to be compatible with about all kernels.

Said so, do as you wish obviously :) ..but the ukm from the thread should work with no problems :good:
[OnePlus 2 Android Development] return.of.octobot:
Good to know that UKM support will carry on one way or another, I'll take a closer look at yarpiin's package, my only interest here was improving UKM compatibility specific to this kernel, if yarpiin's is already managing things fine I'm all for it. Nice little learning experience regardless.

Sent from my intoxicated ONE A2005
[OnePlus 2 Android Development] benschhold:
Kernel Update

Kernel Update 3.3

switched from O3 to Ofast

you can now underclock your cpu

added bfq sched

some misc sched commits

fix pipe memory corruption

remove bcl-hotplug
[OnePlus 2 Android Development] knpk13:
Can I update the kernel simply by flashing it over the previous one? How can I backup just the kernel? Everywhere I look, it says I have to backup the entire system partition and then restore it or extract boot.img? Can I do that?

Edit: FP seems much faster for me after this update though I can't see anything in the changelog.
[OnePlus 2 Android Development] ΦDroid:
Yes
[OnePlus 2 Android Development] return.of.octobot:
Might want to look into zen while you're on a scheduling kick

+1 for the UC though

Sent from my intoxicated ONE A2005
[OnePlus 2 Android Development] xdvs23:
Underclock? What is different from setting max freq lower?

And we already had bfq?
[OnePlus 2 Android Development] benschhold:
It's about min frequency which can get set lower to save battery
[OnePlus 2 Android Development] magnamentis:
there is an backup feature in kernel adjutor, you can save profiles or backup the entire kernel, for backup chooser recovery, not boot.
[OnePlus 2 Android Development] knpk13:
You can underclock to save battery and reduce heat. Like for example, you can set auto underclock when device is idle/screen off, and over clock when using it. Still trying to figure out how exactly I should set it up though.
[OnePlus 2 Android Development] xdvs23:
Oh ok thanks
[OnePlus 2 Android Development] knonn:
Upgraded to latest 3.3 version and I have an issue when changing governors to elementalx. I'm on temasek build and the screen just stop working even when I revert back to interactive (dunno if my English is correct).

It seems to do the same with zzmove
[OnePlus 2 Android Development] nexus_vl:
+1

Same here (zzmove) had to revert back to 3.2

I will test other governors on 3.3 later
[OnePlus 2 Android Development] magnamentis:
general statement, independent of details, stick to interactive. it's the only one that is 100% compatible with the device's specifics, the kernel base as well as the BIG.little architecture. Impulse would work but not all tunables are applicable and zzmove as well has been adapted to a certain degree but is not natively built with BIG.little octacore architecture in mind. so if you want to use those, start with default settings, ( all apply on boot sliders off and reboot) and change one paramter at once and test, starting with the governor of your choice of course. like this you will see when exactly you start to have issues and avoid either the governor or the tunable that doesn't play well with it. BTW there is no objective reason to change the governor, interactive works as good as one could like and if you mean to save battery, you can make up to 50% better battery life in userspace and only 10% max in kernel and even if you get those 10% better battery life you will pay with lags and stuttering in places. there are no miracles as to the performance to power consumption ratio while one can easily optimize the power usage of apps by defining use cases and automate them. i attach one example below, there are many more ways but it is something not many people do but i swear my battery life is consistent across 7 devices and 18 roms and 9 kernels. 0.3-0.4%/h idle drain and 2.5 hours SOT per 1000mA battery size. ( no gaming but full brightness first 20% then changed to autobrightness below 80% capacity )

Be aware that the details of the setup in the screenshots is very personal use case and preference. they can be totally useless for you, but they illustrate how to keep apps in check that consume battery while they're 100% certainly useless. one example would be "Sygic" keeping GPS sensor alive after being killed and next morning showing with over 100mA in that battery stats. hence i kill the app at 2 A.M. except when the screen is on at 2 A.M. the trigger is deactivated because in that case i will either be having a night ride and need the device fully functional or if it's just a coincidence i can trigger the even with a shortcut form the sidebar manually the moment i go to bed, similar to using a light switch LOL

So 99% the stuff is automated but can be triggered with easy from the hidden sidebar ( i'm using swapps for ROM independence )

EDIT: what exactly you have to freeze and when to defrost depends on the major unneeded consumers in your battery stats and when latest you need them. the goal is that you never have to defrost an app manually but the it's frozen when you certainly don't need it. who needs a navigation app while screen is off and wifi is connected or in night mode ? LOL

now if your navigation map does behave normally you can use greenify or let it be. sygic can be a bit difficult at times but is worth the effort because in use it's unreached.
[OnePlus 2 Android Development] return.of.octobot:
Another solid contribution :good: Let's see how many of us make an effort to read it.

I'll admit, you've got me on the interactive train, especially since there's some very intriguing R&D for it's tunable configurations going on over in 6P land. My initial thoughts on alternative governors stand, and with that said I wouldn't be too quick to write off the available interactive variants either. I've gotten satisfying results using Intelliactive and experimentation seems to indicate that while the governor is not suitable for use on the A57 cluster, it behaves appropriately when managing A53. Impulse, on the other hand, seems to proficiently manage A57 just fine soo.. I'm sure you can see where I'm going here.

On an unrelated note, after some tests using Yarpiin's UKM package, I can say that at best it's pseudo-compatible with this kernel and unfortunately throws far more errors and has a much higher affinity for unexpected behavior than Ben's original UKM on AFH. So, I can't make any promises as I'll be attempting to do this via trial and error, but I am going to make an effort to continue UKM development to better support some of the newer upstream changes to this kernel and increase overall Synapse compatibility specific to Ben's builds as opposed to Yarpiin's universal approach. Even if I'm the only one that uses it ;)
[OnePlus 2 Android Development] magnamentis:
yep, i'm used to that since i' writing non-fiction (philosophy) for many years and am aware that this is not the way to make bestsellers LOL

as to governors, i think in this context it's worth to mention where the many governors come from. it was when our devices were so underpowered that each notch up on the scale was worth a big hurray while nowadays even if one can achieve a measurable improvement that measurement is mostly beyond our "built-in" sensors ( i mean those of the human body LOL ) similar to the display resolution hype that costs money and energy but is not visible through the human eye.

good luck with your tests, let's see what comes from them.

nice weekend
[OnePlus 2 Android Development] Shane_IL:
Will try if I have time. Unfortunately Sunday is a the start of the work week for us, so won't have time to play properly until the weekend.
[OnePlus 2 Android Development] benschhold:
first big core finaly stays online as i wantet it

next release is awesome

fast as lightning :D

maybe i find a solution to not make 2 builds to support all roms
[OnePlus 2 Android Development] shantam3108:
Is v 1.2 this release
[OnePlus 2 Android Development] hewlett2008:
V1.2 is really fast as hell...thx
[OnePlus 2 Android Development] benschhold:
yep thats the one, you guys are fast haha

should work on all roms, tried on bliss and seraphs cm build
[OnePlus 2 Android Development] twist3d0n3:
working fine on 27/2 cyanpop too :)
[OnePlus 2 Android Development] krishna442:
fast, like your kernel ;)

Can confirm, Banner is Se*y and dope! Way to go buddy! thanks a lot.
[OnePlus 2 Android Development] shantam3108:
I personally liked your build in smoothness.. I don't know I flashed seraphs build but It was not as smooth as bliss so I flashed bliss 28tj feb build again
[OnePlus 2 Android Development] benschhold:
that cought be because bliss uses toolchain optimazations
[OnePlus 2 Android Development] benschhold:
if u make a better one i include it

EDIT: i thought you said s h i tty haha
[OnePlus 2 Android Development] Mohit31:
Lol...I too thought it was meant to be s h i t t y

But thought no one can be that rude...

Then realized it's s e x y
[OnePlus 2 Android Development] krishna442:
Haha buddy, I'm sorry! edited ;)

I'll never be :)
[OnePlus 2 Android Development] shantam3108:
Working great on seraphs 28th Feb build too..

EDIT : After sometime facing heavy lags in UI.. And became severe after sometime.. Switching back to bliss.

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

On seraphs 28th Feb build with v1. 2 kernel.. The synapse values reset after rebooting completely. And while starting I get an error system is not responding..
[OnePlus 2 Android Development] whwhdtk5689:
smartassv2 add plz...
[OnePlus 2 Android Development] ca110475:
Just out of curiosity, as i see FauxSound loudspeaker tuning is not working currently, and i guess you try to keep the kernel as light as possible, why are you still struggling with FauxSound when V4A works perfectly with 6.0?

Just wondering, not a criticism, perhaps FS is supposed to have some features V4A does not have which i'm not aware of, that's why i'm asking.
[OnePlus 2 Android Development] krishna442:
He asked us which one he wanted, we voted for faux.

Also Because we already have v4a we don't need it again ..?
[OnePlus 2 Android Development] benschhold:
You both wrong, v4a and faux are 2 different things, v4a controls audio output via software and faux controls it through hardware which is a lot better

About loudspeaker tuning Lord boeffla answered that he also failed in do this and if he didnt success i gues i wont too

But i have anyway other priorities in my to do list
[OnePlus 2 Android Development] shantam3108:
The cores are not shutting off.. All cores are online..
[OnePlus 2 Android Development] krishna442:
Oops. Sorry. Hardware is better. I see about it now. I'm not into sound modding. Thanks for clarifying. :)

Edit: not exactly voting kind of thing went. But he just said he's in thought of implementing faux. So we said yay. That's it. :)
[OnePlus 2 Android Development] benschhold:
This post is useless, no info in your settings, did you set min cores to 4?
[OnePlus 2 Android Development] mido25:
There are 18 governors in the kernel and I was so confused what to test and where to begin with. That post shed some light and I'm less confused now.

Sent from my Amazing OnePlus 2
[OnePlus 2 Android Development] magnamentis:
that's easy to explain, if you make a new kernel ( the first time after first releas ) you can read that back in this thread as well, there are dozens of people asking for this and that governor and/or feature. so a developer who want's his work being recognized tends to implement those governors, they're easy to pull and to add and those who asked are satisifed because the think they have a huge choice, only that the difference is negligible on the positive side. so somehow that's how the globe rotates these days and one has to comply to a certain degree with the buzz, else would be considered "un-cool" LOL
[OnePlus 2 Android Development] mido25:
But this guy did a hell of work. Earlier I used to ignore his work(regretting about it now). But he improved a lot and kernel is getting more stable. Ben is doing a great job. Glad to see him tweaking kernel according to the requests from users (OC, UC, governors, Intelliplug, thunderplug, kcal).. Keep up the good work Ben.

Sent from my Amazing OnePlus 2
[OnePlus 2 Android Development] magnamentis:
[MENTION=4472027]bassgenerator[/MENTION]

in reply to your PM, this is general knowledge and OT hence i reply here:

fsync disabler is in "Misc Controls" see screenshot
[OnePlus 2 Android Development] mido25:
App says disabling Gentle fair sleepers will improve battery. May I know why you enabled it. Is it because disabling it will impact performance?

Sent from my Amazing OnePlus 2
[OnePlus 2 Android Development] magnamentis:
because as i mentioned earlier i'm not interested to improve battery life with the kernel. i prefer to manage the real usage, tasks, apps according to need which can improve battery life by up to 100% ( radios for example bad LTE compared to good 3G signal ) than to squeeze the kernel for 1-2% and then usually it comes with a downside.

in short, by setting the userspace right a safe a lot and i'm ready to give some of it back in favour of performance which as i can read every day

gives me by far better battery life than many others have. my goal is 2.5h/1000mA battery capacity in SOT and 0.3-0.4%/h in idle passive and 0.7-08%/h in idle active

Sleeper Fairness is a concept used by CFS which treat sleeping/waiting tasks as if they were in a run queue. This implies tasks which spend most of the time waiting for an user input and such will get a fair share of CPU when they need it. Disabling Gentle Fair Sleepers could improve UI responsiveness

could is not enough to divert from default for me, i'd perhaps consider it anyone could report and proof "significant" UI boosts like i did with the fsync disabled and got a 40% boost in antutu benchmarks, that's a nice number to live with the downsides LOL
[OnePlus 2 Android Development] mido25:
Thanks that helps. I did few research on the topic and have seen that disabling it will improve UI performance. Was just wondering why you enabled it and now you gave me the answer with proper explanation. Thanks for the comprehensive reply. Have a great day Magna

Sent from my Amazing OnePlus 2
[OnePlus 2 Android Development] TheDarkM@n:
me too. How to solve?
[OnePlus 2 Android Development] magnamentis:
update to v3.3

should be clear by now that those drops are mostly setup or network related. the only real bug was the re-connect upon doze disconnect all other issues you have to solve on your side, the kernel hast a very reliable wifi setup, better than others i've tried out.
[OnePlus 2 Android Development] mido25:
Just wanted to share my battery life experience with the Kernel. I can say I'm getting OOS similar idle /SOT from my setup with this kernel. Overnight drain was almost (.8 to 1) without using any xposed & battery apps.

Rom: Resurrection-Remix official

Kernel version : v3.3

Sent from my Amazing OnePlus 2
[OnePlus 2 Android Development] Nik_:
charging stucks at 99%.... though this is ok.. but plz see if you can fix this..!!

one more request finger print scanner in latest oxygen 3.0 is ultra fast you just touch it once and unlocked... can you do the same with this kernel as well? just a request if you can!! thanks :)
[OnePlus 2 Android Development] ΦDroid:
Unfortunately, finger print software isn't really part of the kernel. It's a ROM thing
[OnePlus 2 Android Development] wrshazhuzhu:
How do you do that？ｸﾞｯ!(๑•̀ㅂ•́)و✧

通过我的 ONE A2001 上的 Tapatalk发言
[OnePlus 2 Android Development] magnamentis:
that's good :good:

glad to see that others get things right as well LOL ( you know what i mean haha.. ) at times i'm feeling lonely in that respect :D

---------- Post added at 05:26 PM ---------- Previous post was at 05:22 PM ----------

that's what one gets if simply doing nothing wrong LOL [kidding but true nevertheless]
[OnePlus 2 Android Development] wrshazhuzhu:
im a unlucky boy ！ usually have bad battary[emoji17] [emoji17] so i want know other people how to setup kernel

通过我的 ONE A2001 上的 Tapatalk发言
[OnePlus 2 Android Development] magnamentis:
you're not unlucky. luck comes to the studious ;)

for example in this very thread i wrote many times that one can kill the battery with the kernel but rarely improve it more than a few percent over stock settings, at least not without negative side effects. the secret to good battery life lays in the apps section and eventually the rom setup, especially radios management.

not too far back in this thread you'll find all the info needed to get good battery life.

- monitor usage

- keep active what's needed not what's possible

- use helpers to keep battery hogs in check, for example tasker, greenify etc.

all starts with monitoring because use cases differ so much that my advise could be a punch into a void in your case, which is why U have to take action based on results on your device.

what you need is apps like:

- C3 Battery Montoring widget ( provides mA usage in detail ( not only percentages which are at times difficult to interpret )

- Wakelock Detector provides wakelock triggers and you can greenify hogs directly from within the app an more of course

- Better Battery Stats, good stats over all and most used, hence you get a maximum of feedback because many folks know how to interpret the readings

best to use all of them for their respective strength & one where the other is week. each of those monitoring apps has it's outstanding qualities/features, which is why i use them all.
[OnePlus 2 Android Development] wrshazhuzhu:
thanks[emoji16] i download all app，i will studying

通过我的 ONE A2001 上的 Tapatalk发言
[OnePlus 2 Android Development] return.of.octobot:
One might argue that it's what you get for properly managing everything google did wrong :angel:
[OnePlus 2 Android Development] magnamentis:
you make me smile but we have to be fair, they're getting better, at last IMO, MM is the first for long i really liked more of the changes than i disliked.

currently i use N-Preview on N6 and it again comes with a lot of nice goodies while if they stick to their increased security level ( SELinux permissive boots into safe mode and one has to "stop logd" for a single permissive round which is gone after reboot and writing to system takes a few terminal commands which at least stick ) i will probably extend my MM time till things are properly outsmarted again. :highfive:
[OnePlus 2 Android Development] return.of.octobot:
Yeah I'm definitely feeling the kindred spirit vibe, I'm with you though far less gripes with MM than there was to be had on LP, my biggest complaint is that I feel like I'm just started to dig into it and N is already on the horizon. Alas poor Marshmallow, I knew him well.
[OnePlus 2 Android Development] mido25:
Having some more good news. Thanks to thunderplug.

Another important thing to notice. UC plays well with the device. Look at the CPU states. Deep sleep is also awesome.

I can share the profile if someone wants. But I don't know how to make flashable zip (I can replace the profile file in magna's profile zip and share but I don't know if it works that way)

Sent from my Amazing OnePlus 2
[OnePlus 2 Android Development] partridge79:
Theres a App by jRummy called "ZIPme" and its exactly what your looking for and better yet it automates the process! (which to be honest is not extensive or difficult by any means) if you can flash a zip, you more than likely have the knowhow to make a flashable zip imho. I use it to flash apps in recovery just like TB does
[OnePlus 2 Android Development] mido25:
I'm sharing my profile.json file here. Appreciate if someone can make a flashable zip. It can also be placed inside device/data/com.grarak.kerneladiutor/files and give read, write and executable permissions. Once you placed this, you have to apply it from KA app profiles section. Hope it helps. Waiting to hear feedbacks.

Link: https://drive.google.com/file/d/0B-62sOnnWywTRTVvYjJRVUViUUk/view?usp=drivesdk

Sent from my Amazing OnePlus 2
[OnePlus 2 Android Development] partridge79:
Is this profile geared towards battery or performance? The issue for me with.. Json is dont they load automaticaly by default i.e "stock" configs? Im not well schooled in kernel applications/settings sort of a noob in most respects
[OnePlus 2 Android Development] mido25:
This profile has good idle drain. You won't experience any lag with this but gaming performance is poor. I've disabled touch boost if you're not happy with the UI performance turn it on and see. I'm quite happy with the existing UI performance.

Once you replace the profile from the aforementioned folder, give the permissions. The open kernel adiutor, select profile section. You should see a name like testv2. Click and apply the profile. Let me know if that helped you. If not, there are experienced guys watching this thread, they'll surely help you out.

Sent from my Amazing OnePlus 2
[OnePlus 2 Android Development] nicesoni_ash:
You forgot to upload it. [emoji14]

Sent from my "i9300/1+2" powered by Carbon/Temasek

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] mido25:
Extremely sorry. Same happens with me when I send emails to boss. Added drive link in the post. Thanks for saving me from further embarrassment.

Sent from my Amazing OnePlus 2
[OnePlus 2 Android Development] nicesoni_ash:
Anytime mate. [emoji4]

Sent from my "i9300/1+2" powered by Carbon/Temasek

Fueled by 7000mAh ZeroLemon Battery
[OnePlus 2 Android Development] nicesoni_ash:
Here you go. Flashable zip.
[OnePlus 2 Android Development] mido25:
Thanks buddy.

Sent from my Amazing OnePlus 2
[OnePlus 2 Android Development] wrshazhuzhu:
[emoji16] [emoji16] hey，can you give me your theme？i love this font

通过我的 ONE A2001 上的 Tapatalk发言
[OnePlus 2 Android Development] mido25:
Status bar is themed by popz up

Font name storopia

Sent from my Amazing OnePlus 2