๐ฅ APK/JAR Install Tools
Utilities for installing Android Apps.
apk_installโ
Installs .APK or .APKM files with splits.
Argument | Description |
---|---|
APK | .APK/.APKM file(s) with optional splits (e.g., "main.apk:split.apk") |
apk_install "$TMP/Test.apk"
apk_install "$TMP/Main.apk:$TMP/Split.apk:$TMP/Split2.apk"
apk_install "$TMP/Main.apkm:split_config.ru.apk:split_voip.apk"
info
It is used the delimiter :
to define external Splits, but you can also define internal Splits names when it comes to an APKM.
apk_install_recursiveโ
Recursively installs .APK/.APKM files from folders.
Argument | Description |
---|---|
FOLDER | Folder(s) to scan (multiple allowed) |
apk_install_recursive "/sdcard/myapps"
tip
Sub-folders can be created within the folder specified to group a main APK next to its Splits.
/sdcard/myapps/
โโโ app1/
โ โโโ Main.apk
โ โโโ Split1.apk
โ โโโ Split2.apk
โโโ app2/
โโโ Main.apk
โโโ Split1.apk
โโโ Split2.apk
dynamic_install_apkโ
Replaces APKs from one folder to another by package.
Flag | Description |
---|---|
SRC | Source folder |
DEST | Destination folder |
-no-replace (-nr) | Avoid replacing existing APKs |
-no-add (-na) | Avoid adding new APKs |
-include (-i) PATH | Extra folders/files to include (multiple allowed) |
-follow-symlinks (-fs) | Search within symlinks |
-remove-oat | Remove oat folders of old APKs |
-output PATH | Redirect destination path |
dynamic_install_apk "FOLDER" "/system"
dynamic_install_apk -include "oat" -include "lib" "FOLDER" "/system" -output "/sdcard/results"
note
The performance is proportional to the amount of APKs of both directories.