How to Unroot and Get Your Xiaomi Mi A1 Back to Stock Firmware

0

How to Unroot and Get Your Xiaomi Mi A1 Back to Stock Firmware: Now you can easily Unroot and reinstalling Stock Firmware on your Xiaomi Mi A1.

In this detailed guide, we have mentioned every Single step to Download and Install Stock Firmware on Xiaomi Mi A1.

In this guide, we show you how to unroot Xiaomi Mi A1 runs Android 8.0 Oreo completely and returned to stock Oreo ROM

Download Stock Firmware for Xiaomi Mi A1

Oreo boot.img file for Mi A1 from here

How to Install Stock Firmware on Xiaomi Mi A1

Step 1.  Uninstall any Magisk module installed on your Device and the reboot your phone.

Step 2. Download Oreo boot.img file from above download link and save it on your PC, where ADB is installed.

Step 3. Switch off your phone and boot into fastboot mode (press Volume Down + Power buttons together).

Step 4. Now, type the below command to unlock your phone:

fastboot oem unlock

Step 5. Check the current slot by using below command:

fastboot getvar current-slot

Step 6. Now, type the below command (if ‘a’ is current slot) to flash boot.img file:

fastboot flash boot_a boot.img
Or
fastboot flash boot_b boot.img

(if ‘b’ is the current slot)

Step 7. Now, you need to lock your device using the below command:

fastboot oem lock

Step 8. Finally, reboot your phone, by using the command:

fastboot reboot

You have now successfully restored stock firmware and Note that, the firs boot will take more time than usual, so stay patient. If you have any question with this guide, leave it in the comment section below.

LEAVE A REPLY

Please enter your comment!
Please enter your name here