Skip to main content

๐Ÿ“ฅ APK/JAR Install Tools

Utilities for installing Android Apps.


apk_installโ€‹

Installs .APK or .APKM files with splits.

ArgumentDescription
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.

ArgumentDescription
FOLDERFolder(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.

FlagDescription
SRCSource folder
DESTDestination folder
-no-replace (-nr)Avoid replacing existing APKs
-no-add (-na)Avoid adding new APKs
-include (-i) PATHExtra folders/files to include (multiple allowed)
-follow-symlinks (-fs)Search within symlinks
-remove-oatRemove oat folders of old APKs
-output PATHRedirect 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.