How To Install LineageOS On Xiaomi And Redmi Devices?
In the custom ROM ecosystem, if there is one ROM that is respected by all — it is the LineageOS. It breathes new life into otherwise monotonous and gloomy Xiaomi and Redmi devices.
Lineage OS, the successor to widely known CyanogenMod, offers a complete stock Android look with hundreds of customization options.
If you are infuriated over the bloatware, intrusive ads and the crowded interface of the MIUI Android-skin, then here is how you can install LineageOS in your Xiaomi device —
Installing LineageOS on Xiaomi and Redmi
Installing LineageOS is no different from installing a custom ROM on an Android device; it involves three major steps — unlocking the bootloader, installing a custom recovery, and finally flashing the custom ROM.
Also Read: How To Install Custom ROM On Any Xiaomi/Redm Device?
Prerequisites:
1. Unlock the Bootloader
Bookmark this page because it will take you days before you can cross this step. Unfortunately, Xiaomi makes users go through an agonizing wait before allowing them to unlock their devices. Here are the steps –
Also Read: How To Unlock Bootloader On Xiaomi Device?
- Link your Xiaomi device to an Mi account — Settings > Additional settings > Developer options > Mi Unlock status.
- Download and open the Mi Unlock tool on your PC
- Go into Fastboot mode on your device — Switch off and press power+volume down button for few seconds
- Connect the device to your PC using a USB cable
- Click on Unlock on the Mi Unlock app
While it says 360 hours, users end up getting their phones unlocked within a week.
2. Install a custom recovery
Custom recovery enables users to install third-party firmware often unsupported by Android stock recovery. Here I have used Orange Fox recovery, users can also use the widely known TWRP custom recovery.
- Download the recovery image file for the Xiaomi device and move it to the ADB source folder in C Drive.
- Open Fastboot mode on your device and connect your device to PC
- Open command prompt (on Windows) or Terminal (on Linux or macOS)
- Type fastboot devices. Press Enter
- Type fastboot flash recovery (name of the downloaded file).img. Press Enter
- Boot into recovery — Hold Power Button+ Volume Up
Avoid rebooting the device after installing the custom recovery, otherwise, Xiaomi might remove it.
3. Flashing the LineageOS ROM
Before moving ahead, download the latest LineageOS for your device. Other than installing a custom ROM, users will also need to flash the Google Apps (GApps) zip file. Move both the files on the device Internal Storage.
- Wipe Data/factory reset, Cache and Dalvik cache
- Select the LineageOS zip file and install it.
- Install the GApps zip file after flashing the ROM.
- Reboot
Congratulations Xiaomi users upon the successful installation of Lineage OS on your device. Although, I would highly doubt that you would have managed to get it right the first time.
Since there are too many unknown variables, it is normal to be stuck at certain steps. However, there is nothing you can do to your device that cannot be reversed. Even if you have bricked the device (worst of all), you will have multiple guides all over the Internet at your disposal.