first
Download these files to your U disk
Download PE
Download dism++
Download SDM845 Drivers
Download windows10 arm64 iso
Download uefi
Download parted
add new.txt file
bcdedit /store Y:\efi\microsoft\boot\bcd /set {Default} testsigning on bcdedit /store Y:\efi\microsoft\boot\bcd /set {Default} nointegritychecks onCopy
second
connect your phone in TWRP
partition your device
cp /sdcard/parted /sbin/ && chmod 755 /sbin/parted umount /data && umount /sdcard parted /dev/block/sda rm 17 mkpart esp fat32 6559MB 7000MB mkpart pe fat32 7000MB 10000MB mkpart win ntfs 10000MB 70GB mkpart userdata ext4 70GB 125GB set 17 esp onCopy
format new partition
mkfs.fat -F32 -s1 /dev/block/sda17 mkfs.fat -F32 -s1 /dev/block/sda18 mkfs.ntfs -f /dev/block/sda19 mke2fs -t ext4 /dev/block/sda20Copy
Copy
mount pe part on /mnt
mount /dev/block/by-name/pe /mntCopy
Using OTG to connect U disk
cp -r /usbstorage/20h2pe_new/* /mntCopy
reboot twrp
try to boot Android
Third
- boot uefi
fastboot boot uefi.imgCopy
enter PE system
- mount esp part on PE
diskpart select disk 0 list part select part 17 assign letter=YCopy
install windows arm64
- open dism++ Release iso to ntfs partition
- install drivers
closed the Driver signature
bcdedit /store Y:\efi\microsoft\boot\bcd /set {Default} testsigning on bcdedit /store Y:\efi\microsoft\boot\bcd /set {Default} nointegritychecks onCopy
reboot and boot uefi enjoy
use drivedroid without type-c hub
todo..