yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
It should still work like before as the commits are included. (if you refer to the idle charging mode "feature" that´s being controlled by ACC)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Beachbum2049:
1.1.3_R working so far on 7 Pro flashed by EXKM. Thanks!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Mohitash:
Flashed the new update with FKM. Working great so far.

Just noticed one thing, after restarting phone (after update) fingerprint animation was not working then I selected animation again in settings now it is working as before.

It's not a bug may be. It's just a so called cache update. It confirms that some changes are made in kernel (source) related to fingerprint sensor.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] nikifeto:
Hi, working perfectly on Oneplus 7T Pro but after I flash the f2fs zip from arter that you've posted I am stuck at recovery mode. Any advices?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
Maybe try to format data in stock recovery again. I dont know about switching to f2fs on the T series.

Interesting observation. The kernel isn’t really responsible for the animation itself as the animation is in the framework.

There were no changes to the fingerprint sensor driver in the second source drop from OnePlus.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] nikifeto:
originally this zip was created for T series because the regular 7/pro can format to f2fs thru twrp, so I don't think the problem is in the zip
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
I never said the problem was the zip. However if it would have worked fine, the kernel should have no problem with f2fs.

You can try to flash back stock kernel by flashing boot.img as well as dtbo.img from the firmware.zip. See if that changes anything. The stock kernel supports f2fs as well.

My thought was that stock recovery would format back to ext4, so you can get back up and running.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] sudhanshugrover:
Has the issue with the proximity sensor for T variants resolved, by any chance?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
No the proximity sensor remains broken on 7 and 7t as it seems. Pro variants work fine, both 7 pro and 7t pro.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] daniel84cs:
Thanks for your work , i've Amazing performance and battery , I love It 😍
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Ramalama:
Didn't worked. To make a kernel backup as boot.img, you need actually convert it to boot.img format.

Additionally to that, no one provides anymore boot.img kernels, only flashable zips.

However:

1. TWRP: Blackup & Restore data partition, is broken!

- I found that sadly out, after i successfully made a backup and successfully restored the backup after reflashing the rom, after the tests.

The problem is, even if it actually does restore the backup, there are some broken files or rights.

After the restore /data looked okay, but /data/app and some other folders looked messy. However, the phone can boot, but it can't start the ui. You will get an infinite "Starting System" message.

So if anyone does backup/restore with twrp, don't. Just backup your phone any other way.

2. This kernel doesn't work/doesn't even boot with crdroid/derpfest (custom android 11)

- So this question is solved, if someone is asking in future.

- At some point this kernel will maybe work, if the custom roms, did the switch to the frameworks or whatever is needed for an a11 kernel. But this will get anyway mentioned in the custom rom topics.

Cheers
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
You can backup boot.img with exkm (fkm has an option for that as well) or via terminal and dd if you’re rooted.

That can be flashed via fastboot.

With a bit of research one can repack a boot.img with the contents of a flashable zip as well. It requires some terminal usage though.

Thanks for trying and the report. That piece about twrp might be helpful for some other users.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Ramalama:
Thanks for the info. I didn't used exkm/fkm ever before. And i wasn't rooted. So yeah, probably next time 😂

About the repacking, that's correct, i found that myself too, but didn't wanted to invest the time to learn something new, just wanted to test the kernel here fast for everyone.

Another helpful hint that i found out:

You can actually boot twrp with fastboot on android 11 (this kernel or oos).

But the hack is, to fastboot flash boot dummy.zip

It absolutely doesn't matter what is in the zip file, after a reboot of fastboot, you twrp will be bootable.

But your bootloader will be broken (you can reflash with twrp anyway).

Dunno if this will be ever helpful to anyone.

Edit: Every kernel developer should provide at least one boot.img formatted kernel, it can be super outdated, but would actually super help in situations like this 🙈😂

However, have fun all 😘
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] RokCruz:
This way I mean, tomorrow I'll try with KangOS(now I'm on stock) twrp work form me without problems and maybe f2fs too with Kirisakura
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ChrisFeiveel:
twrp works for you because data is formatted in f2fs and is therefore no longer encrypted
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
formatting /data to f2fs on the op7 or op7 pro keeps encryption working just fine. As you mentioned TWRP won´t work when the device is encrypted though.

I don´t know the current state of the op7t and the op7t pro regarding conversion to f2fs and the device being able to use encryption for FBE, as I don´t have such a device.

But I know on Android 10 FBE didn´t play nicely with f2fs on the T-Models.

Somebody with a T-Model that took the jump on Android 11 should probably be able to shed light on this :)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ChrisFeiveel84:
with a10 there were no problems with the arter97 kernel and its zip for reformatting in f2fs on the 7t. After reformatting in f2fs, the device was no longer encrypted (I haven't tested it on a11 because there was no custom kernel to support it) but f2fs doesn't really bring an advantage on the 7t except that the 7t then runs unencrypted
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] qikxotik:
Just reporting in, Op7Pro-global(AA) install of yesterday's 11.3 kernel been running fine for about 12h now.

Hopefully save some other folks some heartache, A11 doesn't yet have a working twrp recovery so don't accidentally flash it unless you want a boot loop trying to boot into it. If you do get stuck here, grab a copy of the boot.img [some thread here probably has the ota assets available], flash that over your corrupted one, and then you'll have to re-magisk via patching that boot.img file on next boot, then 'fastboot flash boot magiskpatched.img'
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] daniel84cs:
@Freak07 Do you have the support of FK manager in plan? At the moment it is not possible to manage the GPU frequency. I've been trying it for days on OP7 Pro, always updated to the latest version, it's exceptional.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
what do you mean by support of FK manager?

If FKM can´t control the gpu frequency, it´s not a kernel problem. Probably the kernel manager app needs to be updated.

EXKM has no problem handling the max or min GPU frequency on my end.

I noticed, that I set 585mhz as the max GPU freq though on bootup, because that is what the op7 pro (which is the device I own) uses as default maxfreq on the sd855. I unlocked the 675mhz step for regular sd855 devices as well.

So currently op7t and op7t pro will also use 585mhz as the max freq, as my kernel.zip sets this as max freq during bootup. Somebody already notified me about this and I´ll try to find a way to set it to 675mhz default on the 7t devices. :)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ChrisFeiveel84:
Works on fkm and exkm

(On 7t)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ChrisFeiveel84:
for those who have a 7t or 7t pro you can edit the lines here before flashing and then flash the kernel then the max 675mhz gpu is set on the 7t / 7tpro

Is the init.kirisakura.sh in the zip
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
I had a major headache with this device and I think it was ultimately caused by twrp.

Read a bit back. I tried to explain it as best as I could.

I need my device to be fully functional currently that’s why I resorted to just exkm and magisk. Which works pretty good actually.

No need to replace any ramdisks for me :svetius:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] RandomPooka:
Good to know. I was running EX when I flashed your kernel.

Flashed stick in EXKM and immediately flashed Kirisakura over it, then hit Magisk Manager and flashed twrp and Magisk.

Since I was technically running a non-stock kernel (EX) while flashing it, would vendor files copy over?

---------- Post added at 04:52 PM ---------- Previous post was at 04:49 PM ----------

Wait... No. I was on stock, because EX 1.05 was built just before the OTA to 9.5.7 happened and I wasn't sure if it was optimal.

Either way, I went back and flashed KS again after I read your reply. I should have all the needed files in place now.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] kezzuki:
Hey OP, the kernel has been preeeety stabke over the past days i have been using. Thank you again for the work!

I do have 1 specific problem, which i dont know if it is the kernel or OOS.

I use google's Gmail app with gmail acount, and i have sync turned on aiming to receive emails as soon as possible. I also have the gmail app locked in Recent apps as well. No advanced bettery optimization enabled in battery options and i have no other apps likr brevent and no other magisk modules beside kirisakura compabion.

However, after the phone has been screen-off for a while, i dont get any emails until i unlock the phone, or, sometimes the emails come but are delayed for like 10+ mins.

I saw posts about this reasoning that the gmail app is a system app and is by default battery-optimized. Do you think this is the issue? I do get notifications from other no-battery-optimisation apps immediately.

Or do googles wakelocks habe anything to do with this?

I was also searching abit about convetting system app to user app (without modifying system partion, so that safetynet passes) so that i can put it on no-optimisation list...but no luck.

Thank you again for your time.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] nycdiplomat:
[MENTION=3428502]Freak07[/MENTION] good to see you deving on the Op7 pro. Your kernel for the Pixel 3 Xl was my favorite by far. So far so good after 24 hrs on this device. Well done sir!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] :
Get Gmail battery fix module on magisk
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rickysidhu_:
And this is only the case if flashing via exkm? Not TWRP?

Thanks in advance and thanks for the update :)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ichbinsauch:
Hello ! I have no wlan since flashing the kernel.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] schmeggy929:
Flash Kernel twice
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
Do what’s described in this post:

https://xdaforums.com/oneplus-7-pro...akura-1-0-0-op7-pro-aka-t3933916/post79676175
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] miffymiffy:
​

I've tried everything. No luck. Just can't get wifi to start. I'm on GM1910 with 9.5.7.

Twrp, clean flashed, method above, through exkm...

Lots are attached from syslog
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] edwardeutsch:
Can't get this to work on (GM1903) OP7, tried all the way you suggested. System boot up but freeze when on first pattern lock after sim pin code.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Curry007:
kernel

What should I do if I want to return to other kernels?

After the flash restore does not restart to continue the flash boot.img?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] liver20:
Hi...

I can help you

Go to twrp and flash stock boot img and twrp installer and reboot system

STOCK boot img for gm21ba

https://androidfilehost.com/?fid=6006931924117889793

Go to wifi, and you will see that works

Go to twrp again and flash magisk and kirisakura kernel and reboot....

WiFi working again

[MENTION=3428502]Freak07[/MENTION]

Enviado desde mi GM1913 mediante Tapatalk
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] :
Do you have Touchboost or dynamic stune on?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] MarcoG::
for what is the magisk companion module?

Gesendet von meinem Renovate ICE 2.1 GM1913 mit Tapatalk
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rav101:
It sets all the default settings to get the most out of the Kernel
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
It’s for correcting selinux denials via magiskpolicy (otherwise battery settings are not accessible for example. It also allows setting some tweaks to the kernel systemlessly. It’s pretty handy for me :)

I don’t know exactly what OnePlus did that would cause that much selinux denials by merging a newer kernel base. But the module lets me correct that quite easily.

That way you can just remove the magisk module, flash the restore stock zip, flash stock boot.img and get back to stock easily :svetius:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] niko2931:
[MENTION=3428502]Freak07[/MENTION]

I hope it's okay that I ask this..

But compared to stock what does this kernel focus on?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
I have no idea unfortunately. I think there are a few "power saving" features in OOS that sometimes prevent notifications. I noticed this on the first few days using the device.

It seemed to happen less lately.

Thank you very much and enjoy :)

Unfortunately I cannot help you, if it works for me and others. I have no clue what could be wrong on your device.

Read the OP to see a rough overview of the features. Although I have to include changes from 1.2.0 and onwards.

It has latest CAF (where qualcomm development for our SOC happens) source merged in. As well as latest linux-stable.

There are many links in the OP. Start reading and I´m sure you get an overview.

I won´t tell you, you will have magically better battery life or performance. Try it for yourself and see :)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] niko2931:
Okay thanks! Got some night reading tonight!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] daniel84cs:
Thanks Great 😍
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mugaintus:
I am not sure if I read right. Do you mean that with A11 T-series users can now use the stock kernel with the data formatted with f2fs? 'cause last I remember it used to require a third party kernel. Please let me know. Thanks :D
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] RokCruz:
T series can't format data in f2fs? I formated it in Android 10 with stock kernel in my 7 Pro without problem
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] jumpcom:
Writing 'dtb' FAILED (remote: '(dtb_a) No such partition')
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] damien56:
I have installed the Kirisakura 1.1.3_r to my oneplus 7 pro that is running LOS 18.1 official and the WLAN is not working at all. I have installed it through EXKM and everything seems to be working (except for the WLAN). I don't know if it is something on my side that I need to do or this kernel is not yet compatible with certain custom roms.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ChrisFeiveel84:
7t and 7tpro

Have you flashed the kernel with fastboot?

Flash the kernel.zip with kernelmanager not with fastboot
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] DahakePL:
Can you please include FKM integration?

Having kernel OTA is so cool!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mugaintus:
Yeah it works on the non t-series but not on the 7t #+and t-pro
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] RokCruz:
Installed on KangOS Stout and seems to be working fine and also f2fs work too, I'll test it for some time just need to figure out how to get volte working
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mrsover:
new YAAP build Version: 11.0 20210414 for 7T have patch for proximity sensor.. ) please add it also into the kernel)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] sumondhk1:
is f2fs is better ?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Jerreth:
I have formated my OP7Pro to f2fs and notice no difference at all, it is however suppose to be a faster file system. but again day to day use i see no difference.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Macusercom:
It's always good to add the matching commit(s) to help the dev quickly see where and how it was fixed. It does make it easier to add it if the dev doesn't have to search for it ;)

A quick look lead me to the device source code that apparently fixes it: https://github.com/yaap/device_oneplus_sm8150-common/commit/c2bb1ab44a16d81e066509bd5f44eefaaaa041bc

I couldn't find any matching commits in the kernel repo of YAAP unfortunately.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] OmkarTheAndroid:
This was fixing an unrelated issue, happened when the device booted too quickly, would cause all sensors to disappear

My money is on https://github.com/yaap/device_oneplus_sm8150-common/commit/351f2335b207c62eb7f33554f24272614e094e62

As for how it's fine on stock kernel + OOS but not on custom kernel for OOS, "for all intents and purposes, stock kernel is patching something but we don't really know"
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mrsover:
same commit in last derpfest R ROM

sm8150-common: rootdir: move vendor.sensors from early-boot to boot · matt0301/device_oneplus_sm8150-common@221d6fb

* fixes broken sensors due to race condition Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>

github.com
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] OmkarTheAndroid:
again the wrong one, this is for when there's a race condition during boot which leads to entire sensors stack being dead not just prox
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ChrisFeiveel84:
and that is for the rom and not for the kernel itself or am I lying there ??
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] OmkarTheAndroid:
yeah both of the fixes are rom side, maybe someone could try replicating it on oos and checking prox with custom kernel

for all we know stock oos kernel is modifying this perms on boot
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
Update to 1.1.4_R

Hey guys and girls,

alright here´s another update. Proximity sensor for 7T devices is confirmed working, thanks to @miguelang611 ! (I hope the same is true for the regular OnePlus 7, somebody else needs to confirm this here)

Edit: It´s confirmed working on the regular OnePlus 7 as well, thanks to @Madsunable confirming it here.

thanks to who pointed this commit out: https://github.com/yaap/device_oneplus_sm8150-common/commit/351f2335b207c62eb7f33554f24272614e094e62

I think it was @OmkarTheAndroid. also thanks to @Macusercom for pointing out another commit! It´s very nice to see teamwork and the spirit of the community sometimes emerge! :)

It´s interesting that this is an issue. I don´t think it´s actually the kernel changing the permissions on stock rom. The different input devices (such as brightness, proximity, pedometer) get registered in a bit of a different order on source built kernels compared to a stock rom. That can be either due to me not using kernel modules but building everything in the zImage (hence the order is different during bootup) or OnePlus not pushing the actual source.

However I´m glad this fixes it. You need to be rooted with magisk (which is a requirement anyway as mentioned in the OP) for this fix to work.

Other notable changes are regarding the scheduler. As some of you might know, as most other devices based on a CAF-Kernel the OnePlus 7 uses WALT (window assisted load tracking) to collect and provide information about CPU utilization to the scheduler.

So an interesting new thing is that we now use dynamic WALT windows. This means the WALT window, where the scheduler collects information about CPU utilization, is now dynamically adjusted whether the device runs at 60 or 90fps. This allows the scheduler to work better, since simply put, more information in a shorter time is better when the device runs at 90fps.

If you´re interested to learn more about WALT or its "counterpart" PELT have a look here: https://lwn.net/Articles/706374/

It contains a link for further information. Alternatively use Google as your best friend.

Linux-Upstream is merged as well.

Changelog:

- Linux-Stable Upstream to 4.14.230

- fix proximity sensor for OP 7 and OP 7T

- implement dynamic walt windows

Download:

Downloads for : -Android- Generic Device/Other | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com

Instructions can be found in the OP!

But look at this post too :)

Have fun, enjoy the kernel and your phone.

Donations are not mandatory but very welcome.

If you like my work and want to buy me a coffee/green tea to keep development going: http://paypal.me/freak07
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Madsunable:
Proximity sensor work perfectly on my rooted Oneplus 7 with latest Oxygen OS 11.

Thank you for this kernel! *highfive*
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
thanks for the fast reply. then I will adjust the release post accordingly.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] murti52:
Yup.. i confirm it works for OnePlus 7 oxygen 11.

Thanks a lot for the fix..!!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] daniel84cs:
Great Performance on latest OOS , thanks for the update.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] adeelsmatrix:
YESSSSssss, the proximity sensor is working on my OP7T and that was the only thing left for me. Thank you, Sir...
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] xXRapToRiXx:
I just installed the newest Kernel on my 7 pro running official LineageOS18.1 and being on the newest OOS11 Firmware files. Everything seems fine but the double-tap to wake feature stopped working. It is surely not a dealbreaker but I wanted to mention it regardless. Maybe I did something wrong tho I don't know.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Istipistii:
Does this kernel has a telegram group?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] DahakePL:
Yeah a telegram group would be awesome
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Freak07:
No you didn't do something wrong. Custom roms change the backend for the gestures in the kernel.

Maybe there will be a separate release for custom roms, like in the later android 10 days if there's no simple way to unify oos and custom ROM kernel.

No :) everything one needs can be found in this thread.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] KapilNagpal01:
Hi freak. Post installing the kernel, charging slows down compared to stock kernel. In FKM it shows only 7.7 W with Current 1818 ma and voltage 4.17 volts. Though in stock it's 12 to 13 volts. In case possible please have a look into it.

Befor in A10 this was never the case. Thanks
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ChrisFeiveel84:
the stock oneplus (7t warp 30) charger can only handle max 5 volts with a maximum of 6000mah