yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] magicmastermindmurks:
That is indeed weird. Not much of an expert as I struggled as well in getting it to run (was on wrong stock initially). I can list the steps exactly how I did them, maybe it helps?

- Revert to stock ROM V10.0.2.0 via MiFlash (I tried 10.0.3.0 but it was weird region so no cellular reception) (source: https://xdaforums.com/mi-a2-lite/how-to/fastboot-xiaomi-mi-a2-fastboot-images-t3824871 )

- Go through the setup after your phone boots but skip all internet connection stuff and all security stuff (fingerprint, pin, ...)

- Enable developer options and then enable USB debugging and auth your computer and make sore OEM is unlocked

- Boot into fastboot via ADB

[[[ (not sure if this is required)

- exec: fastboot oem unlock

- Go through the setup after your phone boots but skip all internet connection stuff and all security stuff (fingerprint, pin, ...)

- Enable developer options and then enable USB debugging and auth your computer and make sore OEM is unlocked

- Boot into fastboot via ADB

]]]

- Boot TWRP 3.3.0 via fastboot (source: https://xdaforums.com/mi-a2-lite/development/paranoid-android-pie-beta-xiaomi-mi-a2-t3912880 )

- In TWRP, go wipe > advanced and then wipe /data and /system

- Then wipe > format > yes

- Reboot into bootloader

- Boot TWRP 3.3.0 via fastboot

- Install ForcedEncryptionDisabler (source: https://xdaforums.com/mi-a2-lite/development/paranoid-android-pie-beta-xiaomi-mi-a2-t3912880 )

- Install Lineage ZIP from this thread

- Go to Reboot and switch to the other slot (A to B if you were on A; vice-versa)

- Go back and then reboot > system

This did the job for me.

I did not install TWRP, nor GAPPS nor Magisk. Only installed MicroG via F-Droid in Lineage which allows push for Telegram/Whatsapp (at least it seems to be working okay for now).

>>> This means, if you want to enter TWRP again, you have to boot it via fastboot. If you want to install it permanently, just flash it once you are done with everything else. I personally don't think installing TWRP is such a big bonus since all the versions for A2 Lite are not fully functional. Therefore I rather boot the most recent build adhoc

Lineage gives you root via ADB, so if you want to install anything with root access, you can push it via ADB and put it into the system directory. To do so:

Enable Root>ADB in Developer Options and then exec the following via ADB

This applied mainly to MicroG Service Core in order to use push messages without any Gapps.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] LazyT:
Camera is broken with 4.9 build, same result with OpenCamera.

Can the storage location be changed, the default is Android/data/org.lineageos.snap/files and not DCIM/Camera?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] SuaveDandy:
...Huh... I didn't turn on the USB debugging. Thought it was unnecessary. Fastboot works anyway. And yeah, I did flash TWRP. I don't remember if I also flashed Magisk or not. I can't live without it tho so I almost always flash it. Unless I'm testing several ROMs.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] definho:
so I have this problem, after I install LOS on "B slot" I do this ->Reboot->Switch to slot A->Reboot to recovery to install gapps, and after that reboot on slot A I'm stuck on Andoird One screen, I don't reboot in recovery on slot A again to install gapps, what's the problem there?

OK so now I got it, after I flashed LOS on slot A I immidiate flash TWRP.zip again and then I can boot to recovery after I switch to slot B, but still don't get boot lineageos, now I tried without gapps
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] hendri88:
After u reboots to recovery no need to change slot because is automatically change the slot just go straight away falsh gapps
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] definho:
I'm a long time user here, used many devices and always used custom ROMs on every single phone i bought and I can say that I'm experienced "flasher". The amount of left out instructions here is just funny, almost bricked my phone. On the first page it doesn't say that you have to use offain TWRP (can someone explain why?? [MENTION=5296790]33bca[/MENTION] ???) to flash this ROM and it's like FIRST BASIC INSTRUCTION you should write here

second, to reboot into slot B, after you flashed LOS for the first time you HAVE TO install .zip of TWRP again or you can't boot into recovery again, you have to again fastboot flash .img of TWRP and basically start whole install process again
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] dedebekri:
Yes, it is confusing.

However, since this is an A/B device, it comes with these side effects. You probably had an A only device like many of us earlier, which had a separate recovery partition. Flashing roms and installing twrp was a piece of cake, those were the good days my friend.

Mi A2 Lite cihazımdan Tapatalk kullanılarak gönderildi
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] definho:
yeah I know, this also doesn't seem to be that hard after you read 7 pages of thread with all the problems people have with ONLY INSTALLING! threads are here to comment on bugs etc. and noone here took 30 mins to write good install steps and put them in the first post because you want to encourage people to use your ROM and not just put Instructions like: "flash the .zip".

Yeah I know how to flash a .zip, but someone who is here for the first time in his life can he install this ROM?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] downloadonlyaccount:
Same here, the amount of different installation instructions is kinda ridiculous.

I would accept a quite complex but safe and working way to install it. But as every is telling their bootloop stories and the other guys posting a slightly different list of instructions, I'm still waiting for the "good way" to install this rom...
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] merlin.berlin:
i did it like this:

1.boot twrp

2.Wipe system,data

3.Flash rom and force encryption zip

4.Flash twrp

5.Switch slot

6.reboot twrp flash gapps, magisk

7.reboot system

if anything goes wrong just flash stock image with miflash and repeat process
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] definho:
from which ROM did you come, was it stock Pie?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] bedencic:
How is the battery life on this rom, and antutu score.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] ilovebytes:
[MENTION=4130154]definho[/MENTION]

it must be a pie rom i tested it from stock pie and from paranoid android pie and from both i had no problem going to this rom here. And regarding flashing custom roms onto the A2 lite - yes its a bit different (also the way twrp works as there is no recovery partition anymore and twrp is directly in the boot partition) and tricky on first sight, but in the threads you can find all the information you need got get it going. Buts its important to read before you try ;)

i wrote at least 2 howtos in detail howto flash the rom (in this thread and the PA one) its just a bit hidden within the whole thread - and you are right it would be nice for beginners if [MENTION=5296790]33bca[/MENTION] would include/copy one of this in detail descriptions into the start post. So maybe if he reads this he will do it - but besides of this his work is really appriciated and the roms runs very fine..

battery life for me is great - better then Paranoid Android and therefore also better than stock rom - as the both performed the same for me. I do not know Antutu Score as its not that importand for me. But my A2 lite feels really snappy with this lineage rom :D
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] definho:
anyone else with the front camera problems? I can take only one picture with front camera, after that the camera is a bit buggy?

also, there's no way to install gcam atm?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] merlin.berlin:
yea same for me. stock camera is somehow buggy.

im using footej camera right now. but you can try any other camera application from play store. they're mostly working fine.

gcam isn't working for daisy custom roms right now, afaik
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] magicmastermindmurks:
I did a rather detailed instruction of what I did here: https://xdaforums.com/showpost.php?p=79306948&postcount=66
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] joruru:
Hi,

thanks for the room. Is there a posibility that Lineage OS become official for Xiaomi A2 lite soon?

Thanks
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] rob420p:
I'm just happy all this development that been going on thank u 33bca and offain for getting the ball rolling.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Funk Wizard:
Moderator Information: Thread Cleaned

Thread Cleaned and some off topic posts not related to development have been deleted.

Everyone should be aware about the forum rules, if not, i suggest you go through them now.

Let's keep the discussion clean and related to Development related things and issues moving forward.

Thank you for your cooperation,

Funk Wizard

Forum Moderator
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] leitseleac:
I'm using this on 10.0.7.0, my process were weird, I tried to follow the instructions but I recklessly switched some steps. In the end, I never got bricked, booted up straight without issues. I got magisk as well. I'm loving the LiveDisplay settings. Been using for a week and nothing has hindered my usage YET. Gj 33bca!
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] kitaco:
How's the battery life on this?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] tutankpusch:
after reading post https://xdaforums.com/showpost.php?p=79306948&postcount=66 and https://xdaforums.com/showpost.php?p=79365415&postcount=85 i installed latest stock 10.0.7.0 and twrp 3.3.0 and then lineage 16. bootet straight up. then i installed magisk via zip in recovery. most things work like a charm.

but i have two issues:

first: usb options are greyed and when setting is charging as standard i cant set it to file transfer. luckily one can set initial otion to file transfer even though thats one safety option less. so thats what i need to run since the usb options are still greyed.

second: when switching to camera api2, no camera works any more not even standard cam. neither opencamera or gcam. id really like to install gcam without even microgapps.

so as a daily driver with camera api2 switched off and standard usb option to file transfer the os runs well so big up for [MENTION=5296790]33bca[/MENTION] and sorry for being unsatisfied after donating i think back in january without seeing quick results. thanks for your continuous work.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] dedebekri:
1. You can change usb options from developer menu

2. Cam hal3 (google cam) does not work on pie vendor on custom roms (thanks to xiaomi for half baked pie roms)

Mi A2 Lite cihazımdan Tapatalk kullanılarak gönderildi
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] tutankpusch:
hi [MENTION=4796531]dedebekri[/MENTION], thank you for reply and clarification and a pity that xiaomi didnt include camera api2 support. regarding the usb ptions, they are not aqccessible for me. i have no clue why. i read elsewhere i need to switch usb debugging off an on again while usb cable detatched and tried but that didnt work. only work-around is to set the initial option to "file transfer". but the options menu in the status screen is still greyed out.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] LazyT:
FM-Radio has sporadic no sound: can switch through all channels, but nothing to hear.

Only after reboot it works again.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] wilsowrg:
continua dando erro, o problema e a Rom, por favor atualize o update.script
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] TrancëJay:
Does this rom support 1080p@60fps video recording?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] LazyT:
[MENTION=5296790]33bca[/MENTION]

What is the official state of this rom?

Was it only to show the device tree is working or will it be maintained with monthly/weekly/whatever updates?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] CarlosAG10:
An update would be highly appreciated
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] BusterSG:
Volte work out of box?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] kikolyso:
Hi guys,

Did you use by chance adaway?

For me the host file update doesn't work.

When i try to remount system partition in rw mode (mount -o rw,remount /system) it tell me the system device isn't defined into fstab file. it is so.

I don't know if this is the problem. I don't use magisk. I flashed something like su.zip on TWRP taken from lineage official site and enabled root for all apps under developer options. Do you know like sort it?

Regards
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] eremitein:
try

mount -o remount,rw /

or just use root file explorer
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] 33bca:
I don't see any reason to update the rom if there is no change... ;)

Should, didn't test it with the current build.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] yamaha77:
welcome update!

thank you, Fabian!
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] skyline91:
new build: https://androidfilehost.com/?fid=1395089523397957436
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] CreateYourDream:
google camera works?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] ilovebytes:
hm i am gonna give it a try on weekend - but i don't think vowifi, gcam will work - as it does not work in any custom but only in the stock roms :(
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Txatxiquesi:
Link is broken.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] skyline91:
Build was probably removed.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] skyline91:
New link: https://androidfilehost.com/?fid=1395089523397957576

Changelog: should have some performance & notch improvements and volte
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] kikolyso:
Hi, to update Lineage, we need only to flash it or we need to do something else? For example wipe cache....

Regards,
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] skyline91:
As far as i know you only need to flash the update.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] CreateYourDream:
are google camera works?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] skyline91:
I'm not the maintainer of the rom, I just c/p link here from telegram group. But as far as i know there isn't fully working gcam for custom roms.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] CreateYourDream:
ok thanks will try it
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] mnbpt:
Hello.

I've looked for the answer to this question in this thread, in other threads, in the whole forum and several websites, but had no luck.

It may be a dumb question and, if so, let me apologize in advance.

After the whole installation process, which includes flashing Forced Encryption Disabler, is it possible to encrypt the device via Lineage OS Settings or any other way? I would love to get back to Lineage OS but I can't have the device unencrypted.

Thank you.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] 33bca:
Please don't share the builds I give out on telegram to test on XDA, there is a reason I don't hare them here!

This time its the same build I'll publish here, but it could also be a broken build...
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] skyline91:
Ok, sorry.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] 33bca:
New update!

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

Changelog:

- Notch adjustments

- Performance adjustments (no more lags in some situations)

- VoLTE should work now

- LiveDisplay included
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] kingd421:
Does it need to be 10.0.0.3 or can it be latest?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Arzargul:
Can you please write a tutorial on how to update from the previous build to the last one ?

I have anxiety issue with the A/B partition thing ...

Thx !
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] epcesp:
I have the same question.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Os_Herdz:
Dirty flash (no wipes):

Go to twrp

Install zip rom

Install twrp installer

Change slot

Reboot to recovery

Flash gapps and magisk

Reboot to system

Enjoy
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] suschmania:
I can confirm this method when coming from the last build, where we had to install the rom manually ("lineage-16.0-20190313-UNOFFICIAL-treble_arm64_bvN.img").
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] kikolyso:
Hi guys, which magisk version should i flash on latest lineage? I had installed magisk when i was on stock rom but i don't know if the steps are the same. Thanks
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] :
How to install from stock pie 10.0.8:

-Enter fastboot mode

-Flash TWRP 3.3.0.0 by offain

-Wipe system & data

-Install Lineage OS

-Switch slots

-Reboot

-Setup Lineage OS and then reboot to TWRP by flashing twrp boot img again

-Flash TWRP zip file to keep TWRP on both particions and then flash Magisk

-Finished
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Os_Herdz:
Work perfect with magisk 19.1 stable, flash magisk in the last step.

Fastboot twrp, wipe data, Install rom and twrp, change slot, reboot to recovery, install disable dm verity, gapps and magisk reboot to system
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] general.nie7:
I've seen some people asking above without an answer - what is the state of encryption right now?

I can't wait to install Lineage, but of course can't use it without encryption.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] 33bca:
Encryption works, but you wont be able to access storage from TWRP then ;)
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] general.nie7:
That's great. Thanks for answering.

Does it create any problems for normal usage? Would I possibly need that access?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] definho:
do we need to know which slot we choose first time we installed ROM? So let's say, first time I installed LOS on slot A, do I need to dirty flash LOS zip again on slot A?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Wachtelhorst:
Thanks you ! :) My first impressions are good, the only thing is that Viper4Android is not working. If I install it with the workaround on magisk it works but WiFi is broken afterwards.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] wenna.speedy:
You have to turn off AUDIOFX for Viper working. But for a while, I need do restart, because Viper stop working after couple of hours - in my case.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] general.nie7:
I installed the rom today. First of all - congratulations [MENTION=5296790]33bca[/MENTION], keep up the great work on the way to achieving total stability! ;)

Bugs I've noticed so far:

1) Radio FM - doesn't change the output from headphones to speakers, needs to be turned off and on again to play from speakers

2) Messaging app - after clicking/entering the message from the notification bar it's not getting marked as read

3) SELinux is off

4) Files app doesn't give option to share via bluetooth (at least .apk file)

It's quite stable and fluid otherwise, good job!
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] eremitein:
not possible send some types of files via bt

it's an android restrictions
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] general.nie7:
I didn't know, but then, I think in previous versions I did it and it is still possible via Amaze File Manager.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Wachtelhorst:
Sorry I didn't mentioned that AudioFX is already uninstalled. But it won't work, only with the workaround but of course I need WiFi too^^

If it's not possible at this time I'll wait until the next release :)
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] downloadonlyaccount:
Anyone tried to enable D2W with the command found in this thread?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] rob420p:
I did but I have the fth tp screen it only works if u have the good x one seems xiaomi used two different touch pads
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] suschmania:
Tried and it works! Nice :)
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] general.nie7:
After using it for more than 24 hours I think the performance and battery are great. My updated list of bugs:

NEW 1)Volume control from headphones buttons doesn't work. Call receiving and song changing works well

NEW 2)Wi-Fi signal seems to be a little bit weaker, in a place where other phones still receive the signal I'm loosing it.

3) Radio FM - doesn't change the output from headphones to speakers, needs to be turned off and on again to play from speakers

4) SELinux is off

5) changing USB behaviour after connecting

Also a question - trust says the build is signed with public keys - is it like this with any unofficial build?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] square box:
hi, is encryption off because of the rom, kernel, or because of twrp? who is working on it and is there progress?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Voodoojonny:
As far as I know, encryption works - but not in twrp.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Folgore89:
I managed to install the rom after mixing a lot of procedures (even the ones in this thread gave me soft bricks and bootloops). On this point, the developer should write an appropriate guide with links for the right files, as the sheer amount user experiences reported here is more than welcome, but sometimes inaccurate and misleading.

This is what I've done coming from Stock Pie, April Update.

-unlocked bootloader

-

temporarily booted

twrp by offain

-wiped \system and \data in current slot (B)

-changed slot (A), and wiped \system and \data, just to be sure

-changed slot (back to B again) and flashed ForcedEncryptionDisablerDaisy zip

-flashed LOS rom zip

-changed slot (back to A again)

-

flashed

twrp by offain zip

-rebooted system and set up rom

-rebooted into twrp and flashed magisk and gapps nano

Note that before setting up the rom I never rebooted between steps, that gave me bootloops and in one occasion it did even boot up the stock rom with March Update after flashing LOS rom!!!

So far so good, the rom is great with lots of customization options even if it's not as smooth as the stock one but I can live with that considering it's still in unofficial development state.

One question though, when I connect my phone to the PC I get the connection options greyed out. Only way to change from, say, data transfer to only charge is going into the developer options. Is it supposed to be like that?

EDIT: no Magisk module seems to work. Selinux is off, and I have no root option in developer settings, only one in privacy->trust which says "root access disabled". But root is actually enabled, having installed Magisk.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] downloadonlyaccount:
Yes, that's common for custom roms.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] juanantofb:
Hi Dev, sorry for my english, only speak Spanish.

Thanks for this rom.

Can you include in the next release "tinymix" binary file?

Is for check audio capabilities.

Thanks.