yashsingh1/xdaforums huggingface dataset:
[OnePlus 9 Pro] MJPollard:
There is no such thing as "battery backup." (It's "battery life.")
[OnePlus 9 Pro] pawelmiernik:
https://github.com/yc9559/uperf/releases - translate to whatever language you need. Install the latest dev release with sfanalysis zip alongside uperf. Read the instructions on how to use carefully on the GitHub page. Five modes available are "auto," "fast," "performance," "balance" and "powersave." In auto mode you can also set per-app modes. On oos13 it gives me about 10 hrs of sot during constant use like watching videos all day, when in my pocket and only used sparingly I get about 6 hrs of screen using the "balance" mode. I don't have to worry about having to recharge it during the day either way as it lasts all day no problem.
[OnePlus 9 Pro] ScoutLord564:
Does this kernel supports kernel Su?
[OnePlus 9 Pro] ffejy462:
You're kidding, right?

Please, do everybody, including yourself, a favor and read, and maybe even search, a thread before asking a question.

Your particular question has been answered multiple times by multiple people. You will certainly find it within the last ten posts. Funny enough, there's an answer (indirectly) immediately before one of your previous posts.
[OnePlus 9 Pro] eng.stk:
blu_spark_r156 release (A13 custom)

New build is up (y)

Build targeting lineage-20.0-20231113-nightly, kernel build may work with other ROMs that use similar device/kernel trees (confirm before flashing).

This is only for ROMS with A13 fw kernel patchset.

This kernel is for the 9 Pro but it's unified, so should work for the OP9 also.

For flashing and easy of install logging, Kernel Flasher is recommended

You can use Kernel Flasher/FKM download kernel feature, just import the link bellow in the app updates/flash section.

Download config: custom

Changelog:

Keep in mind: I will give no active support for custom ROMs besides LineageOS.

I am mostly interested on debugging stuff with logs and reproducible steps to replicate the issue.

No mirrors please

Don't forget to hit like, it's free :)
[OnePlus 9 Pro] Forsaked:
Is it me or is FKM gone?

Just updated to the latest LOS, wanted to flash this kernel afterwards and get an invalid license error in FKM.

Checking the Play Store, turns out FKMs page delivers an error and is probably gone.

Can anyone confirm?
[OnePlus 9 Pro] ffejy462:
He's aware of the issue.

https://x.com/franciscof_1990/status/1726209296600297671?s=20
[OnePlus 9 Pro] Zeus0fyork:
https://twitter.com/i/web/status/1726209296600297671
[OnePlus 9 Pro] MolinaGames:
man just say yes, no or dont answer. way more helpful than that. i understand ur point but that guy probably read the main post and saw nothing related to ksu.
[OnePlus 9 Pro] eng.stk:
Why are you calling out in somebody that not only helped users in other occasions and actually answered the exact same question a couple post behind?

[KERNEL] [blu_spark r175 OP9/Pro] [A14 Custom]

Kernel features: Build with custom upstream LLVM 14.x (Clang 14.0.6 + LLD linker + IAS) full ThinLTO -O2 build with device and target flags enhanced, build improvements and compiler fixes, etc Less is more: stockish OP9 builds based on...

xdaforums.com

And it was answered already several other times, including just a couple posts behind. People are bound to search instead of being lazy.

And if it ISN'T on the first post, it doesn't support it, what's the logic then?
[OnePlus 9 Pro] MolinaGames:
I just found out that there's a search bar for comments lol but still, that guy is probably a noob bro there's no need to be like that you know what I mean? I'm not trying to cause any debate or calling anyone out, I think that I just used the wrong words.
[OnePlus 9 Pro] eng.stk:
blu_spark_r158 release (A13 custom)

New build is up (y)

Build targeting lineage-20.0-20231218-nightly, kernel build may work with other ROMs that use similar device/kernel trees (confirm before flashing).

This is only for ROMS with A13 fw kernel patchset.

This kernel is for the 9 Pro but it's unified, so should work for the OP9 also.

For flashing and easy of install logging, Kernel Flasher is recommended

You can use Kernel Flasher/FKM download kernel feature, just import the link bellow in the app updates/flash section.

Download config: custom

Changelog:

Keep in mind: I will give no active support for custom ROMs besides LineageOS.

I am mostly interested on debugging stuff with logs and reproducible steps to replicate the issue.

No mirrors please

Don't forget to hit like, it's free :)
[OnePlus 9 Pro] sodnwsdho:
Thanks to the developers, will this kernel be overridden by the OTA of lineage OS（Sorry, my English is not good, these are machine translated）
[OnePlus 9 Pro] tonoalber:
Hello, I just installed the kernel on lineage 20 , but I have lost root. Where do I find the boot.img to install magisk again?
[OnePlus 9 Pro] eng.stk:
Yes, you need to reinstall after every OTA
[OnePlus 9 Pro] eng.stk:
Kernel installer keeps Magisk if installed, show me intall logs from Kernel Flasher
[OnePlus 9 Pro] tonoalber:
I can't show you the mkf logs. This appears to me when I open it. use mkf. manual installation. fash and reboot with the kernel
[OnePlus 9 Pro] eng.stk:
FKM also has install logs.

Get me install logs, a print of having root or not doesnt mean anything to me.
[OnePlus 9 Pro] tonoalber:
I don't know how I can show you the fkm logs, I can only see the battery statistics in the fkm since I don't have root access
[OnePlus 9 Pro] tonoalber:
After installing the kernel I lost root access, any solution?
[OnePlus 9 Pro] eng.stk:
FKM stores install logs inside it's folder in sdcard. You're supposed to know how to get running logs and install logs when testing stuff.

This is not a FKM FAQ thread.

Nevertheless idk if FKM is compatible with vendor_dlkm flashing, I recommend Kernel Flasher.
[OnePlus 9 Pro] tonoalber:
ok I have found the log, sorry for the inconvenience but it is the first time I install a kernel. in the installation log it is this
[OnePlus 9 Pro] eng.stk:
Why are you attaching an incomplete screenshot instead of the log itself? This is common sense.
[OnePlus 9 Pro] tonoalber:
resuelto, lo siento
[OnePlus 9 Pro] eng.stk:
Were you rooted previously with Magisk stable 26.4? Or were you using something funky or KernelSU?

Installer didn't detect Magisk rooted image and it does that automatically since years now.

AK3: clean up and simplify Magisk patch logic · osm0sis/AnyKernel3@21ee68f

- only repatch when there is an Image* (i.e. don't attempt on ramdisk-only mods) - make sure new ramdisk is already copied before trying to detect Magisk patch state in case it changed - clean ...

github.com
[OnePlus 9 Pro] tonoalber:
Yes, I was rooted with the lienage boot.img, from magisk 26.4 with the patched magisk boot.img
[OnePlus 9 Pro] eng.stk:
Only thing I can think of is FKM not passing contexts correctly on root shell.

Have stocked rooted in place correctly, then install kernel zip with Kernel Flasher instead (you can save the log after install, it will be in Downloads, upload it here).

Then open Magisk and see if root sticks.
[OnePlus 9 Pro] tonoalber:
Hi, I've installed the kernel using Kernel Flasher, and it has retained the root and installed the kernel. I'm attaching the log it generated from the installation.
[OnePlus 9 Pro] eng.stk:
There you go, all correctly now:

Magisk detected! Patching kernel so reflashing Magisk is not necessary...

Don't use FKM to flash, Kernel Flasher is what I recommend for newer devices.
[OnePlus 9 Pro] ikram.senguen:
Do you plan to bring this beauty to A14 ? Jus askin
[OnePlus 9 Pro] underworld737:
not offically supported on A14, BUT i can confirm the latest version of this kernel does work on A14 crdroid with no issues so far.

Edit: if anyone is interested in trying this out, shoot me a PM, nothing changed other than bumping the android version. KERNELSU IS NOT RETAINED FOR FUTURE NOTE
[OnePlus 9 Pro] Unb0rn:
Hey! This is a bit offtopic question but I think I have no other option. Can you please share the way you build the kernel out-of-tree? Maybe some script or GH actions pipeline?

I'm totally new to these "new" devices (with DLKM, modules and multiple partitions like dtbo and vendor_boot), last time I built for myself was d2s - no modules, single boot partition with dtb.

I went through some AOSP docs and build scripts and still I don't get how you build vendor_dlkm ext4 image with all the modules and why there's no dtb for vendor_boot and dtbo.img for overlays bundled in AK3 zip, I thought it may change between builds too...

Anyway, any help is appreciated. Thank you)!
[OnePlus 9 Pro] eng.stk:
blu_spark_r160 release (A13 custom)

