Question Splash Image - Xiaomi 11 Lite 5G NE

Hello! Has anyone managed to change the splash image? I've browsed through directory '/dev/block/bootdevice/by-name/' and it seems that the corresponding splash folder is 'sde50'
Dumped splash partition to /sdcard/splash.img through:
Code:
su
dd if=/dev/block/sde50 of=/sdcard/splash.img
Then tried to edit it with Logo Manager
GitHub - LazyT/lmgr: Logo Manager
Logo Manager. Contribute to LazyT/lmgr development by creating an account on GitHub.
github.com
But the result splash.img file can't be loaded giving the following error: 'Doesn't look like a supported logo image'
Any idea in how to change the splash and fastboot image? Thank you.

Related

[Q] editing boot.img

i extracted the boot.img from my desire and run this script on it.
but it returns:
Code:
./unpack-bootimg.pl boot.img
Found a secondary file after the ramdisk image. According to the spec (mkbootimg.h) this file can exist, but this script is not designed to deal with this scenario.
i've been searching the internet for two days now and i cant find any other script that does that, only a tutorial for manually doing it with a hex editor, but that still doesn't cover that last file the script is complaining about.
any ideas?
p.s.: i need to modify boot.img because i'm trying to set up dual boot - android + android - for testing purposes, will post if successful
update:
i managed to extract kernel and ramdisk
first i tried booting kernel from fastboot, worked like a charm
then i tried booting kernel+ramdisk from fastboot - hangs on htc logo
i also tried compiling kernel+ramdisk into boot.img instuctions - again hangs on htc bootscreen
adb says no devices, fastboot detects it, but shows no ID, just ??????????
so apparently the last file in boot.img is important
any ideas?
i'm using cyangenmod7 btw

[TOOL][Linux] Splash Screen creator / flasher

Hello there! I am re-posting this from the Mytouch 3G thread which can be seen here:
http://forum.xda-developers.com/showthread.php?p=6507176#post6507176
I have made some slight modifications in order to make this work on the HTC G2 (vision).
This is a HTC G2 tool to easily convert images in splash screen ones.
This tool is based upon ffmpeg and you need it installed on your system before proceeding (it will prompt you about the program missing in any case)
REQUIREMENTS
ffmpeg installed on your system
Code:
$ sudo apt-get install ffmpeg
a 480x800 image
a 480x800 device (i.e. HTC G2) with engineering SPL (s-off)
USAGE
Code:
./ElegosSplashCreator.txt --help or -h
Prints out how to use the script
Make sure that the script and image you are converting are both in the same directory that you are in in the command line (Terminal)
Code:
./ElegosSplashCreator.txt your_image_file
Converts your image into a flashable splash screen, if you want the script will continue flashing the file directly.
I ASSUME NO RESPONSABILITY ABOUT THE USAGE OF THIS SCRIPT. USE IT "AS IS", LOOK AT THE OUTPUTS AND YOU'LL AVOID BRICKS!
Please, if you wish to redistribute this script, give the right credits and don't change the prog_header please (maybe link this discussion in a text file)!
Make ElegosSplashCreator.txt executable permissions (right click on file and go to Properties > Permissions, then make executable) and use it!
Here's mine, feel free to post your own folks
Flash these Splash Screens at your own risk. It is not my fault if you have a faulty usb cable or computer, or accidently unplug your phone while flashing! But the chance of a soft brick is very small
Fastboot images to flash in fastboot:
Here is a .zip attached below with all these splash screens ready to flash in fastboot with pics that match the names of each image to flash
How to flash: fastboot flash splash1 name.raw565
Thanks mate! I used your thread a long way back and rewrote the script (for my personal use only, didn't put it up) to work with the g2, but I lost that way back when
This will come in handy, I need a new splash screen
captainreynolds said:
Thanks mate! I used your thread a long way back and rewrote the script (for my personal use only, didn't put it up) to work with the g2, but I lost that way back when
This will come in handy, I need a new splash screen
Click to expand...
Click to collapse
No worries, I just uploaded the flashable splash screens they are the same same size as my device. I also attacked the script to the main post.
There is an app called bootflash pro in the market that will flash and jpg as your splash. I'd recommend that you have the pics at 480x800.
Works for me all the time.
Ashaman_Kupo said:
There is an app called bootflash pro in the market that will flash and jpg as your splash. I'd recommend that you have the pics at 480x800.
Works for me all the time.
Click to expand...
Click to collapse
This is not a app this is a linux script but thanks for the tip. The splash screens I already posted are 480x800 and the script is already set to convert any images (not just jpg) to splash screens 480x800. It's not recommended to have them as 480x800 but it's a requirement! If you don't have them set to the right size the script will not convert the images because it could brick your phone flashing a wrong size image.

[MOD] [BOOTLOGO] Customize OPPO Find 7 Boot logo

From an idea of @chillstep1998 I've made an OPPO Find 7 variant (with help in testing of @KOJANHQ)
How to:
Unlock your bootloader
Download and install driver for fastboot
Download the archive (or compile from source) the tool
Make or mod and image of 1440x750 (width x height) and save it as bootlogo.png in executable directory
Open terminal and do the following
"Find7Bootlogo -b" to create the logo-modified.bin file
"Find7BootlogoTools -b -s" to create the logo-modified.bin and save the raw image
Wait for the end of the program
Flash the logo-modified.bin with "fastboot flash LOGO /path/to/logo-modified.bin"
Reboot with "fastboot reboot"
Download
In the attachment there is the 64 bit version for Mac OS X. For other (linux or archs) download the source and compile it
Source
GitHub
Credits
@chillstep1998 for the works for OnePlus One
Last but not least: I don't own an OPPO Find 7 and I can't do anything without your help. If you have a suggestion please let me know, thanks
Not working on OS X 10.10 Beta.
My modified version (fixed commandline parsing):
KOJANHQ said:
My modified version (fixed commandline parsing):
Click to expand...
Click to collapse
Changes merged Thanks!
The logo-modified.bin works?
MarchriusDennis said:
Changes merged Thanks!
The logo-modified.bin works?
Click to expand...
Click to collapse
Yes. Compiled, tested and workinking)
Great work, Bro!
After following the steps, it seems that my phone is now stuck in a bootloop, unfortunately. It doesn't matter if I try to boot it up normally, or get into fastboot, or get into recovery. When I try to turn on the phone in any way, it just vibrates, stays on a black screen, doesn't show the boot logo, and then restarts. So it's just vibrating and restarting every few seconds. Any ideas?
Hi, may I ask if there is some way to actually make the size suitable for my OPPO F1f?
Just asking
EDIT: Additional Details:
I have SOME knowledge of C++
My OPPO F1f has a screen resolution of 1280*720
I already flashed the Find 7 logo.bin and it works fine ( for the fact that the picture is slightly off screen ( a.k.a too BIG ) )
Most of our custom ROMs were ported from the Find 7 so compatibility should not be a problem.

[GUIDE] How to Create Custom Splash Screen (Boot Logo) for Wileyfox Swift

Creating custom splash.img for Wileyfox Swift:
Note:
This is not bootanimation, this is the splash screen (the 'Wileyfox' logo which is displayed when device is switched ON)
This is for Wileyfox Swift only..
For other devices, please send me your splash.img so that I can create a tool for you too.
Before proceeding, make sure fastboot is setup properly in your computer (just incase something goes wrong)..
STEPS:
1. Make sure you have a picture for your custom splash with:
i. Resolution: 720x1280
ii. PNG or JPG format
iii. picture size less than 200kB
iv. less colorful
(Tip: Try compressPNG.com to reduce no. of colors in PNG picture.
Upload your picture, click Settings, reduce number of colors to 16 or below & download it)
2. Download this tool to your computer: CM_Splash_Maker.zip
And extract it.
3. Drag & drop your splash picture on the file "CREATE_Logo.bat" & select your device.
4. After the custom splash image (filename.img) is created, the output directory will be opened..
5. Transfer the filename.img to the device's internal storage & flash it using Terminal Emulator like:
Code:
dd if=/sdcard/filename.img of=/dev/block/bootdevice/by-name/splash
(Or you can flash it from fastboot as given below)
Note:
Incase you flashed & your device doesn't bootup, don't worry
Just flash the original splash.img from fastboot like:
Code:
fastboot flash splash splash.img
Credits:
1. Based on my original tool for Yu devices here..
2. @GokulNC (myself ) who created this tool..
3. @beroid (who provided the stock splash.img & tested this).
Hit the Thanks :good: button if it worked for you
Don't forget to share the custom splash screens that you made, since others may find it useful
Hello, thank you very much for these useful guide.
To create my splash screen I had to run your scripts inside a virtualbox running windows as I'm a linux user.
But it was'nt a good solution to run only two .bat files.
So I decided to write bash scripts that should be compatible with almost every *NIX systems.
You should have ffmpeg installed on your computer. If this is not the case, install it with your favourite package manager.
Download my archive at the end of this post and extract it
If you are in trouble running CM_SPLASH_RGB24_converter, just go to bin/ directory, then
Code:
gcc CM_SPLASH_RGB24_converter.c -o CM_SPLASH_RGB24_converter
Then to create your splash screen just run
Code:
./CREATE_Logo.sh filename.png
where filename.png is the logo you want to add to your splash screen
The splash.img created is located in the output/ directory
Similarly to extract your splash screen into a png picture
Code:
EXTRACT_Logo.sh splash.img
The picture extracted is located in output/extracted_logo/
Are there any custom Splashscreens around ?
perfectly functioning on wileyfox swift bro.. thanks a lot
good day bro GokuINC.
can you also make a splash maker for android one seed which have the same/similar functions of this cm splash maker tool? so fastboot logo can be also changed? thank you very much for this.. i've been using it since it was posted.
dont work on lineage os
Thank you for this tool and the adjustments for the Wileyfox Swift.:good:
In my case, the dump of the "splash" partition was about 10 MB large, while the actually used part is about 210 KB, so I guess the image is already large enough for more complex images, too. At least in my case it was no problem.
RusWF said:
dont work on lineage os
Click to expand...
Click to collapse
For me it works, with the recent LineageOS 16.0 and using the more recent version on GitHub.
fred0r said:
Are there any custom Splashscreens around ?
Click to expand...
Click to collapse
Keeping the stock fastboot/battery images (which are slightly different to the versions in the ZIP/on GitHub!), I modified the logo and moved the Wileyfox logo to the top and added the NSA monitored device logo in the center.
It just seems that it is not possible to add attachments being a new user...
Wow, glad something like this exists!
Does this work with newer variants of the WileyFox Swift line of phones?
I am specifically interested in changing the splash screen on my Swift 2X.
I'll be happy to provide a dump of my current splash if need be, when I figure that out.

[TOOL] [LINUX] Tissot Splash Maker (mod all 5 PNG's in splash.img)

Hey,
Here is a simple to use program to build splash.img from 5 PNG's. The 5 PNG's are:
1. Mi logo screen on locked bootloader
2. Fastboot image
3. Mi logo screen on unlocked bootloader
4. 'System destroyed' image
5. 'Please lock the bootloader' early splash.
I have ported the AutoIt3 source code to C, so it could work on Linux.
This project is a Linux fork of the tool: https://forum.xda-developers.com/mi-a1/themes/tool-tissot-splash-maker-mod-5-pngs-t3799701
Like the old script, there is still a size limit per splash. (THE HACK ALLOWED BY THE WINDOWS IS NOT PRESENT IN THIS LINUX COUNTERPART)
Usage is simple - create an "input" folder, with the 5 PNGs (00.png, 01.png .... 05.png) and run the tool (after compiling it and installing python2 and python2-pil). If there are any errors it will say so, otherwise you will get a splash.img that you can flash in fastboot:
Code:
Code:
fastboot flash splash splash.img
The original input folder has all the stock images included.
FOR DOWNLOAD SEE GITLAB: https://gitlab.com/ioanm/tissot_splashimg_maker
If this tool has helped you please consider donating on LiberaPay: https://liberapay.com/iodev/donate
Enjoy!
iodev said:
Hey,
Here is a simple to use program to build splash.img from 5 PNG's. The 5 PNG's are:
1. Mi logo screen on locked bootloader
2. Fastboot image
3. Mi logo screen on unlocked bootloader
4. 'System destroyed' image
5. 'Please lock the bootloader' early splash.
I have ported the AutoIt3 source code to C, so it could work on Linux.
This project is a Linux fork of the tool: https://forum.xda-developers.com/mi-a1/themes/tool-tissot-splash-maker-mod-5-pngs-t3799701
Like the old script, there is still a size limit per splash. (THE HACK ALLOWED BY THE WINDOWS IS NOT PRESENT IN THIS LINUX COUNTERPART)
Usage is simple - create an "input" folder, with the 5 PNGs (00.png, 01.png .... 05.png) and run the tool (after compiling it and installing python2 and python2-pil). If there are any errors it will say so, otherwise you will get a splash.img that you can flash in fastboot:
Code:
Code:
fastboot flash splash splash.img
The original input folder has all the stock images included.
FOR DOWNLOAD SEE GITLAB: https://gitlab.com/ioanm/tissot_splashimg_maker
If this tool has helped you please consider donating on LiberaPay: https://liberapay.com/iodev/donate
Enjoy!
Click to expand...
Click to collapse
Thank you very much for your work. I ported your C program to Linux bash. Everybody, who is interested, could find it on Github
https://github.com/dwi336/Tissot-Splash-Maker

Categories

Resources