first

Download these files to your U disk

  1. Download PE

    20h2pe_new.zip

  2. Download dism++

    Dism++

  3. Download SDM845 Drivers

    GitHub -WOA-Drivers

  4. Download windows10 arm64 iso

    uup

  5. Download uefi

    Releases · edk2-porting/edk2-sdm845 · GitHub

  6. Download parted

    parted

  7. 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

  1. 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
  2. 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/sda20CopyCopy

  1. mount pe part on /mnt

    mount /dev/block/by-name/pe /mntCopy
  2. Using OTG to connect U disk

    cp -r /usbstorage/20h2pe_new/* /mntCopy
  3. reboot twrp

  4. try to boot Android

Third

  1. boot uefi
fastboot boot uefi.imgCopy
  1. enter PE system

    1. mount esp part on PE
    diskpart
    select disk 0
    list part
    select part 17
    assign letter=YCopy
  2. install windows arm64

    1. open dism++ Release iso to ntfs partition
    2. install drivers
  3. 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
  4. reboot and boot uefi enjoy

use drivedroid without type-c hub

todo..