Skip to content

Latest commit

 

History

History
82 lines (58 loc) · 2.99 KB

3-install-en.md

File metadata and controls

82 lines (58 loc) · 2.99 KB

Windows 11 Running On A Xiaomi Pad 5

Running Windows on the Xiaomi Pad 5

Installation

Prerequisites

Boot back into the modded recovery

Replace path\to\recovery.img with the actual path of the recovery image

fastboot boot path\to\recovery.img

Execute msc

If it asks you to run it once again, do so

adb shell msc

Assign letters to WINNABU and ESPNABU

Run the DriveLetterAssigner and click YES to automatically assign the letters X and Y to WINNABU and ESPNABU

Installing Windows

Important

Make sure that you are running CMD/Powershell as an Administrator

Important

For performance reasons, it is recommended to use Windows 11 24H2 (builds that start with 261XX, such as 26100.2454)

Replace path\to\install.esd with the actual path of install.esd (it may also be named install.wim or 22631.2861.XXXXXXX.esd)

dism /apply-image /ImageFile:path\to\install.esd /index:6 /ApplyDir:X:\

If you get Error 87, check the index of your image with dism /get-imageinfo /ImageFile:path\to\install.esd, then replace index:6 with the actual index number of Windows 11 Pro in your image

Copying your boot.img into Windows

  • Drag and drop the rooted_boot.img from the platform-tools folder into the WINNABU disk in Windows Explorer, then rename it to boot.img.

Installing Drivers

  • Unpack the driver archive, then open the OfflineUpdater.cmd file (if an error shows up, run OfflineUpdaterFix.cmd instead)

If it asks you to enter a letter, enter the drive letter of WINNABU (which should be X), then press enter

Create Windows bootloader files

If an error occurs when copying boot files, run DriveLetterAssigner again, then run the following command again, replacing Y with U

bcdboot X:\Windows /s Y: /f UEFI

Remove the drive letter for ESPNABU

If 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: /d

Reboot into fastboot

adb reboot bootloader

Boot into the UEFI

Replace path\to\nabu-uefi.img with the actual path of the UEFI image

fastboot boot path\to\nabu-uefi.img

Reboot into Android

Your device should reboot by itself after +- 10 minutes of waiting, after which you will be booted into Android, for the last step.