Warning
This guide is only for driver versions lower than 2601.19.
Important
Follow this guide only if you want to disable secureboot.
By default, secureboot is enabled in this guide
- √ No watermark on homescreen
- √ Apps that do not work with Test Mode will work
- √ You can update big versions (e.g 22h2 to 23h2) in Windows update directly
- × You cannot install unsigned drivers
- √ You can install unsigned drivers
- × Test mode watermark on homescreen
- × Some apps/games with anti-cheat software may not work
- × You cannot update big versions (e.g 22h2 to 23h2) through Windows Update
You will need this to return to Android, but you can skip this step if you've already made a backup
Use the Backup Android boot function in the WOA Helper app, or boot to the modded recovery and run
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.imgReplace <path\to\recovery> with the actual path of the recovery image
fastboot boot <path\to\recovery.img>Once the Xiaomi Pad 5 has booted into the modded recovery
adb shell mscOnce the Xiaomi Pad 5 is detected as a disk
diskpartUse
list volumeto find it, it's the one named "ESPNABU"
select volume <number>
assign letter y
exit
To enable test signing
bcdedit /store Y:\EFI\Microsoft\BOOT\BCD /set "{default}" testsigning onAssuming you are disabling secureboot on an existing install, you need to delete this file or the system will not boot
del Y:\EFI\Microsoft\Boot\SiPolicy.p7bIf this does not work, ignore it and skip to the next command. This phantom drive will disappear the next time you reboot your PC.
mountvol y: /dadb reboot bootloaderMake sure you use the no secureboot UEFI from this page, replace <path\to\uefi-NoSecureboot-v3.img> with the actual path to the UEFI image
fastboot flash boot <path\to\uefi-NoSecureboot-v3.img>Important
Make sure to also replace your old UEFI in the UEFI folder in your internal storage of Android, so you don't accidentally flash it the next time you try to switch to Windows from Android
fastboot reboot