Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim4:configurations:change-boot-logo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:vim4:configurations:change-boot-logo [2022/07/12 04:47]
hyphop
products:sbc:vim4:configurations:change-boot-logo [2023/06/13 06:56] (current)
hyphop [Introduction]
Line 1: Line 1:
 +{{indexmenu_n>20}}
 +
 +
 ~~tag>VIM4 logo~~ ~~tag>VIM4 logo~~
-====== Change Boot Logo ======+====== VIM4 Change Boot Logo ======
  
 ===== Introduction ===== ===== Introduction =====
  
 +Users can use a custom Boot-Logo to replace default Khadas Boot-logo, there we talk about U-Boot stage logo, which will be displayed first after reboot.
 +
 +/*
 This document mainly introduces how to Change Boot Logo. The document is divided into two parts, the first part is for the Ubuntu platform, and the second part is for the Android platform. This document mainly introduces how to Change Boot Logo. The document is divided into two parts, the first part is for the Ubuntu platform, and the second part is for the Android platform.
- +*/ 
-===== Ubuntu =====+===== Linux =====
  
 ==== U-Boot Logo ==== ==== U-Boot Logo ====
  
 The U-Boot logo is located at ''/usr/share/fenix/logo/logo.bmp''. The U-Boot logo is located at ''/usr/share/fenix/logo/logo.bmp''.
-The image format is BMP with a resolution of ''500x500px''and bit-depth of ''24 bits''.+The image format is BMP with a resolution of ''500x500px'' and bit-depth of ''24 bits''.
  
 You can use Terminal to check the default logo image format: You can use Terminal to check the default logo image format:
Line 24: Line 30:
 ===== Android ===== ===== Android =====
  
 +==Image format:==
 +  * 16bit RGB565 (BMP)
 +==Resolution:==
 +  * must be less 1080P (1920x1080 px)
 +
 +## Change Boot-Logo by ADB shell
 +
 +```shell Change Boot Logo by ADB shell
 +$ adb root
 +$ adb remount
 +$ adb push xxx.bmp /mnt/vendor/odm_ext/logo_files/bootup.bmp
 +$ adb shell sync
 +$ adb reboot
 +```
 +
 +## Change Boot-Logo by Upgrading the Firmware
 +
 +<tabbox VIM1S> 
 +1. Replace the ''device/khadas/kvim1s/logo_img_files/bootup.bmp'' logo file.
 +
 +2. Build upgrade package:
 +```shell 
 +$ cd PATH_YOUR_PROJECT
 +$ rm -rf out/target/product/kvim1s/
 +$ source build/envsetup.sh
 +$ lunch kvim1s-userdebug
 +$ make installclean -j8
 +$ make otapackage -j8
 +```
 +
 +<tabbox VIM4>
 +1. Replace the ''device/khadas/kvim4/logo_img_files/bootup.bmp'' logo file.
 +
 +2. Build upgrade package:
 +```shell
 +$ cd PATH_YOUR_PROJECT
 +$ rm -rf out/target/product/kvim4/
 +$ source build/envsetup.sh
 +$ lunch kvim4-userdebug
 +$ make installclean -j8
 +$ make otapackage -j8
 +```
 +</tabbox>
  
 +3. Burn update.img to your SBC, you can refer [[products:sbc:vim4:install-os:install-os-into-emmc-via-usb-tool|How To Upgrade]]. Restart for changes to take effect.
 + 
 +<WRAP important >
 +  * Replace ''PATH_YOUR_PROJECT'' to your project path
 +</WRAP>
Last modified: 2022/07/12 04:47 by hyphop