Fetch Android appdata/ from Google Drive
Python
Switch branches/tags
Nothing to show
Clone or download
Nikolay Elenkov
Latest commit 3de4152 Jun 6, 2018
Permalink
Failed to load latest commit information.
.gitignore Initial commit Mar 24, 2017
LICENSE Initial commit Mar 24, 2017
README.md MD fix Mar 27, 2017
get-gdrive-appdata.py updated to use RSA-encrypted password, see #2 Jun 6, 2018

README.md

gdrive-appdata

Tries to fetch the contents of the appdata hidden folder from Google Drive.

Helps identify what Android applications might be saving/backing up on Google Drive.

Requirements

pip install --upgrade google-api-python-client

Usage

Requires Google account and password. Creating an app-specific password instead of using the raw password is recommended.

Specify either a package name and signature (SHA-1 hash of the raw signing certificate), or a packages.xml file (extracted from device).

Device ID is optional, should be either ANDROID_ID or GMS device ID.

When using packages.xml will try to fetch data from all packages (including internal/system ones). This can be time consuming and run into rate limiting. Use with care. You can use a combination of --packages-xml and --target-package to target a specific package.

Downloaded files will be saved in the current directory under:

appdata-<account name>-<timestamp>/<package name>/

Example

./get-gdrive-appdata.py --account foo.bar.baz@gmail.com  --password foo.bar.baz \
--target-package com.example.app --target-package-sig 0000000000000000000000000000000000000000

References, etc