yashsingh1/xdaforums huggingface dataset:
[Moto X Themes and Apps] mschumacher69:
I managed to open it in IrfanView using the settings below if that helps:

540x780, 48 BPP, Color order: BGR

This is the 4.2 logo.bin though, I couldn't open the 4.4 one.

Edit: I also changed .bin to .raw
[Moto X Themes and Apps] NPOA556:
I haven't tried. I don't know or have access to Photoshop, but I may give it a go with GIMP. I can't mess with it now because I don't have access to the image (Dropbox and most "personal storage" sites are blocked at my work).
[Moto X Themes and Apps] mschumacher69:
I tried everything and i couldn't find a way to open it in GIMP, it just refused to open the .bin or .raw extensions!
[Moto X Themes and Apps] NPOA556:
Guess I won't bother then. Thanks for letting me know.
[Moto X Themes and Apps] mschumacher69:
Give it a try actually, maybe you'll find something that i couldn't ;)
[Moto X Themes and Apps] NPOA556:
I can't find the original image in this thread, and I don't know how to pull it from the phone.
[Moto X Themes and Apps] DeathGrind:
Well I found this and tried it and it worked. Figured I'd post it here as it is similar topic and maybe someone will find it useful

http://xdaforums.com/showthread.php?t=2548530
[Moto X Themes and Apps] mschumacher69:
You can extract the original logo.bin from the SBF zip.
[Moto X Themes and Apps] Butcher98:
So to flash that .bin file it has to be by fast boot? At work and can't connect right now.
[Moto X Themes and Apps] mschumacher69:
That's right.
[Moto X Themes and Apps] carock:
I was going to use that file, but it seemed very different than the stock file from the first post here. Maybe because that one is for the Moto G?

Well, I edited the offsets in the stock file in the same manner, and it works fine. Attached for those interested.

EDIT: logo file attached is from 4.2.2
[Moto X Themes and Apps] NPOA556:
Any idea why your file size is more than 4x larger than the original? 2564 vs 620 KB

How did you know HOW to modify the offsets?
[Moto X Themes and Apps] carock:
I used the stock file from the first post. If you're comparing that to the one here, I believe that one is from the Moto G. Not sure why the two would be so different in size though.

The OP from the Moto G thread said he changed the offsets in the header with a hex editor. In the picture I attached, the highlighted section is the offset for the unlocked logo, which I changed to be the same as the offset for the motorola boot logo, "0200".
[Moto X Themes and Apps] NPOA556:
Yeah, my bad on mixing up the original files from the X and G threads.

How did you know that particular pair of bytes was the offset? Trial and error?
[Moto X Themes and Apps] carock:
Those bytes were the only differentiating factor between the sections, so it made sense. I would have never thought to check for that though. Luckily, someone else figured it out.
[Moto X Themes and Apps] FSRBIKER:
So this is ONLY replacing the Bootloader warning screen, the rotating Earth part is left untouched? I just don't want to lose the Xmas animation.
[Moto X Themes and Apps] carock:
That's correct.
[Moto X Themes and Apps] Bill Idol:
Can we go unto System/Media and save the boot animation (Xmas Animation)???

Sent from my XT1060 using Xparent Cyan Tapatalk 2

---------- Post added at 01:34 PM ---------- Previous post was at 01:30 PM ----------

Never mind, its just the original rotating Moto World Boot Animation. Is there a link to where the Xmas animation would be?

Sent from my XT1060 using Xparent Cyan Tapatalk 2
[Moto X Themes and Apps] King Speedy:
Has anyone been able to pull the purple boot logo that matches the winter animation?
[Moto X Themes and Apps] Bill Idol:
Not me but do you have a link to the winter animation zip file?

Sent from my XT1060 using Xparent Cyan Tapatalk 2
[Moto X Themes and Apps] dems86:
Oh nice, so this is just the stock file with the offsets set up for unlocked to display the original boot image? So it the empty battery image still displays too when necessary?? Thanks.
[Moto X Themes and Apps] KidJoe:
I was following that.

It made me wonder if knowing the offsets of each graphic in the logo.bin, we could possibly replace a single image... or take the header for the stock logo.bin, and append 3 individual images to it, and update the offsets in the header to create a replacement logo.bin?
[Moto X Themes and Apps] mschumacher69:
logo.bin from 4.2.2 is 2.5 MB and the one from 4.4 is 620 KB.
[Moto X Themes and Apps] NPOA556:
That is what I want to be able to do, but I need to know the details of the format of the logo.bin file to know exactly where in the file to insert my custom image. I don't think I'm smart enough to figure it out.
[Moto X Themes and Apps] carock:
Ah, I should have realized that file was old.

Were you able to open the 4.4 logo file in IrfanView? Can't seem to figure out the new format.

mschumacher69 said a few pages back that he was able to view it (the 4.2.2 logo.bin) in this format: "540x780, 48 BPP, Color order: BGR"

That worked for me, although I think the resolution is actually 540x810, and I didn't have to change the color order as long as I removed the 110byte header.
[Moto X Themes and Apps] mschumacher69:
I couldn't figure out how to open the one from 4.4...

U might be right about 540x810...
[Moto X Themes and Apps] sdxda:
i flashed the nowarning.bin from OP. Does that have the battery empty image as well?
[Moto X Themes and Apps] MaKTaiL:
This is the one you need: http://xdaforums.com/showpost.php?p=48450776&postcount=95

You can find the post on page 10.
[Moto X Themes and Apps] sdxda:
Thanks. This should be in the OP or the other one removed!
[Moto X Themes and Apps] mschumacher69:
No it doesn't...
[Moto X Themes and Apps] nhizzat:
Tell me where it can be found and I'll give it a shot.

I attached what I believe is the correct bootanimation.zip which is found in /data/local/moodle

Edit: found out how to find and back up the purple boot logo. Looks like this. Uploaded to imgur so everyone can see it and also to dropbox so you don't have to rename it. It's a 4mb bmp.

https://www.dropbox.com/s/r17e78p82r9ron2/clogo.bmp
[Moto X Themes and Apps] MaKTaiL:
Thank you very much! Could you make a logo.bin version? Also, where did you find it in the system so you could pull?

Enviado de meu XT1058 usando Tapatalk
[Moto X Themes and Apps] KidJoe:
And just to circle back on this, and tie in the the discussions trying to change just the part of the logo.bin to keep the battery meter picture...

That battery picture in the stock logo.bin is used when the phone has 0 to 2% battery left, its powered off and you are charging. Once the battery gets to 3% and above, something else produces that graphic.

As a test... Replace the stock "3 image" logo.bin with single image graphic logo.bin like in first posts of this thread. Run the phone battery down until it shuts off. Plug phone in to charger. I get the initial custom logo.bin graphic, then the screen goes blank. Subsequent presses of power button result in the custom logo.bin graphic. Once the phone gets to 3% charge, hitting the power button gives me logo.bin graphic which then turns to battery charging picture with percentage, as it counts up.

So unless you have run your battery down below 3%, and have the phone off while charging before reaching 3% or greater, you wont notice any difference replacing the stock logo.bin with a custom logo.bin that contains only a single image.
[Moto X Themes and Apps] King Speedy:
But deep down, you'll know...
[Moto X Themes and Apps] KidJoe:
Oh of course.. and if you're anything like me... it will continue to bother you :eek:
[Moto X Themes and Apps] MaKTaiL:
Can someone make a boot.bin file from the Winter Boot Logo?
[Moto X Themes and Apps] Globalrebel:
Worked like a charm. unlocked bootloader message is gone :)
[Moto X Themes and Apps] Bill Idol:
Thanks brudda

Sent from my XT1060 using Xparent Cyan Tapatalk 2
[Moto X Themes and Apps] clebaomotoqueiro:
someone has logo.bin this purple image?

to flash the moto x Christmas theme.

sorry english google translator.

thank you
[Moto X Themes and Apps] caanda45:
I too would like a logo.bin of the purple image....that would be great.
[Moto X Themes and Apps] MaKTaiL:
No love for this thread :(
[Moto X Themes and Apps] carock:
Attached purple motorola logo bin file, as requested.

It doesn't include the "motorola a google company", but it does include the empty battery logo in the bin.
[Moto X Themes and Apps] MaKTaiL:
Thank you very much! :good:
[Moto X Themes and Apps] bgdc:
Thanks. Now i need to find a way to nuke that animation when I reboot my phone. Moodles...moodles...off to kill the moodles.
[Moto X Themes and Apps] cannondale0815:
You have to change the file extension to ".data" for GIMP to correctly identify it as a RAW image. This worked for me. I also figured out that the dimension is 540 x 1620 (for the three-image logo type with the battery image), and the Palette Type is "B, G, R, X".

But I still have issues with the correct offset.
[Moto X Themes and Apps] KidJoe:
Thank you!

Can you share how you replaced the individual image?

I would love to change the warning message to the jeweled logo in the OP (the box art).
[Moto X Themes and Apps] carock:
\data\local\moodle\bootanimation.zip

If you rename the file (e.g. bootanimation.zip.bak), you should only see the boot logo during startup. At least that's what happened when I tried to replace it with an incorrectly formatted bootanimation :P

All the info is in the file header:

logo_boot

starts at 0x200, is 0xD5930 bytes

logo_battery

starts at 0xD5C00, is 0xD5930 bytes

logo_unlocked

starts at 0x1AB600, is 0xD5930 bytes

If you do the math, that leaves a buffer between the logos of 0xD0 bytes.

As for the image formats. They are all 540x540 and BGR-24bit, except logo_boot is RGB-24bit.

What I did, was remove the logo_unlocked (everything after 0x1AB600), and append my own image.

I used ffmpeg to convert a 540x540 bmp to the correct format:

ffmpeg -i logo.bmp -f rawvideo -s 540x540 -pix_fmt bgr24 logo.raw
[Moto X Themes and Apps] cannondale0815:
Carock, this is hugely useful, you clearly know your stuff. I am honestly a bit of a rookie when it comes to image manipulation. What's the best way to accomplish cutting off the last image before apending the new one?

Thanks

-J
[Moto X Themes and Apps] lxadoz104:
Nice work on the mlogoblk!
[Moto X Themes and Apps] carock:
I would suggest using a hex editor. If you're using windows, you can try a program called Frhed. It has an option under the edit menu to delete a section by offset and size. And you can also insert a file, under the file menu, wherever you place the cursor. I attached the bin file with the logo_unlocked already removed for use/reference.

Cheers.
[Moto X Themes and Apps] darkgodz:
anyone able to take a request for making a few of the custom images with the battery info? :confused:

thought i'd add, im on 4.4, unlocked but not rooted.
[Moto X Themes and Apps] carock:
Got bored and decided to decipher the compressed 4.4 logo bin.

The header is the same format as the old logo bin, but the image data is compressed using an odd algorithm.

There is a header for each image now too. Each starts with 0x4d6f746f52756e (MotoRun in hex), followed by 0x00, followed by 2bytes for the horizontal resolution, and 2bytes for the vertical resolution. Such as, 0x4d6f746f52756e0002d00500 would be for a 720x1280 image.

Basically, each chunk of the image is preceded by a 0x8 or 0x0, followed by a 12bit number.

For 0x8, the number that follows signifies how many times to repeat the next 3bytes as RGB (or BGR) pixels. With a maximum number of repetitions being the horizontal resolution. For instance, 0x82D0FFFFFF would be 720 white pixels.

For 0x0, the number that follows signifies how many 24bit(3byte) pixels will follow. For instance, 0x0002FFFFFF000000 would be 1 white pixel followed by 1 black pixel.

And that's basically it. With one extra rule, that you cant repeat 2 of the same color pixels using 0x8. Such that 0x8002FFFFFF wouldn't occur. It would instead be 0x0002FFFFFFFFFFFF.

I've tested this with a script to decompress the images, and I've also compressed other images with this method. Both work fine.

attached (tested & worked for me)
[Moto X Themes and Apps] Smukec:
good work
[Moto X Themes and Apps] darkgodz:
:victory: :highfive: :D
[Moto X Themes and Apps] KidJoe:
Script? Can you share?

Or write up a process for us to make our own logo.bin for kitkat?
[Moto X Themes and Apps] carock:
I cleaned up my scripts and made them more universal and friendly. Rough scripting, so it might not be perfect (or very efficient).

File attached.

This was made for windows. You'll need to install perl and ffmpeg and add them to your path for this to work properly. If you're running linux, I'm sure you can figure out how to adjust it.

Once you've done that, simply place your 720x1280 image in the folder and run the compress.bat. You'll be prompted to enter the image name. I'd recommend a lossless format, but any image file should work.

This will output a logo.bin that should work fine. It will also output a file called logo-moto.raw, which is the raw compressed file. I did this in case you want to run my decompress bat file on it and check if it outputs the correct image.

Hope this helps.

Oh, and of course, I'm not responsible if anyone damages their phone/pc from using this :P
[Moto X Themes and Apps] KidJoe:
Your script worked well for the two logo.bin's I created. Thank you very much!!!!
[Moto X Themes and Apps] Ctrl-Freak:
Impressive!
[Moto X Themes and Apps] chozyn:
Sorry for the noob question but can you share how you installed on your pc? I downloaded both the required apps and the motorun script but when i go into the moto run folder and paste my image i receive an error regarding the ffmpeg and perl not recognized as a command. I'm sure its my fault. ill keep trying on my end and post if successful.
[Moto X Themes and Apps] KidJoe:
Download the attachment from carock's post. Unzip it. It should make a folder called Motorun and have all the files in it.

Visit -> http://www.activestate.com/activeperl/downloads and use the big blue button to download either the X86(32bit) or 64bit installer. Run it, and make sure the box to allow it to be added to path is checked when you see it.

When that is finished, visit http://ffmpeg.zeranoe.com/builds/ and click on either "Download FFmpeg git-4aa9c91 32-bit Static" or "Download FFmpeg git-4aa9c91 64-bit Static" then unzip the one you download (winRAR or 7Zip work for this). Grab the FFMPEG.EXE from it and drop it in the motorun folder, along with those files.

I didn't have to reboot, but sometimes you at least need to close and re-open any CMD windows you might have already had opened, or need to reboot so the path variable gets re-read by window's command prompts.
[Moto X Themes and Apps] darkgodz:
i was pounding my head against my keyboard for about 30 minutes the other night trying to load one of the bin files...

finally clicked that i needed to rename the bin file to logo.bin...

worked like a champ.

:silly:
[Moto X Themes and Apps] KidJoe:
Can someone with graphic editing skills take the "Purple boot logo" from Post #115 of this thread, replace the purple circle/M with the jeweled one from the OP, and maybe add a "Developer Edition" text to?
[Moto X Themes and Apps] dzendeh:
I second that (pretty please)
[Moto X Themes and Apps] carock:
attached
[Moto X Themes and Apps] dzendeh:
[MENTION=5606876]carock[/MENTION]: you officially rock, sir :)
[Moto X Themes and Apps] KidJoe:
I wanted to share this... (It works on the X running 4.4 and 4.4.2)