New build is up (y)

Build targeting lineage-20.0-20240108-nightly, kernel build may work with other ROMs that use similar device/kernel trees (confirm before flashing).

This is only for ROMS with A13 fw kernel patchset.

This kernel is for the 9 Pro but it's unified, so should work for the OP9 also.

For flashing and easy of install logging, Kernel Flasher is recommended

You can use Kernel Flasher/FKM download kernel feature, just import the link bellow in the app updates/flash section.

Download config: custom

Changelog:

Keep in mind: I will give no active support for custom ROMs besides LineageOS.

I am mostly interested on debugging stuff with logs and reproducible steps to replicate the issue.

No mirrors please

Don't forget to hit like, it's free :)
[OnePlus 9 Pro] sodnwsdho:
thank 😘
[OnePlus 9 Pro] OsTrichHoltt:
KernelSU support planned?
[OnePlus 9 Pro] eng.stk:
Already said no several times.
[OnePlus 9 Pro] sodnwsdho:
have plan to support lineage OS 21？，and happy loong year😘
[OnePlus 9 Pro] eng.stk:
Soon 😁
[OnePlus 9 Pro] eng.stk:
blu_spark_r163 release (A14 custom)

New build is up (y)

Build targeting lineage-21.0-20240216-nightly, kernel build may work with other ROMs that use similar device/kernel trees (confirm before flashing).

This kernel is for the 9 Pro but it's unified, so should work for the OP9 also.

For flashing and easy of install logging, Kernel Flasher is recommended

You can use Kernel Flasher/FKM download kernel feature, just import the link bellow in the app updates/flash section.

Download config: custom

Changelog:

Keep in mind: I will give no active support for custom ROMs besides LineageOS.

I am mostly interested on debugging stuff with logs and reproducible steps to replicate the issue.

No mirrors please

Don't forget to hit like, it's free :)
[OnePlus 9 Pro] YehoshuaLee:
9 Pro can't boot after flash r163, auto boot into bootloader after flash, on lineage-21.0-20240216-nightly-lemonadep-signed.zip.
[OnePlus 9 Pro] xlinux_:
used this kernel many times and never had issue with booting until now, im on latest firmware, and lineage -21-20240217-nightly-lemonade

device is CN op9

i can attach an AK3 log.

Any help would be appreciated.
[OnePlus 9 Pro] ikram.senguen:
A new Record!
[OnePlus 9 Pro] tonoalber:
the same.

When the Kernel is installed with Kernel Flahser everything is correct and when restarting it remains in fastboot mode.

I attached the installation log.
[OnePlus 9 Pro] sodnwsdho:
具体是什么情况？
[OnePlus 9 Pro] sodnwsdho:
Bro, this kernel will make my OnePlus 9 Pro reboot in a loop
[OnePlus 9 Pro] sodnwsdho:
my device is LE2120
[OnePlus 9 Pro] eng.stk:
At least a user booted it, may be a case of KF acting up on flash vendor_dlkm.

Not a new thing having issues when vendor_dlkm get's dirty, go to fastbootd and try flashing it there after flashing the zip in the ROM.

while in fastbootd: fastboot flash vendor_dlkm vendor_dlkm.img

meanwhile here's a tet zip to exclude magiskboot issues
[OnePlus 9 Pro] eng.stk:
LOS 21?
[OnePlus 9 Pro] tonoalber:
We installed the zip with "adb sideload" from the recovery, right?
[OnePlus 9 Pro] eng.stk:
You can, yes.
[OnePlus 9 Pro] ikram.senguen:
Si, bliss v17 Android 14
[OnePlus 9 Pro] sodnwsdho:
Did it work
[OnePlus 9 Pro] tonoalber:
I just tried to install using "apply update" of lineage 21 recovery with "adb sideload" as if I were installing a rom, or the gapps and I get an error during the installation and it does not install.

How did you install it?
[OnePlus 9 Pro] eng.stk:
What error? We don't do guessing here.
[OnePlus 9 Pro] tonoalber:
this appears in recovery when I do siledoad:

error: recovery: footer is wrong

update package verification took 0.1 (result 1).

Error: Recovery: Signature verification failed

Error: Recovery: error: 21

instaling update...

error recovery (libfs_mgr) unable to enable ext4 verity on/ dev/block/by-name/metadata because /system/bin/tune2fs is missing

error: recovery: Failed to find update binary META-INF/com/google/android/update-binary

Install completed with status 2

Installation aborted.
[OnePlus 9 Pro] eng.stk:
That was with the original r163 or the latest I posted?
[OnePlus 9 Pro] tonoalber:
With the last Zip u upload
[OnePlus 9 Pro] eng.stk:
Try with the original also.

What version of KF were you using initially?
[OnePlus 9 Pro] tonoalber:
I used KF 1.0.0-aplha 19
[OnePlus 9 Pro] sodnwsdho:
me too
[OnePlus 9 Pro] sodnwsdho:
kernel flash
[OnePlus 9 Pro] eng.stk:
v1.0.0-alpha19 correct?

Not v1.0.0-alpha019+allow-invalid or v1.0.0-alpha019+allow-non-ab?

Also after flashing original r163 post your recovery log.

While in recovery turn on adb in advanced settings after flash the original zip and:

adb pull /tmp/recovery.log

There's several stuff missing on the output

Either LOS is shipping a broken recovery (although LOS 21 recovery works flawless on my pixel 6.) or super partiton is dirty and system mount isseus can lead to that (and would explain the initial issues you guys had).
[OnePlus 9 Pro] tonoalber:
Has anyone been able to install in the 21?
[OnePlus 9 Pro] xlinux_:
i cannot get it to boot. i tried everything from reflashing Firmware, to changing roms,

i even attempted the methods mentioned above to fix the super but still no boot just goes straight to fastboot mode.
[OnePlus 9 Pro] The_Keeper86:
I don't know if this will help or not but are you on Android 13 or 14?
[OnePlus 9 Pro] eng.stk:
Ok, I think I know what's going on.
[OnePlus 9 Pro] eng.stk:
blu_spark_r164 release (A14 custom)

New build is up (y)

Build targeting lineage-21.0-20240216-nightly, kernel build may work with other ROMs that use similar device/kernel trees (confirm before flashing).

This kernel is for the 9 Pro but it's unified, so should work for the OP9 also.

For flashing and easy of install logging, Kernel Flasher is recommended

You can use Kernel Flasher/FKM download kernel feature, just import the link bellow in the app updates/flash section.

Download config: custom

Changelog:

Keep in mind: I will give no active support for custom ROMs besides LineageOS.

I am mostly interested on debugging stuff with logs and reproducible steps to replicate the issue.

No mirrors please

Don't forget to hit like, it's free :)
[OnePlus 9 Pro] sodnwsdho:
成功😁
[OnePlus 9 Pro] xlinux_:
May I ask how you found the issue and what it was?

Can confirm latest version flashed correctly and posted correctly.

Thank you eng.stk for taking the time to fix. I don't have the knowledge to build my own kernels and this has always been my go to.

I know you don't have to build these so always grateful when I see an update pop up.
[OnePlus 9 Pro] OsTrichHoltt:
Oneplus 9, Lineageos 21 and PA beta 3 They don't work, the kernel just breaks the boot
[OnePlus 9 Pro] eng.stk:
LOS 21 works fine (or ROMs with similar device trees), I don't really build for anything else. Use Kernel Flasher v1.0.0-alpha19 to flash r164.

Logs?
[OnePlus 9 Pro] OsTrichHoltt:
I did not understand this text, it seems to have clearly written that I also checked Lineagos 21 on my oneplus 9, maybe likes to collect... But come on.

IN Los and PA used Kernel Flasher 19.

There is always an error that there is no vendor_dlkm
[OnePlus 9 Pro] eng.stk:
Plain english, is it hard?

Install logs. Which you can get from KF.

Don't know what PA uses, probably uses OOS partition layout, so not compatible.

Only way it can complain about that in LOS 21 is if you have a dirty super partition or out of space.

Theres's ways to get around that and get super partition in a clean state, search is your friend.
[OnePlus 9 Pro] xlinux_:
Did you use any of the updated versions for non a/b devices for kernel flasher? I think that maybe causing some issues with devices.
[OnePlus 9 Pro] MJPollard:
Because it's inconceivable that someone's primary language just might not English. 🙄
[OnePlus 9 Pro] eng.stk:
Yeah, imagine learning it without the help of online translators and AI assistants like I did.
[OnePlus 9 Pro] hibert:
After waiting a few days, I decided to do a fresh los 21 install. with the r164 kernel on top, truly a nice smooth experience in everyday use. big thanks to eng.stk for the development.
[OnePlus 9 Pro] eng.stk:
blu_spark_r165 release (A14 custom)

New build is up (y)

Build targeting lineage-21.0-20240216-nightly, kernel build may work with other ROMs that use similar device/kernel trees (confirm before flashing).

This kernel is for the 9 Pro but it's unified, so should work for the OP9 also.

For flashing and easy of install logging, Kernel Flasher is recommended

You can use Kernel Flasher/FKM download kernel feature, just import the link bellow in the app updates/flash section.

Download config: custom

Changelog:

Keep in mind: I will give no active support for custom ROMs besides LineageOS.

I am mostly interested on debugging stuff with logs and reproducible steps to replicate the issue.

No mirrors please

Don't forget to hit like, it's free :)
[OnePlus 9 Pro] eng.stk:
blu_spark_r166 release (A14 custom)

New build is up (y)

Build targeting lineage-21.0-20240422-nightly, kernel build may work with other ROMs that use similar device/kernel trees (confirm before flashing).

This kernel is for the 9 Pro but it's unified, so should work for the OP9 also.

For flashing and easy of install logging, Kernel Flasher is recommended

You can use Kernel Flasher/FKM download kernel feature, just import the link bellow in the app updates/flash section.

Download config: custom

Changelog:

Keep in mind: I will give no active support for custom ROMs besides LineageOS.

I am mostly interested on debugging stuff with logs and reproducible steps to replicate the issue.

No mirrors please

Don't forget to hit like, it's free :)
[OnePlus 9 Pro] xlinux_:
Thanks man perfect for my phone!!

P.s Can't live without wireguard :).
[OnePlus 9 Pro] Kkjin:
Can I pass Google SafetyNet MicroG?
[OnePlus 9 Pro] mattie_49:
Has nothing to do with a custom kernel. Has to do with magisk
[OnePlus 9 Pro] pepfapeste:
Can you please link an updated guide? I'm unable to hide root for some banking apps. Thank you in advance :)
[OnePlus 9 Pro] xlinux_:
have you configured your deny list using zygisk? that can sometimes stop apps from throwing that message at you.
[OnePlus 9 Pro] pepfapeste:
A few days ago I configured deny list using zygisk + play integrity fix + shamiko and hiding magisk with built-in option to randomise package name, but Caixabank Sign app didn't work, so I completely removed magisk.

Now I reinstalled it but instead of shamiko I used zygisk assistant. Same result :(

Maybe is detecting something else... 🤷‍♂️
[OnePlus 9 Pro] Kkjin:
zzz
[OnePlus 9 Pro] Kkjin:
I'm using this kernel...

FS fsync toggle on/off

How do I run this toggle?
[OnePlus 9 Pro] eng.stk:
blu_spark_r167 release (A14 custom)

New build is up (y)

Build targeting lineage-21.0-20240513-nightly, kernel build may work with other ROMs that use similar device/kernel trees (confirm before flashing).

This kernel is for the 9 Pro but it's unified, so should work for the OP9 also.

For flashing and easy of install logging, Kernel Flasher is recommended

You can use Kernel Flasher/FKM download kernel feature, just import the link bellow in the app updates/flash section.

Download config: custom

Changelog:

Keep in mind: I will give no active support for custom ROMs besides LineageOS.

I am mostly interested on debugging stuff with logs and reproducible steps to replicate the issue.

No mirrors please

Don't forget to hit like, it's free :)
[OnePlus 9 Pro] xlinux_:
I was waiting for this update. Always happens to be on time haha.

Appreciate it!.
[OnePlus 9 Pro] madara273:
can you show the build environment and compiler settings?
[OnePlus 9 Pro] eng.stk:
blu_spark_r171 release (A14 custom)

New build is up (y)

Build targeting lineage-21.0-20240610-nightly, kernel build may work with other ROMs that use similar device/kernel trees (confirm before flashing).

This kernel is for the 9 Pro but it's unified, so should work for the OP9 also.

For flashing and easy of install logging, Kernel Flasher is recommended

You can use Kernel Flasher/FKM download kernel feature, just import the link bellow in the app updates/flash section.

Download config: custom

Changelog:

Keep in mind: I will give no active support for custom ROMs besides LineageOS.

I am mostly interested on debugging stuff with logs and reproducible steps to replicate the issue.

No mirrors please

Don't forget to hit like, it's free :)
[OnePlus 9 Pro] madara273:
i get this warning during compilation and also at the end that the build is successful but the kernel doesn't start

#!/bin/bash

# setup color

red='\033[0;31m'

green='\e[0;32m'

white='\033[0m'

yellow='\033[0;33m'

WORK_DIR=$(pwd)

KERN_IMG="${WORK_DIR}/out/arch/arm64/boot/Image"

function clean() {

echo -e "\n" echo -e "$red << cleaning up >> \n$white"

echo -e "\n" rm -rf out

}

function build_kernel() {

echo -e "\n" echo -e "$yellow << building kernel >> \n$white"

echo -e "\n"

make O=out ARCH=arm64 CC=clang CROSS_COMPILE=aarch64-linux-gnu- blu_spark_defconfig

make O=out ARCH=arm64 CC=clang menuconfig

export CROSS_COMPILE=/usr/bin/aarch64-linux-gnu-

export PATH="/usr/bin:${PATH}"

make -j$(nproc --all) O=out \

ARCH=arm64 \

CC=clang \

CLANG_TRIPLE=aarch64-linux-gnu- \

CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- \

CROSS_COMPILE_ARM32=/usr/bin/arm-linux-gnueabi- \

CROSS_COMPILE_COMPAT=/usr/bin/arm-linux-gnueabi- \

LD=/usr/bin/aarch64-linux-gnu-ld

if [ -e "$KERN_IMG" ]; then

echo -e "\n"

echo -e "$green << compile kernel success! >> \n$white"

echo -e "\n"

else

echo -e "\n"

echo -e "$red << compile kernel failed! >> \n$white"

echo -e "\n"

fi

}

# execute

clean

build_kernel

------------------------------------

../kernel/sys.c:1222:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]

copy_to_user(release, CONFIG_UNAME_OVERRIDE_STRING,

^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../kernel/sys.c:1212:13: warning: unused function 'override_custom_release' [-Wunused-function]

static void override_custom_release(char __user *release, size_t len)
[OnePlus 9 Pro] madara273:
could you please share your compile.sh?
[OnePlus 9 Pro] eng.stk:
blu_spark_r173 release (A14 custom)

New build is up (y)

Build targeting lineage-21.0-20240624-nightly, kernel build may work with other ROMs that use similar device/kernel trees (confirm before flashing).

This kernel is for the 9 Pro but it's unified, so should work for the OP9 also.

For flashing and easy of install logging, Kernel Flasher is recommended

You can use Kernel Flasher/FKM download kernel feature, just import the link bellow in the app updates/flash section.

Download config: custom

Changelog:

Keep in mind: I will give no active support for custom ROMs besides LineageOS.

I am mostly interested on debugging stuff with logs and reproducible steps to replicate the issue.

No mirrors please

Don't forget to hit like, it's free :)
[OnePlus 9 Pro] madara273:
Hello everyone, who can share the build script of this kernel, just really need it?
[OnePlus 9 Pro] madara273:
please add nethunter support to kernel