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
To make it easier, Green color mean what you need to do on Tablet, Orange on PC
Quick explaination what happend here:
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
InstallationTo make it easier, Green color mean what you need to do on Tablet, Orange on PC
- Unzip Mi Flash tool
- 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.
- Connect your tablet to computer, when your tablet ask how you want use USB, choose File Transfer/Android Auto
- Copy to internal storage Magisk-v****.apk, safetynet-fix-v****.zip and boot.img
- Open File Manager on your tablet find a folder where you copied all files, and install Magisk
- 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
- Click "LET'S GO" button on the right side and wait until process will be finished
- On your computer in the tablet's storage window, go to the file specified in the application probably /Download/magisk_patched-*****
- 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
- Open PowerShell/Windows Terminal in this folder (Hold Shift + Right click -> Open PowerShell window here)
- Make sure your tablet have enabled USB debugging in Developer options Setting -> Additional settings -> Developer options -> USB debugging
- 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
- Go back to your Terminal window and type to check if your computer see your tablet
Code:
./fastboot.exe devices
- Next type this command to flash patched boot image
Code:
./fastboot.exe flash boot boot.img
- Next type this command to reboot your device
Code:
./fastboot.exe reboot
- Restart can take a longer time than normal
- Open Magisk app and check status of Magisk, if you see for exaple "Installed 24.2 (24200)" everything went fine
- 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
- Open again Magisk app and open Settings in section Magisk enable Zygisk (Beta) and Enforce DenyList
- Click on Configure DenyList than click on three dots in right corner and uncheck Show system apps
- 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
- After that reboot your tablet, and open again Magisk app
- On the bottom click on Modules
- Click on Install from storage button and find file safetynet-fix-v*******.zip, than click on it
- After that reboot your device one more time
- 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
- Reboot tablet last time
Quick explaination what happend here:
- Magisk has been installed and device is Rooted
- The application has been changed and hidden
- Zygisk has been activated and hidden from Google services
- SafetyNet-fix was installed, which restores the functionality of SafetyNet and Widevine L1, which is blocked after the installation of Magisk and unlocked Bootloader
Last edited: