Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


Sidebar

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

This is an old revision of the document!


VIM4 Change Boot Logo

Introduction

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.

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 via ADB

$ adb root
$ adb remount
$ adb push xxx.bmp /mnt/vendor/odm_ext/logo_files/bootup.bmp
$ adb shell sync
$ adb reboot

Change Boot Logo via 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 with your project path
Last modified: 2023/06/13 06:49 by hyphop