Razr I bootlogo

Search This thread
Feb 11, 2014
29
31
Hi all,

I fiddled around with the bootlogo.

There are the partitions mmcblk0p3 (ulogo) and 0p4 (logo). Format is RGB 24 bit, image data for both is 540x540 pixel starting at byte 536. You have to mirror the image horizontally to show it right.

Both logos seem to be signed. Exchanging ulogo for logo seems possible but sometimes gives an error, exchanging ulogo by modified ulogo gives "Service needed. Code corruped" image at boot. For me, this is a lot more convenient than the ugly BOOTLOADER UNLOCKED warning.

Disclaimer: I take no responsibility for any harm done by my above advice. You may permanently brick your phone by overwriting the wrong partition!

EDIT:
Please, people, all of you who do not know what they are doing here, DO NOT TRY.
 
Last edited:
  • Like
Reactions: xtr3m3 and zheka99

Thorstenk

Senior Member
Dec 20, 2010
113
30
Could you give me the necessary commands to do it? Is it dangerous - can it destroy our beloved raz?

Thx

Sent from my XT890 using xda app-developers app
 
Feb 11, 2014
29
31
Could you give me the necessary commands to do it? Is it dangerous - can it destroy our beloved raz?

Yep, this really is dangerous. If for any reason your partition layout does not match mine, or you do anything wrong, you can overwrite the fastboot bootloader (that thing in partitions 1 and 2)

Code:
~ # /system/bin/parted /dev/block/mmcblk0 print
Model: MMC 008G92 (sd/mmc)
Disk /dev/block/mmcblk0: 7818MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name           Flags
 1      131kB   11.7MB  11.5MB               bos
 2      16.9MB  28.4MB  11.5MB               bosbackup
 3      33.7MB  34.7MB  1049kB               ulogo
 4      50.5MB  51.5MB  1049kB               logo
 5      52.6MB  64.1MB  11.5MB               boot
 6      69.3MB  80.9MB  11.5MB               recovery
 7      86.1MB  86.2MB  131kB                cid
 8      86.2MB  88.3MB  2097kB               sp
 9      88.3MB  96.7MB  8389kB               panic
10      96.7MB  97.3MB  524kB                devtree
11      97.3MB  97.8MB  524kB                devtreeBackup
12      97.8MB  106MB   8389kB  ext4         pds
13      106MB   107MB   524kB                misc
14      107MB   778MB   671MB   ext4         cache
15      778MB   935MB   157MB                cdrom
16      935MB   2219MB  1283MB  ext4         system
17      2219MB  7818MB  5600MB  ext4         userdata

This is my partition layout. You should ALWAYS save any partition before overwriting. Save it persistent to your PC!
device: dd if=/dev/block/mmcblk0p3 of=/tmp/0p3backup
pc: adb pull /tmp/0p3backup

As I said overwriting the logo partitions does never give the possibility to show a customized logo as long as you don't have the private key to sign your logos.

If you do anything wrong, recovery procedure may be impossible or at least complicated (there is some kind of unbrick for razr i here on sda but I never tried that!)
 
  • Like
Reactions: xtr3m3

Andro1dism

Member
Dec 8, 2013
40
3
68***
Hi PosixCompatible,

thanks for the answer.

The second command is clear to me, executed in a cmd window.

Code:
device: dd if=/dev/block/mmcblk0p3 of=/tmp/0p3backup
pc: adb pull /tmp/0p3backup

But where does the first command to be run? Also in a cmd window?

This command just saves original ulogo block, right? (since identifier "mmcblk0p3" from your first post matches the command's )

Thx!
 

PatricioJP

Senior Member
Oct 31, 2013
223
123
San Lorenzo
Hi PosixCompatible,

thanks for the answer.

The second command is clear to me, executed in a cmd window.

Code:
device: dd if=/dev/block/mmcblk0p3 of=/tmp/0p3backup
pc: adb pull /tmp/0p3backup

But where does the first command to be run? Also in a cmd window?

This command just saves original ulogo block, right? (since identifier "mmcblk0p3" from your first post matches the command's )

Thx!


Bueno, yo tengo el "droid" como boot animación y no me trae problemas ;)

Well, I have the "droid" as boot animation and brings me no problems;)

http://www.4shared.com/zip/R5taBL1sba/bootanimation.html

...es de mi disco.

is ... my record.


... también hay otra con sonido, pero no la probé todavía

There is another ... with sound, but not tried it yet

http://www.4shared.com/rar/AWtIVc-Nba/bootanimation_droid.html

Aclaro, la que tiene sonido no la he probado.

Clarify, the one I have not tested sound.
 

Thorstenk

Senior Member
Dec 20, 2010
113
30
Thanks for the explanation - as I don't want to kill my phone I will probably not risk that. Let us know if you find a more safe way. The bootloader unlocked logo sucks!

Sent from my XT890 using xda app-developers app
 

paulle

Senior Member
Nov 1, 2010
1,295
276
Hi PosixCompatible,

thanks for the answer.

The second command is clear to me, executed in a cmd window.

Code:
device: dd if=/dev/block/mmcblk0p3 of=/tmp/0p3backup
pc: adb pull /tmp/0p3backup

But where does the first command to be run? Also in a cmd window?

This command just saves original ulogo block, right? (since identifier "mmcblk0p3" from your first post matches the command's )

Thx!

maybe this tool can help you: http://xdaforums.com/showthread.php?t=2653458
it contains the option flash bootloader image.
 
Feb 11, 2014
29
31
Thanks for the explanation - as I don't want to kill my phone I will probably not risk that.

It is safe as long as you have a backup ready (I was taking a risk that maybe fastboot would not start with a wrong image - but as I have proved that now overwriting logos itself is safe) and do not overwrite the wrong partition.

The tool paulle linked does not help you. Flashing a wrong image by fastboot is not possible as it gets verified before being written to flash that therefore fails.

PatricioJP links just explain how to exchange the android bootanimation. That is the one which gets loaded by the user roms kernel/surfaceflinger and does not help us here.
 

Thorstenk

Senior Member
Dec 20, 2010
113
30
Thanks!

So did you exchange the ulogo with logo partition just by dd one over the other? Do I have to specify the block size or is it just a dd if=logo partition of=ulogo partition ?

Thorsten

Sent from my XT890 using xda app-developers app
 
Feb 11, 2014
29
31
Thanks!

So did you exchange the ulogo with logo partition just by dd one over the other? Do I have to specify the block size or is it just a dd if=logo partition of=ulogo partition ?

if=logo of=ulogo would (mostly) display the Motorola logo instead of the unlocked logo, yes. No additional options needed.

"mostly" because when in fastboot and selecting options from there, it gives an error message instead of the logo.

I personally modified some bytes in ulogo and flashed that back so I get the "service required" message.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Hi all,

    I fiddled around with the bootlogo.

    There are the partitions mmcblk0p3 (ulogo) and 0p4 (logo). Format is RGB 24 bit, image data for both is 540x540 pixel starting at byte 536. You have to mirror the image horizontally to show it right.

    Both logos seem to be signed. Exchanging ulogo for logo seems possible but sometimes gives an error, exchanging ulogo by modified ulogo gives "Service needed. Code corruped" image at boot. For me, this is a lot more convenient than the ugly BOOTLOADER UNLOCKED warning.

    Disclaimer: I take no responsibility for any harm done by my above advice. You may permanently brick your phone by overwriting the wrong partition!

    EDIT:
    Please, people, all of you who do not know what they are doing here, DO NOT TRY.
    1
    Could you give me the necessary commands to do it? Is it dangerous - can it destroy our beloved raz?

    Yep, this really is dangerous. If for any reason your partition layout does not match mine, or you do anything wrong, you can overwrite the fastboot bootloader (that thing in partitions 1 and 2)

    Code:
    ~ # /system/bin/parted /dev/block/mmcblk0 print
    Model: MMC 008G92 (sd/mmc)
    Disk /dev/block/mmcblk0: 7818MB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    Disk Flags: 
    
    Number  Start   End     Size    File system  Name           Flags
     1      131kB   11.7MB  11.5MB               bos
     2      16.9MB  28.4MB  11.5MB               bosbackup
     3      33.7MB  34.7MB  1049kB               ulogo
     4      50.5MB  51.5MB  1049kB               logo
     5      52.6MB  64.1MB  11.5MB               boot
     6      69.3MB  80.9MB  11.5MB               recovery
     7      86.1MB  86.2MB  131kB                cid
     8      86.2MB  88.3MB  2097kB               sp
     9      88.3MB  96.7MB  8389kB               panic
    10      96.7MB  97.3MB  524kB                devtree
    11      97.3MB  97.8MB  524kB                devtreeBackup
    12      97.8MB  106MB   8389kB  ext4         pds
    13      106MB   107MB   524kB                misc
    14      107MB   778MB   671MB   ext4         cache
    15      778MB   935MB   157MB                cdrom
    16      935MB   2219MB  1283MB  ext4         system
    17      2219MB  7818MB  5600MB  ext4         userdata

    This is my partition layout. You should ALWAYS save any partition before overwriting. Save it persistent to your PC!
    device: dd if=/dev/block/mmcblk0p3 of=/tmp/0p3backup
    pc: adb pull /tmp/0p3backup

    As I said overwriting the logo partitions does never give the possibility to show a customized logo as long as you don't have the private key to sign your logos.

    If you do anything wrong, recovery procedure may be impossible or at least complicated (there is some kind of unbrick for razr i here on sda but I never tried that!)