Getting started on Hapanero (Qualcomm UEFI) - WOA-Project/MSM8994-8992-NT-ARM64-Drivers GitHub Wiki
Use an administrator command prompt when following this guide. Using Qualcomm's ARM64 UEFI is not recommended on EB2.0 Hapanero devices upwards, please use Lumia950XlPkg on those devices.
This UEFI firmware does NOT have the proper display configurations for Cityman devices, DO NOT use it there. You've been warned.
Flashing instructions
cd Supplemental\Qualcomm UEFI
thor2 -mode uefiflash -partitionname SBL1 -partitionimagefile EB1.0-SBL1\SBL1.img
thor2 -mode uefiflash -partitionname UEFI -partitionimagefile Firmware\UEFI.img
thor2 -mode uefiflash -partitionname HYP -partitionimagefile Firmware\HYP.img
thor2 -mode uefiflash -partitionname PLAT -partitionimagefile Firmware\PLAT.img
thor2 -mode uefiflash -partitionname EFIESP -partitionimagefile Firmware\EFIESP.img
thor2 -mode retail -erasepartition SVRawDump
thor2 -mode rnd -reboot
After that, remove the battery and use Camera + Power to get to the Developer Menu. Go to mass storage mode.
Use diskpart to assign a letter to the EFIESP, and delete the Data partition. Enlarge MainOS until the end of the disk afterwards, and then format it.
OS instructions (E: supposed being MainOS enlarged and S: being the EFIESP):
Dism /Apply-Image /ImageFile:install.wim /index:<your preferred SKU> /ApplyDir:E:
On EB0.5/EB1.x Hapanero devices:
dism /Image:E: /Add-Driver /Driver:configurations\battmngr-registry\Hapanero /Driver:configurations\bootloader-single /Driver:configurations\specifics-mmo /Driver:configurations\touch-hapanero /Driver:configurations\soc-prerelease /Driver:configurations\oeminfo-hapaneroeb1 /Driver:configurations\graphics-hapanero /Driver:configurations\specifics-hapanero /Driver:msm8992-8994 /Driver:msm8994 /Driver:configurations\nfc-mmo /Recurse
S:
cd EFI\Microsoft\Boot
bcdedit /store bcd /set {default} numproc 4
On EB2.0+ Hapanero devices:
dism /Image:E: /Add-Driver /Driver:configurations\battmngr-registry\Hapanero /Driver:configurations\bootloader-single /Driver:configurations\specifics-mmo /Driver:configurations\touch-hapanero /Driver:configurations\soc-final /Driver:configurations\oeminfo-hapaneroeb2 /Driver:configurations\specifics-hapanero /Driver:msm8992-8994 /Driver:msm8994 /Driver:configurations\nfc-mmo /Recurse
You can now reboot into Windows 10 desktop ARM64 on your device.