01-Common_Android_System_Customizations
SDK - Refers to the source code path
console - Refers to the debugging console
ADB - Android Debug Bridge command-line tool. Hereinafter, it refers to an environment where ADB can be run.
1. Boot Logo Customization
The boot logo is divided into two parts: the Uboot stage and the Kernel stage.
The Uboot stage parses the image kernel-5.10/logo.bmp.
The Kernel stage parses the image kernel-5.10/logo_kernel.bmp.
(SDK)$ ls kernel-5.10/*.bmp
logo.bmp
logo_kernel.bmp2. Boot Animation Customization
Place the boot animation you created in the specified directory.
(SDK)$ ls device/rockchip/common/bootshutdown/bootanimation.zipOpen the configuration.
(SDK)$ vim device\rockchip\common\BoardConfig.mk
-BOOT_SHUTDOWN_ANIMATION_RINGING ?= false
+BOOT_SHUTDOWN_ANIMATION_RINGING ?= true3. Default Screen Orientation
Default Modification of Display Orientation
$(dev) is selected according to the motherboard CPU.
K1/K1B - rk356x
K3 - rk3562
K8 - rk3588
Modify Display Orientation via ADB
Modify Touch Orientation
You can refer to the LCD configuration document: Single Touch Screen Driver Configuration
4. Default Hide Status Bar
The latest firmware can be controlled by naming or sending broadcasts from an app.
Hide the status bar via the command line.
Show the status bar via the command line.
The APK for testing app broadcasts is located under the network drive:
To modify the default hiding of the status bar in Android 13:
To modify the default prohibition of status bar pull-down in Android 13:
5. Default Hide Navigation Bar
The latest firmware can be controlled by naming or sending broadcasts from an app.
Hide the navigation bar via the command line.
Show the navigation bar via the command line.
The APK for testing app broadcasts is located under the network drive:
To modify the default hiding of the navigation bar in Android 13:
To use gesture navigation by default in Android 13:
6. Embed Third-Party APPs
Refer to Settings2.apk.
Place your APK and Android.bp in rk-android13.0\vendor\rockchip\common\apps\Settings2.
Android.mk Method
Android.bp Method
Add the compilation target to PRODUCT_PACKAGES.
7. Start APP Automatically on Boot
Start the APP after Receiving the Boot Broadcast
Modify and add the APP's permissions and broadcast receiver in
AndroidManifest.xml.
Add the broadcast receiver
MyReceiver.java.
Preinstall the app to
/system/priv-app/.
Method 1: Compile and preinstall into the source code. Refer to [Embed Third-Party APPs](# 6. Embed Third-Party APPs).
Method 2: Preinstall via the push method.
8. Default Language
en_US
English
zh_CN
Chinese
9. Default Time Zone
[To be supplemented]
10. Default Never Sleep
11. Default Disable Lock Screen
12. Sign APK
Resign in the SDK Source Code
Resign Using Signing-Related Files
The signing-related files required in the SDK:
Resign according to the provided files. Adjust the specific paths as needed.
13. Network ADB
For network ADB, you need to start the 5555 port service via ADB first.
Start Port 5555 Automatically on Boot
You need to operate via USB ADB.
14. HDMI RX APK Customization
The K8 has one HDMI RX input. Android can display the HDMI RX screen by opening the HdmiIn APK.
The path of the HdmiIn APK:
Configure the HDMI in screen to be full-screen.
15. Modify Debug Port Baud Rate
Modify the Path
Modify the rockchip,baudrate Content
rockchip,baudrate ContentRockchip Official Documentation
Rockchip has stored official documentation in the code: RKDocs.
Last updated