Skip to content

Latest commit

 

History

History
72 lines (43 loc) · 2.22 KB

Re-rooting-en.md

File metadata and controls

72 lines (43 loc) · 2.22 KB

Windows 11 Running On A Xiaomi Pad 5

Running Windows on the Xiaomi Pad 5

Re-rooting Android

This section will guide you through the re-rooting process for when MIUI/Hyper OS updates and removes root.

Prerequisites

Reboot to fastboot

  • Boot your NABU into fastboot by holding down the volume down button during reboot

  • Connect it to your PC/Laptop using a cable

Boot the modded recovery

While in fastboot mode, replace path\to\recovery.img with the actual path of the recovery image

fastboot boot path\to\recovery.img

Make a backup of your existing boot image

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

Reboot back to Android

adb reboot

Patch boot

  • Copy the normal_boot.img file from the platform tools folder onto 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 to fastboot
  • Open command prompt in the platform tools folder

Flash patched boot

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

fastboot flash boot path\to\magisk_patched.img

Update boot.img in Windows' C:\

  • Reboot back to Android
  • Open WOA Helper
  • Mount Windows
  • Open any file explorer and go to the Windows folder in your internal storage
  • Delete boot.img

Note

The updated boot.img will automatically be generated in C:\ on the next reboot

Finished!