• About us!
  • Privacy Policy
  • Terms & Conditions
  • Contact
Friday, January 27, 2023
Droidfeats
No Result
View All Result
  • Tips
  • APPS
  • WALLPAPERSQHD
  • #TheBest
    • Get Google Camera
    • USB Drivers
    • Get Xposed Framework
    • Get Magisk
    • Get SuperSU
    • Get Play Store
    • Get ADB binaries
    • Get YouTube Vanced
    • Theme engine
  • Commands
  • Bloatware
  • Tips
  • APPS
  • WALLPAPERSQHD
  • #TheBest
    • Get Google Camera
    • USB Drivers
    • Get Xposed Framework
    • Get Magisk
    • Get SuperSU
    • Get Play Store
    • Get ADB binaries
    • Get YouTube Vanced
    • Theme engine
  • Commands
  • Bloatware
No Result
View All Result
Droidfeats
No Result
View All Result

How to install TWRP and root Xiaomi Mi A2

Saeed Ashif Ahmed by Saeed Ashif Ahmed
Reading Time: 6 mins read
4

Gaining root access unlock the door of an Android device towards customization and modification. You get system file access of your device as you become a superuser. Once you root your phone, you will be able to install Custom Recoveries like TWRP with which you can try out some custom build ROMs and MODs. XDA developer forum is the big source of Custom ROMs, MODs, Themes, etc., handled by many developers. Most of their Applications need root access. So, in order to get the full benefit of the developer community, you must root your device and install a Custom Recovery like TWRP. In this guide, you will be able to learn how to root Xiaomi Mi A2 and install TWRP recovery on it.

Xiaomi Mi A2

Xiaomi Mi A2 is the successor of Mi A1. Like Mi A1, this device comes with stock Android too. Those who prefer pure Android over Xiaomi’s Chinese MIUI skin, show go for Mi A2 over other devices from Xiaomi.

Anyway, come back to the topic, and proceed with rooting this phone. After rooting, you will be able to install TWRP image file to get the recovery installed. This recovery will not only help in installing Custom ROM but also gives some option to create a full backup of a device. In case anything goes wrong, you can simply restore the backup and get your device life back.

Contents show
1 Xiaomi Mi A2 TWRP Recovery
2 Root Xiaomi Mi A2
3 Pre-requisite
4 How to root Xiaomi Mi A2 and Install TWRP
4.1 Tutorial: How to install TWRP on Xiaomi Mi A2
4.2 Activate Slot A
4.3 Tutorial: How to root Xiaomi Mi A2

Xiaomi Mi A2 TWRP Recovery

Download the supported TWRP Custom Recovery for Xiaomi Mi A2 from the link below. Special thanks to TingyiChen, the developer behind this recovery.

  • Download: TWRP-3.2.3-jasmine-20180804.img

WARNING: All the custom ROMs, Official Firmware, How-to guides, tutorials, roots, hacks, and tricks mentioned on our site belong to the respective developers. We are not responsible if anything goes wrong with your device. Perform it at your own risk.

Root Xiaomi Mi A2

For rooting, we will be using Magisk Systemless root utility. The latest version is 16.7 right now, and you can download from the link below.

[mks_button size=”medium” title=”Download Magisk ZIP” style=”squared” url=”https://droidfeats.com/download-magisk-zip/” target=”_blank” bg_color=”#1e73be” txt_color=”#FFFFFF” icon=”fa-download” icon_type=”fa” nofollow=”0″]

Pre-requisite

  1. Make sure your phone has at least 80 – 85% charge. If not, please do charge it before starting the experiment.
  2. You need to enable USB Debugging mode to connect your Android phone to computer. (Settings > About Phone > Build number > Tap it 7 times to become developer; Settings > Developer Options > USB Debugging).
  3. Your bootloader must be unlocked from before to root Mi A2. If not, please do that first, then get back to our tutorial.
  4. You must install Android SDK tool on your computer.
  5. Also, enable OEM Unlocking in Developer Options which may need while flashing an image file.
  6. Install Xiaomi Mi A2 driver on your computer.
  7. Download DM verity disabler which will require later in this tutorial.

But before starting the tutorial, we suggest you to backup your important documents from the device and make a copy of it to your computer. On performing our experiment, your device will get wiped, and you will lose everything from the phone. We don’t want that. in that case, we have a list of Application that may help you on creating backup within the phone. Later on, you can copy the files to computer for a safe side.

→ Top 10 Best Android Backup Apps – Secure your Data

Once you are sure that you are done with the backup stuff, please proceed to the tutorial below on How to Root Xiaomi Mi A2 quickly.

How to root Xiaomi Mi A2 and Install TWRP

We have mentioned the full step-by-step instructions on How to root Xiaomi Mi A2 using Magisk tool and install TWRP Custom recovery. If you are entirely new to rooting, flashing a Custom ROM or an Official Firmware, please read the entire tutorial once before actually performing it on your device.

Tutorial: How to install TWRP on Xiaomi Mi A2

  1. Download all the required files from the above-given links to your device. Also, keep a copy of the TWRP image file on your computer.
  2. Connect your phone to the computer using compatible USB cable (preferably, the official one, provided by Xiaomi with the phone box).
  3. Open Command Prompt on the same directory as TWRP file. Press the SHIFT key and right-click on an empty space. Select “Open PowerShell window here” or “Open command window here” from the pop-up menu.
    PowerShell Window
  4. On the PowerShell Window, type the following command and HIT enter:
    adb reboot bootloader

    (This will reboot the device into fastboot/bootloader mode.)
    └ If you get a permission pop-up on your device to “Allow USB debugging”, tap OK.
    Mi Fastboot

  5. Once you are in the fastboot mode, type the following command and HIT enter:
    fastboot flash boot_b TWRP-3.2.3-jasmine-20180804.img

    (The command ends with the file name. If the file name changes in a newer version, type “fastboot flash boot_b <your-changed-name here.img”)

  6. Set the B partition as the active partition by using the following command:
    fastboot set_active b
  7. Once the file is flashed, reboot your device! Carefully hold the Volume Up button now. While holding, type the following command and HIT enter to reboot into TWRP recovery.
    fastboot reboot
  8. TWRP Recovery: In order to reboot into recovery mode, use Volume rockers to select “Recovery mode” option and press Power button to select. You will get access to TWRP.
  9. You will be asked to enter your device Password/PIN/Pattern. Enter it to let system decrypt in recovery mode. If you don’t have any password, it won’t ask.
    ⌊ To change language from Chinese to English, use this guide.
  10. Now, go back to main menu (TWRP Home) and tap on “Install”  button. From the list, choose the DM verity disabler ZIP file that you have copied in Step 1. This step will prevent your device from boot-looping.

So, you are done here! No further steps are required for TWRP image file.

Activate Slot A

Go to main menu (TWRP home). Then, Reboot > and Activate slot A now!

Tutorial: How to root Xiaomi Mi A2

There are two methods to root Xiaomi A2 using Magisk:

  1. Flash the Magisk ZIP using TWRP recovery.
  2. Patch the stock boot image of your current firmware and flash it using fastboot.

However, the second method is not recommended for novice users since it is quite tricky. You need to familiarize with the steps before you proceed with it. Both methods are described in our detailed tutorial below:

→ How to install Magisk to root Android devices – Universal Systemless Interface

Once you are done with everything, reboot your phone to the system, and verify root status using this Root Checker App.

Interested on Google Camera port on Xiaomi Mi A2? You need to enable Camera2 API and install the port APK manually. Check out the following guide:

  • Enable Camera2 API and install GCam port on Mi A2/A2 Lite

So you are done with this tutorial! You had successfully rooted Xiaomi Mi A2 and installed TWRP using our guide. If you faced any problem with performing this tutorial, please let us know by dropping a comment below. Our team will reply you back as soon as possible.

Is this post helpful? Please do share it on Social Media to THANK US.

ShareTweetShare
Previous Post

How to choose the right Android Framework to build apps?

Next Post

Customer engagement strategies for your Android app

Saeed Ashif Ahmed

Saeed Ashif Ahmed

Saeed Ashif Ahmed is the founder of SEOChasing Pvt. Ltd., who has a keen interest in how emerging technology can help the world become a more just, equitable, and kind place. He is a car enthusiast, civil engineer, cricket lover, and forever Navodayan (JNV is love ❤️).

Popular in the community

Apple
Tools

How to Setup ADB on Mac and install TWRP on Android (Apple user’s manual)

by Saeed Ashif Ahmed
January 18, 2023
Rooting

Download Magisk 25.2 – a plethora of bug fixes and Rust-powered logging interface

by Saeed Ashif Ahmed
December 7, 2022
Rooting

Download Magisk 25.0 package – improved SELinux handling

by Saeed Ashif Ahmed
December 19, 2022
Rooting

Download Magisk v24.2 (Zygisk improvements, stability fixes and more)

by Saeed Ashif Ahmed
December 1, 2022
Magisk
Rooting

Download Magisk V24.0 release – Android 12 support, Zygisk, and more

by Saeed Ashif Ahmed
November 17, 2022
Update Xiaomi Poco F1
Xiaomi

How to Unlock Bootloader on Xiaomi Poco F1 (POCOPHONE)

by Saeed Ashif Ahmed
October 30, 2022
Xiaomi

Best custom ROM for POCO F1 (Android 10 based) in 2021 [Tested]

by Sangita Brahma
October 20, 2021
Magisk
Rooting

Download Magisk v23.0 – drops pre-Android 5.0 support, fixes SafetyNet API error, and more

by Saeed Ashif Ahmed
October 21, 2021
Load More

Comments 4

  1. Tusher says:
    4 years ago

    This method does not work on my phone Xiaomi A2 Lite. After flashing recovery phone does not get switched on.

    Reply
  2. Roger says:
    4 years ago

    I forgot to do step one, is there any way to move the zip file onto the device using the PowerShell??? Or any way to fix this constant boot loading, please help

    Reply
  3. Roger says:
    4 years ago

    I messed up the first step, is there any way to move the zip file onto the internal storage through PowerShell or any other means, I am stuck in boot looping

    Reply
    • Saeed Ashif Ahmed says:
      4 years ago

      You forgot step 1, but there is no zip file for the first step. It’s about image file. Can you please clarify the problem?

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

I agree to the Terms & Conditions and Privacy Policy.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • About us!
  • Privacy Policy
  • Terms & Conditions
  • Contact
Reach us: [email protected]

Part of SEOChasing Pvt. Ltd. ©2022 | All rights reserved.

No Result
View All Result
  • About us!
  • Contact
  • Home
  • Job
  • Privacy Policy
  • Terms & Conditions

Part of SEOChasing Pvt. Ltd. ©2022 | All rights reserved.

This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.