KernelSU icon indicating copy to clipboard operation
KernelSU copied to clipboard

Please add the x86_64 LKM's as well to your releases.

Open newbit1 opened this issue 11 months ago • 7 comments

Dear @tiann ,

i managed to add the ksuinit and the LKM to the AVDs ramdisk.

But the Kernel log conplaines about the wrong architectur of the module and can't load it.

It seems the provided LKM's on the release page are exclusiv arm or rather aarch64.

So could you please add the x86_64 LKM's to your release page as well?

Also, can you tell when you will release the AVD kernels? I tried the ones from the action workflows and they boot up right away.

Thanks NewBit

newbit1 avatar Mar 25 '24 15:03 newbit1

avd kernel is not GKI, you must compile exactly the same version with the AVD, so we won't release avd kernels.

as for LKM, we may do it, you can copy the workflows and try first.

tiann avatar Mar 26 '24 04:03 tiann

avd kernel is not GKI, you must compile exactly the same version with the AVD, so we won't release avd kernels.

according to the AOSP, they should be GKI since Android 12 and Kernel 5.10

as for LKM, we may do it, you can copy the workflows and try first.

Thx, in which workflows can I find the x86_64 LKM's? Are they uploaded to your Telegram Groups as well as the AVD kernels?

newbit1 avatar Mar 26 '24 08:03 newbit1

AVD has many kernel modules, and they may not work on different kernel versions (even if the KMI is the same); no matter how Google documents it, that's just the way it is.

tiann avatar Mar 26 '24 08:03 tiann

build-lkm.yml is the workflow to build LKM

tiann avatar Mar 26 '24 08:03 tiann

build-lkm.yml is the workflow to build LKM

there are only the aarch64 LKM's in it, but not the x86_64.

newbit1 avatar Mar 26 '24 13:03 newbit1

we never build x86_64 before, you should modify it

tiann avatar Mar 27 '24 04:03 tiann

ah ok I see, yeah I can't and further more, won't do that. I would like to stay with the official state of ksu. So my rootavd script users can have the up-to-date versions of ksu. It just doesn't makes sense, to have a ksu version besides the official one.

That is why asked you to add these arch and AVD kernel as well to the release.

So both emulator types can work with ksu. Ideally with both modes, kernel replacement and LKM.

Well I must say, I presume you just have to switch to another target and it will build. I don't want you to rewrite your code, just to have it compatible with AVDs. This would be way to much effort.

Thanks

newbit1 avatar Mar 27 '24 06:03 newbit1