Skip to content

Instantly share code, notes, and snippets.

@M-Yankov
Created November 7, 2021 06:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save M-Yankov/e96fb84e0147e1eb2995602d1168ad91 to your computer and use it in GitHub Desktop.
Save M-Yankov/e96fb84e0147e1eb2995602d1168ad91 to your computer and use it in GitHub Desktop.
Andtoid export/backup database

Connect the phone

execute the following line in CMD as Administrator

cd "C:\Program Files (x86)\Android\android-sdk\platform-tools"
adb backup -f C:\Users\M.Yankov\Desktop\data.ab com.mihyan.simpletracker

In the phone screen Enable dubug if asked
Click "Back up my data"

Find and download android-backup-tookit-20180521, more specially android-backup-extractor

  • Copy the generated data.ab in the same directory
  • Exectute in CMD in same directory
java -jar abe.jar unpack data.ab SimpleTracker.tar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment