-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error patching init_boot.img with "Unknown KMI" #1485
Comments
Your kernel name does not follow the GKI specification, so it is not possible to determine which LKM should be used. You will need to manually execute the command line. https://source.android.com/docs/core/architecture/kernel/gki-versioning#design The "android13" label should not be removed. |
Ok, so how do I execute the command line for my case? |
|
I'm guessing that line is for a desktop (I have Windows btw) but I don't seem to know where to install the right files to even execute ksud... |
Please check before submitting an issue
Describe the bug
When patching an init-boot.img, an error occurs that states "Unknown KMI" and to use
--kmi
to specify it. How do I do that, and how is the KMI unknown to begin with?To Reproduce
Open the app
Tap "Not installed, click to install"
Select a boot.img or init_boot.img of a custom rom, such as LineageOS, of a device with the supported kernel
Expected behavior
I expected a successful output of the patched init_boot.img
Screenshots
Logs
KernelSU_bugreport_2024-03-19_23_51.tar.gz
Device info
Additional context
No response
The text was updated successfully, but these errors were encountered: