yashsingh1/xdaforums huggingface dataset:
[Moto G Themes and Apps] xpmule:
so what happens when someone makes a boot logo missing all the other images ?

i looked at 3 different stock firmwares for the moto 2 2015 and the logo.bin is bit-exact (hex compared)

i seen a lot of people talking about weird looking buttons before i found this topic..

i see why now.

I don't get it, why not just add all the PNG's instead of picking out some of them to put in the program ?

The boot logo is made up of many pic's and people may want to customize all or some of them.

After all that is the point of an Android customization tool is it not ?

i noticed some bugs on various images used by various downloaded "unlocked bootloader" images i found.

and also on the stock default ones from the firmware (text on buttons are not aligned properly)

So i made a conversion to black backgrounds on all possible images (stock logo but with black background)

I offered to share it but nobody showed any interest.

Your tool OP is very useful thank you :)
[Moto G Themes and Apps] mugsNkrish:
error executing updater binary in twrp

I'm on resurrection remix (custom lp rom) Moto g gen1.. Ive tried all three logo.bin formats.. Somebody pls help me out!!
[Moto G Themes and Apps] Darkk3n:
This requires root?

First of all I gotta tell you that your app is AWESOME, very simple and very efficient. So far I've made a logo for a Moto E 2nd Gen ROOTED and works like a charm so my question is: Does this require root? Or can do the same for another phone that has never been rooted or it has been restored to factory images?

Thank you in advance for your response
[Moto G Themes and Apps] xpmule:
pretty sure you need root access to write the custom file (install it)

otherwise i think the logo file would be read only.

and yeah sweet program and i appreciate the guy sharing but i wish he woudl add ALL the images.

it doesn't make any sense he decided to pick choose what ones you get.

and his response before was go get another image and load that..

well people who get his program won't know about anything i said.

the menu description images are missing and this has bothered people out there.

and i have planned on tweaking them because they are not aligned properly (from Moto)

then i recently seen that other Moto phones have different descriptions too.

I like the captions for the menu options on the moto-x way better than the moto-e ones.

I think what the dev did is embed the stock images into his program but stripped out a lot of sub images.

so if you load the program then pick an image type and work on it then save it etc

you WILL be missing a ton of images that are on the stock image.

SO i give it 4/5 stars LOL

I will give him 5/5

If he goes and re-add's all the stock images to the program.

if he needed help we're here too.. maybe he doesn't want to bother with the hassle i don't know ?

I am very grateful and the program is still awesome so thanks again OP :)

Just trying to offer a suggestion to make it better..

PS:

I made a sweet Black version of the stock Moto Logo too.. works great (i am rooted)

i flashed it with adb fasttools.

the original Moto-E rev.2 logo image contains a bunch of bug's

Text is not aligned up correct and the arrows don't have a black background..

they are slightly off black... also the bright white background is lame LOL

Moto was sloppy when they made that stock boot logo.

Also i did some digging but have not gotten around to making a custom loading screen.

If you run linux it's pretty easy you can use 1 command lien to merge a set of jpeg's into a video.

The boot loader animations is now a .mp4 video format file (before it was a set of jpeg's)

But all i have to do is snag the vid off the phone then check out the video spec's

and i will create a profile for Avidemux video editor.

Then i can just open any video, edit and export to Moto-E boot format and upload :)

I have a lot on the go though so i have not bothered yet.. but i know it's possible.

an Mp4 format is an Mp4 format LOL

Get creative and you could get some wild boot screen/animations going on !
[Moto G Themes and Apps] nandofer:
the same thing happened to me. I'm with the remix resurrection and mine is the moto E second generation
[Moto G Themes and Apps] PimpMy5Ton:
I've tried making and flashing logos with the Moto E 1st gen selection before, it doesn't work, it messes up the CLOGO in the process, you may wanna get with SuperR to find out exactly how it has to be for the structure, I do know that msm_sdcc.1 is not the proper directory name for the Moto E 2nd gen Surnia...
[Moto G Themes and Apps] The Analog Kid:
FAILED: "Error executing update binary" according to TWRP 2.8.6.0 on moto g 2014 XT1064

---------- Post added at 06:01 AM ---------- Previous post was at 05:44 AM ----------

Oh, well... I'm interested
[Moto G Themes and Apps] The Analog Kid:
I've been trying for days to flash a logo.bin version of this image via flashable zip. I've tried ZIP me, I've tried this... no flashable zip has worked yet. Is there anybody kind enough to help me accomplish the task?
[Moto G Themes and Apps] supercoolman:
why don't you just do mini adb+fastboot to flash it?
[Moto G Themes and Apps] metpolds:
[MENTION=5589796]CNK80Q3MX[/MENTION] ... Find attached your Nexus boot logo in a "flashable zip" form. Although I now use a Moto X Pure I have a Moto G 2014 and have tested the logo and it works fine. I know , as has been suggested, that you could fastboot flash the bin file but respect your desire to use a flashable zip through recovery - so here you are. A couple of points .... your jpg file was 576 x 1024 so I changed it to the Moto G default of 720 x 1280 ... I have been having the same error message when attempting flashable zips for the Moto X and I suspect it is a fault in the META-INFO files of the tool's 2.4 version (which is the latest version) ... So to create your logo I used the previous version which is Version 2.2 and everything was fine.
[Moto G Themes and Apps] The Analog Kid:
Thanks a lot!!!... I'll try this ASAP!!!
[Moto G Themes and Apps] xpmule:
Ya i say use fastboot to flash it.. that is all i ever did.

I can't recall the dimensions either but the Black Logo i made was for the Moto E rev2
[Moto G Themes and Apps] The Analog Kid:
Done; .zip finally worked and flashed beautifully. However, final image substantially lacks resolution. Perhaps if using the logo.bin image I picked up from somewhere else in XDA...

