Table of Contents
This file contains ambiguous Unicode characters!
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
Tools shipped with Adebar
I decided to include some tools with Adebar – mainly some scripts I use in the
same area (i.e. device backups and documentation). You can find them in the
tools/
sub directory. To give you a raw idea what they are about, they shall
be listed here:
ab2tar
: convert an ADB backup file (*.ab
) into a Tarball in order to investigate its contents. Called without parameters, it will reveal its syntax. Passed the file name of the backup, it will do its job.abrestore
: Fixingadb restore
for devices with Android 7 (Nougat) and above. Some of them don't restore a backup if the app itself isn't yet installed. This script works around that by extracting and installing the APK before callingadb restore
. Again, expects the backup file as only parameter.getapk
: Grab APK files from your device via ADB. Which ones, depends on the parameter you pass to it: a single APK when given a package name, all user apps, all system apps – or even all apps. Call without parameters for details.lst2json.php
: convert thedata/*.lst
files (data obrained from the device, e.g. SMS) to JSON for further processing.mk_dummy
: Script to create Dummy-Devices.root_appbackup.sh
: used to create backups with root powers – inclusing apps whichadb backup
was unable to get.root_apprestore.sh
: restore the backups created withroot_appbackup.sh
ssnap
: a (serial) screenshot snapper. It will put your device into demo mode, set the clock to the specified value while hiding all your „real notifications“, optionally starting an app if you specified its package name, and then perform a screenshot (saved locally on your computer) whenever you hit the „s“ key. Once you hit the „q“ (for „quit“), it tells the device to exit demo mode (i.e. return it to „normal state“), and exists.
Call it with the-h
parameter for more details.
- Instructions
- Example Output
- Other information
![]() |
For information about Android, App lists, and more, visit IzzyOnDroid – where you also can find other ADB tools and apps. | ![]() |