LineageOS 16.0 - Xiaomi Mi A2 Lite [ENFORCING]

Search This thread

BenG7

Senior Member
Jun 24, 2009
550
70
Hello

Confused :eek:

Important notes:

* Required * firmware version must be based on P-based builds.

currently my phone is on Androidi One 8.1 - latest release (security patch 1 november 2018); does the above mean I cannot flash LineageOS?
Thanks
 

Ahmad5544

Senior Member
Mar 30, 2018
106
10
Can i use your device source tree and kernel source tree to build new custom rom if your device and my device have same SOC ( Snapdragon 625 with msm8953)?
 

baudoux

Member
Nov 2, 2019
7
0
I cannot install LINEAGE OS on my MI A2 lite.
it gives the following error:

Code:
installing zip file '/sdcard/LINAGEOS.zip'
Checking for Digest file...
Step 1/2
Error applying update: 7 (ErrorCode::kInstallDeviceOpenError)

Updating partition details...
...done
 

BenG7

Senior Member
Jun 24, 2009
550
70
[
[*]Format/Wipe /system and /data

This step needs AT LEAST clear instructions as it currently is the surest way to brick your phone!
I got this message after formating the data and wiping system:
Code:
"Device unable to boot. Error - mdtp image is corrupted"
I am now stuck on fastboot

from the post https://forum.xda-developers.com/nova-plus/help/bootloop-mdtp-img-corrupted-t3674210/post80993947#post80993947
you have to flash BOOT/RECOVERY/SYSTEM imgs to restore your device
@virusdunil

the commands are
Boot: fastboot flash boot boot.img
Recovery: fastboot flash recovery recovery.img
System: fastboot flash system system.img

but the question is where can I get the
boot.img
recovery.img
system.img
for the xiaomi Mi A2 Lite (daisy); bearing in mind the phoe is on a 2 partition system
?

Thanks a lot in advance
 
Last edited:

comolik

Member
Jun 14, 2014
26
15
Could anybody imagine to take over maintenance of this LineageOS daisy build? Apparently @33bca lost interest and there's no updates since months.

Would be a shame to loose LineageOS support for this great phone.
 

chicolocox

Member
Aug 2, 2010
8
2
hello I installed lineage os 16 on my a2 lite and opengapps mini, everything is working fine except the Androd Setup that is crashing when trying to restore my settings. Can somebody help me, I already tryied to fix it with some that I found like giving all the permission to the pixel launcher, or install the pixel stuff module for magisk but it didn't fix the problem for me. Here is the log
Code:
12-10 15:22:59.856  3055  3055 E AndroidRuntime: FATAL EXCEPTION: main
12-10 15:22:59.856  3055  3055 E AndroidRuntime: Process: com.google.android.setupwizard, PID: 3055
12-10 15:22:59.856  3055  3055 E AndroidRuntime: java.lang.RuntimeException: Unable to resume activity {com.google.android.setupwizard/com.google.android.setupwizard.account.GmsAccountCheckin}: java.lang.IllegalStateException: Finish requested twice
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3822)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at android.app.ActivityThread.performNewIntents(ActivityThread.java:3172)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at android.app.ActivityThread.handleNewIntent(ActivityThread.java:3179)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at android.app.servertransaction.NewIntentItem.execute(NewIntentItem.java:49)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1816)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:106)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:193)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6718)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: Caused by: java.lang.IllegalStateException: Finish requested twice
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at com.google.android.setupwizard.util.NoJankFinishFragment.finishAction(NoJankFinishFragment.java:120)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at com.google.android.setupwizard.ProgressActivity.onFragmentResult(ProgressActivity.java:233)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at com.google.android.setupwizard.ProgressFragment.sendFragmentResult(ProgressFragment.java:113)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at com.google.android.setupwizard.ProgressFragment.sendFragmentResult(ProgressFragment.java:100)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at com.google.android.setupwizard.account.AccountCheckFragment.onActivityCreated(AccountCheckFragment.java:61)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at android.app.Fragment.performActivityCreated(Fragment.java:2531)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1318)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at android.app.FragmentManagerImpl.addAddedFragments(FragmentManager.java:2426)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at android.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2205)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2161)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2062)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at android.app.FragmentController.execPendingActions(FragmentController.java:406)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at android.app.Activity.performResume(Activity.java:7284)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3814)
12-10 15:22:59.856  3055  3055 E AndroidRuntime: 	... 12 more
12-10 15:22:59.859  1514  1530 W ActivityManager:   Force finishing activity com.google.android.setupwizard/.account.GmsAccountCheckin
12-10 15:22:59.865  3055  3055 I Process : Sending signal. PID: 3055 SIG: 9
 
  • Like
Reactions: czeck.page

czeck.page

Senior Member
Jan 6, 2017
95
8
Bojkovice
hello I installed lineage os 16 on my a2 lite and opengapps mini, everything is working fine except the Androd Setup that is crashing when trying to restore my settings. Can somebody help me, I already tryied to fix it with some that I found like giving all the permission to the pixel launcher, or install the pixel stuff module for magisk but it didn't fix the problem for me. Here is the log
This rom han been abandoned
 
  • Like
Reactions: chicolocox

past_k

Member
May 31, 2020
7
4
So did anyone try the 20190804 build? Does it fix ghost touch issue? I see there is a related commit in the sources and probably it got in that build.
 

Viggen66

Senior Member
Mar 22, 2009
725
85
I have installed latest rom available, don't know about ghost touch, one thing I notice is that the network bar is always turning off and on, like I had no network coverage, but I have ringed and talked to people and phone never stopped working, if it had issues with the network it would shut down, weird.
 

Hotorou

Senior Member
Apr 29, 2020
100
104
Your Build's were so fluent.... Why you left man?

---------- Post added at 07:18 PM ---------- Previous post was at 07:14 PM ----------

If you had been here it would have been another picture for daisy
 

bluesheep13

Member
Aug 7, 2019
6
0
Since Bluetooth is horribly broken (constant micro-stutter, connection loss when using BT headphones), both on Android 9 and 10 on my Mi A2 Lite, I am currently considering to install a custom ROM, most likely something like LineageOS. Can someone here confirm that Bluetooth is working as expected with this ROM? Did LineageOS manage to circumvent the BT bug that Xiaomi apparently introduced with Android Pie?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 61
    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.

    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.

    GPL compliance:

    yG18r6g.png

    Working:
    • Camera (and flashlight)
    • WiFi
    • Bluetooth
    • Telephony (Calls and Data)
    • Audio (Record and Playback)
    • Video Playback
    • Sensors
    • GPS
    • HW crypto
    • OTA Updater
    • SELinux Enforcing

    Broken:
    • Tell me, there will always be something..



    Compatibility:
    Compatible with all Xiaomi Mi A2 Lite variants.
    Builds are based off the Xiaomi's Android 9 firmware.​

    Downloads:

    Notice:
    • No custom kernels are supported in this thread. Only stock kernel and official builds will be supported. No bug reports if that's not the case.

    Installation:
    • Boot recovery from fastboot (TWRP recovery for Mi A2 Lite)
    • Format/Wipe /system and /data
    • Install LineageOS zip package
    • Install [optional] TWRP flashable
    Don't forget to change slots after installing the rom in TWRP!
    You have to reboot TWRP to the "new" slot to install GApps!

    Important notes:
    • * Required * firmware version must be based on P-based builds.
    • GApps can only be flashed on clean installs.
    • Formatting/Wiping data (all user data is wiped, including internal storage (in case of a format)) is a must if you were using a different rom previously.

    Credits & collaborations:
    I would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!​

    Device wiki:



    XDA:DevDB Information
    LineageOS 16.0 for Xiaomi Mi A2 Lite

    Contributors
    33bca
    ROM OS Version: 9.x Pie
    ROM Kernel: Linux 3.x

    Version Information
    Status: Testing

    Created 2019-04-07
    Last Updated 2019-05-02
    19
    New LineageOS build!
    OTA will follow soon
    Download: https://androidfilehost.com/?fid=6006931924117920053

    Changelog:
    - Added offline charging
    - Fixed ghost-touches
    - Fixed fingerprint gestures for fpc
    - Minor changes you wont notice & LOS upstream

    Cheers!
    19
    New test build!
    This build is for testing purposes only! It could have some bugs caused by selinux.
    Please let me know about any bugs (pm to me with logs)

    Currently know:
    - None

    Download: https://androidfilehost.com/?fid=6006931924117908101

    Changelog:
    - Sepolicy enforced (Yay!)
    - added 4K video recording
    - Minor changes you wont notice

    Cheers!
    18
    New Update! (OTA will follow soon)
    Download: https://androidfilehost.com/?fid=6006931924117886039

    Changelog:

    - Fixed WifiDisplay (this time for real...)
    - Update wont remove GoogleApps or Magisk (just for the following releases, this one will still do it...)
    - Minor changes you wont notice

    Enjoy!
    18
    New update!

    Download: https://androidfilehost.com/?fid=6006931924117884249

    Changelog:
    - Added OTA support (from now on you dont even need TWRP to update builds, a reboot will do it after downloading and installing it in the updater app)
    - Added Doze
    - Added option to record calls
    - Fixed bad bluetooth call quality
    - Fixed wireless display
    - Updated CAF tag (kernel & prima driver)
    - Minor changes you wont notice

    Cheers!