Reinstall Windows on Surface Duo 1
Edit This PageFiles/Tools Needed đ
- TWRP image: surfaceduo1-twrp.img
- Mass Storage Shell Script: msc.tar
- Windows UEFI: Surface.Duo.1st.Gen.UEFI.Fast.Boot.zip/uefi.img
- Platform Tools from Google (ADB and Fastboot)
- An ARM64 Windows build of your choice that meets the minimum system requirements (specifically the install.wim file). You can use UUPMediaCreator for this. Hereâs a guide on how to use it.
- The driver set: SurfaceDuo-Drivers-2XXX.XX-Desktop-Epsilon.zip
- A Windows PC to build the Windows ISO, apply it onto the phone from mass storage, add drivers to the installation, configure ESP
PLEASE READ AND BE SURE TO UNDERSTAND THE ENTIRE GUIDE BEFORE STARTING
Steps đ ď¸
Getting to Mass Storage Mode
- Reboot into the Bootloader mode by running this command while inside Androidâ˘:
adb reboot bootloader
Image of what you should see right now: Surface Duo in Bootloader mode
Now letâs boot TWRP:
Booting to TWRP
- Plug your phone to your PC, open a command prompt and start by typing the following text, but do not press enter just yet
fastboot boot
- Go find the surfaceduo1-twrp.img file you downloaded earlier, right click it, click âCopy as pathâ
- Then go back to the Command Prompt window we started writing text in previously, and simply, right click on it with your mouse (or long press if youâre on a touch device), you should now see this:
- Now you can press enter
You will now boot to TWRP. Reminder that touch doesnât work on TWRP for now, so youâll have to work through your PC.
Once inside TWRP, touch will not be working and the device will say it is locked. This is completely normal.
- Letâs load the mass storage shell script in order to boot into Mass Storage from TWRP
adb shell "setenforce 0"
adb push <path to downloaded msc.tar> /sdcard/
adb shell "tar -xf /sdcard/msc.tar -C /sdcard --no-same-owner"
adb shell "sh /sdcard/msc.sh"
Surface Duo should now be in USB 3 SuperSpeed (or what the USB-IF currently calls it) Mass Storage Mode.
Formatting the existing Windows partition
- Mount the partitions you made when you first installed Windows and assign them some letters:
â ď¸ THESE ARE NOT ALL COMMANDS. DISKPART COMMANDS VARY A LOT, SO THESE ARE SOME ROUGH INSTRUCTIONS.
ACTUAL COMMANDS START WITH AN HASHTAG (which you will need to remove)
YOU DO NOT HAVE TO USE THE LETTERS WE USE AT ALL!!!, THEY ONLY NEED TO BE FREE LETTERS. IF LETTERS DON'T ASSIGN FINE, USE ANOTHER ONE.
IF ONE PARTITION IS ALREADY ASSIGNED, YOU ALSO DO NOT NEED TO ASSIGN IT AGAIN IF YOU DONT WANT TO.
# list disk
Find the Surface Duo Disk, and take note of the number.
# select disk <number>
# list partition
You will be able to recognize the partitions you made the first time you installed Windows by their size.
Take note of the ESP and WIN partition numbers.
# select partition <esp-partition-number>
# assign letter=<THE LETTER YOU WANT AS LONG AS IT IS NOT CURRENTLY IN USE IN FILE EXPLORER FOR ANOTHER DRIVE! (Example: X)>:
# select partition <win-partition-number>
# assign letter=<ANOTHER LETTER YOU WANT AS LONG AS IT IS NOT CURRENTLY IN USE IN FILE EXPLORER FOR ANOTHER DRIVE! (Example: Y)>:
- You will have two partitions loaded, one is the ESP partition, and the other is the Win partition. Take note of the letters youâve used.
- Now open the file explorer, find the just-mounted Windows drive. BE CAREFUL! If you choose the wrong device, you WILL LOSE IMPORTANT DATA ON YOUR PC! Check that the letter is the same one youâve assigned before. In our case, itâs X:.
- Once you have made sure you have found the right partition, right click on it and select âFormatâ.
- Make sure the selected file system is NTFS, that âQuick Formatâ is checked, and leave the rest as it is, and press âStartâ.
Now the Windows Partition on your Surface Duo should be empty. Letâs go ahead and reinstall everything.
Installing Windows
- We will need our install.wim file now. If you havenât it already, you can use this guide. When you are ready, run these commands:
dism /apply-image /ImageFile:"<path to install.wim>" /index:1 /ApplyDir:X:
This will take a bit of time. Go make some coffee â or some tea đľ.
- Once that is done:
rmdir /Q /S Y:EFI
bcdboot X:Windows /s Y: /f UEFI
Windows is now installed but has no drivers.
Installing the drivers
- Download the latest driver package from https://github.com/WOA-Project/SurfaceDuo-Releases/releases/latest
Note: Hereâs a table of what to download if youâre a bit lost:
| File Name | Target Device |
|---|---|
| SurfaceDuo-Drivers-XXXX.XX-Desktop-Epsilon.zip | Surface Duo (1st Gen) |
| SurfaceDuo-Drivers-XXXX.XX-Desktop-Zeta.zip | Surface Duo 2 |
Extract the driver package, and go to the folder where you extracted it.
Double click the
OfflineUpdater.cmdfile.Accept the User Account Control warning when prompted
Enter the drive letter of the connected phone in mass storage, as we previously mentioned, for us itâs currently
X:, but it may very well be different for you. In our example, we enterX:and then press enter.The process may take a while, once it is done, you will be prompted to press any key, press enter when thatâs the case.
Congratulations, you just installed your drivers!
- You can now reboot your phone using
adb reboot bootloader.
Boot Windows đ
We are ready to boot!
Youâll have two methods of booting Windows.
Manual booting with a PC
- Pros: You can freely update Androidâ˘
- Cons: You will need a PC to boot to Windows
Enabling Dual Boot
- Pros: Youâll be able to boot Windows directly from the device
- Cons: Every time you update Androidâ˘, youâll have to follow this guide
In case you want the dual boot option, then follow this guide
Image of what you should see right now: Surface Duo in Bootloader mode
Letâs boot the UEFI, from a command prompt:
fastboot boot uefi.img
This step above will be needed every time you will want to boot Windows and needs to be done from the Bootloader mode.
If you did everything right, Windows will now boot! Enjoy!
Note: If the Touch keyboard wonât show up in OOBE, touch somewhere else (to let the text box loose focus) and then touch into the text box again. As an alternative, you can use the On-Screen Keyboard.
Š 2020-2024 The Duo WOA Authors
Snapdragon is a registered trademark of Qualcomm Incorporated. Microsoft, the Microsoft Corporate Logo, Windows, Surface, Surface Duo, Windows Hello, Continuum, Hyper-V, and DirectX are registered trademarks of Microsoft Corporation in the United States. Android is a registered trademark of Google LLC. Miracast is a registered trademark of the Wi-Fi Alliance. Other binaries may be copyright Qualcomm Incorporated and Microsoft Surface.
Limited emergency calling
Running Windows on your Surface Duo is not a replacement for a proper phone operating system and does not have emergency calling capabilities.
Hello from Seattle (US), France, Italy.