adb pull wrapper to pull package private files from Android device
Project description
adbPullAs
adb pull wrapper to pull package private files from Android device.
WORKS ONLY ON DEBUG APPLICATIONS.
Problem Scope
Developers and testers need to access data from /data/data/com.viliussutkus89.adb.pull.as/cache
.
adb pull /data/data/.../cache
is no go, because the directory is private.
adb run-as com.viliussutkus89.adb.pull.as cp /data/data/com.viliussutkus89.adb.pull.as/cache /data/local/tmp
is no go, because /data/local/tmp
may require storage permissions.
adb su -c cp /data/data/.../cache /data/local/tmp
is no go, because it requires root.
Solution
Recursive wrapper around adb.
Listing directories and reading files while using runtime permissions of specified application.
Piping contents into /data/local/tmp
using normal adb user permissions and adb pull
'ing into host computer.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for adbPullAs-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28ffbf9fd515a095d71a32841b6f03bcbe9f2c92a361b77b97f8a94265ae2d34 |
|
MD5 | f786a6885bfc09b2147ee3fa3a86001d |
|
BLAKE2b-256 | 7a16d25e8f2ea9c6fcdb4a4db32a760e74add48b94e022cca605d10709691200 |