yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] danannnn:
Appreciate the intention, but it didn't help because, as I said, I wasn't using twrp. I tried using the recovery from lineageos.

As a matter of fact, I did install it successfully at first.

Also, I already got flashing from both fastboot and even EDL done successfully. Still the phone wouldn't boot (wouldn't get past the Android One screen, which shows for just about one second and shuts off - never goes to any recovery).

I must have flashed over 10 times, different images, versions, from fastboot, edl and whatnot until I got it working.

This is what worked for me:

After flashing september version from EDL, I tried restarting a lot of times, until it got on the "Retry" or "Power off" option. I let the phone sit on this screen until it shut itself off. After tried booting up a few more times until it finally did.

I was not plugged in during this.

I was puzzled by how random this seems to be, so I tried flashing the stock october version (.15) and got stuck again.

Reflashed september (.14), and did the same thing to get unstuck.

I noticed that the Lineage version I tried to install had already merged the updated qualcomm drivers from the october (.15) version.

I believe something is messed up bad in the october qualcomm drivers. Lots of people are having issues with stock october (.15) as well.

I'm not trying that again, I need my phone to work reliably first and foremost.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] XRed_CubeX:
Hi, is it normal that when I try to flash the Gapps on the last lineage os, the device gets stuck in the logo?

Edit: Solved with using nano package instead of stock.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Dr. Joy Das:
Please anyone guide me how to update these nightly builds stepwise(any links would be useful). I followed these steps and ended up with bootloop:

https://wiki.lineageos.org/devices/jasmine_sprout/upgrade

Had to do fresh install. Luckily I had backed up all contents. Would be really helpful. TIA.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] GoogleIsBadMkey:
Guys, I'd appreciate some info on these lame questions:

Is it bad if I have TWRP on one slot and LOS recovery on another?

What is the proper way to lock the bootloader back on A2?

How to check if the encryption is enabled?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] GoogleIsBadMkey:
Also, file transfer through USB doesn't seem to work :/
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] shizuni:
1, flashing twrp overrides LOS recovery

2, only stock rom can be locked. Or bootloop if LOS

3, settings, security.

---------- Post added at 05:31 AM ---------- Previous post was at 05:30 AM ----------

1, flashing twrp overrides LOS recovery

2, only stock rom can be locked. Or bootloop if LOS

How? Read wiki.

3, settings, security.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] GoogleIsBadMkey:
Thanks!

As to the 1st question, depending on the slot I choose from fastboot, I have different recoveries

---------- Post added at 08:50 AM ---------- Previous post was at 08:30 AM ----------

Maybe related: the AdBlock browser shows "SD card not found" error. It can download files, but I can't see them anywhere and can only delete them from the downloads tab in the app. QuickPic app doesn't always see the new pics. Can I do something to fix it? I've seen a post that says to delete the android_secure folder, but I'm not sure it's safe.

Here are the filesystems on y device as shown in the FX file manager:

https://yadi.sk/i/NqBS34YqkH8dqQ

https://yadi.sk/i/poeJ1itwPpzmBw

https://yadi.sk/i/2iuKXY6x9Fy7RQ
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Ifaisalabid1:
LDAC codec is not working through wireless headset in LOS. Will anyone confirm?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] GoogleIsBadMkey:
For anyone struggling with unavailable MTP device in Windows explorer: for me it helped to turn on the airplane mode on Windows and try to connect the device.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] NeoTrantor:
Since the October 7. update something is wrong when making phone calls via bluetooth headset. Sound is either gone or pitched up and distorted. Also the OTA updater doesn't show any images anymore. There's only the October 7. image that was downloaded earlier.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] XD233:
/DELETED
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] GoogleIsBadMkey:
It appeared that these apps are just buggy on android 10.

---------- Post added at 01:53 PM ---------- Previous post was at 01:51 PM ----------

17.1 is awesome. Before I flashed it my battery lasted for only about 8 hours. On 17.1 it lasts for more than 50 hours :)
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] archienesss:
Any one here experiencing unknown music playing nonstop when phone is plugged in? Music only stops when phone is rebooted.

I am currently on lineage-17.1-20201114 OTA update since lineage-17.1-20200725. Thanks in advance!
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] crispyduck:
Hi, can anyone recommend a custom Kernel with Wireguard support?

I only need WG support.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] luminoso:
Anyone tested change /data and /cache to f2fs? Does OTA works if both partitions are changed to F2FS?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] 3bl:
Anybody else experiencing problems with the proximity sensor during the call?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Lautaro Mondaca:
yes
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] 3bl:
If there is a fix coming, that would be great. I have moved from stock mostly because of this and Lineage has been great so far except for this issue.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] stranostrano:
Hi guys, and thank to mantainer for this release.

It was a long time that I don't have affaire with custom rom and I'm now really stunned on how to dirty update my lineageOS on this A/B device.

I've a 28th november working LOS 17.1 on my MI A2 and I want to dirty update to new weekly release.

I'm currently working on slot A and my device are crypted with a pin. When I reboot to TWRP (the 4PDA one that working with encryption), I flash a weekly update LOS and TWRP. For what I've understand, the flashed LOS update it's installed on opposite slot (then B in my case) and I assume that rebooting to recovery, it have to switch to slot "B" but it reboot to slot "A". If I switch manually to slot "B", LOS didn't start and begin a loop of rebooting. If I manually boot in twrp recovery (now I'm on slot B) I can't read encrypted files then I can't flash anything.

I know that for most of you it's an oddity but I'm really stunned and asking for help. If someone could help an old techie guy, I really appreciate it.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] sclip:
Is the wired headphones bug fixed? Any other showstopper bugs remaining with this ROM?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] BealeStBluesBoy:
Hi, it's strange, maybe sideload latest weekly? Note that with twrp you need to switch slot before rebooting. Flash, switch slot and reboot to recovery, then flash gapps, magisk, etc, and finally reboot to system.

Next time use the integrated updater app!
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] sclip:
**BUMP**

Can someone please respond to my question? Thanks!
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] starconquer:
installed this rom yesterday. flashlight cannot be used on stock camera and whatsapp. is that normal? note: camera2api enable.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Shotg1:
Are we going to have official los 18.1 just incase?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] mikeioannina:
Known issue with api2 enabled, it's a bug in camera HAL.

Yes
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] ferrarinews:
My google messages application sometimes blinks the led and sometimes it doesn't. But it is only in this application, does anyone have a solution. Thanks.

My phone is a Xiaomi Mi A2 Android One, with lineageos 17.1.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] dumbass_16:
im on december 19 update

my system is taking 19gb of storage

is it the same for everyone?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Lautaro Mondaca:
I'm on latest version and my system are 16 GB
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] starconquer:
mine is 16GB on update 17.1-20210102-NIGHTLY-jasmine_sprout
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] enapah:
Thank you very much @mikeioannina, you did an amazing work back in the days of the Xperia Arc (S), and you are still doing wonders for the Mi A2. Smooth sailing pretty much from day one.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] faffu41:
Any hints on a possibile release window?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] lept_2014:
and with LOS 18.1 (unofficial, but with official sources), is taking about 15GB
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] faffu41:
Link to that build?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] lept_2014:
It is only one that I have compiled for personal use, from official sources.

View attachment 5180055View attachment 5180057
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] faffu41:
Cool, wouldn't you mind sharing it?

I would build it myself but with exams and the fact that I would have to install linux over an hackintosh already dual booting windows, it's kinda out of reach for me as of now.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] lept_2014:
I'm sorry, but as I mentioned before, this is for personal use only.

I'm not a developer nor do I have any knowledge in that area, so if something goes wrong, I wouldn't know how to fix it. If it happens to me, nothing happens..., but if it failed to someone else I couldn't support it, and there are many people who wouldn't understand that even if you did. That's why I prefer not to share that personal compilation, and even less in the Thread of the official versions ;)
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] faffu41:
I respect your choice. Good idea. I'll build it by myself then.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Better yet 😜:
rom from 9.1.2021 requires a data reset, installed gapps without root
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] schiway:
I installed the latest Lineage OS 17.1 rom within TWRP recovery 3.3.1-0, switch to another slot, then tried to flash opengapps package, failed multiple times, until I used an early version, the earliest that could be downloaded from their sourceforge site, which was 20200705, to be exact. I assume there must be something wrong with newer opengapps packages. Just provide these information for people facing same problems.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] jelinekp:
Hi, is there any chance to get Cast (Wfd) working on this ROM? Is it planned to fix it in the future at all?

Otherwise everything works smooth, much better than stock!!
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] doc_relax:
I installed a nightly on 2020-12-14, the wired headphone bug is still there.

Since this heavy bug is not fixed yet, I dont expect it to be in future anymore. Same is with OTG Flashdrive, it also requires shutdown and restart before working.

More worse is: frequent phone reboots, once or twice a day. Last year these occured only with BT comnected. Now after the update, regardless of BT state.

Anyone else?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] sclip:
Thanks, this is disappointing. Why doesn't the maintainer chime in as to whether the bug is unfixable, or is simply lower priority?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] doc_relax:
I installed dirty though. Maybe it would be a try to make a clean install from scratch.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] kradNZ:
Flashed yesterday, pretty smooth, enjoying it right now. Not really a fan of Lineage recovery but its not a deal breaker.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] kolouch.petr:
It doesnt work fo me :( I tried it yesterday many many times and after gapps + magisks it will not boot and get stuck on Android One logo. I keep the manual of course (fastboot to TWRP, format and wipe everything, flash LineageOS, change slot to another one + reboot to TWRP via fastboot again, flash gapps and magisks, then reboot) My phone was on unoficcial LOS 17.1 from aprll 2020 but this time I had to recovery it to stock ROM :(
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] kradNZ:
Try fastboot to Lineage recovery and use sideload installation method as described in Installation instructions?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] kolouch.petr:
not working for me even with method described in installation instuction.

