yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] linuxpauling:
Yes, when I push the "select storage" button I am given 3 choices - internal storage, USB OTG or Micro SD card. I select Micro SD Card and then am presented with a bunch of folders - vdevdir, alarms, android, dcim, ..., twrp. There are no zip files that are showing anywhere. for some reason I can't see the files via android. is it for some reason because i put the files on the card via the computer? I did a search online and came across someone saying that they could not see files on their sdcard because the card was formatted as internal card? Does that make sense?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] mustaphakosar:
I don't know anything about sd card formatted as internal card thing.

One more thing that comes to my mind;

next to "select storage" button you should be seeing "install image" button. If you are seeing "install zip" instead of "install image", just press it once to be able to see zip files. Than you can browse in for zip files.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] linuxpauling:
Here is what I did, i rebooted phone from twrp and then formatted my card on the phone (there was 2 options - format and format internal). I chose the reg format. I then removed the card and put the TWRP and Lineage zip file back on the card. I put card back in phone and then repeated the Fastboot into TWRP Recover. I could then see the zip files via TWRP. But, my next step (as is noted on this thread's instructions) is to do a Factory Reset in TWRP. So, I did that again and following this those zip files cannot be seen any more in TWRP (and I know they are there because I checked the card on my computer). So it seems when I do the Factory Reset from TWRP for some reason it makes the files (at least those zip files) invisible to TWRP. Maybe if the instructions here are saying to do a factory reset they are expecting the zip files to be installed from somewhere else?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] mustaphakosar:
There may be a problem with sd card, if you have an otg usb drive, try installing from there.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] jkrhu:
Do it like this -

1. Download platform-tools, MiFlash. Open MiFlash and install drivers. Place platform-tools in a convenient place.

2. Download custom ROM of your choice, Gapps, Magisk, latest TWRP recovery in both IMG and ZIP format (you'll need both) to your PC.

3. Place the recovery IMG in platform-tools folder. You can rename it to something short like TWRP.img.

4. Unlock Bootloader using this guide

5. Now you need to flash recovery to both slots like this -

fastboot flash boot_a TWRP.img

fastboot flash boot_b TWRP.img

6. Now reboot into recovery either by VOL UP + POWER or by typing adb reboot recovery.

7. Format data in TWRP, confirm by typing yes.

8. Go into Mount, make sure MTP is enabled and the Data partition is checked. Now you can send files from your PC to the phone. If your PC wont see the phone in File Explorer or you can't sent files over, reboot the phone to Recovery again by going to Reboot section and selecting Recovery and replug the cable to the PC.

9. Once you have sent over your Custom ROM, the latest TWRP in ZIP format, Gapps etc. Now it's time to install. Go into Install section and install:

- Custom ROM

- TWRP in ZIP format.

10. Once this finishes installing, go back to the main recovery screen. Go into Reboot section, switch active slot to the one that is inactive and reboot into recovery again.

11. Now you can flash Gapps, Magisk etc.

12. Once it's done, do a factory reset and reboot into system.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] linuxpauling:
Thanks you very much for the steps. I had basically completed the first four. As for step 5, I guess that replaces the "fastboot boot twrp.img" command that is specified in the instructions at beginning of this thread (note that reujea0 did mention not to mess with the slots in post #161 - perhaps this is something different?). So I think I can follow all these directions although just to confirm a few things...

#7 [format data] - is this the function found under the 'wipe' option in twrp?

#8 [mount] - Oh, I see now, I can see my Mi A2 Lite on my windows explorer. It shows 3 folders (2 internal storage folders that look the same and a micro sd folder). To which folder do I copy the twrp and lineage zips? Do I still need to go back and do step 5 given that I can see these folders here?

#10 [switch slots] - again reujea0 mentioned not to mess with slots - should I be concerned at all

Thanks
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] linuxpauling:
ok, i ended up following these steps and I now have Lineage installed - seems to be working. Thank you very much.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] jkrhu:
Wasn't available at that time, but I'm happy to see that you've succeeded. OP can correct me, if I'm doing something wrong, but that method worked for me without any problems.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] usman farhat:
Can you guys help me understand this? :

Is Mi A2 Lite powerful enough to support Android 11? I mean, how is the performance of LineageOS 18.1 compared to 17.1?

Also, the stock ROM has an awful problem that the apps are killed as soon as we switch to another app (happened after upgrading to Android 10). Does this (LineageOS) have this problem?

Sorry if I am asking at the wrong place.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] jkrhu:
The performance of this ROM imo is very good. For me everything worked so far excluding HAL3 switch. It's snappy, responsive. I get better battery performance than stock 10 and can keep over 10+ apps in memory and there's no reloading from first to last.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] usman farhat:
Thank you. So I reckon we can't use google camera and have to stick to the stock one (which works)?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] reujea0:
I have fixed the camera switch, now I am trying to get wfd working. New build should be out in a couple of days.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] reujea0:
Most likely end of march

Please send me a log of when that happens. YOu can record it directly on the phone https://play.google.com/store/apps/details?id=com.dp.logcatapp&hl=en&gl=US
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] reujea0:
Try and provide logs of when that happens, as I don't have an android auto compatible car. Try this app https://play.google.com/store/apps/details?id=com.dp.logcatapp&hl=en&gl=US to get the logcat
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] reujea0:
Will be fixed in a couple of days.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] IkkeZelf1000:
Unfortunately I already reverted to stock (I need this phone as my daily driver so can't afford to be on a ROM which doesn't do everything I need).

FWIW, I did take a logcat last year when I tried out some other custom ROM's and got this error:
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Landrea:
Hi and thanks for your work!

After 2 years of stock ROM, yesterday I decided to switch to LineageOS to give new life to my daisy.

This is merely an appreciation post, I'm satisfied, just two things:

- openGAPPS that you suggested in 1st post don't work with Android 11, so i had to install MindtheGapps

- i'm unable to connect to wifi at work, because of the update about "ca certificate" december 2020. I won't bother to ask for the domain or CA certificate, so I'm thinking to switch to LineageOS 17 - Android 10.

What do you think? thanks
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] jkrhu:
Don't know about the second issue, but OpenGapps do work. You have to search for Test Builds, as stable releases are working up to Android 10. It's a bit below the list of available packages. They may have some issues, but in my own experience everything works fine.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Landrea:
You're right sabout OpenGapps test builds, thanks for the trick!

The second issue is going to be quite an issue in the future, because you won't be able to connect to a wifi without a CA certificate, it's very boring for a standard user (like me).

Looking up on google you gonna find lots of articles, if you're interested... At the moment the issue involves only Pixel 4 and few other phones...

Thanks for your reply btw. I've just switched to lineageOS 17.1 december update. It seems to be smooth and neat, stable!
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] reujea0:
Could you tell me about the CA cert issue, I am aware of what they are but I don't think that we are affected by it.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Landrea:
you can read here in detail!

PSA: Android 11 will no longer let you insecurely connect to enterprise WiFi networks

The Android 11 update will break connecting to certain enterprise WiFi networks. Here's why and what you can do to fix it.

www.xda-developers.com
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] reujea0:
O

h, ok I see, well there isn't a whole lot that I can do. Even the article sates it clearly, talk to you network admin. I can't even realisticly add it back, as it would mess up other updates.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] wuslschweiz:
Hi all

I am using this rom for a view weeks and it works well (except google maps but im sure I missed a permission for it somewhere)

Only real issue I have is with one banking app which detects root. I dont have magisk or anything for root access. Does this rom has root by default or is it just this banking app? other banking apps are working.

Can I flash magisk now or do I need to do a clean installation?

Thanks
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] reujea0:
Thank you very much, I have noticed the huge spam of ACDB in logcat, never addressed it. I will look into it. Probs for april release, rn I am working on wfd. THanks really quality logs.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] reujea0:
Will be working in next update.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] :
Well this is a dumb change. I mean I get recommending against it but flat out removing the option will cause more issues than it'll solve.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Landrea:
Yes, i know there's nothing you can do. In fact I switched to 17.1 and today I've been able to connect to my enterprise network again... Don't worry btw, I can live with Android 10.

They decided to damage all users instead of working with professionals who set up enterprise network... I think it's an unwise choiche, but so it is...
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] schnitzel1977:
Dear my friend ;-) Maybe... i have a solution for ya Quest...magisk is flashable and can be hide. Or do some props via Terminal ...you can DM me too.

Schnitzel77
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] usman farhat:
Guys, the strangest thing happened! I was just researching on how to flash this ROM, and I thought, let's reboot into recovery before doing anything else to make sure that I know the power+volume combination. So, I pressed the POWER+VOLUME_PLUS and the device said "Erasing" and then my device was hard reset. Just like that! I was on stock ROM with bootloader unlocked and I had installed Magisk APK (didn't proceed further in that app).

I mean, this could have happened in my pocket and I would not have known!

I know this is a little off-topic, but I am going to flash this ROM now, so, if there is anything I need to worry about given that experience, please let me know.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Landrea:
So weird!

