Skip to content

Latest commit

 

History

History
108 lines (75 loc) · 3.45 KB

3-install-en.md

File metadata and controls

108 lines (75 loc) · 3.45 KB

Windows 11 Running On A Xiaomi Pad 5

Running Windows on the Xiaomi Pad 5

Warning

PLEASE DON'T USE ANY VIDEO GUIDES AS THESE ARE USUALLY OUTDATED AND CAN AND PROBABLY WILL BRICK YOUR NABU!!! IF YOU ABSOLUTELY NEED A VIDEO GUIDE, USE THIS VIDEO GUIDE BY ArtoSeVeN

Installation

Note

It is recommended to open CMD or powershell as an admin now, and then access the platform-tools folder using the cd C:\path\to\platform-tools command, replacing the path with the actual path of the folder. Use the same window in the entire guide, do not close it.

Prerequisites

  • Brain

  • ARM Windows esd (Select - Version: 11 Build: 22631.2861 Architecture: ARM64 Edition: CLIENT Language: select your language)

  • Drivers

Boot back into recovery to start installing Windows

fastboot boot <recovery.img>

Execute msc

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

adb shell msc

Start the Windows disk manager

Warning

DO NOT ERASE, CREATE OR OTHERWISE MODIFY ANY PARTITION WHILE IN DISKPART!!!! THIS WILL ERASE ALL OF YOUR UFS OR PREVENT YOU FROM BOOTING TO FASTBOOT!!!! THIS MEANS THAT YOUR DEVICE WILL BE PERMANENTLY BRICKED WITH NO SOLUTION! (except for taking the device to Xiaomi or flashing it with EDL, both of which will likely cost money)

diskpart

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

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

Installing Windows

Replace <path\to\install.esd> with the actual path of install.esd (it may also be named install.wim)

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

Installing drivers

Unpack the driver archive, then open the OfflineUpdater.cmd file

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

If any errors appear under Installing App Packages, ignore them and continue

Create Windows bootloader files for the EFI

If an error occurs when copying boot files, check diskpart to see if ESPNABU still has letter Y. If it does not, add any other letter (such as K) and replace the Y in the below command with said letter respectively

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 to Android

adb reboot

Set up your device, then go to the last step