Post Reply

[APP][LOGO] Moto X/G/E boot logo command line tool

OP marmottepoilue

13th August 2014, 01:04 PM   |  #21  
Junior Member
Thanks Meter: 67
 
28 posts
Join Date:Joined: Jul 2013
Donate to Me
More
I peeked into the gpt.bin from stock firmware for moto x and moto e, and also confirmed, that like the moto g, the max logo.bin size is 4MB. As such, it may be a good idea to at least warn, if not error out, if the 4MB is exceeded.
3rd October 2014, 07:41 PM   |  #22  
Member
Flag Davisville
Thanks Meter: 2
 
66 posts
Join Date:Joined: Jan 2013
More
after I flashed one of the bins I just get a Greenish Brown screen with a Square in the middle(about the size of the <3% battery image) with random colored horizontal lines, Then it flashes the Original Boot logo for a frame, then the screen is black until fully booted. Even flashing the original logo.bin won't fix this.
4th October 2014, 11:01 AM   |  #23  
marmottepoilue's Avatar
OP Junior Member
Thanks Meter: 27
 
13 posts
Join Date:Joined: Jul 2014
Hi Biom4st3r,

What's your phone ?
What's your android version ?
Where do you get your 'bins' ?
Where do you get your original logo.bin ?
4th October 2014, 04:42 PM   |  #24  
KidJoe's Avatar
Recognized Contributor
Flag Thorndale/Romansville, PA
Thanks Meter: 1,075
 
2,483 posts
Join Date:Joined: Aug 2008
More
Quote:
Originally Posted by Biom4st3r

after I flashed one of the bins I just get a Greenish Brown screen with a Square in the middle(about the size of the <3% battery image) with random colored horizontal lines, Then it flashes the Original Boot logo for a frame, then the screen is black until fully booted. Even flashing the original logo.bin won't fix this.

I've seen others post this...

A few times it was from Safestrap users. Because they had safestrap, their bootloader and GPT.BIN was older, and was expecting a LOGO.BIN in the older format. If that is your situation, and you want to continue using Safestrap, you need to use LOGO.BIN files formatted for 4.2.2 phones.

If you had used Safestrap, but no longer use it, re-flash the full stock SBF of the ROM currently on your phone to bring all files in line...

Next, there was a user who could not use mfastboot to flash a logo.bin (no error was given, but he got a messed up graphic each time he booted). He was able to use a flashable zip and install via custom recovery. Try this if you have TWRP installed on your phone, download -> http://mark.cdmaforums.com/X-STUFF/P...-flashable.zip and boot to TWRP and try to install the ZIP. I don't recall what finally fixed it for him.

Lastly there was a user who got the messed up graphic using either mfastboot or the flashable zip. He had to reflash the SBF of the rom on his phone in order to fix.
26th November 2014, 09:59 PM   |  #25  
Member
Thanks Meter: 2
 
41 posts
Join Date:Joined: May 2012
When I run the old mlogo.exe , I get an error after every run. Even if it is just to run the exe it self without any arguments.
Quote:

mlogo (old format) version 1.02
Motorola phones logo managment
for old logo format (android version less than 4.4)
Made for forum.xda-developers.com by marmottepoilue

This software uses the FreeImage open source image library. See http://freei
FreeImage is used under the FIPL, version 1.0

Usage:
mlogo <logo_filename> command [arguments]

Commands:
mlogo <logo_filename> list
list logo contents
mlogo <logo_filename> extractall
extract logo contents
mlogo <logo_filename> create
create a new empty logo
mlogo <logo_filename> append <name> <image_filename>
append image to an existing logo
mlogo <logo_filename> replace <name> <image_filename>
replace image in an existing logo
mlogo <logo_filename> remove <name>
remove image in an existing logo
mlogo <logo_filename> extract <name>
extract image from an existing logo

Error

1st December 2014, 07:20 PM   |  #26  
marmottepoilue's Avatar
OP Junior Member
Thanks Meter: 27
 
13 posts
Join Date:Joined: Jul 2014
Quote:
Originally Posted by akhenax

When I run the old mlogo.exe , I get an error after every run. Even if it is just to run the exe it self without any arguments.

If you run the exe without arguments, you get an error because... you have no arguments

You can try mlogo "path to your logo file" list
This command will not modify your logo.
26th February 2015, 01:46 PM   |  #27  
Junior Member
Thanks Meter: 1
 
14 posts
Join Date:Joined: Feb 2015
More
Quote:
Originally Posted by marmottepoilue

Here is a small command line tool to manage boot logo on motorola phones with unlocked bootloader on Jelly Bean, Kitkat and Lollipop.

With this tool you can mainly create your own custom boot logo and/or remove warning message.
You can also list, extract, replace, remove image from a boot logo file or create a new one from scratch.

The tool can accept a large variety of image format, but prefer using a non-destructive format like BMP or PNG.
Images are exported as PNG.

Code:
Usage:
mlogo <logo_filename> command [arguments]
Commands:
mlogo <logo_filename> list
        list logo contents
mlogo <logo_filename> extractall
        extract logo contents
mlogo <logo_filename> create
        create a new empty logo
mlogo <logo_filename> append <name> <image_filename>
        append image to an existing logo
mlogo <logo_filename> replace <name> <image_filename>
        replace image in an existing logo
mlogo <logo_filename> remove <name>
        remove image in an existing logo
mlogo <logo_filename> extract <name>
        extract image from an existing logo
Create a custom logo on Kitkat/Lollipop (android 4.4.x/android 5.0.x):
Your image can have any size less or equal to your phone's native which is:
Moto X 2014: 1080x1920
Moto X 2013: 720x1280
Moto G (2013/2014): 720x1280
Moto E: 540x960

If your image resolution is less than phone's native:
Changes are done by the phone not by this tool
- it will be centered vertically and horizontally
- the background color not covered by your image will be the same as the top-left pixel of your image.

List the content of your current logo:
mlogo logo.bin list

Replace the image you want to change with yours:
Start logo on unlocked bootloader:
mlogo logo.bin replace logo_unlocked mylogo.png
Empty battery logo:
mlogo logo.bin replace logo_battery mylogo.png
Low power logo (moto E):
mlogo logo.bin replace logo_lowpower mylogo.png
Unplug logo (moto E):
mlogo logo.bin replace logo_unplug mylogo.png

Create a custom logo on Jelly Bean (android less than 4.4):
Same as above but your image must have a size of 540x540
Use 'mlogo (old format)'

Thanks to:
Carock, for explanations on boot logo RLE image encoding.

Changes:
- v1.01 change errorlevels behavior,
return errorlevel 0 on succes and errorlevel 1 on error.
- v1.02 correct an error when there is no padding,
bug found by caitsith2 in this post.

Downloads:
Kitkat/Lollipop (Windows)
Windows version for new logo format (android 4.4.x/android 5.0.x)
mlogo v1.02.zip SHA-1:
6C63079E15993915A778B53259FD960D09A33687

Kitkat/Lollipop (Linux)
Linux version for new logo format (android 4.4.x/android 5.0.x)
mlogo-linux v1.02.tar.gz SHA-1:
91A2773F16E47691A171F4A84E741C0E3C471725

Jelly Bean (Windows)
Windows version for old logo format (android less than 4.4)
mlogo (old format) v1.02.zip SHA-1:
7BA3689CE35FCD1CE27E6690703D05A599473962

Jelly Bean (Linux)
Linux version for old logo format (android less than 4.4)
mlogo-linux (old format) v1.02.tar.gz SHA-1:
8F2A520C0C4733F20B8D2A78BA6B9229AF2CC5E0

if i will give your any other image can you convert to moto e boot icon ????????

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes