Firefly version
- View the firmware version
-
In the Settings
Settings-->About tablet-->Firefly versionfor 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 numberat 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)
-
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 savedpmsg-ramoops-0: Last user space log, android log
Log is automatically saved
Way one (recommended use)
-
Enable automatic log saving
- Android7.1
Settings-->Developer options-->Android bug collector- Android10/Android11/Android12
Settings-->System-->Developer options-->Android LogSave -
reboot device
-
There are log related files in the
/data/logsdirectory of the device (**Android 10 and above: **/data/vendor/logs)android: system logcatkernel: kernel kmsg
Way two
-
Enable
Enable logging to saveSettings-->Developer options-->Enable logging to save -
reboot device
-
There are log related files in the
/data/media/0/.LOGSAVEdirectory of the devicexxxx_kmsg.log: kernel kmsgxxxx_logcat.log: system logcat
NOTE: Only supports Android 7.1
Way three
-
Enable
Android bug collectorSettings-->Developer options-->Android bug collector -
reboot device
-
There are log related files in the
/data/media/0/rk_logsdirectory of the deviceCOPY-COMPLETEBmeans log has been copiedanrmeans ANR filebugreport.logmeans the bugreport filelogsmeans logcat, kmsg after each bootpstoremeans last_logtombstonesmeans 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 -pUse of NPU
| CPU | Board |
|---|---|
| RK3399 | AIO-3399C(AI) |
| RK3399Pro | AIO-3399Pro-JD4 |
| RK3566 | ROC-RK3566-PC |
| RK3568 | AIO-3568J, ROC-RK3568-PC |
| RK3588 | ITX-3588J, ROC-RK3588S-PC |
Turn on the touch effect
- Open "Developer Options"
- Enable
Show taps- Android7.1
Settings-->Developer options-->Show taps - Android10/Android11/Android
Settings-->System-->Developer options-->Show taps
- Android7.1
- Enable
Pointer location- Android7.1
Settings-->Developer options-->Pointer location - Android10/Android11/Android12
Settings-->System-->Developer options-->Pointer location
- Android7.1
Rockchip Encoder/Decoder
MediaCodec
Android's MediaCodec calls the Rockchip Encoder/Decoder by default.
If you need native api, you can use MPP.
MPP
Media Process Platform (MPP) provided by Rockchip is a general media processing software platform for Rockchip chip series. For applications the MPP platform shields the complex lower-level processing related to chips. Its purpose is to shield the differences between different chips and provide a unified media process interface (MPI) to users.
- Documents:
SDK/RKDocs/common/MPP/ - Source Code: https://github.com/rockchip-linux/mpp

