[Q] How to create/install a custom Splash Screen? - Legend Q&A, Help & Troubleshooting

Hi there, yes I know, there are some threads about this, but nothing special about our HTC LEGEND...
Somebody tried to install a custom splash-screen?
Or somebody created a custom-splash screen for HTC Legend?
I´ve found a tool for G1, that creates a splash-screen, but I don´t know if it works on my Legend... Don´t wanna brick it

TheGrammarFreak created one from my bootanimation, see HERE
As for myself I have no idea howto

Get the image you want. It needs to be 320 pixels wide and 480 high. Save it out as a 24 bit bmp file called splash1 (ms paint does the job). Any name will do, but for the sake of this guide we'll use that.
Download this tool and extract it into a known directory. Put the bmp you created earlier in there. Open cmd (if you're on windows) and cd into that directory (cd C:\nbimg for example) then run this command:
Code:
nbimg -F splash1.bmp -w 320 -h 480
Take the output file and change the extension to .img
To install:
Reboot your phone to fastboot mode
Code:
fastboot flash splash1 C:\nbimg\splash1.img

Yeah guys, u r cool!
For all other, who need the Converter, here's it:
http://forum.xda-developers.com/showpost.php?p=2366042&postcount=1
Thank u sooo much!

Crap, I forgot to link. Sorry mate, but you found it anyway

This one is better!
WARNING: Your input image shoud be 320 * 480 pixels!!!
All credits goes to: DeToX-cz
Forum thread: http://forum.xda-developers.com/showthread.php?t=537515

ogo2 said:
This one is better!
WARNING: Your input image shoud be 320 * 480 pixels!!!
Click to expand...
Click to collapse
Why is it better?

TheGrammarFreak said:
Why is it better?
Click to expand...
Click to collapse
It's easy to use, it has nice GUI, no cmd line...

ogo2 said:
It's easy to use, it has nice GUI, no cmd line...
Click to expand...
Click to collapse
Oh, boring then.

A tool without command line functionality doesn't deserve to be called a tool
Sent from my HTC Legend

Ha! I win, I have the almighty BlaY0 on my side

Linux users…
For those of you who use Linux:
1.: Download View attachment splash1script.zip, and extract it somewhere convenient.
2.: Create an image in GIMP with the dimensions 320x480. (You may also use an image from the web, and resize it to 320x480 in GIMP.)
3.: In GIMP go to "Save As…" (or press "CTRL+SHIFT+s").
4.: Browse to where you extracted the script.
5.: Click "Select File Type (By Extension)".
6.: Scroll down and select "Windows BMP image".
7:: Name the file "splash1" (without ""), for your own convenience.
8.: Click "Advanced Options".
9.: Choose "24 Bits" - "R8 G8 B8".
10.: Click "Save".
11.: Open a "Terminal" (Either with "Applications>Accessories>Terminal" or with "CTRL+ALT+t").
12.: "cd" to the folder where you extracted the script and saved your image. (For example: "cd ~/Downloads".)
13.: Write "./splash1script splash1.bmp".
14.: Follow the instructions in "Terminal".
15.: Done.
-Torkiliuz

It's show the "Device not allowed" when I flash the splash1. I chenck the /proc/mtd, There is no partition of splash1. How can I flash it?

Do u have S-OFF from alpharev installed?
If not, u can´t install it...sorry

I can't get it to flash - it isn't finding my device when it's in fastboot, only when it's in recovery mode, or just on.
I've flashed AlphaRev and it created the .raw65 image successfully, but my device isn't recognised by the script, nor by the adb, when it's in fastboot mode.
Even booting into recovery, starting an adb shell, and using 'reboot bootloader' just disconnects the device. I have no idea how to fix it.
I'm using the linux tool on Ubuntu btw, and I've definitely flashed to the bootloader before (can't remember what, though)

TheGrammarFreak said:
Get the image you want. It needs to be 320 pixels wide and 480 high. Save it out as a 24 bit bmp file called splash1 (ms paint does the job). Any name will do, but for the sake of this guide we'll use that.
Download this tool and extract it into a known directory. Put the bmp you created earlier in there. Open cmd (if you're on windows) and cd into that directory (cd C:\nbimg for example) then run this command:
Code:
nbimg -F splash1.bmp -w 320 -h 480
Take the output file and change the extension to .img
To install:
Reboot your phone to fastboot mode
Code:
fastboot flash splash1 C:\nbimg\splash1.img
Click to expand...
Click to collapse
Hi TheGrammarFreak
I tried the fastboot command on my HTC Legend with HBOOT HTC dev unlocked recently, but I just get this:
Code:
C:\Program Files\Android\android-sdk\platform-tools>fastboot flash splash1 splash1.img
sending 'splash1' (300 KB)...
OKAY [ 0.126s]
writing 'splash1'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 0.239s
Any suggestions?

didn't work for me either - probably the htcdev unlock didn't include s-off for splash1?!

The HTC bootloader unlcock method sucks. It allows nothing except writing direcrly to the system. It even checks for signatures when using fastboot from the Android SDK. At least I get signature error when trying to flash a .img file thru fastboot.

Related

[TOOL] Easy One Click Splash Converter and Flasher-Kpkimmel-Gerbil

Hello folks, made this for myself and decided to share it.
-download the file HERE
-extract anywhere, doesn't matter because adb and fastboot files are included
-place your .bmp image in the extracted folder and rename it to splash.bmp (not splash.bmp.bmp)
-click the clickhere.bat, then click return (or any button to continue) when it says and it will do its thing. That simple. Thanks
-if you have a jpg or other nefarious file formats and need to convert to bmp just download GIMP, its free and open your image, then save as, chose extension .bmp and save.
-This will automatically resize the image to what it needs to be, but if you want to preview what it will look like, open your image in microsoft paint, chose resize, then click pixels, then uncheck box that says "maintain aspect ratio", then in box one chose 540, then box two input 960, then done and that is exaclty what your splash screen will look like.
Troubleshooting**********
If you get "permission denied" when flashing you need to download this file here, rename it to PG86IMG.ZIP (NOT PG86IMG.ZIP.ZIP), put on root of your sdcard, reboot into bootloader and flash. Its an engineering hboot for extended flashboot commands. After flashing reboot phone and try the above process again and it will work. Thanks.
Thanx! This will come in handy.
A tool to always keep on standby
Thank You.. fantastic tool!
is there a specific size that the img needs to be under
Mrdiaz09 said:
is there a specific size that the img needs to be under
Click to expand...
Click to collapse
easiest way is to open the pic in paint, resize to 640*960 and see how it looks, because that is exaclty how it will look on your phone...regardless this app will reside the pic to phone...
Is this for up and down animations/splash screens?
johnsonjs said:
Is this for up and down animations/splash screens?
Click to expand...
Click to collapse
its not, its for the screen you first see when you boot up your phone, called the splash screen. (the one that says "HTC") all white....yeah replaces that one...
Youre gonna want 540x960 and a 24bit BMP
kellyrx8 said:
Youre gonna want 540x960 and a 24bit BMP
Click to expand...
Click to collapse
This app will automatically resize the image to the evo screen. No worries about the image..
I'm no android dev but I have some batch skills. I took the liberty of making some modifications to your bat file to make it a bit cleaner as well as do some basic error checking (making sure the .bmp file exists and making sure the converted file is created)... hope you don't mind. I've pasted the modified code below
@echo off
dir /b %~dp0 | findstr /i /x splash.bmp
if %errorlevel% neq 0 goto nobmp
nbimg -F splash.bmp -w 540 -h 960
echo.
rename splash.bmp.nb splash.img
REM check to assure file converted properly
dir /b %~dp0 | findstr /i /x splash.img
if %errorlevel% neq 0 goto convertfail
REM wait 5 Seconds for conversion
ping 10.10.10.10 -n 1 -w 5000 >nul
adb reboot bootloader
cls
echo when in bootloader, press any key to continue
pause >nul
fastboot devices
echo if your device is listed hit enter
pause >nul
fastboot flash splash1 splash.img
fastboot reboot
exit
:nobmp
cls
color 4f
Echo splash.bmp file not found. Please assure file is in place and named properly then try again.
Pause
Exit
:convertfail
cls
color 4f
Echo Your image was not properly converted, please try again
pause
Exit
kpkimmel said:
This app will automatically resize the image to the evo screen. No worries about the image..
Click to expand...
Click to collapse
trust me, just resizing the image looks like crap(squished or stretched)....if you do it before hand it works a ton better and looks a lot nicer....
32-bit BMPs don't tend to work well with nbimg
I have been making these left and right, believe me resize before or crop down to the part of the image you want and then use nbimg to finish up.
I keep getting distorted images. I resized and saved as 24-bit bmg. Any suggestions
Sent from my PG86100 using XDA App
Mrdiaz09 said:
I keep getting distorted images. I resized and saved as 24-bit bmg. Any suggestions
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
Simply converting an image to fit specifications if you don't have a high res source to begin with won't work well..

Up to Date ADB and Fastboot [Mac]

Welcome
I was trying to unlock the bootloader for my Nexus 6P, but the commands were not working. I had to update the files for adb and fastboot, but it finally worked with the new command "fastboot flashing unlock" . So I have uploaded a zip with the up to date files so you guys can also use adb and fastboot.
If you haven't set up your fastboot/adb here is a quick guide on how to set it up easily.
---Guide---
1. Unzip the file, and copy the adb folder to your preferred destination.
2. Open up terminal and type : nano ~/.bash_profile
3. Use the path of the folder and add this line (replace kingmikel with your username, and replace Documents with your path) : export PATH=${PATH}:/Users/kingmikel/Documents/adb
Credits: @AshtonTS and his thread http://forum.xda-developers.com/showthread.php?t=1917237
Is there some reason to not do this with the SDK?
crachel said:
Is there some reason to not do this with the SDK?
Click to expand...
Click to collapse
This is easier. You don't have to download Java and then download the SDK.

[Guide] Change Xiaomi MI 8 (dipper) boot logo

Sagit Logo Generator for Xiaomi MI 8 (dipper)
Download: here
How to use (Windows)
1. Download this project and goto GenLogo folder.
2. Edit these 5 bmp files, do not change filename or format.
3. Run GenLogo.exe and you get logo_new.img.
4. flash through fastboot
HTML:
fastboot flash logo logo_new.img
5. Enjoy!
How to use (Linux&Unix)
1. Download this project and goto GenLogo folder.
2. Edit these 5 bmp files, do not change filename or format.
3. Run python genlogo.py and you get logo_new.img (python3).
4. flash through fastboot
HTML:
fastboot flash logo logo_new.img
5. Enjoy!
How to restore
Just flash logo.img in official fastboot ROM.
Source: https://github.com/moonheart/sagit-logo-gen/tree/MI8_Dipper
Thanks @huhu2207 for advice (binwalker).
Thanks @grabik.pk for test.
Thank You for your work!
Thanks for the tutorial, does the phone have to have an unlocked bootloader for this to work?
I've modified your tool to work with Xiaomi Mi Max 3. Thank you for the sources!
Thks for sharing, Can this work for Mi8Lite platina??
moonheartmoon said:
Sagit Logo Generator for Xiaomi MI 8 (dipper)
Download: here
How to use (Windows)
1. Download this project and goto GenLogo folder.
2. Edit these 5 bmp files, do not change filename or format.
3. Run GenLogo.exe and you get logo_new.img.
4. flash through fastboot
HTML:
fastboot flash logo logo_new.img
5. Enjoy!
How to use (Linux&Unix)
1. Download this project and goto GenLogo folder.
2. Edit these 5 bmp files, do not change filename or format.
3. Run python genlogo.py and you get logo_new.img (python3).
4. flash through fastboot
HTML:
fastboot flash logo logo_new.img
5. Enjoy!
How to restore
Just flash logo.img in official fastboot ROM.
Source: https://github.com/moonheart/sagit-logo-gen/tree/MI8_Dipper
Thanks @huhu2207 for advice (binwalker).
Thanks @grabik.pk for test.
Click to expand...
Click to collapse
the second step I have not guessed, you can explain more clearly and in detail. Thank you
@Paoloqu24 Edit these five images with Photoshop or other tools, but you should not rename these images.
moonheartmoon said:
Sagit Logo Generator for Xiaomi MI 8 (dipper)
Download: here
How to use (Windows)
1. Download this project and goto GenLogo folder.
2. Edit these 5 bmp files, do not change filename or format.
3. Run GenLogo.exe and you get logo_new.img.
4. flash through fastboot
HTML:
fastboot flash logo logo_new.img
5. Enjoy!
How to use (Linux&Unix)
1. Download this project and goto GenLogo folder.
2. Edit these 5 bmp files, do not change filename or format.
3. Run python genlogo.py and you get logo_new.img (python3).
4. flash through fastboot
HTML:
fastboot flash logo logo_new.img
5. Enjoy!
How to restore
Just flash logo.img in official fastboot ROM.
Source: https://github.com/moonheart/sagit-logo-gen/tree/MI8_Dipper
Thanks @huhu2207 for advice (binwalker).
Thanks @grabik.pk for test.
Click to expand...
Click to collapse
It did not work. Got this message
Code:
$ python3 genlogo.py
$ fastboot flash logo logo_new.img
target didn't report max-download-size
Sending 'logo' (20056 KB)...
FAILED (command write failed (Success))
Finished. Total time: 0.011s
$

How to make a splash image for 9T

THIS POST IS BASED ON THE ON A POST OF THE MI 9 FORUM
The Mi 9T Logo.img contains 4 images in BMP format.
1. The regular LOCKED boot screen
2. The Fastboot screen
3. The UNLOCKED boot screen
4. The system destroyed screen
Image dimensions MUST be in 1080x2340 format BMP 24Bit. (Check to see if your file size of each individual picture is 6.2MB when you create one)
During boot Xiaomi displays picture 1 and if unlocked, then picture 3. So if you want a consistent appearance you have to have both set to the same picture.
The python script is about as simple as it gets. The only annoying thing was to find the proper offsets for the Mi 9T.
Replace the images with the new ones that you would like displayed..and you are ready to run the script.
Usage of the python script would be : python mi9T_logo.py and thats it. (Of course this all depends on your environment)
Once the script is done you should see a file called : logo_new_mi9T.img in the directory.
This one you can simply flash via fastboot.
Command is like this : fastboot flash logo logo_new_mi9.img
EXTRA: you can make this without a PC! Just use the QPython app (available on Play Store) and put the bmp files on /sdcard/qpython/*here* and the script on /sdcard/qpython/script3/*here* and run the script
Source: https://forum.xda-developers.com/Mi-9/themes/mi-9-splash-boot-image-creation-script-t3952572

Evolution X brightness slider fix.

some GSI doesn't boot untill you flash a zip file via custom recovery.i put the zip in the link of the post.This type of GSI doesn't fix brightness slider by following the Bellow tutorial.....
https://forum.xda-developers.com/showpost.php?p=83635205&postcount=1
Requirements:
1.Gsi Rom.
2.laptop with Linux.
3.Basic knowledge about Linux cmd line.
4.Woeking brain.
Working procedure:
1. First extract Rom from zip file which you download.Rename as 'system.img'
2.Then open a cmd terminal where the system.img Located and run below cmd one by one...
simg2img system.img sr.img
sudo mkdir /mnt/g
sudo mount sr.img /mnt/g
sudo nautilus
When you run last cmd it will open a file explorer.follow the path
/mnt/g/system/framwar/
And there you find services.jar file.copy this file wherever you want. Modify the jar file with the help of the below link..
https://forum.xda-developers.com/pr...reen-backlight-brightness-slide-t4084449/amp/
after modify jar file replace it with older one and open a cmd terminal on the location where your jar file is and run below cmd
chmod 0644 services.jar
3.Now simply flash sr.img via fastbootd with below cmd
fastboot flash system sr.img
And earse all data on your phone.
after boot run cmd via Android terminal
setprop persist.sys.qcom-brightness 2047
Now your slider work great...
If success then don't forget to thanks me. It is totally free:laugh::laugh:
evolution x
you mean did you installed evolution x in our device?
kindly please attach some screenshots coz i want to flash my lancelot to evolution x.
mhark.moby said:
you mean did you installed evolution x in our device?
kindly please attach some screenshots coz i want to flash my lancelot to evolution x.
Click to expand...
Click to collapse
Sorry.no screen shots to share.I am in now others rom

Categories

Resources