Changing boot logo (logo.bin) program - Android General

Hi all!
I've created a little program, It can make new logo.bin with recovery update.zip for Mediatek based phones.
1) LogoBuilder
Program page
Update 11.03.2015 (version 1.6)
1) Added 32bit color depth support (MTK67xx platform)
2) Enchanced image size autodetect algorithm
3) Transited to .NET Framework 4.0.
Update 17.05.2014 (version 1.5.1)
1) Added vertical scrollbar in main window;
2) Double click on image opens it in default program;
3) Added full path edit in folder browser dialog.
Update 04.05.2014 (version 1.5)
1) Fixed bug with ignoring unknown blocks;
2) New image size changing dialog (now you can just scroll mouse wheel to get your image). So that awful dialog with three buttons is deprecated;
3) Now you can edit single image size right in created project;
4) Added new sizes to Sizes.txt (but who cares now, in consideration of second paragraph);
5) Added supportedRuntime. Now program can start in any .NET Framework veresion (starting from 2.0);
6) Added Portuguese (thanks to Typhus_).
7) Added Italian (thanks to bovirus (bovirusatgmailcom))
How to use:
1) Click "Create project".
2) Select your original logo.bin file and new project folder
3) Edit project images as you wish.
4) Click "Make" (new logo.bin and update.zip for recovery will be created)
5) Flash new logo.bin via any flashing tool or update.zip via recovery.
Where can I get logo.bin?
I know at least two ways to find your logo.bin.
1) The first and the easiest one is to get it from original flashtool firmware.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2) You can get it with "dd" command
Code:
dd if=/dev/logo of=/sdcard/logo.bin bs=3145728 count=1
Make sure you runnig this code with root privilegies.
Current languages are:
Russian
English
Spanish
Simplified Chinese
Portuguese
Italian
-------------
2) LogoBuilder UNPACKED
One more LogoBuilder program feature (kind of beta version)...
I've received a logo.bin file (from Freelander PD10), that has some different format. Its images are not packed at all. So here is the "Unpacked" version of LogoBuilder.
It does not make Update.zip and has only English language.
-------------
3) Gif2Bootanimation
One more little program. It can make bootanimation.zip file from a GIF file.

Working
Hello ankadnikov,
thanks alot my friend for taking the time to develop this tool.. amazing job for the Unpack-er logobuilder version.
I confirm that it's working. the: LogoBuilder_Unpacked.zip is the one working to extract the 4 images out of the .Bin file format, but it doesn't work with the .Img file format, don't know what's wrong there with the .img format..!
also the Unpacked version would make back a logo.bin file which I assume would create a new logo.bin out of the new images u would replace in case u would change the logo images inside the original file, so once replaced u can click on MAKE and it'll create the: logo.bin file so later on u can flash it to your PD10.
as for the: LogoBuilder_v1.1.zip, well I havent tried it yet as I was out and just came home now and about to go get some sleep and will try it in the morning or afternoon.
here is a Picture for the Unpacked version of the logo builder with 4 images extracted:
will try to add more info later on when I try to replace the images and when I try to flash it to the PD10 .. couldn't just go to sleep without coming to try and to say: Thank you Kadan. :good:

EGY_STARS said:
but it doesn't work with the .Img file format, don't know what's wrong there with the .img format..!
Click to expand...
Click to collapse
I saw your .img file. It's corrupted. Take into account, .img file size must be bigger than .bin file size.

Hello,
well I got this .img file from a full backup of my tablet... and yes.. maybe it's corrupted or something.
so far I'm trying to flash it to my tablet with SP Flash tool but no luck yet... I'm trying different methods and when I'm done I was planing on comeing here to confirm again..
still trying

hi again,
something wrong with the logo.bin after flashing it to the tablet...
when I started up the tablet after successful flashing I got the first image with lots of distortion u cant see nothing but lines and dots widely.
it got corrupted for some reason while if I unpacked it again I see nice images.
so anyways... after booting and the first image with lots distortion it loaded back the original logo..
I'll try adjusting the resolution maybe this is why...
I used 1024x600 which is my tablet's res. but I dont know... will keep trying..
be back in a few...
::EDIT::
I'm back now, and I tried lots of things to make the new logo.bin installed and get the images I want but no luck so far..
I always get the first image Distorted so u dont see the picture or even could tell what is it suppose to be or look like!!! very distorted thing, then the original Freelander logo will appear.
I think that the Freelander Logo is inside the BOOT_LOGO file inside: /system/media/images
this is where I believe the Freelander logo has another place for itself...
my tablet resolution is 1024x600 supposed to be 16:9 so I'll try different res. later and see again.
or thanks to yuweng I'll get back to his tutorials in his Signature and see what I can do with Cygwin
I also thank him so much for testing with me some logo.bin files and other methods.. he's been a GREAT HELP.
so far I have no luck installing the edited logo.bin into my tablet but I'll keep trying anyways..
be back later...

