yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Appar khandelwal:
Just do following steps :

1. Firstly boot twrp

2. Clear everything except internal storage, but if coming from stock rom then need to format everything..

3. Choose slot b

4. Reboot to bootloader

5. Boot twrp

6. Flash disable encryption zip through adb sideload by typing adb sideload filename.zip (this step only for when coming from stock rom)

7. Flash havoc os through adb sideload or via transfer files in phone through MTP >then install.

8. Choose slot a & reboot to bootloader

9. Boot twrp

10. Flash full gapps & magisk (if needed) through install or adb sideload

---------- Post added at 09:53 PM ---------- Previous post was at 09:47 PM ----------

You need magisk in phone first thing..

Go to playstore & download fx file explorer + fx file explorer (root add on)..both need to download !!

Go to system/apps find playstore & delete their !!

If still have problem then visit this telegram page

t.me/A26XOfficial

I did not updated to today's update.. it's my first havoc os update.. afraiding to stuck in bootloop if update through system updater & get tired by setting up all things through clean flash !!
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] luisdoo:
It also happened to me, problems in installing and downloading files.

Google install-twrp-recovery-root-xiaomi-mi-a2-a2-lite it should be the first result and you have to flash Disable-Force-Encryption-Treble.zip after that you'll have free access to the internal storage

It turns out stock internal storage is encrypted, so you have to disable it before having a full functional custom rom
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] dusanmcar:
Hey, thanks for the tips and steps, the thing is, that's what I did, with just one difference. I didn't flash the disable encryption zip file. Where can I download it?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] powar19:
Go to Settings- Havoc Setting - Miscellaneous - Show Fun Stuff
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] martin5263:
Gentlemen, it works steadily?

there are some mistakes

:)
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] 1RaE:
I get error 20 when trying to install GAPPS + other problems

I can flash the rom no problem, but when it tries to flash gapps i get a error 20 and it doesn't install gapps. I've tried both the nano and pico package of gapps from opengapps for pie and i still get error 20. I also believe I have installed twrp incorrectly and I need assistance in correcting that.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Nebrassy:
You need to switch slot and reboot then flash gapps
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] @AxL:
Hi guys,

Anybody experience 3-5 seconds delay of open of app when tapping notifications banner.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] martin5263:
It's good for me

:)
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] @AxL:
Why mine is delay? Takes 5 secs to open the app after tapping the heads up notifs. Hays.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] knatraj:
TWRP, Magisk and GCAM

Hello. Does anyone know how to install TWRP, Root, Install Magisk and install GCam on Xiaomi Mi A2 that has this OS installed? I tried using Xtreme Toolkit but nothing happened. When I tried to enter recovery mode into my phone it got stuck in the logo page.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Adairo:
Thank you very much for this beatiful rom, the fireworks header was an excelent gift n.n

There are only 2 options that I miss in this rom:

*Long press on screenshot button (reboot menu) to partial SS as only way to use this function

*text navigation control on navbar while the kboard is showing up
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] rhodondendron:
You don't need to install twrp, just boot to twrp is enough. Flash magisk once you get inside twrp. Find the suitable gcam (arnova is good). I never trust automated software like xtreme toolkit
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Kingybear:
Double tap to wake not working?

What's the best and stable camera app to use?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] cass14:
How is the compatibility with the ANT + protocol?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] fchrkbr:
On the AOD or lock screen? On AOD yes, only after you unlock it work again. But on lock screen, it works, probably you have hex? Dt2w don't work in hex
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] destruktah:
How to update the ROM without lose any data? Already haverá havoc os installed
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] hugor671:
Don't wipe data particion or use titanium or migrate to save your data
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] destruktah:
But justiça flash the zip oh twrp?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Roviva:
Hello,

I installed this ROM and is working very good.

I want to know if I can install HEX kernel, there will be any difference in the behavior of the ROM, there is any advantage to install HEX?

please advise.....

I read that to change ROM for those that are in PIE is convenient to install HEX before.

thanks
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] RAhnaf:
How can I install Havoc-Os with Xtreme toolkit?

Please provide a step-by-step guide for it. And how can I install its updates with Xtreme toolkit? Please give me a step-by-step guide. I want to use this rom badly :( Please :(
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] @AxL:
Installing hex will boost your device I can promise you. I am on Havoc + hex until RR arrives. Join telegram group of hex, you will get the best support.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Kingybear:
Nah I'm not using HEX and I have aod on. After some testing it only works after the screen locks after about 5sec. Then after about 15sec i need to tap the screen about 6 times for it to wake. Then after about 20sec it doesn't mater how much i tap the screen it wont wake?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] imamami_:
Check this https://xdaforums.com/mi-a2/how-to/guide-how-to-flash-custom-roms-stuff-t3876375
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] xicp0rt:
I have "Disable_Dm-Verity_ForceEncrypt_03.28.19.zip" already flashed but the problem is still there.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Appar khandelwal:
You need to format all your internal storage, then flash disable encryption zip in slot b

