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.27.tar.gz
(1.1 MB
view details)
Built Distribution
adbtool-0.0.27-py3-none-any.whl
(24.3 kB
view details)
File details
Details for the file adbtool-0.0.27.tar.gz
.
File metadata
- Download URL: adbtool-0.0.27.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 800f39325c17205a0b2cbc5e0207b696691480fd18913f1331dd7b4dc7b4ee8a |
|
MD5 | 9b1359b5b940bd87b89b1121b2512155 |
|
BLAKE2b-256 | ca9bf6e99b811e682c73ee1052f1fcd520a71793ff79d9f70c2598ed80cce416 |
Provenance
The following attestation bundles were made for adbtool-0.0.27.tar.gz
:
Publisher:
pythonpublish.yml
on litefeel/adbtool
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
adbtool-0.0.27.tar.gz
- Subject digest:
800f39325c17205a0b2cbc5e0207b696691480fd18913f1331dd7b4dc7b4ee8a
- Sigstore transparency entry: 200176651
- Sigstore integration time:
- Permalink:
litefeel/adbtool@32f8dd88a9bfd1fae106b25621028d3b9eddd4d5
- Branch / Tag:
refs/tags/0.0.27
- Owner: https://github.com/litefeel
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
pythonpublish.yml@32f8dd88a9bfd1fae106b25621028d3b9eddd4d5
- Trigger Event:
release
- Statement type:
File details
Details for the file adbtool-0.0.27-py3-none-any.whl
.
File metadata
- Download URL: adbtool-0.0.27-py3-none-any.whl
- Upload date:
- Size: 24.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a1557fa4d10bb9b6ff1c69360aa8d3fc4dd9636e90d5462b5e1eb311c203855 |
|
MD5 | bfcbdf5c8fa88b43eaad67f5deecab61 |
|
BLAKE2b-256 | 38b7d08c1dff6bfe91b2ffb99d963ebba2a885ac9c9f8108948487783e6527e8 |
Provenance
The following attestation bundles were made for adbtool-0.0.27-py3-none-any.whl
:
Publisher:
pythonpublish.yml
on litefeel/adbtool
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
adbtool-0.0.27-py3-none-any.whl
- Subject digest:
9a1557fa4d10bb9b6ff1c69360aa8d3fc4dd9636e90d5462b5e1eb311c203855
- Sigstore transparency entry: 200176653
- Sigstore integration time:
- Permalink:
litefeel/adbtool@32f8dd88a9bfd1fae106b25621028d3b9eddd4d5
- Branch / Tag:
refs/tags/0.0.27
- Owner: https://github.com/litefeel
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
pythonpublish.yml@32f8dd88a9bfd1fae106b25621028d3b9eddd4d5
- Trigger Event:
release
- Statement type: