tiann / KernelSU

A Kernel based root solution for Android
https://kernelsu.org
GNU General Public License v3.0
9.14k stars 1.48k forks source link

[Feature] Provide legacy_lz4 GKI #1674

Open onokatio opened 2 months ago

onokatio commented 2 months ago

Is your feature request related to a problem? Please describe.

Now lz4_legacy KMI (like Pixel ROM) is not provided on Github Release.

Describe the solution you'd like.

Please provide the file at CI.

Describe alternatives you've considered.

I'm considering to create PR myself.

Additional context

No response

hobby1999 commented 2 months ago

use this,https://kernelsu.org/guide/installation.html#patch-boot-image

onokatio commented 2 months ago

use this,https://kernelsu.org/guide/installation.html#patch-boot-image

Yes, I know and am using it. But I want prebuilt images.

apprehensions commented 2 months ago

What is wrong with LMK?

onokatio commented 2 months ago

LMK is good for daily use. But installation LKM by fastboot flash doesn't make stock image backup on kernelsu app, so I can't use restore stock feature in app. So I woule like to use GKI boot.img to get temporary root to install LKM by app.

onokatio commented 1 month ago

I'm trying to inspect, but I found that repacking boot.img with magiskboot and provided android?-boot-lz4.img from kernelsu are almost same. I couldn't find about "compression format" diffirence.

onokatio commented 1 month ago

And also I found that two file are diffirence only about avb header. I think this means true reason that kernelsu gki doesn't boot pixel is not relating compression format.

onokatio commented 1 month ago

umm, It seems bootloop is from just vbmeta mismatch.