Repository navigation
AI AGENTS
Languages: English | العربية | Čeština | Deutsch | Español | فارسی | Français | हिन्दी | Bahasa Indonesia | Italiano | 日本語 | 한국어 | Nederlands | Polski | Português | Русский | Svenska | ไทย | Türkçe | Українська | Tiếng Việt | 中文
Languages: English · العربية · Čeština · Deutsch · Español · فارسی · Français · हिन्दी · Bahasa Indonesia · Italiano · 日本語 · 한국어 · Nederlands · Polski · Português · Русский · Svenska · ไทย · Türkçe · Українська · Tiếng Việt · 中文
VDInstaller is driven by one shell contract. An agent (running as root, as the WebUI does) calls:
sh /data/adb/modules/vdinstaller/scripts/helper.sh <verb> <base64(JSON-args)>
and reads exactly one JSON object on stdout. Success is {"ok":true,...}, failure is
{"ok":false,"code":"ERR_...","message":"..."}. Long operations return an opid you poll. Do not
scrape the WebUI, use this contract.
| Verb | Args (JSON) | Returns |
|---|---|---|
version |
- | {version, versionCode} |
config-get |
- | the config object |
config-set |
any config keys to merge | {saved:true} |
scan |
{dir} |
{dir, items:[{name,type,size}]} (type = apk | archive) |
install |
{mode, path | dir, ...options} |
{opid} (detached) |
uninstall |
{pkg, keep_data?, target_user?} |
{opid} (detached) |
progress |
base64 of the opid string (not JSON) | the live progress object; done:true when finished |
cancel |
base64 of the opid string | {cancelled} |
verifier-status |
- | the current verifier settings |
list-users |
- | {users:[{id,name}]} |
hma-hint |
- | {recommend:true} |
sanitize |
- | prunes stale logs |
mode |
takes | meaning |
|---|---|---|
single |
path |
one .apk
|
batch |
dir |
a folder of independent .apk files, one install each |
archive |
path |
a grouped split archive (.xapk / .apkm / .apks / .zip) |
splitdir |
dir |
a folder with the loose split .apk files of one app |
spoof_installer (bool), spoof_installer_pkg (string), deep_spoof (bool),
verifier_mode / devverif_mode (restore | always_on | always_off),
grant_all_perms, allow_test, bypass_low_target_sdk (bool), target_user (int).
Poll progress with the opid. The object carries percent, phase
(starting / extracting / installing / uninstalling / done), an optional item, and on
completion done:true with a result (single/split), a results[] array (batch), or an error.
- The verifier toggle and the
packages.xmledit are reversible and audited (logs/audit.jsonl). -
install/uninstallchange device state, confirm intent before calling, as the WebUI does. - Never scrape or automate the WebUI itself, this contract is the supported surface.
This documentation was generated with Claude (Anthropic) and is maintained by VD171. Corrections and improvements are welcome, see CONTRIBUTING.md.