• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Themes Splash Image Converter Utilities

M

ModdingMyMind

Guest
https://github.com/ModdingMyMind/Android_Splash_Image

Requires NBIMG/to565, BUSYBOX, and GM (GraphicsMagick)!

NBIMG/to565 and GM are all included in this repo. They have been statically compiled for ARM to work with PRE-JB devices as well as being in compliance with Android L (latest release).

-- Clone, or download Repo
-- Place binaries and script to /system/bin on your Android device
-- Set permissions to 755 (rwxr-xr-x)
-- Open Terminal then type and enter, SPLASH, to run the script.
-- Enter the root directory of where your image(s) are located as requested by the script
-- Enter your device resolution as requested by the script
-- Select either .img or .rle format
-- Check directory after completion, enjoy

Ok, so, what exactly does this script do? Valid question, so let me go ahead and answer this for you.

When you run the script it will ask where the image(s) are located on your device. It will check to see if the directory exists and if it doesn't it will let you know. This check is mainly there in case you made a typo (I recommend copying and pasting if this is a problem for you).

Next, it will ask for your device resolution so it will know what size to make the image. Again, it will check the info you tell it and if not correct it will ask you again.

The script will then ask you if you wish to convert the pictures to either "splash".img format or "splash".rle format. Pick your option.

Once the script has this information it will proceed to read the entire directory and take note of all the pictures. The pictures do not have to already be in .bmp format. They can be .jpg, .png, etc.

Important: The script will check for Busybox, gm, nbimg, and to565 as needed and if what is needed to run the script is not found it will inform you then abort.

After it takes note of all your images it will proceed to use GraphicsMagick to resize the images based on the info you gave it as well as convert it to .bmp or .raw. Afterwards, it will call on nbimg/to565 to convert the newly created .bmp/.raw image in to the properly formatted splash image whether it be .img or .rle based on the option you initially chose at the beginning.

It's rather simple but very useful when dealing with multiple images.

It doesn't take long for the process even if you are dealing with, say, 50 pictures lol.

When it is finished go to the directory and you will see the .img or .rle and picture for each. The picture is kept so you may view it through your gallery and determine if you will like it as your splash screen. If you do, then go to the .img or .rle file of that picture and rename it accordingly.

I won't go in to details on how to apply the images since I expect this thread to be used as assistance for devs out there - experience is expected in this case.

-- Happy Hunting! :D
 
  • Like
Reactions: Lordvincent 90
ive got it all set up as per your directions, and it seems to go fine*till i get to the resolution part, my screen resolution is 320x480. when i enter that it asks for a correct resolution. if thats not what its asking then i would like some clearification please
1d733511f0e3a4795439d63d68c76c19.jpg


02cdd5c757d3f0022f17f9f9a51774e9.jpg


2fc119a188f623db3904433ff5df2d9f.jpg


Make sure you aren't making a typo. As you can see in the images above, it works :).
 
Upvote 0
16hvhc6.png


116rv4g.png


as u can see im doing exactly what you are maybe i dont have it set up right? im using a samsung galaxy rush sph-m830 and im trying to make this img my new boot logo

9fyyxy.png
Is busybox symlinked? I see you have it installed, but the script calls on commands which are symlinked to busybox. That is the only issue I can think of at the moment. I may need to add this check in to the script.

There is a difference between having to type "busybox sed" versus "sed".
 
Upvote 0
Update, got it fixed, then ended up hard bricking it after I flashed a customs boot image I made, I changed the wrong thing lol! So I got a new one and its working great, just trying to use the new rle file doesn't work, seems to work but the same logo shows as if nothing changed, and I'm not sure if the init.rc file has anything to do with it when it say : export ANDROID_LOGO 1. As I understand it that just means the logo is enabled, but it also may mean the boot loader is enabled. I changed it on my last phone to 0 and it doesn't turn on, charge, nothing. So short and simple, how can I get my logo working on this model? Its Samsung Galaxy Rush SPH-M830 Boost mobile, let me know if you need any more info, and as far as I know no one has been able to change the logo nor made a debrick image, or successfully pulled the pit file from this model
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones