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

Search This thread

flex1911

Recognized Developer / Retired Forum Moderator
Feb 12, 2013
998
7,536
21
Volgograd
http%3A%2F%2Fi.imgur.com%2F2okPze5.png

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
 

fhsd22

Senior Member
Oct 30, 2016
50
2
so this means if we have to flash 10.0.3 firmware if we are in 9.6.8 Oreo firmware? ?
 

eark555

Member
May 8, 2017
9
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
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
131
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
104
Google Pixel 3
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

matheusX

Member
Jun 22, 2015
20
9
Ocara
sir, Could it be that I'm asking for more in the next update can you add the translations?
your ROM was one of the best I've ever used
 

teacapan

Senior Member
Sep 25, 2016
173
57
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:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 143
    http%3A%2F%2Fi.imgur.com%2F2okPze5.png

    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
    71
    Reserved

    Notes:
    • All official builds already include the up-to-date firmware, so you don't need to update it manually
    61
    Resurrection!
    53
    Migration notes

    Since 16.0 is official now and the first build dropped I thought it will be good to write that.

    Official 15.1 -> Official 16.0:
    That's the main and the only migration case that's supported officially.
    • Backup any of your important data (not required, but recommended if something goes wrong)
    • Download the official 16.0 build either from https://download.lineageos.org/tissot or via built-in Updater app
    • Download my TWRP build (other ones aren't supported and gonna give an error while installing), GApps, su (if required)
    • Boot the downloaded TWRP from fastboot
    • Wipe only your /system partition
    • Install the build you've downloaded from storage or sideload
    • Reboot to bootloader, boot TWRP again
    • Install any required addons (gapps, addonsu, but better avoid magisk until you booted successfully)
    • Reboot to the system
    • Enjoy (or cry if you screwed up anything)

    Unofficial 16.0 -> Official 16.0:
    That's the case that is not supported, but available by the experimental migration build.
    I will not provide any assistance if something goes wrong after using that method.
    • Backup any of your important data (recommended)
    • Download the official 16.0 build either from https://download.lineageos.org/tissot or via built-in Updater app
    • Download the experimental migration build from here: https://drive.google.com/open?id=14ILjcD6pM3U14V4vaeQlE61wJ_HgatY4
    • Download my TWRP build (other ones aren't supported and gonna give an error while installing), GApps, su (if required)
    • Boot the downloaded TWRP from fastboot
    • Wipe only your /system partition
    • Install the migration build you've downloaded from storage or sideload
    • Reboot to bootloader, boot TWRP again
    • Install GApps (required if you did it earlier)
    • Reboot to the system
    • Wait till it fully boots, then reboot to fastboot
    • Repeat steps 5-10, but now with the official build
    • It's done, now pray that it worked flawlessly and didn't screw up any of your data
    53
    New build is available now.

    Changelog:
    • February security patch
    • Fixed broken flashlight/camera when secure boot is enabled
    • Switched to open source camera HAL and resolved green artifacts in some apps like WhatsApp
    • Upstream lineage updates and things

    Download: https://drive.google.com/open?id=1jH6qpBOh4yji6UgrCx85DXXbrv6hpB8l