Upload and install an APK
- Confirm the owner authorized the intended app installation. Choose an accessible absolute destination and create its parent directory if needed.
- Upload the standalone APK in base64
fileWritechunks of at most 256 KiB decoded. Start at offset zero; only overwrite an existing file when intended. Continue at each acknowledgednextOffset. The supplied CLIuploadhandles this over HTTP. - Call
apkInstallwith the path and optional complete-file SHA-256. If access is missing, requestinstallPackagesreview or opt in withautoRequestPermissions: true. Tell the owner to review the phone, read fresh access status and retry explicitly. - Preserve
sessionIdfrompreparing. PollapkInstallStatusthrough any entrypoint.pending_user_actionrequires Android confirmation.submittedis not final success. - Accept only final
succeededas Android installation success. Reportcancelledorfailedwith the provided reason and status. Check the package version withpackageInfoafterward.
Updating Dikciz itself can close listeners and invalidate sessions. Reconnect to a fresh MCP session and verify the serving package and version with deviceInfo. Do not uninstall the only controller to install its replacement. A force-stopped process cannot service its own recovery requests.