TWRP Flashable BootSplash ZIP and CMD/Terminal Option

Search This thread

Whiskey103

Senior Moderator / Member Advocate Admin / DC / RT
Staff member
Jun 6, 2009
10,012
20,442
44
Tell me, I’m lost . . .
www.whiskey103.nl
Just a simple TWRP Flashable BootSplash Zip for example to replace the warnings when you unlocked/rooted your device.
It will open up_param.bin and repack it with the jpg,s inside the zip.
Simply replace svb_orange.jpg , logo.jpg and booting_warning.jpg with a jpg of your own choice.
Make sure the images don't exceed 500kb, and keep exact same resolution (1440x3040 24bbp)

logos10.png


*** Download ***

Script:
Code:
#!/sbin/sh

OUTFD=$2
ZIP=$3

ui_print() {
  echo -n -e "ui_print $1\n" > /proc/self/fd/$OUTFD
  echo -n -e "ui_print\n" > /proc/self/fd/$OUTFD
}

cd /tmp
rm -rf arter97
mkdir arter97
cd arter97
unzip -o "$ZIP"

ui_print " - mounting data partition"
mount /data

if [ ! -e /data/media/0/up_param.bak ]; then
	ui_print " - backing up current up_param to /sdcard/up_param.bak"
	cat /dev/block/platform/13d60000.ufs/by-name/up_param > /data/media/0/up_param.bak
	chown 1023:1023 /data/media/0/up_param.bak
	chmod 664 /data/media/0/up_param.bak
fi

ui_print " - installing new logo.jpg"
chmod 755 tar
mkdir tartemp
cd tartemp
/tmp/arter97/tar -xf /dev/block/platform/13d60000.ufs/by-name/up_param
cp /tmp/arter97/logo.jpg .
chown root:root *
chmod 444 logo.jpg
touch *
/tmp/arter97/tar -pcvf ../new.tar *
cd ..
cat new.tar > /dev/block/platform/13d60000.ufs/by-name/up_param

ui_print " - installing new svb_orange.jpg"
chmod 755 tar
mkdir tartemp
cd tartemp
/tmp/arter97/tar -xf /dev/block/platform/13d60000.ufs/by-name/up_param
cp /tmp/arter97/svb_orange.jpg .
chown root:root *
chmod 444 svb_orange.jpg
touch *
/tmp/arter97/tar -pcvf ../new.tar *
cd ..
cat new.tar > /dev/block/platform/13d60000.ufs/by-name/up_param

ui_print " - installing new booting_warning.jpg"
chmod 755 tar
mkdir tartemp
cd tartemp
/tmp/arter97/tar -xf /dev/block/platform/13d60000.ufs/by-name/up_param
cp /tmp/arter97/booting_warning.jpg .
chown root:root *
chmod 444 booting_warning.jpg
touch *
/tmp/arter97/tar -pcvf ../new.tar *
cd ..
cat new.tar > /dev/block/platform/13d60000.ufs/by-name/up_param

ui_print " - unmounting partition /data"
umount /data > /dev/null 2>&1

ui_print " "
ui_print "finished"
ui_print "Edited for s10+ by Whiskey103"
cd /
rm -rf /tmp/arter97
sync

Installation method with terminal command without TWRP (pushing up_param.bin using dd cmd on phone):
Download up_param.bin
Place in root of internal memory

Open terminal on phone like Material Terminal for example:

command:
su

command:
dd if=/sdcard/up_param.bin of=/dev/block/platform/13d60000.ufs/by-name/up_param

Restore Stock ZIP
Or rename the up_param.bak on your SD into up_param.bin and use the dd cmd method to restore it.


Credits:
@Radzian - used his base zip and edited for s10
@ianmacd for pointing to the error in my first attempt.
 
Last edited:

Whiskey103

Senior Moderator / Member Advocate Admin / DC / RT
Staff member
Jun 6, 2009
10,012
20,442
44
Tell me, I’m lost . . .
www.whiskey103.nl
It's going great on the S10.