EGY_STARS said:
hi again,
something wrong with the logo.bin after flashing it to the tablet...
when I started up the tablet after successful flashing I got the first image with lots of distortion u cant see nothing but lines and dots widely.
it got corrupted for some reason while if I unpacked it again I see nice images.
so anyways... after booting and the first image with lots distortion it loaded back the original logo..
I'll try adjusting the resolution maybe this is why...
I used 1024x600 which is my tablet's res. but I dont know... will keep trying..
be back in a few...
::EDIT::
I'm back now, and I tried lots of things to make the new logo.bin installed and get the images I want but no luck so far..
I always get the first image Distorted so u dont see the picture or even could tell what is it suppose to be or look like!!! very distorted thing, then the original Freelander logo will appear.
I think that the Freelander Logo is inside the BOOT_LOGO file inside: /system/media/images
this is where I believe the Freelander logo has another place for itself...
my tablet resolution is 1024x600 supposed to be 16:9 so I'll try different res. later and see again.
or thanks to yuweng I'll get back to his tutorials in his Signature and see what I can do with Cygwin
I also thank him so much for testing with me some logo.bin files and other methods.. he's been a GREAT HELP.
so far I have no luck installing the edited logo.bin into my tablet but I'll keep trying anyways..
be back later...
Click to expand...
Click to collapse
Distorted? Hmm... It seems like resolution you need is 600x1024 instead of 1024x600 (btw, images from your corrupted logo.img are vertical, i.e. 600x1024, and in logo.bin they are horizontal, i.e. 1024x600). Try use tool this way and flash new logo.bin.

ankadnikov said:
Distorted? Hmm... It seems like resolution you need is 600x1024 instead of 1024x600 (btw, images from your corrupted logo.img are vertical, i.e. 600x1024, and in logo.bin they are horizontal, i.e. 1024x600). Try use tool this way and flash new logo.bin.
Click to expand...
Click to collapse
again distorted... not working...
what I do is that I open the PNG file in Pgotoshop and edit it. then again save it as PNG... do I need to save the PNG with a special settings or specifications?? cause after all I guess this is maybe the only thing I need to ask about to try since I almost did everything and still not being able to have a working logo
also there's something weird... even when I change the first image which is FREELANDER... this one after changing it and gets distorted while in real tablet power on.. after the distorted image come then directly after it the FREELANDER logo will load!!!
where did this other freelander logo came from?? since I deleted the 1st image from the bin and replaced it with the one I want?
could it be possible that freelander logo has another place for their logo?
could it be the Boot_logo??
inside: \system\media\images
I sent you my boot_logo to check out..
thanks

EGY_STARS said:
again distorted... not working...
what I do is that I open the PNG file in Pgotoshop and edit it. then again save it as PNG... do I need to save the PNG with a special settings or specifications?? cause after all I guess this is maybe the only thing I need to ask about to try since I almost did everything and still not being able to have a working logo
also there's something weird... even when I change the first image which is FREELANDER... this one after changing it and gets distorted while in real tablet power on.. after the distorted image come then directly after it the FREELANDER logo will load!!!
where did this other freelander logo came from?? since I deleted the 1st image from the bin and replaced it with the one I want?
could it be possible that freelander logo has another place for their logo?
could it be the Boot_logo??
inside: \system\media\images
I sent you my boot_logo to check out..
thanks
Click to expand...
Click to collapse
You should go this way. Close the program. Open .project file from your project folder via notepad. It contains the next text:
1024
600
Now rearrange this lines. So you should get this:
600
1024
Than you should rotate all of your images by 90 degrees. Their size must be 600x1024 (vertical) instead of 1024x600(horizontal). ("Image->Image Rotation" in Photoshop).
After you did it, you can open this project in program (click "Open existing project"), make new logo.bin file and flash it to your device.
What about boot_logo. Yes, it could be boot_logo. File you gave me contains silver fleelander logo on a black background.
PS. If you distorted logo.bin is 600x1024 (vertical) make it 1024x600(horizontal). Just rearrange width and height.

what I did with the 600x1024 was that I openeded logobuilder unpacker then I created a new project, opened the logo.bin then when it asked me about the resolution I choose 600x1024 (so this is I guess the same as manually editing the project file in note pad)
and after I did that I got the same distortion image.
about the boot_logo... I mean that since the first image already changed and there is no more FREELANDER in the logo.bin then how come after the distorted image loads up I suddenly see FREELANDER back again as if I didnt change the logo.bin..... so I think that the boot_logo has the freelander image and that it's loading itself
this is what I mean by the boot_logo and maybe that I also need to edit it and also replace the freelander there with the image I want..
I'll try more and let you know..
thanks Kadan

EGY_STARS said:
what I did with the 600x1024 was that I openeded logobuilder unpacker then I created a new project, opened the logo.bin then when it asked me about the resolution I choose 600x1024 (so this is I guess the same as manually editing the project file in note pad)
and after I did that I got the same distortion image.
about the boot_logo... I mean that since the first image already changed and there is no more FREELANDER in the logo.bin then how come after the distorted image loads up I suddenly see FREELANDER back again as if I didnt change the logo.bin..... so I think that the boot_logo has the freelander image and that it's loading itself
this is what I mean by the boot_logo and maybe that I also need to edit it and also replace the freelander there with the image I want..
I'll try more and let you know..
thanks Kadan
Click to expand...
Click to collapse
This program does not edit boot_logo.
After you created project with 600x1024 resolution, you can see distorted images just the same as you flashed 1024x600 logo.bin to your device. Now replace this distorted images to images you want to see on your device and everything will be fine!

uqualis fars
Kadan u dont understand...
I see the images just fine on my PC... the 1024x600 and the 600x1024 but once I flash either bin file to the tablet the first image which is the only image I always change always get distorted..
I dont change any other pictures... only the first image (freelander) thats the one..
no matter what I do I get it distortied... always distorted... either 1024x600 or 600x1024
if u want I can send you my edited logo.bin to try for yourself if u want.
I may need to know how to save a PNG file in a proper way like what there is inside the original logo.bin maybe something is wrong with how I save the PNG... but it's so fine in my PC.
anyways.... I'm still trying different things
::EDIT::
okay.. now I tried to rotate counter clockwise 90 degrees and now all is fine except one thing
when the tablet is OFF and charging and u fast click the power button to see the charging meter... u see 4 Green Bars moving up inside the Batters... right?
now my Battery image is Vertically while the Green bars are Horizontally !!!
here's an Image to check out and know what I'm talking about:
s7.postimage.org/tuiqq3lvt/20121106084.jpg
let me know if u can't see the picture
thanks Buddy

EGY_STARS said:
now my Battery image is Vertically while the Green bars are Horizontally !!!
Click to expand...
Click to collapse
It's right! Because the logo.bin you are trying to edit is NOT from your originally ROM. I tried to inform you about this, saying about different orintations in your logo.bin and logo.img files. I'm glad to see you commence to understand what is wrong with your logo. Now just adjust your battery image for charging green bars (you cannot edit their positions) and everything will be OK.

something is weird here....
u know what?? I suspect that something is wrong with the: build.prop file.... I highly think there is something wrong with it..
your logobuilder_unpacked tool is Great Kadan... I confirm it's working fine but just needs some adjustments based on different logo.bin built around, but the tool is great for MT65xx processors and this is one rare thing to have a GUI tool for supporting its logos...
I wish you could also develop another GUI tool doing the same thing with the boot_logo as well..
and for now I'll keep trying out whats wrong with the build.prop file and the theory I have in mind and will come for a feedback.
thanks again

Hello Kadan...
your tool is working great... and the new make BOOT_LOGO feature is awesome... great job... and hope u edit your first post to mention it.
thanks alot for such all in one tool for logos

EGY_STARS said:
Hello Kadan...
your tool is working great... and the new make BOOT_LOGO feature is awesome... great job... and hope u edit your first post to mention it.
thanks alot for such all in one tool for logos
Click to expand...
Click to collapse
BOOT_LOGO feature is added
Also added support for some phones that couldn't be edited right in previous version (such as Zopo ZP900, Jiayu G3, Amoi N820 etc.)
See the first post of this topic.

New version released.

thanks a lot Kadan... nicely done and looks pretty neat

thank you for best app to develop

Not working for Lenovo A60
Created an update.zip by the method and flashed it too but nothing changed :crying:.
Desperately wanna change Lenovo boot logo..
Any Ideas?
zip file attached..

