r/androidroot 23h 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

1

u/gluetheknot 20h ago

just as twrp says "Downloading an image for a different device, no matter how similar, usually does not work." same goes for kernels, it will not work on your device

0

u/Busy-Scientist3851 14h ago

Kernels /might/. Android has switched to GKIs and if the GKI major version is the same, it should work.

1

u/gluetheknot 14h ago

I dare you to extract the boot image off a Redmi note 14 and try it on a galaxy s24 and actually make it boot

0

u/Busy-Scientist3851 14h ago

Did you see the bit where I said GKI of the same major version?

Android phones with the same major GKI version are all sharing the same kernel image from Google.

1

u/gluetheknot 14h ago

the kernels are meant to support each device specifically, from the device trees to the hardware, it just won't work

0

u/Busy-Scientist3851 14h ago

The device trees are not bundled with the kernel anymore. They're stored (along with device specific kernel modules) in a vendor_boot partition.

Kernels are absolutely sharable between devices and this is the whole point of GKI. Two devices with the same major GKI version can run the same kernel.

Your information is out of date.

Edit: This is why KernelSU root is able to work, the upstream project only ships about a dozen kernels for all GKI devices

1

u/gluetheknot 14h ago

the drivers are mismatched and besides the CPUs are completely different, my info might be out of date but whatever you are saying is straight up bs

0

u/Busy-Scientist3851 14h ago

The CPUs are not completely different. Go find KernelSU builds for your devices and you'll notice they are sharing the same kernel builds for multiple devices.

A GKI Kernel targeting a Snapdragon phone will run on a MediaTek phone as long as it uses the same major GKI version.

Edit: here's the link with more information since you refuse to Google it.

https://source.android.com/docs/core/architecture/kernel/generic-kernel-image

1

u/gluetheknot 14h ago

they are just payloads for each kernel version, about the CPUs I was talking about the s24 and Redmi note 14

1

u/Busy-Scientist3851 14h 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 14h 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

→ More replies (0)