Now only an animated gif is missing.[emoji23]
Yea, that's something I will try in the future.
Iam still trying to work myself into this Samsung stuff.
Coming from HTC for almost a decade this Galaxy is basically putting me back in baby modus lol.
Small steps going forward, learning curve starting from zero here :)
 

1jkan

Senior Member
Jul 16, 2012
416
57
59
It's nice that you already have screen S10 but I would prefer without Magisk. It is possible?

Edit.
It's ok. I used Paint and removed the Magisk stamp. Now it's fun because my wife looked at the phone strangely when he restarted and saw this warning triangle and exclamation points asking if I ruined my phone ha h
 

Attachments

  • logo.jpg
    logo.jpg
    96.1 KB · Views: 502
Last edited:

Whiskey103

Senior Moderator / Member Advocate Admin / DC / RT
Staff member
Jun 6, 2009
10,012
20,442
44
Tell me, I’m lost . . .
www.whiskey103.nl
Installation method with terminal command without TWRP (pushing up_param.bin using dd cmd on phone):
Download up_param.bin
Place in root of internal memory

Open terminal on phone like Material Terminal for example:

command:
su

command:
dd if=/sdcard/up_param.bin of=/dev/block/platform/13d60000.ufs/by-name/up_param
 

Mr Anderson

Senior Member
Nov 14, 2008
210
20
Before I install this, how do I revert to stock if I want/need to? Do the originals get backed up, and if so how do I restore them (other than reinstalling the whole firmware)?
 

Whiskey103

Senior Moderator / Member Advocate Admin / DC / RT
Staff member
Jun 6, 2009
10,012
20,442
44
Tell me, I’m lost . . .
www.whiskey103.nl
Before I install this, how do I revert to stock if I want/need to? Do the originals get backed up, and if so how do I restore them (other than reinstalling the whole firmware)?
Rename up_param.bak on your SD card and rename up_param.bin.
Then you can push it back with the dd su command in OP
 

FdeKlerk

Senior Member
Oct 10, 2013
651
511
Johannesburg
Not booting.

Hi Dev.

So i made a few changes to the images and flashed the zip file with twrp.
This did not work and now my phone is stuck at black screen not even booting, is there a way to flash the recovery zip via odin since that is the only thing I can boot into.

Thank you.
 

Whiskey103

Senior Moderator / Member Advocate Admin / DC / RT
Staff member
Jun 6, 2009
10,012
20,442
44
Tell me, I’m lost . . .
www.whiskey103.nl
Hi Dev.



So i made a few changes to the images and flashed the zip file with twrp.

This did not work and now my phone is stuck at black screen not even booting, is there a way to flash the recovery zip via odin since that is the only thing I can boot into.



Thank you.
You can try flashing BL file from firmware zip with just up-param file in it with Odin.
Or your patched firmware fully with Home CSC to restore it without loosing data.


Not sure what you did to the zip to end up like this though.
 

Norup58

Senior Member
Jan 2, 2015
275
108
When I try to download the up_param.bin from the OP I get following error:

https://www.whiskey103.nl/index1.php?dir=SamsungS10-Plus/BootSplash/s10/
Incorrect format for file ./languages/da.txt on line 7.
Format is "variable name[tab]value"

No problem downloading the Restore Stock zip


*********************************
Ok I managed to download the up_param.bin using Tor.
When I place the file in Internal Storage (NOT Root or SDcard) and type the commands using Material Terminal I get error:
No such file or directory???
 
Last edited:

Whiskey103

Senior Moderator / Member Advocate Admin / DC / RT
Staff member
Jun 6, 2009
10,012
20,442
44
Tell me, I’m lost . . .
www.whiskey103.nl
When I try to download the up_param.bin from the OP I get following error:

