yashsingh1/xdaforums huggingface dataset:
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] Freak07:
Hello everbody,

if you´re interested in helping me testing some of the releases before they are published on XDA, I might need some help for that in the future.

For most devices I have a small group of testers gathered in a private slack group.

My experience over the years brought me to the conclusion that one person can´t test every single scenario once new code is merged. It´s very helpful if there are some others just using the device as they usually would to spot potential issues.

If you´re an experienced android-user that wants to help me and this kernel along the journey, know how to take logs, how to restore your device in case something goes wrong and maybe are familiar with troubleshooting please feel free to PM me your slack E-Mail.

I´m sure that if you meet these criteria and are prepared to show some courage that there are a few things everybody can learn from everybody else.

In the past we managed to gather some very fun to work with groups, consisting of great people, that helped me a big deal. :)

If you´re interested in getting kernels ahead of the release just for the fun of it this is not the place. It´s not the place to get support like some other kernels offer on telegram. I won´t do any extended hand-holding.

I would like to ask you to run the kernels reliably (I know everybody has a private life and sometimes no time :) ) ahead of the release and report back in case of issues. With proper logs, steps to reproduce.

Just like it´s mentioned on the 2nd and 3rd post of this thread, you need to be able to reproduce the issues on a firmware without further modifications. If you can only use your phone with 20 magisk modules on top, and you can´t restore quickly to a complete stock setup in case of issues, this group might not be the right place.

If you want to give it a go, just PM me your Slack E-Mail and I will add you to the group :)

I wish everybody a nice day.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] E!ad:
[MENTION=3428502]Freak07[/MENTION] Hi, Are you working on OnePlus 8 version?
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] burtonlax:
I'm not getting advanced color control in EXKM. Is there another way I can load kcal profiles?
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] anetar:
OnePlus 8 version?

please
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] burtonlax:
8 pro

Edit: lol thought I was being asked
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] deepak jr:
Can you have have Franko kernel download configs like this?

https://raw.githubusercontent.com/engstk/kernelfkm/master/updater_op8_oos.json

it'll be easier to update the kernel everytime there's an update.

Great work btw. Been using this kernel since it came out and it has always been amazing :)
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] MrPhilo:
[MENTION=3428502]Freak07[/MENTION] when do you normally wipe cache from recovery?
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] MrPigbot:
Does this work fine on 10.5.11AA?
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] mbze430:
it doesn't look like the kernel been recompiled with .11
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] ssHBalu:
:cowboy: would be great to see an update for 10.5.11.IN11BA

anyway, thanks for this great kernel and all the work on it :D
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] daviworld:
Well we're at 10.5.12 now
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] pyry666:
Sure if you are 10.5.12NA. EU version is 10.5.11BA

Edit. Same build different build number..
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] daviworld:
Oh, thanks for the reminder, I forgot about the international version numbers. Well either way we will probably see an update within a week or two, the dev was really good at keeping up with the OnePlus 7 pro kernal updates about a week or two after OnePlus updates
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] Freak07:
It’s already in the works and being tested :)
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] GODSteven:
Will this kernel be unified at some point?
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] digkong:
Any possibility of OnePlus 8 support?
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] ssHBalu:
will there also be a Kirisakura_Companion_OP8p in thw future?

+ When I debloat the op8p to get rid of oneplus and goole stuff I don't like, is there anything I should not remove because any feature usage?:confused:
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] JonnyJaap:
Like the discription and functions, exited to get it on my devices with 10.5.11, when finished.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] deepak jr:
It is compiled with clang 11.0.3 .
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] JonnyJaap:
Do you use 1.0 kernel with 10.5.11/10.5.12?

Because

"

1. Download the latest kernel.zip and make sure you have properly updated to the latest matching OnePlus firmware. When OOS receives an update it takes OnePlus a while to release the source code for the new OS and me a while to build a new kernel. If you don´t want to face any issues, wait until I either release an updated kernel or give green light because there were no kernel changes.

"

That's why I have not flashed it yet.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] EMJI79:
[MENTION=3428502]Freak07[/MENTION] do you possibly have a non rooted version of your kernel to share ?
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] str8str:
They're are no downloads/kernel zips in the folder
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] wawanRedblack:
Waiting for oneplus 8 ???
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] Freak07:
As far as I´m aware it´s not possible to boot the OP8 with a kernel (zImage) that´s been compiled for the OP8 Pro.

Kernels that support both devices in one zip, have two zImages in the kernel.zip and some logic decides which one to flash.

Last year the OP7 was working with a kernel compiled for the OP7 Pro and vice versa. OnePlus kernel tree was unified. Sadly this is not the case this year.

I lack the time for remote debugging at the moment, so it´s probably not going to happen. Sorry about it. :(

You should be able to boot TWRP and flash the kernel without root from there.

Follow the link the OP and make sure to click on the Android 10 folder. The zip is in there I just double checked.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] Freak07:
Update to 1.2.0

Hey guys and girls,

Sorry about the lack of updates, but I recently struggle to find time, to do regular releases on XDA as typing these release posts takes a bit of time as well. I don´t want to do any half-baked stuff, so I guess the wait is worth it for some.

Patience is a virtue after all.

The kernel was featured on the XDA-Portal a few weeks ago as it had Control Flow Integrity included, as I described in the OP, which is a first for a 4.19 qcom device. :)

Link to the XDA-Portal article, which also contains a very detailed description. I suggest to give it a read :)

Additionally to CFI, this release introduces Shadow Call Stack (SCS). It´s another security patchset that is aimed at preventing attacks via return oriented programming (ROP).

ROP is a technique where the attacker gains control of the kernel stack to overwrite function return addresses and redirect execution to carefully selected parts of existing kernel code.

If you´re interested here are a few good links:

Google Security Blog explaining SCS.

LLVM doc about SCS

Android DOCs documenting SCS

This is another big update to the kernel. As far as I´m aware the only devices including this patchset from factory are Pixels, starting with the Pixel 3.

The latest source updates from OnePlus are merged as well. That means you

MUST

update to either OOS 10.5.12.AA or 10.5.11.BA before you flash the kernel.

It will not work on older firmware!

Other changes include CAF-Upstream, Linux-Stable upstream and a few others.

Detailed changelog below and on github.

I´d advise everybody to read the instructions in the OP and follow them. They are written for a reason, because they ensure everything will be working as expected.

Kernel is made for the latest OOS firmware from OnePlus, you must update your phone to the most recent OnePlus update, before flashing the kernel.

Enjoy!

Changelog:

- Implement Shadow Call Stack

- Include latest OnePlus updates (make sure to properly update to either OOS 10.5.12.AA or 10.5.11.BA! The kernel won´t work on older firmware!)

- Linux-Stable Upstream to 4.19.133

- update clang to latest prebuilt 11.0.3 from Google

- Merge CAF Upstream

- patches from kernel/common

- minor

I wish you all a nice day/evening!

Download is below :)

Download:

Disclaimer/Important:

Kernel: https://www.androidfilehost.com/?fid=8889791610682913357

Instructions how to flash the kernel can be found in the OP!

But look at this post too :)

Have fun, enjoy the kernel and your phone.

If you like my work please consider a donation.

Donations are not mandatory but very welcome.

If you like my work and want to buy me a coffee/green tea: http://paypal.me/freak07
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] Surfeur-des-Reves:
Big Thanks, Champion! ^_^
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] Imprezzion:
Flashed, running like a boss so far on xXx with many more mods. Only lost 8% battery in a day of light usage like.. amazing.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] EMJI79:
And to revert back if needed, can I just fastboot flash the boot from the stock ROM ?
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] cultofluna:
[MENTION=3428502]Freak07[/MENTION] is the CPU min freq for the small cluster, 300mhz set from default?..

Shouldn't be 691?..
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] Freak07:
Yes as described in the FAQ. Either flash the stock boot.img via fastboot or flash stock firmware.

The kernel is not responsible for this. I don´t remember putting a hard limit in t here. It is set to 691mhz during bootup by qcom post boot script.

Here you can see it:

https://git.rip/dumps/oneplus/onepl...-keys/vendor/bin/init.qcom.post_boot.sh#L5065

If it ends up on another value I guess there might be another script, tweak, remnant of another mod/kernel or maybe a kernel manager setting this to 300mhz.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] cultofluna:
[MENTION=3428502]Freak07[/MENTION] I've noticed sometimes that small cluster stuck on 1075 mhz for a while , mostly after heavy tasks..

Don't know if this is a normal behaviour ( could be ,.. not sure about it)

I've reproduced and recorded two logs ..if you don't mind to take a look..

https://drive.google.com/folderview?id=1Aa4o0jiXZOZMxwbPx8T0HGLF7ZPGPBBj
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] Freak07:
That sounds like normal and expected behavior.

If the phone is doing something in the background after you’re finished with your heavy task, it gets most likely scheduled to the little cores to save battery.

Depending on what apps you have installed, what services are running and other factors this can take a few moments.

Keep in mind that frequency monitors or overlays add a bit of load by themselves.

I wouldn’t worry about it. :)

Like I said it sounds like there’s nothing wrong if it drops again after a bit :) the little cores are extremely efficient.

But just for reference maybe it’s helpful for some:

A dmesg and a logcat isn’t really helpful to analyze scheduler behaviour though. You can take a look at developer options then find an option called system tracing. Then add the quicksettings tile.

Now press the tile, reproduce the behavior and after you’re done press the tile again.

You can find the trace in /data/local/traces. It might be a large file depending on the lenght of the record.

Upload it somewhere and it can be looked at :svetius:
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] str8str:
Anyone know how to center the clock and add date in status bar without using Xposed
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] MrPhilo:
Mine is 691.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] Tilde88:
Greetings. Thanks for the work. FYI, KCAL appears to be missing in 1.2.0.

Original KCAL app, FKM, EXKM, none of them see it. Ty
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] str8str:
What is the scedtune boost for in cpu boost and can we enable or should we? Any recommended settings for it if so
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] Freak07:
That´s not subject of this thread.

It´s an additional way of boosting the scheduler during interaction. Instead of boosting frequencies, you can boost the load from a task artificially by the margin you define there. (so by setting top-app boost to 10, you will make tasks of that group (ui criticial tasks) appear to be 10% more "heavy" to the scheduler)

It can be easily accessed via the cleanslate Config, that you can find on the cleanslate thread. Alternatively it should be accessible in EXKM as well for example.

If you´re device is running fine, and you´re satisfied there´s no need to play with this :)

Hey :)

This kernel includes the rootless cleanslate features from [MENTION=3088420]tbalden[/MENTION]. That means KCAL can´t be controlled by traditional kernel managers, dependant on root.

To access KCAL, just go to the cleanslate thread, download the config app. (although I´d recommend to install both, config and companion app, so you can just have a play with all cleanslate features ;) , not only KCAL )

You can access KCAL via the cleanslate config app :)

as it should be :)

like I said the kernel doesn´t change it, it´s controlled by userspace from the qcom post boot script. Something is overwriting what is set by default there.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] str8str:
Is USB fast charging enabled or can be
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] JonnyJaap:
Fast charging with the shipped power brick works without any changing settings.

---------- Post added at 10:10 PM ---------- Previous post was at 10:08 PM ----------

The kernel works great, amazing battery time.

Glad you make it, thanks.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] str8str:
Yes but I'm referring to USB fast charging via a USB plug in your car etc
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] JonnyJaap:
So not oneplus dash charging but USB C fast charging?

Just tested my laptop charger on my one plus 8 pro, it says charging rapidly on the lock screen.

With this kernel
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] smartymcfly:
Try it with a plug that has usb-c and usb-b on each end of the cable connected to a cpu.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] str8str:
Can you tell me how to keep TWRP installed.? When flashing a new kernel or boot img it gets wiped does it not? I installed this kernel and I did a oos system update I didn't boot went to magisk tried to install the TWRP retention module but it said couldn't find twrp ramdisk and failed. Do I went ahead and choose to install magisk to inactive slot that went good rebooted and that went fine. But I missed or did something that wiped twrp as the retention script couldn't find it. Tia
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] Freak07:
No I won’t add this. It’s a safety limit that’s there for a reason.

If the first port on an ancient motherboard is fried and somebody got their phone damaged bad luck happened.

Battery is non removable and I don’t like to play with charging drivers.

Fast chargers for cars are available that charge way faster, than this kernel override allows for, without any risk. It’s a good uncleaner investment.

That’s not subject of this thread. Twrp won’t get wiped if just flashing the kernel.zip.

An OOS update will always overwrite twrp if I’m not mistaken. That’s a question for the TWRP thread. :svetius:
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] daviworld:
Hey Freak,

Would it be ok to update to the new update using your Kerbal, since it wasn't too many changes applied this update.

Best,
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] cultofluna:
Only an OOS update will be overwrite a permanently installed twrp , indeed..

Twrp won't get touched , by flashing stock boot or a kernel
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] ronakbarman:
A small question here, is factory mode part or kernel or oos updates? After the lastest oos update, cannot seem to access the photochrome camera through factory mode anymore. Question may be is not related to kirisakura( as I haven't flashed it yet) but you seem very knowledgeable so please provide a little help ?.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] s3axel:
Factory mode is an system-internal app and thus part of the OOS package, it has nothing to do with the kernel....
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] MrPhilo:
Anyone used this with the new update? Seems like minor changes, but like to make sure :)
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] golf60:
There were no source updates in latest kernel push from OnePlus so all should be fine.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] rayalien:
Dose it can be used in custom ROM ? or just working on OOS/HOS ?
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] The Peterle:
It is explained in the OP.

"

Main Features:

- Based on latest kernel sources from OnePlus for Android 10 and intended for use on OOS-Stable releases"

Custome Roms based on OOS should work for sure. LAOS based roms are not recommended.

Regards Peterle

Gesendet von meinem IN2023 mit Tapatalk
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] Zinux:
The kernel is good, smooth and fluid experience but the battery life is draining slightly faster on basic (light) usage compared to other kernels. Is there anything I can do?

Overall experience is good, thanks everyone who worked on it, such a generous contribution to our beloved community.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] ssHBalu:
Will there be a pull request for adding nethunter kernel features?

I saw there is something in develop? (correct me if I'm wrong ^^)

https://github.com/kimocoder/Kirisakura_OP8PRO_InstantNoodle
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] mb300sd81:
[MENTION=3428502]Freak07[/MENTION]

I'm trying to rebuild the kernel with a few changes to work with the LineageOS ROM here. There seem to be a few broken symlinks when cloned from github. Could you please fix, or let me know where to find the files?

./Documentation/devicetree/bindings

./techpack/audio/soc/pinctrl-utils.h

./techpack/audio/soc/core.h

./techpack/audio/include/soc/internal.h
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] Freak07:
take a look at this commit, I guess it will help you:

https://github.com/kristofpetho/ker...44dcba4#diff-472a5cc02227ab266fb1f41c7854bb5e

It´s OnePlus that has broken the symlinks.

You can either choose to use the commit above or place the kernel repo in folder that resembles the following structure as an example: OP8PRO/kernel/msm-4.19/

the kernel/msm-4.19/ part is the important part, as that´s how OnePlus has it when they build their complete firmware package.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] mb300sd81:
Got it, thanks!
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] ronakbarman:
Can't seem to select bbr2 in fkm, stuck on Reno, when I try ex kernel manager, able to change it, any clues? Did install stock rooted boot image before switching to this kernel.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] wawanRedblack:
We want this on op8 regular
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] MrPhilo:
Is the GPU boost in EX Kernel App and Clean slate app the same thing? When I change one in either App, they don't change on the other. For example, I disable it in EX app but on Cleanslate it's at 1 still instead of 0 and vice versa.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] bjevers:
This is for OOS only, not custom roms.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] CoolPyr0:
yes i know iam tryig in stock rom
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] bjevers:
Sorry, read your message wrong.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] JonnyJaap:
I have no problems with this or other kernel and the fingerprint reader on OOS.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] CoolPyr0:
see guys when i use this kernel or any custom kenel fingerprint option is gone

https://ibb.co/R35kn4Z
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] ssHBalu:
will it still work with 10.5.14.IN11BA?

+ did anyone test it with RenovateICE OOS?
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] EMJI79:
How much better battery life do you get from this kernel compared to stock, approximately?
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] Freak07:
My advice is to just flash and find out for yourself. It’s easy to revert back to stock.

Everybody uses their device differently. As I see it, it’s pointless to compare this across users.

If I’m not mistaken I tried to avoid mentioning battery life on purpose through the entirety of the OP. ;)
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] EMJI79:
Ok, sorry.

I flashed your kernels on HTC and Pixels in the past and would have flashed your OP one again if I didn't have to unlock bootloader again (which I locked again in an unbricking situation) and have to download all my apps again.

I guess I wanted to hear something like "I had 4h30-5h SOT and now I have 6h", just to motivate me.

Maybe it's psychological.

:)
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] Freak07:
No need to apologize, I remember you :)

Isn’t the OP psychological motivation enough? There are a few cool features in the kernel.

Customizable sweep to sleep, which can be adjusted to your liking for example.

Or the enforcing CFI as an additional security feature. :)

I tend to not follow that “race” for the pursuit of extreme battery life. Be it with the kernel project or when using my devices. There are some changes that could make a difference, but it’s really best if you try for yourself.

Google backup and restore works quite well for me. Usb transfer speed is way faster than a few years ago. :)

Maybe the curiosity just needs to grow a bit.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] Imprezzion:
Just FYI, I updated to 10.5.14 EU update and the kernel runs fine on that update.
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] Freak07:
OnePlus didn´t push any new kernel changes to their github. I just checked again to make sure and all source code available is merged.

Thanks for letting the thread know it works still fine [MENTION=4381256]Imprezzion[/MENTION] !

It should be fine to be used with renovate [MENTION=9001573]ssHBalu[/MENTION] :)
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] sportytony:
[MENTION=3428502]Freak07[/MENTION] Awesome kernel! Thank you. Donation sent!
[OnePlus 8 Pro  ROMs, Kernels, Recoveries, & Other ] Freak07:
Glad to hear that! Thank you very very much! It´s truly appreciated!