Skip to content

Instantly share code, notes, and snippets.

View EkriirkE's full-sized avatar
😴
Schlafen

Erik Johnson EkriirkE

😴
Schlafen
View GitHub Profile
#!/usr/bin/env python3
BACKUP_FILE = 'backup.ab'
# Constants
# ref: https://github.com/omnirom/android_bootable_recovery/blob/android-7.1/adbbu/twadbstream.h
TWRP = b'TWRP' + b'\x00\x00\x00\x00'
TWSTREAMHDR = b'twstreamheader'
TWFN = b'twfilename'

Keybase proof

I hereby claim:

  • I am ekriirke on github.
  • I am ekriirke (https://keybase.io/ekriirke) on keybase.
  • I have a public key ASBXC5QHiladK9MOompV0WvaZ5AeEoWSAVOUj6Wdd9wljgo

To claim this, I am signing this object: