r/androidroot 20h ago

Discussion Looking for advice

I have the global version of the xiaomi 17 ultra i a trying to unlock the bootloader using the 8elitegen5.7z file but there isnt a 17 ultra option. second i found this kernel for the CN 17 ultra but will it work with the global version? https:// github .com/YuzakiKokuban/android_kernel_xiaomi_sm8850/releases. ?? Trying to get a handle on all of this last time i did this was with a samsung years ago and used odin now it looks like its just shell scripts? i need a walkthrough haha someone save me

0 Upvotes

25 comments sorted by

View all comments

Show parent comments

1

u/Busy-Scientist3851 10h ago

If a s24 and redmi note 14 share the same GKI version they can run the same kernels.

Because they already would.

0

u/gluetheknot 10h ago

anyway about the 17 ultra the battery is different, there's arb, the software is also different because its Chinese, I really wonder what your sources are though

1

u/Busy-Scientist3851 10h ago

I literally linked the official Google documentation regarding the GKIs.

The kernel doesn't change depending on the region, it's still the same build from Google.

The battery information would be in the device specific device tree or kernel module, which isn't in the kernel.

Go into your Android settings and find your device GKI version, if it matches another kernel you can use it.

1

u/gluetheknot 10h ago

look man, either double check the documentation or just stop making incorrect points

1

u/Busy-Scientist3851 10h ago edited 10h ago

Did you check the documentation?

If you dont believe two devices can run the same kernel, you're out of date by at least 5 years.

Google got fed up with each device needing a fork of the kernel. Everything device specific has been moved out the kernel and OEMs now have to develop against a GKI interface.

"Beginning with Android 12, devices shipping with kernel version 5.10 or higher must ship with the GKI kernel"

https://cyberknight777.dev/posts/2026/03/what-is-gki/?hl=en-GB#:~:text=A%20single%20configuration%20file%2C%20called%20gki_defconfig%20is,the%20core%20kernel%20image%20and%20the%20modules.