Blackview Tab90 Home Assistant Kiosk
Contents of the docs

Blackview Tab90 Home Assistant Kiosk · Docs

Troubleshooting

What to do when the Tab90 hangs in the boot animation, the keyboard disappears right away, the dashboard stays empty or Kite is not in the foreground.

On this page

Tools

These commands answer most questions, all of them read-only:

Command Shows
adb logcat -d -b crash crashes (Java and system process)
adb shell dumpsys dropbox --print SYSTEM_TOMBSTONE native crashes with stack trace
adb shell dumpsys activity exit-info dev.kite.aos why Kite ended last time
adb shell dumpsys activity services dev.kite.aos SandboxedProcessService = WebView is running
adb shell dumpsys input_method when the keyboard was shown and hidden
adb exec-out screencap -p > screen.png screenshot

The tablet drops Kite's own log lines quickly. The Home Assistant history of the Kite entities (dashboard, uptime, current_url) often tells more.

Tablet hangs in the boot animation

If the tablet stays on the Blackview logo after a reboot, usually the system process crashes on every boot. adb often still works in that state:

adb logcat -d -b crash | grep -A4 "FATAL EXCEPTION IN SYSTEM PROCESS"

Known case: without com.google.android.sdksandbox the package manager stops with There should exactly one sdk sandbox package; found 0. Without a package manager there is neither pm nor cmd package, and without root nobody gets to /data/system. ./setup.sh --restore no longer helps, only a factory reset:

  1. adb reboot recovery, or tablet off and hold Volume up + Power
  2. Wipe data/factory reset, then Reboot system now
  3. remove the package from src/removed-apps.txt and run ./setup.sh again

The reboot test in step 7 catches such cases before the tablet goes on the wall.

Keyboard opens and closes right away

Then usually Gboard crashes, not Kite. In adb shell dumpsys input_method, Gboard's "CrashDataStore" lists the crashes (signal: 11), afterwards Gboard is in "Crash Recovery" mode. Clearing Gboard's data helped:

adb shell pm clear com.google.android.inputmethod.latin

Seen on one tablet after a factory reset: Gboard crashed natively in the framework's AdServices part. Bringing the AdServices packages back did not help, pm clear did.

Dashboard stays empty or is just a thin bar

If a dashboard looks like a thin line in Kite but right in a browser or in Fully, it probably uses vh units (e.g. a layout-card grid with height: calc(100vh - …)). Before fix 5, 100vh was 0 in Kite. Check with adb shell dumpsys package dev.kite.aos | grep versionName that at least 2.3.0-dasred.5 is installed.

If the dashboard stays completely white or hangs on the loading logo, usually the WebView renderer crashed. With fix 2 Kite rebuilds the WebView. If that does not help: button.<name>_reload or button.<name>_clear_cache.

Kite crashes

On the T606, Kite crashes natively several times a day, in the Mali GPU driver (libGLES_mali.so) of the WebView's GPU thread. Since Kite is the only home app, Android restarts it right away, and fix 3 restarts it after native crashes too. What happened last:

adb shell dumpsys activity exit-info dev.kite.aos | head -40

Another app is in front

  • Settings after a crash: if a Settings task was below Kite, Android brings it to the front. That is why the script closes Settings at the end. Manually: adb shell am force-stop com.android.settings.
  • Blackview launcher: if it is still there, Kite was not the home app during setup. Run ./setup.sh again.
  • Fully Kiosk or another launcher: deactivate it as device admin and uninstall it, see Installation.

Settings app crashes

If the script reports a crash of the Settings app in step 3, a removed package is needed. Digital Wellbeing (com.google.android.apps.wellbeing) is such a case, the script restores it by itself. For other packages: ./setup.sh --restore, remove the package from the list, set up again.

Kite does not connect to MQTT

  • Is the password entered in Kite under Settings → MQTT?
  • Does the tablet reach the broker? Internal names only resolve through a DNS in your home network.
  • The official Kite 2.3.0 never connects with MQTT 5 and a last will, only with fix 1. Is the own build running?