Firefly version

  • View the firmware version

    • In the Settings

      Settings–>About tablet–>Firefly version

      for example:

      ROC-RK3399-PC+ HDMI+DP(Android)
      rk3399_roc_pc_plus/industry-71/V1.2.2008101849/98c828d3a1d2
      

Open developer options

  • Settings–>About tablet–>Build number

  • Click Build number at least 7 times

Use of ADB

Connect the device

USB way

The host connects to the device via USB. For details on how to connect, please refer to the WiKi Tutorial of the device.

  • USB Type A interface

    • Enable USB connection

      • Android7.1

      Settings–>USB–>Connect to PC

      • Android10/Android11

      Settings–>Connected devices–>Connect to PC

  • USB Type C interface (enabled by default)

Network way

The host connects to the device through the network (the host and the device are in the same LAN)

  • Open network ADB

  • View the IP address of the device

    Settings–>About tablet–>Status->IP address

  • Connect to device via IP address

    adb connect device_ip_address
    

Common commands

  • Query device

    adb devices
    
  • Stop adb server

    adb kill-server
    
  • Install the app

    adb install path_to_apk
    
  • Copy files to device

    adb push local remote
    
  • Copy files from device

    adb pull remote local
    
  • Issue shell commands

    adb [-d |-e | -s serial_number] shell shell_command
    

Log

Last Log

In the /sys/fs/pstore directory of the device:

  • console-ramoops-0: last_log The kernel log started last time, but only the logs with higher priority than the default log level are saved

  • pmsg-ramoops-0: Last user space log, android log

Log is automatically saved

Way two

  • Open “Developer Options”

  • Enable Enable logging to save

    Settings–>Developer options–>Enable logging to save

  • reboot device

  • There are log related files in the /data/media/0/.LOGSAVE directory of the device

    • xxxx_kmsg.log: kernel kmsg

    • xxxx_logcat.log: system logcat

NOTE: Only supports Android 7.1

Way three

  • Open “Developer Options”

  • Enable Android bug collector

    Settings–>Developer options–>Android bug collector

  • reboot device

  • There are log related files in the /data/media/0/rk_logs directory of the device

    • COPY-COMPLETEB means log has been copied

    • anr means ANR file

    • bugreport.log means the bugreport file

    • logs means logcat, kmsg after each boot

    • pstore means last_log

    • tombstones means tombstones file

NOTE: Only supports Android 7.1

Android system signature file

Cloud storage


Timer switch

  • The device must have an RTC chip

    • RK808

    • HYM8563

  • Equipment is always powered

You can directly use cat and echo to operate the interface under /sys/class/rtc/rtc0.

Set boot time

For example, set it to boot after 120 seconds

# Turn on regularly after 120 seconds 
echo +120 >  /sys/class/rtc/rtc0/wakealarm
# View boot time 
cat /sys/class/rtc/rtc0/wakealarm
# Shut down 
reboot -p

Use of NPU

AIO-3399C(AI)

Detailed reference NPU use

AIO-3399JD4

Detailed reference NPU use

AIO-3399PRO-JD4

Detailed reference NPU use

ROC-RK3566-PC

Detailed reference NPU use

AIO-3568J

Detailed reference NPU use

ROC-RK3568-PC

Detailed reference NPU use

Turn on the touch effect

  • Open “Developer Options”

  • Enable Show taps

    • Android7.1
      Settings–>Developer options–>Show taps

    • Android10/Android11
      Settings–>System–>Developer options–>Show taps

  • Enable Pointer location

    • Android7.1
      Settings–>Developer options–>Pointer location

    • Android10/Android11
      Settings–>System–>Developer options–>Pointer location