[Moto G Themes and Apps] xpmule:
I was getting the ole error 6 msg too and i tracked it down to the update binary / script used with this program.

I tried to tell you all you will have to make your logo and save it.

So when you saved the zip you then need to repack it with a new updater-binary.

THEN it will be flashable via TWRP etc.

Or..

Save it as a BIN file and flash that with fastboot or mfastboot (the .bin is in the zip too)

This program needs to be updated but i don;t have Visual Studio setup for it or i'd make the changes to fix that error and update it for newer phones etc.

I think the size limit is not bad though.. you shouldn't be making 8mb images anyway.

It's just going to take longer to load for no good reason.

The phones have a limited resolution so it's not like we need bootlogo's 10k by 20k pixels large.

What you all should be doing is learning about image optimization.. THAT is the problem here.

For example.. if i use Fireworks to create a PNG file i can save it normally and it will be huge.

But if i choose to save it deliberately in the options as a "Flat" PNG the file size will but drastically trimmed down.

What happens is the editable attributes of the image are removed.

Unless you need it to be animated then use flat png's or your simply wasting space and increasing load times.

I have not used Photoshop in 15 years either i have no idea about that.

Fireworks PWN's Photoshop i think for working with PNG's with a better UI.

And it still runs Photoshop plugins too LOL

bah anyway i might see if i can just patch it rather than recompiling it.

EDIT:

Well i forgot again it's not the binary i think but the script.

I tried to patch the program but it's not working.. *yet.

I could probably patch the size limit too but i will have to look at this more later.. it's lunch time !

EDIT2:

Well hacking it with Reflexil was not working so i give up.

But i figured screw it i will install Visual Studio.

I already had the source code setup and just patched the updater-script for error 6.

If it's not a big deal i will tweak a bit more of it too..

EDIT3:

So i got VS installed and changed the script in the program and compiled it and then tested saving flashable zips.. it worked but i did not test flashing my phone with it yet.

The zip is suppose to be used to flash via TWRP etc.. so i will do that soon.

I already posted the changes i made here earlier and it worked fine last time.

I was alerted to this error by a user who downloaded a flashable zip package i made & shared on the Moto E 2015 Themes section.. when i tested myself he was right.. flashing failed !

The question is.. how many phones have this problem ? I have no idea !

So i will share this newer build for those of you with the code 6 error.

Otherwise just use his version with the default script ;)

I will post back here with the freshly built *fixed* version AFTER i test it on myself first LOL

Dev's.. it' super easy to grab the code from Github and mod it and build.. compiling took 1.17 seconds hahhaha

EDIT4:

If you all want a larger image size we need to know the phones partition size.

The dev here already said that is the issue..

If the phones partition is 4mb and you flash a logo larger your probably gonna have a problem LOL

Point being is i don't know anything about these other phones.

I might be able to add new phone support but i need some basic info such as the *confirmed* Logo partition size and Phone name etc.

EDIT5:

I added the fixed version i tested working for the code 6 error while flashing as an attachment here.

I changed the version to v2.4.666 and updated the copyright year to 2017 then updated the *embedded* auto-written script with the following..

ui_print("************************************************");
ui_print(" +++ Changing to your +++ ");
ui_print(" +++ New Boot Logo +++ ");
ui_print("************************************************");

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");

So use this if you get the code 6 error while flashing zip's it *might help.

If you are not getting code 6 errors this won't do you any good LOL

I tested it myself and it worked great :)

THANKS to CaitSith2 ;)