[ http://www.mediafire.com/?7t2il2h4fjhc43s ][/URL]

---------- Post added at 11:56 PM ---------- Previous post was at 11:49 PM ----------

Yeah, but reason why I rather choose flashable zip, is to have the ability to change and even share it whenever I want without resorting to a PC...
[Moto G Themes and Apps] metpolds:
[MENTION=5589796]CNK80Q3MX[/MENTION] ... Glad the flashable zip worked for you. The problem of "definition" is one you will run into when chosing images to make your logos. Try using PNG files as an alternative to JPG they are "lossless" and in some cases will give you better results. Step 1 - Find yourself a high definition image to work with then ... Step 2 - Use a good graphics manipulation program to adjust the default size and finer details. (If you have access to Photoshop this is probably the best - however the FREE program "PAINT.NET" works well).

Before you use "Moto Logo Maker" make certain you download and use version 2.2 and NOT the latest version 2.4, then you won't have any problems.
[Moto G Themes and Apps] The Analog Kid:
Yeah, thanks. What I'm gonna try is to make a zip with "Moto Logo Maker" 2.2 out of the already made Nexus logo.bin of which I posted the download URL above and was made by an XDA member and posted in some other related forum. Thanks for the suggestions...
[Moto G Themes and Apps] ZigioGAS:
marshmallow

doesn't work on my moto x 2gen with android 6.0.1, can you solve this? :pianto:
[Moto G Themes and Apps] metpolds:
[MENTION=6612760]ZigioGAS[/MENTION] ... Sorry but you will have to give proper details of why "it" failed...What part of the process failed?...Could you make an image or use one already made?...Did you use the correct dimensions?...Do you know how to use graphic manipulation programs such as Paint.net?...Did you use Moto Boot Logo Maker correctly?...Did you successfully create a ".bin" file? Or did you crash on trying to make a flashable zip?... Finally what device do you have and what OS are you running? :confused:

Anyone who is going to try and help you will need the above information.
[Moto G Themes and Apps] monik182:
It works perfect!

I've been trying all day to change the horrible unlocked bootloader warning screen with no results, until I found this post! So simple and fast! Thank you very much! :good:
[Moto G Themes and Apps] Forrice:
[MENTION=5365186]caitsith2[/MENTION] , Any way of updating your app to allow 6MB and 8MB .bin creation for Moto X pure/style? I pulled the stock logo.bin which has a bunch of images for the bootloader as well as the regular boot images. Not sure if I need to keep those but it would be nice I suppose to not mess with losing them.
[Moto G Themes and Apps] caitsith2:
After loading the MotoX Pure/Style logo.bin, chances are, custom will be selected as device. Just change it to the matching device, and you will be able to create bin sizes that match the max available for that device.

I might in next revision, make the bin size MB adjustable, in custom mode. Just know that you can't ever load a bin size that is larger than the max for a given device, with the max being as defined in the gpt partition table of that device.
[Moto G Themes and Apps] Forrice:
Was just trying again and I noticed that my source .bin is only 3.14MB and when I try and replace the logo_unlocked with a 646kB jpg an error is returned saying that the resulting file would be xxxxxxxx bytes too big. Not sure of exact byte size.

Could the unpacking of the original .bin somehow be expanding all of the other images? Not sure why I would be getting the error otherwise.

I'll try again on a different machine just in case something is weird about this one.

EDIT: So exact process and error-- I loaded this .bin this time and used the 'replace' button to change just the logo-unlocked with the attached image and then went to file>save, gave it a name and it went through processing logo_boot and logo_battery and once the progress bar finished with logo_unlocked it resulted in the following error:

"Error:Images/options selected will not fit in the logo.bin, Failed at logo_unlocked Produced file is 3184995 Bytes too large"

I can't see how that should be the case. Could there be issues because of the marshmallow bootloader "fixed" logo.bin? Thoughts?

EDIT 2: Okay so if I open that source bin and then just directly export it there are no errors. And I extracted the source logo_unlocked image from that .bin and it is 800kb-ish. I tested replacing it with the following sizes of the attached image:

226kB - Failed

149kB - Failed

120kB - Failed

108kB - Success

95kB - Success (highest jpeg compression)

Also interesting to note that the number of bytes that the file would be too big by varied each time and not in a downward direction each time. For example the 149kB file was 2108467 too big and the 120kB file was something like 3185200-ish too big.

uh can't attach but the image is here.
[Moto G Themes and Apps] Trinytix:
[MENTION=5365186]caitsith2[/MENTION] I have a Motorola X Force (aka Droid Turbo 2 in US), he have a Quad HD screen, and the 4 MB limit is very annoying :/ It is possible to increase the limit size please ?
[Moto G Themes and Apps] mng777777:
Thanks for sharing your work! Your app worked great for me!
[Moto G Themes and Apps] TangoTanay:
Not working on my moto g 2015 xt1550.

Whenever i flash a zip it shows an error 6 doesn't install. any ideas??
[Moto G Themes and Apps] xpmule:
yup i just came back to say this is a problem tried v2.3 & v2.4

and i even tried repacking the ZIP files using all kinds of compression settings.

code 6.

I did not notice until someone mentioned a Flashable logo i made for the Moto E rev2 failed.

I tried to figure out what the guy did to fix the flashable zip but he would not say.

He was just intent on mouthing me off about it all when i kept asking him for details (HOW did he get it to work)

Someone said try v2.2 but i can't find it..

My many logo's i have made are all fairly small and work when flashed with ADB

But when i have tried TWRP from Squid to do a self flashable it always fails.

I am using "twrp-surnia-3.0.0-r2" with 5.1 on an XT1527 Moto E 2015

And i also tried loading different profiles for the saved zip too.

So OP / Dev know why we are getting the code 6 ?

Is it maybe a problem with TWRP ?

If i get it figured out WHY i will post back the answer otherwise please consider this a bug report rant ;)

And yeah it is STILL a cool program and we appreciate your effort.. THANK YOU !
[Moto G Themes and Apps] xpmule:
- Flashable Zip's FIX -

Finally after a LOOOOOT of screwing around i got the flashable zip's working.

First i made sure the Logo.bin was created properly using v2.4.1021.2217 for the Moto E (from this topic / Github)

Then i went and stole the updater-binary from an official Motorola OTA update.

Blur_Version.23.11.15.surnia_retus.retus.en.US.zip

(It was double the size so clearly different than the one bundled with this program)

SO i tested this out on Squid's TWRP Recovery v3..0.0 r2 for the Moto E (newest right now)

Made sure the phone was connected via MTP on Win7 then put the new logo.zip on my SDCard

Turned the phone off then held buttons down to get into recovery then simply selected Install

and flashed the logo.zip. (rebooted quick to recovery again to see if it worked) ..it did :good:

I also wrote out my own new script for this too..

Use the code below and leave an empty space at the end of the file. (or use the one in the attachment here)

Note: i added an assert line and i used "bootdevice".

ui_print("Flashing new Bootlogo");
mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/system", "/system");
ui_print("Flashing Partitions with New Bootlogo.....");
package_extract_file("logo.bin", "/dev/block/bootdevice/by-name/logo");
assert(package_extract_file("logo.bin", "/dev/block/bootdevice/by-name/logo"));
ui_print("Dismounting Partitions");
unmount("/system");
unmount("/logo");
ui_print(" //LOGO Flashed successfully//");

I also added the files i used to to test with as an attachment here. (it's for the Moto E 2015)

I had created a 2nd Logo and tested that one and it worked also. (also tried the 2nd newest TWRP)

But the attachment is a conversion of the stock BootLogo but with all black backgrounds (instead of white)

It has a round glassy looking black Moto logo. (for locked / unlocked)

And as a bonus it has my revamped Bootloader menu options with larger font etc.

So my attachment logo file is for the Moto E but i am willing to bet the updater-script it comes with will work for other phones etc.

(if they were suppose to) ..not sure if this program used one updater for all phones.

Oh yeah.. one more thing.

I also used Winrar v5.3.1 by highlighting the Meta-INF folder & logo.bin and selecting "add to archive"

Then i selected the default profile "ZIP / Low Compression" then i picked storage = "Normal" ..then save etc.

I think that about covers it.. so spread the word i guess and pass it around ;)

Google was not much help trying to figure out the problem either.. i just started trying stuff after having an idea.

OP / Dev you may want to change the Updater-Binary that comes with the program.

I tried a LOT of stuff before this worked including many versions of TWRP etc.

Checking Hashes?

update-binary - 508 KB (520,704 bytes) - Modified = ‎Friday, ‎February ‎14, ‎2014

MD5: 8e63b0786d1237d0edf4ab1512cf8dd4

logo_motoround.zip - 568 KB (581,694 bytes) - Modified = Today, ‎April ‎02, ‎2016

MD5: 10e39956b6e837cb1f50776fcabd44d1
[Moto G Themes and Apps] Phecabooth:
Oh, not just the 4MiB limit is annoying, I always get a Failed message what is says output file is too large, however I did remove pieces from and replace one picture an another smaller one.

1.4 MiB all together and it says too large.

any alternative solution?
[Moto G Themes and Apps] xpmule:
Maybe upload your BootLogo your working on so we can look at it.

Sorry i don't know which phone your making it for so if you do post what it is.

A good quick place to upload a file is here.. http://www.datafilehost.com/

Just always make sure to look for a checkbox that says "Use Downloader"

And uncheck it.. you don't need that.

I suggested that because you can upload it then wait a while for some people to download it

then use the delete file links you get when you upload to remove the file when ever you want.

No idea why you are having a problem.. i have not seen any error like that once.

But if you upload your file i will look at it and see if i can detect a problem

Or file(s) ..meaning you may have to put them all in a zip etc.

SO what DPI . Resolution and Bit-depth and format and Quality settings are you using?

PNG32bit or 24bit? no *visible* difference between the two i think.. one is a bit smaller.

And are you using editable PNG's or "Flattened" png's ? ..the later are way smaller.

Using Jpeg's? what quality setting and using smoothing? General Quality = 80 is average.

Never use 100 ..99 is the same basically just way smaller.

And what DPI you using ? 72 or 96 would be typical and what i use.. but many have 3000 or higher etc

If you want to do graphics for a GUI it's wise to learn graphics ;)
[Moto G Themes and Apps] Phecabooth:
I working with the logo_nounlocked.bin for Moto Maxx XT1225, you can find all over the internet(2.64MiB) I needed 1440x2560 resolution, and the picture quality was 40, and only 63KiB.

Mean time I succesfully made it, thanks for your help.

I loaded this logo, then from the drop off menu I choosed Moto X Style 3rd gen, and when I swapped the logo_unlocked picture now I could save it. As I see others did the same before..

For the Moto X Style 3rd gen you can make a 8 MiB file, meanwhile the custom logo can be only 4MiB.

Thanks again.
[Moto G Themes and Apps] xpmule:
I made a better / cleaner script to go with the update-binary i already shared a couple comments back.

(There was no need to unmount Logo before because it was never mounted)

ui_print("Flashing New Bootlogo");
mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/system", "/system");
package_extract_file("logo.bin", "/dev/block/bootdevice/by-name/logo");
unmount("/system");
ui_print("Flashing Done");

As a matter of fact i will simply create a dummy empty file Logo.bin

and i will zip it with the binary + script so you all can just drop in your own Logo.bin & save it + FLASH.

It's added to my post as an attachment

This helped me avoid code 6 flashing errors and i tested it on Lollipop + Marshmallow.

The binary came from "Blur_Version.23.11.15.surnia_retus.retus.en.US.zip"

(Which is an official OTA update)

update-binary - 508 KB (520,704 bytes)

MD5: 8e63b0786d1237d0edf4ab1512cf8dd4

updater-script - 228 bytes (228 bytes)

MD5: 6cafcebaa9277a9e295b9f2a74c2851a

fixed_logo.zip - 335 KB (343,521 bytes) - ZIP = Normal Compression

MD5: 8eddfe986f6b7f1e215a5219cf186567

PS:

No one said they tried it and i know this will fix the issue a TON of guys have complained about.

Did i waste my time here or what?
[Moto G Themes and Apps] The Analog Kid:
I've been trying to make logo.bin for Moto X Play out of a PNG version of the image below, however, Boot Logo Maker always tells me "image can't be loaded" or something like that. Is there something wrong with the image?
[Moto G Themes and Apps] aha360:
I've actually used another script set I have found from a boot logo package and it actually worked as well, so I assume your ZIP/updater-script template will work as well, as when I tried to produce the Lenovo 2016 bootlogos for the Moto G LTE using the built-in flashable ZIP feature, I got an Error 6 message as well.

Also, here's the Moto G LTE (Lenovo - powered by Android) boot logos but bear in mind that the 'mk2' images have the bigger 'powered by Android' logos than the 'mk1' images and the 'LL' and 'Legacy' logos indicate that they are the 'Lollipop' (rounded lowercase-lettered logo design) and the pre-Lollipop (rounded stylised 'anDROID' logo design) designs - this is taken from my Instagram post bearing the same alias as on here:
[Moto G Themes and Apps] xpmule:
Once you add that as an attachment it is converted to a JPEG file here on the forum.

So we can not test your PNG file etc

You can put the PNG inside a zip file then attach it to your post though.

I also had noticed before that the updater i posted before was not needed.. the script was the issue.

I tried the script i posted on here with the updater binary included with the logo maker and it worked fine.

"bootdevice/by-name"

Is the key part i found online that worked better..

the original auto generated script using this line..

mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");

So i changed it to..

mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/system", "/system");

Not sure if the dev has been seeing any of these comments.. he still maintaining this program ?
[Moto G Themes and Apps] The Analog Kid:
Ok, thanks. I'll do the zip... And it seems dev has left the building some time ago, BTW. But it looks like you're doing a pretty good job here...
[Moto G Themes and Apps] The Analog Kid:
Ok, here you are. Attached are two files; one is the black background png image; the other is a white background version already made as logo.bin, but I'm not sure if it's sized for moto G 2014, or Moto X Play, which is actually the one I need the logo.bin for...
[Moto G Themes and Apps] The Analog Kid:
UPDATE: Finally made the logo.bin with Boot Logo Maker, although it refuses to flash with Mfastboot. It goes "logo.bin can't be loaded" or something very similar. Perhaps it is because the file is too big?... Here it is:
[Moto G Themes and Apps] The Analog Kid:
Yeah, I know. I already did the whole unlocking/rooting process on this Moto X Play and three other different Moto devices of my own, and so I've replaced a number of logo.bin on all of them, using 'minimum adb and fastboot', so I'm used to the common "fastboot flash logo logo.bin" command somehow; sure I didn't try to flash a zip... Device is detected as a fastboot device as well. Thing is, it never ever turned this complicated to flash a logo.bin before, so that made me think about something wrong with either this logo.bin, or the partition in question or even with the Mfastboot version I've used. I'll try again later the way I'm used to. If not successful, I'll try the stuff you kindly provided. I'll tell you about the results... Thanks for the detailed support!
[Moto G Themes and Apps] xpmule:
Let us know how you make out with it eh..

I did not see a problem looking at your logo so i am not sure what to suggest.. good luck.

I also grabbed the code from Github was thinking i would make my own update maybe.

I have coding experience and i looked and i seen only 1 updater-binary and only 1 updater-script in the program code repo.

So.. that means that ALL phones use those same two files.

And i posted earlier they did not work for me and when i searched around i could see others having a problem too.

(not sure what happened)

My point is.. a Flashable zip fix ..put into the program so i don't have to fiddle around so much afterwards.

I usually have MS Visual Studio installed but i don't on this PC so that would be the biggest pain for me right now.

The program is coded in CSharp .NET