sihag said:
Created an update.zip by the method and flashed it too but nothing changed :crying:.
Desperately wanna change Lenovo boot logo..
Any Ideas?
zip file attached..
Click to expand...
Click to collapse
Some devices can't be flashed with "package_extract_file("logo.bin", "/dev/logo");". You can create your own script (try using "write_raw_image()") or flash new logo.bin via flashing tool.

Related

[Q] What is what in rom files?

I am trying to compile new rom for i637 out of original AT&T 6.5 rom, Telcel Mexico 6.5 rom and Chinese ROM. There are few things i'm interested in changing and I was wondering what can i find in eboot.eb0, pda.pda and phone.bin files. What do they do. What do they contain. WHAT IS WHAT?
Since someone wrote that in csc file there's language and keyboard and stuff I wanted to flash the phone with mexican pda file but with us csc so the keyboard won't get changed.
Can anyone please help me figure this out. Is there a way for me to extract csc from official AT&T updater.exe?
If anyone can explain it to me please keep it simple and clear cause it's my first attempt.
Thank you
Edit: Can you please tell me how to extract fiiles from AT&T updater. It's called MSM7X00 Unified Downloader.
http://ars.samsung.com/customer/usa...ID=2&PROD_SUB_ID=557&PROD_ID=558&AT_ID=177858
I have a similar question.
I was wondering if there is a possibility that any of the files used to flash the BenQ E72 could contain the Splash image that comes when you turn on the phone...
I'm using Windows Phone 6.5 on my E72, but everytime I turn on the phone I see tha old Windows Phone 6.0 splash image...
That picture is not inside my Rom, so I guess it must be located in one of the files used to flash the device... I'm attaching these files to see see if someone more knowledgeable can tell me if there is an image within those files! Thanks!!
can anyone help me? I'm sure somebody knows...c'mon brainiacs
nickleby said:
I have a similar question.
I was wondering if there is a possibility that any of the files used to flash the BenQ E72 could contain the Splash image that comes when you turn on the phone...
I'm using Windows Phone 6.5 on my E72, but everytime I turn on the phone I see tha old Windows Phone 6.0 splash image...
That picture is not inside my Rom, so I guess it must be located in one of the files used to flash the device... I'm attaching these files to see see if someone more knowledgeable can tell me if there is an image within those files! Thanks!!
Click to expand...
Click to collapse
that file is in your ROM, but not as a .jpeg or some picture file.. There is a registry key that directs to a .dll file which contains the Splash Logo!
If you want to change the Splash Logo for any custom one, take a look in here:
http://forum.xda-developers.com/showthread.php?t=769651
This is a Mortscript based Program
- Menu GridView to ListView
- Menu ListView to GridView
- Hide Menu Labels
- Show Menu Labels
- Change Startup Splash Logo
- Change Shutdown Splash Logo
- You can use any JPEG file with a 320x240 resolution
- You can also use the files in the \Windows directory, permission doesn't make sense (hidden, read only, archive)
In order to use it, you must download Mortscript: the link is in the same thread!
nickleby said:
I have a similar question.
I was wondering if there is a possibility that any of the files used to flash the BenQ E72 could contain the Splash image that comes when you turn on the phone...
I'm using Windows Phone 6.5 on my E72, but everytime I turn on the phone I see tha old Windows Phone 6.0 splash image...
That picture is not inside my Rom, so I guess it must be located in one of the files used to flash the device... I'm attaching these files to see see if someone more knowledgeable can tell me if there is an image within those files! Thanks!!
Click to expand...
Click to collapse
If you want to cook again with the right Splash Logo, use this resource:
You can only use a .jpg picture with a 320x240 (only for QVGA) resolution.
Place the file in \Application Data\Home\Your Custom File Name).jpg
Go to this path:
in HKLM\system\startup\1\
delete or backup STRING "DLL" Value "doani_Samsung.dll" (if any - found on remora)
create a new STRING with title "Splash" with VALUE "Application Data\Home\(Your Custom File Name).jpg"
in HKLM\System\Shutdown\1\
delete STRING "DLL" VALUE "doani_Samsung.dll" (if any)
create new STRING with Title "Splash" and Value "Application Data\Home\(Your Custom File Name).jpg"
I've tried all those things long time ago...So I say that the splash image may be contained in one of the files attached, so I'm asking if anyone can help me with that issue please
The old Windows Phone 6.0 image splash appears when I power on the phone...Then appears the Windows Phone 6.5 image splash...As I said before, that picture is not contained in my rom, dll file, etc

[How To] Flash a new Splash image with Latest FW

Hello all,
Since having the new FW that is needed to have ICS on our phones the usual method of flashing Splash images has been lost,
well after a bit of testing Eisteh, Lizard and I from the AndroidRevolution IRC channel have found a way to still flash the beloved splash images,
Ok so it is quite simple,
Go get the fw package from the bottom of http://forum.xda-developers.com/showpost.php?p=21132762&postcount=41583
direct link: http://goo.gl/kPfB0
once you have it, open it with winrar or even windows archive folders, note i said open do not extract,
delete everything accept Android-info text file
now copy your chosen Splash image into the file ensuring its named splash1.img
close the file,
copy the now modified PD58IMG.zip onto the root of your memory card,
and reboot your phone into the bootloader.
the bootloader should pick up the file and flash the splash image for you.
thats it.
heres an example of it working ..
http://www.youtube.com/watch?v=2W4yQbwG5Ko
A quick guide and method to create your Splash image,
download the attached file and unpack it to somewhere easy to find
Create a bitmap with the dimensions 540x960
and name it SPLASH.BMP
put it with the unpacked files,
double click the RUN THIS ONE batch file,
and you splash1.img will be created
then copy into your prepared zip file
View attachment Splash-Screen-Creator-Sensation.zip
Hope this helps you all, Till the next time
Technane
PS Thanks : From AndroidRevolution Eisteh, Lizard, Evil Dragon,
For the Massive CID PD58img.zip making this easier Kohr-Ah
for the initial work on the FW mike-1986, and for his continued work on the ARHD rom
for the Batch file VibrantOwnr
and for NBIMG Pau Oliva
Thank you very much.
This is great.
I will try this out when I get home tonight.
HTC Sensation Coredroid
ya but how can you convert a png or jpg to an img file?
web_ninja said:
ya but how can you convert a png or jpg to an img file?
Click to expand...
Click to collapse
The old way using NBIMG will still work great for that.
web_ninja said:
ya but how can you convert a png or jpg to an img file?
Click to expand...
Click to collapse
I have updated my original post, please take a look
heres the splash image i used and as featured in the guide,
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
my workaround was to flash the eng hboot, and after flashing the splash revert to recent hboot. But this might save some time
i can't delete the files in winrar.
how can i fix that???
cryptstyling said:
i can't delete the files in winrar.
how can i fix that???
Click to expand...
Click to collapse
If you are on windows just use windows compressed folders to open the file, or alternatively use 7zip i used windows i was told it worked in winrar but i havent tested it myself,
If you have issues you could post your wanted image and i could create the zip for you. I will test with winrar now and edit the guide accordingly thanks for the info
ok tested it myself, Zip open in Winrar. Right click ..... Delete ..... Works for me
using this:WinRAR x64 (64 bit) 4.10 beta 5
Technane said:
A quick guide and method to create your Splash image,
download the attached file and unpack it to somewhere easy to find
Create a bitmap with the dimensions 540x960
and name it SPLASH.BMP
put it with the unpacked files,
double click the RUN THIS ONE batch file,
and you splash1.img will be created
then copy into your prepared zip file
Click to expand...
Click to collapse
I got it working with compressed files to delete those files.
The next problem is that i the batch file won't create the img file.
Maybe that you can solve it for me.
i give you 2 pics. Maybe you can make both for me.
U realise both those images aren't 540*960 right?
and both JPG?
Well anyway ,,,
I upscaled them a bit so they might look a bit stretched.
here u go... just remember to rename the files before you try and flash them or it wont work.
THX, i will try them now.
I had those images from the splashscreen forum here and there i downloaded theme as the right file and the right size.
Only problem was that i could't upload them here in the post because of the size.
Thats why i posted them at those size and format.
This is where i found the original with the zip that they were in.
http://forum.xda-developers.com/showpost.php?p=20909826&postcount=143
thx
maybe you can make them also so that i have beter quality of it.
thx anyways
Edit:
those 2 worked great.
Didn't saw much of the stretching.
I'm happy now man.
Now to find out to do it myself
cryptstyling said:
THX, i will try them now.
I had those images from the splashscreen forum here and there i downloaded theme as the right file and the right size.
Only problem was that i could't upload them here in the post because of the size.
Thats why i posted them at those size and format.
This is where i found the original with the zip that they were in.
http://forum.xda-developers.com/showpost.php?p=20909826&postcount=143
thx
maybe you can make them also so that i have beter quality of it.
thx anyways
Edit:
those 2 worked great.
Didn't saw much of the stretching.
I'm happy now man.
Now to find out to do it myself
Click to expand...
Click to collapse
Well the file he says hes attached in that post, he says he has included the .img files, all you needed to do was take the .img files rename them to splash1.img then copy them into the zip, and thats it done, glad your all up and running though please can you poke the thanks button
ok thx.
maybe you know the answer on this one.
Why doesn't it wanna change from bmp to img?
when i press option 1 and after it any key nothing changes.
That's the only bump on the road.
Dude, you are way overthinking this.
I made those 2 splash screens. Look at the bottom of the post you found them in. There is aszip file that has the converted img files.
They are ready to go!
cryptstyling said:
I got it working with compressed files to delete those files.
The next problem is that i the batch file won't create the img file.
Maybe that you can solve it for me.
i give you 2 pics. Maybe you can make both for me.
Click to expand...
Click to collapse
Sent from my Sensation using XDA App
Technane said:
U realise both those images aren't 540*960 right?
and both JPG?
Well anyway ,,,
I upscaled them a bit so they might look a bit stretched.
here u go... just remember to rename the files before you try and flash them or it wont work.
Click to expand...
Click to collapse
what up with the android-info.txt in your zips
BootFlash Pro on the market makes this process simple. I've used from 2.3.4 thru 4.0.3 and it works flawlessly. Free version on the market works fine too.
TJD319 said:
BootFlash Pro on the market makes this process simple. I've used from 2.3.4 thru 4.0.3 and it works flawlessly. Free version on the market works fine too.
Click to expand...
Click to collapse
Didnt see the free version on the market, only the paid-for app. And it said that the free version puts a watermark on it.
Skipjacks said:
Dude, you are way overthinking this.
I made those 2 splash screens. Look at the bottom of the post you found them in. There is aszip file that has the converted img files.
They are ready to go!
Sent from my Sensation using XDA App
Click to expand...
Click to collapse
I know and i have them used.
thats not the problem.
I tested to make a new one on my own with a different image.
Thats what i was talking about.
the ones you made for me works perfect.
---------- Post added at 02:02 AM ---------- Previous post was at 01:51 AM ----------
TJD319 said:
BootFlash Pro on the market makes this process simple. I've used from 2.3.4 thru 4.0.3 and it works flawlessly. Free version on the market works fine too.
Click to expand...
Click to collapse
After all that trying there is a app that can do that for you in a second.
It worked inmediatly.
Never mind i still want the learn the manual way of it.
THX all for the help
cryptstyling said:
I know and i have them used.
thats not the problem.
I tested to make a new one on my own with a different image.
Thats what i was talking about.
the ones you made for me works perfect.
---------- Post added at 02:02 AM ---------- Previous post was at 01:51 AM ----------
After all that trying there is a app that can do that for you in a second.
It worked inmediatly.
Never mind i still want the learn the manual way of it.
THX all for the help
Click to expand...
Click to collapse
The key is to start with the background image when you're designing these. Have it already set up to the right size. Then just add elements and you don't have to worry about distorting anything later to make it fit.
That Bootflash app looks neat. Since it uses a data connection it obviously uses a server to change the file from a bmp or whatever into a proper img file. That's pretty cool!
And if it works on the new firmware, then I'm betting my terminal flashing method still works also. But for $0.99....can you really go wrong?

[Q] How do i unpack/repack a logo.img file??

Hi All
Im trying to change the very first splash screen that comes up on my MX Android TV box.
I know its found in the logo.img file which is in the update.zip but have been unsuccesful in unpacking/extracting rle/packing this file.
Ive managed to change the second splash screen (which is within the boot.img) using the dsixdas kitchen, but dont have a clue how to unpack the logo.img - any help/ideas would be much appreciated.
Cheers
GS
gunshot69 said:
Hi All
Im trying to change the very first splash screen that comes up on my MX Android TV box.
I know its found in the logo.img file which is in the update.zip but have been unsuccesful in unpacking/extracting rle/packing this file.
Ive managed to change the second splash screen (which is within the boot.img) using the dsixdas kitchen, but dont have a clue how to unpack the logo.img - any help/ideas would be much appreciated.
Cheers
GS
Click to expand...
Click to collapse
Hi, have you found a solution on how to do this? I'm looking for the same thing
logo.img (or logo.bin) is generally a RLE compressed image. There are many tools to unpack/repack, many of them allowing to load your own image, for example this (I've not checked that, just copying the link to you).
You can find all these tools by simply visiting this useful website
To flash new logo.img you can insert into update.zip or dd from recovery into correct partition. Just google it, is very simple to accomplish.
WARNING: be sure to flash the logo.img format which is expected by your phone, or you may end with a brick! I think this is a standard format (same for all devices) but I'm not sure about that.

[Guide] Change Xiaomi MIX 2S (polaris) boot logo

Sagit Logo Generator for Xiaomi MIX 2S
Thanks @wangchuanyes for test! https://github.com/moonheart/sagit-logo-gen/issues/1
First download this File View attachment sagit-logo-gen-MIX2S.zip
How to use (Windows)
1. Download this project and goto GenLogo folder.
2. Edit these 5 bmp files, do not change filename or format.
3. Run GenLogo.exe and you get logo_new.img.
4. flash through fastboot
HTML:
fastboot flash logo logo_new.img
5. Enjoy!
How to use (Linux&Unix)
1. Download this project and goto GenLogo folder.
2. Edit these 5 bmp files, do not change filename or format.
3. Run python genlogo.py and you get logo_new.img (python3).
4. flash through fastboot
HTML:
fastboot flash logo logo_new.img
5. Enjoy!
How to restore
Just flash logo.img in official fastboot ROM .
Source: https://github.com/moonheart/sagit-logo-gen/tree/MIX2S
Thanks @huhu2207 for advice (binwalker).
Nice tool !!!!! Awesome
Do we have limit about size(in mb) or size (in pixels) ?
thiefxhunter said:
Nice tool !!!!! Awesome
Do we have limit about size(in mb) or size (in pixels) ?
Click to expand...
Click to collapse
up
thiefxhunter said:
Nice tool !!!!! Awesome
Do we have limit about size(in mb) or size (in pixels) ?
Click to expand...
Click to collapse
Yes. You should keep the original image height and width, and color depth. If you see file size reduced after saving, it's okay as long as you do not change pixels and color depth.
I recall, for example, 01.bmp extracted is around 20M but after you save it it's just around 5M. Feel safe, it's correct.
The newly generated logo binary file should be 19.5M, according to my memory. I don't have that file on hand now.
And if you broke it, you'll end up with a strange bootloader UI (with volume keys to select different modes), but don't worry, just flash a correct logo.bin and you'll make it running again.
EraserKing said:
Yes. You should keep the original image height and width, and color depth. If you see file size reduced after saving, it's okay as long as you do not change pixels and color depth.
I recall, for example, 01.bmp extracted is around 20M but after you save it it's just around 5M. Feel safe, it's correct.
The newly generated logo binary file should be 19.5M, according to my memory. I don't have that file on hand now.
And if you broke it, you'll end up with a strange bootloader UI (with volume keys to select different modes), but don't worry, just flash a correct logo.bin and you'll make it running again.
Click to expand...
Click to collapse
Alright , thank you again for that awesome explanation . Have a nice week !
Anyone has a "Mix" logo just like the boot animation?
Hi , i don't know why
But whenever i flash the logo.img created by your program.(even when using images you provided)
It always booted into a weird bootloader interface.
i'm on miui 9.6 china.
Wonder if anything has to do with this?
Can you help fix it?
Thanks!!!
Hello,
I will use this to remove the "unlocked" message at boot.
It's possible to simply copy 01.bmp to 03.bmp then recompile the image? (I ask due to size of 01.bmp is higher than 03.bmp)
Thanks
bartito said:
Hello,
I will use this to remove the "unlocked" message at boot.
It's possible to simply copy 01.bmp to 03.bmp then recompile the image? (I ask due to size of 01.bmp is higher than 03.bmp)
Thanks
Click to expand...
Click to collapse
I'd like to do that as well, "unlocked" seems so damn wrong to be displayed
evronetwork said:
I'd like to do that as well, "unlocked" seems so damn wrong to be displayed
Click to expand...
Click to collapse
I've created this Mix2s image (https://mega.nz/#!51UDyQoT!3b9sL2j4dNDW8WUNck39xVfNNuClqED2rZGw7kU5ZQs) using the files from OP to remove the "unlocked" message on boot splash.
You can use it if you want...
bartito said:
I've created this Mix2s image (https://mega.nz/#!51UDyQoT!3b9sL2j4dNDW8WUNck39xVfNNuClqED2rZGw7kU5ZQs) using the files from OP to remove the "unlocked" message on boot splash.
You can use it if you want...
Click to expand...
Click to collapse
Ready to use file? hmm
So it's just "fastboot flash logo xiaomi_mix2s_logo_image_removing_unlocked_message.img"
How safe is this? did you use the very same file?
Of course, I have used the same file that I've uploaded to my mega and is working fine. You can use it or generate using the op generator, but in any case I'm not responsible if you brick your device, blah, blah, blah...
evronetwork said:
Ready to use file? hmm
So it's just "fastboot flash logo xiaomi_mix2s_logo_image_removing_unlocked_message.img"
How safe is this? did you use the very same file?
Click to expand...
Click to collapse
Nice, ill put my contact information to make it harder to sell if it gets stolen or lost
Any chance this can be updated for the new format? New logo won't overwrite the bootloader splash.
xumixu said:
Nice, ill put my contact information to make it harder to sell if it gets stolen or lost
Click to expand...
Click to collapse
Great idea, so:
Fastboot, boot image etc ...with details, orange fox(instead of twrp) with pin locked and rom locked displaying personal info
This won't be an easy sale if stolen(hopefully not)

How to change the boot logo on your MTCD/MTCE device

I was always kinda annoyed by the not matching boot logo. After the loader I could change the logo to the car manufacturer but the first seconds still showed "On vehicle navigation system". After installing the Malasyk 8.0 ROM I recognized a different boot logo. So a change was possible. After some playing around with various ROM tools I was able to change the logo (sorry, I don't remember the exact steps). After switching to the HAL9k ROM, the changed logo was gone. The old method didn't work with HAL as the boot loader with the logo was part of the signed update.zip and changing the logo of course breaks the signature.
So I played round with dumping various partitions and check for the logo. There is a way to change it:
NOTE: The slightest mistake in one of the steps WILL brick your device!!!
1. Dump the bootloader partition
2. Find the logo in the dump
3. Replace the logo in the dump
4. Write the new bootloader parition
In general it is a good idea to connect to the device using adb on your PC as typing on the on-screen-keyboard is error prone. dd commands have to be executed as root.
1a. dd if=/dev/block/mmcblk2p4 of=/storage/ext_sd/mmcblk2p4.bin
Note: Depending on your ROM or device the partition might be different. So if you don't find the logo there, try other partitions. Also adapt the of argument. I wrote the file to the "Music" SD card.
1b. Write down the file size. In my case it was exactly 16MB.
2a. Search the dump file for the string "BM6". I used HxD and found it atoffset F800.
2b. Dump everything starting as this offset to a new file and name it with the extension BMP.
2c. Open it with your favorite viewer (I use IrfanView) and check if it is the correct logo.
2d. Check the resolution. In case of the HAL9k 3.1 ROM it should be 800x480x24, for Malasky it was 1024x600x24
2e. Save the file there to a different name.
2f. Check the new file size. In case of the HAL9k 3.1 ROM it should be 1152054 bytes
3a. Create a logo of your choice with exact the same resolution.
3b. Check the file size. It must be identical to the one of the dumped BMP
3c. Replace the data in the compete dump. Make sure, you use the correct offset and use replace, not insert.
3d. Save the new dump and compare the file size. It must not be changed!
4a. Copy the file back on the SD card
4b. Write it back: dd of=/dev/block/mmcblk2p4 if=/storage/ext_sd/mmcblk2p4.bin
Note: if and of is now switched!
4c. Reboot
Just did mine in Hal9k rom.Thank you
Sent from my iPad using Tapatalk
NOTE: The slightest mistake in one of the steps WILL brick your device!!!
Hi,
just a thought of safety..
is it not better that you change that -boot- logo for all cars so that "everybody" can choose his car logo, instead or to prevent that men would make some a mistake which wouldl brick his headunit?
https://www.google.com/search?q=and...KHQHTDu8QsAR6BAgEEAE&biw=1280&bih=726&dpr=1.5
Thanks for this!
In my case, it was mmcblk2p7.
At first, I had a black screen, but file size and resolution was correct.
Somehow, I managed to boot the device again and then I tried another picture and it worked.
I don't know the difference between my first and second try...but I'm lucky that my device isn't bricked.
Maybe we find a safer way for this...
rezi09 said:
Thanks for this!
In my case, it was mmcblk2p7.
At first, I had a black screen, but file size and resolution was correct.
Somehow, I managed to boot the device again and then I tried another picture and it worked.
I don't know the difference between my first and second try...but I'm lucky that my device isn't bricked.
Maybe we find a safer way for this...
Click to expand...
Click to collapse
Great example of New member joining, reading articles, giving it a go and reporting back.
Wonderful but rare.
marchnz said:
Great example of New member joining, reading articles, giving it a go and reporting back.
Wonderful but rare.
Click to expand...
Click to collapse
Well, I'm new since 2009
Thx...it's a great forum with great people!
Pls support

Categories

Resources