You are on page 1of 4

REV.

2
Mi A3 unbrick guide by @nullby
WARNING: THIS REPAIR IS NOT RECOMMENDED. IF YOU CAN, TAKE YOUR PHONE
TO A SERVICE CENTER. THIS GUIDE MIGHT CAUSE FURTHER DAMAGE TO YOUR
PHONE.
CONTINUE AT YOUR OWN RISK, I DON’T TAKE RESPONSIBILITY FOR WHAT YOU
DO

1. Requirements:
a. A Windows PC - Windows 10 recommended
b. Repacked service ROM with patched programmer - download (mirror)
c. USB-C cable
d. (optional, if you don’t want to open up your phone) An EDL (deep flash) cable
e. Qualcomm HS-USB QDLoader driver - QDLoader_HS-USB_Driver_64bit_Setup.exe
- find it on google and install it
f. Qualcomm’s QPST - version 2.7.496 or newer recommended - find it on google and
install it
g. Fastboot installed and in path
2. Unpack the service ROM - after unpacking it should look like this:

3. THIS STEP IS THE HARDEST - getting your phone to EDL - there are two methods:
a. The “EDL Cable” method
If you have an “EDL Cable” (also known as “deep flash” cable) you can reboot your
phone into EDL without opening the back. If you’re familiar with a soldering iron, you
can probably make one of those yourself - this tutorial won’t go into that, but if you
google “DIY EDL Cable” you should find some good tutorials
If you have an cable:
i. Connect the cable to your pc
ii. Connect the cable to your phone
iii. Hold the button on the cable and the power button at the same time for
about 15 seconds
iv. If everything went well your phone should now be in 9008 mode. Open
device manager and check it. It should look like this:

If you see a warning sign next to it, don’t worry, it’s normal
REV. 2

b. The “test points” method


For this method you will need to open up the back of your phone. When you’re done
with that:
i. Connect two points marked on this picture with something metal while
also holding the power button for about 15 seconds

ii. Your phone should now be in EDL mode. Connect a usb-c cable to your
computer and open device manager.
iii. Open device manager and check it. It should look like this:

If you see a warning sign next to it, don’t worry, it’s normal

4. Open QFIL
5. Click “Select Port…”

6. Select your phone from the list and click “OK”


REV. 2
7. Set the mode to UFS in the bottom right corner:

8. Select “flat build”

9. Click “Browse...” next to “Select Programmer” and navigate to where you unpacked your
service rom. Open “images” and select “prog_firehose_ddr.elf”
REV. 2
10. Click “Load XML”. It will ask you for 2 things - first select “rawprogram0.xml”, then
“patch0.xml”. It should look like this:

11. Click “Download”. If everything goes fine it should finish with a message like this:

12. Reboot to EDL again - repeat step 3


13. Repeat steps 10-12 for all 6 rawprogram XMLs!
14. Once you’re done reboot your phone into fastboot - hold volume down and power until
you see the fastboot logo.
15. Run flash_all.bat script from the service rom and wait until it finishes
IF YOU WANT TO RETAIN YOUR DATA USE flash_all_except_data_storage.bat
INSTEAD

Your phone should be good to go now. It should boot into android 11 after holding the power
button for about 15 seconds.

Preparing this guide took me a long time, if you liked it consider donating: paypal.me/nullby

You might also like