yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rav101:
Google has added it for Android 12 so don't expect that any time before next August / September when Android 12 will release.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Batsy538:
Will this work with magisk canary build?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] RokCruz:
Working without problems!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ezzahh:
Hmm compared to 1.9.7 I'm getting much higher screen on power usage. Would average 10% per hour with screen but on 2.0.0 I'm getting 14% with similar usage patterns and no changes to any other mods or configurations
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] TotallyAnxious:
Wrong, multiple backend google things have updated. Apex, apps, play services. Lol
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ezzahh:
I'm not sure you can say whether it is right or wrong. It's just what I've experienced.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] TotallyAnxious:
But things have changed, you said nothing else changed. Which is wrong.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ezzahh:
I'm not sure where I said nothing changed. I said compared to 1.9.7 I'm experiencing more battery drain with screen on.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] TotallyAnxious:
Here you go. Not sure you realize how much can change when apex or google play services updates. :cyclops:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] TotallyAnxious:
Incredibly consistent battery :)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] VampireHeart:
Deleted
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] TotallyAnxious:
Not sure you know what trolling is. Nice try though
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] TotallyAnxious:
What is a real battery life? Photos of childhood and life accomplishments?

As the post said. Incredibly consistent battery life. 4 days of almost identical drain.

And as my other post said. Nice try though.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] TotallyAnxious:
You started the discussion over something you don't understand. So is anything you can't comprehend is trolling?

If the kernel was causing displaying battery drain then I would have inconsistent battery life because the usage is not consistent.

Instead the display would use significantly higher/disproportionately more than the battery it does.

You're thinking a one time battery life is truly indicative of real world usage. Just like benchmarks.

They aren't. Consistent, repeated results are what are important.

Not one off screenshots usually done with the user pro actively trying to save battery. When most people don't do that.

But I'm sure this is somehow trolling to you.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] TotallyAnxious:
Because it's about having consistent battery drain. You're missing the point and just embarrassing yourself lol

Like I'm already talking about this on telegram with people. That's how funny this is.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rob_z11:
I have gone back to 1.9.7... I noticed that too that my battery didn't last all day which it used to before.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] TotallyAnxious:
Yes it is your latest reply...

You can't see something with two eyes, that I can see with one. That's sad.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] drumslave:
Yet another toxic guy, which have to spread his poison by saying something just to say something. Ignore him and save your nerves.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] TotallyAnxious:
Pfttt okay mom

You seem to be forgetting I'm the primary tester for the kernel. I can guarantee you battery has improved with the kernel. The drain is unrelated to the kernel.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] TotallyAnxious:
It's a normal cycle and then 3 days if charging earlier than usual with almost identical shapes. You really aren't looking that hard, and continuing to embarrass yourself lol

Something happening once does not mean it will happen everytime....
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] TotallyAnxious:
You really need to look harder. The identical shape on multiple days means the phone behaves consistently in multiple environments. Whether I'm at home on wifi or running an animal hospital on LTE. It literally would be less clear with a screenshot of just one discharge. The larger the sample size the better.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] VampireHeart:
Deleted this and all previous post to clean thread, I don't have time to loose here.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] TotallyAnxious:
Then prove it. Show your screenshots. Roll back google play services and apex modules and use each kernel. Please go ahead.

Anything less is embarrassing yourself.

85% to 20% is a normal cycle. Anything higher to anything lower I'd unnecessary strain on your battery and shortening overall life. You continue you show your lack of knowledge lol

---------- Post added at 03:07 AM ---------- Previous post was at 02:38 AM ----------

Enough time to delete your stupid posts lol
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] VampireHeart:
Stupid is to use approximately half battery capacity of a device :svetius:

Continue to be offensive with someone else but not me.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] TotallyAnxious:
Lol I don't think you understand how battery's are made. I see your found more time.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
It has been backported to the 4.19 kernel. So maybe the Pixel 5 will receive it before android 12 with a feature drop or a future kernel update.

I don´t think wireguard will find it´s way by default in a 4.14 kernel. As it seems at the moment it might not be happening for the Pixel 4 either. So probably no chance for Pixel 4 stock kernel, let alone the op7 pro.

4.19 CAF devices like the op8 pro might receive it with android 12, depending on when CAF sets the snapshot for the kernel that´s sent out to OEMs.

I doubt it´s the kernel causing your increased battery usage. There were no scheduler changes or other changes that could make such a big difference.

Might be play services doing something in the background, other apps being updated and running not as well as before. Your network provider doing some stuff, router firmware updated, your usage pattern has slightly changed without you noticing it, your location might have changed.

I can´t help you any further on this. Other to tell you to use BBS to check deep sleep, or use "top" command if you feel your phone uses more battery while the screen is on. Maybe an app is hogging the CPU.

To do this download and open a terminal on your phone.

then type:

"su" without the "" and grant the su request.

afterwards type "top" without the "" and rotate your phone to landscape. If you see an app on top requesting constantly more than 20% cpu without you touching the screen for a minute or so, you know what´s running in the background.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
I also cleaned the thread. Please keep discussion civil and objective. There´s no need to get personal here.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ezzahh:
I just switched off wireguard from kernel to user space by a VPN provider app and it seems to have solved my battery drain for now. Not sure if that was it or some runaway thing that was running for a bit. Will continue to monitor. Thanks for the tips Freak, I will have a look that way too.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Rubensvailati:
Is version 2.0 compatible with the latest stable released for oneplus 7pro?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rob_z11:
Yes.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Hunter_20:
[MENTION=3428502]Freak07[/MENTION] thank you for making this great kernel!

I have a question about the DC dimming option in Kirisakura, does it completely disable pwm at all brightness levels?

The original DC dimming option from Oneplus still flickers below 50% brightness (122hz at 0%):

https://www.notebookcheck.net/Analy...displays-without-the-flickering.423121.0.html

I am not really I programmer, but have tried to look into the code from Github, I could find the next clues in the code to change this:

file drm_sysfs.c:

has mentioned things like "112MHZ_OSC" (maybe the oscillation rate is being changed here?)

in file arcxcnn_bl.c something is mentioned about dimming modes and pwm:

[MENTION=253357]Dim[/MENTION]_freq	: pwm dimming frequency if in pwm mode"

#define ARCXCNN_ILED_DIM_PWM	0x00	/* config dim mode pwm */

#define ARCXCNN_ILED_DIM_INT	0x04	/* config dim mode internal */

#define ARCXCNN_DIMFREQ	0x09

file lp8788.h is mentioning something about 2 modes for dimming:

* @bl_mode : brightness control by pwm or lp8788 register

* [MENTION=253357]Dim[/MENTION]_mode : dimming mode selection

file sky81452-backlight.h is mentioning something about ignore-pwm and analog-dimming, if the dpwm_mode is set to always false, pwm should never kick in at all brightness levels? But I don't know where to change this.

* [MENTION=1672983]ignore[/MENTION]_pwm:	true if DPWMI should be ignored.

* [MENTION=2764815]dpw[/MENTION]m_mode:	true is DPWM dimming mode, otherwise Analog dimming mode.

file tps65217_bl.c has this section:

/* set PWM frequency */

But I couldnt understand what the code is doing there

file tps65217-backlight.txt:

fdim: PWM dimming frequency, valid values: 100, 200, 500, 1000

Again something about the PWM frequency

Oneplus 7 pro is the perfect phone for me, but unfortunately the pwm-flicker makes it unusable. [MENTION=3428502]Freak07[/MENTION] would it be possible to also disable pwm below 50% brightness? I have tried to understand the code first myself, but I am not really a programmer.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
Hey,

thanks for your post! I see you did quite a lot of work there, doing already some digging. Greatly appreciated from my side! It´s quite rare to see such posts.

The drivers and references you found are unfortunately unrelated to the DC Dimming option on the OP7Pro. I think most of them aren´t being built on the OP7 Pro.

The relevant commit is here:

https://github.com/freak07/OP7PRO/c...bcf765635aa9f9a08630eb539ff15ba3e1624f297ab2a

Unfortunately the answer is probably not what you looking for, but I´ll try to shed some light on this. I´m actually still wondering why not more people notice it.

Is the device unusable for you, because you get motion sick/nausea when using the phone on low brightness? There´s a big audience especially in the Asian Market (as I was told by an insider) that request DC Dimming.

OnePlus actually "forgot" to put their DC dimming code in the Android 9 Source Code when the device launched, despite the setting being available. People noticed the DC dimming switch doing absolutely nothing. (there´s a pink shift when the setting is toggled). So we nagged OnePlus to release the source for it. They´re also obliged to upload the source for this, since this part is open-source (contrary to the WLAN-Driver, but that´s another story). The next part might put this in a different context, but everybody can judge for themselves.

The DC Dimming switch in OnePlus setting is no real HW DC Dimming. As far as I understand it, they just put a dim-layer over the screen to lower down brightness, instead of using PWM. So in a way they do the same as some apps on play-store that just put a layer over your screen to change it.

So your screen is "actually" brighter (which yields always less flicker), but appears dimmer when the DC Dimming Switch is on. That´s why there´s less flicker on 50% brightness with DC Dimming enabled. Because your screen is actually brighter than 50%, but with a dimlayer on top.

I think it´s basically the same "technique" OEMs use across the board. Some form of fake/hybrid DC-Dimming.

So unfortunately I don´t think there´s a way to do it better than what OnePlus is doing. Your display still pulses with DC dimming just at a higher frequency, so you don´t get as fast in the range where people get motion sick/nausea.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Hunter_20:
[MENTION=3428502]Freak07[/MENTION] Thank you for giving such a sincere reply, such posts are also rare these days, I appreciate that too!

The pwm-fequencies are very tiring for my eyes, using a flicker free phone solves the problem for me. (some ips panels used to be flicker free in the past, and later on custom kernels were made for some oled phones)

For example there is a kernel for oneplus 6t which completely flicker-free, would it be possible to include this function into Kirisakura?

https://xdaforums.com/oneplus-6t/development/kernel-imagebreaker-kernel-oneplus-6t-t3885167

https://github.com/DevriesL/Fajita_ImageBreaker

The samsung galaxy s7/s8 used to have a flicker free kernel too:

https://xdaforums.com/s7-edge/development/amoled-pwm-s7-edge-t3517739

Using an overlay on an oled screen basically gives the same effect as hardware dimming, as there is no backlight in an oled-panel. But the problem with app store dimmers is that they break FOD, autobrightness, screenshots are getting dimmed, and they are not user friendly because they never work as a slider. So the oneplus dc-dimming method is perfectly fine, but they only did it for 50% and above brightness, under 50% is still pwm dimming.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] sixisixsix:
You have some strange battery usage stats. How does uber eats use 24% of your battery and why would you let it? Disable background services and mobile data assuming your only using it at home with WiFi.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] TotallyAnxious:
Because I manage an animal hospital and do multiple orders a day for lunch and dinner. And that's over 4 days lol notice how those numbers added up are well over 100?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] sixisixsix:
Does this kernel allow for external wifi adapters?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] TotallyAnxious:
I know.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] sixisixsix:
what?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
[MENTION=10422115]sixisixsix[/MENTION] Android doesn´t reset battery stats, if one doesn´t charge the phone completely. There´s a way to just stop charging once a certain % of charge is reached. This will cause battery stats to be accumulated over multiple days, rather than being reset every charge.

I don´t have one. If you can research, if there´s a certain config in the kernel that needs to be enabled for your adapter, I can give it a try/look for you.

I know about the work of this developer, however I generally don´t like to implement features I don´t fully understand. I talked with another fellow developer [MENTION=3088420]tbalden[/MENTION] about this topic on the Pixel 4 XL already.

The 7Pro also uses a different panel and the display driver is different.

We also asked on the github for an explanation, but never received an answer so far: https://github.com/DevriesL/Coral_I...55833b0fb035c4de276f92#commitcomment-36782192

From the looks of it, it does something similar than OnePlus approach I linked you in an earlier post.

OnePlus does nothing else, than overlay the screen. There is no real DC-Dimming. They just keep PWM at a higher freq, so it reduces the effect you notice. My guess is that ImageQuality gets worse and worse, if they don´t weaken this approach on lower brightness levels.

Did you use devices that could make use of these kernels to see if it really reduced the strain on your eyes, even on low brightness?

I have however another maybe not perfect solution for you, but it might be a workaround. Get familiar with tasker and setup a few profiles you can easily trigger that make use of KCAL.

Keep your brightness above the level, where it results in strain for your eyes and then reduce R G B via KCAL in equal parts. I think it should dim the display, while keeping the higher PWM freq, that´s fine for you.

path to the sysfs of KCAL is: sys/module/msm_drm/paramters/kcal_***
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] beeshyams:
[MENTION=3428502]Freak07[/MENTION]

Apologies for asking again and also being OT. Are you considering Pixel 4a? Asking because that's my second device along with One Plus 7

Take care, keep safe
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Hunter_20:
I was hoping the dc-dimming method of that kernel could be included in the oneplus 7 kernel. It would be the perfect solution, as the description of the commit says the original brightness stays on maximum. So that means never a PWM-frequency is kicking in, not even below 50%. (The Oneplus dc dimming method is somehow not the same below 50%)

I wish I could integrate this code from github my self to the kernel, but I'm not a real programmer, and don't know how to do it. Is it doable to merge this code? I would like to be the first tester if possible.

Yes I have such a device, my galaxy s7 edge doesnt give me eye fatigue with custom flicker free kernel, even on low brightness for longer period of times. But the device starts to get a bit dated now.

Thank you for the Tasker and Kcal hint, I will take a look at it.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Batsy538:
Just one noob question would it be a problem if I flash the kernel without the magisk module as I don't intend to flash(not yet)?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] AnnoyingZlatan:
You can do that
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] LDKDante:
Is GPU driver handled by the kernel? I've been trying to update my GPU drivers from this source

https://xdaforums.com/poco-f1/themes/driver-adreno-600-series-opengl-vulkan-t4089967/amp/

But not seeing a thing but bootloader unlocked warning. Wondering if kernel is not working well with it or device itself is at the fault
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
Part of it is in the kernel. Another part are the blobs you linked, and another part is in the devices´s firmware.

Be aware that flashing the updated blobs can cause random issues. Camera stops working, random apps crashing, reboots etc.

Another example: this month security update on the pixel contained an update to the kernel backend, that needed updated firmware, otherwise the phone would crash.

I´d leave this part just alone if you have no issues. The kernel is fine, it´s on OnePlus to update these blobs for the device. They (should) do extensive testing to make sure the new blobs from qualcomm are working properly.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] sixisixsix:
Nevermind
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] sixisixsix:
Spotify will not work once screen powers off and neither will V4A. I'm running 10.3.6GM21AA, beta magisk and fxv2.7.2.1, I know spotify version is irrelevant. If anyone could help if greatly appreciate it.

I'm now looking for a new rom, but lineage doesn't have WG kernel support, and Crdroid allows for Signature spoofing which I want to avoid for security reasons.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] sandto91:
Can I use this kernel on my oneplus 7t? Or is out there something similar? Want to use usb hub working with 3rd pary hubs
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Limon_Lime:
How to safely install this when I currently have smurf kernel installed?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] christantoan:
Flash stock first then flash this kernel.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] billyt1:
Just because it's allows signature spoofing doesn't mean you gotta use it. Plus a lot people would want signature spoofing if they was using microG so actually a nice feature for a rom to have. If you was worryed bout security you need to look at dm verty disabled, SElinux set to permissive, CrDroid is a good rom an that spoofing feature is there for your pleasure. Not your security. An I would always use FKM to back up my kernel b4 I flash a kernel. Also look at battery optimization settings for your issue. Android 11 even worse about it.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] gozzaa:
thanks so much for this kernel. it actually makes this phone working with docking stations (monitor + usb hardware)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
Hey everybody,

So here´s the deal about the XDA Migration. While I welcome the change to basically get a faster and more modern forum there are also some problems that happened during the migration.

The biggest problem right now is that all of my OPs got reset several months back and I currently have lost the content of these months. That means all changes I added during that time (most obviously changelogs, but feature updates/additions etc, repair broken links) are missing completely.

It seems there is still work being done in the background, but all of those threads have not been repaired or showed any signs of changes during the last week while the migration happened.

I got not very clear replies when asking for help in the thread we all were supposed to reply to in case certain parts are broken or missing. I had hoped XDA would fix my threads in time for the security updates on the Pixels at least. But with today being patchday (probably), I don´t have high hopes it´s going to happen.

It´s unfortunate, because I think my OPs contain a lot more information or links when compared to other OPs. In the end this is a loss not only to me, but mostly the whole forums and its users. So I really hope it will be fixed soon.

But what I will do is the following:

I´ll just change the thread title to reflect the correct date and kernel version. I will not update the OP until there is clear information that either the content will not or will be restored.

I´ll just put a release post here in the thread once the new update for this months security patch is ready or I will update the kernel.

The release post with the downloads for latest release 2.0.0 can be found here:

https://xdaforums.com/t/kernel-04-0...r-op7-pro-aka-guacamole.3933916/post-83555997

Once the release post for December Update is ready I´ll just post it here and update the thread title.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] kieffey:
It may have been answered already...Is Havoc able to run on F2Fs?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] auggie246:
Doubletap2wake is always enabled after reboot, despite setting exkm to disabled and apply on boot
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
set apply on boot delay in exkm settings to 45 seconds or higher :)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] auggie246:
Oh wow thanks!!!!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] imaGine00:
Hi Freak07,

I've been using your kernel for ages and I love it :-)

I just switched to openbeta A11 on OP7 and I have two questions:

- Is your kernel compatible ? Or have you some plans making it compatible with A11 ?

- Since I installed A11 via local upgrade on oos, TWRP has disappeared eventually. I tried to reconnect my phone via adb shell on windows, adb devices OK, reboot to fastboot OK, but I can't push a new TWRP3.5.img. fastboot boot to twrp 3.5 doesn't work :-/ any ideas ?

Thanks a lot for you work ;-)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
There is no kernel source for A11 published by OnePlus yet, so it´s not possible. I hope I can release a kernel for A11 once the kernel source is released and I find a lot of time to do the bringup again.

if the command fastboot boot xyz.img doesn´t work, either your platform tools are outdated, your fastboot drivers borked or OnePlus disabled that command on Android 11.

maybe twrp needs to be updated for Android 11. But that´s really a question for the TWRP thread.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] spheady:
This is the fastest kernel I've found and has the best compatibles for USB OTG and other stuff for 10oxy. I hope it becomes available on the OS 11 that Oneplus is beta testing soon.