LineageOS 17.1 - Xiaomi A2 Lite - Development Only

Search This thread

reujea0

Senior Member
Jan 31, 2016
569
767
I could use some help. I flashed the image to my phone, but screen stays black after reboot from Recovery.
What i did so far was as followed:

1. Went to options in the normal system, enabled developer mode and usb debugging.
2. Reboot to fastboot and used the command "fastboot oem unlock"
3. This cause a factory reset, i wen again to the options and did step 1 again
4. Entered fastboot again and booted the twrp image
5. flashed twrp on the phone as written here (exept the Magisk part):
6. Reboot into recovery, everything nice till here
7. Wiped the phone and installed you latest linageos version
8. If i reboot now into recovery, the lineage recovery appears. If i reboot into system, first the android 1 screen appears and afterwards screen keeps black.

I dont know what to do anymore. What did i do wrong? There wasn't any issues during flash of OS...
Thanks in advance!

EDIT: When i boot the twrp recovery via fastboot again and from there normal reboot recovery i get the LineageOS recovery.
THat is a good sign, it mean that lineage is installed in some way. Try doing a factory reset in lineage os recovery
 
  • Like
Reactions: yamaha77
D

Deleted member 9954674

Guest
Good news, I got los18 booting and running fine. Will likely release tonight. I know that I have said it already a couple of time ^^
Will you release a version with microG included as you've done with LOS17.1 or is it not much of a priority?
 
D

Deleted member 9954674

Guest
@reujea0 thanks for your effort on this project! I know this version is discontinued due to v. 18, but I'd like to ask one thing: I don't like the camera and gallery apps, is there a way to change the camera app (if yes, provide link) and possibly delete the stock one?
Thanks again
You know the double click on the power button to open the camera? If you do that while having multiple camera apps installed, you'll be able to set a default one.
 
  • Like
Reactions: Landrea
D

Deleted member 9954674

Guest
Now I know 😁
What about the gallery app?
BTW could you suggest me a camera app? Gcam? But I need the apk please
If you have multiple gallery apps installed, doing something like opening a photo should give you the same dialog, allowing you to set a default one. As for Google Camera, these versions should work the best: https://www.celsoazevedo.com/files/android/google-camera/dev-parrot043/ (this one is the latest: https://www.celsoazevedo.com/files/android/google-camera/f/changelog1487/)
 
  • Like
Reactions: Landrea
If you have multiple gallery apps installed, doing something like opening a photo should give you the same dialog, allowing you to set a default one. As for Google Camera, these versions should work the best: https://www.celsoazevedo.com/files/android/google-camera/dev-parrot043/ (this one is the latest: https://www.celsoazevedo.com/files/android/google-camera/f/changelog1487/)

Thanks! I successfully installed gcam and google photo.
It's impossible to disable camera and gallery stock from settings.
Would it be possible to disable it from Titanium? Or any other way not to see the double icons 😁 thanks!
 
D

Deleted member 9954674

Guest
Thanks! I successfully installed gcam and google photo.
It's impossible to disable camera and gallery stock from settings.
Would it be possible to disable it from Titanium? Or any other way not to see the double icons 😁 thanks!
If you use a custom launcher, it's probably possible to hide them.Otherwise, if you have a computer, it's possible to disable them using adb shell pm disable --user 0 org.lineaegos.snap and adb shell pm disable --user 0 com.android.gallery3d
 
If you use a custom launcher, it's probably possible to hide them.Otherwise, if you have a computer, it's possible to disable them using adb shell pm disable --user 0 org.lineaegos.snap and adb shell pm disable --user 0 com.android.gallery3d


You practically suggested the same thing... And in fact it worked, now I've got rid of double icons and I'm using GCam and Google Photo.
Since we're here, have you any suggestion to improve my LineageOS experience? idk, kernel update, must-have magisk modules, apps... Anything could help. Thanks!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 33
    I have some previous experience building rom from the WIko Wax and the Huawei P8.

    I run the Xiaomi A2 Lite as my daily driver, so I can't afford to test this ROM.

    I do not know if this will even boot. As I said, I need you members of this forum to test this and tell me what works and the ROM's performance.

    This ROM is based on LineageOS 17.1, so that is Android 10.

    With a bit of luck this should work out of the box. It is here, that I should thank the pople from the Team Potato here https://forum.xda-developers.com/mi-a2-lite/development/10-0-posp-v3-q-daisy-t4011191 They are the ones who made most of the work to bring Android 10 to this device. I have just modified it a bit. Once again, props to them.

    And here are the links to the different versions:

    Version 0.1
    • No device audio
    • No camera
    Link V0.1

    Version 0.2
    • LED not working when charging
    • Fixed Camera
    • Fixed Audio
    Link V0.2

    Version 0.2.1
    • Fixed LED
    Link V0.2.1

    Version 0.3
    • More breaking than fixing
    • Wireless display fixed
    Link V0.3

    Version 0.5
    • Everything should be fixed now
    • OTA crashes whe nhitting install
    Link V0.5


    Version 0.6
    • Uses right microphone for camcorder
    Link V0.6

    Version 0.7
    • Fixed wireless display
    • Fix decoder.avc errors
    • Build tinymix
    • Build libldacBT_dec
    Link V0.7

    Version 0.8
    • Everything should work
    • Stable flashlight behaviour
    • Fixed green camera tint in low light
    Link V0.8

    Version 0.9
    • Camera switching fixed
    • Everything works
    • Working OTA
    Link V0.9

    Version 0.9.1
    • Fixed back video recording
    Link V0.9.1

    Version 0.9.5
    • Fixed flash issue
    • Should be bug-free
    Link V0.9.5

    Version 0.9.5.1
    • Fixes GCAM
    Link V0.9.5.1

    Version 1.0
    • Everything is stable now
    • New HAL1/HAL3 switch
    Link V1.0

    Always latest url: https://github.com/a-huk/otaserver/releases/download/09/lineage-17.1-20201115-UNOFFICIAL-daisy.zip

    It is a zip, I suppose that it will be possible to flash it through TWRP, just clean flash as much as possible. I am not responsible for any harm this may do to your devices.

    Again, please only post with feedback on the ROM, logcats would be useful as well or some benchmarks. I would like to make this stable and if possible official with Lineage. I know this forum is a mess, but again it is only for development. I will make propper one if this ever works. I need testers, thanks in advance. And props to the Potato Team



    XDA:DevDB Information
    LineageOS 17.1, ROM for the Xiaomi Mi A2 Lite

    Contributors
    reujea0
    Source Code: https://github.com/a-huk/device_xiaomi_daisy

    ROM OS Version: Android 10
    Based On: LineageOS

    Version Information
    Status: Beta

    Created 2020-04-02
    Last Updated 2020-04-04
    13
    OK 0.5 is out. This should be working fine, even OTAs will appear, for now only one ota will appear, but it is the same version as 0.5. It will download fine (a bit slow cuz running on a hoe broadband, but will download), when hitting install it will crash, you can still long press it and export, it will be in the internall memory and flash it with twrp (offain version). If everything works fine I will release it as unnoficial 1.0. Then I will start looking into getting it official and microG. But it should run as well as a official build
    13
    Ok, V0.8 is out, normally everything is working so that I can start making my way to official. For those that use gapps, I recommend BitGapps as they seem more stable than the usual open gaaps. In a week or two I will try and push a build with microG as well as get official. Lmn if something is not working
    11
    First sorry for the long wait/silence. I have had some things come up. With that said, I think that the ROM is a pretty good shape (many thanks to lacia-chan). So expect a new build in a couple of hours. It should have a working OTA system. More details to follow
    8
    Ok v0.9 is out. This should be the final version as nothing should break. Even OTA is working, camera is fixed. Please test it out. If this works it will be the first "official" (unofficialà Los17 build I will put out - meaning that dev phase has ended.