3.3 KiB

Running Windows on the Xiaomi Pad 5
Warning
PLEASE DON'T USE ANY VIDEO GUIDE ON YOUTUBE OR ANY OTHER PLATFORM! THOSE VIDEOS ARE OUT OF DATED!
Installation
Installing Windows
Prerequisites
Boot recovery back to start installing Windows
fastboot boot <recovery.img>
Execute the msc script
If it asks you to run it once again, do so
adb shell msc
Assign letters to disks
Start the Windows disk manager
Once the Xiaomi Pad 5 is detected as a disk
diskpart
Assign X
to Windows volume
Select the Windows volume of the tablet
Use
list volume
to find it, it's the one named "WINNABU"
select volume <number>
Assign the letter X
assign letter=x
Assign Y
to ESP volume
Select the esp volume of the tablet
Use
list volume
to find it, it's the one named "ESPNABU"
select volume <number>
Assign the letter Y
assign letter=y
Exit diskpart
exit
Install
Replace
<path/to/install.wim>
with the actual install.wim path,
install.wim
is located in sources folder inside your ISO You can get it either by mounting or extracting it
dism /apply-image /ImageFile:<path/to/install.wim> /index:1 /ApplyDir:X:\
Install Drivers
You can download Drivers here
When it ask you "Enter Drive letter..." type X:
Open folder with Drivers and run OfflineUpdater.cmd
Create Windows bootloader files for the EFI
bcdboot X:\Windows /s Y: /f UEFI
Boot into Windows
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/boot.img"
Pull backup to computer
adb pull /tmp/boot.img
Reboot to bootloader
adb reboot bootloader
Download and flash UEFI image
Download UEFI image
fastboot flash boot <path to image>
Note
On the first Windows boot, it will not see any Wi-Fi networks, just restart it by holding down the power button, and after reboot when you try connect to yuor network and you see "ice-cream" click "try again" 7 times
Boot back into Android
Use your backup boot image and flash from fastboot
fastboot flash boot boot.img
Remove phantom drive letters (if they are not removed automatically)
Run theese commands as admin to remove letter
mountvol x: /d
mountvol y: /d
Finished!
You can join our Telegram chat to receive latest news about project