• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

[PC/Mac/Linux] [FREE] Gif2Boot: Convert animated GIFs to boot animations! (v0.5.3 updated 8/21/2012)

BLuFeNiX

Well-Known Member
Gif2Boot

This tool will allow you to take any animated gif and convert it to a bootanimation.zip file for your android phone! It is meant to be robust and easy to use.

User Guide
1) Download the latest version of Gif2Boot (links at bottom of post) and extract it.
2) Run gif2boot.jar (You will need to have Java installed)
3) Follow the on screen instructions

screenshotgif2bootv05.png


Features explained

If you're not sure how or why to use a new feature, please read my explanation posts here:
center frame

Change log
Code:
[B][U]8/21/2012[/U][/B] version 0.5.3
■ resolution input box now allows arbitrary values (so all resolutions are supported)
■ fixed temporary file cleanup

[B][U]6/15/2012[/U][/B] version 0.5.2
■ fixed a bug that caused flashing boot animation in windows to fail (caused by chnages in previous version)
■ fixed the center frame algorithm (it was causing a little bit of stretching)

[B][U]6/12/2012[/U][/B] version 0.5.1
■ fixed a bug where the boot animation would be saved in the wrong folder under certain circumstances

[B][U]6/12/2012[/U][/B] version 0.5
■ added experimental (safe) support for ADB on Mac
■ some code clean-up & optimization
■ added donation link :)

[B][U]5/10/2012[/U][/B] version 0.4
■ added GUI
■ multi-threaded processing
■ support for all android devices & screen resolutions
■ ADB support
■ zoom frame option
■ lots of code clean-up

[B][U]4/18/2012[/U][/B] version 0.2a
■ added --centerFrame option, which attempts to do some intelligent cropping

[B][U]4/17/2012[/U][/B] version 0.1a
■ initial release
■ converts animated gif to bootanimation.zip
■ works with gif of any size/resolution (smoothly resizes to 320x480, for phones like the Transform Ultra)
■ auto-detects framerate from gif animation

Planned features
Code:
■ manual entry of framerate and other options
■ anything the users want :)

Disclaimer: modifying your boot animation should not pose any risk to your phone, that being said, make a backup anyway :)

I have tested this software on 2 phones and 1 tablet with a 100% success rate. If it doesn't work for you, send me a PM and I'll get it fixed! :D

Bugs/Features: I want this software to be useful and easy to use. Please submit any ideas, suggestions, bug reports you have!


Download:
Gif2Boot v0.5.3 <-- newest version
Older Versions


 
Last edited:
The "center frame" option is great for animations like this one:

tumblr_m2ltyi44JJ1qd7m1so1_500.gif


Because of the empty space on the sides and the content in the middle, the animation would normally be rotated counterclockwise and squished and therefore wouldn't look very good. This option crops the sides off and doesn't rotate the image. Like this:

img0047t.png


The above image is the same ratio as the original animation, nothing is squished or stretched.
 
Sure thing, I'll try and get a minor version update released for you sometime tomorrow. Thanks for the support!
 
Cool application, but the resolution options are limited (no support for Galaxy Nexus and other portrait, HD phones). Why not include text fields rather than a pulldown? Or include a "custom" option in the pulldown, where users can enter a different resolution?
 
Cool application, but the resolution options are limited (no support for Galaxy Nexus and other portrait, HD phones). Why not include text fields rather than a pulldown? Or include a "custom" option in the pulldown, where users can enter a different resolution?

That's on my to-do list. I've just been really busy. The next update will allow arbitrary resolutions :)
 
Thanks for the awesome work. Please add 800x1280 resolution.

Cool application, but the resolution options are limited (no support for Galaxy Nexus and other portrait, HD phones). Why not include text fields rather than a pulldown? Or include a "custom" option in the pulldown, where users can enter a different resolution?

Sorry that took so long, but here it is! Check the links at the bottom of the OP for version 0.5.3. This version allows any resolution :)

Let me know what other ideas you guys have for improvements!
 
Having a problem on both mac and windows.

On mac the I click create and it just sit's there, no progress.

on windows it processes but then brings up a prompt that says "I/O error. Do you have sufficient privileges to the file system?"


any ideas?
 
Having a problem on both mac and windows.

On mac the I click create and it just sit's there, no progress.

on windows it processes but then brings up a prompt that says "I/O error. Do you have sufficient privileges to the file system?"


any ideas?

Please run the program from a command line and send me the output. When run on windows, does it give you a prompt to elevate to admin privileges? For Mac I have no idea. I've never actually run it on a mac, so I'll need the log. Thanks for trying it out!

EDIT: If you have any trouble with this, let me know and I will send you a debug build that creates the output for you. The result is the same though.
 
tried to run jar in win 7 get error " cant find main class"

