Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


Sidebar

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

VIM4 Change Boot Logo

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.

Linux

The U-Boot logo is located at /usr/share/fenix/logo/logo.bmp. The image format is BMP with a resolution of 500x500px and a bit-depth of 24 bits.

You can use Terminal to check the default logo image format:

$ file /usr/share/fenix/logo/logo.bmp
/usr/share/fenix/logo/logo.bmp: PC bitmap, Windows 3.x format, 500 x 500 x 24, image size 750002, resolution 2834 x 2834 px/m, cbSize 750056, bits offset 54

You can replace the default logo with your own BMP image.

Android

Image format:
  • 16bit RGB565 (BMP)
Resolution:
  • must be less 1080P (1920×1080 px)

Change Boot-Logo by ADB 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

VIM1S

1. Replace the device/khadas/kvim1s/logo_img_files/bootup.bmp logo file.

2. Build upgrade package:

$ cd PATH_YOUR_PROJECT
$ rm -rf out/target/product/kvim1s/
$ source build/envsetup.sh
$ lunch kvim1s-userdebug
$ make installclean -j8
$ make otapackage -j8

VIM4

1. Replace the device/khadas/kvim4/logo_img_files/bootup.bmp logo file.

2. Build upgrade package:

$ cd PATH_YOUR_PROJECT
$ rm -rf out/target/product/kvim4/
$ source build/envsetup.sh
$ lunch kvim4-userdebug
$ make installclean -j8
$ make otapackage -j8

3. Burn update.img to your SBC, you can refer How To Upgrade. Restart for changes to take effect.

  • Replace PATH_YOUR_PROJECT to your project path
Last modified: 2023/06/13 06:56 by hyphop