https://www.whiskey103.nl/index1.php?dir=SamsungS10-Plus/BootSplash/s10/
Incorrect format for file ./languages/da.txt on line 7.
Format is "variable name[tab]value"

No problem downloading the Restore Stock zip


*********************************
Ok I managed to download the up_param.bin using Tor.
When I place the file in Internal Storage (NOT Root or SDcard) and type the commands using Material Terminal I get error:
No such file or directory???

But it should be in root of internal storage. Not sure where you placed it.
 

Whiskey103

Senior Moderator / Member Advocate Admin / DC / RT
Staff member
Jun 6, 2009
10,012
20,442
44
Tell me, I’m lost . . .
www.whiskey103.nl
I'm using Mixplorer and have tried to put the file in root of Root, root of Internal Storage but not root of SDcard.

Get the same error either in Root or Internal Storage???
No idea what you are trying, nobody reported that it isn't working.
You must be placing it in the wrong place.
Should be in root of INTERNAL SD card.
 

FdeKlerk

Senior Member
Oct 10, 2013
651
511
Johannesburg
Sort of fix.

You can try flashing BL file from firmware zip with just up-param file in it with Odin.
Or your patched firmware fully with Home CSC to restore it without loosing data.


Not sure what you did to the zip to end up like this though.

I've been an idiot as always.

Flashing BL works however then one ends up with "custom recovery..." error.
So to fix this I had to flash full patched rom with CSC HOME and then when booted to recovery wipe dalvik, cache and system partition leaving data and internal storage and then after that I flashed my custom rom.

Once booted. It was if I never had any issues.:eek:
 
  • Like
Reactions: Whiskey103

FdeKlerk

Senior Member
Oct 10, 2013
651
511
Johannesburg
Finally something nice.

I've been an idiot as always.

Flashing BL works however then one ends up with "custom recovery..." error.
So to fix this I had to flash full patched rom with CSC HOME and then when booted to recovery wipe dalvik, cache and system partition leaving data and internal storage and then after that I flashed my custom rom.

Once booted. It was if I never had any issues.:eek:

So thanks to @Whiskey103 I was able to get this working.
For those that like something different, here you go.
Ubzfypw.jpg

gxq1dRL.jpg

Zip attached.
 

Attachments

  • ninja.zip
    75.5 KB · Views: 34
Last edited:

FlatOutRU

Senior Member
Nov 6, 2010
836
104
Moscow
Samsung Galaxy Note 20 Ultra
I`m on snapdragon s10 version and this method doesnt work.

My path is /dev/block/platform/soc/1d84000.ufshc/by-name/

After doing ` dd if=/sdcard/up_param.bin of=/dev/block/platform/soc/1d84000.ufshc/by-name/up_param ` i got feedback:
3215+0 records in
3215+0 records out
1646080 bytes transferred in 0.019 secs (86635789 bytes/sec)

Rebooting and i see no changes
 

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    Just a simple TWRP Flashable BootSplash Zip for example to replace the warnings when you unlocked/rooted your device.
    It will open up_param.bin and repack it with the jpg,s inside the zip.
    Simply replace svb_orange.jpg , logo.jpg and booting_warning.jpg with a jpg of your own choice.
    Make sure the images don't exceed 500kb, and keep exact same resolution (1440x3040 24bbp)

    logos10.png


    *** Download ***

    Script:
    Code:
    #!/sbin/sh
    
    OUTFD=$2
    ZIP=$3
    
    ui_print() {
      echo -n -e "ui_print $1\n" > /proc/self/fd/$OUTFD
      echo -n -e "ui_print\n" > /proc/self/fd/$OUTFD
    }
    
    cd /tmp
    rm -rf arter97
    mkdir arter97
    cd arter97
    unzip -o "$ZIP"
    
    ui_print " - mounting data partition"
    mount /data
    
    if [ ! -e /data/media/0/up_param.bak ]; then
    	ui_print " - backing up current up_param to /sdcard/up_param.bak"
    	cat /dev/block/platform/13d60000.ufs/by-name/up_param > /data/media/0/up_param.bak
    	chown 1023:1023 /data/media/0/up_param.bak
    	chmod 664 /data/media/0/up_param.bak
    fi
    
    ui_print " - installing new logo.jpg"
    chmod 755 tar
    mkdir tartemp
    cd tartemp
    /tmp/arter97/tar -xf /dev/block/platform/13d60000.ufs/by-name/up_param
    cp /tmp/arter97/logo.jpg .
    chown root:root *
    chmod 444 logo.jpg
    touch *
    /tmp/arter97/tar -pcvf ../new.tar *
    cd ..
    cat new.tar > /dev/block/platform/13d60000.ufs/by-name/up_param
    
    ui_print " - installing new svb_orange.jpg"
    chmod 755 tar
    mkdir tartemp
    cd tartemp
    /tmp/arter97/tar -xf /dev/block/platform/13d60000.ufs/by-name/up_param
    cp /tmp/arter97/svb_orange.jpg .
    chown root:root *
    chmod 444 svb_orange.jpg
    touch *
    /tmp/arter97/tar -pcvf ../new.tar *
    cd ..
    cat new.tar > /dev/block/platform/13d60000.ufs/by-name/up_param
    
    ui_print " - installing new booting_warning.jpg"
    chmod 755 tar
    mkdir tartemp
    cd tartemp
    /tmp/arter97/tar -xf /dev/block/platform/13d60000.ufs/by-name/up_param
    cp /tmp/arter97/booting_warning.jpg .
    chown root:root *
    chmod 444 booting_warning.jpg
    touch *
    /tmp/arter97/tar -pcvf ../new.tar *
    cd ..
    cat new.tar > /dev/block/platform/13d60000.ufs/by-name/up_param
    
    ui_print " - unmounting partition /data"
    umount /data > /dev/null 2>&1
    
    ui_print " "
    ui_print "finished"
    ui_print "Edited for s10+ by Whiskey103"
    cd /
    rm -rf /tmp/arter97
    sync

    Installation method with terminal command without TWRP (pushing up_param.bin using dd cmd on phone):
    Download up_param.bin
    Place in root of internal memory

    Open terminal on phone like Material Terminal for example:

    command:
    su

    command:
    dd if=/sdcard/up_param.bin of=/dev/block/platform/13d60000.ufs/by-name/up_param

    Restore Stock ZIP
    Or rename the up_param.bak on your SD into up_param.bin and use the dd cmd method to restore it.


    Credits:
    @Radzian - used his base zip and edited for s10
    @ianmacd for pointing to the error in my first attempt.
    3
    It's going great on the S10.

    Now only an animated gif is missing.[emoji23]
    Yea, that's something I will try in the future.
    Iam still trying to work myself into this Samsung stuff.
    Coming from HTC for almost a decade this Galaxy is basically putting me back in baby modus lol.
    Small steps going forward, learning curve starting from zero here :)
    2
    Works perfectly:good::good::good:
    Thx for the feedback and unknowingly being my guinea pig, or labrat.. Whatever you prefer :)
    Couldn't test it myself but it worked on my S10+ and basically they have the same bootloader to an extent but still.
    2
    It's nice that you already have screen S10 but I would prefer without Magisk. It is possible?

    Edit.
    It's ok. I used Paint and removed the Magisk stamp. Now it's fun because my wife looked at the phone strangely when he restarted and saw this warning triangle and exclamation points asking if I ruined my phone ha h
    2
    Installation method with terminal command without TWRP (pushing up_param.bin using dd cmd on phone):
    Download up_param.bin
    Place in root of internal memory

    Open terminal on phone like Material Terminal for example:

    command:
    su

    command:
    dd if=/sdcard/up_param.bin of=/dev/block/platform/13d60000.ufs/by-name/up_param
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone