If you don't have access to fastboot, use the instructions in the partitioning guide to flash the engineering ABL.
- With the device turned off, hold the volume down button, then plug the cable in.
- If the phone in device manager is called Android and has a
⚠️ yellow warning triangle, you need to install fastboot drivers before you can continue.
Replace <path\to\msc.img> with the actual path of the UEFI image
fastboot boot <path\to\msc.img>
Once booted into the UEFI, use the volume buttons to navigate the menu and the power button to confirm
- Select UEFI Boot Menu.
- Select USB Attached SCSI (UAS) Storage.
- Press the power button twice to confirm.
diskpart
This will list all connected disks
Look for your phone (which should be the last disk which will be 117GB in size). If you do not see it, wait a few seconds and run the command again. Repeat this until you see the disk.
lis dis
Replace $ with the actual number of your phone
sel dis $
This will list your device's partitions
lis par
Replace $ with the partition number of Windows (should be 32)
sel par $
assign letter x
exit
Go to Windows Explorer > This PC and select WINMH2LM5G. Right click and format as NTFS.
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 withdism /get-imageinfo /ImageFile:<path\to\install.esd>
, then replaceindex:6
with the actual index number of Windows 11 Pro in your image
Unpack the driver archive, then open the
OfflineUpdater.cmd
file
If it asks you to enter a letter, enter the drive letter of
WINMH2LM5G
(which should be X), then press enter
Reboot your phone. If you end up in Android instead of Windows, flash the UEFI again using WOA Helper.
Your device will now set up Windows. This will take some time. It will eventually reboot, and after that the initial setup (oobe) should launch.