Then rom in slot b

Then gapps & magisk in slot a
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] dusanmcar:
Thanks for the link, I've looked at the steps, and the only difference from what I did is, I wiped user data from Twrp (as well as system, data, cache, dalvik), and the instruction says to do it via fastboot -w command. Also, similarly, I changed slots from Twrp and not from fastboot. Could that be the reason for errors?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] no6dyVR:
It doesn't matter. You only had to switch it from fastboot if you wanted to follow the guide. But what you need to do if you switch it from twrp is when you select the other slot, you need to reboot recovery. So when you boot to recovery, you wipe system, data, dalvik, cache, flash rom, flash twrp, switch slot, reboot recovery, flash gapps, flash magisk if needed, then reboot to system.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] ElectroYume:
Hello, i finally managed to flash version 2.1 only, newer version always failed instalation, is there any huge difference betweeen 2.1 and 2.4 ? Thanks for any reply.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] tomgv:
Yes, 2.4 and latest one or two updates it's almost bug free.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] dusanmcar:
Oh, okay, so that's what I didn't do right. So when switching from Twrp, I go to reboot -> recovery or what? Does that require me to have twrp.zip flashed like I would do it on Oreo? And if I switch slots from fastboot to avoid me messing it up, it's easier because I don't have to reboot recovery?

Also I'm not sure if that's connected to the device not authorized errors with adb push, or other error with adb sideload...
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] ElectroYume:
Thank you for such quick respond, also i wanted to ask, is there any way to increase performance in games? I heard about installing kernel on other slot. But is there any real gain or just a small one? I mean is it worth it?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] no6dyVR:
Listen, if you're on stock rom, you need to do the following. Reboot to fastboot, type fastboot -w. Then after it's done, transfer havoc rom zip, twrp, gapps and magisk if you need it to your phone. You dont have to use adb, just transfer it from pc to phone like you normally transfer files. Then you flash rom and flash twrp. After it's done, go to reboot, change current slot, reboot to recovery. After it reboots, flash gapps and magisk, reboot to system. That's it.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] bledstvort:
Does smart selection at Recents UI work?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] youkisoba:
Delete the obb from twrp
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] imamami_:
Hi, let me clear some point here.

The first thing you have to know is which slot is active. (Check or set it using fastboot)

It is very important as I always ignore it at the first time and always brought me to error.

Rom & twrp will always be installed in your inactive slot while gapps & magisk on the active slot.

It doesn't matter what method you want to use to install the rom (adb sideload or flashing using twrp)

I did flash twrp.zip because I want it installed on my device, it's optional.

You can try exactly what I posted on that link at the last page. It was my steps installing havoc after over exhausted of getting error but the result of have this rom installed on my device is pay the price. ;)
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] mdimarucot:
On havoc, no. But in PE, yes.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Beakuh:
While playing videos and content on black background apps the bright tend to adjust automatically, I mean, I'm watching a YouTube video in dark theme, so, when the screen shows a white picture or something I can see the background changing brightness level.. help, please
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] no6dyVR:
That's how it is on stock rom too. It's a feature, don't remember how it's called, qualcomm backlight or something. When there is something bright on screen, brightness goes up, when there is something dark, it goes down.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] leolameu95:
Settings

Scroll all the way down

Xiaomi parts

Performance settings

Set it to gaming

Does anyone knows why I can't take pictures in burst? Both stock MIUI and the ROM camera crash as soon as I hold the shutter button.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] yinnx1008:
Latest version of Havoc is perfect. I haven't encountered any bugs at all. 4k video recording works now and Netflix too. Also rom is very smooth, very little framedrops maybe when opening havier appa and scrolling google now.

---------- Post added at 11:33 PM ---------- Previous post was at 11:28 PM ----------

A question for developer, would it be possible to replace dialer, contacts, messages, clock, files and keyboard with the apps from google (in zip file). I do it manually every time but it's kinda time consuming to do it on phone every time there is a new version of rom to flash.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] J.D.M:
You're really wasting time doing this manually. You can choose, remove and install any Google applications at once using the advanced installation options available for OpenGapps.

This is all done using a txt file that should be along with Gapps.

Take a look at the OpenGapps website, and if you're still in doubt, a Google search and if you're still in doubt, I can make a tutorial for you.

OpenGapps Advanced Features and Options
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Beakuh:
Any way to disable it?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] imamami_:
Hi, just want to ask is it qc working on your device? I updated the latest version via ota too, just realised there's no "charging rapidly" like the previous version. :D
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] no6dyVR:
I dont know

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

It takes the same time as before, but it doesnt show charging rapidly for some reason. And when it reaches 90% it charges so slow, it shows like 300mA on the lockscreen.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] genti.b:
In my case, the phone is charging slowly at the beginning when I plug the phone. After a couple of minutes it shows charging Rapidly.

Either way, this is the most stable ROM that I have used for Mi A2 in a long time now. Don't have any issues so far :good:
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Beakuh:
Things I found in the new update:

- Auto adjustment of bright level with black or white background in apps

- Portrait mode takes a lot to switch between frontal and back cameras

- Install size of system is huge (15GB on February to 17GB in April update)

- There is a radio FM app even when A2 has no radio support.

- None of the gapps can replace the stock contacts, dialer and gallery apps, every time I clean install just got the same result

- Game mode is not working

- Sometimes fast charging just get broken, switchs to slow charging

- HD audio on developer's Bluetooth config breaks the config app

Hope this could help the developer to look at those points, not critical ones but still important, thanks in advance!
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Seraphic_Fate:
Is this why the files I downloaded into internal storage are never listed whenever I boot into TWRP?

I remember wiping and formatting internal storage after upgrading my phone to Stock Pie, but I never flashed this disable encryption zip.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] no6dyVR:
You just wipe internal storage when coming from stock. No need to flash disable encryption zip.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Seraphic_Fate:
Well then, I still don't know why I can't visualize the contents of any folder through TWRP. I always have to adb sideload any installs...
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] no6dyVR:
For me it worked from the first try, don't know why it doesn't work with you. I saw somewhere that you might have to mount MTP or something like that in twrp so that you can transfer files.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Seraphic_Fate:
Well, this is a kind of repost from another topic. I'm sorry if this bothers anyone.

I want to make a custom gapps installation via gapps-config.txt, but through PBR or TWRP File Manager I can't see any internal storage contents beyond /storage/. So if I can't see any file contents, I can't point it to any .zip installation file. I'm not installing custom recoveries or using any retention scripts, but my bootloader is obviously unlocked and I've been booting into TWRP/PBR through fastboot. However, since the programs can't see my file contents in internal storage, neither TWRP or PitchBlack work as I want them to.

I'm using HavocOS 2.4 and have been using it since january, always updating through OTA, once or twice through clean flash. Before flashing Havoc, I remember upgrading from stock Android 8 to 9 through the stock system update. After that, I wiped the phone thoroughly, then formatted /data/, then finally flashed the ROM.

Is this an encryption issue? Is there anything I'm missing?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Lokemostert:
I also got this problem. Installed through the system updater. It was a lot faster than 3 hours though, But it is stuck on the havoc boot logo for quite some time now, it just keeps spinning. Anyone got a tip on what to do?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] raulx222:
Did anyone else encounter wrong haptic feedback when using Google Keyboard? I set the default feedback at a certain value and the google keyboard feedback at a lower value and the keyboard still sends the default feedback value, not the selected one for keyboard. The thing is, after some days, the correct feedback for keyboard works correctly idk what changes this over time. And if I reboot the phone, the default value for feedback is back on the keyboard (and the correct value will kick in just after a few days).
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Identity77:
Im on stock with unlock boothloader, will it work on encrypted phone.? When I view files in twrp, its all random letters.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] dusanmcar:
SOLVED I did the same thing, but flashed Gapps Pico, and for some reason it works now, all good!

I flashed Pie with locked bootloader and unlocked it, Twrp same errors, PitchBlack hangs on logo. Then I flashed locked bootloader Oreo and unlocked it, and Twrp gives same errors, but PitchBlack works just fine! I managed to adb sideload Rom and Gapps, using the exact same steps as that Spanish Youtube video, but I got a Bootloop. What gives?

Hey , a bit late reply, but:

I tried every single method and no matter what it's always these 2 errors:

When flashing from Twrp OR from Pc by adb sideload I get:

1) When I flash anything from Twrp install:

Installing zip file '/sdcard/HavocMiA2.zip'

Checking for Digest file...

E: Aborting zip install: Digest verification failed

Error installing zip file '/sdcard/havocMiA2.zip'

2) When I flash anything from Pc by adb sideload:

Starting ADB sideload feature...

Installing zip file '/sideload/package.zip'

Step 1/2

Error applying update: 7 (Error code: :kInstallDeviceOpenError)

Updater process ended with ERROR: 1

I tried it all: Wipe from fastboot -w, fastboot set_active b, Wipe from Twrp on both partitions (wiped System, Data, Cache, Dalvik, User Data) and then reboot recovery again, tried on both Pie AND Oreo, always getting the same errors.

PitchBlack (Newest one) just hangs in the PB Logo on both Pie and Oreo, so I used TWRP.

I even flashed DisableEncryption.zip, but again, after trying to flash Havoc it gives me the kInstallDeviceOpenError.

This is driving me insane rn. I have no clue why I'm getting errors.

Edit: The key is in the errors, right? I don't know what they mean, but if anyone does, please help me out...

Edit2: The only observation I have here is that it must be something with the phone/Twrp that's wrong, right? Because it does flash DisableEncryption.zip successfully, but only via adb sideload. No matter what file, flashing from Twrp gives me the Digest verification failed error. And adb sideload gives me the kInstallDeviceOpenError for Havoc and Gapps, but not for DisableEncryption.zip.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Beakuh:
Any way to disable auto bright in apps?? In white background bright tend to reduce and black background tend to bright more...
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] gothed:
i've got similar issues with this one

1) When I flash anything from Twrp install:

Installing zip file '/sdcard/HavocMiA2.zip'

Checking for Digest file...

E: Aborting zip install: Digest verification failed

Error installing zip file '/sdcard/havocMiA2.zip'

:(

and revert back to stock rom using mi flash tool.

maybe it will be good if someone writing proper steps to flash any zip file also explanation about slot A and B, very confusing for me
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Hammad1029:
is the wifi dropping fixed in the latest update?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] no6dyVR:
It says so in the changelog, have yet to test it
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] dusanmcar:
Update: Also try flashing Gapps Pico if other one doesn't work for you, it solved it for me!

What Android version are you on? Try PitchBlack, Twrp always gives errors for me. However PitchBlack doesn't seem to work for Pie latest patch, not for me at least.

For A/B thing, I think I got it:

1) In Twrp go to Reboot. and at the bottom it says which slot you are on. Let's say it's B.

2) Wipe ->Advanced Wipe -> System, Data, Cache, Dalvik Cache, User Data

3) Reboot -> Slot A, go back, Wipe ->Advanced Wipe -> System, Data, Cache, Dalvik Cache, User Data again

4) Reboot ->Bootloader (Fastboot), then start Twrp again (fastboot boot Twrp.img)

5) Advanced -> Adb sideload -> Swipe

6) On Pc type: adb sideload Havocblabla.zip (or whatever you have named the file)

7) Wait for it to finish, go back, Reboot -> Other slot

8) On Pc type: adb sideload OpenGappsblabla.zip (or whatever you have named the file)

9) Wait for it to finish, and then press the button that says: Reboot System, then swipe

That should be it, however I get a bootloop, but to try it, should work.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] imshere:
Thanks for the Rom

I have tested the Rom for 1 day and found some issue:

1: swipe fingerprint to dismiss notification does not work.

2: pressing volume buttons to make it silent when it is ringing does not work.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] rober788:
If i install via OTA do i need to install A/B script to keep magisk?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] no6dyVR:
My magisk stayed without the script, but I lost twrp.
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] Beakuh:
Anyone else lost trwp in this update?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] rcstar6696:
Hey use the twrp for jasmine sprout i linked in first post official one is broken and will be fixed on next days
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] rober788:
How can i see if i lost TWRP? When i want to enter recovery i get a black screen
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] t0masz:
Try following the last paragraph of this post for updating
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] juandeag:
please help : (

Guys please help,i flashed the havoc zip, but when i reboot i said that NO OS Installed , what should i do? : (
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] digsx:
I'm facing bootloop after OTA update to latest release (2019-05-02).

Already tried wiping dalvik/cache but still bootloop.

Tried flashing the ROM+GAPPs again via TWRP but still stuck at bootloop. Am I missing something important?
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] paulozullu:
- boot twrp

- flash ROM zip

- flash twrp installer

- wipe cache and dalvik

- change slot

- reboot recovery

- install GAPPS

- install HEX (if you want)

- install magisk

- wipe cache and dalvik

- reboot to system
[Xiaomi Mi A2 ROMs, Kernels, Recoveries, & Other De] digsx:
I've followed exactly those steps (except installing HEX kernel) and still got bootloop. I'll tried again rn and see what I get. Thanks bro!