I was trying to use some graphics I had, like a photo I took, team logo, etc.. but when using carock's script, when I flashed the resulting logo.bin to my phone, it would not reboot. It would hang on a black screen while vibrating. (To get back into fastboot, I had to experiment with holding power and volume down or just power, to get the phone to boot back up, then I could reflash a "known good" logo.bin.)

Thanks to P3Droid, I found out that there was an issue when the outside edge of the picture I wanted to use had too many colors. He suggested adding a 1px boarder around the graphic before using carock's script to add it into the logo.bin.

Apparently adding a 1px border is easy in Photo Shop, which I do not have. Instead, I installed Paint.NET and followed this post -> http://www.meguiarsonline.com/forum...-to-add-a-border-to-a-picture-using-Paint-NET to add a single color border. dropping by percentage, the resulting image is 713x1267 with a single color boarder of 7x13 to make a suitable 720x1280 image. My attempt to drop by 1 pixel instead of percent was not successful. I haven't tried 2 pixels or more, but since this process works, the the border added is so small, I likely wont experiment anymore.

EDIT: On a side note, taking the 24 CLOGO's from -> HERE I converted them all to logo.bin using carock's script and they work perfectly... I've uploaded them here -> http://mark.cdmaforums.com/X-STUFF/X-LogoBins.zip (when you un-zip, there will be two folders, one containing the original graphic so you can see it, and one with the logo.bin).

When using these, if my battery's charge is between 0 and 3%, I see the battery graphic. When booting I see the graphic I added to logo.bin. Since the 4% and above battery charging graphic is not part of the logo.bin, I always see it when the phone is off and charging (and of course is above 4%), no matter what image I load. (see also the discussion later in this thread around post #300)
[Moto X Themes and Apps] kraamerica:
Wow. Thank you! Especially for the image folder for the WYSIWYG. Very cool.

Thanks again!
[Moto X Themes and Apps] Colluphid42:
Are we still posting logos? I made a Hitchhiker's Guide logo from the stock Moto image. Here's the BIN file: dropbox.com/s/tx30iicjdfvdmbf/motox%20h2g2.bin

Yeah... put a www in front of that address. Can't post active links until you've made some number of posts, or whatever.
[Moto X Themes and Apps] KidJoe:
This is cool -> https://plus.google.com/110773150384694258853/posts/a37auAmLFUo
[Moto X Themes and Apps] AndKacz:
This is awesome! Great work dude!
[Moto X Themes and Apps] t3chn0s1s:
Just wanna say THANKS Hidea. Just recently got my unlocked X and was annoyed to see that annoying boot image after unlocking my BL. So grateful you created this thread and to all who have contributed. This is exactly what XDA is all about! :thumbup:

Sent from my Moto™ X
[Moto X Themes and Apps] h_zee13:
Someone posted this on G+

https://plus.google.com/photos/115801057458216446360/albums/5967464562258094433

Would be nice to turn it in to a boot animation or even use as a boot logo
[Moto X Themes and Apps] dzendeh:
Look at that: http://bit.ly/1etumm7
[Moto X Themes and Apps] stonesaber:
Deleted. Not sure why we can't just delete our posts.
[Moto X Themes and Apps] jimmydafish:
ASK and you shall recieve, I will get this into an awesome boot animation today!
[Moto X Themes and Apps] h_zee13:
You are AWESOME!
[Moto X Themes and Apps] A2Trip:
Looking forward to this! Thanks pal! :thumbup:
[Moto X Themes and Apps] jimmydafish:
short version video --> http://youtu.be/y6If1uomgwI

download file from here -->

SHORT VERSION http://www.teamblackhat.net/Downloads/short-bootanimation.zip

long version video --> http://youtu.be/glgWDbjwzbw

LONG VERSION http://www.teamblackhat.net/Downloads/long-bootanimation.zip

Your device will not finish booting until the animation has finished running. For this reason I suggest the short version but I am using the long version myself.

1. adb push (short/long)-bootanimation.zip /sdcard/bootanimation.zip

2. adb shell

3. su

4. cp /sdcard/bootanimation.zip /data/local/moodle/bootanimation.zip

5. chmod 777 /data/local/bootanimation.zip

