[MOD] Custom Boot Splash

ob1silvia

Senior Member
Mar 30, 2011
296
25
0
long beach
Thanks will try with TWRP

---------- Post added at 01:57 AM ---------- Previous post was at 01:42 AM ----------

Just tried to flash the zip in twrp had a boot loop issue had to restart then it came back on . Lol scared to restart phone . Any way no new splash
 

ob1silvia

Senior Member
Mar 30, 2011
296
25
0
long beach
I am flashing the custom spash screen

---------- Post added at 12:07 AM ---------- Previous post was at 12:05 AM ----------



So you used twrp to flash the custom spash?
Yes

---------- Post added at 12:22 AM ---------- Previous post was at 12:19 AM ----------

Perhaps its because of pit partition sda4 size ...
? Do not understand
 
  • Like
Reactions: Setialpha

ob1silvia

Senior Member
Mar 30, 2011
296
25
0
long beach
Sm g925p rooted 5.1.1 update b0f7 with custom twrp recovery. I wonder if the zip created is for only stock bootloader? Please some one chime in would like this installed but some thing is wrong with what im doing .
 

stormonya

Senior Member
Sep 22, 2014
295
56
0
Typically users beat me to the punch on things such as this. But no one has yet to do so, so here it is.

How to extract your param partition:

Code:
It's located in  /dev/block/sda4. On device terminal or in adb terminal as root run,

dd if=/dev/block/sda4 of=/sdcard/param.bin bs=4096
Now that your param partition has been dumped you can copy it off the device as I do to work with it. Untar it with this command on linux:
Code:
mkdir /param
cd param
tar xf /path/to/param.bin
Once its untared to the param directory, you will see the contents. logo.jpg being the file you wish to change.

Once you have found/made a proper logo/splash in the proper resolution of 1440x2560 copy it to the param folder overwriting the old logo.jpg, and run this command in the param folder to pack it back up:
Code:
tar cf - `ls | sort -t.` > /path/to/where/you/want/to/save/param.bin
NOTE: The param partition has limited space, so keep this in mind. I have successfully used a 400kb jpeg with out issues. I wouldn't go much more then that.

Place the param.bin back on your sdcard and run the following to flash it:
Code:
dd if=/sdcard/param.bin of=/dev/block/sda4 bs=4096
Reboot and enjoy.

Users wishing to deploy all these commands on device (if you don't run linux) here is a script I made, tested and working to do so. Place files on device accordingly.
Code:
#!/sbin/busybox sh

# Extracting  param partition
dd if=/dev/block/sda4 of=/sdcard/param.bin bs=4096
mkdir /sdcard/param
cd /sdcard/param
tar xf /sdcard/param.bin

# Replaceing logo.jpg, repacking and writing back to device
cp -f /sdcard/logo.jpg /sdcard/param/logo.jpg
rm -f /sdcard/param.bin
tar cf - `ls | sort -t.` > /sdcard/param.bin
dd if=/sdcard/param.bin of=/dev/block/sda4 bs=4096
Attached you will find a flashable zip of a custom boot screen i made. You're all welcome to use. As well as the Stock param.bin in case users wish to go back. And the image I made for the custom boot splash I'm attaching.

flashed with flashfire works great and looks great......i love it 920T
 

Svan987

Senior Member
Mar 10, 2014
160
135
73
Do you know a way to fix the boot splash size when you using density 480 and resolution 1080x1920 ? It's starting at default resolution then after some seconds it's switching to the custom one.

Thanx in advance if someone can help on that :good: