LineageOS 16 for Mi A1 with Step by Step Installation Guide

LineageOS for Mi A1

In this post, we have given a step by step Installation Guide to flash LineageOS 16 for Mi A1.

Mi A1 was the first smartphone from Mi which was a part of Android One program. Co-developed by Google, the software is Stock Android and updates comes timely. Mi A1 was one of the best budget smartphone of 2017.

The Stock Android lacks one thing, customizability. So if you are a Mi A1 user and wants features and customizations then flashing a custom ROM is the best way to go. Talking about custom ROMs, LineageOS 16 based on Android Pie was recently released for Mi A1.

Not to mention that LineageOS is the most used custom ROM for Android devices because of its stability and performance. Based on AOSP, LineageOS contains no bloat and is updated frequently thanks to the developers. Read more about LineageOS later in this Post.

Table of Contents

Also read:

LineageOS for Moto G5s Plus

Ymusic: Best Youtube music player

Download and Install LineageOS 16 for Mi A1 (Android Pie)

About the ROM

XDA Thread

ROM OS Version: Android 9 Pie

ROM Kernel: Linux 4.x

Status: Nightly

Maintained by: flex1911abhishek987


  • Unlocked Bootloader
  • TWRP Installed
  • The battery should be charged to 50%

Download Section

ROM: Download

GApps: Opengapps

TWRP: Download

Drivers: ADB and Fastboot

Magisk: Magisk v18.1

How to Flash LineageOS 16 on Mi A1

Note: Install all drivers and take a backup before proceeding

Step 1: Unlock the bootloader

  1. Power off your  Mi A1
  2. Press and hold the volume down button and Power button to enter into fastboot mode
  3. Connect the device to PC
  4. Open the command prompt on your pc/laptop and run the following command:
    fastboot oem unlock

Unlock bootloader Mi A1

Your phone is unlocked.

Step 2: Boot the recovery

Note: Only use the TWRP given in Download section, Other TWRP versions are not supported
  • Connect the phone to PC
  • Download recovery, rename it to recovery.img and place it in C:\adb folder
  • Open a command prompt by pressing Shift + Right Click and then click on Open command window or Powershell
  • Paste this command to boot recovery

fastboot boot recovery.img

This will boot the recovery.

Step 3: Flash the ROM and GApps

  • Download the latest ROM and GApps
  • In the TWRP, Click on Wipe and perform a Full Wipe

TWRP wipe

  • Go to Install and Flash the latest ROM zip file

Install ROM in TWRP

  • Reboot to bootloader and boot TWRP once again (In case you haven’t flashed the recovery)
  • Flash GApps and any other necessary add-ons

That’s it, You have flashed LineageOS 16 for Mi A1

LineageOS and its features

LineageOS 16

LineageOS is the most used and most trusted Custom ROM out there. It was started as CyanogenMod and known to be the first custom ROM or firmware which was able to make its way to some smartphone as pre-installed default firmware.

LineageOS is based on AOSP code and you will hardly feel a difference from stock Android. There are some third-party apps like Trebuchet, AudioFX, Clock, Dialer. Jelly, Eleven Music Player, Recorder, Snap Camera. All the apps are useful and there are no Ads in them. LineageOS comes without Google app or GApps, you have to install them after flashing the ROM.

Due to its stability and performance, many other custom ROMs use LineageOS code as their base, some of them are Resurrection Remix and crDroid.

If you want a daily driver with good battery life and performance, then LineageOS is one the best option for you.


  1. Audio/Media
  2. Buttons/Navigation Bar
  3. Calls
  4. Display
  5. Gestures
  6. Performance
  7. Lock Screen/Security
  8. Quick Settings
  9. Status Bar
  10. SystemUI
  11. Miscellaneous

Apart from these features, you get all perks of Android Pie which includes features like Digital Wellbeing, Machine learning, Adaptive Battery, which pushes back the app which you dont use often. Other new features are Adaptive Brightness, App actions, New navigation style, Rotate Screen Quickly and other features which tune up the phone according to your use.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top