FORUMS
Remove All Ads from XDA

[HOW-TO]-[param-mod]-[BOOTLOGO]

2,811 posts
Thanks Meter: 1,822
 
By tys0n, Senior Member on 21st September 2013, 03:33 PM
Post Reply Email Thread
[i8190][HOW-TO]-[param-mod]-[BOOTLOGO]

!!Disclaimer!!
You will be responsible for your own work. Don't blame me for anything that might go wrong with your phone.
I've done this and it worked just fine, but then again...i'm not you

----------------------------------------------------------------------------------------------------------------------------------------------------------
Ref. and research:
What is param.lfs, and why do we have it?

Param.lfs is needed for the bootloader to go on with the boot. Inside your phone there's a /lfs-partition which works as a image cache for the bootloader. It contains the bootimages, charging, warning, etc etc.
If image is not there it will fail to boot.

After extracting all images in param.lfs with "param-tools" I noticed there was a difference from the param folder in the phone.
One picture was missing in param.lfs.

In "/mnt/.lfs" there is a "logo.jpg" which is nowhere to be found in param.lfs.
param-extracted.zip
As you see in the zip, all bootimages are very low-res (96X160) but that "logo.jpg" in device is 480X800 so I realized that it must be created inside device on first boot after flash, somehow rendered from the two low-res images inside param.lfs.
I asked a few friends with L/N-models about their logo.jpg and they confirmed that it was there, but of course with the bootimage for their L/N-model.
I copied the "logo.jpg" from device and dd'd the param-partition from device and started searching for that "logo.jpg"...

This is where my work start.
Ok so we all got it, but it's different for all models, right. What if I change the 640X480 "logo.jpg" from the dd'd param instead of edit the small 90X160 model-specific images that other how-to's and mods suggested, which would have to be done for all models.... A total of six images!
This way, edit one 640X480 "logo.jpg" should make it work on all models, and it did!
So, how do we look whats inside param, and what do we look for?
We have to use a hexeditor to be able to do anything. I used HxD. Other editors work as well, but they have different options for copy/paste etc.
A *.jpg in hex always starts with "FF D8" and ends with "FF D9" (Ref.)

How to do it..

First you'll have to make a "logo.jpg". Choose your tools for that as it will not be covered in this how-to.
Save your created picture as logo.jpg, 480X800, NOT BIGGER THAN 64673bytes. (176241 in octal numbers)

This is only safe with this specific param.(Attached at the buttom of post) Other params may have the picture in different offset.

Open attached param.lfs in HxD.
Click image for larger version

Name:	param1.JPG
Views:	1889
Size:	236.1 KB
ID:	2272806
We will work with octal values.
Choose edit/select block.
Start:02464000 --> End: 02662240 (The lenght should now be 176241)
Click image for larger version

Name:	param3.jpg
Views:	1786
Size:	20.1 KB
ID:	2272807
Click image for larger version

Name:	param4.JPG
Views:	1549
Size:	219.6 KB
ID:	2272808Start of block
Click image for larger version

Name:	param5.JPG
Views:	1253
Size:	233.0 KB
ID:	2272809End of block
Go to File/new. A new empty tab will open.
With the new tab in front -->Edit/insert bytes.
Click image for larger version

Name:	param6.jpg
Views:	1177
Size:	74.4 KB
ID:	2272813
Bytecount must be same as the lenght-value from the block we marked in original param.lfs (176241)
You'll get a notification, just klick yes.
Now we have an empty block in the same lenght as the picture we want to change.
Open your 480X800 logo.jpg in HxD. Right klick/select all, then copy.
Go back to the empty file we made, right klick/paste write. (make sure you runnung HxB in overwrite mode.)
Click image for larger version

Name:	param7.jpg
Views:	1259
Size:	151.3 KB
ID:	2272814
Save it as logo.jpg.
We should now have a new logo.jpg with exact the same lenght as the one in param.lfs.
Copy it the same way we did before, but now you paste write it into the marked space in param.lfs.
Save it as param.lfs and make sure its not bigger than original param.lfs.
You're done!
Now you can open (not unzip) the attached cwm-zip and overwrite the param.lfs in there, and flash in your custom recovery.
The one inside is an inverted i8190 stock image. Black on white background.
Click image for larger version

Name:	logo.jpg
Views:	1568
Size:	63.2 KB
ID:	2272795

Some of the params I've made so far. Here you'll also find odin flashable params if anything goes wrong. Download mode will still be accessable.

I believe this should work for other Samsung devices as well, with their specific param, and the right offsets for that param.

