InstallApkTool
pm install [-r] <path> — silently install an APK from a local file path, with no user prompt. The path must be absolute, end in .apk, and contain no .. segments (so it can't be mistaken for a pm option); beyond that the host is trusted to vet it — there is no storage sandbox here (the ShellBackend is the privilege boundary), and ANY readable APK can be installed, including ones that request dangerous permissions. Success is detected by "Success" in stdout.
Privilege: requires a working ShellBackend (Shizuku shell-UID or root).
Params: path (required, absolute apk path), replace (optional, default true → adds -r).
On success the result map carries success (true) and path.