• Skip to primary navigation
  • Skip to main content

The Custom Droid

Android Tutorials, Tips, and Development

  • General
  • How-To
  • Downloads
  • ROMs
  • Reviews
  • About
  • Contact
Home ❯ How-To ❯ Root

How to Root Xiaomi Mi A2/A2 Lite using Magisk (Without TWRP)

Mar 22, 2021•by Dhananjay Bhardwaj

How to Root Xiaomi Mi A2/A2 Lite on Android Pie using Magisk

In this guide, we will show you how to root Xiaomi Mi A2 and Mi A2 Lite using Magisk, without installing/using TWRP recovery at all. The instructions in this guide will work on any Mi A2/A2 Lite device running Android, 10, Android Pie, and Android Oreo.

Like its predecessor, the Xiaomi Mi A2, and Mi A2 Lite quickly gained a lot of attention from the custom development community, thanks to the Android One program. Both the devices support TWRP recovery officially, which means you can easily flash custom ROMs/kernels, mods, and root your phone by flashing the Magisk zip file.

We already have a tutorial published on how to install TWRP on Xiaomi Mi A2/Mi A2 Lite and root it through it. So why would you need to root your phone without TWRP? There are various scenarios, for example:

  • TWRP recovery for your device doesn’t support the latest software version or render issues.
  • Also, using this method makes it easier to take OTA updates on your rooted Mi A2/A2 Lite.
  • Or, you might only need root (and not TWRP) for things like enabling camera2 API and install a GCam Port on it.
  • Finally, if you are not planning on flash any custom ROMs, kernels, or mods, then it’s quite redundant to install TWRP in the first place.

As you can see, there are several reasons why you would want to use this method. Now that you are here, let’s begin with the instructions.

Related Article: Enable Camera2 API on Xiaomi Mi A2/A2 Lite without Rooting

Table of Contents
  • Requirements
  • Instructions to Root Xiaomi Mi A2 and Mi A2 Lite using Magisk
    • Step 1: Download Boot Images
    • Step 2: Patch Stock Boot Image using Magisk Manager
    • Step 3: Flash Patched Boot Image to root Xiaomi Mi A2/Mi A2 Lite

Requirements

Make sure that you fulfill all the instructions listed below.

  • Like always, we can’t help but strain enough that you take a complete backup of all your data stored on the phone. Although this process will not wipe anything, it is best to safeguard your data in case anything goes unplanned. We also have a comprehensive guide on how to backup Android phones completely.
  • In order to root, you must first unlock the bootloader of your Mi A2/A2 Lite.
  • If you have previously rooted your phone or applied any sort of modifications to your phone, then it is strongly advised to flash the stock firmware (fastboot image) using the Mi Flash tool before proceeding. This will ensure that you do not face any issues while installing OTA updates on your rooted Mi A2 device.
  • Download Android platform-tools package and extract it on your PC. When asked to launch PowerShell (on Windows) or Terminal (on Linux/macOS), use the following instructions.
    • On Windows: Go to the ‘platform-tools’ folder that you extracted earlier. Now, while holding the SHIFT key, right-click on an empty space inside this folder. Select ‘Open PowerShell window here’ from the menu.
    • On Linux/macOS: Open the ‘Terminal’ and cd to the location of the ‘platform-tools’ folder. Example:
      cd Documents/platform-tools

Instructions to Root Xiaomi Mi A2 and Mi A2 Lite using Magisk

For your convenience and a better understanding of the rooting procedure, we have split the instructions into three different steps. These are as follows.

Step 1: Download Boot Images

The first step of the rooting process is to download the stock boot image for the Android build number/software version currently installed on your Mi A2/A2 Lite.

