Changing bootlogo (not the animation) Sony Xperia Z4 Tablet

MM365

Member
Jun 20, 2016
9
0
0
I'm trying to change to splash-screen / boot logo of my Sony Xperia Z4 tablet (SGP771)

I have already rooted my device.

With the help of the bootimg.exe tool I unpacked the boot.img - exchanged the logo.rle and repacked the boot.img.

My custom logo.rle I created with boot_screen_logo_creation_package.

However, when flashing the new-boot.img to my device (with fastboot flash boot new-boot.img) the logo is not changed. Still showing the Sony logo before the bootanimation appears.

My tablet runs the Marshmallow firmware and I'm using the corresponding AndroPlusKernel v31 (Z4T_SGP771_AndroPlusKernel_v31.zip).

I tried already different tools like bootimg_tools from this xda forum, or split_bootimg.pl from the android-wiki.

The one mentioned in my question I found in several forums (wordpress, miui, dark-cyanide-devs ...)

Most of the tools I tried already did not repack the image correctly (fastboot reported "remote: dtb not found")
The tool I used, mentioned in the question, seemed to work for correcly unpacking and repacking. But as I said - the logo does not change -.-

Any suggestions what I am doing wrong?
 
Last edited:

jelbo

Senior Member
Jun 20, 2009
591
185
73
tinyurl.com
Doesn't the initial splash logo reside in the bootloader or in another part of the system? I'm pretty sure it isn't in boot.img, at least this was not the case with my HTC phones.
 
  • Like
Reactions: MM365

MM365

Member
Jun 20, 2016
9
0
0
Doesn't the initial splash logo reside in the bootloader or in another part of the system? I'm pretty sure it isn't in boot.img, at least this was not the case with my HTC phones.
Thank you for your reply. Do you have any idea where I could find it? I already searched through the filesystem with the adb shell:
Code:
>find . -name "*.rle"
and also *.png, *.bmp, *.jpg or also > find . -name "*logo*"
I did not open the pictures I found, but by their name I could not tell if there is the logo beyond (besides the logo.rle)
I attached the search result if it helps somehow?
 

Attachments

jelbo

Senior Member
Jun 20, 2009
591
185
73
tinyurl.com
Thank you for your reply. Do you have any idea where I could find it? I already searched through the filesystem with the adb shell:
Code:
>find . -name "*.rle"
and also *.png, *.bmp, *.jpg or also > find . -name "*logo*"
I did not open the pictures I found, but by their name I could not tell if there is the logo beyond (besides the logo.rle)
I attached the search result if it helps somehow?
I'm pretty sure it's not a file on a filesystem and, if it is, it would be on a partition you can not just search on easily. I remember having to flash a boot splash image on my HTC One m7 using fastboot flash splash1 splash.img. splash1 is the dedicated partition for the splash image, on mmcblk0p13.

I don't know how it is on Xperia's, but I guess it's similar. It'd be nice to be able to change this though, I also dislike the bright white Sony splash screen.

Here's the partition info I pulled from Disk Info Pro:
Code:
--------------------------
Internal Storage (MMC)
--------------------------
* TA [mmcblk0p1] Not mounted
   Total space: 2 MB
* LTALabel [mmcblk0p2] (/lta-label) [ext4]
   Used: 5.7 MB, Free: 10.3 MB, Total space: 16 MB
* modem [mmcblk0p3] (/firmware) [vfat]
   Used: 16.8 MB, Free: 63.2 MB, Total space: 80 MB
* pmic [mmcblk0p4] Not mounted
   Total space: 128 KB
* alt_pmic [mmcblk0p5] Not mounted
   Total space: 128 KB
* limits [mmcblk0p6] Not mounted
   Total space: 1 KB
* DDR [mmcblk0p7] Not mounted
   Total space: 1 MB
* apdp [mmcblk0p8] Not mounted
   Total space: 256 KB
* msadp [mmcblk0p9] Not mounted
   Total space: 256 KB
* dpo [mmcblk0p10] Not mounted
   Total space: 1 KB
* hyp [mmcblk0p11] Not mounted
   Total space: 512 KB
* alt_hyp [mmcblk0p12] Not mounted
   Total space: 512 KB
* fsg [mmcblk0p13] Not mounted
   Total space: 1.5 MB
* ssd [mmcblk0p14] Not mounted
   Total space: 8 KB
* sbl1 [mmcblk0p15] Not mounted
   Total space: 1 MB
* alt_sbl1 [mmcblk0p16] Not mounted
   Total space: 1 MB
* modemst1 [mmcblk0p17] Not mounted
   Total space: 1.5 MB
* modemst2 [mmcblk0p18] Not mounted
   Total space: 1.5 MB
* s1sbl [mmcblk0p19] Not mounted
   Total space: 256 KB
* alt_s1sbl [mmcblk0p20] Not mounted
   Total space: 256 KB
* sdi [mmcblk0p21] Not mounted
   Total space: 128 KB
* alt_sdi [mmcblk0p22] Not mounted
   Total space: 128 KB
* tz [mmcblk0p23] Not mounted
   Total space: 1 MB
* alt_tz [mmcblk0p24] Not mounted
   Total space: 1 MB
* rpm [mmcblk0p25] Not mounted
   Total space: 512 KB
* alt_rpm [mmcblk0p26] Not mounted
   Total space: 512 KB
* aboot [mmcblk0p27] Not mounted
   Total space: 1 MB
* alt_aboot [mmcblk0p28] Not mounted
   Total space: 1 MB
* boot [mmcblk0p29] Not mounted
   Total space: 64 MB
* rdimage [mmcblk0p30] Not mounted
   Total space: 32 MB
* persist [mmcblk0p31] (/persist) [ext4]
   Used: 5.3 MB, Free: 26.7 MB, Total space: 32 MB
* FOTAKernel [mmcblk0p32] Not mounted
   Total space: 64 MB
* misc [mmcblk0p33] Not mounted
   Total space: 1 MB
* keystore [mmcblk0p34] Not mounted
   Total space: 512 KB
* devinfo [mmcblk0p35] Not mounted
   Total space: 1 KB
* config [mmcblk0p36] Not mounted
   Total space: 512 KB
* rddata [mmcblk0p37] Not mounted
   Total space: 100 MB
* apps_log [mmcblk0p38] (/rca) [ext4]
   Used: 5.2 MB, Free: 4.8 MB, Total space: 10 MB
* diag [mmcblk0p39] (/idd) [ext4]
   Used: 2.5 MB, Free: 13.5 MB, Total space: 16 MB
* oem [mmcblk0p40] (/oem) [ext4]
   Used: 79.2 MB, Free: 220 MB, Total space: 300 MB
* Cache [mmcblk0p41] (/cache) [ext4]
   Used: 11.4 MB, Free: 188 MB, Total space: 200 MB
* B2B [mmcblk0p42] Not mounted
   Total space: 384 MB
* Data (userdata) [mmcblk0p43] (/data) [ext4]
   Used: 13.7 GB, Free: 9 GB, Total space: 22.7 GB
* System [mmcblk0p44] (/system) [ext4]
   Used: 4.3 GB, Free: 820 MB, Total space: 5.1 GB
* mmcblk0rpmb [mmcblk0rpmb] Not mounted
   Total space: 4 MB
--------------------------
tmpfs mount points
--------------------------
* /dev [tmpfs]
   Used: 144 KB, Free: 1.4 GB, Total space: 1.4 GB
* /mnt [tmpfs]
   Used: 0 B, Free: 1.4 GB, Total space: 1.4 GB
* /tmp [tmpfs]
   Used: 0 B, Free: 1.4 GB, Total space: 1.4 GB
* /storage [tmpfs]
   Used: 0 B, Free: 1.4 GB, Total space: 1.4 GB
* /storage/self [tmpfs]
   Used: 0 B, Free: 1.4 GB, Total space: 1.4 GB
 
Last edited:
  • Like
Reactions: MM365

MM365

Member
Jun 20, 2016
9
0
0
I'm pretty sure it's not a file on a filesystem and, if it is, it would be on a partition you can not just search on easily. I remember having to flash a boot splash image on my HTC One m7 using fastboot flash splash1 splash.img. splash1 is the dedicated partition for the splash image, on mmcblk0p13.

I don't know how it is on Xperia's, but I guess it's similar. It'd be nice to be able to change this though, I also dislike the bright white Sony splash screen.
Thank you for your help - I really appreciate it !
I tried to >fastboot flash splash custom.img
and >fastboot flash splash1 custom.img
and fastboot reports "Command not allowed"
Code:
target reported max download size of 536870912 bytes
sending 'splash' <750 KB>...
OKAY [0.052s]
writing 'splash'...
FAILED <remote: Command not allowed>
finished. total time: 0x077s
UsbDebugging is enabled.
I used the tool from this xda forum to create the img from a 450x800 png file.
I did not use the tool to flash the img because the tools adb reported my device as "offline" (rebooting did not help)
- so I tried to flash it manually with fastboot...
Do you have any suggestions what went wrong?
 

jelbo

Senior Member
Jun 20, 2009
591
185
73
tinyurl.com
Thank you for your help - I really appreciate it !
I tried to >fastboot flash splash custom.img
and >fastboot flash splash1 custom.img
and fastboot reports "Command not allowed"
Code:
target reported max download size of 536870912 bytes
sending 'splash' <750 KB>...
OKAY [0.052s]
writing 'splash'...
FAILED <remote: Command not allowed>
finished. total time: 0x077s
UsbDebugging is enabled.
I used the tool from this xda forum to create the img from a 450x800 png file.
I did not use the tool to flash the img because the tools adb reported my device as "offline" (rebooting did not help)
- so I tried to flash it manually with fastboot...
Do you have any suggestions what went wrong?
First of all, you should not run commands like that if you don't know exactly what you are doing. I'm by no means an expert in this, but when you read my list of partitions you can see there's no partition named splash or splash1. You tried to flash a file into that partition. Also, the file should not be 450x800 but likely the native resolution, which is 2560x1440.

Let me try to ping @[NUT], I'm pretty sure he can tell us right away if it's possible or not. In the meantime, I'll do a little search again myself. So far I haven't found a lot. Looks like it is indeed an .rle file in the kernel.
 
Last edited:
  • Like
Reactions: BilalMaximus

MM365

Member
Jun 20, 2016
9
0
0
First of all, you should not run commands like that if you don't know exactly what you are doing. I'm by no means an expert in this, but when you read my list of partitions you can see there's no partition named splash or splash1. You tried to flash a file into that partition. Also, the file should not be 450x800 but likely the native resolution, which is 2560x1440.

Let me try to ping @[NUT], I'm pretty sure he can tell us right away if it's possible or not. In the meantime, I'll do a little search again myself. So far I haven't found a lot. Looks like it is indeed an .rle file in the kernel.
Ok. Thanks.
please let me know if you come to any conclusion.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone