Skip to content

Mobile Deployment - Android & HarmonyOS 🟑 BETA

Install BotDevice on a compatible device using the level that matches the access you have, and verify the app runs as the launcher.

Admin guide Β· device runbook

When to use Before you start Steps Verify Roll back
Turning a phone into a dedicated kiosk botdevice checkout, ADB access Choose level, install, verify launcher App opens as the device interface Restore the prior device state

When to use

Use this runbook when a dedicated Android or HarmonyOS device must run the BotDevice interface rather than a phone's normal launcher.

Before you start

  • The source of truth is botdevice/README.md and the botdevice/ tree; this page summarises it and does not add flags or commands that are not there.
  • Three installation levels exist: Level 1 uses ADB only and removes bloatware; Level 2 needs root with Magisk and installs the app as a system app with a boot animation; Level 3 needs an unlocked bootloader and replaces the device OS.
  • The app pairs the botui web interface with a Tauri Android WebView and a Rust backend. The target services still follow the local LLM and platform guidance.
  • Back up the device before any level that changes system partitions. Never record a device credential in the repository.

Steps

# 1. Read the installer's own instructions before choosing a level.
sed -n '1,120p' botdevice/README.md

# 2. Check the device is visible over ADB (Level 1+).
adb devices

# 3. Run the interactive installer from its own directory.
cd botdevice/rom
./install.sh

# 4. To compile the app locally, add the Android targets and use the Tauri CLI
#    as documented in botdevice/README.md; do not invent target names.

Supported Platforms

Android

AOSP and vendor builds such as Samsung One UI and Xiaomi MIUI are listed in botdevice/README.md.

HarmonyOS

Huawei and Honor devices running HarmonyOS are listed in the same source.

Installation Levels

Level Requirement Effect
1 ADB only removes bloatware, installs BotDevice as an app
2 Root + Magisk adds a boot animation, installs as a system app
3 Unlocked bootloader replaces the device OS with BotDevice

Use the lowest level that meets the requirement; a higher level is not a faster path to the same result.

Configuration

The device connects to the same bot services as any other client. Use hostnames and the documented endpoints; do not hardcode an internal address.

Offline Mode

An offline deployment needs the pinned local model assets on the machine serving the bot; see local LLM.

Verify

Check Surface Pass condition
ADB adb devices device listed
Installer ./install.sh completes at the chosen level
Launcher device home screen BotDevice is the interface
Chat one turn reply received
Source botdevice/README.md every claim traces to it

Roll back

πŸ”΄ Reverse the chosen level: uninstall the app for Level 1, remove the Magisk module for Level 2, or restore the stock firmware for Level 3. Restore the pre-change backup before declaring the device recovered.

Troubleshooting

Symptom Cause Action
Device not listed USB debugging off enable it and re-check adb devices
Install refused wrong level for access choose a lower level
App crashes WebView out of date update the system WebView