How to customize Mediatek logo images ROM

10

rom1nux

Member
Jul 20, 2015
37
0
18
France
In this tutorial we are going to customize our logo images on Mediatek devices.
Backup your data in case of problem, i could not be responsible if something wrong append.

Please, be sure you understand what is a ROM, take a look here :
http://www.china-devices.com/topic/544-what-are-all-the-images-in-a-rom-basics-tutorial/

WHAT YOU NEED

 

1 - INSTALL THE MEDIATEK USB VCOM DRIVER

Be sure you install Mediatek USB VCOM driver properly (Needed by SPFlashTool), take look here :
http://www.china-devices.com/topic/4776-another-great-guide-for-installing-mtk-usb-vcomm-drivers-onto-your-pc-win-7vistaxp-only


2 - DUMP YOUR ORIGINAL ROM

To download your original ROM parts look here : http://www.china-devices.com/topic/5180-how-to-dumpbackup-mediatek-rom


3 - UNPACK IMAGES FROM LOGO ROM PARTITION

All pictures are in the LOGO partition on the device, so there are in logo.bin file on your PC,
so we need to unpack them first.

  1. Unplug your device fro computer
     
  2. Shutdown your device
     
  3. Create a working directory on your computer (Ex: custom_logo)
     
  4. Copy the "logo.bin" file into the directory

    View attachment 721
     
  5. Extract "mtkimg-win64-bundle.zip" into the directory

    View attachment 722
     
  6. Click on winterm.bat

    View attachment 723
     
  7. Enter : mtkimg.exe unpack -t logo

    View attachment 724
     
  8. Pictures are unpacked into "logos.d"

    View attachment 725

    View attachment 726
     
4 - CUSTOMIZE YOUR LOGOS

  1. Edit the pictures but keep the exact name, width and height of each images

    Before:
    View attachment 737

    After
    View attachment 728
     
  2. I modify img-01 and img-39 for example

    View attachment 729

     
5 - REPACK IMAGES INTO LOGO ROM PARTITION

  1.  Enter : mtkimg.exe repack -t logo newlogo.bin

    View attachment 730
     
  2.  "newlogo.bin" in now repacked

    View attachment 731
     
6 - FLASH THE NEW LOGO PARTITION

  1. Copy "newlogo.bin" to your rom directory

    View attachment 732
     
  2. Start SPFlashTool (As Administrator)
     
  3. On "Download" tab, click on "scatter-loading" and select the scatter file
     
  4. Select the "newlogo.bin" for "LOGO" partition

    View attachment 733
     
  5. Unselect all except "LOGO" partition

    View attachment 734
     
  6. Click on "Download" button
     
  7. Plug your shutdown device and wait seconds

    View attachment 735
     
  8. SPFlashTool tell us all is OK

    View attachment 736
     
  9. Unplug your device from computer
     
  10. Start your device and enjoy

    Before
    View attachment 738

    After
    View attachment 739
 

NOTES

 

 

Hope this help

 
 
Last edited by a moderator:
30

Blandroid

Forum Bimbo
Member
Apr 18, 2014
764
0
93
London
What a fantastic tutorial!!

Thank you sooo much for doing this for everyone 
:good2:

You make it really clear and uncomplicated - pictures too which always help.

Brilliant work
:clapping:
 
30

mrsim

KingOfNoobs
Staff member
Mar 1, 2014
16,174
1
113
48
London UK
FUCKING AWESOME DUDE...you are "THE MAN"....now i need an MTK based device to try this out....also will this work on any mtk device even the new 64bit SoC's...???

also the size difference when adding a new image will it affect the rom flashing process if the whole rom is flashed i.e. will the scatter load size be different from the original size and maybe give problems when attempting to flash the whole rom with the new image or will another backup have to be made...sorry just thought i would ask in case this caused a problem...but you sure do know your stuff...thank you so much for posting this for our users... :clapping:
 
Last edited by a moderator:
20

timberblot

Sir Timberblot
Jan 14, 2015
1,224
0
83
50
ionisphere
Yes a great tutorial, bit lengthy for me cos i'm a stripper oooer but always nice to learn ;)
 
30

Blandroid

Forum Bimbo
Member
Apr 18, 2014
764
0
93
London
@ Simsy - he did say in the tuto to keep the file size the same when you're making your new image so as long as you do so it won't affect anything innit  :dance:

Yes a great tutorial, bit lengthy for me cos i'm a stripper oooer but always nice to learn ;)
Que?  :declare:
 
20

timberblot

Sir Timberblot
Jan 14, 2015
1,224
0
83
50
ionisphere
If it dont involve stripping blandy, disco lights and flashy lights not my thing ;) altho do like the liquid smooth ;)
 
10

rom1nux

Member
Jul 20, 2015
37
0
18
France
Hello,

Thank for your return :boast: Hop this help people.

also the size difference when adding a new image will it affect the rom flashing process if the whole rom is flashed i.e. will the scatter load size be different from the original size and maybe give problems when attempting to flash the whole rom with the new image or will another backup have to be made..
You could not add a new image without rebuilding your recovery and bootloader, you can just edit the existant image.
MTKIMG will create a logo.bin with the same size as your original so the scatter file not change.

he did say in the tuto to keep the file size the same when you're making your new image so as long as you do so it won't affect anything innit
I want to say : Keep the same image size : Width x Height,

i'm going to correct this point

 

 
 
10

rom1nux

Member
Jul 20, 2015
37
0
18
France
Updated with correction and remarks...
 

Guest
Guest
Hello, hi
I was used this great tool for my device based on mtk6589 for change my logo graphics but I have a problem with repacking because when I do it with my folder logos.d = 1.81 MB the tool creating a file newlogo.bin = 4 GB ... oryginal file logo.img = 531 KB after unpacket folder logos.d = 1.13 MB
 
10

rom1nux

Member
Jul 20, 2015
37
0
18
France
Hello,

Sorry for late response.

When you unpack a image, MTKIMG create a config file to keep the original image size, if you extract an other image between unpack/repack, the last size is used.
Unpack your original logo image and keep the config file (image.ini) and replace it in your current folder before repack.
(You can manually change the size in image.ini, take care of the image type too)

Bye

 
 
Help Users

You haven't joined any rooms.

    You haven't joined any rooms.