yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] @kitokit:
Have you tried the image above ? The one I posted? Otg , if you have a usb drive with a type c adapter, you can copy the files from there and plug it in your phone from their you can flash the installer, but first you have to boot twrp using fastboot command.
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] panos1205:
Hi i Have MI A3 with android 11 official to my understanding if i want to install TWRP it will be only installed into the "inactive" slot . If i run twrp-3.3.1-17-laurel_sprout-Installer-mauronofrio.zip , it wiil brick my phone what's the proper procedure to install Lineage Os 18? Do i have to reinstall TWRP through fastboot on run twrp-3.3.1-17-laurel_sprout-Installer-mauronofrio.zip after installing custom ROM. Can you please point me to the right direction thank you.
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Typhus_:
For the time being, since you're on stock Android 11, you cannot install any ROM using TWRP or any Recovery for that matter. Besides, the only ROM, shared here on XDA, that can be installed, for now, it's Paranoid Android. And it's through ADB sideload.

Cheers.
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] panos1205:
Thank you so much for your answer is it possible to root the phone without custom recovery?
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Typhus_:
Of course it is.

Just check THIS thread.
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] panos1205:
I know that i'm having a lot of questions but i'm on V12.0.4.0.RFQMIXM what's the right boot.img to download?
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Typhus_:
THIS one.
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] srepole:
@Typhus_

Hey, i tagged you cause seems you are experienced in custom recovery stuff.

Afaik if we were on Q there wouldn' t be issues using a custom recovery.

But if on stock R there aren' t, at least atm, working recovery.

So, what about official twrp 3.5.0_9-0, doesn' t work ? Or will we experience some issues using it ?

I searched for twrp info on telegram, i found a name recovery related, Vishal. Do you maybe know him or his nick here on xda ?

You know, i only got yesterday my second-hand laurelsprout, i' m trying to get as much info as i can :)
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] ManuelLima1994:
@Typhus_ twrp ZIP installer 3.5.0 works with A11? where could I read twrp's changelog?
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Typhus_:
No, it doesn't work.

As for the changelog, you should ask the guy who built it. I'm curious about that too....
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] mirktamas:
Hi everyone!

Anyone knows a safe way to downgrade to Android 10 and get permament TWRP?

Or is there a way to install twrp to Android 11?

I managed to install it temporarily only.

And wifi was not working at all.

I would like to use this phone for android auto, with screen2auto (requires root).

I don't care if it's android 10 or 11.

Thanks a lot!
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Typhus_:
There isn't.

Not permanently, it's not.

You can't install it permanently, that's why.

You may root your device on Android 11 by flashing the Magisk patched boot.img that matches your current build or patch it yourself using TWRP or Magisk Manager.

I've explained everything about those two options HERE and HERE.

Cheers!
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] mirktamas:
Thanks a LOT, very nicely written reply, appreciate it!

I already tried to patch stock boot.img myself on Android 11 (On V12.04) but Wifi failed turning on. (The rest was working perfectly fine.)

Is that issue on my side, or is it a general problem? (maybe wrong boot.img flash?)

I would be sad if there is no way to get root access with working wifi on Android 11.

Thanks again!
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Typhus_:
It works on Android 11.

If BT or WiFi fails after flashing boot it's because the wrong boot.img was used.
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] ManuelLima1994:
@Typhus_ @Nik001 the twrp-installer-3.5.1_9-0-laurel_sprout.zip and IMG works Booth in A11? Or only works img for flashing ROM stock vía recovery and Magisk too?
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Typhus_:
It doesn't work.
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] ghasemi.hussein:
Is there a recovery that can decrypt internal storage for Android 11.

I need to boot into it once to copy some file.
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] rootadvisor:
Hello, I had the V12.0.8.RFQMIXM and i follow the method as the op said

Now the phone does not boot with twrp-3.5.2_9-0-laurel_sprout.img the

Need help what should I do ?

fastboot getvar current-slot

current-slot: a

Finished. Total time: 0.006s

fastboot set_active b

Setting current slot to 'b' OKAY [ 0.045s]

Finished. Total time: 0.056s

fastboot erase boot

Erasing 'boot_b' OKAY [ 0.011s]

Finished. Total time: 0.021s

fastboot flash boot twrp-3.5.2_9-0-laurel_sprout.img

Sending 'boot_b' (65536 KB) OKAY [ 1.472s]

Writing 'boot_b' OKAY [ 0.315s]

Finished. Total time: 1.826s

fastboot reboot

Rebooting OKAY [ 0.001s]

Finished. Total time: 0.003s

No answer.
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] SidRose01:
Can someone help me know if TWRP 3.5 official is working on Android 11-April 2021 build?
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Mahmoud Suleiman:
A11FW ??
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] KaTze87:
Hello. Do you know if they are study so that the TWRP can be permanently installed in MI A3 with android 11? Thank you for your work.
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Santosh Kumar Mishra:
Bro is it working on stock android 11?
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Chends888:
This was the only TWRP I was able to install (twrp-3.3.1-17-laurel_sprout-Q-mauronofrio.img), I tried all from TWRP official website (https://dl.twrp.me/laurel_sprout/) and none worked, when I flash them and tried to reboot, using fastboot reboot (holding volume up), or fastboot reboot recovery, it just went straight to fastboot again.

Thanks!
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Zergrinch:
I tried temp booting into TWRP but it failed. Any ideas? I'm not sure why boot is considered an unknown command.

C:\Android\Mi A3>fastboot boot twrp-3.6.2_9-0-laurel_sprout.img

Sending 'boot.img' (41456 KB) OKAY [ 1.084s]

Booting FAILED (remote: 'unknown command')
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] garylawwd:
Because it is an unknown command. You have to install TWRP to the boot partition not boot the twrp.img

fastboot flash boot twrp.img

Only then can you boot into twrp by rebooting and holding vol up
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Zergrinch:
Fastboot flash boot xxx.img has the potential to brick the phone in my experience. Besides, Fastboot boot xxx.img is the recommended procedure on the TWRP.me website: https://twrp.me/xiaomi/xiaomimia3.html

I have temp booted into other versions of TWRP on other phones before (Poco X3, Xiaomi Mi A1, Xiaomi Redmi S2) and see no reason for this to fail on an Android One phone.
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Nik001:
Without you it won't be possible.. thanks alot sir:fingers-crossed:
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] RJ-:
Following full of instructions when i was at twrp recovery mode. Then i was go to install twrp zip file from internal storage.but there is Nothing in storage. No zip no img. No any other file.

????

Please help?
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] garylawwd:
Because you probably wiped the whole system including internal storage.

You have to move the file from your PC to the device and then in twrp you will see it and flash it.

Or in twrp make sure you have selected internal storage and not the micro SD card
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] RJ-:
When i was failed after many attempt for flashing twrp. Then i was changed slot a to b and rebooted phone. When phone switched on there is everything fine. zip, aaps, music and files etc. but just in recovery mode not showing. And i was used same method for orange fox recovery twrp recovery. But same problem That means i was not wiped data. I can't understand what happened yaar. Please once more can you help.

"""""" Just one think i don't unplugged phone when it booting to recovery and all of process. Did you think that's the reason its not showing any files or storage"""""
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] sasukeob:
im really thankfull for that TWRP but i have very strange and bad problem. My phones audio not working now. And doesnt recognise any of headphones :(( can someone help me i feel so sad now :(
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] vishwadeepmanu:
What is the password it's asking in start to decrypt data

What's the use of it
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Typhus_:
It's your password, the one you've set on your phone....

To decrypt your data....
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] vishwadeepmanu:
While trying to take backup of stock 10.3.8.0 global ROM it's showing error 255

When I leave data partition from backup it makes backup normally

Please help
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] sasukeob:
is that only me who cant play audio and cant record anything since i instaled this TWRP?
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] sasukeob:
[MENTION=6569827]Nik001[/MENTION]internal storage working sd card working but huge problem is when i flash this twrp my systemui crash,phone app crash,cant answer phone calls,microphone not working, my phone doesnt play music and no noise from my phone. I am really sad about 5 days and cant solve this problrm..What am i doing wrong :(
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] bursuk2007:
So I see this is updated to the new version. How do I update from the 15 October one to the new one? Without losing data?
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] garylawwd:
Just flash the zip in old recovery that's all
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] chineel:
It might have asked you to enter a password to decrypt data?

did you entered your pin or password which you had set up during phone setup?
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] pillage:
How can I know what is my active slot?
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] HTCDevil:
fastboot getvar current-slot
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Alister.:
When it comes to installing a custom rom, i had already installed the recovery.img recovery.zip into slot b and changed back to slot a so i installed the rom while slot a is active then as soon as the rom is finished installing i use orangefox to change to slot b, install the recovery.zip to slot b when that's finished i change back to slot a immediately then continue installing the rest of the files for the rom, Magisk, gapps ect

unsure if installing the recovery.zip into slot b before i flash the rom is required since as soon as the rom is flashed i reinstall the recovery.zip into slot b again tho i believe the recovery.img still needs to be flashed to slot b in the beginning, otherwise i couldn't do much.

Is this the correct way to handle this? also would this also be the correct way to do this while flashing Treble GSI files? or would that change things at all? appreciate the help i managed to do it the way i described it would be good to know if i was right tho.
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] alexandarpb:
I'm not sure about my words,

These are the steps when installing in fastboot mode, but I think when you are flashing in TWRP you need to install everything in active A, because it actually installs in the inactive B.

" Flashing updates on a device with a custom ROM means that you’ll have to be wary of which slot you’re flashing too, right? Not quite. TWRP will actually handle a lot of that for you, and it defaults to the inactive slot for flashing a custom ROM. If your active slot is A and you flash a custom ROM, you’re actually flashing to slot B. When you reboot, the active slot is now B. Developers can modify the installation script and flash to both slots to make it easier on the end user, although most custom ROM installation scripts currently only flash to a single slot." - https://www.xda-developers.com/how-...updates-affect-custom-development-on-xda/amp/
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Ersid Kapaj:
How to root it first?
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Alister.:
Thanks yeah interesting article, just makes me even more confused tho The TWRP installer script patches both the boot_a and boot_b partitions to install TWRP if it replaces the stock recovery with twrp in both boot partitions of slot a and slot b, then why we use fastboot erase boot of my slot b, then install twrp into slot b doesn't make sense to me if by default flashing the twrp.zip file patches slot a and b boot partition, seems you wouldn't even need to change slots, and delete boot, just flash it instead.

It's just to avoid future complications (lost of Wi-Fi, sound, etc...) obviously this makes me think something can go wrong, i guess i will just flash twrp without following the steps listed and see if my wifi and sound work correctly. That and the reason to follow those instructions is "thus, no bug will happen that usually appears when a user accidentally flashes the wrong boot.img into boot partition" i think if your only flashing twrp on it's own then it's impossible to accidentally flash the wrong boot.img maybe i read it wrong but seems these instructions are to avoid lost wifi sound ect but that only happens if you flash the wrong boot.img to begin with seems you can avoid that just don't flash a boot.img

That and it pretty much says if you flash a rom and your on active a after the reboot you will be on active b since it installed it there instead of a, when they describe how seamless updates actually work not using custom roms, it explains if your using active a it will download and install updates in the background, installing all this to inactive b but inactive b is an exact copy of a so it patches it, when you reboot it will then use active b, then next update patches a then your active a ect

It explains most custom roms only install into one slot so a or b it's possible for a rom to do both but isn't common, so kinda makes me think if you tried flashing a rom update, if your custom rom is installed into only slot a, you flash this rom update if it flashes it into the inactive slot b it would be like a fresh install not an update, there's nothing in slot b to update so dunno what would happen after a reboot, maybe twrp forces it to flash into slot a to avoid what i'm suggesting.

Those instructions talked about flashing a boot.img if you want tho i was reading you can prepatch the boot.img so it already has twrp in it, when you flash it, so think that's what that meant. If anyone can make sense of what i'm getting at, and if i'm overlooking something then i'm all ears. Thanks

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

You don't root it first, you install Magisk through twrp.
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Ersid Kapaj:
How to install it?

Is there any tutorial?
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Alister.:
It's located here https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 if you need your hand holded for everything, then something will go wrong a bootloop will leave your phone not working, it can and does happen if you don't no what it is, you will have fun trying to fix it when it happens. I don't think your able to search for and find information on your own well enough to do this, i say it because i never needed it and i didn't no what a bootloop was and made my phone stuck, tho i was able to learn what it was and fix it on my own within a few hours.

Not trying to be mean, i just think your likely to make some mistake and your phone won't be working but go ahead just warning you.

The instructions to install twrp are here but pretty much install it download Magisk install your rom first if your doing that then flash Magisk, gapps after. If your just flashing it and don't need a new rom just flash it no need to worry about rom or gapps. If you need further help which you probably will search the Magisk page or ask there. A hint is this device is still new try going and reading learning about general process of how to do things on another devices page, Mi a1, Mi a2, Oneplus phones, some stuff is device specific and your more likely to find tutorials on there.
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Ersid Kapaj:
I have rooted all the phones that i had. I thought that Mi A3 will get Android 10 by itself but im tired of waiting. I know something about rooting or installing Magisk.
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Alister.:
In that case, it's mostly been aware of the fact, with the A/B partition layout they removed the /recovery partition which is traditionally where twrp was installed to they removed /cache partition also.

The stock recovery is inside the /boot partition so to use twrp we install it into boot, it replaces stock recovery with twrp, you download twrp files 2 the .img and .zip fastboot itself can't modify partitions, only flash over them so it's required to use the fastboot commands to boot the twrp.img file, which is then running from ram, to make the change actually install twrp you then flash the .zip file which is the installer script that will pull the boot.img from both slots A and B patch/replace the stock recovery with twrp and push the files back to /boot parition. You then should have a working recovery on both slots.

If you are going to use twrp with the stock rom you would just install the twrp .zip if your installing a custom rom then you would install the twrp.zip file after flashing the rom, when you boot the .img of twrp as long as you install the rom then install twrp.zip straight away after you would be fine, tho if you boot the .img flash a rom and reboot you won't have twrp installed at all.

Also the other issue /boot contains the kernel, and Magisk, and Xposed will all install into /boot or custom kernel so if things are flashed in the incorrect order they can overwrite files from each other which causes issues, so each time you flash a rom you have to reflash twrp .zip after it and in certain situations you would need to reflash Magisk or you would be in a bootloop, until you flash it or a issue of the files in there becoming to large for the /boot partitions size i'm just reading articles about all this now myself.

That should be enough to do it, this page has all the commands in order to do it read the comments of the first and second pages and you will find it.

I figure i may as well post this topic which covers How A/B actually works and how that effects installing the rom and other files why i've been confused, https://www.reddit.com/r/LineageOS/comments/b3g3fi/ab_twrp_how_do_the_slots_actually_work/eizux50/

Seems that there actually is a correct and incorrect way to install the rom and the zip files after it.
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Ersid Kapaj:
Thank you
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Bontropi:
Wonderful.

It works flawless with last security patch update.

Just a curiosity: does it work also with Pixel 2 Xl?
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] EVILWAR83:
Hi .

Thanks for twrp

Could you please make it official? [MENTION=6569827]Nik001[/MENTION]
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] garylawwd:
What difference will it make?
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Typhus_:
He can't make it official, it has to be TWRP Team to do it.

Anyway, why is it taking so long? They should have, by now....
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] EVILWAR83:
more trustable :)
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] zak-freestyle:
My current active slot is b and i do excatly the same as the tutoriel but when i want to reboot to recovery in the slot b i get an error message "no command" but it reboot to recovery in slot a

I did the same step with Orangefox recovery and it works for me but a need TWRP could some one help me
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] garylawwd:
That's just a silly thing to say. It won't make a single difference if it's official or not. The only difference is you will be able to download from twrp.me and that's it.

---------- Post added at 07:01 PM ---------- Previous post was at 06:59 PM ----------

How did you install? Did you flash twrp installer.zip? The installer flashes recovery to both slots. Also how are you trying to reboot to recovery? Just reboot the device and hold volume up button and you should enter recovery
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] zak-freestyle:
First i switch the active slot to slot a (since the main one is b) then i erase the boot and flash twrp in fastboot and reboot to recovery mode when i get to recovery mode flash twrp installer.zip when i switch to the slot b and try to reboot to recovery by holding volume up or just by clicking on recovery (i try both) i get the message error "no command" it's like twrp don't flash the both slot a and b .
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] barth2:
Well, I screwed something up (following a different guide before finding this thread) flashing twrp because I lost wifi. Phone still boots, slower than it used to, but still boots. First time flashing on this phone.

Someone please bail me out from my stupidity?

EDIT: I figured out that I must've flashed over the boot image and lost WiFi and audio drivers and probably a bunch of other things. I extracted boot.img from fastboot ROM matching my current ROM posted in another thread on this forum and flashed that.

fastboot set_active a

fastboot flash boot boot.img

EDIT 2: I followed instructions in post #10 of this thread

https://xdaforums.com/showpost.php?p=80625495&postcount=10

and now have twrp working. YAY!! thanks to [MENTION=6569827]Nik001[/MENTION] and [MENTION=5057272]Typhus_[/MENTION]
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] dkrs_:
C:\Program Files\Minimal ADB and Fastboot>fastboot set_active b

error: Could not get suffixes.

whats the problem?

can you help?
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] garylawwd:
Try this command instead

fastboot --set-active=b
[Xiaomi Mi A3 ROMs, Kernels, Recoveries, & Other De] Alister.:
I'm not 100% but i've seen a few cases, of issues people using Minimal ADB and Fastboot it's outdated i believe and can cause problems, use the Platform Tools instead since it's up to date. https://developer.android.com/studio/releases/platform-tools dunno if it will fix it, give it a try.