/surface-duo

Convert a Surface Duo AT&T to the global variant.

Primary LanguageShellMozilla Public License 2.0MPL-2.0

Convert AT&T Surface Duo into the global variant

Prerequisites

WARNINGS

While this has been tested on my personal device I cannot confirm that'll it work for yours. sim card support might be broken (though it worked on my Swedish network). I am not responsible for any damage that might occur to your device.. Bank and similar (SafetyNet) apps should still work but might require you to re-lock the bootloader afterwards. Since we'll just be running stock firmware.

Steps

  1. Extract payload.bin from the global Surface Duo recovery image.
  2. Use payload_dumper from the rooting guide to extract the partition images.
  3. Copy all the partition images /sdcard/duo on the target Surface Duo.
  4. Copy download globalify.sh and save it as globalify.sh on the root of the target Surface Duo.
  5. Open a terminal with adb and run the following
    1. adb shell
    2. su
    3. cd /data/local/tmp
    4. mv /sdcard/globalify.sh ./
    5. chmod +x globalify.sh && ./globalify.sh
  6. Exit adb shell and run adb reboot recovery. You might have to press Volume Up + Power to get past the "No Command" screen.
  7. Pick the sideload through adb option.
  8. adb sideload name_of_duo_global_ota.zip, This might fail at 94-98%; but should still work. If not just boot into recovery and retry from step 6.
  9. Reboot.
  10. Profit!!!!
  11. Support me on GitHub Sponsors if you'd like to say thanks :D