my system variables are set like this
TEMP=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\EgisTec\MyWinLocker 3\x86;C:\Program Files (x86)\EgisTec\MyWinLocker 3\x64;C:\Program Files (x86)\Android\android-sdk\platform-tools;C:\Program Files (x86)\Android\android-sdk\tools;C:\Program Files\Java\jdk1.7.0_03\bin;C:\Program Files\Java\jre7\bin;C:\Program Files (x86)\Java\jre1.5.0\bin
CLASSPATH=.;C:\Program Files (x86)\Java\jre1.5.0\lib\ext\QTJava.zip
JAVA HOME= C:\Program Files (x86)\Java\jre1.5.0
PATH=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\EgisTec\MyWinLocker 3\x86;C:\Program Files (x86)\EgisTec\MyWinLocker 3\x64;C:\Program Files (x86)\Android\android-sdk\platform-tools;C:\Program Files (x86)\Android\android-sdk\tools;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Java\jre1.5.0\bin

cant get it to work what am i doing wrong??
 
tried to run jar in win 7 get error " cant find main class"

my system variables are set like this
TEMP=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\EgisTec\MyWinLocker 3\x86;C:\Program Files (x86)\EgisTec\MyWinLocker 3\x64;C:\Program Files (x86)\Android\android-sdk\platform-tools;C:\Program Files (x86)\Android\android-sdk\tools;C:\Program Files\Java\jdk1.7.0_03\bin;C:\Program Files\Java\jre7\bin;C:\Program Files (x86)\Java\jre1.5.0\bin
CLASSPATH=.;C:\Program Files (x86)\Java\jre1.5.0\lib\ext\QTJava.zip
JAVA HOME= C:\Program Files (x86)\Java\jre1.5.0
PATH=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\EgisTec\MyWinLocker 3\x86;C:\Program Files (x86)\EgisTec\MyWinLocker 3\x64;C:\Program Files (x86)\Android\android-sdk\platform-tools;C:\Program Files (x86)\Android\android-sdk\tools;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Java\jre1.5.0\bin

cant get it to work what am i doing wrong??

You are running a very old version of Java (1.5), please upgrade to 1.7, AKA Java7 (although 1.6 might work... I don't recall what version I compiled it for).
 
  • Like
Reactions: h20
thanks bro my java was a mess i actually had java 7 and java 1.5 installed at the same time uninstalled 1.5 and fixed my system variables now your program works sweet thanks for the help
 
thanks bro my java was a mess i actually had java 7 and java 1.5 installed at the same time uninstalled 1.5 and fixed my system variables now your program works sweet thanks for the help

No problem. I'm glad you're able to use it :D
 
I'm turning this into a boot animation. :)

I just need something that'll rip the video into individual frames, then convert them into an animated gif. Anyone know of a program that'll do that?
 
okay made my fist gif but its looping 5x. looked at the desc.txt file and shouldn't it be p=1 on 4th line to stop the loop ? idk this is the first boot animation i have made. the gif i made is set to pay thru once. which it dose then loaded it into your program an pushed to phone.the reboot plays thru and then loops till i hit the power button by then phones booted of course gif length is 5 sec. or if i let i go it runs the gif 5 times then stops and i am on home screen


edit solved:: didn't know that your program installed to data\local\ bootanimation.zip. so when i deleted the boot animation file in system\media. i thought it was the one i installed with your program.. i then created a new animation manually from scratch and pasted back in media well it didn't work i got the exact same problem because i did not know about the animation in data\local\ ..so i kept looking at the desc.txt file. and couldn't figure out what was wrong. i finally found the file in data\local. and looked at its desc.txt file. for some reason line 2 was set as &#8220;p 20 0 part0&#8221;. so i edited the file to read p 1 0 part0&#8221;. and now it works fine... fyi for anyone who don't know. a boot animation in data\local will play before. and in place of anyone in system\media.
 
I'm turning this into a boot animation. :)

I just need something that'll rip the video into individual frames, then convert them into an animated gif. Anyone know of a program that'll do that?
AVS video editor is what i used its free for 30 days full use
 
okay made my fist gif but its looping 5x. looked at the desc.txt file and shouldn't it be p=1 on 4th line to stop the loop ? idk this is the first boot animation i have made. the gif i made is set to pay thru once. which it dose then loaded it into your program an pushed to phone.the reboot plays thru and then loops till i hit the power button by then phones booted of course gif length is 5 sec. or if i let i go it runs the gif 5 times then stops and i am on home screen


edit solved:: didn't know that your program installed to data\local\ bootanimation.zip. so when i deleted the boot animation file in system\media. i thought it was the one i installed with your program.. i then created a new animation manually from scratch and pasted back in media well it didn't work i got the exact same problem because i did not know about the animation in data\local\ ..so i kept looking at the desc.txt file. and couldn't figure out what was wrong. i finally found the file in data\local. and looked at its desc.txt file. for some reason line 2 was set as
 
It keeps hanging at 72 % but does not seem to move on .
Pity as I wanted to recreate a bootanimation I found before megaupload was taken down..
 
It keeps hanging at 72 % but does not seem to move on .
Pity as I wanted to recreate a bootanimation I found before megaupload was taken down..

That's strange. It sounds like the gif you are using may be corrupted or formatted weirdly. If you send me the gif I will see what's wrong and get it working for you.
 
Back
Top Bottom