Flash lineage and you'll be happy.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] usman farhat:
Just want to thank you for this procedure. When I followed the OP's method, I was stuck in a bootloop. I request the OP to kindly update the instructions. The ROM is really smooth. I am loving it.

There is one bug: I had converted my SD card partly to internal storage using this method:

https://xdaforums.com/android/software/auto-formatting-sdcard-to-internal-t3583875

So now, the portable SD card was showing just fine, but the 'internal' part was nowhere to be seen. Anyway, when prompted, I tapped the option to use SD card as internal memory. At that moment, the device gave some error (it was displayed via Flash so I could not read it properly, but it was a nullpointerexception). Then, a notification popped up saying "Ejecting SD card" + "Don't remove". It cannot be dismissed. I guess I will make it go away. Just wanted to let you know.

The reason for converting it partly to internal is that the internal one uses ext4 file system which can carry files larger than 4 GB.

EDIT: I redid the entire process about SD Card and now it's working perfectly.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] usman farhat:
Sorry for posting so many replies, but knowing how much effort goes into ROM making, I want to update you on any anomaly I see.

So, I received an email from google saying that I just logged in from a Google Pixel 4a device. See if this was expected.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] t123321:
I installed this ROM and I must say its very good. No problem so far.

I would like to ask how do you perform an update? Just from system settings and reboot?

Is anything else you must do?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Rollien:
I installed the ROM without GApps and I have a problem that my GPS doesn't work. I tried a lots of applications include web browser location but nothing works.

Do you have any suggestion how to fix it?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] t123321:
Where doesnt work. If it is google maps, check the permissions of the app
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Rollien:
I tried Waze, OsmAnd and mapy.cz. I grant permission but my location can not be found.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] t123321:
I use Igo and google maps and it is fine.

Just installed waze and works fine
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] baudoux:
there is no openGapps 11 for now right? what would you use instead?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] bonzoe:
I have noticed that Lineage are recommending mindthegapps for Android 11 (https://wiki.lineageos.org/gapps.html)
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] bonzoe:
Others have had the problem, they give solution in this thread https://xdaforums.com/t/android-auto-and-lineage-17-1.4199949/
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] t123321:
Download opengapps from sourceforge for android 11. In beta stage
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] IkkeZelf1000:
I read the solution, but there are a few indicators that it may not be the one i'm looking for:

I run LineageOS 17.1 with the most recent OpenGapps on my OnePlus One (bacon) and Android Auto works just fine

When I tried several custom ROM's last October (when according to the thread above the bug in OpenGapps didn't occur yet) Android Auto also didn't work on my phone

Which leads me to think it's a device-specific issue. Also I still have to read one single post where someone actually confirms that Android Auto works on the Mi A2 Lite with any custom ROM. Many people assume it will work, but nobody seems to have it running.

Thanks for your input anyway, much appreciated!
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] wuslschweiz:
Dear All

After the installation according the instruction in this tread I wanted to boot into TWRP to take a backup.

Unfortunately TWRP get stuck in its "loading screen" (where the twrp logo appears) the phone was in this state for more than 30 min so I wanted to abort but every attempt to restart the system ended in the same TWRP "loading screen"

I had to fastboot flash twrp and do a new installation to get rid of it and get the system started.

But same again. I can fastboot flash TWRP but if I leave TWRP once, I cannot boot into it anymore. It gets stuck on this "loading screen" someone faced the same issue and may have a solution?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] schnitzel1977:
Hm..i would try to fastboot twrp...Install...Change Slot ...Boot again via fast boot in twrp and install again...so it was installed in both Slots. And try to boot a Slot or next b slot to get acces.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] wuslschweiz:
Unfortunately does not help. With playing around Slots I managed to install everything. It was also possible to reboot recovery from inside twrp.

But as soon as I boot system, I cannot boot into twrp anymore. Im stuck in this "loading screen"

picture is this "loading screen"

Finaly I managed to leave this screen entering fastboot *fastboot reboot* but at the moment, once I left TWRP and boot into system I cannot go back into twrp
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] t123321:
why dont you try the recommended version of twrp from first post?

for me it worked fine
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] wuslschweiz:
I tried both versions. Recomended and the newer one. I have same issue with both version of TWRP

unfortunately, picture was from the current version
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] jkrhu:
I had this problem with an earlier version of TWRP. The guide you've probably used links to an older TWRP.ZIP, that you've flashed. You need to install the latest LinkBoi's TWRP, here. Use IMG to flash from fastboot, then ZIP in TWRP.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] bonzoe:
Thanks for your reply, I had Lineage on my old phone and was looking into installing it on my A2lite, but I need to have AndroidAuto functioning so I guess I'll have to stick with stock.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] reujea0:
For fastboot it is volume up, otherwise you get in the default/stock recovery which just hard resets
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] reujea0:
Yes, to pass some verifications, we "spoof" a well known device, like the pixel. Without that you wouln't be able to use any banking apps and so on.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] reujea0:
No, you go into settings, update click download/install and once it finished (sry it is long) you click reboot and you should be set
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] reujea0:
Weird, from time ot time someone has this complaint. Maybe try hard reset or update first to a stock 9 or 10 image and then install again.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] reujea0:
There is a "beta" release, but it works just fine.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] reujea0:
I am sorry, I don't ahve android auto in my car, so without a logcat I cannot do anything.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] reujea0:
So I have tried to fix wfd for the better part of this month. I will probably not be able to fix it. Should I release a new update now, whith some small fixes including hte camera switch. Or wait about 10 days to release it with the april security patch?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] usman farhat:
Would really appreciate the camera update. Really missing the Google camera. In fact, I had opened this page just to give feedback on the stock camera app that comes with the ROM:

The camera doesn't show the recent pictures button /circle if we start it from lock screen by double tapping the power button. Probably due to security issues. But still, it could show the last taken photo(s). But there's another problem. When we open the camera like that, and discover that we've made a mistake, we cannot just turn off the screen and use fingerprint to unlock in order to get the photo circle in the camera. Because then, the device unlocks, but the camera app does not recheck this fact and continues to treat the device as locked. So, we have to press the back button from the camera to go back to lock screen, then unlock the device, and then open the camera in order to get it working correctly. If you have any say in how that app works, please consider this.

Another feedback : I used to hate my device for being so buggy, but with your ROM, I am absolutely loving it! Much appreciated.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] dedebekri:
Syberia rom maintained by lupesoltec and arrow os by acras use old aosp blobs (afaik) for wfd and it works. You might want to check their sources.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] jkrhu:
The build enabling HAL3 switch would be pretty sweet. Can't wait to try out GCams. I've got a small request tho. It would be great to have a LED indicator when the phone is charging, while it's powered off. Yes, I can wake the screen, to see the percentage, but an indicator would be greatly appreciated. It worked this way in the stock ROM: LED ON - charging; LED OFF - fully charged.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] vladakru:
whether Call recording works?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Rollien:
Thank you, I will try it.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Rollien:
So let's wait for the april security patch.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] t123321:
has anyone tried which gcam ver works ok?

Also there is a bug in audio app. Adding a song in a list crashes the app.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] rootsdroid:
I will send you today on private message
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] vladakru:
is there any way to store pictures from cammera to sd card?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] t123321:
No you cant.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] jojojrshabadoo:
really? why not?? there is no problem with stock
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] mariobasa02:
Of course you can, but not with the stock camera app from Lineage. With most other camera apps, e.g. Open Camera, you can change the storage location, even to the external SD card.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] leo31:
can someone here help me please?

i just got a2 lite, and i tried to root it.

i tried to fastboot boot recovery.img

booting to twrp

format data

flash twrp zip

reboot to system

now holding vol up + power button, showing system has been destroyed

tried miflash tool with stock daisy_global_images_V11.0.18.0.QDLMIXM_10.0

but result is missmatching

tried to fastboot flash boot boot.img (boot.img from extracted stock rom)

give me remote : rollback version downgrade

please help me.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Wuschel93:
@reujea0, thank you very much for this pretty much perfect LOS 18.1 release! After I had serious RAM management issues with the 17.1 build, this one is perfect in that regard: fast, snappy and a huge amount of apps stay in RAM. My phone is usable again and in the newest Android version.

Thank you for your work!
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] -16-:
Did anyone find a solution for flashin a bigger gapps package than pico?

I'm not able to activate "Hey Google". Option is greyed out. I"m pretty sure it's because any google service or app is missing in pico.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Warren_Orange:
Is this the best ROM going for stability?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] t123321:
I have used this rom 4 days now. Very stable, very fast, no ram problems. Phone feels like when bought with 8.1
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] mariobasa02:
I was able to install the micro package with the attached config file without any problems.

Hey Google is working too, you have to enable Google Assistant extra via the config file to be able to use it.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] telgetok:
does this 1 fix the anoying refresh screen thing when you open recent apps ?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] usman farhat:
I tried installing a few apks but these apps are crashing on startup. Used to work in stock rom. Is this a known issue?