yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] :
Lineage OS 17.1 for microG is working amazing!!, no problems at all and let TWRP install on flashing process.Furthermore, with Edxposed and root of course!!
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] gaurav713:
Is wired earphone and GPS working in the microg variant?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] MxZeal:
Does anyone have a flashable firmware for me? the sites giving me 404 so i cant download.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] gaurav713:
You cam get it from the telegram groups. Like the one here : https://t.me/A26XParanoid

---------- Post added at 06:25 AM ---------- Previous post was at 06:21 AM ----------

Its the encryption issue. Steps to fix it:

1. Boot to twrp and flash lineage. Remember the slot it was flashed on, sometimes its automatically flashed to the inactive slot.

2. Now, if it was flashed to the inactive slot, leave it as it is else change slot and reboot to fastboot

3. boot to twrp again using fastboot boot twrp_image_file_name

4. format data and reboot system

5. Enjoy! you're good to go
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Viggen66:
Issue was not formating data after flashing main rom, is there an explanation for it, on pie based roms it didn't need it
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] emgi2:
Does the Gapps get yeeted away after Ota? I use stock package.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] :
wired earphone is working from last update 08/25/2020!!. GPS I don´t know
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Tbone69:
Last oficial update is 08/08/2020 and GPS is working fine, using opengapps nano.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] :
Lineage OS for micro G is build 25/08/2020 ...

https://download.lineage.microg.org/jasmine_sprout/
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Shotg1:
Does otg now working in los?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] BealeStBluesBoy:
OMG, we had no builds since the 8th. Anyway next build will have the fix.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Shotg1:
Fixed for otg?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] BealeStBluesBoy:
Yeah
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] 1l9muhammad:
This is same with official website?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] :
LineageOS for microG is a custom build of Lineage OS to have microG because of MicroG requires signature spoofing.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] emgi2:
Latest version says that needs to factory reset in recovery, but after flashing Gapps, it succesfully boots
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Lurensu:
The wired headphones bug is fixed in the latest build, thanks!
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Sam7a2:
Not fixed for me yet

Update:

I had to power the phone off and on again once after the update, but it's working fine since then.

So yeah, maybe it's fixed.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Tbone69:
Just successfully updated through lineage recovery (Ota) , all fine, didn't test wired headphones yet.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] archienesss:
charging indicator light no longer turns off not like when stock android one rom is installed? currently on 08-Aug build.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] dudikaz:
anyone knows why pixel launcher doesn't show weather? tried clearing caches reinstalling pixel launcher etc etc etc etc
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] rchoi999:
During WhatsApp voice chat, my voice on the opposite party is noisy.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Lysergic Acid:
No idea why, but it's happening with me too
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Pheasan:
animated backward gesture arrows in one direction
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] k.stahanov73:
Nobody knows why random reboots can't be fixed?

Three months of fixes - zero result!

There are 5 times a day!

What to do?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] shizuni:
What firmware are u on?

Use June firmware.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Shotg1:
Does anyone experience playing online games that cant connect using wifi, but it connect using data?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] shizuni:
No, . . .

Maybe u are using old firmware, try July firmware with wayne modem.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] VinyLimaZ:
Seems that the OTA broke the system! I didn't saw on main page talking to not update via OTA....

Some way to fix this without the need to factory reset the phone? Flashing the system on recovery again?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Tbone69:
Where did you read that? I upgraded via Ota and everything is fine.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] VinyLimaZ:
I read on my girlfriend phone that she updated today and soft bricked, there I read
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] ch@ts:
I'm on a Pie ROM - HavocOS 2.6.

Can I flash this ROM?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] forart.eu:
Updated mine yesterday via OTA flawlessly (LOS recovery).

Tomorrow I'll try on a friend's A2 with a TWRP-based install.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] VinyLimaZ:
Do you think that has something related with the TWRP? I used it to flash the LOS on her phone...

I fixed flashing the new LOS build (some apps crashed but I uninstalled its), most apps worked normally (Whatsapp for example, that was one of the most important hehe)

I followed the guide on LOS site to flash, maybe I'll change for the LOS recovery and flash again to see if OTA doesn't give problems to her
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] gaurav713:
Are random reboots still a thing on LOS? Are they fixed yet?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Lautaro Mondaca:
i dont have any random reboot in this rom, running LOS for almost a month
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] psshirke.shirke@gmail.com:
Are u using latest firmware ?

How can I update to latest firmware without loosing any data or os ? Can I?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] forart.eu:
Which version ? You need to use the modified - unofficial - one to let it work correctly (this device seems to have some mess with A/B boot partitions)

