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
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:
8/21/2012 version 0.5.3
■ resolution input box now allows arbitrary values (so all resolutions are supported)
■ fixed temporary file cleanup
6/15/2012 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)
6/12/2012 version 0.5.1
■ fixed a bug where the boot animation would be saved in the wrong folder under certain circumstances
6/12/2012 version 0.5
■ added experimental (safe) support for ADB on Mac
■ some code clean-up & optimization
■ added donation link :)
5/10/2012 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
4/18/2012 version 0.2a
■ added --centerFrame option, which attempts to do some intelligent cropping
4/17/2012 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!
Bugs/Features: I want this software to be useful and easy to use. Please submit any ideas, suggestions, bug reports you have!
The "center frame" option is great for animations like this one:
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:
The above image is the same ratio as the original animation, nothing is squished or stretched.
Last edited by BLuFeNiX; June 15th, 2012 at 04:12 PM.
The Following User Says Thank You to BLuFeNiX For This Useful Post:
Device(s): Samsung Galaxy Nexus, Asus Nexus 7, Motorola Droid 2 (previous: HTC Thunderbolt, Motorola Droid, LG
Carrier: Not Provided
Thanks: 158
Thanked 117 Times in 69 Posts
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
The Following User Says Thank You to BLuFeNiX For This Useful Post:
Thanks for the awesome work. Please add 800x1280 resolution.
Quote:
Originally Posted by darkxsun
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!
The Following User Says Thank You to BLuFeNiX For This Useful Post:
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.
Last edited by BLuFeNiX; August 23rd, 2012 at 07:32 PM.
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).
The Following User Says Thank You to BLuFeNiX For This Useful Post:
Device(s): TOYNBEE IDEA
RESURRECT DEAD
ON PLANET JUPITER.
Carrier: Not Provided
Thanks: 35
Thanked 36 Times in 29 Posts
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
Device(s): HTC Thunderbolt ~ Rooted ICS. Generic Chinese tablet w/ICS
Carrier: Verizon
Thanks: 60
Thanked 97 Times in 77 Posts
For anyone else, here's the download page for Java SE.
__________________
Download G Cloud Backup for Android and get up to 8GB FREE. Use code [ZETMET] at signup & we'll BOTH earn 200MB more space. Get FLASH for ICS
The Following User Says Thank You to Mayhem For This Useful Post:
Device(s): TOYNBEE IDEA
RESURRECT DEAD
ON PLANET JUPITER.
Carrier: Not Provided
Thanks: 35
Thanked 36 Times in 29 Posts
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 “p 20 0 part0”. so i edited the file to read p 1 0 part0”. 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.
Last edited by h20; September 20th, 2012 at 09:25 PM.
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 “p 20 0 part0”. so i edited the file to read p 1 0 part0”. 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.
Yeah, manual entry of loops and stuff is on my list of things to do. As well as flashing destination.
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?
I was planning on adding video support eventually, but I didn't get enough donations to make it worth my time right now :P Try looking into ffmpeg, imagemagick, and mencoder. I'm sure one or more of those things can get it done for you.
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.
Hmm, it works for me. What OS are you using? Could you run the program in a terminal/command line and paste the output? If you aren't sure how to do this, let me know and I will create a build that does it all for you.
It works fine if i leave the size alone, appears to be only when i try and make it fit the Gnex screen.
It doesn't flash the animation though, tried in recovery and bootloader, says no device connected, a terminal window with "./fastboot-mac devices" shows the device is connected OK.
I don't know how to run the .jar in terminal i'm afraid
(Mac 10.8.2)
Last edited by w0bbl3r; October 28th, 2012 at 03:14 AM.
It works fine if i leave the size alone, appears to be only when i try and make it fit the Gnex screen.
It doesn't flash the animation though, tried in recovery and bootloader, says no device connected, a terminal window with "./fastboot-mac devices" shows the device is connected OK.
I don't know how to run the .jar in terminal i'm afraid
(Mac 10.8.2)
Knowing that it is dependent on size helps. I will see if I can recreate the problem myself at 720x1280 resolution. As for the flash not working, I do not have a Mac to test on, so I had to do some guessing on the ADB part (it works fine in Win/Linux). I'll investigate that too. Thank you for your help.
The Following User Says Thank You to BLuFeNiX For This Useful Post:
Knowing that it is dependent on size helps. I will see if I can recreate the problem myself at 720x1280 resolution. As for the flash not working, I do not have a Mac to test on, so I had to do some guessing on the ADB part (it works fine in Win/Linux). I'll investigate that too. Thank you for your help.
Okay, I have tried the same gif with many different resolutions, but I never get a freeze. How much RAM do you have? I may need to create a fix for people with less than 1GB of RAM. I've also put it on my list to get an old mac, or run Mac OS in a virtual machine.
I've tried a bunch of resolutions but it only completes if i don't change it from the default, and as i said, even when it does complete, it won't flash
I've tried a bunch of resolutions but it only completes if i don't change it from the default, and as i said, even when it does complete, it won't flash
That's very strange. I'll have to get a virtual machine running and check it out. Thanks for the info.
Hi,
I just tried this Gif2boot and when I create it (which doesn't work with my resolution 1024x768) with the default resolution that it's set to, I get an I/O error. Do you have sufficient permissions for the filesystem?" Message.
I know this was mentioned before, but I'm not very tech-savvy and have no idea what to do .. Please help!
Hi,
I just tried this Gif2boot and when I create it (which doesn't work with my resolution 1024x768) with the default resolution that it's set to, I get an I/O error. Do you have sufficient permissions for the filesystem?" Message.
I know this was mentioned before, but I'm not very tech-savvy and have no idea what to do .. Please help!
Hi,
Are you using the latest version (Gif2Boot v0.5.3)? Also, make sure you are using Java 7. If both of those conditions are met, try running Gif2Boot as an administrator. What OS are you using?