yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] audiovicious:
Hey man, chill, I've seen you post it time and time again, I've read it, and I've even backed you up on others not reading properly, no reason to come at me like that. I understand it's "user space", my drain is fine, it went up because I've been streaming things a lot, and obviously I know they're battery life isn't entirely kernel related (You can't say it isn't at all, because they clearly achieved that by lowering frequencies IN the kernel). My question to them was really kind of what magic IN GENERAL they were running, I knew it wasn't all kernel related. Then I saw that it was just lowering frequencies and disabling a bunch of stuff (again, that's a good example of user space, SOMETHING THEY DID SPECIFICALLY) I wasn't as interested anymore. When people post their crazy battery times (4+ days) it's usually by disabling a bunch of stuff and spending more time turning things on/off than I care to do. I just want to be have a solid device I don't have to charge all the time, and I have that, it was more a GENERAL curiosity. I realize it can be tweaked to one end or the other, I didn't realize that BEFORE I asked though, so there's no reason to come accusatory at me. I appreciate what you do in this thread, but I do often see people post a short response, then get an entire 3 paragraphs back with a mention of "NOT TO CLOG THE THREAD" which is also just clogging the thread.

Let's just try to get along and not jump to conclusions on every question. Of course you can get crazy time using Power Save mode all the time, but I didn't know that was essentially how they did it until I asked, I can't be blamed for asking.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Ethan140310:
Hey guys just installed EX kernel yesterday, things are going fine but I'm unable to use the color tuner, does anyone know what could possibly the reason and help me out?

P/s: I'm unable to use means that changing the parameters have no effect on the screen
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] flar2:
Go to system display settings and choose custom
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Ethan140310:
Wow first time got a reply from OP...

So fast and thank you, that solved the issue (which probably was my fault not looking long enough in the thread)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Flapjack:
Been running the latest ElementalX on my OP6 for about 2 weeks now... love it. However, my MagiskManager updated to 7.0 and subsequently asked me to update Magisk to 18.1. I did this from inside the ROM, using whatever the "recommended" method was (maybe I should've looked closer?). At any rate, after the update, it would only boot to recovery... over and over. I tried reflashing the Magisk 18.1 zip, but it didn't seem to help. I had zero Magisk modules installed (though I've considered a few).

If anyone else has experienced this issue, this is how I fixed it:

- Booted to recovery and put into MTP mode

- Copied latest Magisk uninstaller to phone and ran from TWRP

- Rebooted to Android again successfully (noted that stock kernel was somehow back)

- Rebooted and installed Magisk 18.1

- Rebooted to Android and downloaded/installed MagiskManager 7.0 APK

- Ran EX Kernel Manager (had to re-grant root)

- Installed kernel and rebooted

Hope this helps someone!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] spartan268:
I had the same problem too with Magisk. I just did a dirty flash. I heard the general recommendation is through TWRP instead.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] ultravy:
Same problem as well! Restore "boot" from twrp backup if you have one, or flash again your (other) kernel, then flash latest magisk!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Depressed T.Bear:
I had the same problem. Though, I couldn't get the latest magisk to work at all on my OP 6.

I ended up reflashing the stock bootimage, (temp) installing TWRP, flashing (the working) Magisk 18.

I'll just wait for a patch of Magisk ;)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] RASTAVIPER:
Had same issue.

Only thing needed to do was reflashing the Elemental kernel through TWRP.

Problem solved
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Flapjack:
Any idea why updating Magisk would've caused a reflash of the kernel to be needed? Also, if you install ElementalX from inside Android (using EX Kernel Manager), does it save a zip of the kernel somewhere on the sdcard, or do you need to plug into a PC to copy it to the phone?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
- normally that's not needed, at least not for everyone, means it's something that's user specific

- check your sdcard, it's easy to find ElementalX Folder and the kernel zip inside, further if you pay attention to the download interface you shall easily see the choice to either install or download only, answers your question about PC / ADB etc., not needed of course
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Flapjack:
Thanks. I actually did just that today, since Oxygen had another update. There were two zips in there. I ran the non-express one. What is the difference?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] EstherTakumi:
So the app got update, but I'm wondering, what is flicker free mode?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] spartan268:
For the life of me I can't find the original thread. Basically it's a kernel level mod that changes the display refresh. I know there's a standalone version of this and one baked into the smurf kernel as well.

The setting is only applicable for the kernels that have it enabled as with most of other things inside EXKM.

Edit: found it! https://xdaforums.com/s7-edge/development/amoled-pwm-s7-edge-t3517739
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
the difference is that the non-express includes the possibility to set up the kernel in aroma which unfortunately does not work on this device

and some others anymore.

in short, on this device with the current TWRP it does not matter much which one you choose while on earlier devices the express version served to circumvent the aroma installer and installed directly and kept all settings that were already set.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Depressed T.Bear:
Just fmi, have there been any new changes regarding the kernel with OOS 9.0.4?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] flar2:
Update!!!

There is only one kernel manager that works on all your phones and controls all your settings. Flash directly and control all options on this and other kernels with the latest EX Kernel Manager: https://play.google.com/store/apps/details?id=flar2.exkernelmanager

Download (OxygenOS Android 9):

ElementalX-OP6-3.11.zip

Changes:

-OnePlus update
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] echo246:
Hi guys,

I would really like to use this form, but sadly I only own FK manager and don't want to buy EX manager :(

Do u know if the profiles would still work?

Kind regards
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] flar2:
You should really use EXKM if you root, there is nothing comparable in terms of ease of use and range of supported options. You miss out on a lot with other kernel managers.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Terrigible:
I own both apps :D and I must say EXKM is much easier to use. I switched over to FK Kernel Manager pretty much just for per-app profiles on SmurfKernel.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] jmtjr278:
Exkm is the best purchase I've ever made! You pay once and can use it on every device you will ever purchase. It's the price of a cup of coffee! Support this awesome Dev who constantly updates this kernel and this amazing app!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] James Blode:
Hey flar2, thank you for your hard work... Latest version is working fine.... Very stable... By the way, using it on 9.0.4 and WITH F2FS... yeah... Didnt knew it would work... Very stable so far...
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] leegreggs:
Hi, quick question , using latest kernel and ex kernel app and how do I get setting to stick , I set sound gain to what I like and press apply on boot, but the settings never stick ...even if I don't reboot I can open the app and the sound setting have returned to default..

Thanks in advance
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Ethan140310:
Hey guys I just played with HBM and seems like it only turns the screen to max(?) I'm using auto brightness and when the environment is dark again (or when I manually change the brightness slider) the screen still stay at max brightness. Did I do anything wrong or misunderstand it somewhere?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
yes, one or both of them but from your description i can't guess what exactly that could be. works perfect here and apparently for everyone except you.

either you have to take a log and/or illustrate your setup, including system settings that have to do with display brightness and mode, i.e. night modes, power saving modes, autobrightness, and other possible culprits like root, tasker settings and whahaveyou. there are so many possibilities that it's simply impossible to guess right.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] dudong:
this kernel support PE and other aosp-based roms ?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] spartan268:
This kernel does not officially support AOSP based roms. Meant for OOS only.

You can always try it for yourself to see if it works but expect no further support from there. I know a few guys were successful with it.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Ethan140310:
I'm using stock OOS 9.0.4 with xXx rom and a fix for brightness (here: https://xdaforums.com/oneplus-6/themes/mod-brighter-adaptive-brightness-t3796846)

I'm sure that power saving or night light was not on when I test it, not using Tasker and using magisk 18.1 for root (but honestly I don't think it's the culprit though).
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
you already name the culprit while i won't comment on that, i'm not in a mood to listen to hurt feelings again.

there are pieces of software in the wild that do little good but do a lot in the background that cannot be controlled and/or is unknown.

it was tempting to use that in the beginning when nothing else was around but in fact there is nothing what cannot be achieved

differently without the above mentioned downsides.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Ethan140310:
Frankly saying I'm in here long enough so I'm both understand what "hurt feeling" you mean and not to have that hurt feeling towards guidances.

Also I have tried disabling that (in magisk) and still have the issue, maybe I need to delete it or something?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
it was not meant personal or you but there are many readers and someone would jump in my face if i wrote the truth, happened already, often it's the devs themselves who get informed by users or do key-word searches.

however back on topic, i strongly recommend that you take logs and let flar2 or anyone have a look into it. it's so hard to guess what exactly in your setup would cause this, there are so many apps that can interfere.

one way to go is a clean install and try HBM first and then re-add everything else until it breaks. logs would be easier to start with.

de-activating a magisk module often is not sufficient. there remains to :

- flash stock boot.img and re-root without modules

- dirty flash without modules

- clean flash without modules

i really suspect a module while i dunno how many you have in use or only the one you mentioned.

suspicion alone means little, there are many other apps, especially root apps that can tweak parts of the kernel and/or system settings.

which is why the absolute best way of troubleshooting to get rid of unaccounted for issues and at the same time narrow down the culprit(s)

is to go from clean slate in increments and see when the problem occurs, this while taking frequent nandroid backups after each increment

that did not show the unwanted behaviour so to be able to revert back to the last working state without starting over from scratch again.

the linked tutorial is not really device specific, only that nandroids with A/B devices are a science of their own, i have it working but took some

time for developing a learning curve:

https://xdaforums.com/showpost.php?p=62192068&postcount=4059
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] echo246:
Hi,

Does anyone know if this kernel works with the new caf build of Pixel Experience?

Thanks :)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
this kernel is for OOS not for custom roms of any kind, most probably it won't boot and if it does even more probably it will have major issues.

wanna know for sure, try it out and report back, contributing is a s nice as to benefit.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Ethan140310:
Yea I know how that feels, I tend to keep silent and put a blind eye on those replies, to save me time and to not putting more fuel to the flame

I have attached the list of my modules at the moment, hope it helps to define what is causing the issue.

I also attach 2 logs, both I get from EXKM, logcat and curent kernel log, idk which one is it so I get both, just tell me if you might need anything else.

logcat: https://drive.google.com/open?id=1dmtykLyq_6KIO7F0xjmjCz5nJJyRkp4l

dmesg: https://drive.google.com/open?id=1PUDjdRui9dFRMElqwDV32V6xnHh1_JoF

Eventhough I'm very familiar with the process, this is my first time to get a log and debug an issue so hope you can give me some guidance if anything went wrong (hopefully not) and don't worry, I'm not that kind you mentioned (and no I don't take your words personally)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
if you read through previously linked troubleshooting tutorial you can translate that into a lower level of the same approach.

- disable/uninstall ALL modules

- unroot

- flash stock boot img (redundant somehow but still recommended)

- flash twrp (if you have it permanently installed to keep it that way)

- boot into recovery directly after that

- root via latest stable magisk version from twrp via flashable zip

- NO MODULES AT ALL PLEASE

- boot into system

- boot back into recovery

- flash EX-Kernel

- install HBM

I'd swear that at that stage it works ;)

now you go from there and add one module after the other until it breakes while i recommend to leave the one in the attached screenshot out, it's mots probably the culprit ;)

perhaps [MENTION=4684315]flar2[/MENTION] can look into the log, he's probably the most experience log-reader by far around here, since i'm not a developer, only an experience and stubborn/persistent/ user with troubleshooting stamina LOL i never considered myself a good LOG-interpreter.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] flar2:
Update!!!

This update adds the excellent K-Lapse driver from [MENTION=5913332]tanish2k09[/MENTION]

K-Lapse implements night mode in kernel, as well as brightness reduction (dimming) that can be scheduled for certain hours of the day/night. There is also another mode that allows you to have warmer colors in low brightness. It offers many options.

I've added support for K-Lapse in EXKM version 4.04. If you use another kernel, make sure it has the latest K-Lapse commits, as some of the settings have changed.

EXKM 4.04 also adds support for flashing Magisk modules and recovery zips. So far, basically everything I've tried to flash through the app has worked, except zips that use the AROMA installer and it's probably not a good idea to try flashing a ROM through the app, they are meant to be flashed in recovery.

Get the latest EX Kernel Manager on Google Play: https://play.google.com/store/apps/details?id=flar2.exkernelmanager

Download (OxygenOS Android 9):

ElementalX-OP6-3.12.zip

Changes:

-add K-Lapse support
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Depressed T.Bear:
Thanks for this update! :) sounds promising. Just out of curiosity, would flashing TWRP trough ExKM succeed? :D
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] flar2:
I don't know, but I think it would work. You could back up your boot.img and try it.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Depressed T.Bear:
Works flawlessly! :highfive: Great feature flar2 - thank you so much :):good:

For all the others: Remember to make the necessary backups before starting the flash-fever (bootimage, EFS, etc.)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] tanish2k09:
More information about klapse can be found here :

https://xdaforums.com/android/software-hacking/k-lapse-kernel-level-livedisplay-module-t3907031/
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] spartan268:
Amazing update. No need to stress about losing TWRP. Thanks Flar brodie
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] audiovicious:
Really digging the K-lapse support, thanks [MENTION=4684315]flar2[/MENTION]
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] humzaahmed155:
This seems to be happening here and in TWRP too. Anyone else?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] flar2:
That is a Magisk bug. You need to flash a clean boot.img to fix it.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Ethan140310:
So I just did a clean flash (after bricked my phone somehow LOL) and only have Magisk, 0 module and still have the same issue with HBM, attachecd my logs

https://drive.google.com/open?id=1WbUgnoxH0vB7BnphaNtLltvLfBxjeJjM
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] nithinmanne:
Compile Kernel

How do I compile the kernel from the github source?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] casual_kikoo:
Here a tutorial
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
did you test HBM before you installed your user apps or after a full setup but without modules?

in case you did install all other user apps you missed a great chance according to the tutorial i linked you you should always start with the

misbehaving unit/app/mod before installing the other stuff so to narrow things down by finding out after which incremental build-up step

the problem starts and/or whether it's there from first moment, means on a naked rom/os.

what remains for now is to ask [MENTION=4684315]flar2[/MENTION] if there is any possibility that he could look into this log, there was an earlier one but since this one appear to be much cleaner it's perhaps worth to find out why HBM doesn't work in his case.

i thinks it's especially worth it for those who follow this thread closely to have more helpful ideas at hand should such a case ever occur again in the future ;)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Ethan140310:
Well I forgot for a clean flash test, but I don't think Facebook/Twitter, bank apps and some games caused the issue. But who knows.

But I have make sure that there were 0 magisk module when I test HBM.

Let's wait for the dev =)))
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
bank apps can do a lot of things we don't imagine, not meaning it does in your case but many were/are in for nasty surprises.

the only reason why things get ever harder to customize are pay services as it it would be easier to take the phone from the ear to hold it to a terminal instead of a plastic card that can drop without damage.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] flar2:
I finally updated High Brightness Mode for Pie, it shouldn't stop now. Now that the darkness of winter is coming to an end, HBM is indispensible.

https://play.google.com/store/apps/details?id=flar2.hbmwidget
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
can you elaborate a bit, i mean it was working for most of us all the time stock OOS PIE ?

there was a recent conversation about one person having issues but while it worked for me at all times i did not hear/read much about more users with issues, hence i'm curious to find out what "update to pie" means specifically, is it possible that the recent conversation i had on this thread is related and that it might now work for him as well, because i'm still keeping an eye on that issue ;)

THX for the great maintenance
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] flar2:
Worked fine for me too, but some had problems keeping it alive.

The major change is that the service uses startforeground now, and must show a notification on Oreo and later. That will stop it from getting killed all the time.

The other change is you will now have to specify the package name, flar2.hbmwidget, if you use Tasker with this

This all required some refactoring with the changes to latest Android API
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
thanks for the quick reply as a whole and the tasker hint especially, so that i was able to verify functions before needing it on the motorbike where due to lack of shadow ;) as well as intense sun here in southern spain HBM is essential to keep content readable.

:good:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] reinob:
[MENTION=4684315]flar2[/MENTION],

I'm a happy user of your kernel (1.15), yet still running Oreo 8.1.0 (OOS 5.1.10), which - for a number of reasons - I wish to keep that way.

My question is whether you still plan to continue supporting OOS 5.x, e.g. with security updates and/or the Wireguard module (which works great BTW!).

Thanks a lot and keep up the great work!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Sickyman678:
Is this kernal like out of the box and ready to go type? Just flash and use? No tweaks / tuning needed?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] spartan268:
Almost every kernel for the OP6 is ready to go out of the box including this one. The only thing to be mindful of is post #2 on this thread.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Sickyman678:
Does this kernal crash randomly currently using smurfkernal on ob14 and it randomly crashes the entire phone it's not any of my apps I've done it with a clean flash I'm not sure how to I record logs maybe that will help??
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] spartan268:
Newest open beta is causing issues for most kernels. Flar also posted a little while ago to NOT flash it on OB.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Sickyman678:
Aight I'll probably go back to ob13 then I guess
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] sonusingh36:
Every time I reboot ,I loose all of my saved settings such as HBM, Stune boost, etc.

All values are reverted to the default values.

Any idea what might be the issue here?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Terrigible:
There is no issue. This is how it works. Just turn on apply on boot.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] sonusingh36:
I have turned on Apply at boot .

What I am facing is that , all the settings are set back to default, all the changes I made are lost after every boot.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Terrigible:
Try increasing the apply at boot delay.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] thugslug:
Set boot delay to 90 seconds.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] flar2:
Disable advanced battery optimization
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] flar2:
Update!!!

This update should work with the latest open betas

Make sure to get the latest EX Kernel Manager on Google Play: https://play.google.com/store/apps/details?id=flar2.exkernelmanager

Download (OxygenOS Android 9):

ElementalX-OP6-3.14.zip

Changes:

-add ZRAM
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Sh0X31:
Just for open beta or do it work with oos 9.0.4 too?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] James Blode:
Thank you... Most stable kernel on xda
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] flar2:
Works on stable release too.