Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Removal of BootLogo

OP mad-freaky

26th February 2014, 11:28 AM   |  #1  
OP Junior Member
Flag Amsterdam
Thanks Meter: 2
 
14 posts
Join Date:Joined: Feb 2014
More
Hello XDA!

Alright, I know that this subject has come up a couple of times on these forums and that there is no solution yet. But the last couple of days this has become a sort of personal vendetta kind of thing for me, and I want to see if we can maybe get a little further on this subject.

Bear with me a little bit because I am still quite noobish so things I say might not be true or make any sense.

So, what I am talking about is the removal of the BOOTLOGO, not to be mistaken with the BOOTANIM. I already know how to change the BOOTANIM and changed it to some delicious visuals, so this is not needed.

Furthermore I know that you can change the BOOTLOGO on the american versions of the Galaxy S3 with a simple .zip. This is of course is really awesome and stuff, but sadly I only have an international I9300, so it won't work for me.

So my first idea was to dig into the boot.img and see what I could do to make sure the BOOTLOGO just won't show. So I looked at the init.rc and found the following line:
export ANDROID_BOOTLOGO 1

I thought I had hit jackpot! not to rub any dirt on anyone's face, but I thought, "How could nobody on XDA have found this out????!!?!" So I changed it to:
export ANDROID_BOOTLOGO 0

Installed my ROM with this boot.img in it and waited, and .... still saw a BOOTLOGO, also a BOOTANIM... so.. it didn't work... Also when I pulled the init.rc using Android Commander is still showed the line "export ANDROID_BOOTLOGO 0" but apparently to no avail.

So I had kind of given up... I had read on different threads that the BOOTLOGO image is buried far into the depths of the filesystem that it isn't even changed when you install a rom! So I thought I would give up...

Until..:
A friend of mine had done something horribly wrong with his glass over his proximity sensor, so instead of just changing the glass we decided to do this software wise. I had found this thread where you could re-calibrate the sensor rewriting something in the efs file system. And this worked! quite easily actually.

And suddenly it hit me, it is probably the efs folder where the BOOTLOGO image is stored! So I made a backup of my efs folder and opened that.. (this took more tries, and I'm not sure with which steps I took to do this, but I'm willing to look it up .)
I found a couple of files but only 3 files bigger than 1kb (this is the only thing my windows 8 wants to show) and I think that the file with the image in it will probably be bigger than 1 kb.

So searching google and XDA I learned that if you want to do crazy things with IMEI and unlocking your phone and such you target the file .nv_data.bak, which is one of the bigger files. So I tried opening it with Notepad++ and HxD but I cannot make any sense of it...

The truth is I was hoping to find a .rle in this folder, which I could magically replace with my own BOOTLOGO and that would be it.

Bottom line:
I was hoping that someone could tell me if I am looking in the right direction (the efs folder and the .nv_data.bak file) and maybe even give directions on how to go further on from here to change the BOOTLOGO...

any ideas?

I would really really really like to get this thing done.

Frank

Info:
Phone: Samsung Galaxy S3 International (I9300)
Rom: SuperNexus 3.0 (would like to use SuperNexus 4.0 but I somehow get problems with Android Commander...)
Kernel: no clue (the one that came with SuperNexus)
26th February 2014, 11:40 AM   |  #2  
Andr3y29's Avatar
Senior Member
Flag Buzau
Thanks Meter: 151
 
396 posts
Join Date:Joined: Jan 2013
More
Install Xposed Installer and search the module called "Xblast Tools" ! It has an option to disable Bootanimation
26th February 2014, 12:20 PM   |  #3  
OP Junior Member
Flag Amsterdam
Thanks Meter: 2
 
14 posts
Join Date:Joined: Feb 2014
More
Andr3y29
Thanks for your reply!

The thing you are talking about seems to be about the boot animation what I referred to as BOOTANIM. This is the animation that shows stuff like Cyanogenmod or something related to android or your carrier.
I'm talking about the BOOTLOGO, which comes before the BOOTANIM. The BOOTLOGO only shows a black screen with white letters saying "SAMSUNG GALAXY SII (I9300)" and this is what I want to remove.

Frank
The Following User Says Thank You to mad-freaky For This Useful Post: [ View ]
26th February 2014, 01:49 PM   |  #4  
boomboomer's Avatar
Senior Member
Thanks Meter: 729
 
3,336 posts
Join Date:Joined: Jun 2010
Bootlogo is contained within the bootloader, this has never been modified for the i9300 as there is no need -the American S3 is very different in many ways.

Sent from my GT-I9300 using Tapatalk
26th February 2014, 03:36 PM   |  #5  
Senior Member
Thanks Meter: 4,425
 
23,044 posts
Join Date:Joined: Oct 2010
As above and see many identical posts .
26th February 2014, 04:04 PM   |  #6  
OP Junior Member
Flag Amsterdam
Thanks Meter: 2
 
14 posts
Join Date:Joined: Feb 2014
More
boomboomer, thanks!

So, i guess looking in the efs folder is definitely the wrong place.

googling for the bootloader I found the following thread. Here someone is trying to change the bootlogo, and the conclusion seems to be that I need to change the sboot.bin.

So, i guess I'm going to research that!

thanks!
Frank
18th March 2014, 03:32 PM   |  #7  
OP Junior Member
Flag Amsterdam
Thanks Meter: 2
 
14 posts
Join Date:Joined: Feb 2014
More
Ok, I made some progress

I downloaded the I9300 firmware from Sammobile.com and unpacked it and opened up the Sboot.bin. I couldn't open it with any archiving software but I could with HxD (Hexidecimal editor). There was a lot of gibberish but also some normal sentences and filenames, so I thought it looked a lot like a normal folder (or archive) that I just cannot open normally. But I thought that I might find the BOOTLOGO here in hex code.

So I opened up the logo.jpg from the param.bin in HxD and found ".Adobe Photoshop CS4 Windows.2012:04:23 14:30:18" in the header. In sboot.bin I looked for "Adobe Photoshop" and it came up just once. Looking at how the logo.jpg from param.bin looked and how big it was I copied the same from sboot.bin and saved it as a jpg. And it worked! So this is probably the logo that we see when we turn on our phone. (in the attachments)

I thought this would be it, just replace the hex code of the jpg with other jpg code and then flash this sboot.bin... but sadly this didn't work, Odin failed when it came to the sboot.bin. I started thinking that maybe the .bin knows where a file starts, so when I put a bigger or smaller .jpg in the sboot.bin it will mess up.. So I decided to change a few bits, which would make the image slightly more blue, but wouldn't make the file bigger, and it failed to flash... I though that it might be that the jpg is now broken and windows might be doing its best to interpret it but for the sgs3 it needs to be perfect, so I changed the header, turning Photoshop into Photopoop ( ), it failed to flash... Then I started thinking that the .bin file checks itself by making a sum of all its bytes, and if it is different it fails. So instead of making up my own bytes, I exchanged two bytes in the Photoshop string, making it Photohsop. But this still made the flashing fail.

I started thinking it might be HxD that messes up the sboot.bin file, so I tried to first change one byte, saved it, changed that byte back and saved it again. This time it flashed without a problem...

Now I'm kind of at an end, I have no clue how to solve this or how to go further... Does anyone maybe know how to edit sboot.bin, or how it is secured? Maybe the sboot.bin is checked against something else? Or I am doing something really stupid and there might be an easy fix (please please please)?

Kind Regards!
Frank
Attached Thumbnails
Click image for larger version

Name:	logo.jpg
Views:	57
Size:	62.9 KB
ID:	2636936  
20th March 2014, 11:33 AM   |  #8  
OP Junior Member
Flag Amsterdam
Thanks Meter: 2
 
14 posts
Join Date:Joined: Feb 2014
More
I think I need to bump this a little,

But does anyone know how the sboot.bin is checked by the sgs3 or odin?

Cheers!
Frank
23rd March 2014, 07:16 AM   |  #9  
Jumaqidi's Avatar
Senior Member
Thanks Meter: 187
 
1,080 posts
Join Date:Joined: Dec 2013
More
Quote:
Originally Posted by mad-freaky

I think I need to bump this a little,

But does anyone know how the sboot.bin is checked by the sgs3 or odin?

Cheers!
Frank

Yes. Samsung do.

Sent from my GT-I9300 using xda app-developers app
The Following User Says Thank You to Jumaqidi For This Useful Post: [ View ]
23rd March 2014, 11:24 AM   |  #10  
Senior Member
Thanks Meter: 95
 
322 posts
Join Date:Joined: Sep 2012
The China unicom i9300 is not the same.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes