Skip to content

Latest commit

 

History

History
63 lines (36 loc) · 1.91 KB

2-rootguide-en.md

File metadata and controls

63 lines (36 loc) · 1.91 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 just skip this step and go to the next page

Prerequisites

Patching your boot image

  • Copy the normal_boot.img file from the platform tools folder onto your tablet

  • Download and install the Magisk app on the tablet

  • Open the Magisk app and click the Install button. Select Select and Patch a File option and find the normal_boot.img file that you copied to the tablet. Click the Let's Go button and wait for the patching process to complete.

  • Copy the magisk_patched....img file from the Downloads folder on the tablet to the platform tools folder on your computer.

Reboot into fastboot

adb reboot bootloader

Flash the patched boot image

Replace magisk_patched.img with the actual magisk_patched.img name/path.

fastboot flash boot magisk_patched.img

Reboot into Android

fastboot reboot

Finishing setup

  • Open the Magisk app again.
  • Follow the instructions on the screen, and your device should reboot after a few seconds.

Copying the rooted boot image

After your device has booted

  • A superuser request for Shell might appear on your tablet's screen. If it does, grant it access.
adb shell "su -c cp /dev/block/by-name/boot$(getprop grep ro.boot.slot_suffix) /sdcard/rooted_boot.img" & adb pull /sdcard/rooted_boot.img