[TOOL] Easy One Click Splash Converter and Flasher-Kpkimmel-Gerbil - HTC EVO 3D

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..

Related

[Q] How to create/install a custom Splash Screen?

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.

[LOGO][GUIDE] Custom bootloader logo using nandroid

Burried in the Motorola getsatisfaction discussion about the lack of official froyo for the XT720, is a request that the bootloader logo be changed to incorporate Calvin. That seems within my artistic grasp. This replaces the M logo at boot (i.e. before the bootanimation).
Extract calvin.zip and copy the files to your sdcard as /sdcard/nandroid/openrecovery/calvin/logo.img and /sdcard/nandroid/openrecovery/calvin/logo.md5
Reboot into OpenRecovery
Select Nandroid > Restore > calvin > Restore All
Reboot
Instructions for creating boot logos based on:
http://androidforums.com/droid-all-...eplace-motorola-boot-logo-your-own-image.html Note that the XT720 logo.img are larger, but the resolution and bit depths are the same (480x182, 24bpp).
If you're on Linux, here's a script that extracts logo.bmp from logo.img (uses ImageMagick). The script handles flipping the image for you.
Code:
#!/bin/bash
convert -size 480x182 xc:black logo.bmp
dd of=tmp.bmp if=logo.bmp bs=1 count=54
dd of=tmp.bmp if=logo.img bs=1 count=262080 conv=notrunc oflag=append
convert -flip tmp.bmp logo.bmp
rm tmp.bmp
and here's a script that updates logo.img from logo.bmp (logo.bmp must be 24bit color). The script handles reflipping the image for you.
Code:
#!/bin/bash
convert -flip logo.bmp tmp.bmp
dd of=logo.img if=tmp.bmp bs=1 skip=54 count=262080 conv=notrunc
md5sum logo.img > logo.md5
rm tmp.bmp
nicely done M. nicely done
edit: not working for me. M logo is not changed
c19932 said:
edit: not working for me. M logo is not changed
Click to expand...
Click to collapse
I think the install instructions were probably unclear. I've edited the top post to clarify the install procedure. Let me know if that helps.
ahhh thank you for the clarification. silly me didn't even bother to see what's inside the zip file
thanks again for sharing. If you know more cool stuffs please continue to share =)
nice one
psssst....
how can I change my image to logo
I'm using Defy+ and Windows 7
tnx
tnx man i need this.

[HOW TO] Make your own Boot Animation

1. Make a folder named bootanimation.
2. Inside the bootani folder you made, make 2 folder, *part 0* and *part 1*
3. make a desc.txt file and write following words inside.
Code:
240 400 15p 1 0 part0p 0 0 part1
Save it and put it in bootani folder.
[NOTE:]
240 400 = 240X400, screen resolution of Galaxy 3.
15 = 15fps, play 15 frame per second/play 15 picture per second.
p 1 0 part0 means it will load folder part0. After it finish folder part0, it will keep replaying folder part1.
4. Copy the file and install in your mobile phone.
5. Then you need a few hundred to a few thousands of photo.
[NOTE:if u want a 10 seconds boot animation, u need 150 photos. Because the animation is running at 15fps (15 frame per seconds / 15 picture per seconds).]
6. You can download a few people's bootanimation.zip and extract it out and save in folder part0.
[NOTE: Galaxy 3 screen resolution is 240X400, if u download a bigger resolution, just compress it or resize it into 240X400.]
7. Arrange the photo.
[NOTE: If you want a smaller size of bootanimaition.zip, use jpg file type. Sometimes the PNG file size is smaller than jpg.]
8. Label from 001-999 or 0001-9999
[NOTE: ONLY use 4 digit number, example 0001-9999, if u want >1 minute of animaition {1 minute of boot animaition =60secX15fps=900 photos.}.] )
9. After finish creating, save it into folder part0 and copy photo that you want it to keep replaying in folderpart0.
10.Paste it into folder part1.
11. Then highlight part0, part1, desc.txt and press right click > add to archive.
12. Then you will see winzip coming out.
13. Select ZIP in archive format. Then choose STORE in compress method and type bootanimation.zip in archive name.
14. Now connect your phone and computer.
15. copy the bootanimation.zip into SD card.
16. go to all apps > root explorer > sd card > copy bootanimation.zip > press back > go data > local > and you will see a bootanimation.zip
17. press PASTE and your new bootanimation.zip will replace it.
18. YOU'RE done! Just restart your phone and you will have your new boot animation! ENJOY!!!
Will make it more easier and better soon!!!
P.S. Video tutorial coming soon!!!
HIT the THANKS button if you like my work
You'll need:
1. Notepad or any text editor
2. Winzip
3. A batch image resizer/converter-i prefer irfanview (optional but highly recommended)
4. Photoshop or something like that if you to make one from scratch-i prefer gimp free open source and light (optional but recommended)
5. Quicktime pro if you want to rip videos to images (optional but recommended)
[HOW TO] Port bootanimations!!!
How to port bootanimations​
THE SIMPLE WAY:​
First of all download a bootanimation(If you dont have one)
Open it with any zip program like 7zip or Winzip
There will be a desc.txt file in it with something like this
Code:
XXX XXX 15p 1 0 part0p 0 0 part1
or something similar
Replace the XXX XXX with 240 400(resolution of G3) to make it look something like this
Code:
240 400 15p 1 0 part0p 0 0 part1
Save the file
Push or paste the file in /system/media or /data/local(first one recommended , second one if you dont have root-but it'll show both animations-stock nd yours if used second method)
ENJOY!!!
This goes for some cool bootanimations
And this for porting requests
ok so i already know how to do this but the prob with me is to make animation,any tools for it or you need photoshop
[email protected] said:
ok so i already know how to do this but the prob with me is to make animation,any tools for it or you need photoshop
Click to expand...
Click to collapse
Added to 2nd post
Sorry for the delay but exams on head so forgot about this
Will surely add more after my exams
cdesai said:
Added to 2nd post
Sorry for the delay but exams on head so forgot about this
Will surely add more after my exams
Click to expand...
Click to collapse
thanks!
same here,will try after exams
Hi!
What can I do if on my phone I have bootani.qmg
Does not work for me My phone keeps showing me black screen
Pauri said:
Does not work for me My phone keeps showing me black screen
Click to expand...
Click to collapse
Post edited
try now
if it still doesnt work
thn get the desc.txt frm a working boot anim
I also get black screen. Doesn't work for me.
Sent from my GT-I5800
I've tried a desc from another bootanimation too^^
Works properly for me and many others like rudolf
Post the boot anim here I'll check what's wrong
Here his my bootanimation please check and make it because it's my best animation. Please make it. Link:- http://db.tt/gWr4fRh
Sent from my GT-I5800
You compressed so it didnt work
DONT compress
Tanks dude it's work.
Sent from my GT-I5800
http://www.multiupload.com/UPUQNNI98V here's mine or ported from cyanogenmod.
Pauri said:
http://www.multiupload.com/UPUQNNI98V here's mine or ported from cyanogenmod.
Click to expand...
Click to collapse
u too compressed
never compress
and ur desc file wasnt proper
OK thank you. has worked with yours

[TUTORIAL] Bootanimation creation & tools!

DISCLAIMER:
I am not responsible if you break your phone. You should always do a nandroid backup befor flashing any files. Remember to wipe your dalvik before making a nandroid to save a lot of time and space
Intro
So. Boot animations. Hard to make? At first yes. But I will explain in great detail each step in making a boot animation.
Requirements
-A photo Editing program (GIMP and Photoshop are the best.)http://www.photoshop.com/
-A text editor besides notepad or wordpad. (Notepad++)http://notepad-plus-plus.org/
-An archive manager (7-Zip or WinRAR)http://www.win-rar.com/website/index.php
My setup:
Photoshop CS5
WinRAR
Notpad++
The Tutorial
Step 1: Folders
So in this step, we need to make folders. The number of folders depends on what type of animation you want. You can name the folders anything you want as long as they are reflected in your desc.txt (we will get more into that later).
If you have a video that you want to repeat, you will need only 1 folder. (Name it anything you want)
If you want an intro (only shown once) and then a repeated set, You will need 2 folders. Most common names: (part0, part1) (intro, repeat)
If you have more then 2 sections of images, then I have no clue what you are doing but good for you for being awesome!
Step 2: Images
So this section will be a generilization of the images. I say this because every video is going to be different.
Each image in the video is called a frame. They usually vary slightly from image to image which sped through makes the illusion of a video.
-Each frame must be 480*800 px (thats 480 pixels wide by 800 pixels tall).
-Each frame must be saved in a .png format. (If you are using Photoshop, File > Save for Web & Devices to reduce the file size drastically.)
-Each frame needs to have some numarical value.
+Recommended would be something like frame0001.png, frame0002.png, frame0003.png, etc.
+Try to keep it under 300 images total
After all of the images are created, we now need to place them in folders.
Step 3: Placing images in folders
This step will vary from user to user. based on what type of animation you are making.
Intro to loop (2 folders):
With this one, you are going to place all of the images that is to be the intro to folder 1.
All looping images will go into folder 2.
Looping video:
All images will go into a single folder.
Step 4: desc.txt
This is the 'script' that tells android what to do.
Open up your text editing program. You have to use something other then notepad/wordpad included with Windows. They add some funky stuff for every new line you make which will ultimately break the script. It is best to use Notepad++.
This is an example of a desc.txt that has 2 folders in it:
480 800 20
p 1 0 intro
p 0 0 repeat
Here is what it is telling android to do line by line:
480 800 20 <-- Width of the animation in pixels. This will stay 480 for Evo users Height of the animation. Keep this 800 for Evo Users Frames per second. This is basically your 'speed' of the animation. This will stay in between 10-30 (10 being slower, longer, and choppy; 30 being fast, short, and smooth.)
p 1 0 intro <-- p is telling it to play this folder. It will always be there. Folder is to be played 1 time before moving on to the next folder. Pause the movie for 0 frames after the animation is completed before moving on to the next folder. (This will normally stay 0). Name of the folder to be played. In this case, the folder named "intro" gets played once and then it moves on to the next line.
p 0 0 repeat <-- Play the animation... Folder is to be indefinately played. The 0 is telling it to play this folderover and over. Just keep it 0. Folder "repeat" gets played
And now for an example of a single folder (same thing looping over and over):
480 800 20
p 0 0 part0
So same as before... 480px wide by 800px tall at 20 FPS
Play the folder "part0" an indefinate amount with no pause in between.
Why not go funky!:
480 800 20
p 1 0 intro
p 5 0 cookies
p 2 0 cake
p 0 0 mynion
Same... 480px wide by 800px tall at 20 FPS
Play "intro" 1 time with no pause
Play "cookies" 5 times with no pause
Play "cake" 2 times with no pause
Play "mynion" indefinately
Ok. So now we save this file with the file name "desc.txt". It must be named that. Case sensitive.
Get it? Good. Let's move on.
Step 5: Packaging
Now we are going to package this sweetness of a custom boot animation!
(this is assuming you are using Windows with WinRAR. Steps may vary from OS and program)
1. Highlight all of your folders and desc.txt and right click > "Add to archive..."
2. On the left side, change the radio buttons from rar to zip
3. Change compression method to "store"
4. Name the file. For now, you can name it anything. Eventually, it will need to be named "bootanimation.zip"
And we are done! Now we just need to set it up on your phone!
Here are 2 methods of doing this:
Root Explorer method:
1. Rename your boot animation to bootanimation
2. Put it on your SD card
3. Open Root Explorer and copy bootanimation.zip to /system/customize/resource. The destination folder may vary from ROM to ROM. I am using Synergy.
4. Reboot your phone
ADB method:
1. Make sure you have downloaded android sdk
2. Put android sdk in C:\
3. Set the directory of command prompt to C:\android-sdk-windows\platform-tools. Click here for a video tutorial.
4. Rename your boot animation to bootanimation and put it in C:\android-sdk-windows\platform-tools
5. Open cmd
6. Type in order:
-adb remount
-adb push bootanimation.zip /system/customize/resource/bootanimation.zip The destination folder may vary from ROM to ROM. I am using Synergy.
-adb reboot
Cool...! Thanks alot! Great tut!
Sent from my iPad 3 using XDA App
good but too long...almost slept reading it

Make Bootanimations from your favorite videos ( Working on both stock and custom roms

All the work given below is not my own; I only compile knowledge from different threads in to single easy guide. Huge thanks to xda senior members devilex94 and makers_mark for their nice work.
Everyone like to change bootanimation but if that bootanimation is our favourite video then it will be nice experience.
Xda Senior member devilex94 has made bootanimation file which will execute video as bootanimation. See original thread here http://forum.xda-developers.com/general/xda-university/guide-set-video-bootanimationtesters-t2915445
Proceedure is as below ,
1. First download zip from http://d-h.st/LjJK and extract it on desktop. You will find ffmpeg, image resizer and bootanimation2mp4 converter in it. Also bootanimation execution file in 'bootanimation file' folder.
2. Now copy your favourite video mp4 file in in C drive. Open ffmpeg folder and open bin foder in it. Then open command prompt there and write "ffmpeg.exe -i c:\ABC.mp4 -r 8 -ss 00:00:0X.000 -t Y ABC-%3d.jpg" without "" this sign where,
ABC is name of mp4 video
8 is number of frames per second(8 will work for every video or you can keep it as per the fps of your video by checking it from properties/ details )
00:00:0X.000 is time from where video is to be converted
Y is the time of video length
3. Then press ENTER & you will see jpg images in bin folder.
4. Resize these images as per phones screen size ie. 540X960 pixels or as per your requirement.
5. Now make folder 'part0' and copy from first image upto the image you want as your main bootanimation in this folder.
6. Now make folder 'part1' and copy the last image in pat0 and remaining images in it. These images will appear as loop.
7. Now make desc.txt file in notepad and write,
540 960 08
p 1 0 part0
p 0 0 part1
where, 540&960 are image size and 08 is frames per second. Also leave one blank line after last line and then save the file.
8. Zip all these part0, part1 and desc.txt using 7zip in bootanimation.zip (REMEMBER TO KEEP COMPRESSION LEVEL TO STORE FORMAT OTHERWISE BOOTANIMATION WILL NOT WORK).
Now this bootanimation is ready in jpg format and you can use it in any custom rom. To use it in stock rom we have to convert it in mp4 format using proceedure below,
1.Put the bootanimation file in 'bootanimation file' folder in place of original bootanimation file in /system/bin folder and change permissions to 0755 (rwxr-xr-x). Also make the backup of original bootanimation file.
2. Now run 'RUNba2mp4v186b.bat' file in bootanimation to mp4 converter. This will create some folders in bootanimation to mp4 converter. Copy your bootanimation zip in zips folder in bootanimation2mp4 converter and press 2 and ENTER. Then proceed for video bootanimation conversion by finally pressing 7 and ENTER. You will find 6100kbs_bootanimation.zip in Made_Zips folder. Rename it to bootanimation.zip and this is your final video bootanimation zip.
3. Place it in /system/media folder and give permissions 0644 (rw-r-r) and reboot. You will see phone booting with your favourite video.
4. You can also change booting sound in stock roms. Copy your favourite sound track in /system/media/audio/ui and rename it to PowerOn.ogg and change permissions to 0644 and reboot.
I made one; download and flash through cwm
http://d-h.st/meY2
http://d-h.st/brWB

Categories

Resources