Along with the stock boot images, we have also provided links to download the corresponding patched boot images. If you choose to use them, you can skip step (#2) of patching the stock boot image using Magisk Manager, and directly head over to step #3 and flash the provided patched boot image to root your phone.

However, we strongly recommend that you patch the stock boot image by yourself, using the instructions in the next step. That’s because Magisk takes a backup of the stock boot image during the patching process. This will allow you to easily restore the stock images for installing OTA updates on your phone after rooting.

For Xiaomi Mi A2 (jasmine_sprout)

V11.0.21.0.QDIMIXM Stock Boot Image –
V11.0.20.0.QDIMIXM Stock Boot Image –
V11.0.19.0.QDIMIXM Stock Boot Image Patched Boot Image
V11.0.17.0.QDIMIXM Stock Boot Image Patched Boot Image
V11.0.15.0.QDIMIXM Stock Boot Image Patched Boot Image
V11.0.14.0.QDIMIXM Stock Boot Image –
V11.0.13.0.QDIMIXM Stock Boot Image –
V11.0.12.0.QDIMIXM Stock Boot Image –
V11.0.11.0.QDIMIXM Stock Boot Image Patched Boot Image
V11.0.10.0.QDIMIXM Stock Boot Image Patched Boot Image
V11.0.8.0.QDIMIXM Stock Boot Image Patched Boot Image
V11.0.5.0.QDIMIXM Stock Boot Image Patched Boot Image
V11.0.4.0.QDIMIXM Stock Boot Image Patched Boot Image

For Xiaomi Mi A2 Lite (daisy)

V11.0.18.0.QDLMIXM Stock Boot Image –
V11.0.17.0.QDLMIXM Stock Boot Image –
V11.0.16.0.QDLMIXM Stock Boot Image Patched Boot Image
V11.0.14.0.QDLMIXM Stock Boot Image Patched Boot Image
V11.0.12.0.QDLMIXM Stock Boot Image Patched Boot Image
V11.0.11.0.QDLMIXM Stock Boot Image Patched Boot Image
V11.0.10.0.QDLMIXM Stock Boot Image Patched Boot Image
V11.0.7.0.QDLMIXM Stock Boot Image Patched Boot Image
V11.0.5.0.QDLMIXM Stock Boot Image Patched Boot Image
V11.0.4.0.QDLMIXM Stock Boot Image Patched Boot Image

Huge thanks to Roy Goldberg, Nico van Draanen, and XDA Senior Member Aerobatic for contributing to this article by sharing the patched and stock boot images!

Step 2: Patch Stock Boot Image using Magisk Manager

  1. Download the stock boot image for your Xiaomi Mi A2/A2 Lite. Ensure that you download the version corresponding to the current software version (build number) installed on your phone.
  2. Transfer the downloaded file to your phone’s storage.
  3. Now download the latest Magisk Manager APK on your phone.
  4. Use a file browser app and install the downloaded APK file.
  5. Next, go to the app drawer and launch the ‘Magisk Manager‘ app.
  6. Tap on the ‘Install‘ button and select ‘Install‘.
    Root Xiaomi Mi A2/A2 Lite without TWRP - Select and Patch a File in Magisk Manager
  7. Tap on the ‘Select and Patch a File‘ option.
  8. Navigate through the phone’s storage and select the stock boot image file (e.g. stock_boot_10.0.14.0_mi_a2_lite.img).
    Root Xiaomi Mi A2/A2 Lite without TWRP - Patch Stock Boot Image using Magisk
  9. Magisk Manager will now start the patching process.
  10. Once finished, the resultant Magisk-patched boot image (magisk_patched.img) file would be placed in ‘[internal storage]\Download‘ of your phone.

Now that you have the Magisk Patched Boot Image, move down to the third step to finally root your Xiaomi Mi A2 device.

Step 3: Flash Patched Boot Image to root Xiaomi Mi A2/Mi A2 Lite

  1. Connect your Mi A2/A2 Lite to the PC using the USB cable.
  2. Transfer the ‘magisk_patched.img‘ file to the directory on the PC where the Android SDK platform-tools (ADB and fastboot) are present.
    Copy Magisk Patched Boot Image to 'platform-tools' folder
  3. Launch the PowerShell on Windows or the Terminal app if you’re using Linux/macOS PC (Refer to pointer #4 in Prerequisites).
  4. Power off your Mi A2/A2 Lite completely.
  5. Boot your phone into Fastboot Mode by pressing and holding the Volume Down and Power buttons together.
    Root Xiaomi Mi A2/A2 Lite without TWRP - Boot into Fastboot Mode
  6. Connect your phone to the PC using the USB cable once it is in Fastboot Mode.
  7. Enter the following code to flash the patched boot image and root Xiaomi Mi A2/A2 Lite using Magisk.
    • In PowerShell on Windows:
      .\fastboot flash boot magisk_patched.img

      Flash Magisk Patched Boot Image to root Xiaomi Mi A2/A2 Lite without TWRP

    • In Terminal on Linux/macOS:
      ./fastboot flash boot magisk_patched.img
  8. If you downloaded the pre-patched boot image from above, then make sure to replace [“patched-boot-image.img“] with the actual filename of the downloaded patched boot image. For example, if you downloaded the V11.0.10.0 patched boot image for Mi A2, the command would the following.
    fastboot flash boot patched_boot_11.0.11.0_mi_a2.img

    Flash Magisk Patched Boot Image on Xiaomi Mi A2/A2 Lite via fastboot

  9. Since the Mi A2 and A2 Lite support the A/B partition scheme, Magisk will only be installed on your phone’s current active slot; leaving the inactive slot untouched.
  10. Finally, reboot your phone into the OS by entering the following code:
    fastboot reboot

Your Xiaomi Mi A2/A2 Lite will reboot into the system (OS) and should be rooted now. To confirm that the process was successful, simply launch the Magisk Manager application from the app drawer.

With your phone rooted now, you can install Magisk Modules to add third-party features or to simply apply modifications systemless-ly. You can also use MagiskHide to hide root from root-detecting apps. To sum up, there’s a lot you can do on your phone now.

So, you have just succeeded to root Xiaomi Mi A2/Mi A2 Lite running Android 10/Pie/Oreo using Magisk, without installing TWRP. If you have any questions regarding the procedure, let us know via the comments.

Tagged under: Xiaomi

Reader Interactions

Comments

  1. jatin kumar

    Mar 12, 2021

    please add patched boot image of feb build (QKQ1.190910.002 V11.0.21.0.QDIMIXM)
    OR
    EXPLAIN the way how to create patch image file

    Reply
    • Dhananjay Bhardwaj

      Mar 14, 2021

      Jatin, step #2 of this tutorial shows you how to patch the boot image file with Magisk.

      The new Magisk app has a different UI compared to the old one as shown in the screenshots. However, the options/buttons within the app are still the same, so you shouldn’t have trouble following.

  2. Andrea

    Feb 12, 2021

    Hello, I’ve been following this tutorial for months without any problem.
    But with the latest february update for Xiaomi Mi A2 Lite (11.0.18 – if you want to add it) this procedure doesn’t work. I flashed stock boot image 11.0.17, but it says “update failed”:
    Can someone help me?

    Reply
    • Dhananjay Bhardwaj

      Feb 13, 2021

      Andrea, updates can fail due to multiple reasons. The primary one being any present modifications that were made directly to the /system and /vendor partitions.

      Did you mount any of these partitions and modify anything manually (without a module)?

    • Andrea

      Feb 13, 2021

      Thanks for your reply Dhananjay.
      I didn’t edit /system or /vendor partitions, at least not intentionally and not since last update.
      Could you provide new stock boot image for MI A2 Lite so i can try again?

    • Dhananjay Bhardwaj

      Feb 13, 2021

      Alright. Which firmware is currently installed on your Mi A2 Lite?

    • Andrea

      Feb 13, 2021

      11.0.17.0.

      😀 I know it’s online, but maybe is it wrong?

    • Dhananjay Bhardwaj

      Feb 13, 2021

      Okay. So, do you have Magisk installed on your Mi A2 Lite right now? Or have you uninstalled it?

  3. Diego

    Feb 8, 2021

    Kindly post patched boot images for mi A2 version 11.0.20. Thanks you!

    Reply
    • Dhananjay Bhardwaj

      Feb 8, 2021

      Diego, the stock boot image is uploaded and published in the table above. Please take a look.

  4. Nami

    Jan 30, 2021

    Kindly post stock boot images for mi A2 lite version 11.0.17 January update.

    Reply
    • Dhananjay Bhardwaj

      Jan 30, 2021

      Add. Please refresh and check.

    • Nami

      Jan 30, 2021

      Thank you!

  5. TONY

    Jan 11, 2021

    Kindly post stock boot images for mi A2 version 11.0.19 December update.

    Reply
    • Dhananjay Bhardwaj

      Jan 11, 2021

      Uploaded and added.

    • Tony

      Jan 19, 2021

      Sir, when I started patching process in magisk manager and selected stock boot image 11.0.19 which you uploaded above then it start flashing and after that it shows unknown boot image/unsupported content and installation failed it doesn’t patched my boot image for further rooting process please help why it is not patching stock boot image 🙁

    • Dhananjay Bhardwaj

      Jan 19, 2021

      Hello Tony, which boot image file did you download exactly? And is your phone the Mi A2 or the Mi A2 Lite?

    • TONY

      Jan 19, 2021

      Sir I have gone through this whole page comment section and I found the solution to my problem which is first to extract boot image zip which I forgot to unzip. Now I have successfully patched boot image . THANKS for this wonderful page with all necessary information…..

    • Dhananjay Bhardwaj

      Jan 19, 2021

      Yes, that’s quite an easy part to overlook. Glad you figured it out. And you’re welcome for such kind words.

  6. Ringo

    Nov 24, 2020

    When I enter Fastboot it just exits it without me doing anything, even sending commands doesn’t do anything.
    So I can’t boot or flash the patched boot image. What do I do?

    Reply
    • Dhananjay Bhardwaj

      Dec 3, 2020

      It’s probably just a driver issue. Please try and install the required USB drivers from this page.

  7. Ahmed

    Nov 4, 2020

    Thanks for your efforts. I’ve done everything as said up, I’ve the latest build 11.0.15.0 but everytime i flash the magisk patched image and reboot it always opens on the android recovery page saying that “Cannot load android system. Your data maybe corrupt. If you continue to get this message, you need to perform a factory data reset and erase all user data stored on this device.” Actually even when i erase it also opens on this android recovery page, it only works when i flash the stock image with fastboot. So, is there any solution how can i root my phone? by the way i tried the TWRP method not working also. Thanks in advance.

    Reply
    • Dhananjay Bhardwaj

      Nov 4, 2020

      Ahmed, it’s a problem (a possible bug) with the V11.0.15.0 update for the Mi A2. There have been several reports regarding the same on XDA and Reddit as well.

      My suggestion would be to revert back to v11.0.14.0 and wait for the next update.

    • Ahmed

      Nov 5, 2020

      Is there any guide you recommend for reverting to the v11.0.14.0 ?

    • Dhananjay Bhardwaj

      Nov 5, 2020

      Yes, it’s here. Make sure that you use the “flash_all.bat” or the “flash_all_except_data_storage.bat” flashing scripts. The latter will not erase the data, while the former will.

  8. gil

    Oct 26, 2020

    Works perfectly, much appreciated. Was having real trouble to make it work through twrp.

    Reply
  9. Rudra

    Oct 24, 2020

    Please add the boot image for MI A2 lite v11.0.12.0.QDLMIXM. Thanks….

    Reply
    • nicola furlan

      Nov 5, 2020

      . good morning i’m trying to root to my mi a2 lite but in powershell i comit seems this error you can help me error: Couldn’t parse partition size ‘0x’. Thank you very much

    • Dhananjay Bhardwaj

      Nov 6, 2020

      Nicola, did you previously perform any modifications to the phone’s partitions?

      Next, how did you install fastboot on your computer? In the command-line (PowerShell or Terminal), please enter the fastboot --version and share the exact output you see.

  10. Shahz

    Oct 17, 2020

    Bro help me I need magisk_patched_boot_11.0.14.0_jasmine_sprout.zip

    Reply
    • Dhananjay Bhardwaj

      Oct 18, 2020

      Shahz, you’d need to patch it by yourself, as shown in the instructions above.

  11. danial

    Oct 17, 2020

    i already follow all the instruction mentioned. But i now stuck at androidone logo..please advice

    Reply
    • Dhananjay Bhardwaj

      Oct 18, 2020

      Danial, which boot image did you download and use? Also, which software build number was your phone running? Is it the Mi A2 or Mi A2 Lite?

      Please provide these details so that I can guide you through.

  12. Ameer

    Oct 10, 2020

    Hello there,
    Thank you for the guide. I’m facing an issue where the phone stuck at androidone logo. Is there any solution to fix this? basically my phone are not started after trying the step above.

    Reply
    • Dhananjay Bhardwaj

      Oct 10, 2020

      Ameer, how did this exactly happen? Please elaborate more so that I can understand the issue.

    • Ameer

      Oct 10, 2020

      I actually follow the step 1 by 1 with no issue, no error pop up. After doing the last step it “fastboot reboot” keep the phone at the “AndroidOne” screen. I also didn’t know what exactly go wrong.

    • Dhananjay Bhardwaj

      Oct 11, 2020

      Alright, could you let me know if it’s the Mi A2 or Mi A2 Lite? Also, what software build number did it have installed prior to this? And please share the exact filename of the boot image zip package you downloaded and used.

  13. Dgn

    Oct 8, 2020

    Can you please add the 11.0.14.0 stock image for Mi A2?

    Reply
    • Dhananjay Bhardwaj

      Oct 8, 2020

      It has been added. Please refresh the page and check.

  14. Anon

    Sep 21, 2020

    Hi Dhananjay,

    I used to root my Mi A2 phone before. But there was a time of OTA update making it unroot somehow. I was trying to root my phone again following your suggested procedure. I downloaded the stock image (stock_boot_11.0.13.0_jasmine_sprout.zip) and flashed using Magisk. But it said unsupported/unknown image format. And installation failed. What do I do now?

    And if I successfully root it this time, what can I do about OTA update in the future without losing my root again? I think once root, Magisk has a mode to hide from root detection from apps. Right? Some apps won’t run if they detect root. Thanks in advance!

    Reply
    • Dhananjay

      Sep 21, 2020

      Anon, you have to extract the “stock_boot_11.0.13.0_jasmine_sprout.zip” file to get the “boot.img”. That’s the file you want to patch.

      After rooting, you can follow the instructions on this page to take OTA updates and retain Magisk root after updating.

      And yes, Magisk Hide (inside Magisk Manager) allows you to hide root from individual apps. Do note that this feature cannot hide the bootloader unlocked status due to Google’s new hardware-backed SafetyNet attestation. You can read more about that here.

    • Anon

      Sep 23, 2020

      Hi Dhananjay,

      Thanks! Oh, I should have known to unzip it first. And what a shocking news about bootloader unlocked status checking. That’s really sad. It’s as if they are trying to prevent all sort of rooting whatsoever. I just want the superuser access to cheat on single player games. It seems like I have to find another way. And thanks once again for your help. I appreciate your work.

    • Dhananjay Bhardwaj

      Oct 4, 2020

      Yes, seems like so. I am glad I was able to help.

  15. Victor

    Sep 16, 2020

    Hi Dhana,

    I have followed instructions until step 2. On trying to load the stock boot, I keep getting this message – “Unsupported/unknown image format, installation failed”.

    I have double checked to make sure I used the stock boot image corresponding to my device.

    Do you have an solutions please

    Reply
    • Dhananjay

      Sep 17, 2020

      Victor, did you download the stock boot from this page? If so, then which one exactly? Also, is it the Mi A2 or the Mi A2 Lite in question here?

    • Victor

      Sep 18, 2020

      Yes I did download from this page. The version is the latest one: V11.0.13.0.QDIMIXM
      Device is Xiaomi Mi A2

      Thanks

  16. Victor

    Sep 11, 2020

    Hi Dhananjay,

    It appears that my build number is not available on the list for Xiaomi mi A2

    My Build number is V11.0.13.0.QDIMIXM. I used the latest one on the list, which is V11.0.12.0.QDIMIXM and this was the message I got on the magisk app; “Unspported/unknown image format, installation failed”

    Can you help with the version of my build number please? Thanks a lot

    Reply
    • Dhananjay Bhardwaj

      Oct 4, 2020

      Victor, you have to download the V11.0.13.0 boot image (not V11.0.12.0). I believe you’re getting this error because you’re trying to patch the .zip file. Once you have downloaded the file, extract the zip to get the stock boot image (boot.img) and patch that instead.

  17. YK

    Sep 5, 2020

    Hi, do you know where I can find my stock boot image? Mi installed version is V11.0.13.0.QDIMIXM . Thank you!

    Reply
  18. Binesh Manveettil

    Sep 4, 2020

    Hican you add the stock and patched boot image of aug 2020 (V11.0.13.0) update

    Reply
  19. MUHAMMAD Asif Qasim

    Aug 9, 2020

    Can We Have July 2022 Build Number V11.0.9.0.QDLMIXM Stock Boot.img ?

    Furthermore Please Also Share The Topic Link Where We Can Learn How To Patch By Our Self As Some OTA Doesn’t Have FastBoot Image.

    Thanks,
    MUHAMMAD Asif Qasim

    Reply
    • Dhananjay

      Aug 9, 2020

      Hi. I have added the boot image for V11.0.9.0, please check now.

      As for self-extracting boot image from the full OTA package, please take a look at this guide.

    • Prozzol

      Aug 10, 2020

      where´s the file magisk_patched_boot_V11.0.9.0_daisy.zip mi a2 lite daisy

    • Dhananjay

      Aug 10, 2020

      Since I do not own the Mi A2 Lite anymore, I cannot patch it. You will need to patch the stock boot by yourself as shown in the instructions. Quite easy to do IMO.

  20. MOhamed Khaled

    Aug 7, 2020

    I got a very weird problem…..every time i root the device only or install a custom rom…… The mute in call doesn’t work and the call volume during the call stuck to a certain level and doesn’t respond when i raise it up or down….what should I do ?

    Reply
    • Dhananjay

      Aug 9, 2020

      That’s extremely odd, as I never had such a problem in the time I had the Mi A2 Lite. And I also haven’t heard anyone else reporting such an issue.

      Have you tried flashing stock fastboot ROM and try rooting the phone again from start?

  21. EA

    Jul 30, 2020

    Can you please add the 11.0.12.0 stock image?

    Reply
    • Dhananjay

      Jul 30, 2020

      Hi. Stock boot for July 2020 update (V11.0.12.0) has been added. Please check now.

  22. Fakhrullo

    Jul 17, 2020

    I couldn’t install Magisk, When I try like you thought it says UNSUPPORTED/UNKNOWN IMAGE FORMAT
    please help me

    Reply
    • Dhananjay

      Jul 18, 2020

      Hi Fakhrullo. Where did you get the stock boot image from? It seems like the boot image you’re using was extracted from an incremental OTA rather than a full OTA package.

  23. James

    Jul 1, 2020

    Hi its not working on 11.0.7.0
    ashing is not allowed’
    fastboot : error : command failed

    Reply
    • Dhananjay

      Jul 2, 2020

      Hi James. Have you unlocked the bootloader on your Mi A2 or A2 Lite?

  24. Douglas Eduardo

    Jun 25, 2020

    where´s the file magisk_patched_boot_V11.0.7.0_daisy.zip mi a2 lite daisy

    Reply
    • Dhananjay

      Jun 25, 2020

      Hi Douglas. I couldn’t provide because I do not own the Mi A2 anymore. You would need to download the stock boot and patch it as demonstrated in the instructions above.

  25. paijo sarkun

    Jun 5, 2020

    can u share FOR PATCH boot image march update android Pie V10.0.20.0.PDLMIXM for MI A2 Lite Firmware. on your POST Only Stock boot image, thanks

    Reply
    • Dhananjay

      Jun 5, 2020

      Hello, I have added the patched boot image V10.0.20.0 now, please check the downloads table again.

    • paijo sarkun

      Jun 6, 2020

      many thanks for u now my device rooted …

    • Dhananjay

      Jun 6, 2020

      Good to know. Enjoy the rooted phone. If you have any more questions, please feel free to let me know.

    • Sadid

      Jun 24, 2020

      Where’s the V11.0.7.0 Mi A2 Lite?

    • Dhananjay

      Jun 24, 2020

      The stock boot for the V11.0.7.0 is available now. Please refresh the page and check again.

    • Sadid

      Jun 28, 2020

      phone had been rooted.but how can i install a custom rom in mi a2 lite?

    • Dhananjay

      Jul 2, 2020

      Hi Sadid. May I know which custom ROM are you planning to install on your Mi A2 Lite?

    • Pavel

      Jul 1, 2020

      Thank you for stock boot for the V11.0.7.0, but link name “stock_boot_11.0.5.0_mi_a2_lite.zip” is wrong.
      Need to change 5 to 7.

    • Dhananjay

      Jul 2, 2020

      Hi Pavel. That you for pointing out the typo. I have corrected it now.

  26. Mike Demon

    Jun 2, 2020

    Hi, this version of patched boot is not working (V11.0.5.0.QDLMIXM (Android 10 May 2020 Update)). I’ve flashed the boot but there is no Magisk inside.

    Reply
    • Mike Demon

      Jun 2, 2020

      Sorry, but I forgot to mentioned that this is for Daisy.

    • Dhananjay

      Jun 3, 2020

      Hi Mike. I am pretty certain it’s a problem with the provided boot image, as Stilian here had the outcome.

      Please try using this one: https://drive.google.com/file/d/10B4U9PRwCRBPeBPkaa9E6Eung-ZDi1hw/view?usp=sharing

      If this one also fails, please consider patching the stock boot image by yourself and try with that.

    • Mike Demon

      Jun 6, 2020

      Hi Dhananjay,
      Too bad, the new patched boot not working either… 🙁

    • Dhananjay

      Jun 6, 2020

      Really? That’s weird. Tried patching the stock boot by yourself and using that instead?

    • Mike Demon

      Jun 8, 2020

      Hi Dhananjay,
      No Magisk in the stock boot either… 😅😅😅

    • Mike Demon

      Jun 8, 2020

      Hi Dhananjay,
      Somehow the phone is rooted but the Magisk app is not showing… After installing the Magisk APK, it fine now…
      Thanks… 😅😅😅

    • Dhananjay

      Jun 9, 2020

      That happens occasionally. So, it’s rooted now, right?

    • Mike Demon

      Jun 9, 2020

      Hi Dhananjay,
      Yup, it’s rooted now.. haha… Thanks…

    • Dhananjay

      Jun 9, 2020

      Cool! Good to know. Enjoy.

  27. Fahim

    May 18, 2020

    Hi,

    After rooting the device by flashing the patched boot image, can I unroot by flashing the stock image? And after rooting, Magisk asks to download some additional files. Should I allow it? Also, I want to use my banking apps, but after root they are not launching. How can I resolve it? Hope to hear from you soon.

    Reply
    • Dhananjay

      May 19, 2020

      Hi Fahim. Yes, you can unroot by refreshing the stock boot image (corresponding to the installed firmware on your phone). Or, you can also use the ‘Uninstall’ button in Magisk Manager to fully unroot the phone.

      As for your question related to banking apps, yes, it’s totally possible to get them working with Magisk. That’s the beauty of Magisk.

      With the new hardware-level attestation implemented by Google, Magisk developer topjohnwu disabled ‘Magisk Hide’ by default. The feature can still be enabled to hide root from apps that might stop working, like the banking apps you’ve mentioned.

      Just go to Magisk Manager, press the menu icon on the top-left of the app’s screen, and press ‘Magisk Hide’. Enable that feature and use it to hide root from the specific apps that have stopped working while your phone is rooted.

  28. muhammad asif

    May 4, 2020

    oh my God I flashed april security patch img into march security patch android software version 10 and stuck in bootloop plz help

    Reply
    • Dhananjay

      May 4, 2020

      Hi Muhammad, download the stock boot image (if you just want to restore) OR the patched boot image (if you want to root) of the March 2020 update. Then flash the boot image as shown in the instructions.

      It’s nothing major. You have just flashed the mismatching boot image. As I just mentioned, flashing the March 2020 boot will fix the problem.

    • muhammad asif

      May 4, 2020

      sorry I forgot to mention my device is mi a2 lite daisy.as I used magisk patced file .shoul I flash again patched file?if so plz give its link for march 2020?or any other way because I followed as u said above but it did not worked

    • Dhananjay

      May 4, 2020

      Thanks for the info. Is it the Android Pie-based March 2020 update that’s installed on your phone?

      Please let me know the build number of the firmware installed on your phone (if possible).

    • muhammad asif

      May 4, 2020

      bro I updated to android 10 in april with build number I think was 11.0 something aand security patch was of march 2020

    • muhammad asif

      May 4, 2020

      I am realy worried first I tried to root with twrp earlier this day but did not worked and got factory reset and now stuck here

    • muhammad asif

      May 4, 2020

      its android q based april update with build number 11. and having security patch of march 2020

    • Dhananjay

      May 4, 2020

      Was it 11.0.2.0?

    • muhammad asif

      May 4, 2020

      because 11.0.4.0 is not working

    • muhammad asif

      May 5, 2020

      bro plz help

    • muhammad asif

      May 5, 2020

      I think not sure

  29. Chris

    Apr 20, 2020

    Please can you add the stock boot image for april 2020 security update mi a2?

    Reply
    • Dhananjay

      Apr 20, 2020

      Hi Chris. As soon as I get my hands on the link of the full OTA package, I will extract and add the stock boot image to this post.

    • bruno

      Apr 27, 2020

      actualice a android 10 mi mia2 lite y tiene un problema con el micrófono no funciona con el asistente pero funciona con llamada

    • Dhananjay

      Apr 28, 2020

      Hi Bruno. Is you Mi A2 Lite rooted? It could a bug in the software, but I am not absolutely certain about that. Have you tried performing a factory reset to see if it makes a difference?

    • muhammad asif

      May 4, 2020

      I think so not sure

    • Dhananjay

      May 5, 2020

      Then simply try flashing the 11.0.2.0 stock boot image via fastboot:
      .\fastboot flash boot stock_boot_11.0.2.0_mi_a2_lite.img

      Download the V11.0.2.0 stock boot image from here: https://drive.google.com/open?id=1erH8ZoTcpN1Uqz_AVWo8OClVRzyA-1VN

    • muhammad asif

      May 5, 2020

      sending boot ok
      writing boot ok
      fastboot reboot
      rebooting
      phone reboots but still in bootloop

    • Dhananjay

      May 5, 2020

      That’s extremely odd. If your phone had V11.0.2.0 installed, this should have worked. Oh, how can I forget? There’s one way to confirm the exact firmware installed.

      Reboot your Mi A2 Lite into the stock recovery mode. To do this, power off the phone first. As soon as the screen turns off, hold the Volume Up and Power keys together. When the phone boots into the stock recovery, you see the build number of the installed firmware in yellow color on the top-left of the screen. Please let me know the exact info you see.

    • muhammad asif

      May 6, 2020

      android recoverY
      xioami/daisy/daisy_sprout

      10/qkq1.19002.002/v11.0.4.0.QDLMIXM

    • Dhananjay

      May 6, 2020

      Okay, so it has V11.0.4.0 installed. Please download the V11.0.4.0 stock boot image from here: https://drive.google.com/open?id=1clJdXv2iqCKOLbmNr6xMnN7NU2U2clpy

      I have downloaded the package and re-uploaded a fresh stock boot. Flash this and see if it works.

    • muhammad asif

      May 6, 2020

      oh ya I did it hurrah thanks bro
      actual first I flashed version 11.0.2.0
      then luckily I had backup of that magisk patched file when I first rooted by following ur intructions on 18 th april
      then flashed that magisk file

    • Dhananjay

      May 6, 2020

      I am glad it got solved! So, is your phone running the Android Pie 10.0.20.0 firmware?

    • muhammad asif

      May 6, 2020

      then I did factory reset
      now its running android 9

    • muhammad asif

      May 6, 2020

      thanks for not leaving alone at time of crisis

    • Dhananjay

      May 6, 2020

      You’re most welcome!

    • muhammad asif

      May 6, 2020

      yup bro pie version 10.0.2.0
      it was problem with android 10 update
      flashed version 11.0.2.0
      went into recovery
      did factory reset
      then flashed magisk patched v10.0.2.0
      it broke boot loop
      then rooted as above with v10.0.2.0 by self patching
      my purpose was to install viper and dolby
      thanks!

    • Dhananjay

      May 6, 2020

      I am glad you were able to solve it all by yourself!

  30. vic

    Apr 11, 2020

    followed this guide and now my phone is stuck on android one with white background, damn i fucked my phone

    Reply
    • Dhananjay

      Apr 12, 2020

      Hi Vic. Which software build number was your phone running before you flashed the patched boot image?

      Also, did you download and patch the boot image by yourself or use the pre-patched boot image? Do let me know the exact filename of the boot image you downloaded.

  31. Shahriar

    Apr 4, 2020

    Please update new stock boot img of March security update for a2 lite.

    Reply
    • Dhananjay

      Apr 4, 2020

      Hi Shahriar. I have added the boot image to the downloads table. Please check now.

    • Shahriarshahri

      Apr 5, 2020

      thank you brother.

    • Dhananjay

      Apr 5, 2020

      You’re welcome!

    • Nandkishor

      Apr 7, 2020

      Hi need clarity in the step 3 point number 7 and 8 you said flash with patched boot which was created by magisk and step 8 you said select original which was downloaded. What should I do exactly please suggest.

    • Dhananjay

      Apr 9, 2020

      Hi Nandkishor. In step 8, I am referring to the situation if you downloaded the pre-patched boot image.

      I believe, you patched the stock boot image via Magisk by yourself, right? If so, then please just omit step #8 and reboot your phone using the command in step #10.

  32. Pawan Kerkar

    Mar 26, 2020

    Thank you very much forr this!

    My purpose for rooting was to recover data from my Xiomi MiA2. My phone did something weird and factory reset itslef.

    If you could suugest me a way to recover data without using paid apps, it would be really helpful.

    Reply
    • Dhananjay

      Mar 27, 2020

      Hi Pawan. You’re welcome first of all.

      I have had some not-so-good experience recovering data from my Android device in the past. And trust me I have tried the paid solutions as well. The maximum data I could recover was just over a number of images and documents, of which, a majority of them got corrupted.

      I know that a lot of third-party tools available online claim that they can fully recover the data. However, with my own experience, I can tell you that they do not.

      Now, If I remember correctly, I tried ‘Disk Digger Pro’, which is a paid application and isn’t that costly either. The app also has a free version over at the Google Play Store that you can try. Of all the Softwares and apps I used, this was the one that actually worked, well of course not fully, but surely better than the others.

      Let me know if you try it. It has been a few years since I last used it.

  33. DERICK

    Mar 19, 2020

    para la v11.0.2.0.QDLMIXM For Xiaomi Mi A2 Lite TENDRAN ESTO?

    Reply
    • Dhananjay

      Mar 23, 2020

      Hi Derick, since the Android 10 update for A2 Lite was very buggy, I didn’t extract the boot images. Because it may cause further issues.

      Anyhow, I have still added the stock boot image if you need it. You can patch it by yourself using “Step #2” in the instructions above.

  34. Elior

    Jan 25, 2020

    hey there my phone got stuck and sorta of system destroyed 🙁 its said your system/data is corrupted and shows try again or factory reset my Xiaomi Mi A2 latest version 11.0.5

    Reply
    • Dhananjay

      Jan 26, 2020

      Hi Elior. Exactly when did this happen?

    • Iagoba Apellaniz

      Feb 17, 2020

      Same here. I tried to create my own patched image, I downloaded patches, I followed all steps back and ford, and finally I had to flash my phone with the only stock image that works 11.0.4

    • Dhananjay

      Feb 18, 2020

      Hi Iagoba. Do you have V11.0.5.0 installed on the phone or is it V11.0.4.0?

    • Iagoba Apellaniz

      Feb 20, 2020

      I have installed v11.0.4.0

    • Dhananjay

      Feb 20, 2020

      Which Magisk Manager version did you use for patching?

    • Iagoba Apellaniz

      Feb 20, 2020

      I have installed the V11.0.4.0. And during the process I tried rooting my phone with both, first V11.0.5.0 and then V11.0.4.0.

    • Dhananjay

      Feb 21, 2020

      Hi again. Always use the stock boot image that matches the software build number installed on your phone.

    • Jagoba Apellaniz

      Feb 22, 2020

      I have installed V11.0.4.0, but i tried to patch both, V11.0.4.0 and V11.0.5.0. I also used both patched versions, with no success

    • Dhananjay

      Feb 25, 2020

      Hi again Jagoba. You only have to use the V11.0.4.0 if you have V11.0.4.0 installed on the phone.

      Instead of using the pre-patched boot image provided above, have you tried patching the V11.0.4.0 stock boot image by yourself?

  35. Ntina

    Jan 24, 2020

    Could you upload V10.0.18.0.PDLMIXM (January 2020) boot image update for Mi A2 Lite

    Reply
    • Dhananjay

      Jan 24, 2020

      Hi Ntina. The download links have been updated with the stock and patched boot images of January 2020 update.

  36. Calibrit

    Jan 23, 2020

    Hi,
    first thanks for your work and please, could you upload patched image for V10.0.18.0.PDLMIXM version of daisy?

    Thanks again!

    Reply
    • Dhananjay

      Jan 24, 2020

      Hi Calibrit. Thank you so much for taking the time to appreciate it. I have added the download links for the 10.0.18.0 patched and stock boot images above.

  37. dox

    Jan 22, 2020

    V11.0.5.0 for mia2

    Reply
    • Dhananjay

      Jan 24, 2020

      Hi Dox. Only the stock boot image of V11.0.5.0 is available. You will need to patch it by yourself using the instructions in Step #3 above.

  38. Rayyan

    Jan 21, 2020

    10.0.18.0 PDLMIXM MI A2 LITE PATCHED BOOT IMAGE PLZ

    Reply
    • Dhananjay

      Jan 24, 2020

      Hi Rayyan. I have just uploaded the new boot images. Please check again.

  39. Sunday

    Jan 20, 2020

    Please provide already patched image for January update Xiaomi a2 lite daisy

    Reply
    • Dhananjay

      Jan 24, 2020

      Hi, the download link has been added.

  40. Greydi Razzaq Toffano Widajanto

    Jan 18, 2020

    please provide stock boot image for january 2020 update for mi a2 lite, so i can patched it with magisk. Thx

    Reply
    • Dhananjay

      Jan 24, 2020

      Hi. I have added the download links above. Please refresh the page and check again.

  41. pablo DanieL

    Jan 15, 2020

    Gracias, Mil Graciassss! rootie el mi A2 en android 10 ♥

    Reply
    • Dhananjay

      Jan 15, 2020

      Hi Pablo! Thank you so much for confirming. Could you please tell which version of TWRP worked for your Mi A2 running Android 10?

    • pablo

      Jan 16, 2020

      instale root con twrp 3.3.1 y 3.3.1-5(beta) me anduvo con ambas para instalar root en android 10

    • Dhananjay

      Jan 24, 2020

      Hi again, Pablo. Thanks for confirming me this.

  42. iqbal

    Jan 2, 2020

    I Like This Website So Much <3
    Always Update
    Apreciate it
    Thank You

    Reply
  43. Str Pro

    Dec 28, 2019

    i have done all steps and phone doesnt boot. It has stuck in Android One logo.HELP

    Reply
    • Dhananjay

      Dec 29, 2019

      Hi. Can you please let me know the software build number you were using and the stock boot image file that you used? Also, please mention whether your phone is the Mi A2 or the A2 Lite?

    • Str Pro

      Dec 30, 2019

      Xiaomi mi a2
      Built number: PKQ 1180904001 V10.0.18.0.PDIMIXM
      Stock boot image: V10.0.18.0.PDIMIFJ

    • Mehdi

      Dec 30, 2019

      i have done all steps and my Mi A2 phone doesnt boot. It has stuck in Android One logo.HELP

      I used below files:
      MagiskManager-v7.3.5.apk
      stock_boot_10.0.18.0_mi_a2.img

    • Dhananjay

      Feb 21, 2020

      Hi Mehdi. Is it the Mi A2 or the Mi A2 Lite?

    • Str Pro

      Jan 4, 2020

      Xiaomi mi a2

      Stock boot image
      V10.0.18.0.PDIMIFJ

      Build number
      V10.0.18.0.PDIMIXM

    • Str Pro

      Jan 22, 2020

      I will try again this time in Android 10
      Can you update for v11.0.5

    • Dhananjay

      Jan 24, 2020

      Sure. The boot image for V11.0.5.0 has been added to the downloads section.

  44. Akash

    Dec 28, 2019

    Hi Dhananjay, I have the build number v10.0.18.0.PDIMIXM of my Mi A2 after December update. Can I use the v10.0.18.0.PDIMIFJ image? If no then how to get a copy of my boot image as most boot image backup apps ask for root access?

    Reply
    • Dhananjay

      Dec 28, 2019

      Hi Akash. Yes, you can use that. The stock/patched boot image is universal to every Mi A2.

    • Patricio

      Dec 31, 2019

      I tried that on a PDIMIXM, it does flash and reboot and tries to start android (I do see androidone for say ~1 minute), then black screen, 1s of androidone, then reboot to the same loop. Flashing stock makes it boot again (but no root).

    • Patricio

      Dec 31, 2019

      root@kpoman-ThinkPad-X230:/home/kpoman/Downloads# fastboot flash boot patched_boot_10.0.18.0_mi_a2.img
      target reported max download size of 536870912 bytes
      sending ‘boot_b’ (29933 KB)…
      OKAY [ 1.741s]
      writing ‘boot_b’…
      OKAY [ 0.234s]
      finished. total time: 1.975s
      root@kpoman-ThinkPad-X230:/home/kpoman/Downloads# fastboot reboot
      rebooting…

      finished. total time: 0.251s
      root@kpoman-ThinkPad-X230:/home/kpoman/Downloads#

  45. sakif

    Dec 23, 2019

    please provide the december update 🙂

    Reply
    • Dhananjay

      Dec 25, 2019

      Hi Sakif. It’s available now. Please check the download links again.

  46. SeptianAdistyan

    Dec 23, 2019

    For Xiaomi Mi A2 (codename: jasmine_sprout)
    Build Number (Security Patch Version) Download Links
    V10.0.18.0.PDIMIFJ (December 2019 Update) Patched Boot Image | Stock Boot Image

    This Patched Boot Not For Jasmine Sprout,,
    When I Download I’ts Deasy Mi A2 Lite

    Reply
    • Dhananjay

      Dec 24, 2019

      Hello. I apologize for the inconvenience.

      I have updated the post with the correct link. Please check now.

  47. Marcin

    Dec 22, 2019

    Hello, could you upload the patched & stock boot image for Xiaomi Mi A2 Lite (V10.0.17.0.PDLMIXM) (December 2019 update) please?

    Reply
    • Dhananjay

      Dec 22, 2019

      Hi Marcin. I have updated the post with the December boot images. Please check now.

  48. enshoji

    Dec 21, 2019

    December update for mi a2 lite please, 10.0.17.0. PDLMIXM 🙏🏼🙏🏼

    Reply
    • Dhananjay

      Dec 22, 2019

      Hi. They have been added. Please refresh the page and check again.

  49. Str Pro

    Dec 18, 2019

    Could you update guide with December’s security ota update? Thank you very much.

    Reply
  50. Kevin

    Dec 12, 2019

    For step 4, part 8, where it asks me to download the pre-patched boot image from above, “then make sure to replace [“patched-boot-image.img“] with the actual filename of the downloaded patched boot image. For example, if you downloaded the V10.0.14.0 patched boot image for Mi A2 Lite, the command would the following.”

    I did the fastboot boot magisk patched.img part, but when I typed fastboot boot patched boot 10.0.12.0_mi_a2.img (cuz its my version) it says error:cannot load patched_boot_10.0.12.0_mi_a2.img

    What do i do now???

    Reply
    • Dhananjay

      Feb 21, 2020

      Hi Kevin. What’s the filename of the patched boot image you’re using?

  51. radenko jovic

    Nov 30, 2019

    all done, but a root checker app shows: “root access is not properly installed in this device”??

    Reply
    • Dhananjay

      Dec 2, 2019

      Hi Radenko. Could you please go to the app drawer and launch Magisk Manager? See if it’s showing as Magisk as installed. If it is, then your phone is rooted properly.

    • Afrizal

      Dec 16, 2019

      Do you have stock and patched mi a2 lite 10.0.17 ?

  52. mrFox

    Nov 30, 2019

    After i type “.\fastboot flash boot magisk_patched.img” the powershell shows nothing (should be sending boot_a), i have waited for a while and it still shows nothing. I don’t know if the command is running or not. What should i do?

    Reply
    • Dhananjay

      Nov 30, 2019

      Hi mrFox. When your phone is connected to the PC via the USB cable, is it properly being detected?

      Please check Control Panel > Device Manager while your phone is connected to the PC in fastboot mode.

    • domagoj

      Jan 6, 2020

      May i add, i did bootloader unlock some 6 months ago. Had to do it on my old pc (win7 x64 pro, asus p5q-e (lga775 cpu)). On my newer pc: win 10 pro, Ryzen 5 2600, Msi b450a-pro mainboard, tried several usb ports, oem xiaomi cable, i got issues as mrFox describes, sometimes it would respond, sometimes it would halt.
      Can’t recall exactly, but something to do with usb and amd…

    • Dhananjay

      Feb 21, 2020

      Hi. It has to do with AMD. ADB/Fastboot doesn’t play well with AMD PCs and USB 3.0/3.1/3.2 ports.

      Always try and use a Intel PC with a USB 2.0 port.

  53. Nandan Holla

    Nov 25, 2019

    Hi, I tried to flash the patched img using Ryzen but I got
    FAILED(Write to device failed(Invalid Argument))
    And in Intel I got
    FAILED(Write to device failed(Unknown Error)).
    I followed every step but still I’m getting error during this process….Pls help

    Reply
    • Dhananjay

      Nov 27, 2019

      Hi Nandan. Fastboot commands are often known to cause errors when used on AMD PCs. However, with Intel, they work just fine.

      First of all, let me know which version of Android SDK platform-tools are you using? Did you use an automated tool to install it or did you download the tools directly from Google?

    • Nandan Holla

      Dec 15, 2019

      I was using 29.0.5 v of platform tools…I just downloaded it from google

    • Sameer

      Dec 24, 2019

      Hi,
      December patched boot update is not available in the link. When i go through the patched boot link it is redirecting to stock boot. Please help.

  54. Suresh Kumar

    Nov 21, 2019

    Hi installed patched boot 10.0.17.0 to my A2
    But I can’t see any magisk app on my app drawer
    I proper unlock bootloader and critical but nothing to do rooty phone without installing twrp
    Please suggest me

    Reply
    • Dhananjay

      Nov 22, 2019

      Hi Suresh. Please download the Magisk Manager APK from here and install it on your phone. Then launch the Magisk Manager app and see if it shows that Magisk is installed.

      Make sure that you do all this while your phone is booted with the 10.0.17.0 patched boot image.

  55. Deki

    Nov 18, 2019

    Hi! I’, on Mi A2 lite. I’m curious about the procedure to extract the boot.img. Is it extracted from the OTA dump? So how do you get the OTA dump and then you extract the boot.img?

    I also noticed that there are 64 MB boot.img, which I believe are created by making a backup of the entire boot partition, using the TWRP. Right? These boot.img are not reliable because they are modified in some way by the installation of the TWRP, no?

    Sorry for my bad English!

    Reply
    • Dhananjay

      Nov 18, 2019

      Hi Deki. Yes, the boot.img can directly be obtained from a full OTA dump (Note, that incremental OTA dumps should and cannot be used). Most OTA files are shared over at online communities such as XDA or 4PDA. You can grab the OTA, extract it to get the “payload.bin” and then further extract the payload.bin file using the steps in this guide to finally obtain the boot.img.

      Yes, if you have TWRP permanently installed, then your boot.img is surely patched and no more the “stock” boot.img.

  56. Javier

    Nov 14, 2019

    ya está disponible v10.0.16.0PDLMIXM fastboot? no encuentro la imágen para magicks

    Reply
    • Dhananjay

      Nov 15, 2019

      Hi Javier. I have updated the post with the links. Please refresh the page and check again.

  57. anand

    Nov 10, 2019

    hai man, my a2 is stuck on boot screen, am on stock rom with boot unlocked with october security patch, can you help

    Reply
  58. khaled mostafa

    Oct 30, 2019

    Writing ‘boot’ FAILED (remote: ‘Partition flashing is not allowed’)
    i have this problem when i boot in platform tools 🙁

    Reply
    • Dhananjay

      Oct 31, 2019

      Hi Khaled. Have you unlocked your phone’s bootloader using the following commands?
      1) fastboot flashing unlock
      2) fastboot flashing unlock_critical

    • Ricky

      Nov 8, 2019

      Nomor versi perangkat lunak saya adalah 10.0.16 Oktober 2019… sedangkan tulisan di atas hanya tersedia 10.0.15… tolong di jawab

    • Pratyush Raj

      Nov 10, 2019

      sir whenever i try the above method i get an error in power shell windows
      FAILED (command write failed (No error))
      finished. total time: 0.005s
      like this and a message comes up in my phone display press any key to shutdown
      hv a updated my phone to aoctober patch with usb debugging enabled and oem unlocking turned on

    • Pratyush Raj

      Nov 10, 2019

      furthur my fone gets frequently stuck in bootloop after october patch

    • Dhananjay

      Nov 10, 2019

      Hi Pratyush. Is your phone’s bootloader unlocked?

      Are you talking about the regular Mi A2? If yes, then I must mention that the early October update (V10.0.15.0) is known for bootloop issues. Following this, Xiaomi rolled out another update as V10.0.16.0 to fix it.

    • Pratyush Raj

      Nov 11, 2019

      yess the regular mi a2

    • Pratyush Raj

      Nov 11, 2019

      moreover i didnt get V10.0.16.0 update
      and i cant unlock my bootloader please help

    • Pratyush Raj

      Nov 11, 2019

      sir its not getting unlocked ? whenever i try unlocking it i get an error in power shell windows
      FAILED (command write failed (No error))
      finished. total time: 0.005s
      like this and a message comes up in my phone display press any key to shutdown
      and i have enabled allow oem unlocking and usb debugging from developer’s options ps can u contact me in my mail i need a detailed help
      pratyushraj2fastandfurious@gmail.com

    • Dhananjay

      Nov 13, 2019

      Hi Pratyush, please provide an answer to the following questions so that I can help you better.
      1) Are you using an Interl-based or an AMD-based PC?
      2) Are you using USB 3.0 or USB 2.0 ports (on your PC) to connect your phone?

    • Pratyush Raj

      Nov 14, 2019

      3.0 ports and intel based pc dont have any usb 2.0 ports only 2 usb 3.0 and 1 usb 3.1

    • Pratyush Raj

      Nov 14, 2019

      intel 9th gen i5

    • Dhananjay

      Nov 14, 2019

      That clears it up. You will need to try with a different PC, using a USB 2.0 port.

      USB 3.0/3.1 ports often cause problems when it comes to using fastboot.

    • Fendi

      Nov 14, 2019

      I just emailed you about my mi a2 lite.
      Your website latest update its (V10.0.15.0.PDLMIXM)
      but my phone already updated to (V10.0.16.0.PDLMIXM).
      So i need to root my phone with the latest patched boot. I think you can help me to update a new patched boot at MI A2 LITE.

    • Dhananjay

      Nov 14, 2019

      Hello Fendi. I have replied to your email, please check.

  59. takhama

    Oct 25, 2019

    Hi, the stock boot V10.0.15.0.PDLMIXM (October 2019 Update) for mi A2 LITE seems actually to be patched with magisk.
    Each time I flash it, I have magisk activated…

    Reply
    • Dhananjay

      Oct 25, 2019

      Hi. By “activated”, do you mean that you see that Magisk is installed when you open Magisk Manager?

    • takhama

      Oct 26, 2019

      Hi Dhananjay, here is what I do: uninstall Magisk from Magisk manager. After the phone reboots, i have a “no command” message. So here I flash the stock image of november for Mi A2 Lite. After that, I install Magisk Manager apk and it shows that Magisk is already installed !

    • Dhananjay

      Oct 27, 2019

      Oh. First of all, I think you’re talking about the “October update” and not “November update”, am I right?

      Could you try flashing this stock boot image and see if it helps uninstall Magisk?

    • Takhama

      Oct 30, 2019

      Hello, in the mean time I found another stock image and it worked with it ! Thanx !!

    • Dhananjay

      Oct 31, 2019

      Hi. Did you try with the stock boot image I linked in the comment above? Or just the other one that you found?

    • Tahhama

      Nov 21, 2019

      Hi, another one I found. I don’t remember where, but probably on xda.
      Thanx for your help !

    • Dhananjay

      Nov 22, 2019

      Hi again, Tahhama. Thanks for the response! Glad I could help.

  60. Project Nova

    Oct 19, 2019

    How about the v10.0.15.0 of Mi A2?
    I just got it today but it said it was released on October 5, 2019.
    Do you have the patch yet?

    Reply
    • Dhananjay

      Oct 20, 2019

      Hi. The download link to the boot images is now available.

  61. Nico van Draanen

    Oct 19, 2019

    The stock and patched boot images from the october ota update, for daisy (mi a2 lite):
    Stock: https://www.androidfilehost.com/?fid=1899786940962611599
    Patched: https://www.androidfilehost.com/?fid=1899786940962611552 (patched with Magisk 20.0)

    Reply
    • Dhananjay

      Oct 19, 2019

      Hi Nico! Thanks a lot for uploading and sharing it with us. I have updated the links, along with appropriate credits.

  62. Guy

    Oct 16, 2019

    Merci pour cet article tres bien documenté. Je rajoute une petite chose :
    avec magisk 20.0 il est IMPERATIF d’utiliser magisk_patched crée par magisk 20.0.

    Reply
    • Dhananjay

      Oct 17, 2019

      Thanks for the appreciation Guy! Magisk v20.0 was only released recently. The upcoming boot images will be patched using Magisk 20.0, I assure you.

    • Atmajaya

      Dec 16, 2019

      Hi please December patched boot

  63. Mike

    Oct 6, 2019

    Maybe not many people notice this but could someone check if they experience the same problem:

    *only* when I switch off the phone and attach the charger, I get stuck at the ‘android one’ splash screen (with the unlocked lock on the bottom of the screen). Also the screen stays on after I detach the charger. It only happens after I flashed the patched boot image.
    The device is completely stock and untouched (I just flashed the stock 10.0.9 image). Reverting the patched boot image back to the stock boot image shows the normal green battery again while charging (as expected).

    Does Magisk kill the charging screen?

    Reply
    • Mike

      Oct 6, 2019

      Excuse me, I forgot to mention that I’m on a A2 lite and that I used the 10.0.9 and the 10.0.14 patched boot images. Thank you in advance!

    • Dhananjay

      Oct 6, 2019

      Hi Mike. First off, make sure that you only use the patched boot image for the version installed on your phone.

      For example: If you have September update (V10.0.14.0.PDLMIXM) installed (Go to Settings > About phone to check it), then make sure that you flash the patched boot image for V10.0.14.0 only.

      Also, you don’t have any Magisk Modules installed, am I right?

    • Mike

      Oct 6, 2019

      Hi Dhananjay, thanks for the quick reply, and yes, I checked that versions were correct. That also was easy to do because I just did a clean flash with the stock rom in the particular version right before it. No other apps, mods or magisk modules are on the phone.
      I patched the original boot.img from the original miui ROM myself (on another phone with Magisk 19.3). But also tried the patched ones on this site.

    • Dhananjay

      Oct 7, 2019

      Hi Mike. That’s odd. Have you tried patching with v19.4?

  64. Kevin

    Sep 28, 2019

    One major question. If A2 finally receives the Android 10, will this tutorial still works? Like uninstall magisk, then apply the OTA update, then install magisk and reboot?

    Reply
    • Dhananjay

      Sep 28, 2019

      Yes, of course it will. The latest version of Magisk fully supports Android 10’s new 2-stage-Init system-as-root approach.

      Once the OTA arrives, follow this guide that I recently posted. I would suggest that you disable automatic updates right now itself, not only for Android 10 (when it arrives), but also for future monthly updates. Once done, just follow the instructions in the linked guide and install the OTA. It will retain root after the update too.

    • Gayanuka

      Sep 30, 2019

      How can I uninstall magisk completely and install stock boot image to restore my device?

    • Dhananjay

      Sep 30, 2019

      Hi. First of all, please let me know the exact build number your device is on (Go to Settings > About phone to check it).

    • Gayanuka

      Sep 30, 2019

      Sir I’m in V10.0.14.0.PDIMIXM

    • Gayanuka

      Sep 30, 2019

      Sir my build number is V10.0.14.0.PDIMIXM.I didn’t root my phone yet, I didn’t unlock even the bootloader.The phone is still in factory condition I setted up adb and Xiaomi USB driver I’ll unlock the bootloader later first I need to know the full unistallation of magisk on Mi A2.I love androidone program so I need OTA updates.I know I shouldn’t do the full unistallation to get OTA updates but I prefer the full unistallation.

    • Dhananjay

      Sep 30, 2019

      Hi. Thanks for providing the info.

      Now first off, follow the un-installation instructions in this post (Towards the end of the post).

      Once done, boot your phone into fastboot mode and execute the following command in PowerShell to flash back the stock boot image: fastboot flash boot stock_boot_10.0.14.0_mi_a2.img

      Although Magisk will automatically restore the stock boot image when uninstalling, flashing the stock boot image will ensure that everything is in the right order.

    • Gayanuka

      Sep 30, 2019

      Okay sir thank you so much for your support I’ll follow your steps. XD

    • Dhananjay

      Sep 30, 2019

      Oh. You didn’t even have an unlocked bootloader yet? Please always make sure that you mention about your device’s current state and details first, just a suggestion. I thought your phone was already rooted.

    • Gayanuka

      Oct 1, 2019

      I just succesfully installed magisk on my device! thank you sir. You’re a god.

    • Dhananjay

      Oct 1, 2019

      Thank you for the kind words, Gayanuka. Hope to see you around the blog more often!

  65. Kevin

    Sep 28, 2019

    the process has been updated if I’m not mistaken?

    Reply
    • Dhananjay

      Sep 28, 2019

      Hi again Kevin. Glad that you’re sticking around more often.

      Yes, the whole process has been re-written from scratch. Although the method is same, I have tried and put it in a more detailed and explanatory approach.

  66. Balistikk

    Sep 24, 2019

    To the people who where using the OEM unlocking option in the developer options and getting the partition error you need to unlock your bootloader. I am using a MI a2 lite and the fastest way of unlocking for me was using this video https://www.youtube.com/watch?v=nF40JH2FKWU

    It is in indonesian but the instructions are simple enough. Download the link from his description and follow what he writes after connecting your phone to your PC and putting it in fastboot and then follow the instructions on this page.

    (YOUR DATA WILL BE WIPED MAKE SURE YOU BACKUP)

    The reboot after unlocking takes about 5 – 10 mins. You should get a warning message saying your device is unlocked.

    Thank you for the great tutorial Dhananjay.

    Reply
    • Dhananjay

      Oct 1, 2019

      Hi. Thanks for the kind comment and for helping out other readers. We too have a guide on how to unlock the bootloader on Mi A2 series, it’s quite simple actually.

  67. guilherme henrique eufrásio

    Sep 20, 2019

    Infelizmente quando eu fui dar o comando fastboot flash boot magisk_patched.img o telefone reiniciou e deu “The system has been destroyed” como posso resolver?

    Reply
    • Dhananjay

      Sep 20, 2019

      Hi, I am gonna need a bit more detail before I can help.

      First off, what’s your device? Is it the regular Mi A2 or the Mi A2 Lite?
      Second, what was the exact build number you had installed on your device prior to following the procedure?

  68. Nico van Draanen

    Sep 18, 2019

    Here are the stock and patched boot images from the september ota update, for daisy (mi a2 lite):
    stock: https://mega.nz/#!FMFzDQaD
    patched: https://mega.nz/#!ZRVVlIAR

    Reply
    • Dhananjay

      Sep 18, 2019

      Hi Nico. Thanks a lot for sharing that with us. However, the links require a decryption key. Could you please share the complete links with decryption keys?

    • Towhidur Reza

      Sep 18, 2019

      Hello Nico,
      Please share the decryption keys.

    • Nico van Draanen

      Sep 18, 2019

      sure, here are the links with keys:
      stock: https://mega.nz/#!FMFzDQaD!Y8Wf2JkRqPhPOj5jQzwDoActOMCN3Ee3hdx6NUH_eV8
      patched: https://mega.nz/#!ZRVVlIAR!YMxu_vH1JwTWEjns0S8L6N9Y92Jgv9–hC3ukAFWkPo

    • Dhananjay

      Sep 19, 2019

      Thanks a lot, Nico. I have added the links to the downloads table above, with appropriate credits at the end of it.

    • JuanMa

      Oct 2, 2019

      Hello, I tested those boot images from the september ota update on my Xiaomi Mi A2 Lite V10.0.14.0.PDLMIXM, and it didn’t work. I have installed others boot images before but those just endlessly keep loading. Has anyone worked those boot images?

    • Dhananjay

      Oct 2, 2019

      Hi JuanMa, could you please elaborate a bit more? Are you sure you downloaded the patched boot image for the Mi A2 Lite and not the regular Mi A2?

    • JuanMa

      Oct 2, 2019

      I ran those commands:

      $ fastboot devices
      xxxxxxxxxx fastboot
      $ fastboot getvar current-slot
      current-slot: a
      “It was working on a”
      $ fastboot flash boot_b patched_boot_mi_a2_lite_10.0.14.0.img
      sending ‘boot_b’ (27462 KB)…
      OKAY [ 0.743s]
      writing ‘boot_b’…
      OKAY [ 0.160s]
      finished. total time: 0.902s
      $ fastboot set_active b
      Setting current slot to ‘b’…
      OKAY [ 0.022s]
      $ fastboot reboot

      This was the boot image I downloaded “patched_boot_mi_a2_lite_10.0.14.0.img” and my celphone is Mi A2 Lite.

    • Dhananjay

      Oct 3, 2019

      So, now it works, right?

    • Dhananjay

      Oct 3, 2019

      Hi. Before this process, your phone was on slot a, right? So did you install the September OTA while your phone was booted on slot a?

    • JuanMa

      Oct 3, 2019

      Hi Dhananjay, yes I did.
      Later, I ran the command as you posted:
      “fastboot flash boot patched_boot_10.0.14.0_mi_a2_lite.img”
      without set the slot. Thanks, have a nice day.

    • Joao Costa

      Sep 19, 2019

      hi, how can i access the files ? thank you

    • Dhananjay

      Sep 19, 2019

      Hi Joao. You can do so by simply clicking on the download link corresponding to the software version installed on your phone.

      If possible, please elaborate a bit more about the problem you’re facing.

  69. Fisher

    Sep 8, 2019

    Sir, do I need to replace boot img to stock while OTA update ? If yes how can I do that ?

    Reply
    • Dhananjay

      Sep 8, 2019

      Hi Fisher. You can take OTA updates on your rooted phone and preserve root after updating too.

      However, I have to be a 100% sure before I guide you any further. Actually, the OTA installation method will only work if Magisk Manager can successfully restore the stock boot image. So, do the following for me and let me know what happens:

      Go to Magisk Manager, tap on Uninstall, and then select ‘RESTORE IMAGES’. When you do that, let me know what output message it shows. If it shows ‘Restoration done!’, then we can proceed. Otherwise, we will have to do it manually.

      And don’t worry, in either case, the process is quite simple.

    • antonis

      Sep 12, 2019

      Hi,
      Cannot install update with magisk,how do I manually update?
      Thank you

  70. antonakis

    Sep 3, 2019

    Hi,
    I have succesfully rooted phone with your guide, but cannot install OTA updates with the guide you have linked.
    Can I unroot ,reflash then OTA upgrade, and root again using your guide?

    Reply
    • Dhananjay

      Oct 1, 2019

      Hi.That is because the current inactive slot still have some modification present, and thus the update fails. Please follow the instructions I have listed in this comment and then re-root using this guide. Make sure that you patch the stock boot by yourself (Step #3), because Magisk takes a backup of your stock boot image while patching. It could then be used to restore the images while following the OTA installation guide.

  71. Cristian

    Aug 20, 2019

    Good afternoon, I am in version v.10.0.7.0.PDIMIXM on Mia2, I tried to remove the root but when I did the computer was left without internet, I went back to root it with the boot you put but when entering the magisk and install version 19.3 I Error appears, what should I do ?. Sorry for the English.

    Reply
    • Dhananjay

      Aug 21, 2019

      Hi. Which patched boot image did you use? Was it specifically for V10.0.7.0? Also, could you please let me know the exact error that you see on the screen?

  72. Kevin

    Aug 17, 2019

    https://androidfilehost.com/?w=files&flid=297954

    stock boot images for jasmine_sprout (August Security Update)

    Reply
    • Dhananjay

      Aug 17, 2019

      Hi. Kevin. Thanks a lot. In fact, I got hands-on the fastboot image for the Mi A2. However, haven’t patched the boot image from that yet.

      I will just link to these ones. Could you please share the link of the source with me? I would like to give appropriate credits to him, as well as to you.

    • Kevin

      Aug 17, 2019

      Hello Dhananjay, I got this from the official telegram group and I can confirmed that its legit. I used to root my device.

    • Dhananjay

      Aug 17, 2019

      Great! I have added the links with apt credits. Thanks again.

  73. Dipu

    Aug 13, 2019

    hi. can you tell me how can i get pure stock boot.img file from Daisy without root? please

    Reply
    • Dhananjay

      Aug 13, 2019

      Hi Dipu. Do you mean you want to extract the stock boot image from your phone itself?

      The easiest way, however, is to grab the stock boot from the fastboot image or by extracting the Payload.bin from the full OTA package.

  74. Kevin

    Jul 25, 2019

    Hi! I love your tutorials here in customdroids. I’m using it enabling camera2api and rooting my Mi A2. I just want to ask if you have a guide on how to keep magisk (root) and keeping OTA updates? Thank you and more power

    Reply
    • Dhananjay

      Jul 25, 2019

      Hi Kevin. Many many thanks for those kind words. Now that you say, I remember that I wrote the guide on that, however, never got to finish it. I will do that now and publish it.

    • Kevin

      Aug 16, 2019

      Hi Dhananjay, any news about the tutorial? Thanks

  75. MaNeX

    Jul 23, 2019

    Is there any july patched boot updated

    Reply
    • Dhananjay

      Jul 23, 2019

      Hi. Only for the Mi A2 at the moment.

    • MaNeX

      Jul 23, 2019

      Thank for the reply, is there any patched boot for mi a2 version v10.0.12.0.PDIMIXM sorry bad English…

    • João Maroco

      Aug 1, 2019

      Hi Dhananjay,
      Can you please update the link for the Daisy July update boot.img and patched_boot.img? The Mega link is not working…
      Thanks!

    • Dhananjay

      Aug 1, 2019

      Hi. I have added mirror links, you can check that one. From now on, I will be adding a mirror link for every boot image.

  76. antonis

    Jul 18, 2019

    Hi,
    i rooted device mi a2 lite with V10.0.10.0.PDLMIXM, but after reboot i lose root and need to reflash.

    Reply
    • Dhananjay

      Jul 18, 2019

      Hi Antonis. When you booted your phone with the patched boot image, did you go to the app drawer and use Magisk Manager to permanently install Magisk (Step 9 to 12 above)?

    • antonis

      Jul 20, 2019

      Hi,
      Thanks very much that fix the problem!!

    • Dhananjay

      Jul 20, 2019

      Hi again. I am glad it did!

    • antonis

      Aug 3, 2019

      Hi,
      Thanks for your guides, how do i update to July security patch V10.0.12.0.PDLMIXM?

    • Dhananjay

      Aug 3, 2019

      Hi. If you used this method, then follow the instructions here. Make sure to follow them all and in the given order.

    • antonis

      Aug 3, 2019

      Hi,
      I did this but install fails every time

  77. Syed Ali Raza

    Jul 6, 2019

    I can not get the 4 options for Select Method for installing
    magisk.
    Got two options as 1.Download Zip Only, 2. Select and Patch a file. Please help.
    I use V10.0.10.0.PDIMIXM patched boot.img please help.

    Reply
  78. Ángel Milán

    Jun 25, 2019

    Good afternoon, what happens is that when i run Magisk Manager I only see two options, per disk image and download the ZIP.
    Honestly I do not know what it is due, I have the device with the bootloader open, it has Android 9, with the patch of June 2019, build number 10.0.10…
    I don’t know if this is because I misreleased the bootloader, I don’t know…
    Postdata: I don’t know English, I used Bing’s translator.

    Reply
  79. Vivek

    Jun 21, 2019

    Is it the Miui ROM or the Stock Android ROM?

    I have downloaded the following files from miui’s website.
    jasmine_global_images_V10.0.9.0.PDIMIXM_20190513.0000.00_9.0_bbaa8993fe.tgz

    Please help!

    Reply
  80. rishabh

    Jun 20, 2019

    please upload new patch boot image of mi a2 10.0.10.0.PDIMIXM i want to root my device please help me.

    Reply
    • Dhananjay

      Jun 20, 2019

      Hi Rishabh. The patched boot images of V10.0.10.0 (June 2019 update) for both the Xiaomi Mi A2/A2 Lite are now available. Please check the Downloads section.

    • Bruno

      Jun 23, 2019

      Hi it is possible to update mi a2 lite to 10.0.10. 0 already rooted with magisk? Without formatting the smartphone? Thank you

    • Dhananjay

      Jun 23, 2019

      Hi Bruno. Which method did you use to root your Mi A2 Lite?

    • Bruno

      Jun 24, 2019

      I always root with the method you posted here with boot patched but every time I have to format

    • Dhananjay

      Jun 24, 2019

      Hi, again Bruno. What do you need to format the phone every time? During the whole procedure, the phone will only be wiped when you unlock the bootloader.

    • Bruno

      Jun 24, 2019

      hi Dhananjay,
      I already have the bootloader unlocked and the root with the previous bootpatched, I don’t understand how to do ota updates, thanks

  81. Pavel

    Jun 10, 2019

    Dear Dhananjay! Thank you very much for updating this useful site!
    Where can I download Stock Boot Image for Xiaomi Mi A2 Lite?
    I can’t find “stock_boot_10.0.9.0_mi_a2_lite.img” file or something like that anywhere.

    Reply
    • Pavel

      Jun 11, 2019

      I’ve found and downloaded full firmware file “daisy_global_images_V10.0.9.0.PDLMIXM_20190514.0000.00_9.0_f9d0c739e0.tgz”, looked for “boot.img”, and it is there in the “images” folder (27’895’114 bytes in size), but I’m confused by the modification date “2008-12-31”. Many other files in the same folder have the date closer to current – “2019-05-14”.
      Is this “boot.img” really stock boot image, that I’m looking for?
      My download source is the following (it is said that it’s anofficial source).

    • Dhananjay

      Jun 11, 2019

      Hi Pavel. Yes, that’s the correct boot image, don’t worry about it at all.

    • Pavel

      Jun 12, 2019

      Thanks a lot! This is really good news.

    • Dhananjay

      Jun 12, 2019

      You’re welcome, Pavel!

    • Dhananjay

      Jun 11, 2019

      Hi again, Pavel. I have now added the link to the stock boot image for V10.0.9.0 for Mi A2 Lite if you still need it.

  82. PEPO :3

    Jun 9, 2019

    Hey Bro :3
    (Sorry for bad English, it’s because I’m from Brazil hahaha.)

    I have an Mi A2 Lite and did root it, but I can not update my Android (V10.0.7.0.PDIMIXM). I tried to press “Uninstall” on the Magisk and rebooted the device, but then it appeared on the Android icon with an exclamation point and below it was written “No command”. To get the system started, I went to the Fastboot screen and made the Stock Boot flash of version 10.0.7.0. Since then, I can only boot my device through Stock Boot.
    How should I proceed? Do I need to format my device so it returns to normal and does not need the Stock Boot file? If I can reverse this situation without formatting, how do I update the system to the latest version if my device is root?

    Thanks in advance! :3

    Reply
    • Dhananjay

      Jun 11, 2019

      Hi. During the update process, you missed some points. For now, I would suggest that you flash the stock firmware image. Once done, follow this method to root your device again. Further, when an update arrives, just follow all the instructions here.

  83. junior farias

    May 27, 2019

    olá, estou tendo problemas com os comandos para utilizar o patched v10.0.9.0 do Mi A2 lite.
    ao colocar o comando ¨boot fastboot¨ mais o patched ele da erro: ‘boot’ não é reconhecido como um comando interno
    ou externo, um programa operável ou um arquivo em lotes. o que fazer ?

    Reply
    • Dhananjay

      Jun 11, 2019

      Hi. You have to enter “fastboot boot patched_boot_10.0.9.0_mi_a2_lite.img” and not “boot fastboot”.

    • Ko Htoo

      Jun 22, 2019

      Need Mi A1 10.0.10 patch_boot.

    • Dhananjay

      Jun 22, 2019

      Hello. You can get it from the Mi A1 specific post here.

  84. Chrysolyte diaz Cerezo

    May 21, 2019

    Hello, do you have V10.0.9.0.PDLMIXM?

    Reply
    • Dhananjay

      Jun 11, 2019

      Hi. Yes, the links are now up, please check again.

  85. Sarath

    May 21, 2019

    Hi bro, i installed twrp3.3.0 on my mi a2, but when i try to get into recovery i am stuck at twrp logo.now i want to go back to stock recovery..so can u help me get back my stock recovery ?

    Reply
    • Dhananjay

      Jun 11, 2019

      Hi Sarath. Yes sure, I would be happy to help. Please let me know the software version (Build Number) installed on your phone.

  86. Amn

    May 19, 2019

    Hey there, I flashed latest patched boot img successfully on my mi a2 but after every reboots magisk is getting uninstall.. please help

    Reply
    • Dhananjay

      May 19, 2019

      Hi. After booting the phone with the Patched Boot Image, did you open Magisk Manager and install Magisk using the app (Step 9 to Step 12)?

  87. Timo

    May 17, 2019

    Patched Boot Image V10.0.8.0.PDLMIXM direct link for a2 lite doesnt work (incorrect img?) while the mirror img works fine.

    Reply
    • Dhananjay

      Jun 11, 2019

      Hi Timo. Please check the link again. I have verified that it works just right on my PC and mobile.

  88. THANT SIN

    May 2, 2019

    I can not get the 4 options for Select Method for installing
    magisk.
    Got two options as 1.Download Zip Only, 2. Select and Patch a file. Please help.

    Reply
    • Dhananjay

      May 3, 2019

      Hi. That means the patched boot image was not booted properly. Please use the fastboot command and boot your phone with the corresponding patched boot image.

    • Bruno

      May 23, 2019

      Hi, is it possible to update mi a2 lite without formatting the smartphone? Thanks

    • PEPO :3

      Jun 9, 2019

      I have the same problem

    • Dhananjay

      Jun 11, 2019

      Hi. Do you mean a software update via the OTA?

  89. Simian

    May 2, 2019

    Hi! Please help-me, i have an Mi A2 LITE (Daisy) V10.0.8.0.PDLMIXM but in dowload section the V10.0.8.0.PDLMIXM file is for Mi A2 (jasmine_sprout)… how to proceed?

    And more one question, pokemon go and their safenet works in magisk?

    Reply
    • Dhananjay

      May 2, 2019

      Hi. I have just added patched boot images for both Mi A2 and Mi A2 Lite. These are patched with version 19.1 of Magisk.

  90. Tulio

    May 2, 2019

    The patch fixed for Mi A2 Lite 0.80 April?

    Reply
    • Dhananjay

      May 2, 2019

      Yes, it is available now.

  91. Guilherme

    Apr 30, 2019

    I installed stock rom 10.0.7, but , now my MI A2 can’t install automatically patch from april 2019.
    PS: Boot of MI a2 is to slowly!!!!
    Could you help me?

    Reply
    • Tulio

      May 1, 2019

      I have the same problem.

  92. marko

    Apr 30, 2019

    I have a problem with fastboot boot patched boot. especially copying the file name please reply.

    Reply
    • Dhananjay

      Apr 30, 2019

      Hi Marko. Please let me know exactly where are you facing this problem.

  93. sadman sakib

    Apr 24, 2019

    show it take this long to boot?????

    Reply
    • Dhananjay

      Apr 25, 2019

      Hi. It shouldn’t take more than a minute, at maximum. Are you sure that you used the patched boot for the software build number installed on your phone? If you’re running V10.0.8.0 on the Mi A2, then you should use patched boot of V10.0.8.0. Using a different version or mixing boot images of the Mi A2 with the A2 Lite or vice-versa will result in bootloop.

    • Patrick Thurmond

      Oct 13, 2019

      Yeah, that part wasn’t clear to me. Any way to clear the bootloop?

    • Dhananjay

      Oct 22, 2019

      Simply flash the stock boot image corresponding to the software version (build number) installed on your phone.

  94. goody

    Apr 23, 2019

    hey good day can install magisk even though the twrp version is jasmine sprout?

    Reply
    • Dhananjay

      Jun 11, 2019

      Hi. I am sorry but I am not fully able to understand what you’re trying to ask. Please elaborate a bit more.

  95. Richard

    Apr 23, 2019

    hi try to do the procedure to root my MiA2Lite but when giving the command “fastboot boot C: \ adb \ patched_boot_10.0.7.0_mi_a2_lite.img
    downloading ‘boot.img’ …
    OKAY [0.908s]
    booting …
    FAILED (remote: unlock device to use this command)
    finished total time: 0.929s “, and it does not allow to finish the process, thanks for the help that they can offer me.

    Reply
    • Dhananjay

      Apr 23, 2019

      Hi Richard. You must first unlock the phone’s bootloader before you can use this method to root the device. Make sure that you take a backup of your device including the internal storage, as unlocking the bootloader will erase the device completely.

      There’s also a simple trick to avoid data wipe when unlocking the bootloader (Click here to view), however, take a full backup regardless of that.

  96. Rafael Pazini

    Apr 22, 2019

    I had updated to V10.0.8.0 PDIMIXM “/.. Did you know when the patched image will be released?

    Reply
    • Dhananjay

      Apr 22, 2019

      Hi. Patched boot and stock boot images for V10.0.8.0 are now available, please check the downloads section.

  97. Feri367

    Apr 19, 2019

    Hi my bro, in magisk manager i don’t see direct install!! I see 2 options.
    Download zip file and patch boot image file.

    Mi A2 lite , android pie v10.0.7.0 PDLMIXM

    My file name is patch. img

    My entered command is :
    Fastboot boot patch.img
    Is it true?

    Reply
    • Dhananjay

      Apr 22, 2019

      Hi. Yes, you need to enter that command if the filename is ‘patch.img’. Once the phone boots with the patched boot image, you should see the install option in Magisk Manager.

    • Akshay

      May 20, 2019

      I am not able to see install options why thank you

    • Dhananjay

      Jun 11, 2019

      Hi Akshay. Please let me know the device name and software version installed on it.

  98. Ymirein

    Apr 18, 2019

    Hello, i download patched_boot.img for mi a2 (V10.0.7.0.PDLMIXM) but when i write fastboot boot patched_boot.img i see: no such file or directory. Can u help me?

    Reply
    • Dhananjay

      Apr 23, 2019

      Hi. You must ensure that the patched boot image file is placed where the fastboot.exe (platform-tools) are extracted on the PC. Once copied, hold the SHIFT key on the keyboard and right-click on any empty space inside that folder. Then select ‘Open PowerShell window here’ option and you should be good to go.

  99. Corrado

    Apr 16, 2019

    Hi,

    I’m stuck with 10.0.2.0 as I’ve been scared to update OTA as when I did it in december with PIE I ended up in bootloop using the XDA OTA method (which worked well until PIE arrived). I was wondering now how to safely update to 10.0.7.0. I’va latest magisk with cam2api installed (just for the gcam). If I go to update in settings it doesn’t tell me a generic “problem with installation” as when there was 10.0.3.0 and 10.0.4.0 available. It just tells me the update is about 1GB and there’s a button “reboot now”. If I reboot phone myself nothing happens (I switch it off every day) as i switched off the automatic updates. Don’t know which improvements the 10.0.7.0 brought but I wouldn’t like to remain in 10.0.2.0 forever 🙁 many thanls

    Reply
    • Dhananjay

      Apr 16, 2019

      Hi. Don’t worry. The rule of thumb when it comes to OTA updates on rooted devices is that they should be completely stock (Boot, System, everything else).

      Here’s what you can do:
      1) Download stock boot image for V10.0.2.0 for your device (Make sure you choose for the correct device Mi A2 or A2 Lite).
      2) Uninstall Magisk completely from Magisk Manager
      3) Then boot your phone into fastboot mode and flash the stock boot image:
      fastboot flash boot stock-boot-filename.img
      4) Then reboot your phone and install the OTA

      Once you have updated, let me know. I will guide you further to re-root without any problems.

    • Corrado

      Apr 17, 2019

      ok do you know where I can find stock boot image for V10.0.2.0? Unfortunately It’s the only one missing in your guide :(. Do you think I can then just install the cam2api without rooting following for instance **Link removed by the moderator** and not having to worry anymore about updates? FInally as I’m already in PIE 10.0.2.0 is it worth to go through all of this risky business to have an updated system where I may not even notice the actual benefit of it? SUper thanks for your help!!!

    • Dhananjay

      Apr 17, 2019

      Hi again. The stock boot image for V10.0.2.0 for the Mi A2 Lite can be downloaded from here. The credits go to XDA senior member minnuss for sharing it with the community.

    • Corrado

      Jun 28, 2019

      HI it’s me again. Still didn’t do anything as I’m a bit scared … perhaps can i try the link you provided some posts above

      what would be the worse thing to happen? if it goes into bootloop (as it did to me passing to PIE) can i follow your steps above in reply to my request
      ? Many thanks

    • Dhananjay

      Jun 28, 2019

      Hi again. First off, make sure that you backup everything. Contacts, messages, call logs, images, videos, music, and complete internal storage. Once that is done, we can go ahead without any risks. Don’t worry, the process is quite simple and easy to perform.

      Once you have backed up, let me know so that I can provide you with further instructions.

  100. Rick F

    Apr 16, 2019

    Hi!

    I followed this guide but it didn’t work for me. There is no Magisk app after booting with the patched bootloader…
    Is it because I didn’t wipe the data when I unlocked the booloader (I kept the volume down pressed)?

    Reply
    • Dhananjay

      Apr 23, 2019

      Hi Rick, that’s highly unlikely the reason. In most cases, it is the issue with the device-PC connection. Please try a different USB port on the PC, preferably a USB 2.0 port.

  101. Guilherme

    Apr 10, 2019

    Hello my dear

    I did root my cell phone, but I tried to remov root and made some errors.

    I would like to ask for help, to restore the original bootloader from my XIAOMI A2 cell phone.

    My phone does not boot any more by itself, just using the command below.
    fastboot boot stockrom.img

    Can someone please help me urgently ????

    Reply
  102. Guilherme

    Apr 10, 2019

    Hi, i did try remove root, but i have a problem.

    When i restarted my phone i cant start Android one.

    I can start my phone only with comand fastboot boot stockroom.img

    Someone can help me?!

    I woud like reatore original bootloader and remove root .

    I own XIAOMI Mi A2 (jasmine_sprout) A2 128GB / 6GB, but it has been updated to version V10.0.7.0.PDLMIXM

    Reply
    • Dhananjay

      Apr 10, 2019

      Hi. Simply download the stock boot image for version 10.0.7.0 for your Mi A2. Then flash it to your device using:
      fastboot flash boot stock_boot_10.0.7.0_mi_a2 .img

      Once flashed, reboot your phone by entering: fastboot reboot

      Let me know how it goes. Good luck!

    • Guilherme

      Apr 10, 2019

      I Will try it,
      Thanks in advance

    • Dhananjay

      Apr 11, 2019

      Hi. Did you try it? How did it go?

    • Guilherme

      Apr 11, 2019

      Yes,

      worked correctly!
      thanks for the support!!

    • Guilherme

      Apr 11, 2019

      my friend,
      worked correctly!
      thanks for the support!!

    • Dhananjay

      Apr 11, 2019

      Hi again! I am glad it did.

    • Jonas

      Apr 16, 2019

      Hi Dhananjay ,

      My device ins´t on developer mode and I can´t init it because it´s on mode bootloop. How can I unlock my device or init it?
      I try root with jasmine and display the mgs:
      “FAILED (remote: Flashing is not allowed in Lock State)”

      I send to you a e-mail explain the situation.
      Please help, thanks

    • Dhananjay

      Apr 17, 2019

      Hi Jonas. Being stuck in a bootloop when the bootloader is locked is bad. However, the fact that the device uses A/B partition, there could be decent chance that it could be fixed.

      Here’s what I want you to do:

      1. Boot your phone into fastboot mode and connect it to the PC
        Then enter the following command in terminal (Command Prompt/PowerShell) to check which slot is currently active: fastboot getvar current-slot
        Now, it will either show slot a or b. Now, we will need to switch to the inactive slot. So, if the current slot is “a”, we will need to switch it to slot “b” or vice-versa.
        To do this, enter the command: fastboot set_active b (If the current active slot is a) or fastboot set_active a (If the current active slot is b)
        Once you have activated the other slot, enter ‘fastboot reboot’ to boot your phone into the OS.

      Check if the phone is able to enter the OS now. Do get back to me with the result.

    • Benjamin Nyagaka

      Apr 22, 2019

      Hi, my phone is rooted
      I am on 10.0.7.0 mi A2
      I want OTA updates but off course I can’t update with my phone rooted
      If I flash the stock boot image of 10.0.7.0 will my phone be factory reset?

    • Dhananjay

      Apr 22, 2019

      Hi Benjamin. No, flashing the stock boot image will not wipe the phone at all.

      First, make sure that you disable and remove any Magisk Modules that you might have installed. Then uninstall Magisk completely from Magisk Manager. After that, boot your phone into fastboot mode and flash the stock 10.0.7.0 boot image.

      When all this is done, you can reboot back into the OS and install the OTA update.

  103. Pavel

    Apr 10, 2019

    Dear Dhananjay! Thank you very much for sharing your knowledge!
    I used your information to root my Xiaomi Mi A2 Lite with Magisk. This happened in January 2019.
    Then in February 2019 I successfully followed these steps of another guide (from XDA forum) to apply OTA update v.10.0.4.0 to my phone:
    “12. When you know that a new OTA update is available and you want to install it, open Magisk Manager, and tap on “Uninstall” > “Restore Images” but very important: absolutely don’t reboot the phone now!
    Important note: Magisk Manager will restore the boot.img that was found on the phone while installing Magisk. If the boot.img was already non-vanilla (for example you flashed the boot.img with TWRP before installing Magisk), Magisk Manager will backup that modified version of boot.img, and when restored the OTA will not work, as that’s not a vanilla boot.img.
    13. Close Magisk Manager and go to “Settings” > “System” > “System update” and install the OTA update.
    After the update is downloaded, a two-stages update will begin.
    14. When both stages of the update process completed, it will ask to restart: DON’T DO IT!. Open Magisk Manager again and tap on “Install” > “Install” > “Install to Inactive Slot (After OTA)” and after that you can tap on “Reboot”.
    After the reboot you will have the updated Android version with Magisk already working.”
    I was able to update to v.10.0.4.0, but now the guide from XDA forum is no longer working for me in my attempt to apply v.10.0.7.0.
    I stumbled on step 13, where I go to “Settings” > “System” > “System update” and try to install the OTA update. It downloads successfully but after some little time the “System update” interface reports that it will automatically resume when the device will go into idle mode (also the “Resume” button at the bottom of the screen is available). When I tap on it, it fails to install update.
    So, according to the warnings in the guide, I think now I can’t reboot without issues. (And I need to reboot to change SIM card in my phone.)
    Please kindly tell me what to do after I uninstalled Magisk by tapping “Uninstall” in Magisk Manager? Do I
    What steps to take to safely update via OTA in the future?
    Thank you and God bless you!

    Reply
    • Dhananjay

      Apr 11, 2019

      Hi Pavel. The instructions that you listed above are correct for when you need to take the OTA.

      BUT, they will only work if you yourself patch the stock boot image using Magisk. Magisk Manager only backs up your stock boot image when you patch it by yourself. On the other hand, if you take the patched boot image from somewhere else (Like here), then restoring the stock boot images via Magisk Manager to take the OTA update wouldn’t work.

      So, to deal with this, you can simply uninstall Magisk from the app. Also, make sure that you disable and remove any and all of the installed Magisk modules. And, also undo any modifications that you might have done to the system manually.

      Once done, reboot your phone into Fastboot and restore the stock boot image (Provided above) for the software version/build number installed on your phone.

      When you do this, you ensure that the system is completely untouched and also has the stock untouched boot image running. Then you can take the OTA.

    • Dhananjay

      Apr 11, 2019

      In short, here’s what you have to do:
      1) Disable and then remove all Magisk Modules
      2) Undo any system modifications that you might have done (Like editing the build.prop file)
      3) Uninstall Magisk completely using Magisk Manager
      4) Restore the stock boot image via Fastboot
      5) Reboot the phone and install the OTA

      Once the OTA has been installed, you can follow the rooting procedure again. I know it sounds lengthy but when you get hold of the process, it is a matter of just a few minutes.

      Let me know if you have any further questions. And yes, the instructions you posted for OTA update, if you want to do that from now on, you can patch the stock boot by yourself. When you do that, Magisk Manager will be able to backup the stock boot image and you can then follow the instructions to take the OTA update.

      To know how to patch the stock boot image using Magisk Manager, please refer to this tutorial of ours.

  104. Ivan

    Apr 7, 2019

    Hi
    Im trying to root V10.0.7.0.PDLMIXM Android on my A2 Lite with Magisk.
    After fastboot boot patched_boot.img
    Im getting bootloop, phone cannot boot (google lines endless loading).
    After restart, goes well but no root.
    Please help ! Thanks

    Reply
    • Dhananjay

      Apr 23, 2019

      Hi Ivan. Are you sure that you download the Patched Boot Image for Mi A2 Lite and NOT the regular Mi A2?

  105. eXplodez

    Apr 6, 2019

    Thank you very much for your work. However, I tried it and everything seems fine but after reboot the root disapears. I have tried several times without luck.

    I am on V10.0.7.0.PDLMIXM, any ideas?

    Thanks!

    Reply
    • Dhananjay

      Apr 23, 2019

      Hi. Root will disappear since we are only temporarily booting the patched boot image. Once you have successfully booted the patched boot image, open Magisk Manager from the app drawer and tap on the ‘Install’ button.

  106. Guilherme

    Apr 3, 2019

    Hello,

    Please, I would really appreciate your help.

    I own XIAOMI Mi A2 (jasmine_sprout) A2 128GB / 6GB, but it has been updated to version V10.0.7.0.PDLMIXM.

    How do I proceed to perform the root ???

    I would like to root to try to recover some videos with apps, since I deleted them and disappeared from the bin.
    If you have any suggestion of app to recover videos thank you.

    Reply
    • Dhananjay

      Apr 3, 2019

      Hi. Patched boot for V10.0.7.0 (March update) is now available. Please download that and follow the instructions to root your phone.

    • Guilherme

      Apr 4, 2019

      tksss

    • Guilherme

      Apr 4, 2019

      c:\adb>.\fastboot boot boot.img
      Sending ‘boot.img’ (29901 KB) FAILED (Write to device failed (Too many links))
      fastboot: error: Command failed

      can you help me???

    • Dhananjay

      Apr 4, 2019

      Hi. Please try a different port on the PC/Laptop, preferably a USB 2.0 port.

    • Guilherme

      Apr 29, 2019

      I installed stock rom 10.0.7, but , now my MI A2 can’t install automatically patch from april 2019.
      PS: Boot of MI a2 is to slowly!!!!
      Could you help me?

    • Dhananjay

      Apr 30, 2019

      Hi. Did you flash the stock ROM to both the a and b partitions of the device?

  107. Quintin

    Apr 2, 2019

    I cannot find out how to get the March update patched on Mi a2. I have busting my back for hours trying to get this figured out getting really irritated. I installed magisk on top of it, however it just creates a patched image for me? Like, it won’t install it either. I am just getting frustrated and would like some help, I CANNOT find it anywhere on the forums or that everyone is having problems like me, possibly because it’s a such a new update? Please for the love of god someone help me with the device.

    Reply
    • Dhananjay

      Apr 3, 2019

      Hi. Patched boot for March update for both Mi A2 and A2 Lite is now available for download. Just download that and follow the method.

  108. Claudio

    Mar 30, 2019

    Hello,

    Is there a patched version for V10.0.7.0.PDLMIXM already ?

    Would the same procedure apply in this case ?

    Thanks

    Reply
    • Dhananjay

      Mar 30, 2019

      Hi Claudio. Is it the Mi A2 Lite that you’re talking about?

    • Dhananjay

      Mar 31, 2019

      If that’s so, then I have added the Patched Boot Image for V10.0.7.0 for the Mi A2 Lite. And yes, the process will stay the same, only the file and the filename in the command will change accordingly.

    • Claudio

      Mar 31, 2019

      Dhananjay, you’re the man 🙂

      Thanks a lot, I’ll try it right away

      and yes, that’s the mi a2 lite we’re speaking about

    • Dhananjay

      Mar 31, 2019

      You’re welcome, Claudio! Let me know how it goes.

    • Claudio

      Mar 31, 2019

      Worked like a charm 🙂

      A silly question, Dhananjay: I understood that, having employed this method, there won’t be problems with OTA updates. But in which circumstances would be necessary to reflash the stock rom and root the device again ?

      Thanks for your patience !
      Claudio

    • Bruno Porricelli

      Apr 1, 2019

      done root on mi a2 lite v10.0.7.0, all perfect great guide, thanks

    • Bruno

      Apr 1, 2019

      a question, with this method we can make the next updates ota?
      grazie

  109. Ezequiel

    Mar 29, 2019

    Hi, i have an issue…my mi a2 lite automatically updated to the last security patch and it ask me to reset but i have all the root with magisk…what will happen? how can i restart without do the update?

    Reply
  110. H5N1

    Mar 23, 2019

    Hi
    cmd say

    C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem unlock
    …
    FAILED (remote: oem unlock is not allowed)
    finished. total time: 0.031s

    Mi A2 Lite – V10.0.4.0.PDLMIXM

    :/

    Reply
    • Dhananjay

      Mar 23, 2019

      Hi. Please make sure that you enable ‘Developer options’ and further ‘OEM Unlocking’ toggle. If you are not sure how to do it, you can refer to the steps here.

  111. Abdallah sayed

    Mar 15, 2019

    Hi there. When i press down volume woth power the fastboot is on, but it is turning off after 30 to 40 seconds. Any solution for this?

    Reply
    • Dhananjay

      Mar 17, 2019

      Hi. If you boot into Fastboot Mode and keep it disconnected from the PC (i.e Idle), it will automatically reboot.

      Once the phone is in Fastboot Mode, connect it to the PC, and run the commands as listed above. As soon as you run the command, the phone will automatically boot into the OS.

  112. luckysquid

    Mar 5, 2019

    HI, I have downloaded V10.0.4.0.PDLMIXM patched, but when I start it from fastboot the a2 lite reboot and i don’ t see magisk in the app menu.

    .\fastboot.exe boot patched_boot_10.0.4.0_mi_a2_lite.img
    Downloading ‘boot.img’ OKAY [ 0.605s]
    booting OKAY [ 0.606s]
    Finished. Total time: 1.299s

    Are you sure that patched IMG work?

    Reply
    • Dhananjay

      Mar 6, 2019

      Hi. Once you execute that command, and the phone boots into the OS with the Patched Boot Image, download Magisk Manager APK (Click to download) and install it. Then run Magisk Manager, and let me know if it detects root.

    • James Wiston

      Mar 13, 2019

      Hello bro whit this method i lose my data?

    • Dhananjay

      Mar 14, 2019

      If your phone’s bootloader is already unlocked, then nothing will be wiped all.

    • James Wiston

      Mar 28, 2019

      How i can know if my bootloader its unlocked?

    • Karthickvel

      Mar 16, 2019

      Thanks bro,
      I just rooted my mi a2

      How to install custom OS?
      Please guide me bro🙏

    • Dhananjay

      Mar 16, 2019

      Hello. Here’s what I’d like to tell you first. In order to install custom OS/ROM, you don’t need root. You will need an unlocked bootloader, which you have already done, and TWRP recovery.

      The instructions for that could be found here: https://www.thecustomdroid.com/install-twrp-recovery-root-xiaomi-mi-a2-a2-lite/

    • And alrahman

      Mar 9, 2019

      Hi I unlocked my bootloader and do everything but it show me when entering the command .\fastboot.exe boot patched_boot_10.0.4.0_mi_a2.img that there’s too many links I changed my cable and still the same help me please

    • Dhananjay

      Mar 9, 2019

      Hi. Kindly reboot your PC and try changing the USB port, preferably a USB 2.0 port.

    • James Wiston

      Mar 13, 2019

      Hello if i do this method i lose my data? My phone lose all my data or still normal?

  113. Amin

    Mar 3, 2019

    Thanks! It worked 😀

    Reply
  114. Aaron

    Mar 3, 2019

    Sorry but the link is dead(xiaomi mi a2 custom patch) could you provide another link pleas?

    Reply
    • Dhananjay

      Mar 4, 2019

      Hi Aaron. I can confirm that the links are all good and working on my end. Tested using my PC and phone too.

    • Michael

      Mar 4, 2019

      I still have a question.
      When I try to sideload the TWRP installer it always tells me “you need adb sideload 1.0.32 or brewer to sideload this device.

    • Dhananjay

      Apr 23, 2019

      Hi. Please download the latest Android platform-tools package from here and use them. It seems like the ones installed on your PC are outdated.

    • Michael

      Mar 5, 2019

      Thank you it worked perfectly on my mi a2 lite

    • Harshgogi

      Mar 13, 2019

      Can we unroot and relock bootloader with stock boot.img?

    • Dhananjay

      Apr 23, 2019

      Yes, you can.

  115. daro

    Feb 25, 2019

    I recently installed magisk via recovery ( TWRP 3.2.3.0 ) on A2 Lite, Android Pie newest V10.0.4.0, everything works fine

    Reply
    • Dhananjay

      Feb 26, 2019

      Thanks for the confirmation daro!

    • uzzal

      Mar 2, 2019

      how to install TWRP on android a2 lite

    • Dhananjay

      Mar 3, 2019

      Hi. To do that, you can follow our tutorial here. If you’re on Pie, note that you will need to format the /data partition (Which includes the internal storage) to be able to decrypt storage in TWRP.

  116. MARCIO DE OLIVEIRA SOUZA

    Feb 22, 2019

    Good morning, you already have the patched_boot V10.0.4.0.PDLMIXM?

    Reply
    • Dhananjay

      Feb 22, 2019

      Hi Marcio. Yes, the OTA dump was posted on the XDA forums. I took the OTA and extracted the boot.img from the Payload.bin and then patched it using Magisk 18.1.

    • Amit Saini

      Feb 24, 2019

      Could you please give links to the patched_boot V10.0.4.0.PDLMIXM
      Need it to root my Mi A2 as I am on February update.

      Thank you

  117. Edward

    Feb 22, 2019

    Precisão de chega do patch de fevereiro (10.0.40)???

    Reply
    • Dhananjay

      Mar 4, 2019

      Hi Edward. The patched and stock boot images for February 2019 update are now available. See the ‘Downloads’ section above.

  118. jackis

    Feb 16, 2019

    thanks for the guide, it worked perfectly. mi a2 lite

    Now that we’ve run the root, do I have to keep OTA updates turned off?

    Reply
    • Dhananjay

      Feb 20, 2019

      Hi Jackis. Once you have rebooted the phone and root is gone, you can safely enable Automatic Updates in the Settings.

    • swsh007

      Feb 25, 2019

      My phone is rooted at V10.0.3.0.PDLMIXM,now OTA Process
      Whether first to install the patched_boot.img V10.0.4.0.PDLMIXM and then upgrade?
      tks.

    • Edward

      Feb 22, 2019

      Você atualizou pro patch de fevereiro?

    • Dhananjay

      Feb 23, 2019

      Hi Edward. Yes, I just did it yesterday.

  119. @viturc

    Feb 12, 2019

    Thank you so much to share your knowledge! It worked just fine for me on my Mi A2 Lite.

    Reply
    • Dhananjay

      Feb 14, 2019

      Glad to know that! Thanks for the confirmation Viturc!

    • John

      Feb 25, 2019

      Sir, we need patched boot image V10.0.4.0, after February update this boot img is not working, please help us

  120. emon

    Feb 11, 2019

    after root my phone isn’t open, system loss, then i try Mi flash tool and giving phone flash, after success flash my phone just open and off, i think boot loop, how can i resolve this issue?? please give me some suggation

    Reply
  121. Jasmin

    Feb 10, 2019

    Hi, i want to change my device id, mac address, wifi address, device name, model number etc, is there any way to do that without root? I don’t know how to root my Xiaomi A2 Lite Pie device, please help!

    Reply
  122. Corrado

    Feb 7, 2019

    Any news with the new magisk?

    Reply
  123. Nando_c3po

    Feb 4, 2019

    Hello!! When I enter “fastboot boot patchet_boot.img” it starts in Android, but when I go to the application box, Magisk does not appear. That I have to do? Thanks in advance.

    I’m noob in rooting Xiaomi … I’m sorry.

    Reply
    • Dhananjay

      Feb 5, 2019

      Hi. No problem, we are here to help you out.

      When your phone boots after issuing that command, download the Magisk Manager APK and install it. Once installed, run it and follow the steps listed above.

    • sam

      Feb 5, 2019

      i also have the same issue with the magisk not appearing in the app drawer. i went to magiskmanager.com to download a latest copy but when i launched it, it gives me an error “”Unsupported Magisk Version”
      This version of Magisk Manager does not support Magisk version lower than v18.0.

      i have downloaded MagiskManager v7.0.0.apk.
      My question would be does the patched_boot.img contains a Magisk and what version is it on?
      How do i get the latest Magisk-v18.0.zip installed using the patched_boot.img?

      Many thanks in advance

    • Dhananjay

      Feb 6, 2019

      Hi Sam. Topjohnwu (Magisk’s creator) recently released Magisk v18.1, which depreciates the support for all builds below 18.0. The patched boot image provided here were patched using Magisk 18.0.

      What you can do is, download Magisk Manager 7.0, then patch the stock boot image of your installed firmware version using that. Once patched, grab the patched_boot.img from the ‘Download’ folder on the internal storage. Then use that to perform this process, it should work flawlessly.

  124. Emriq

    Feb 2, 2019

    Hi, if i root my device (a2 lite) whit this method. how to get ota update?

    Reply
  125. OP

    Jan 28, 2019

    Hey, I’ve been trying to root my device, but I can’t pass the 6 step, I put “.\fastboot boot patched_boot.zip”
    but it just says:
    creating boot image…
    creating boot image – 14024704 bytes
    downloading ‘booot.img’
    FAILED (Command write failed (No error))
    finished. total time: 0.007s”
    It is getting really annoying, ive been trying for a couple of hours, hope you can help me
    Thanks

    Reply
    • Dhananjay

      Jan 28, 2019

      Hi. Please extract the ‘patched_boot.zip’ file to get the .img file. And then you have to use the command to temporarily boot the .img file using fastboot.

    • OP

      Feb 2, 2019

      I did it, but the result was the same. It was trying to download ‘boot.img’ for an unlimited period of time. Even tho I did named the patched boot ‘patched_boot.img’

    • Dhananjay

      Feb 3, 2019

      Hi again. Can you please share a screenshot of the command line (CMD or Powershell) when you execute the command?

    • OP

      Feb 4, 2019

      https://imgur.com/a/G5CP8Gr

  126. Javi Ramon

    Jan 28, 2019

    Hello this is my first time rooting a xioami,whit this method i lose my files and data?

    Reply
    • Dhananjay

      Jan 28, 2019

      Hi, this method needs an unlocked bootloader. When you unlock the bootloader, all the data on the phone including the internal storage will be erased.

      If you already have the bootloader unlocked, then this method will not erase anything.

      And the most important thing, if you’re on January update, please avoid rooting for now. Several users have reported bootloop issues.

  127. lee

    Jan 26, 2019

    thanks

    Reply
  128. igor

    Jan 24, 2019

    Hello, I tried to install magisk with your tutorial but it didn’t work check it out:

    This is my version:V10.0.3.0.PDLMIXM, Android Cersion 9, Update January 5.

    I’ve got bootload unlocked.

    I’ve downloaded your patched boot image but when the the phone started there was no magisk in the app drawer. Do you know if this method is still working?

    Reply
  129. Gene

    Jan 24, 2019

    Hey bro, Dhananjay.

    This is a working patch_boot image for MI A2 Jan 2019 Update (10.0.3.0.PDLMIXM). Just tested on my phone. Tested by booting it and flashed accordingly on boot_a and boot_b. Do update at the download section. Thanks dude, appreciate ur work.

    Sources are below.

    https://mega.nz/#!R5NAgQKJ!yfm886jSAA_x1raUzxRlq-t53AFjaFvU7Q_AH-fXRlY

    https://forum.xda-developers.com/mi-a2/how-to/patched-boot-ota-10-0-3-0-t3892975

    Reply
  130. Corrado

    Jan 23, 2019

    Any safe way to update the phone from 10.0.2.0 to 10.0.3.0 having the phone already rooted and with magisk installed? Thanks

    Reply
    • Dhananjay

      Jan 23, 2019

      Hi Corrado. It’s best to restore the stock boot image of V10.0.2.0 first. Also, before that, ensure that no Magisk module is enabled or any sort of modification to the /system or /vendor partition. Once you confirm that, just update via the OTA.

    • igor

      Jan 24, 2019

      Helloo, i’ve tried your tutorial and it works until step 8.

      The OS boots but there is no magisk installed in the smartphone.
      It should hav been installed when fastbooting the patched file?

      The smartphone started normally but no magisk installed.

  131. Dhananjay

    Jan 23, 2019

    Hello everybody! Please read the note in Red box. It is important!

    Android Pie January update probably brings some changes to the boot (kernel). I am not sure, but it seems like it.

    So, if you were previously rooted using Magisk, please ensure that you first flash the stock boot image of V10.0.3.0 and only then proceed with this procedure using the patched boot image.

    The commands you to need to use to flash the stock boot image (While your phone is connected to the PC in Fastboot Mode) are as follows:

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

    I will try my best to keep you guys posted!

    Reply
  132. Pankaj

    Jan 22, 2019

    I have received January update for my MI A2 today. My doubt is can I still use this method to root my MI A2? Or should I use diffent patched boot IMG?

    Reply
    • Dhananjay

      Jan 23, 2019

      Hi Pankaj. You’d need to use a patched boot (Link here). Let me know if it succeeds.

    • Yarzar

      Jan 26, 2019

      Hi brother Mi A2 v 10.0. 3 need Patched boot ?
      Thank

    • Nico38

      May 16, 2019

      Hello,

      Very great job ! But I can’t find V10.0.9.0 Patched Boot and Stock in download section … Do you have a link ?

    • Dhananjay

      Jun 11, 2019

      Hi. It’s now up!

    • Pankaj

      Jan 28, 2019

      Sorry, I haven’t tried as you said there are bootloop issues with January patch update..

    • Dhananjay

      Jan 29, 2019

      Yes. I know. We also published a post on that recently. Try and restore the stock boot image and see if it boots into the OS then. We’d probably have to hold off until the next update (fix) is rolled out.

  133. Wolfgang

    Jan 21, 2019

    hi,
    my a2 lite has pie with an unlocked bootloader, i tried the temporary boot-image
    ***************
    fastboot boot ./twrp-installer-daisy-3.2.3-0.zip
    creating boot image…
    creating boot image – 15790080 bytes
    downloading ‘boot.img’…
    OKAY [ 0.507s]
    booting…
    FAILED (remote: dtb not found)
    finished. total time: 0.625s
    ******
    there was no reboot ..
    what about the error? how can avoid it

    Reply
    • Dhananjay

      Jan 21, 2019

      Hi. The file you’re trying to boot in your comment is not the patched boot image, but the TWRP installer zip file. Please use the correct file as linked above.

  134. Daro

    Jan 19, 2019

    Hi @Dhananjay,
    there is a new update v10.0.3.0.PDLMIXM, if I update it I will lose root?

    Reply
    • Dhananjay

      Jan 19, 2019

      Hi Daro. Yes, the OTA will only be installed without root. Once updated, you can try this patched boot from 10.0.3.0.PDLMIXM and root again.

    • Gene

      Jan 22, 2019

      Hi it does’nt work. Cant root new android update for MI A2 10.0.3.0.
      Thanks for sharing so much. Really appreciate it.

    • Dhananjay

      Jan 23, 2019

      Hi again Gene. Did you try booting the patched boot image? What happened? Let me know where it got stuck and I’d be more than happy to help.

    • Gene

      Jan 23, 2019

      Its stuck at the AndroidOne boot-up logo. Does’nt show that is loading, not going past that. I have tested the solution (New – patch boot) you provided to ‘Daro’ on a MI A2 (10.0.3.0.PDLMIXM) – Jan 2019 update. Patch boot to root 10.0.2.0 works for the Dec 2018 update.

    • Dhananjay

      Jan 23, 2019

      Hi Gene. I have just uploaded Stock and Patched boot images of V10.0.3.0 in the Downloads section.

      First, flash the stock boot image via “fastboot flash boot_a boot.img” and “fastboot flash boot_b boot.img” commands.

      Once done, then download the patched boot image (The new one from the Downloads section) and try booting with that.

  135. Artemiy

    Jan 18, 2019

    HELP PLEASE!!!
    Hello! I want to root my mi a2 but im wondering: what will be if do something incorrect and what if my phone will start bootlooping? Is there a way to make everything like i had it before doing all this stuff and bring my phone to life? (Even if all the files will be removed, i would just want to return my phone to life) And after installing magisk, if an update comes out, can I simply do a factory reset (yeah i know it will remove all the files) and will be Magisk and root access be deleted after factory reset? Would i be able to update so?
    Im a noob in all of these stuff, so could you please help me!

    Reply
    • Dhananjay

      Jan 18, 2019

      Hi. I understand it is always better to be safe than sorry.

      I’d explain what happens when you root your phone using the provided files:

      1) When you install Magisk, it modifies your /boot partition (That stores the kernel, recovery, and other stuff)
      2) The benefit of rooting via this method is that you can always remove root by restoring the stock boot image, which comes packed in the stock firmware for your phone. Once restored, you will also be able to take OTA updates.

      If all else fails for some reason (Shouldn’t normally happen), then you can always flash the complete stock firmware.

      One thing that I’d like to correct is ‘factory reset’ is not the same as flashing the stock firmware. A factory reset simply formats the /data partition (Storage) and cache.

      Don’t worry, it shall be alright. Just make sure to use the correct files and read the instructions thoroughly before you begin and it will all be good!

  136. Marciel

    Jan 17, 2019

    It works.

    Thanks.

    Reply
    • Dhananjay

      Jan 17, 2019

      Great! Enjoy your rooted Mi A2 now.

  137. Murilo

    Jan 17, 2019

    Does this procedure format the cell phone?

    Reply
    • Dhananjay

      Jan 17, 2019

      No, it doesn’t. You will just be flashing a patched boot image and then installing Magisk.

  138. Murilo

    Jan 17, 2019

    Does this delete user data?

    Reply
  139. David

    Jan 15, 2019

    Hi – I’ve successfully installed TWRP + Magisk on my Mi A2 Lite, but how do I handle OTAs in this instance?

    The backup of boot.img is a backup of a tampered boot from installing TWRP.

    Reply
    • Dhananjay

      Jan 15, 2019

      Hi David, I will make sure to update this post with the latest stock boot images as well, so that it would be easier for you to restore them for taking OTAs.

  140. Dave

    Jan 9, 2019

    When I launch Magisk Manager and Click install, then install again, I am not prompted with “Direct Install” but instead Zip Only or Patched Boot Image File.

    I am trying all this in order to enable the camera2api but I’m failing at the su command stage where it is saying command not found

    Reply
    • Dhananjay

      Jan 9, 2019

      Hi Dave. The Direct Install option will only be available when you boot your phone with the patched boot image (Step #6).

  141. Corrado

    Jan 6, 2019

    sorry just to be sure: the Prerequisites include magisk to be already installed and updated? Just normally OTA? thanks

    Reply
    • Dhananjay

      Jan 7, 2019

      Hi Corrado. The guide actually helps you install Magisk via the patched boot image, so it doesn’t make any sense that it should be installed before performing the procedure. Otherwise, your phone would already be rooted, right?

    • Corrado

      Jan 7, 2019

      So I downloaded magisk manager and it asks me to install magisk 18.0 as it is not installed. shall I do it only once i boot the patched boot file or first I install magisk 18.0 anyway? Sorry I’m not an expert as you can guess… in your pic at point 9 i see magisk 18.0 to be already installed anyway, so I’m a bit confused. Sorry I don’t want to do smt wrong …

    • Dhananjay

      Jan 7, 2019

      Hi Corrado, I am sorry if the screenshot is misleading. Since I don’t personally own the A2 (I have the Mi A1), I wasn’t able to take a proper screenshot. I will replace it with the right one so that people don’t get confused. Again, apologies.

      Over to your question: You have to install Magisk only when your phone boots with the patched boot image.

      And I understand. One should always understand the process before actually proceeding with it, it’s a good practice.

    • Corrado

      Jan 8, 2019

      Ok I managed, as I didn’t have the zip of magisk 18.0 it asked me to download it and install but it sees it worked as now I’ve finally back my gcam 🙂 Any idea on how safely update via OTA in the future? I did follow these steps of another guide : 12. When you know that a new OTA update is available and you want to install it, open Magisk Manager, and tap on “Uninstall” > “Restore Images” but very important: absolutely don’t reboot the phone now!
      Important note: Magisk Manager will restore the boot.img that was found on the phone while installing Magisk. If the boot.img was already non-vanilla (for example you flashed the boot.img with TWRP before installing Magisk), Magisk Manager will backup that modified version of boot.img, and when restored the OTA will not work, as that’s not a vanilla boot.img.

      13. Close Magisk Manager and go to “Settings” > “System” > “System update” and install the OTA update. After the update is downloaded, a two-stages update will begin.

      14. When both stages of the update process completed, it will ask to restart: DON’T DO IT!. Open Magisk Manager again and tap on “Install” > “Install” > “Install to Inactive Slot (After OTA)” and after that you can tap on “Reboot”. and it did work until the android pie update that set my phone in bootloop. Thanks for the support and for replaying me.

    • Dhananjay

      Jan 8, 2019

      Glad that it worked! Yes, that’s the correct way to update via OTA when rooted with Magisk.

    • Corrado

      Jan 21, 2019

      ok bat last time I did it when pie came out I had a bad bootloop 🙁 now it should be safe? anyone tried? thanks

    • Dhananjay

      Jan 21, 2019

      Hi again. I am just preparing an article on this, will ping you through the comments when it’s available.

  142. Luca

    Jan 4, 2019

    Hi, I’ve received my new Mi A2 Lite and Updated to 9.0 with OTA.
    Now I want to install Root and GCAM with OTA 100% functionality.
    Is it possible ?

    Reply
  143. Ionut Neacsu

    Dec 31, 2018

    Hey guys , I tried unlocking camera 2 api for a mi a2 lite upgradede to pie looking at this video sulit thech reviews on youtube .Unfortunately for me i could not get the job done. i got the error with no such file or directory when i tryed to oot patched image like 100 times. i try rename it patched_boot.img and many other names, moving the file arround and also typing the entire path of the file, using a different computer but with no succes.Every time the same error . I do not know what else to do. I am using a windows 10 computer . Maybe you know some way to fix this. Regards

    Reply
  144. Cebe

    Dec 30, 2018

    Dude I already did 1) fastboot flash boot_a mi_a2_lite_V10.0.1.0_stock_boot.img
    2) fastboot flash boot_b mi_a2_lite_V10.0.1.0_stock_boot.img
    But still my A2 Lite 10.0.1.0 to 10.02.0 OTA couldn’t be installed, so is my system tampered? Should I flash ab system too?

    Reply
    • Dhananjay

      Feb 20, 2019

      Hi Cebe. Yes, it seems like the system partition was tampered. You will need to use Mi Flash tool to flash the stock fastboot image first.

  145. daro

    Dec 30, 2018

    I know that after the factory reset the root disappears I checked. If the next Pie system updates come out and the version changes, then root also will not be anymore? I will have to wait for a new patched boot and repeat the procedure from the beginning?

    Reply
  146. Anas Setiawan

    Dec 29, 2018

    can you provide me the link of mtdp.img i need the new one for mi a2 lite (dec), because i flash the old one.

    Reply
    • Dhananjay

      Dec 29, 2018

      Hello Anas. Sorry for the delayed response, I noticed the email as well. However, I was busy with some personal chores.

      As for your question, I was only able to extract mtdp.img from V10.0.1.0 OTA. Here is the download link.

      If you can somehow provide me the OTA link for V10.0.2.0, I can then extract it for you. I tried, but couldn’t find OTA link for V10.0.2.0 anywhere.

  147. Idan Cohen

    Dec 28, 2018

    Hi, I need help.

    I have Mi A2 Lite and I tried root on my device.

    When I write in shell “fastboot boot pached_boot.img”, my device startup and after 1-2 minutes, it restart again, but now to recovery, the options in recovery are: 1) Try again, 2) factory reset. I was pressed on Try again, and then my device startup again, after the device startup, I have no root on device(I checked in Magisk Manager).

    Can you help me please.

    Reply
  148. wmbrfoa

    Dec 28, 2018

    Hi,
    Can you tell me how to root my mi 8 lite global????

    Reply
  149. nick

    Dec 28, 2018

    Thanks for the update and time you’ve spent making the guide. Root checker says we’re now rooted. For other peoples’ sake, I used the ./fastboot command on the patched_boot.IMG file, rather than the .ZIP file. It booted and everything appeared as it it did previously – didn’t think it worked as Magisk was not in the app drawer. After manually installing it, it went fine.

    OP: is it my understanding that without TWRP, we won’t be able to flash custom roms? Also, what things can we do with this situation – I.E rooted with no custom recovery. I’ve already trimmed the little bloat that was on there.

    Reply
    • Dhananjay

      Dec 28, 2018

      You’re welcome Nick! Yes, without the recovery, you won’t be able to install ROMs. But you can definitely use it to install Magisk Modules for additional features, like ViPER4Android. Or, edit build prop to enable camera2 API in order to use Google Camera port.

      If you’re really interested in installing TWRP to flash custom ROMs, etc, I updated the Mi A1 rooting tutorial yesterday with the required steps.

    • Robert

      Dec 30, 2018

      Can you please do a simplified tutorial to enable Camera2 API and go back to stock oem rom. Without losing data and existing apps would be great.

    • Corrado

      Dec 28, 2018

      Sorry for just to use gcam is this guide https://forum.xda-developers.com/mi-a2-lite/how-to/guide-install-magisk-proper-support-ota-t3836952 still valid? I’ve android 9.0 on a clena a2lite as the previous upgrade 8.1 -> 9.0 with magisk 18.0 following the link in this post eneded up with a bootloop … and i deleted and restared all from scratch, thanks

    • Roberto

      Dec 30, 2018

      Thanks for guide!
      I also manual install magisk manager because, after flash patched.img file, no magisk manager in the drawer, so I download magisk manager and after I install magisk without problem.

  150. tom

    Dec 27, 2018

    Hello there,

    thank you for the tutorial but I am having a problem.
    I don’t have direct install, so I tried with twrp adb sideload to install magisk 18 but when rebooted magisk manager won’t detect root. How would I solve this issue.

    Many thanks

    Reply
    • Dhananjay

      Dec 27, 2018

      Are you sure that the Magisk installation finished fine via ADB sideload?

    • tom

      Dec 28, 2018

      Thanks for the replay,

      Solved the problem by doing:
      – Run magisk manager
      – Click install > install > patch boot image file > click on stock boot image
      – transfer file to pc
      – put phone into fastboot mode
      – from pc > fastboot flash boot patched_boot.img
      – fastboot reboot
      – Root =)

  151. Ezequiel

    Dec 27, 2018

    Hello, thank you for the tutorial, i have a question…do i need to backup? this will erase the partition and the data? thank you

    Reply
    • Dhananjay

      Dec 27, 2018

      Hi Ezequiel, the process won’t erase any data. However, we still recommend taking a backup on a safer side.

  152. daro

    Dec 26, 2018

    does not work, root is correct and after reboot there is no root. A2 lite V10.0.2.0.PDLMIFJ

    Reply
    • Dhananjay

      Dec 26, 2018

      Hi Daro, did you flash the correct boot image? It was only today that I updated the link to V10.0.2.0 patched boot image.

  153. Cebe

    Dec 26, 2018

    My a2 lite is on V10.0.1.0.PDLMIFJ with Patched Boot Image from this site, but how to restore the boot image, and download also install the ota update?

    Reply
    • Dhananjay

      Dec 26, 2018

      Hi Cebe. You can either extract the stock boot image from the available OTA package. Or, you can follow the ‘How to Apply OTA Updates’ section in this XDA thread.

    • Cebe

      Dec 26, 2018

      Hey man, I already did the step number 13, but when I download the OTA, it couldn’t install, what should I do? It’s like the Magisk at step 12 not restore the boot.img correctly, I think, help please.

    • Dhananjay

      Dec 26, 2018

      Hi Cebe. Are you sure you didn’t have any Magisk Modules or any other modifications done to the system? Like enabling camera2 API by editing the build.prop or anything of that sort?

    • Cebe

      Dec 26, 2018

      Oh, I have 4 module currently:
      1.hal3enabler — camera 2 api enabler
      2. Sony-music4magisk — music app
      3. Systemless hosts — it is magisk functions for AdAway, and yes Ihave installed AdAway
      4. YouTube vanced
      As long as I remember, I never directly modify the system partition, AdAway isntalled when I already check Magisk systemless host, and in the adaway setting already checked systemless mode too.
      Must I disabled and uninstall all the module before applying ota?

    • Dhananjay

      Dec 27, 2018

      Okay. Now, just download the stock boot image for your version and flash it on your phone using the following commands:

      1) fastboot flash boot_a mi_a2_lite_V10.0.1.0_stock_boot.img
      2) fastboot flash boot_b mi_a2_lite_V10.0.1.0_stock_boot.img

      Once flashed to both the partitions, boot up your phone and try installing the update. Let me know how that goes.

    • Cebe

      Dec 28, 2018

      Flash for a and b slot?

    • Dhananjay

      Dec 28, 2018

      Yes. It is important to flash it to both the slots.

    • Cebe

      Dec 28, 2018

      The flashing method is same like flashing boot img for rooting right? But with your new code?

  154. daro

    Dec 26, 2018

    Hi, thanks for the great description, I managed without a problem on android 8.1, however, the 9 is the problem because the update came out V.10.0.2.0 and this your patched V10.0.1.0, of course, does not work. The super method will only soon be patched boot for V10.0.2.0?

    Reply
    • Dhananjay

      Dec 26, 2018

      Hi Daro, the patched boot image for Mi A2 Lite (V10.0.2.0) is now available. Please re-check the ‘Downloads’ section.

    • daro

      Dec 27, 2018

      Hi Dhananjay, now this file works fine -after restart root present – everything works, big thanks! 🙂
      P.S. will the factory reset remove root?

  155. Braulio Bhavamitra

    Dec 26, 2018

    my mi a2 lite is already on V10.0.2.0.PDLMIFJ, V10.0.1.0.PDLMIFJ patched boot image is bootlooping!

    Reply
    • Dhananjay

      Dec 26, 2018

      Hi! Of course, it will bootloop. Never cross-flash partition images of an older or newer version. The patched boot image is now available for V10.0.2.0 as well. I have added the link above. Please use that.

  156. Cebe

    Dec 21, 2018

    How to get OTA update normally after rooted?

    Reply
    • Dhananjay

      Dec 21, 2018

      Hi. I am working on a tutorial for that. Will update the post with the link when its up.

  157. isrmicha

    Dec 19, 2018

    Hey man, after fastboot boot patched_boot.zip my phone dont pass the boot logo.
    how can i fix it ?

    Reply
    • Dhananjay

      Dec 20, 2018

      Hi. A simple forced-reboot will solve your problem.

      Oh, and BTW, I forgot to mention that you have to extract the “patched_boot.zip” and use the command with the extracted file instead. Please try that, and let me know how it goes.

    • Elias

      Dec 20, 2018

      i cant use the command on the extracted img, only the zipped one. I also get stuck in boot screen, then have to force reboot, then magisk wont work… :/ pls help

    • Elias

      Dec 20, 2018

      I solved it, you need to write “.img” in the end instead of “.zip”, i just skipped the end after i extracted it.

      Now, how would i use a custom rom from now on?

    • Dhananjay

      Dec 21, 2018

      Glad it worked! You will have to wait until TWRP starts supporting Pie. I am keeping a track of it and will update this post with any updates.

    • Elias

      Jan 4, 2019

      So this guide came up yesterday on XDA:
      https://forum.xda-developers.com/mi-a2/how-to/how-to-flash-custom-rom-stock-pie-base-t3881905

      Do I dare checking this out? :O

  158. Tushar Gautam

    Dec 19, 2018

    How to unroot ? Oem lock again? After we installed the magisk through your instructions … Because when I normally tap uninstall magisk in maGisk manager , it uninstalls and then reboots to the boot loader. Help asap!
    Thanks in advance
    And if it needed the stock boot image then please provide one .
    Needed urgent help.

    Reply
    • Dhananjay

      Dec 20, 2018

      Hi Tushar. It could be done by simply flashing the stock boot image. What’s your device Mi A2 or the Lite?

  159. Jonas

    Dec 18, 2018

    Help, I’m stuck on the “Android One” boot screen, nothing helps! My bootloader is unlocked, It shows it on the screen. I don’t have any TWRP installed, always just booted to those things. I was rooted on Android Oreo. I downloaded the same package, typed the command with the correct name and it just got stuck. Typing “fastboot reboot” helped getting it out, but I had no luck rooting it on Pie.

    Reply
    • Dhananjay

      Dec 21, 2018

      Hi Jonas. Is it the Mi A2 or the A2 Lite? In this situation, it will be best to restore the stock boot image and retry the process again.

  160. Barton

    Dec 17, 2018

    Used this method – All went fine until wanted to run magisk menager. It prompted that no root or no su apk ( but SuperSU apk is present and detected). What now ? 😀

    Reply
    • Dhananjay

      Dec 17, 2018

      Hi Barton. When you open Magisk Manager, just tap on ‘Install’ and follow further.

      Also, make sure to do this right after your phone boots into the OS when you enter the ‘fastboot boot patched_boot.img’ command.

  161. nick

    Dec 16, 2018

    Thanks for your efforts. I was trying to root my A2 the “old” way (pre-android 9) despite having upgraded already. Suffice it to say many dead ends/errors ensued…tried to flash TWRP recovery. Then I stumbled upon this article.

    Background:
    Have the latest Xiaomi drivers, and all of the preconditions were met. Bootloader unlocked (via fastboot and dev settings). Have also tried multiple USB outlets and made sure they weren’t USB 3. Since accidently trying to fastboot flash recovery twrp I have been unable to boot into recovery without getting the “No Command” dead android screen. Even after reflashing stock.

    I used the Xiaomi flash utility to supposedly get back to stock ROM (jasmine_global_images_V9.6.16.0.ODIMIFE_8.1). It seemed successful and my system reverted back to an Android 8 build – I updated to V10.0.2.0.PDIMIFJ. I then downloaded the patched_boot zip file to my platform-tools directory. Launched a CMD from that directory and tried the .\fastboot boot patched_boot.zip command. 1st time it would stay stuck on the white “androidone” initial load screen. I then tried extracting the zip file and then doing the same process except fastboot boot patched_boot.img. That seemed to work and it booted up but I was unable to find any Magisk app. Tried doing the .\fastboot zip way again and got “failed to load/authenticate boot image”. Any advice?

    Reply
    • Dhananjay

      Dec 16, 2018

      Hi Nick. First off, thank you for taking the time to elaborate on the whole situation. I got it all in one go.

      Okay. So first thing – The ‘No Command’ screen you see is actually the pre-screen for the stock recovery. While there, simple press ‘n’ hold the Volume Up button and press the Power button.

      Next, the mistake is not yours, it is mine. I missed mentioning that you must extract the “patched_boot.zip”. I will update the article.

      Just execute this command again: fastboot boot patched_boot.img

      When the phone boots, download Magisk Manager APK on the phone itself. Then install it and run it. You shall then be able to follow on from step #9.

    • Javier Goni

      May 3, 2020

      hi, magisk manager does not install the camera2api modules, it extracts the files, but for some reason when giving reset the modules do not appear (this in android 10) I went back to android 9 and the error persists, could you help me?

    • Dhananjay

      May 4, 2020

      Hi Javier. When you say “giving reset”, do you mean rebooting/restarting the phone?

Leave a Reply Cancel reply

Comment Policy: We welcome relevant and respectable comments. Only input your real first name and valid email address if you want your comment to appear. Read our comment policy fully before posting a comment.

Recent Posts

How to open ADB/Fastboot command window inside Platform-Tools on Windows, macOS, and Linux

Open ADB/Fastboot Command Window in Platform-Tools

Download Magisk v22 w/ New Magisk App, Galaxy S21 support, and more

[Download] Magisk v22.1 – New Magisk App, Galaxy S21 Support, Bug Fixes, and more

How to Install TWRP on Snapdragon Galaxy S20 and root using Magisk

Install TWRP on Snapdragon Galaxy S20/S20+/S20 Ultra and Root using Magisk

©2017 - 2021 TheCustomDroid.com Privacy Terms Disclaimer Request Tutorial