Skip to content

MiyooCFW/logo

Repository files navigation

logo

Instructions:

You can customize your boot-logo output by modyfing following files:

  • $HOME/logo.png - scrolling logo image
  • $HOME/logo.wav - scrolling logo sound
  • $HOME/logobg.png - background image

For images use PNG, for sound WAV (stereo, 22050 Hz, signed 16-bit PCM)

Building:

  • native linux build:
make clean
make
  • cross-compile for miyoo:
export SYSROOT=/opt/miyoo/arm-miyoo-linux-uclibcgnueabi/sysroot
export CROSS_COMPILE=/opt/miyoo/usr/bin/arm-linux-
make clean
make

You'll need to convert your logo image into a "0x" formatted hexadecimal data string and add it to "assets.h". (The same goes for the sound file.) You have to also count the total number of "initialisers", the comma separated values, in your hexadecimal string, and write their total number into the square brackets for the header identifier that contains your file.

Tips:

  • Make sure that your hex string in broken into newlines for ease of reading, and to avoid copy-paste complications with certain software.

Online tools/resources:

Hexadecimal to binary converter: http://tomeko.net/online_tools/hex_to_file.php?lang=en

Binary to hexadecimal converter: http://tomeko.net/online_tools/file_to_hex.php?lang=en

Comma counter: https://tools.knowledgewalls.com/noofcommascounter or https://www.8nog.com/counter/?hl=en

(Don't forget to add 1 to the total sum the counter gives you, for the last value in the string.)

About

Initial logo animation loaded before menu launch

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages