• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[DISCONTINUED][ROM][OFFICIAL] LineageOS 16.0 for Xiaomi Mi A1

flex1911

Recognized Developer / Retired Forum Moderator
Feb 12, 2013
999
7,533
93
18
Volgograd

LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (Pie), which is designed to increase performance and reliability over stock Android for your device.

Code:
#include <std_disclaimer.h>

/*
 * Your warranty is now void.
 *
 * We are 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 us for messing up your device, we will laugh at you.
 *
 */
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.

Instructions:
  • Download the latest build, official TWRP (3.3.0 and newer) and GApps (if you need them)
  • Boot the downloaded TWRP via fastboot
  • Flash the latest build
  • Reboot to bootloader and boot TWRP once again
  • Flash GApps and any other necessary add-ons
Migration instructions

Downloads:
  • Official builds: LineageOS
  • Recovery: Official TWRP
  • Google Apps: OpenGApps (nano package is advisable, but you definitely should avoid using stock/super packages)

Source code:


XDA:DevDB Information
LineageOS 16.0 for Xiaomi Mi A1, ROM for the Xiaomi Mi A1

Contributors
flex1911, abhishek987
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x

Version Information
Status: Nightly

Created 2018-12-31
Last Updated 2020-04-09
 

eark555

Member
May 8, 2017
9
0
0
December firmware can't detect VoLTE IMS registration. So phone won't detect VoLTE outgoing call connected status (No call duration, No conference call and outgoing calling sound still ring in background after reciever connected)
 

Tepig

Member
Apr 9, 2018
43
16
0
what if i want to go back to stock oreo sir, what will i do? kinda new in this firmware things...
Thanks, btw
If you are in Oreo now and have never updated to official Pie, follow the instructions on this thread to make a backup of your partitions

https://forum.xda-developers.com/mi-a1/how-to/tool-low-level-backup-restore-unbrick-t3790307

You can exclude System and Data.

If you want to go back just restore the backup and flash any Oreo rom (or restore your TWRP backup if you have one)
 

saski4711

Senior Member
Jul 9, 2016
518
130
43
Anyone having occasional issues with SIM card not been detected after reboot? There is no dialog to enter the pin. Strange thing this happens every second or third reboot otherwise its fine. I'm on PIE fw
 
Last edited:

adnbwta

Senior Member
Oct 7, 2017
367
103
0
So if I have official lineageos 15.1, should I flash stock pie first? And only then I can flash this one, right?
No need, you can just flash dec firmware and flash this rom, or maybe if you want, you can go back to stock, install all the ota updates, and flash this rom, bcs in some cases, flashing december firmware remove some lte bands, that's why in op flex said don't force update if you don't want more problem.
 
  • Like
Reactions: 5i1v3rStorm

teacapan

Senior Member
Sep 25, 2016
165
52
28
Monterrey Nuevo Leon
No need, you can just flash dec firmware and flash this rom, or maybe if you want, you can go back to stock, install all the ota updates, and flash this rom, bcs in some cases, flashing december firmware remove some lte bands, that's why in op flex said don't force update if you don't want more problem.
hey what December firmware? Could you give me the link.:eek: