[Xiaomi Mi A3 Guides, News, & Discussion] sotmax:
This is a basic guide to flash a rom via recovery in Mi A3 as title says.

Is created to help all those that want but can't.

Please read before act, and if you don't understand....well read again.:cool:

Mi A3 is a device with treble support, and while is not difficult to flash a rom,is a little bit tricky process.

So here are the detailed steps to do achieve that.

First things first, you've got to have your bootloader unlocked. Follow below steps to do that:

-Enable developer options by going to settings/about phone and clicking 5 times on build number.

Inside developer options:

-Find and enable OEM unlocking.

-Find and enable USB debugging.

In adb tools type:

-

adb devices

reboot to bootloader.

-

adb reboot bootloader

Unlock bootloader(you will lose all your data).

fastboot flashing unlock

When the device reboot, boot once again in fastboot by powering off then power on while pressing vol down button.

Type command to full unlock bootloader.

fastboot flashing unlock_critical

Proceed to recovery flash

Notice that you've got to have all files ready, either inside external sd or in your pc. All files are at the end of this thread as links or attachments.

Also i'm suggesting OrangeFox recovery for now because is the most stable.

-First you following the orangefox recovery installation guide:

- Download the OrangeFox zip file from here or the link at the end and copy it to your device (internal or external storage)

- Extract the recovery.img from the zip and store it, on the folder where you have adb and fastboot files, on your PC

- Open a cmd line and execute these commands (being on that folder, of course):

-

adb devices

(to make sure your device is detected)

-

adb reboot bootloader

(to reboot into fastboot mode)

-

fastboot getvar current-slot

(to check what's your current active slot)

-

fastboot set_active b

(if your active slot was a, if it was b then change it to a)

-

fastboot erase boot

-

fastboot flash boot recovery.img [b](OR WHATEVER NAME YOUR RECOVERY HAVE)[/b]

-

fastboot reboot

(NOTE : Before hitting "Enter", long press Vol + on your device until you see the Android One logo.

-->> By doing this your device will be forced to boot into Recovery and not into System <<--

- Install the OrangeFox zip (always install the latest build available and always keep a copy of recovery zip file in your external sd)

- Change slot to the one that was active on the beginning of these steps and reboot to Recovery (just to make sure that the slot, in fact, was changed)

After orangefox recovery is installed, you are ready to flash your rom.

You can move your rom files inside your external or internal memory(prefer external to avoid deleting them accidentally).

To do that you can either do it before the whole procedure, or after the recovery installation since you have mtp and adb available.

Copy them drag them or push them via adb(i'm not going to extend the adb push command here)

Now the flashing steps:

-Go to partition manager inside orangefox recovery and select data/format data(red button) and press format.Type YES.

-Go back and find the rom file inside your target directory(internal or external).

-Select the rom file and flash it.

-DO NOT REBOOT.

-Go back where you have the orangefox zip file, select it and flash it.

-Leave the device as is because after the installation it will reboot itself to recovery once again.

-Once the recovery starts again go to the target folder that you have the remaining files.

-Flash magiskV20.zip (if you want your device to be rooted).

-Flash Gapps if there are any or skip this step if your ROM provider have them included.

-Flash patchnofde10 zip to avoid data encryption(if you don't do that the rom will NOT boot).

-Reboot to system and enjoy.

All files are available to the links below.

Patchnofde file is attached to this post.

I'm not responsible if you cause a nuclear war or your cat or dog stop talking to you.

Credtits to:

Orangefox recovery team https://orangefox.tech/

Orangefox recovery dev for Mi A3 https://xdaforums.com/mi-a3/development/official-orangefox-recovery-mi-a3-t3986177

Topjohnwu for the Magisk and Magisk manger https://******************/

XDA Forum because they exist

All devs that put some hard work for you to have a custom recovery and a custom rom and all they hear is questions about ho to do things.

Respect them and read before post a questions.:rolleyes::rolleyes::confused:

:angel::angel::angel: