[Q] How to extract logo.bin

Search This thread

ajparag

Senior Member
Mar 9, 2011
250
64
Mumbai
Hi,
I want to extract logo.bin from /dev folder in the android OS. I have come across posts that say that logo.bin is present in boot.img and can be extracted from it. I used dsixda to unpack boot.img but did not get logo.bin inside the dev folder. the dev folder is empty. I did it for two phone models but both were unsuccessful. Can someone help me on how to get logo.bin?

Regards,
Parag
 

ajparag

Senior Member
Mar 9, 2011
250
64
Mumbai
There are hundreds of developers working with logo.bin file day in day out. Can no one take out a few minutes to share how it is extracted from the device? Plz help

Sent from my iBall Andi4.5q using xda app-developers app
 

lolet

Senior Member
Feb 26, 2011
54
39
There are hundreds of developers working with logo.bin file day in day out. Can no one take out a few minutes to share how it is extracted from the device? Plz help

Sent from my iBall Andi4.5q using xda app-developers app

1. Root device
2.
Code:
adb shell
dd if=/dev/logo of=/sdcard/logo.bin bs=3145728 count=1
3. Copy logo.bin from sdcard to your PC
The blocksize (bs) can be bigger or smaller depends of device size.
 

ned000111

Member
Jan 2, 2014
5
0
How to edit logo.bin

BUT How to edit logo.bin ?
how can i convert logo.bin 2 in example BMP
or any other way to edit it
i use LogoBuilder_v1.4 and Image_Search_Editor_Eng
but android breaked down :(:
 

Mayur@funbook

Member
Dec 28, 2012
48
6
Dehradun
1. Root device
2.
Code:
adb shell
dd if=/dev/logo of=/sdcard/logo.bin bs=3145728 count=1
3. Copy logo.bin from sdcard to your PC
The blocksize (bs) can be bigger or smaller depends of device size.
Sir i have a rooted mt6589 device(FLY ALPS F45Q) and successfully changed second boot image and bootanimation. but the real headache is logo.bin file. I can't find it on phone.
I have backed up my stock rom via SP FLASH TOOLS and now
I have:- files.md5, boot.img, nandroid.md5, recovery.img and system.ext4.tar.
Can I extract logo.bin file from any of the above files....
Plzz help.
 

lolet

Senior Member
Feb 26, 2011
54
39
Sir i have a rooted mt6589 device(FLY ALPS F45Q) and successfully changed second boot image and bootanimation. but the real headache is logo.bin file. I can't find it on phone.
I have backed up my stock rom via SP FLASH TOOLS and now
I have:- files.md5, boot.img, nandroid.md5, recovery.img and system.ext4.tar.
Can I extract logo.bin file from any of the above files....
Plzz help.

Do everything as I wrote and you'll get logo.bin

BUT How to edit logo.bin ?
how can i convert logo.bin 2 in example BMP
or any other way to edit it
i use LogoBuilder_v1.4 and Image_Search_Editor_Eng
but android breaked down :(:

Use tools from https://github.com/bgcngm/mtk-tools
 
  • Like
Reactions: trekkin1707

NightThyme

Senior Member
Jan 5, 2014
128
17
1. Root device
2.
Code:
adb shell 
dd if=/dev/logo of=/sdcard/logo.bin bs=3145728 count=1
3. Copy logo.bin from sdcard to your PC
The blocksize (bs) can be bigger or smaller depends of device size.
I have an unlocked and rooted Moto X running Kit Kat 4.4 and want to pull the logo.bin file but these commands return an error that no such file or directory exist.

Any ideas?
 

lolet

Senior Member
Feb 26, 2011
54
39
I have an unlocked and rooted Moto X running Kit Kat 4.4 and want to pull the logo.bin file but these commands return an error that no such file or directory exist.

Any ideas?

This is instruction for MTK, but your Moto X has a Qualcomm CPU. Anyway for QC device procedure is more complicated, IIRC you need to edit some partition on /dev/block
 

lolet

Senior Member
Feb 26, 2011
54
39
You can get it from /proc/dumchar_info. e.g
Code:
root@myphone:/ # cat /proc/dumchar_info
cat /proc/dumchar_info
Part_Name       Size    StartAddr       Type    MapTo
preloader    0x0000000000600000   0x0000000000000000   2   /dev/misc-sd
mbr          0x0000000000080000   0x0000000000000000   2   /dev/block/mmcblk0
ebr1         0x0000000000080000   0x0000000000080000   2   /dev/block/mmcblk0p1
pmt          0x0000000000400000   0x0000000000100000   2   /dev/block/mmcblk0
pro_info     0x0000000000300000   0x0000000000500000   2   /dev/block/mmcblk0
nvram        0x0000000000500000   0x0000000000800000   2   /dev/block/mmcblk0
protect_f    0x0000000000a00000   0x0000000000d00000   2   /dev/block/mmcblk0p2
protect_s    0x0000000000a00000   0x0000000001700000   2   /dev/block/mmcblk0p3
seccfg       0x0000000000020000   0x0000000002100000   2   /dev/block/mmcblk0
uboot        0x0000000000060000   0x0000000002120000   2   /dev/block/mmcblk0
bootimg      0x0000000000600000   0x0000000002180000   2   /dev/block/mmcblk0
recovery     0x0000000000600000   0x0000000002780000   2   /dev/block/mmcblk0
sec_ro       0x0000000000600000   0x0000000002d80000   2   /dev/block/mmcblk0p4
misc         0x0000000000080000   0x0000000003380000   2   /dev/block/mmcblk0
logo         [B]0x0000000000300000  [/B] 0x0000000003400000   2   /dev/block/mmcblk0
ebr2         0x0000000000080000   0x0000000003700000   2   /dev/block/mmcblk0
expdb        0x0000000000a00000   0x0000000003780000   2   /dev/block/mmcblk0
android      0x0000000028a00000   0x0000000004180000   2   /dev/block/mmcblk0p5
cache        0x0000000007e00000   0x000000002cb80000   2   /dev/block/mmcblk0p6
usrdata      0x0000000060000000   0x0000000034980000   2   /dev/block/mmcblk0p7
fat          0x0000000052da0000   0x0000000094980000   2   /dev/block/mmcblk0p8
bmtpool      0x0000000000000000   0x00000000ff9f00a8   2   /dev/block/mmcblk0
Then convert the value from size column to decimal.
 
  • Like
Reactions: cyril279

chankruze

Senior Member
Jun 30, 2017
224
261
Balasore
chankruze.github.io
Maybe this will solve all problem

I SAW SOME POST IN WHICH PEOPLE ARE ASKING WHERE TO PUT ADB SHELL COMMAND, PEOPLE CAN'T UNDERSTAND THE DIFFERENCE BETWEEN STOCK FIRMWARE & A SP FLASH TOOL BACKUP:crying:
TO THOSE PEOPLE I WILL SAY - " PLEASE STAY AWAY FROM YOUR INNOCENT PHONE,PLEASE". I AGREE I WAS A NOOB BUT I DIDN'T EVER ASKED THESE TYPE OF FOOLISH SUPER DUMB QUESTION.THIS IS A FORUM , DO READ FORUM RULE & DO A DEEP SEARCH BEFORE POSTING NONSENSE POSTS.
SOMEBODY REPORTED AN ERROR WHILE PULLING LOGO.BIN THROUGH ADB,ERROR WAS "PERMISSION DENIED" THIS MEANS YOUR BOOTLOADER IS NOT UNLOCKED.YOU NEED TO UNLOCK YOUR BOOTLOADER FIRST IN ORDER TO USE ADB & FASTBOOT WITH ROOT LEVEL COMMANDS.

FINALLY WHERE IS LOGO.BIN ?
EVERY PHONE HAS IT'S OWN PARTITION NO.(mmcblk0xxx) IT DEPENDS ON YOUR PHONE.YOU HAVE TO GET IT UNLESS SOMEONE TELL YOU WHAT IS YOUR LOGO PARTITION SERIAL NO FOR THAT PARTICULAR DEVICE.
TO KNOW THE PARTITION NAME & NO OF YOUR DEVICE ,A QUICK COMPREHENSIVE GUIDE IS HERE
DETAILED INFO

HIT THANKS IF THIS HELPED YOU:cowboy:
 

masster64

Member
Jan 17, 2010
32
8
I SAW SOME POST IN WHICH PEOPLE ARE ASKING WHERE TO PUT ADB SHELL COMMAND, PEOPLE CAN'T UNDERSTAND THE DIFFERENCE BETWEEN STOCK FIRMWARE & A SP FLASH TOOL BACKUP:crying:
TO THOSE PEOPLE I WILL SAY - " PLEASE STAY AWAY FROM YOUR INNOCENT PHONE,PLEASE". I AGREE I WAS A NOOB BUT I DIDN'T EVER ASKED THESE TYPE OF FOOLISH SUPER DUMB QUESTION.THIS IS A FORUM , DO READ FORUM RULE & DO A DEEP SEARCH BEFORE POSTING NONSENSE POSTS.
SOMEBODY REPORTED AN ERROR WHILE PULLING LOGO.BIN THROUGH ADB,ERROR WAS "PERMISSION DENIED" THIS MEANS YOUR BOOTLOADER IS NOT UNLOCKED.YOU NEED TO UNLOCK YOUR BOOTLOADER FIRST IN ORDER TO USE ADB & FASTBOOT WITH ROOT LEVEL COMMANDS.
Is your CAPS LOCK key broken?
Because we can read very well without capital letters.
Or are you shouting? If yes, maybe you need some anger management classes...
 

chankruze

Senior Member
Jun 30, 2017
224
261
Balasore
chankruze.github.io
Is your CAPS LOCK key broken?
Because we can read very well without capital letters.
Or are you shouting? If yes, maybe you need some anger management classes...

I don't waste energy by shouting to kids.:laugh:
By the way i am feeling very very sorry for those poor people:(
By the way what's point to quote my post ? are you asking a valuable question or just trying to increase your post count:eek: ?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    There are hundreds of developers working with logo.bin file day in day out. Can no one take out a few minutes to share how it is extracted from the device? Plz help

    Sent from my iBall Andi4.5q using xda app-developers app

    1. Root device
    2.
    Code:
    adb shell
    dd if=/dev/logo of=/sdcard/logo.bin bs=3145728 count=1
    3. Copy logo.bin from sdcard to your PC
    The blocksize (bs) can be bigger or smaller depends of device size.
    3
    Maybe this will solve all problem

    I SAW SOME POST IN WHICH PEOPLE ARE ASKING WHERE TO PUT ADB SHELL COMMAND, PEOPLE CAN'T UNDERSTAND THE DIFFERENCE BETWEEN STOCK FIRMWARE & A SP FLASH TOOL BACKUP:crying:
    TO THOSE PEOPLE I WILL SAY - " PLEASE STAY AWAY FROM YOUR INNOCENT PHONE,PLEASE". I AGREE I WAS A NOOB BUT I DIDN'T EVER ASKED THESE TYPE OF FOOLISH SUPER DUMB QUESTION.THIS IS A FORUM , DO READ FORUM RULE & DO A DEEP SEARCH BEFORE POSTING NONSENSE POSTS.
    SOMEBODY REPORTED AN ERROR WHILE PULLING LOGO.BIN THROUGH ADB,ERROR WAS "PERMISSION DENIED" THIS MEANS YOUR BOOTLOADER IS NOT UNLOCKED.YOU NEED TO UNLOCK YOUR BOOTLOADER FIRST IN ORDER TO USE ADB & FASTBOOT WITH ROOT LEVEL COMMANDS.

    FINALLY WHERE IS LOGO.BIN ?
    EVERY PHONE HAS IT'S OWN PARTITION NO.(mmcblk0xxx) IT DEPENDS ON YOUR PHONE.YOU HAVE TO GET IT UNLESS SOMEONE TELL YOU WHAT IS YOUR LOGO PARTITION SERIAL NO FOR THAT PARTICULAR DEVICE.
    TO KNOW THE PARTITION NAME & NO OF YOUR DEVICE ,A QUICK COMPREHENSIVE GUIDE IS HERE
    DETAILED INFO

    HIT THANKS IF THIS HELPED YOU:cowboy:
    1
    Sir i have a rooted mt6589 device(FLY ALPS F45Q) and successfully changed second boot image and bootanimation. but the real headache is logo.bin file. I can't find it on phone.
    I have backed up my stock rom via SP FLASH TOOLS and now
    I have:- files.md5, boot.img, nandroid.md5, recovery.img and system.ext4.tar.
    Can I extract logo.bin file from any of the above files....
    Plzz help.

    Do everything as I wrote and you'll get logo.bin

    BUT How to edit logo.bin ?
    how can i convert logo.bin 2 in example BMP
    or any other way to edit it
    i use LogoBuilder_v1.4 and Image_Search_Editor_Eng
    but android breaked down :(:

    Use tools from https://github.com/bgcngm/mtk-tools
    1
    You can get it from /proc/dumchar_info. e.g
    Code:
    root@myphone:/ # cat /proc/dumchar_info
    cat /proc/dumchar_info
    Part_Name       Size    StartAddr       Type    MapTo
    preloader    0x0000000000600000   0x0000000000000000   2   /dev/misc-sd
    mbr          0x0000000000080000   0x0000000000000000   2   /dev/block/mmcblk0
    ebr1         0x0000000000080000   0x0000000000080000   2   /dev/block/mmcblk0p1
    pmt          0x0000000000400000   0x0000000000100000   2   /dev/block/mmcblk0
    pro_info     0x0000000000300000   0x0000000000500000   2   /dev/block/mmcblk0
    nvram        0x0000000000500000   0x0000000000800000   2   /dev/block/mmcblk0
    protect_f    0x0000000000a00000   0x0000000000d00000   2   /dev/block/mmcblk0p2
    protect_s    0x0000000000a00000   0x0000000001700000   2   /dev/block/mmcblk0p3
    seccfg       0x0000000000020000   0x0000000002100000   2   /dev/block/mmcblk0
    uboot        0x0000000000060000   0x0000000002120000   2   /dev/block/mmcblk0
    bootimg      0x0000000000600000   0x0000000002180000   2   /dev/block/mmcblk0
    recovery     0x0000000000600000   0x0000000002780000   2   /dev/block/mmcblk0
    sec_ro       0x0000000000600000   0x0000000002d80000   2   /dev/block/mmcblk0p4
    misc         0x0000000000080000   0x0000000003380000   2   /dev/block/mmcblk0
    logo         [B]0x0000000000300000  [/B] 0x0000000003400000   2   /dev/block/mmcblk0
    ebr2         0x0000000000080000   0x0000000003700000   2   /dev/block/mmcblk0
    expdb        0x0000000000a00000   0x0000000003780000   2   /dev/block/mmcblk0
    android      0x0000000028a00000   0x0000000004180000   2   /dev/block/mmcblk0p5
    cache        0x0000000007e00000   0x000000002cb80000   2   /dev/block/mmcblk0p6
    usrdata      0x0000000060000000   0x0000000034980000   2   /dev/block/mmcblk0p7
    fat          0x0000000052da0000   0x0000000094980000   2   /dev/block/mmcblk0p8
    bmtpool      0x0000000000000000   0x00000000ff9f00a8   2   /dev/block/mmcblk0
    Then convert the value from size column to decimal.