Code:
/*
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
* Please do some research if you have any concerns about features included in the products you find here 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.
* Your warranty will be void if you tamper with any part of your device / software.
* Same statement for XDA.
*/
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.
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. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.
This Rom works on MI A2 only
Instructions
Flashing instructions:
1. First of all you need to be on stock oreo to have the proper files on your device.
2. Boot into twrp (fastboot boot "path to twrp img")
format data and wipe dalvik system and data on both slots.
Set active slot to B
reboot into bootloader and boot twrp again ( fastboot boot "path to twrp img")
copy ZIPs to device and flash ROM
Set active slot to A
Flash Gapps
Reboot, and wait for booting. It takes ~3 minutes
(Optional)
7.2 Root: Download Magisk & flash Magisk zip via Recovery
Download:
VERY IMPORTANT
-Before installing ROM for first time format data and system partition
-If you Update the ROM skip 2,3,4,6,8 in Instructions.
Bugs:
Pie:
Changelog
Build 24/01/2019
Upstream changes from los
All blobs updated
January vendor and android security patches
FAQ
Q- Can i install it on locked bootloader?
A- No.
Q- Which gapps should be used?
A- OpenGapps arm64 9.0
Q- How to install this rom?
A- Read first post.
Q- Is something not working?
A-See the bugs listed above.
Q- Something* is not working.
A-Report bugs on github or here when it is not listed above.
Q- What's the difference between official weeklys and test builds ?
A- Official weeklys use the stablest code we have, test builds sometimes have bugs, but you will have features which are under testing or prerelease features which are not available on weeklys yet.
Source:
Device Tree
Common Tree
Vendor Tree
Kernel source
GitHub
Gerrit
XDA:DevDB Information
[UNOFFICIAL] LineageOS 16 [jasmine /MI A2], ROM for the Xiaomi Mi A2
Contributors
coderzs
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
Based On: LineageOS
Version Information
Status: Beta
Current Beta Version: 2018-12-04
Beta Release Date: 2018-12-07
Created 2018-12-07
Last Updated 2018-12-07
Last edited: