This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:common:configurations:change-boot-logo [2022/07/18 02:10] frank old revision restored (2022/07/13 18:12) |
products:sbc:common:configurations:change-boot-logo [2024/12/18 02:25] (current) xiong [kernel logo] |
||
|---|---|---|---|
| Line 28: | Line 28: | ||
| You can replace the default logo with your own **BMP** image. | You can replace the default logo with your own **BMP** image. | ||
| - | ==== Kernel Logo ==== | + | ==== Linux Kernel Logo ==== |
| Use the netpbm tool to convert png images to ppm images. | Use the netpbm tool to convert png images to ppm images. | ||
| Line 46: | Line 46: | ||
| If you’ve [[/ | If you’ve [[/ | ||
| + | |||
| ===== Android ===== | ===== Android ===== | ||
| + | Because RK merged the logo partition with the system partition into a single super partition after Android 10, there is no logo partition available to dynamically modify the boot logo. This means that a complete firmware build is required to achieve this operation. Now, we have added a new custom partition to facilitate the dynamic update of the logo. | ||
| + | |||
| + | |||
| + | ==== Logo Format ==== | ||
| + | |||
| + | <WRAP info > | ||
| + | *Where is original logo file | ||
| + | Logo file is stored in the kernel-6.1/ | ||
| + | |||
| + | *BMP format, should be: | ||
| + | *16bit RGB565 BMP format | ||
| + | *Resolution <= 1080P (1920 * 1080) | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | ==== Kernel Logo ==== | ||
| + | |||
| + | We use the adb command to push the prepared logo.bmp to the motherboard path / | ||
| + | |||
| + | ```shell | ||
| + | $ adb root | ||
| + | restarting adbd as root | ||
| + | |||
| + | $ adb remount | ||
| + | AVB verification is disabled, disabling verity state may have no effect | ||
| + | Remounted /system as RW | ||
| + | Remounted /vendor as RW | ||
| + | Remounted /odm as RW | ||
| + | Remounted / | ||
| + | Remounted /system_ext as RW | ||
| + | Remounted / | ||
| + | Remounted /odm_dlkm as RW | ||
| + | Remounted /product as RW | ||
| + | Remount succeeded | ||
| + | |||
| + | $ adb push logo.bmp / | ||
| + | logo.bmp: 1 file pushed, 0 skipped. 655.0 MB/s (4147272 bytes in 0.006s) | ||
| + | ``` | ||
| + | |||
| + | |||
| + | ==== Updage the logo by upgrate whole firmware ==== | ||
| + | |||
| + | 1) replace kernel-6.1/ | ||
| + | |||
| + | 2) build upgrate package | ||
| + | |||
| + | ```shell | ||
| + | $ cd PATH_YOUR_PROJECT | ||
| + | $ source build/ | ||
| + | $ ./build.sh -UCKAu | ||
| + | ``` | ||
| + | |||
| + | 3) Burn upgrate package update.img to your device you can refer How To Upgrate ,restart then you can see the new boot logo | ||