If you don't want to use adb then you will have to use some sort of file explorer.
[Moto X Themes and Apps] A2Trip:
Awesome, yeah I saw same video on G+ of course I am rooted. Unlocked BL as well. How do u install? Links made up yet? :D
[Moto X Themes and Apps] jimmydafish:
My above post gives all the info you need plus the link
[Moto X Themes and Apps] A2Trip:
Shhwweettt thanks bro! :thumbup:
[Moto X Themes and Apps] Mike7143:
If anyone is interested, here's one I just made for my new verizon developer edition. Just flashed, looks good. Has moto x inside crystal M logo along with developer edition and an unlocked symbol. Does NOT include the regular or battery images.
[Moto X Themes and Apps] R3dbeaver:
That long one is a beauty. Thanks!
[Moto X Themes and Apps] danger2u:
thanks i flashed

really nice

could u make one for bootloader locked too?
[Moto X Themes and Apps] Mike7143:
Here you go. I hope this one worked.
[Moto X Themes and Apps] danger2u:
nice thank u

can u make one original like the one that Motorola have? i must sell the phone to get a moto x customized and i need that one too

Inviato dal mio XT1060 utilizzando Tapatalk
[Moto X Themes and Apps] Mike7143:
I don't have the original one, perhaps another member can help you out there.
[Moto X Themes and Apps] tacitus54:
What is the fastboot command to replace a logo.bin file?
[Moto X Themes and Apps] mschumacher69:
fastboot flash logo logo.bin

But don't use the one in the OP because it doesn't contain the battery empty sign. There are better ones towards the end of the thread.
[Moto X Themes and Apps] tacitus54:
Thank you.

1. no need to use fastboot flash LOGO logo.bin?

2. do I need to rename the downloaded bin file to logo.bin prior to flashing?

3. is there a way to backup a logo.bin file or just use the one that is part of the sbf file?

0
[Moto X Themes and Apps] mschumacher69:
1. U're right, sorry I missed the LOGO

2. Yes, unless you use fastboot flash logo <yourfilename>.bin

3. You can use the one in the SBF to return to the stock logo.bin
[Moto X Themes and Apps] KidJoe:
What are you looking to do? Do you want to see the stock Moto logo as if your boot loader was unlocked, even though you unlocked the bootloader? i.e. something like the logo-nowarning.zip carock posted here -> http://xdaforums.com/showpost.php?p=48450776&postcount=95 but for 4.4?
[Moto X Themes and Apps] danger2u:
thank u

i will try it and tell if is good for 4.4
[Moto X Themes and Apps] KidJoe:
If that doesn't work... I pulled the stock clogo.bmp off the phone and ran it through carock's script. Get it -> http://mark.cdmaforums.com/X-STUFF/Logo-Stock-clogo.bmp.bin

I also added it to http://mark.cdmaforums.com/X-STUFF/X-LogoBins.zip which contained the 24 CLOGO's from -> HERE that I had converted logo.bins using carock's script. And there are one or two others in there that I like. (when you un-zip it, there will be two folders, one containing the original graphic so you can see it, and one with the logo.bin).
[Moto X Themes and Apps] darkgodz:
:highfive:
[Moto X Themes and Apps] monster30:
could you please make one with the video in the attachment :fingers-crossed: , is the same as yours but i cut a lot of parts and just kept the ones i like. I try to make it by myself replacing your mp4 file with this one but it didn't work and honestly i don't know if i have to edit someting on the .txt file :silly:
[Nexus 4 Q&A, Help & Troubleshooting] anonalchemist:
Hey guys.

So today, I am a proud owner of a new LG Nexus 4 after a lot of research. Unfortunately, I've never owned an Android phone, nor am I familiar at all with the Nexus 4's more intricate settings or may have over looked little useful trinkets and such. So for a completely new user (to both Android and N4), what are your best tips, configs and settings? Any must know shortcuts or advice? (I realize that there's a sticky for useful Android apps, but if there are any "must-haves" for the N4)

Thanks in advance for your advice guys.
[Nexus 4 Q&A, Help & Troubleshooting] Andre_Vitto:
explore man.. configs and settings are very personal things.. and what one person likes is vastly different from other person.. so develop your likes and dislikes in settings.. its not something you can copy from others..