A friendly android adb command-line tool
Project description
Adbtool
A friendly android adb command-line tool
Python Requirements
- python 3.10+
- Android SDK
Commands
adbt -h
usage: adbt [options]
show android device list
options:
-h, --help show this help message and exit
-c CONFIG, --config CONFIG
global config
--version show program's version number and exit
sub commands:
{devices,push,install,uninstall,apk,sign,ab,il2cpp}
devices show android device list
push push files to android device
install install apk file
uninstall uninstall apk file
apk show apk packageName/activityName
sign sign apk with android debug(only windows)
ab extract unity asset bundle information
il2cpp extract unity il2cpp information
adbt devices -h
usage: adbt [options] devices [-h] [-d DEVICES [DEVICES ...]] [-l]
optional arguments:
-h, --help show this help message and exit
-d DEVICES [DEVICES ...], --devices DEVICES [DEVICES ...]
filter of devices, [n | serial | a] n:index of list(start with 1), serial:at least 2 char,
a:all
-l, --list show devices list
adbt push -h
usage: adbt [options] push [-h] [-r] [-n] [-j [HASHJSON]] [--hash [{sha1,mtime}]] [--localdir LOCALDIR]
[--remotedir REMOTEDIR] [--dontpush] [-d [DEVICES [DEVICES ...]]]
[path [path ...]]
positional arguments:
path file or directory
optional arguments:
-h, --help show this help message and exit
-r recursion all file
-n only push new file by last modify files, see -j
-j [HASHJSON] hash json file, default: ./$deviceMode_$deviceSerial.json
--hash [{sha1,mtime}]
hash function: mtime or sha1, default:mtime
--localdir LOCALDIR local prefix and remote prefix, will replace local prefix to remote prefix
--remotedir REMOTEDIR
local prefix and remote prefix, will replace local prefix to remote prefix
--dontpush only outout json file, not really push file to remote
-d [DEVICES [DEVICES ...]], --devices [DEVICES [DEVICES ...]]
filter of devices, [a | n | serial] a: all devices n: index of devices list(start with 1)
serial: devices serial (at least 2 char) not argument is show device list
adbt install -h
usage: adbt [options] install [-h] [-f [FILTER [FILTER ...]]] [-r] [-d [DEVICES [DEVICES ...]]] [apkpath]
positional arguments:
apkpath
optional arguments:
-h, --help show this help message and exit
-f [FILTER [FILTER ...]], --filter [FILTER [FILTER ...]]
filtered by file name
-r, --run run app after install
-d [DEVICES [DEVICES ...]], --devices [DEVICES [DEVICES ...]]
filter of devices, [a | n | serial] a: all devices n: index of devices list(start with 1)
serial: devices serial (at least 2 char) not argument is show device list
adbt apk -h
usage: adbt [options] apk [-h] [-r] [-d [DEVICES [DEVICES ...]]] [apkpath]
positional arguments:
apkpath
optional arguments:
-h, --help show this help message and exit
-r, --run run app
-d [DEVICES [DEVICES ...]], --devices [DEVICES [DEVICES ...]]
filter of devices, [a | n | serial] a: all devices n: index of devices list(start with 1)
serial: devices serial (at least 2 char) not argument is show device list
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
adbtool-0.0.25.tar.gz
(1.1 MB
view details)
Built Distribution
adbtool-0.0.25-py3-none-any.whl
(22.9 kB
view details)
File details
Details for the file adbtool-0.0.25.tar.gz
.
File metadata
- Download URL: adbtool-0.0.25.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e6b6ac3e12647515147bfa459977d4b4a7b04fb9971bb2c5239378cd59a75f0 |
|
MD5 | ce2e5e9f04b8f27f7f2fcb45013b6cf8 |
|
BLAKE2b-256 | a4a899864b84e31957765430680c84a5a55e2dd35718bda256d54894328a2cd0 |
File details
Details for the file adbtool-0.0.25-py3-none-any.whl
.
File metadata
- Download URL: adbtool-0.0.25-py3-none-any.whl
- Upload date:
- Size: 22.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a60f7c1af75caab3e4ae7c81b2694b64fa484ee4e0513e7ab05c6a6be5cc1f7c |
|
MD5 | 719d3a5f9a5fcc10c95bba757d83d9cd |
|
BLAKE2b-256 | 33c3c05f044d8bfcbe9ce8308d16d946e22bef09039ec8f62eb7d5a588f5b89f |