Getting Detailed Logs on Android STB (UART+ADB)
The following guide will help you to get the most detailed logs from the Smartlabs Android STBs.
- Install firmware with additional debug logging.
- Contact the SmartLabs Support Team to obtain the firmware for your STB.
- Write the firmware file on the USB flash drive.
- Connect to the STB with ADB (see also “ADB installation instructions“) and restart in the “recovery” mode:
adb reboot recovery - As soon the STB restarts, press and hold the Home and Volume- buttons on the remote until the recovery menu appears.
- Select the Update from USB option, select the firmware file and proceed to install it.
- On success installation, the following string should appear:
Install from usb disk complete with result code 0.
Install complete - Return to the recovery menu and do the factory reset. This may not be necessary, but is recommended.
- Reboot the STB. The application should start as usual.
- Connect the UART debug cable (see “UART Connection Without Soldering“) and start the terminal application.
- If the STB over UART works properly, start saving the log and power cycle the STB in order to get full logs.
- Please verify the firmware version:
getprop | grep build
and turn on debug options:
- Please verify the firmware version:
su root cat /proc/msp/omxvdec echo set_print 0x3 > /proc/msp/omxvdec cat /proc/msp/omxvdec cat /proc/vfmw/info echo 0 0x800003 > /proc/vfmw/info cat /proc/vfmw/info |
- Keep getting logs over UART and start getting log with ADB logcat (see “Getting Android STB logs with ADB tool“)
- Reproduce the problem and save all logs.