[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] lee.wp14:
/*
* Your (probably expired) warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

LineageOS 15.1 for MI MIX

Beware, you are about to enter a dangerous zone!
​

ABOUT

This is an unofficial Oreo build for the Xiaomi MI MIX (lithium) based on official LineageOS 15.1 for MI MIX.

This build is not made solely for the intention of public release, but more for my personal use. Therefore, updates are not guaranteed, and you should expect changes in functionalities compared to official LineageOS 15.1. I always upload my builds on xda, so that it may benefit those who needed, especially for older Android builds like this.

Read the sections below carefully to understand the status of this ROM and how to prepare your device for installation.

CREDITS

Full credits to @bgcngm , Xiaomi MI MIX, MSM8996, LineageOS and all other developers. This is a build completely based on official LineageOS 15.1 sources for MI MIX. I do not contribute anything except performing source modification and compiling builds.

INSTALLATION FROM STOCK

Follow these steps if you are coming from stock. You will need access to a PC.

1. Check for unlocked bootloader. Go to About Phone, toggle MIUI version until Developer Options is enabled.

2. Go to Developer Options in Additional Settings. Check for Unlock Status of your device.

3. If it is not unlocked, follow the instructions to pair a Xiaomi account and unlock the device using your PC.

4. After unlocked, download the latest copy of stock MIUI (optional: flashtool) and reflash the device with the option flash_all (Clean All) using Fastboot, if you haven't flash as such before on your device.

5. Reboot into system and ensure everything is okay.

6. Now, download latest official TWRP and flash from Fastboot.

fastboot flash recovery ./path/to/twrp-3.2.1-0-lithium.img

7. Reboot recovery by executing 'fastboot reboot' while holding Volume Up.

INSTALLATION

Please backup your Persist partition, and store in a dry, safe place.

adb pull /dev/block/bootdevice/by-name/persist

The below instructions assumes that your device has TWRP and latest firmware installed. All your data will be destroyed in the process.

1. Reboot recovery. Wipe /cache, /system. Then, run Format Data.

2. Proceed to flash my builds.

3. Flash ARM64 GAPPS and SU if desired, or Magisk if you need systemless root support.

4. Prepare a coffee or tea and sit back on your couch. Click to reboot system,

BUT DO NOT SWIPE TO INSTALL TWRP APP or you will end up in a bootloop!

DOWNLOAD

Google Drive

SOURCE

GitHub - leewp14/local_manifests

Contribute to leewp14/local_manifests development by creating an account on GitHub.

github.com

GitHub - hikuii/android_kernel_xiaomi_msm8996

Contribute to hikuii/android_kernel_xiaomi_msm8996 development by creating an account on GitHub.

github.com