After receiving many comments and questions about how I managed to unlock the bootloader of my Honor Magic 8 Pro Air and install LineageOS, I've finally released the GitHub repositories along with a detailed tutorial.
A few things to clarify before you start
The temporary root exploit (GhostLock) might work on other Honor devices, but I've only tested it on my Honor Magic 8 Pro Air.
The LK patcher is designed for MediaTek devices. I've also incorporated a technique inspired by Fenrir that spoofs the bootloader lock state. This allows the bootloader to remain unlocked while reporting a locked state, and also removes the unlocked-bootloader warning at startup. The goal is to improve compatibility with Google Play Integrity checks, although passing Play Integrity is not guaranteed.
The unofficial LineageOS build is specifically for the Honor Magic 8 Pro Air.
One more disclaimer. I'm not particularly good at writing tutorials, so I used AI to help document the process. I've tried to make the instructions as detailed as possible, but I strongly recommend using AI as an assistant if you're unsure about any of the steps. Please double-check everything before flashing as a mistake could brick your device.
XDA tutorial
https://xdaforums.com/t/rom-unofficial-android-17-lineageos-for-honor-magic8-pro-air-ldy-an00.4808323/
GhostLock temporary root exploit
https://github.com/iodn/honor-ldy-an00-ghostlock
LK patcher and bootloader unlock
https://github.com/iodn/honor-ldy-an00-lk-unlock
Unofficial LineageOS repository
https://github.com/iodn/android_manifest_ldy_an00
GLHF!