Convert AT&T Surface Duo into the global variant
Prerequisites
- Your AT&T Surface Duo recovery image.
- A global Surface Duo recovery image (https://forum.xda-developers.com/t/android-11-ota-link-zip-file-img-files-unlocked.4393341/).
- Root.
- Unlocked bootloader (including critical).
- USB Debugging turned on.
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
- Extract payload.bin from the global Surface Duo recovery image.
- Use payload_dumper from the rooting guide to extract the partition images.
- Copy all the partition images
/sdcard/duo
on the target Surface Duo. - Copy download globalify.sh and save it as
globalify.sh
on the root of the target Surface Duo. - Open a terminal with adb and run the following
adb shell
su
cd /data/local/tmp
mv /sdcard/globalify.sh ./
chmod +x globalify.sh && ./globalify.sh
- Exit adb shell and run
adb reboot recovery
. You might have to press Volume Up + Power to get past the "No Command" screen. - Pick the sideload through adb option.
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.- Reboot.
- Profit!!!!
- Support me on GitHub Sponsors if you'd like to say thanks :D