Anyway on my friend's TWRP-based install 20/09/05 OTA update worked fine.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] gaurav713:
Can anyone report if 5GHz hotspot is working in their phone without any side effects? In mine, once I turn it on, phone starts rebooting every time I turn on mobile data.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] VinyLimaZ:
I used a TWRP version that I find another post, I use it because I already used on others devices so I was more confident about it...

I looked again the OP and on the instructions show another recovery (by LOS), IDK if I try to flash using it...

Which version you used to flash?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] gaurav713:
Can anyone please confirm if they face random reboots when switching on mobile data after they use 5GHz Hotspot at least once.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] devilsworkshop:
Tried this on my wife's phone running the 0829 build.

Simply toggling mobile data in the quick settings causes the phone to reboot, whether or not the WiFi is off, on, or connected.

Edit: Also tried this on my phone with a completely barebones flash of the 0919 build. No Magisk, no GApps, no nothing. Just the ROM.

No combination of toggling WiFi or mobile data causes a reboot.

Besides, for both 2.4GHz and 5GHz connections, the phone connects to the network, but says it's not connected to the internet. Not able to use WiFi at all because of this. - disregard this last bit, I think my ISP's got problems.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Tbone69:
Seems like next update will bring support for icon packs in trebuchet
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] gaurav713:
It's not your ISP. If you restrict data for some apps i.e. wifi data or mobile data selectively, it'll start those reboots again!
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] dermo529:
I'm in the same boat. Just stuck at the white Android One screen. Can't even access recovery mode. I'm in bootloader mode now, getting ready to wipe the system and start over.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] VinyLimaZ:
Just flash the recovery and the full version, don't need to erase the phone, some apps may break, just uninstall and install again, that's not good, but you can make a backup of its and flash clean after

Enviado de meu DLT-H0 usando o Tapatalk
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] dermo529:
Too late. I couldn't even get into Fastboot. I'm not sure what happened, I sent an erase command (-w) and fastboot wouldn't response to anything after the wipe. I wonder if the partition went bad. In the end I got stuck at the white "Android One" splash screen where fastboot still reognized my device but wouldn't boot any imgs, wouldn't accept anything I tried to write, and all commands I sent resulted in a "press any key to reset" message. I did manage to get the device into EDL mode where Mi Flash was able to write a stock firmware to it. What a nightmare.

For some reason I can't boot the LOS recovery (latest). If I send fastboot boot recovery.img it just hangs up at a blank screen until I hard reset. I also tried the latest TWRP. I get stuck at the splash screen when I try booting it. Too scared to try writing it at this point. So I guess right now, I'm stuck at stock with an unrooted device. Sucks, but I don't know what else to do. I think my partitions got f*cked up somehow. I don't know if I want to risk messing with it any further but if you have any suggestions, I'm open.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] vaibhavdangayachvd:
Where can I find the latest firmware and it's installation process?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Teksat:
https://wiki.lineageos.org/devices/jasmine_sprout/install
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Lautaro Mondaca:
i thinks the problem is magisk the only way the gapps are working are with device rooted with magisk without root gapps are not installed
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Popo001:
Replying to myself:

I found the culprit, Trebuchet was removed and replaced by the the Pixel launcher because of the OpenGapps (stock version). Since the Pixel launcher is bugged, even if you're using another one (my case), this leads to this bad behavior.

By avoiding the removal of Trebuchet during the gapps installation, I don't have this bug anymore.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Ifaisalabid1:
I wonder why is magisk needed? If someone don't want to rooted?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] mvgjaa02:
flashing of gapps through lineage recovery does not work ... it will not stay installed. It is necessary to make a flash of something, what is changing boot loader (speculation according to different forums).

No idea, if the issue is lineage itself or gapps - there is also an issue with magisk ... is not able to pass cts profile test.

if you need playstore, just wait, till it will be fixed :)
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Shotg1:
otg and wired headset not working, maybe kernel issue, hope u fixed it... force encrypt is ok as long as otg working fine we

---------- Post added at 02:08 AM ---------- Previous post was at 02:06 AM ----------

If u flash gapps u need to flash magisk to successfully boot, that's how it is... Evennin unofficial los, and recommend small package of gapps like opengapps pico, or nikgapps omni or basic

---------- Post added at 02:15 AM ---------- Previous post was at 02:08 AM ----------

Yes it survive ota, and dirty flashing btw im using nikgapps with moddifed omni package, i moddified it, thanks to nik, its the same procedure when u ipdating tru ota. After successfully installation, dont reboot 1st then install magisk module twrp retain, then after successfully installed the module, flash magisk to inactive slot it sure survive ota, in dirty flash just flash the rom in twrp, it will automatically install the gapps specially if u used nikgapps
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Shotg1:
Hoping dev prioritize the fixed of major bug from headphone and otg
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Shotg1:
U can't flash other zip aside from los rom in los recovery so u mist need twrp or sideload the gappa and magisk
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] mvgjaa02:
well, you can. there is just warning about digital signature of the package.

official builds of lineage 17.1 are using lineage recovery/ adb sideload function - official lineage 17.1 rom is in default setting encrypted (is a huge benefit).

as mentioned on this forum, open gapps nano package should be flashed before fist boot ... and it does not work, gapps are installed but not presented after boot in the system (temporary fix is just to install also magisk, BUT magisk is not officialy supported, so it can have negative impact).
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Shotg1:
U mean we can flash gapps and other zip from los recovery? Well im using nikgapps and i successfully booted it with magisk of course, force encrypt is ok to me as long as otg work or when dev fixed it, since i can use otg and flash other rom if there is problem with build. Also headphone not working maybe kernel issue
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] mvgjaa02:
yes:

probably nobody is reading wiki ... open gapps arm64 NANO package

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

lineage for mi a2 is very fresh, so there will be issues in next weeks (just my guess), but the state of this rom is actually very good ... compare it to official stock android one, which has issues with mic (at least in google duo).

if you installed also magisk after gapps, do not try to uninstall it through the uninstall option in the magisk app :), you will corrupt whole system.

btw. best solution is to switch to another aftermarket roms like carbon or ice cold project and wait at least one or two monts. than will be lineage the best rom for mi a2 :D.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Shotg1:
U mean sideload zip package I know how to do it.. i thought u can flash directly other zip from lineageos recovery, im using unofficial los 17.1 now.. which dont face any issue.. well still want the official one but maybe when major bug is fixed
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] ntomka:
I read and tried nano package without any luck.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Shotg1:
Try nikgapps core,

1 wipe all exect intenal storage

2 flash los 17.1

3 flash twrp recovery ( optional )

4 Change slot, & reboot to recovery

5 flash gapps, masgisk, ( dm verity ) optional, etc

6 Format data ( optional ) if u wish to encrypt your device and didn't flash dm verity

⁷ reboot to system thats my procedure of flashing hope this will help u boot, btw im using omni package from nikgapps then moddifed it
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] mvgjaa02:
there seems to be an issue with last open gaaps version, this version was fine for me - open_gapps-arm64-10.0-nano-20200530 .
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Zarkusi:
OTA

Ota update working?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] ghost_0013:
Unable to Install OpenGApps :(

Hi guys,

Today I've tried many ways to install LOS 17.1 & Open GApps but failed to do so. The LOS got installed normally and boot up

perfectly without any issue but no present for Google apps after boot. I've tried the official installation guidance

but failed to install GApps. I've tried with LineageOS recovery as well as TWRP recovery but no chance to get GApps. Also tried older Gapps but failed with that too. Tried the every possible way which mentioned in this post to get Gapps so that I can use this rom but failed. So if anyone able to boot LOS 17.1 and GApps (package version) successfully without magisk please suggest. Also requesting "mikeioannina" if he can put some lights on it.

:(
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Viggen66:
Lineage 17.1 normally works fine with BiTGApps but not Gapps, is weird but is normally is true, do u have to have a Q baseline installed? I mean a stock firmware with Android 10 to make this rom work? Mine still is flashed on Pie fw
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Shotg1:
I dont know what really the issue for u... Did u format data after flashing gapps,magisk? If u didn't format u are unable to boot the rom...
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Viggen66:
I can confirm bitgapps works, also baseband pie fw also works, go to slot b, boot twrp flash main rom, change slot to a, reboot to twrp, flash bitgapps and magisk and reboot system,and you have a trouble free lineage 17.1 working on this phone.

It seems gapps is not very compatible with lineage 17.1 it happens to this phone and others but no problem, use bitgapps instead and issue is gone.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Shotg1:
Well i can also confirm all package of nikgapps work for me for both official and unofficial los 17.1 btw im using latest bootloader
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Shotg1:
I've been using los official since 0829 build up to latest build 1003 build seem pretty stable tho dont face any issue
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] ObscureangelPT:
Hi guys,

Sorry I'm new here.

I've followed every single instruction in the LineageOS website

Altough during the adb sideload lineage-17.1-20201003-nightly-jasmine_sprout-signed.zip

I keep getting Signature Verification failed.

Already tried different versions and also different lineage-17.1-recovery-jasmine_sprout versions.

I always get the same error at 47%.

I've also checked the SHA256 of each file and they are correct after downloading.

Anyone had this issue before?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Lautaro Mondaca:
Its happens to me, if the error pop ups at 47% its just a glicth in adb, the ROM is installed. So just reboot again to recovery, install gapps and reboot to system.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] x33k:
Is it okay to install this rom if I am already on another custom rom? or Should i go back to stock and then flash it? Is there any technical reason to do so?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] x33k:
[MENTION=3839575]mikeioannina[/MENTION] It would be great if you could kindly clear this up. :)
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Lysergic Acid:
Yes, you can install this ROM straight from another custom ROM, but I advise you to clear your data as it might conflict with your other ROMs data.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] x33k:
Thanks for the clarification. :)
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] vv77:
Update failed...

Hello guys,

I've got an update Today from lineageos and I've updated by rebooting.

The problem is now it doesn't wan't to reboot in lineagos normally.

It goes to lineageos recovery and tells me this :

Can't load Android system. Your data may be corrupt. If you continue to get this message, you may need to perform a factory data reset and erase all user data stored on this device.

-> Try again

-> Factory data reset

I don't want to reset the data and "try again" doesn't work...

So I've tryed to go back to partition A with the commands from fastboot, but it request me to reset anyway.

>fastboot getvar current-slot

current-slot: b

Finished. Total time: 0.000s

>fastboot set_active a

Setting current slot to 'a' OKAY [ 0.031s]

Finished. Total time: 0.031s

>fastboot reboot

Rebooting OKAY [ 0.000s]

Finished. Total time: 0.000s

Please, what can I do to recover the system like before the update ??

----------------------------------------------------------------------||

Here is how I've installed lineageos last week :

1. unlock bootloader

2. install twrp

3. wipe all (data, ...)

4. install lineageos.zip

5. change it to /b and reboot

6. lineageos recovery booted

7. installed gapps

8. rebooted

9. It came back to lineageos recovery and asked :

Can't load Android system. Your data may be corrupt. If you continue to get this message, you may need to perform a factory data reset and erase all user data stored on this device.

-> Try again

-> Factory data reset

10. No problem, because I got no data anyway at that time.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] vaibhavdangayachvd:
Does anyone feel that the device becomes significantly slow after we do the OTA update. I am on the latest rom which used to feel very laggy and but when I clean flashed the same rom it's so smooth. I faced the same issue in stock too.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Shotg1:
I haven't face that issue
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] OLGW:
Low sound when calling, solution??
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Sam7a2:
Still random reboots and random headphones-no-detection!
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] lept_2014:
You can flash the original firmware (.TGZ) with MiFlash or fastboot commands, and then start the process again to get LineageOS
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Sharad90:
when lineage os 18 will available??
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Nodali:
Oh, really? I got the same problem. :)
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] huckky:
Hello everyone.

Has anyone successfully installed xposed on this rom?

Thanks
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] danannnn:
Attempted to flash 20201031 build religiously following instructions on the instructions page.

Phone got stuck in serious bootloop. It never got to recovery again.

Now I can't even get stock to work - I tried flashing multiple versions from fastboot and EDL with MiFlash.

Despite flashing successfully, phone will never start.

Any ideas?? Phone is a brick right now.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] shizuni:
Flash another twrp as LiniageOS dont support twrp. You need to format data and format all partitions. You need to install it via PC using ADB sideload. If it fails, just return to stock.

Boot into fastboot mode:

Turn device off

Hold Volume Down and Power button until fastboot logo appears

Connect to USB and type fastboot devices to verify that it worked

Grab the Android platform tools from:

dl.google.com/android/repository/platform-tools_r29.0.6-windows.zip ( for Windows )

dl.google.com/android/repository/platform-tools_r29.0.6-linux.zip ( for Linux )

dl.google.com/android/repository/platform-tools_r29.0.6-darwin.zip ( for Mac OSX )

-----Launch CMD on platform tools folder----

Unlock bootloader: [fastboot flashing unlock] and to also unlock critical partitions [fastboot flashing unlock_critical]

Download Stock Rom http://bit.ly/downloadRom

Extract archive (tar -xvzf jasmine_*.tgz), change into extracted folder and run <flash-all.bat> to flash it on the device.

Boot stock android 10 once, complete the SetupWizard quickly and get to the Home Screen just to make sure things are working.

****

Edit:

Extracted miA2 firmware files must be inside platform tools.

Fyi, MiA2 cannot be hardbrick.

****

Other source: https://www.reddit.com/r/Xiaomi/com..._source=amp&utm_medium=&utm_content=post_body