[Moto G 2015 Themes and Apps] makers_mark:
This is a hybrid batch and C program that I wrote to decode and encode the MotoLogo image container. I originally wrote it for the Nexus 6, but it works on your device too. It will allow you to edit or replace any of the images in your logo partition. This will also work with any Motorola device utilizing this current format.

The logo partition has nothing to do with your boot animation. Your boot animation actually comes right after the static image that is one of the several images you can change with this tool. Your boot animation follows after this screen goes away, your boot animation is typically animated or dynamic. The static screen is known as your splash screen to some, or boot screen to others. This tool allows you to change the static image (splash screen) and not your boot animation!​

Thanks to GrayBoltWolf for making this video!!

This video was made using a Nexus 6, but the encoding of the logo.bin is identical. When I made this program, I made it with the mindset of being able to use it to edit ANY MotoLogo image container, even if it's an electronic billboard. I did not include the Nexus 6 bootlader in this version for obvious reasons. But you will just drag and drop your logo.bin from your phone, or if you have an unzipped bootloader (like I provided for the Nexus 6), you can just drag that. The program will find the MotoLogo container in it and cut it out.

[YOUTUBE]O7bra0OnZtU[/YOUTUBE]​

Download the "MotoLogo Injector v.1.1" zip file at the bottom of this post.

Extract the zip file to a new folder.

To use just drag any file (your "logo.bin") that you think might have a MotoLogo container in it onto the batch file "MotoLogo_Injectorv1.1.bat"

The program will then find the Container in the file, extract it and validate every byte in it, and output it in the "Projects" folder.

A newly created folder will pop up that contains the raw image files, PNG image files, some identification files, and your extracted "logo.bin"

There will also be two new batch files in the folder that will make it easy to close the program, edit the images, then just click one of the batch files to get back into the program to re-encode the images. The difference in the two batch files is that one of them will re-encode the logo bin in a "Strict" way, and the other way is "Non-Strict"

Strict goes in the exact same order that the images were encoded in the first place.

Strict will fail if there are any more or any less images.

Strict will fail if any of the image names are changed.

Strict will check the resolution.

Strict will not let you have a Jpg, Bmp, ....any other format mixed in with the Pngs. (If you prefer to work with another image format, you can change that in the settings but you still can't mix them up inside of the "Images" folder; they should all be of the same type.

If an images resolution doesn't match the original images, it will warn you and give you options to resize or disregard the size difference.

Non-Strict simply goes through every file in the "Images" folder in alphanumerical order and makes it a raw file, encodes it, and puts the MotoLogo container together.

Non-Strict will take all kinds of differently formatted images.

The only reason I can see someone wanting to use Non-Strict is to delete images from a MotoLogo container.

In your "Images" folder is where you either edit or replace the PNG images. You can make them bigger, but I don't know what implications this may have as I do not have a device to test on. You must keep the names the exact same as the images, it is okay to change the image or even replace it (that's the whole point) but you have to keep the names the same for Strict mode, which I encourage you to use.

When you are finished editing your images:

You can open up the Original batch program if you haven't used it anymore (it remembers the last file loaded that had a successful validated container in it, so you don't have to drag and drop everytime). And then hit 1 "Rebuild Images Directory (Strict-In Order_Resolution Checks)"

Or you can click on the "Make MotoLogo Bin From Images Folder.bat" to go directly there.

After the program has rebuilt it, it will re validate the container, and then reconvert the container into view-able Pngs again. A new folder will automatically open. This contains your modified container called "build.bin". You can flash it from there.

v.97b Initial Release

v.1.0

Fixed error with Moto X Style bg encoded image size being evenly divisible by 512

Made logging to the screen default so you can tell it's working and not hung up

Changed default image extension from "Png" to "png"

v.1.1

Fixed Settings Bug

I am not responsible for any damage done to your device!! Source is in Posts 2 & 3!