Thanks to @ketut.kumajaya for param-tools, @DemonWav for reference for where to start.
Attached Files
File Type: zip i8190-CWM-param.zip - [Click for QR Code] (719.2 KB, 1260 views)
File Type: zip orig_param.zip - [Click for QR Code] (576.7 KB, 1333 views)
The Following 9 Users Say Thank You to tys0n For This Useful Post: [ View ] Gift tys0n Ad-Free
 
 
21st September 2013, 03:33 PM |#2  
Same procedure, different values..

Samsung Galaxy Exhibit SGH-T599
Click image for larger version

Name:	logo.jpg
Views:	1256
Size:	60.8 KB
ID:	2272892Original logo.jpg (64673byte)
Original param.lfs sgh-t599-param.zip
Octal values in original param: 3274000-->3465472. Length: 171473
The Following 2 Users Say Thank You to tys0n For This Useful Post: [ View ] Gift tys0n Ad-Free
21st September 2013, 05:19 PM |#3  
Unjustified Dev's Avatar
Recognized Developer
Flag Memphis , TN
Thanks Meter: 13,164
 
Donate to Me
More
Tbh I am still lost lol .


Sent from my _______ . You fill in the blank
21st September 2013, 05:30 PM |#4  
Quote:
Originally Posted by Unjustified Dev

Tbh I am still lost lol .


Sent from my _______ . You fill in the blank

Haha. I'm no hex guru either Still learning.
I'll see if I can make one with Bless Hex Editor in linux and make a how-to for that also
The Following User Says Thank You to tys0n For This Useful Post: [ View ] Gift tys0n Ad-Free
22nd September 2013, 05:19 AM |#5  
Recognized Developer
Flag Bekasi
Thanks Meter: 14,180
 
Donate to Me
More
Glad to know, as a reference my script useful here. How about creating a param.lfs as a base for param-tools, so no need any hex editor for a different boot logo.
22nd September 2013, 07:34 AM |#6  
Talking
Quote:
Originally Posted by ketut.kumajaya

Glad to know, as a reference my script useful here. How about creating a param.lfs as a base for param-tools, so no need any hex editor for a different boot logo.

Yes, param-tools is really a great tool Thank you for that!

I do't know much about scripts but it's a good idea
Do you mean like put the param and new logo.jpg in a folder, run a command to insert it to param?
19th November 2013, 05:06 PM |#7  
Junior Member
Flag Hollywood
Thanks Meter: 6
 
More
Quote:
Originally Posted by tys0n

Same procedure, different values..

Samsung Galaxy Exhibit SGH-T599
Attachment 2272892Original logo.jpg (64673byte)
Original param.lfs Attachment 2272887
Octal values in original param: 3274000-->3465472. Length: 171473

Hello tys0n, any chance I could get you to PM me an odin or cwm flashable param.lfs for the T599n? I am trying to get Cygwin / param tools to work but my system just isn't up to the task. Greatly appreciated and keep up the great work!
19th November 2013, 05:57 PM |#8  
Hi. I think I only got a param for T-Mobile.
T599n is metro, right?
If yours is fine then maybe you can make a backup, zip it, and attach it here so I can take a look at it

Sent through time and space from my s3mini/CM10.2
24th December 2013, 03:42 PM |#9  
Junior Member
Flag Hollywood
Thanks Meter: 6
 
More
Thumbs up
Quote:
Originally Posted by tys0n

Hi. I think I only got a param for T-Mobile.
T599n is metro, right?
If yours is fine then maybe you can make a backup, zip it, and attach it here so I can take a look at it

Sent through time and space from my s3mini/CM10.2

Hey tyson, sorry for taking so long to follow-up...holidays were upon us and took my time away. Anyway...i was able to grab the param.lfs from your previous post in this thread and dd the file through terminal emulator. Worked, no more scrambled boot screen. thanks to everyone who posted the information somewhere in these convoluted threads.
12th February 2014, 02:09 PM |#10  
Junior Member
Thanks Meter: 0
 
More
Hi evry one
Tyson please i need param.ifs for I8190N. I flash I8190 param.ifs and boot jpg now is I8190. Please can you givme to flash back.
12th February 2014, 02:32 PM |#11  
Senior Member
Thanks Meter: 523
 
More
Quote:
Originally Posted by joker79

Tyson please i need param.ifs for I8190N. I flash I8190 param.ifs and boot jpg now is I8190. Please can you givme to flash back.

It is available here http://get.maclaw.pl/?id=51
The Following User Says Thank You to piskor For This Useful Post: [ View ] Gift piskor Ad-Free
Post Reply Subscribe to Thread

Tags
bootlogo, i8190, mod, param, samsung

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes