Skip to content

Instantly share code, notes, and snippets.

@PHLAK
Last active December 27, 2018 23:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save PHLAK/794ad57c27e7c50ad105 to your computer and use it in GitHub Desktop.
Save PHLAK/794ad57c27e7c50ad105 to your computer and use it in GitHub Desktop.
TWRP Backup Script
#!/usr/bin/env bash
adb reboot recovery
adb wait-for-device
adb shell twrp backup SDBO
adb reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment