Skip to content

Latest commit

 

History

History
74 lines (28 loc) · 1.46 KB

2-rootguide-en.md

File metadata and controls

74 lines (28 loc) · 1.46 KB

Windows 11 Running On A Xiaomi Pad 5

Running Windows on the Xiaomi Pad 5

Rooting your tablet

Note

If you are already rooted, skip this step and go to the next page

Prerequisites

Flash magisk

Replace path\to\magisk.apk with the actual path of the magisk.apk

adb push path\to\magisk.apk /tmp/magisk.zip && adb shell twrp install /tmp/magisk.zip

Reboot into Android

If it doesn't boot, renoot into stock recovery and perform a factory reset there

adb reboot

Finishing setup

  • Set up your device, then download and install Magisk, if it isn't already installed.
  • Open the Magisk app and follow the instructions on the screen, and your device should reboot after a few seconds.

Back up your rooted boot.img

Reboot into the modified recovery image, then run the below command

adb shell "dd if=/dev/block/platform/soc/1d84000.ufshc/by-name/boot$(getprop ro.boot.slot_suffix) of=/tmp/rooted_boot.img" && adb pull /tmp/rooted_boot.img