[Nexus 9 Themes and Apps] makers_mark:
This is a Windows batch script that converts png, jpg, bmp, or tif images into a raw rgb565 image, then flashes it to your Nexus 9 to replace the stock Google Splash Screen. With version 1.6 this script will work with any resolution image; using some built in scaling, cropping, and rotating. I have successfully tested this on my Wifi 32 GB Nexus 9 using Windows 7 Home Premium, but the batch file should work for all versions of Windows, even XP.

If you do not have windows and want instructions on how to do this manually, click the button below.

Make sure you have fastboot.exe, adb.exe, and your raw rgb565 image that you want to use in the same folder. Issue this command:

adb reboot bootloader

Please verify that you are in "FASTBOOT USB" mode and not "HBOOT"

In the next command replace imagefile.raw with the name of the raw file you want to use.

Please verify that your raw image is 6291456 bytes in size. This is checked for in my script, but you need to check it!

Why?? Because total pixels (1536*2048=3145728) * Bpp (2) = 6291456​

fastboot flash splash1 [i]imagefile.raw[/i]
fastboot reboot

That's it!​

You need to have an unlocked bootloader.

You have to have your necessary ADB drivers installed and functioning correctly.

You have to unzip the n9splash1.6.zip file into a new directory.

You can use pngs, bmps, jpgs, tifs, ....Pretty much any common format

To use, just drag and drop your image onto the n9splash.bat file

Make sure your Nexus is turned on and plugged into your computer

Follow the prompts from there

This download contains the programs ffmpeg.exe, adb.exe, & fastboot.exe.

It also contains my batch script, which can be viewed in the following post.

Notes:

To flash back to stock with v1.6, just open the "sys" folder. Inside is a "stock.bat" file. Run it, and of course make sure your device is plugged in to your computer and that your device is on.

With v1.6 you can also flash raw rgb565 files. The catch is that they have to already be the correct size, in bytes. There is no image information (like width, height, headers,...) in raw files as they are nothing but pixel data. So I can't take a raw file of yours and turn it into a ....x.... 2bpp image without knowing what the original width and pixel format is.

I check the size of the file several times before it is ever flashed, so you don't have to worry about a bad conversion being flashed.

Believe it or not the file size is the most important thing, it does not matter one bit what the file contains. But if it is 6291456 bytes, guess what? You are gonna have a new splash screen. It might look like a snow storm on your grandmothers TV, but there is no difference in rgb565 data and an executable files data, there is still 8 bits in a byte and that byte still has the same potential values.:cyclops:

If you don't care to see your images open up before rotating, or before reconverting and showing them to you before flashing, you can edit the n9splash.bat file and change:

set "showbeforeflashing=yesure"
set "showbeforerotating="

If you want it to show you the image, put anything to the right of the "=" sign. If you don't want it to open the image, have nothing after the equal sign (except for the closing quote). And of course save the file after you change it.

Version 1.6 probably will not work on Windows XP. You may get it to work by editing this line at the top of the batch file:

set "usedefaultviewer="

to

set "usedefaultviewer=yes"

Changelog:

Nov 9th, 2014 v1.6

Added the ability to use any resolution photo

If image needs to be rotated, it is automatic, you just choose right or left

Added an automatic aspect checker, and scaler

Added drag and drop support for images already in rgb565 pixel format

Added the binary copy of the stock splash screen from the bootloader

Added a stock.bat program in the sys folder to quickly flash binary stock image

Added a display of the image, if it needs to be rotated

Added a conversion to png after converting your image to raw to check before flashing

Nov 7th, 2014 Initial Upload v1.0

I take no responsibility for any damage caused by you trying this.

The script can be found in the second post!

Download

Nexus 9 Splash Tool v1.6

Download

Nexus 9 Splash Tool v1.0

[YOUTUBE]kPU-cD2BCIs[/YOUTUBE]

Below I have provided some simple examples. A negative stock one and another one using the same 'catull' font that Google uses, but with the text "Nexus IX" instead.