Skip to content

Instantly share code, notes, and snippets.

@supechicken
Created June 7, 2022 16:19
Show Gist options
  • Save supechicken/c57f8bb4b9dad2a29611ce05b1324b5c to your computer and use it in GitHub Desktop.
Save supechicken/c57f8bb4b9dad2a29611ce05b1324b5c to your computer and use it in GitHub Desktop.
[Tutorial]: Custom boot splash screen/animation on Chrome/Chromium OS

Custom boot splash screen/animation on Chrome/Chromium OS

Before you start...

You can find tutorials about these online

  • Enable Chrome OS developer mode
  • Disable root filesystem verification, remount root filesystem as read/write

Steps

  • Pick a .gif image that you wish to be the boot splash animation
  • Go to https://ezgif.com/split, upload the .gif file
  • Select Output images in PNG format in Split options
  • Click Split to frames
  • Unzip the downloaded archive
  • The filename of images in archive will be look like this:
frame_00_delay-0.11s.png
frame_01_delay-0.11s.png
...snip...
  • Rename those images to boot_splash_frame<frame_number>.png (replace <frame_number> with the frame number listed in the filename, frame00 in the filename represent to the 1st frame, so the final name of the image will be boot_splash_frame01.png, frame01 will be boot_splash_frame02.png and so on)
  • Copy those images to /usr/share/chromeos-assets/images_100_percent/, cover the original boot splash images stored there
  • Open /etc/init/boot-splash.conf with vim (or your favourite command line text editor)
  • Replace all --frame-interval 25 with --frame-interval <SECONDS_LISTED_IN_FILENAME * 1000> (<SECONDS_LISTED_IN_FILENAME> is the time interval listed in each image's filename (in seconds), then convert it to milliseconds (by multipling the value with 1000))
  • Reboot and check out the final result :)
@JTHaunter
Copy link

how do i revert back to default

@FirestarMWT
Copy link

how do i upload the images having probs rn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment