yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] akpe:
Update on this. Elaborating just in case you or someone else need the info:

I flashed yesterday, everything went great. However, I couldn't pass SafetyNet. On Magisk SafetyNet test, basicIntegrity passed, but ctsProfile failed. As a result, Play Store was unverified, I couldn't find Netflix in the Store, my banking apps didn't work (one worked but wouldn't let me add fingerprints), but weirdly enough Snapchat was ok.

I did some googling and xda-ing and found this Magisk module. In essence, it changes your device's hardware fingerprint so it can pass ctsProfile. I installed it, set it up (I believe I used the Pixel 4 fingerprint), and it worked. Play Store is now verified, Netflix is there, all my apps work. If someone tries it, you do need to set it up while flashing, read the linked post for instructions.

After a day of use, I'm more than happy. I should have unlocked and switched to PE earlier.

There are just a few (minor) issues I've noticed:

First, vibration is weak. Not system-wide, but in specific places. Vibration in calls, messages, notifications and keyboard work perfectly. But on screen pattern, screen unlock, and gesture feedback it's weak. I can barely feel it. Anyone knows if and how I can change that?

Second, when using Android 10 Gestures, the Xiaomi camera viewfinder is misaligned when shooting video. Screenshot for example. Notice the small bar at the bottom and the (much) bigger bar at the top. When using the Android 9 Pill, all is ok. I understand that with GCam very few people still use the Xiaomi camera, just wondering if there's a fix for anyone who does.

Third, when having an alarm set and the device is on DnD mode, the icons in the lockscreen are cluttered and text cannot be read. Screenshot for example. When the temperature is at double digits, the alarm text is also hidden/replaced with dots. I googled around on how to hide the alarm or the DnD notifications there, didn't find any way to do so.

When enabling Pixel live wallpapers (I have the Pixie one) there sometime is noticable lag on the homescreen. But I guess that's expected due to the H/W differences between the A2 and the Pixel.

Also, for some reason Google News widget suddenly disappeared, and I don't get the option to place it in the Pixel Launcher, even after clearing it's data/cache. However in Nova launcher it's there. Weird...

Again, (very) minor issues, and most of them probably don't have to do with PE. IMHO it's an outstanding ROM, perfect for daily use. VoLTE works, WiFi Calling works, Pixel apps like recorder and live caption work, no echo in calls, no UI glitches, no random reboots. Battery is more or less like stock in my case, although I tend to fill my phone up with lots of apps (with many of them having services running in the background), I have ambient display always on, I'm using two SIM cards and two SIP accounts, etc. So I'm not a prime candidate to benchmark battery life :D
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Lurensu:
Great!

I honestly never had any issue with the lack of the Google feed, but live wallpapers can lag a bit from time to time (still better than on the stock rom).

Regarding the vibration feedback on gestures: it's definitely weaker and much shorter compared to stock, but I personally really like it, to me it's one of the best feature of this rom: it makes the device feel more in line with pixels/iphones and less like a cheap phone
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] akpe:
I'm not talking about the feed (left side) but the news widget, which is practically the only widget I ever used lol. However I just saw it's removed from my HTC 10 too... maybe Google pushed something that broke it, or (as they often do) decided to kill it.

Yeah the weak vibration isn't necessarily bad, I was just used to it on stock, I guess I'll just get used to it. Will look for any apps which might change it though.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] namanarora029:
VoLTE video call is not working

VoLTE video call is not working, it always shows a black screen with message:unable to connect
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] SeuPai:
I can't record audio in after a call

how solve this?

sorry my bad english : p
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] tracer123:
Any google camera mod doesnt work for me.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] akpe:
Use Gcamator from Play Store to make sure Camera2 API is enabled.

Then download the latest version of Gcam from the_dise from here: https://www.celsoazevedo.com/files/android/google-camera/dev-the_dise/

Works perfectly for me. Only issue is that Time Lapse crashes if you have video stabilization enabled.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] enapah:
I am experiencing some in-call volume issues. Sometimes the call starts with maximum volume regardless of volume being set to the lowest position. When that happens trying to lower the volume with the "volume down" key is fruitless, oddly enough the only way to lower the volume is to use the "volume up" to somehow reset the volume to the actual displayed level.

Other than that, functionality-wise this is the best Android 10 ROM I've tried so far -- that includes the January patched stock ROM.

This is no small feat!
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] tracer123:
Gcam works but I have problem with take photo.

Gcam stuck with processing.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] akpe:
Oh, no idea then... I get this when I have HDR+ enabled, but it usually takes only a few seconds.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Lurensu:
Clear the app cache and try again
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] mymeatb18:
Maybe you guys can help, I just unlocked my bootloader and flashed this 1st time

1. Home screen/app drawer gets super dim but not notification/navigation area

2. Cant use camera, says insert sd card. I've tried all kinds of things

3. Play store is kind of funny, can't update some system apps, gives an error then have to force stop

4. Can't update chrome, and trying to download a file from chrome cause it to crash then I have to clear data
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] faffu41:
After unlocking bootloader did follow these steps?

1) fastboot -w

2) reboot fastboot (turn off, turn on holding vol- and power)

3)boot twrp

4)from pc drag and drop twrp installer on the phone and flash twrp installer (3.2, not 3.3)

5) from twrp, just for safety do a format data (the one where you have to type yes)

6)you could need to do step 4 again

7) as you did in step 4, put Rom and twrp in the phone.

8)flash rom, flash twrp installer, don't reboot, go to reboot tab of twrp, change slot and reboot recovery after you changed slot.

9) flash magisk (optional)

10) reboot and you are done.

Remember every step is important in order to avoid these kind of issues
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] akpe:
Happy to report that ARCore works with the ARCore/Playground Patcher magisk module and the latest GCam by the_dise.

Call recording also works perfectly with the SKVALEX module and the included apps. I don't have the pro version of ACR for those who prefer it (it needs Pro to be able to use root) but I'll report back when I try it.

Update: ACR works perfectly too when using the phone's speaker. Doesn't record caller voice when using a Bluetooth headphones though.

Στάλθηκε από το Mi A2 μου χρησιμοποιώντας Tapatalk
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] mymeatb18:
Thanks for the reply

Did not do -w

Downloaded latest twrp, I guess wrong one

I guess I'll try again.

I haven't done any flashing in about a year and first time with xaomi and a/b device.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] oandrelucas008:
Has anyone updated via OTA from build 12/24/19?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] k10987:
I tried OTA from build 12/12/19, It works, but need to flash Magdisk again to root
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] hazshiro:
Hi, my MiA2 has issue regarding mic.

Mic is not working while using google assistant and while recording on WhatsApp.

It is working normally on calls and video calls.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] ZhekaDrummer:
Mic issue

Having the same problem. Microphone isn't working normally. Need to reboot the device. On the previous firmware wasn't working even with calls. I think this problem with phone calls isn't gone away.

My Xiaomi is reflashed with last PixelExperience firmware clearly following steps on the site (TWRP).
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] blazessdd:
lastest magisk(20.3) breaks wifi v20.2 its fine
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] faffu41:
I have magis 20.3 and wifi works flawlessly
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] akpe:
Friendly reminder: don't be too quick in judging battery life!

I generally tend to fill up my devices with lots of apps, and noticeable battery drain is expected in my case, so I'm not an ideal candidate for benchmarking battery life. However I've noticed that since the first days after flashing (coming from stock), battery is performing much better.

So how I know this? Story time!

Just a day after I flashed, I visited my brother in law, for his sons birthday. My device was almost fully set up, and naturally EVERYTHING was on. Bluetooth connected to smartwatch and headphones, Wi-Fi, cellular data, ambient display always on, battery optimization turned off for all my social apps, etc. During my visit there, in a total of about five hours, battery went down from 100% to ~50% with roughly 2:15 hours of screen-on time, a few calls, and a few photos and videos.

Far from ideal, I know, but remember what I said about keeping all kinds of crap installed?

Flash forward to last night, five days since flashing. Visited the same person again, aame place, same cellular network (signal quality plays a big part in battery drain), roughly the same usage in terms of apps, calls, and camera. The result? In the same 5 hours, battery went down from 100% to 70%, with 2:45 screen-on time.

Now I don't have any metrics to back that up with solid data, but the difference is substantial.

There certainly is a "break in" period, something that I knew back in my HTC days but apparently I had forgotten when I went fully stock.

TL;DR if you flash PE (or any other custom rom) and at first you notice poor battery life, just give it some time before you give up. It's more than worth it.

Στάλθηκε από το Mi A2 μου χρησιμοποιώντας Tapatalk
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] blackman01:
UPDATE IS HERE :-

>>>IMPORTANT READ BEFORE FLASHING<<<<

Device Changelog :-

> FBE Encrypted Build

> Fixed Safteynet (Netflix available on PS now)

> Some Fixes for APEX Updates

READ FLASHING INSTRUCTION CAREFULLY :-

BOOT TO TWRP

WIPE EVERYTHING EXCEPT INTERNAL STORAGE & SD CARD

FLASH ROM

FORMAT DATA

CHANGE SLOT AND REBOOT

DOWNLAOD LINKS IN OP
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] PiltonHaris:
Thanks for ROM and your work!

Lockscreen rotation bug (when autorotate is ON) still on board
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] akpe:
Hello,

First update for me, so to make sure I don't screw things up:

If I want to flash Magisk, I can do so right after switching slot, before rebooting, right?

Do I also need to flash twrp again when flashing ROM, before or after changing slot?

Thanks :)

Should we remove any magisk modules we used to fix that on previous versions? I have flashed MagiskHide props config which fixed safetynet but also enabled ARCore, that's why I would like to keep it. Will leaving it on give any issues?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] enapah:
I did a clean install.

Play Store is having some issue updating the already installed apps/services. Only the recently installed apps are listed, all others are amiss.

Paid apps or subscriptions via the Play Store are also having some issues.

Fixed itself after a while, don't know what happened here.

I do enjoy the new FBE support, many thanks for that.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] ZhekaDrummer:
So why you did roll out this update by OTA? To suddenly format users phones?? And the manual selection of operator isn't working at all. The phone can randomly switch to Roaming.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] villaramaprince:
Gcam still not working. Stuck on processing
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] akpe:
Welp, apparently I screwed up and wiped data too lol, oh well, clean install it is.

Since I'm kinda confused with the whole A/B thing, can anyone instruct me on the correct way to update the rom through a rom.zip?

My guess would be, boot twrp, wipe if stated in the instructions, flash ROM, flash TWRP, switch slot, flash Magisk, reboot.

Would that be more or less correct?

Edit: apparently switching to inactive slot before flashing isn't needed.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Kaname-kun:
Use this Gcam.

Works flawless with no crashes whatsoever.

https://f.celsoazevedo.com/file/cfiles/gcm1/Gcam_6.1.021_Advanced_V1.6-Fu24_5Lens-02b-A10.apk
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Behal666:
Good afternoon.

When using the "MIUI" camera, I realized that when recording, it exposes me a legend, which I will expose:

- Camera error. The camera could not be accessed.

This message appears when trying to record with the "video stabilizer" activated. Therefore, when deactivated, it will record without problems.

Still, I ask the developer to try to eradicate that error as soon as possible.

Thanks for the rom and the effort.

I have the rom version "20200124"
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Lurensu:
The normal procedure is:

* Boot to TWRP

* Wipe System and Cache (and Data if you want to clean flash)

* Flash the ROM zip

* Change slot

* Flash Magisk or whatever

* Reboot

The reason is that when you flash a ROM it will be installed to the inactive slot, while when you flash anything else it will go in the slot you're currently using.

Anyway, now we have FBE enabled by default, so the procedure is different: you have to either format data after flashing the rom or disable the encryption
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] akpe:
Probably a stupid question, but won't formatting data actually wipe the device (ie start with a clean rom)?

Or by doing so it will format data at the other slot (not where my apps actually are). I suppose you format data before switching slots, right?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Lurensu:
No, it will erase all your apps and preferences, but it's basically like factory-resetting the phone (and it's needed because data is the partition that is going to be encrypted). I'm pretty sure that there's only a unique data partition used by both slots, not two.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] akpe:
I see, so the only way to avoid a "factory reset" on each update is to disable encryption? Any idea on how can this be done? :)

Edit: Uhh I feel kinda stupid, formatting data for encryption is needed only for the first time after a clean install (or in our case, in latest version where FBE got enabled), not on every rom update after that, right? :D

At least that's how I remember it back on my Android 7 HTC device...
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] simoesjose:
Go back to stock

Hi guys, sorry for the noob question but i'm afraid to brick my phone.

I've installed this rom a while ago, but now i want to go back to stock and have OTA updates again. i don't want to flash my phone every time there's an update.

I've read about encryption by default and the risk to brick the phone. Can someone take the time and help me with that? If that's even possible.

Which is the best Flash tool for my needs? i found a lot of Mi Flash Tool websites and some looks kinda sketchy.

I do have to relock Bootloader after flash right? Can i do it in TWRP? How?

Can i keep TWRP and Magisk after i get to stock? (i like GCam).

Thanks for the help and sorry for my bad english.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] *Jonny*:
for me, works without problems from version 3 of this rom :)
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Vinnie Zac:
Request to include trusted face

Is there any way to incorporate face unlock (Trusted face) in the rom? If there is any, it would be great! Few heating issues in the rom otherwise everything is great. And also is it safe to update through OTA?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] meuhlavache:
OTA is not a good idea ... I had to wipe because the phone wasn't able to boot.

I came from 16/01.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] tracer123:
and recovery after flash with power shell doesnt work.

stuck on twrp logo.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] JescaHoogendijk:
It's too late now it seems. But you could have still switched back to the previous slot through fastboot by doing fastboot --set-active=a or fastboot --set-active=b depending on the slot the previous version was on.

---------- Post added at 11:25 AM ---------- Previous post was at 11:22 AM ----------

The regular official twrp indeed doesn't work with fbe. However, the latest version of the unofficial 4pda twrp does work. https://xdaforums.com/mi-a2/development/recovery-mi-a2-jasminesprout-t3941096
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] meuhlavache:
Thanks for the tips. This might help someone.

I was ready to do this kind of sacrifice. It's like starting a new phone (without the unboxing) ! :laugh:
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] PiltonHaris:
I have a question

Shood I do format data with the next updates every time?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] akpe:
Afaik you can flash a zip which disables encryption after flashing, so you don't need to fully wipe, found some instructions on telegram, haven't tried yet though

Στάλθηκε από το Mi A2 μου χρησιμοποιώντας Tapatalk
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] PiltonHaris:
Thanks for your answer

Developer destroyed the perfect ROM. This is a catastrophe. Stock is the best decision... maybe
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] akpe:
I wouldn't say that. There's always the option to run unencrypted. I'm new in PE so I don't know how many updates are usually pushed, and how often, but even if you want to run encrypted you can always back up your user apps with Titanium, format and restore.

I can only guess that a TWRP version which supports FBE would help as we won't need to format, but for now the official TWRP doesn't support it.

My question is, coming from a set up rom (not a clean install) when we flash the FBE Disabler, do we still need to format data?

For example, when next version is released, will we still need to format regardless of encryption, or we can dirty flash without formatting if we choose to disable FBE?

Στάλθηκε από το Mi A2 μου χρησιμοποιώντας Tapatalk
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Syncsilent:
This is also my concern. I just got back to PE from Stock. My previous experience from flashing custom roms was few years now. So I'm kinda back to being a newbie again. So OTA is Available to download now as of tonight, and I'm wondering how to install this without losing data or formatting. Should I flash a zip file "disabler" something to avoid Formatting? Please help me with instructions, thank you so much!
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] akpe:
Join the Telegram channel, there's a file there that supposedly you flash right after the rom to disable FBE. My guess is that by doing that you won't have to format data, but that's just a guess, I really have no clue. Better wait for some solid opinions before flashing.

Στάλθηκε από το Mi A2 μου χρησιμοποιώντας Tapatalk
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] JescaHoogendijk:
With that file you don't have to format even if you dirty flash from the last build
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] akpe:
Even if last build was encrypted? I'm guessing that those of us who flashed yesterday's build (FBE enabled) will still have to format at next update even after using Disable_Dm-verity_ForceEncrypt.01.19.2020.zip, because data is encrypted and TWRP cannot unencrypt. Hope I'm wrong :)
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] JescaHoogendijk:
You can flash future updates using the ota feature. Then you don't need twrp. There is also an unofficial twrp on the forum that does work with encrypted phones. So alternatively you can use that one to flash the update.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] akpe:
You mean that future updates through ota won't need formatting data, just update through ota (and reboot to change slot and reflash magisk if needed)?

Thanks [emoji846]

Στάλθηκε από το Mi A2 μου χρησιμοποιώντας Tapatalk
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] JescaHoogendijk:
Yes. Updates through OTA don't require formatting data provided you are already encrypted. Neither does updating through TWRP. As long as you are encrypted new updates will never require you to wipe to encrypt your data since your data will already be encrypted.

If you update through OTA note that you have to install magisk to the inactive partition through magisk manager before you reboot after installing the update. That way you don't need twrp for that either.

If you do want to use TWRP make sure to use the unofficial version since that one supports FBE. https://xdaforums.com/mi-a2/development/recovery-mi-a2-jasminesprout-t3941096
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] akpe:
Thanks buddy, that clears things up.

For installing magisk through magisk manager, I don't see an option to install specifically to the inactive partition. If I remember correctly, when flashing magisk through twrp it was flashed in both partitions. So I guess all I need to do at next update is update through ota, then just press install in magisk manager.

Στάλθηκε από το Mi A2 μου χρησιμοποιώντας Tapatalk
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] JescaHoogendijk:
The option to install to the inactive partition comes up once you press install :)
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Syncsilent:
Still kinda confused ? Why do I need flash magisk again? Because in the old days, when an update comes up I just flash the new ota zip file through twrp and flash another zip file for disabler encryption something like that then all will be applied after rebooting. Btw I don't have magisk installed after I switched to this ROM from Stock. I just wiped and formatted data and Flashed this PE zip file then that's it. Now I'm trying to figure out how to update thru OTA without data loss. Do I just need to download the OTA from the settings system update then Install?(not using twrp since I'm doing it inside the settings?)(you know like how normal updates work on Stock?)
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] lol128:
deleted
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Syncsilent:
Okay so I've read this thread about flashing for dummies. So the next OTA Update PixelExperience_jasmine_sprout-10.0-20200124-1501-OFFICIAL stated that its FBE encrypted. So I'm coming from current build 20200116, I'm not sure to how to Install the OTA Update, should I just download and install the OTA then do the magisk downloads A/B Retention Script thingy BEFORE Rebooting? OR Should I update using TWRP?