How To Guide [Guide] Xiaomi Mi Pad 5 MIUI12/13 ROOT Step-by-step - Pass SafetyNet, Widevine L1

Search This thread

gustavo333

Member
Mar 29, 2023
8
1
guys i just screwd my tab. I am new on this and Tried to lock the bootloader and got system destroyed mensage. After i tried to install stock rom with fastboot, suceed, but it stays on boot loop. What can i do? ;(
 

Badtuxpowa

New member
Sep 29, 2019
3
0
Xiaomi Mi Pad 5
hi ,
I wanted to follow the tutorial but I did something stupid :/, I didn't unlock the pad before. I followed and flashed the boot.img and restarted....
it reboots endlessly...
how can i solve my problem? THANKS.
sorry i translate the message my english is bad.
 

shaswata.sn

Member
Apr 6, 2023
8
0
Currently on miui 14 Indian version, process is same? I just need to download the boot.img of my current rom?
 

Uluru25

Senior Member
Nov 27, 2016
444
198
Samsung Galaxy S7
Samsung Galaxy A6
Thanks it worked!

Can you guide me on how to get safetypass for netflix? I'm on awaken 3.6 with magisk delta.
Sorry, I can't because I don't own this tablet. But have you checked if you really have problems to run Netflix w/o additional measures? I am asking since my phone is rooted, running a custom rom, lacking any safetynet fixes or magisk hide etc. and nevertheless Netflix is running.
 

Hidden_Iye

Senior Member
May 16, 2022
52
4
Xiaomi Mi Pad 5
Google Pixel 7
Sorry, I can't because I don't own this tablet. But have you checked if you really have problems to run Netflix w/o additional measures? I am asking since my phone is rooted, running a custom rom, lacking any safetynet fixes or magisk hide etc. and nevertheless Netflix is running.
Yeah I just had to download it separately, cause playstore was not allowing it.

Thanks!
 

walimipad

Member
Mar 29, 2023
9
0
I have mi pad5 GLOBAL version 13.1.4, I just want to root my current MUI default ROM through MAGISK and other tools, seniors please guide how should I root, also if anything goes wrong during rooting installing, Is there a way to restore to default setting
If there is any video tutorial it will be really helpful for me to follow steps

Newbie here and have never ever rooted device in my entire life
Screenshot_2023-04-29-01-25-35-285_com.android.settings.jpg
 

Uluru25

Senior Member
Nov 27, 2016
444
198
Samsung Galaxy S7
Samsung Galaxy A6
Hi Walimipad and welcome here!
Doing the first rooting in lifetime was for most of us a special thrill. I didn't yet root this tablet but several other devices. My advice is to read as much as you can find here and elsewhere for your device and then to start (if you know and accept the risks of doing so). For sure you can do some mistakes on your way (as I did also in the past) but usually this forum and its member will give you a fantastic support to get your device working again.
Regarding your request how to root, why don't you trust and try the very detailed guidance given in the OP's very first post? You only need to junp to the very beginning or just click here.
Good luck!
:cowboy:
 
  • Love
Reactions: walimipad

arik100

Senior Member
Apr 6, 2012
238
15
this works well for MIUI.
but what you do after installing arrowos? how do you root it?
do you flash the boot file of the latest MIUI? any other option?
 

walimipad

Member
Mar 29, 2023
9
0
Hi Seniors, I have successfully unlocked bootloader, Now where should I download bootimg file of version "13.1.4" Global? my device is currently on "13.1.4" Global. Also I am attaching screenshot which file should I download for bootimg file? there is "fastboot" and "OTA"...

The bootimge file which has been uploaded in this post is of previous version, so I was worried it will casue problems. someone told me that I should download same bootimg file version on which my Xioami pad5 currently is that is "13.1.4"
mipad.PNG
 

walimipad

Member
Mar 29, 2023
9
0
You are perfectly right. Problem was that I used the boot.img from the first post and not the one from the version I'm currently running. After acquiring the correct version all worker. I'm happy that I have finally the root privileges and I can
What I'm missing now is the good community around this device. As it was announced as one of "few usable tablets" I was expecting big community around and amount of alternative ROMs. Apparently there is yet only few of them.
How can i get boot.imge of version "13.1.4" Global? my current tab version is "13.1.4"
 

Uluru25

Senior Member
Nov 27, 2016
444
198
Samsung Galaxy S7
Samsung Galaxy A6
How can i get boot.imge of version "13.1.4" Global? my current tab version is "13.1.4"
Look here for the rom you need, download the fastboot variant and extract it. Here you should find the boot.img file. But maybe you should first try to extract your boot.img directly from your rom. See here.

edit:
For curiosity, I downloaded the file nabu_global_images_V13.1.4.0.SKXMIXM_20230103.0000.00_12.0_global and extracted it. Here I found the boot.img file in the folder "images". Unfortunately I can't upload here for others convenience.
 
Last edited:

Shira129

Member
Apr 28, 2020
6
0
Xiaomi Mi Pad 5
Hi .. I used this to flash magisk on my pad ( I use arrow os latest version) and now my tablet is stuck on "MI Powered by android" screen... I don't know what to do.. Can someone help me? Thanks!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 23
    Everything you do, you do at your own risk. I'm not responsible for all damages, this can also lead to loss of warranty.

    Hi,
    Probably many of you know how to do a Magisk install without TWRP, but this guide is for people who don't know and don't want to mess things up.
    I will try to show you step by step how to do it.

    Many thanks to:
    kdrag0n
    topjohnwu
    Leave them a nice feedback ;)

    !!! Before we start make sure your device is unlocked, if you don't know how to do it below is link to official Xiaomi guide !!!
    https://c.mi.com/thread-2262302-1-0.html

    Requirement
    • Xiaomi Mi Flash ver. =>3-14-0 - Needed to install all adb drivers Download
    • ADB & Fastboot tools - Could be the one built into Mi Flash tool I'll use this to make it simple
    • Magisk =>24.2 - This software is base of our rooting process Download
    • SafetyNet Fix => 2.2.1 (Zygisk) - Needed to backdoor SafetyNet fail check, at the moment it is only working method for Mi Pad 5 Download Make sure you download the Zygisk version!
    • Boot.img - You can download from official MIUI website full flashable rom and separate boot.img file from there, or use my if your Miui version is China 13.0.5, EEA 13.0.3, Global 13.0.1
    Installation
    To make it easier, Green color mean what you need to do on Tablet, Orange on PC

    1. Unzip Mi Flash tool
    2. Open folder and run XiaoMiFlash.exe, if window "Driver" won't pop-up click on the Driver tab and then "Install" button and close all windows.
    3. Connect your tablet to computer, when your tablet ask how you want use USB, choose File Transfer/Android Auto
    4. Copy to internal storage Magisk-v****.apk, safetynet-fix-v****.zip and boot.img
    5. Open File Manager on your tablet find a folder where you copied all files, and install Magisk
    6. Open Magisk app, and click on Install in section Magisk, then select "Select and Path a File", after that find your boot.img file and click on it
    7. Click "LET'S GO" button on the right side and wait until process will be finished
    8. On your computer in the tablet's storage window, go to the file specified in the application probably /Download/magisk_patched-*****
    9. Copy this file to a subfolder of Mi Flash on your computer, exactly to MiFlash2020-3-14-0\Source\ThirdParty\Google\Android and change the name of this file to boot.img
    10. Open PowerShell/Windows Terminal in this folder (Hold Shift + Right click -> Open PowerShell window here)
    11. Make sure your tablet have enabled USB debugging in Developer options Setting -> Additional settings -> Developer options -> USB debugging
    12. Turn off your tablet, then hold down Power and VOL- until the screen lights up, then release power button, if Fastboot appears, everything went fine
    13. Go back to your Terminal window and type to check if your computer see your tablet
      Code:
      ./fastboot.exe devices
      If you see answer "******** fastboot" it mean there is communication between PC and Tablet
    14. Next type this command to flash patched boot image
      Code:
      ./fastboot.exe flash boot boot.img
    15. Next type this command to reboot your device
      Code:
      ./fastboot.exe reboot
    16. Restart can take a longer time than normal
    17. Open Magisk app and check status of Magisk, if you see for exaple "Installed 24.2 (24200)" everything went fine
    18. Open Settings in right corner of app and in section App click on Hide the Magisk app then type name for hidden app, it will ask to install new app so do it
    19. Open again Magisk app and open Settings in section Magisk enable Zygisk (Beta) and Enforce DenyList
    20. Click on Configure DenyList than click on three dots in right corner and uncheck Show system apps
    21. Search for all the apps in the list below and check them. It is important to click on their name to see all modules, once you have done this click on the box to activate all of them
      Code:
      Google
       Google Assistant (I have two)
       Google Pay
       Google Play services
       Google Play Store
    22. After that reboot your tablet, and open again Magisk app
    23. On the bottom click on Modules
    24. Click on Install from storage button and find file safetynet-fix-v*******.zip, than click on it
    25. After that reboot your device one more time
    26. After reboot open Android Settings go to Apps and Unhide system services than find and clear all data of Google Play services and Google Play Store
    27. Reboot tablet last time
    If you have reached this point it means that everything has gone correctly, probably for about 3 hours you will still not be able to install Netflix and some banking applications but after this time everything will be back to normal, this is because Google's servers have detected that Magisk has been installed but that the application has been changed and Zygisk has been enabled so at the next check it notices that everything is Ok and gives access back.

    Quick explaination what happend here:
    1. Magisk has been installed and device is Rooted
    2. The application has been changed and hidden
    3. Zygisk has been activated and hidden from Google services
    4. SafetyNet-fix was installed, which restores the functionality of SafetyNet and Widevine L1, which is blocked after the installation of Magisk and unlocked Bootloader
    1
    1
    That link is down unfortunately. Can someone provide a working link? Or is it a generic process for every xiaomi device?
    Same as other Xiaomi devices. If you have problems adding your account in the developer options, try doing it while connected to USA through a VPN, that's what I had to do. Also had to update my Windows drivers through Windows update while the pad was connected to my laptop to get fastboot to work, even though adb was ok
    1
    Thank you for the guild! It works great for me! Netflix is also not available in play store in my case as well
    Use this modified SafetyNet fix module (just install it over original one):
    Original module is not yet updated.
    As always, don't forget to clear data for Google Play and Google Services.
    It will fix device integrity check and all apps in store, which require this check, will be available again.

    Also, there is no need for that many steps and reboots, and no need to use enforce or DenyList (unless some your specific apps detects root and won't work because of that).
    Just patch file in Magisk on tablet, flash it on PC, after first boot hide Magisk by changing name, turn on Zygisk, install modified SafetyNet fix module, clear data and reboot.
    1
    Unfortunately the procedure didn't work for me on EEA ROM. Once I flashed patched boot.img and rebooted, device stays stuck with MI logo and three blinking dots and doesn't boot. I let it in this state for one hour hoping that first boot just will take more time.

    I tried to reboot and re-flash patched image again, but there is no difference.
    Too bad!
    Maybe you need the boot.img to be the same version as the current one on your tablet. Or just flash into Global ROM, I believe after unlocking your bootloader you can do that by using MiFlash.