After flashing LIneage OS and again reboot to lineage OS recovery it says in the recovery:

E:Failed to bind mount /mnt/staging/emulated/media/0 to /storage/emulated: No such file or directory

E:Emulated failed to bind mount /mnt/staging/emulated/media/0 on /storage/emulated: No such file or directory

but anyway I enable ADB and flash GAPPS and Magisks. After reboot to system is stuck on Android One screen.

Enabled ADB

installing GAPPS without any problem (signature expected problem .. YES)

installing Magisks without any problem (signature expected problem .. YES)

reboot to system: And Im stuck on Android One screen and nothing happens
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] kradNZ:
In situations like this I suggest flashing stock ROM and then move to lineageOS. Im pretty confident that will resolve any issues you have.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] kolouch.petr:
YES thats what I did many times = stock + latest update via OTA and then tried lineageOS. Fortunately there is no difference between stock and lineageOS and there is not much reasons for root today so I will live with the stock ..
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Tbone69:
LineageOs is miles better than stock in my humble opinion
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] OLGW:
I can't connect my phone to the computer. In developers options USB debugging and modes do not work.

Solution?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Teksat:
So much better?

I would like to try a custom rom but there are a few things that worry me. Bank apps working? Certified in Play Protect?

Security updates? Is it easy to update LOS?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Tbone69:
It feels faster and lighter, i am using it for a few months and never have a problem with updating (with los recovery, via Ota). Security patches arrive sooner than stock ones, WiFi speeds are way faster, no suggestions bug and has other features like traffic monitor and programmed dark mode. Its not play protect certified, mine is, but only with magisk. I don't use banking apps, so not sure if they work, perhaps better keep stock for that.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] rkchandra041:
Certified device using props config magisk module, And use magisk hide to hide root from apps, Banking app i'm using (working) - SBI (INDIA).
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] kradNZ:
Got an OTA last night, anyone else?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Lautaro Mondaca:
Weekly updates every Saturday
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] wackou:
Hello,

Is it possible to disable the second SIM ?

Thanks !
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Lautaro Mondaca:
i found what triggers the random reboots when you turn off or on the mobile data. the bug starts when you enter in any app info screen and go yo "mobile data WI-FI" and then deactivate "cellular data", if you do this in any app then the bug of soft reboot star happening everytime phone connects or disconects to a mobile data @mikeioannina
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] lept_2014:
Me too.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Bazylsky:
Are we to expect an Android 11-based version of LOS anytime soon?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] BadShifty:
Hello everyone, I tried to install LOS according to the instructions https://wiki.lineageos.org/devices/jasmine_sprout/install. Since I clicked "Reboot system now" in the custom recovery after the last installation step, the device is in boot loop.... I can only activate the fastboot mode. I can no longer get into custom recovery mode....

I have flashed the latest version of the recovery and LOS.

lineage-17.1-20210306-nightly-jasmine_sprout-signed.zip

lineage-17.1-20210306-recovery-jasmine_sprout.img

What can I do? I already tried to flash the second newest custom recovery. Unfortunately without success... I am grateful for any help.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] tuda223:
Have you tried switching slots and a reboot afterwards?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] BadShifty:
How do i do that?

sudo fastboot flash boot lineage-17.1-20210306-recovery-jasmine_sprout.img

Sending 'boot_a' (24509 KB) OKAY [ 0.597s]

Writing 'boot_a' OKAY [ 0.183s]

Finished. Total time: 0.811s

I must have installed it on boot_a. Should it be boot__a (2x _ _)?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] mohp:
Well, without Google, if Google's apps are important to you, don't go for it at all
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] tuda223:
Why? Gapps are running fine.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] BadShifty:
As it turned out, my device had a soft brick. When I was still using the stock version, there was sometimes a bootloop after major updates. At that time, however, the device could break out of it after 20 minutes at the latest.

Long story short.

With these instructions for a firmware flash I could solve the problem.

How to Unbrick Xiaomi Mi A2 via Fastboot Commands

This guide will show you how to unbrick Xiaomi Mi A2 via Fastboot Commands without prog_emmc_firehose.mbn or prog_firehose_ddr_unbrick.elf

www.droidwin.com

Maybe this will help someone who is caught in a bootloop.

LOS without gapps works fine now.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] mohp:
I tested most of the ROMs, except for this and Pixel Experience, the rest of the ROMs were like jelly, everything could fall apart at any moment, the Pixel ROM is no longer developed and has many problems for SIM card, Bluetooth and OTG, there are two stable ROMs in total. , Lineageos and the main ROM, lineage is a stable and reliable ROM without Google, the problem of Google Contact,Google password sync is one of the things that Google has no place in this ROM, Android was important to us once we bought Android, by installing gapps, Nexus phone 5 comes to mind, not an Android 10, so the original ROM is the best ROM for the phone because it was offered by a big company, not like many custom ROMs where the goals and life of the developer are not clear, what is the solution; Heading with the original ROM or providing Google Android with pixels for me that Google is important to me, installing a lineage ROM for those who have problems with Google, the point is that when we bought the Android One phone, Google must have been important to us.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Zirafa:
Me too
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] lept_2014:
You should check that after flashing LOS the active slot is automatically changed or not.

To do this, before booting into TWRP, check which slot is currently active (because LOS will automatically flash into the inactive slot):

fastboot getvar current-slot

Then boot into TWRP, do the whole process to install LOS, and as a last step after flashing LOS, reboot the smartphone in fastboot mode to check which slot you have now active (using the same command above):

adb reboot bootloader

fastboot getvar current-slot

If the active slot has changed, you don't have to do anything else, just let the Mi A2 reboot normally:

fastboot reboot

And if the slot has NOT changed, you have to change it manually with this command:

fastboot set_active a

or

fastboot set_active b

...and finally reboot normal

fastboot reboot
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] mikeioannina:
Yes, we are just waiting for some build infrastructure issues to be fixed for lineage 18.1 nightlies.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] -Protos:
Great news !

Thank you.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] BadShifty:
Thank you very much, this is very helpful! This was my first customrom installation with adb fastboot. Knowing these commands enables me to react in case it happens again. These commands should be part of the official LOS manual in my opinion....
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] mohp:
In general, Google apps do not work properly, to install G-App after installing the ROM Boot once and flash the Aroma G-app, be careful to select a few options to install, go to recovery after boot, and wipe, reconfigure, but I assure the sensors and Google applications do not work properly, fast lightweight secure ROM but without Google
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Tbone69:
Google apps work perfectly with this ROM, you just have to follow the instructions and flash opengapps nano package as recommended by the op
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] BadShifty:
After updating with the built in updater I am caught in an bootloop again :-( Cannot get in the recovery mode. (Latest nightly) Changing the active slot didn't work either.

Update:

After executing

sudo fastboot flash bluetooth_a bluetooth.img

sudo fastboot flash bluetooth_b bluetooth.img

according to this guide:

How to Unbrick Xiaomi Mi A2 via Fastboot Commands

This guide will show you how to unbrick Xiaomi Mi A2 via Fastboot Commands without prog_emmc_firehose.mbn or prog_firehose_ddr_unbrick.elf

www.droidwin.com

(I planned to do the whole list but it worked after flashing the bluetooth_a/b.img)

with the latest fastboot rom:

Mi A2 (jasmine) Global Fastboot & Recovery ROM | XiaomiROM.com

Xiaomi Mi A2 (jasmine) Global official ROM, include stable, weekly and beta MIUI firmware which can be updated with Recovery and Fastboot (need mi …

xiaomirom.com

After that procedure my Mi A2 boots again. The updater says that i could update my device. I deleted the updatefile and redownloaded it, just in case.

Now the update works flawlessly. Might be a problem with my device I guess...
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] mohp:
I installed the stock version, everything works fine, but it uses the battery terribly, the ROM is slow to use the sensors
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] sclip:
Hello! Any updates on this? I was a bit disappointed on not seeing the A2 on the list of officially supported LOS18.1 devices.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Tbone69:
https://review.lineageos.org/c/LineageOS/hudson/+/307434
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Nexter92250:
Sorry for my english but i realy need help :(

I am going to cry... I have root and do custom rom on zuk z2 pro, pixel 4 XL, LG G4, Oneplus 5t, but on mi a2 it's not working...

Anyone can help me to flash this phone ? i am ready to give money for you to explain to me how it's work to install lineage os on this phone

What i try :

bootloader mode > boot in TWRP with fastboot boot twrp.img

I clean ALL the thing in part A and B, i stay on B and i flash, it's flash the part A,

I can start now it's working but no because i need gapps,

i restart in A part in bootloader mode with fastboot boot twrp.img

I try to flash gapps, after that, impossible just have the animation of lineageos, my phone don't boot at all

My discord : Julien#9941
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] azakosath:
Just flash the GAPPS before first boot and you'll be o.k. But, I would recommend to wait one more day, because I suspect tomorrow we'll get a present from Mike.

Edit: on a second thought the present will be next week I guess.