I tried to make my own boot animation for my YT9216CJ-device which didn't work. Here's the steps I tried:
1. I downloaded a premade animation from here and previewed it on my HU w/o any issues (it has a dedicated function for preview and set the animation from a menu).
2. I extracted the downloaded zip and guessed from comparing the file sizes (zip and target-folder), the new zip needs no compression.
3. With this knowledge I made my animation from scratch, using Photoshop (made one file with layers for one animation-loop, inserted the animation in each background and exported all layers to single jpg-files.
In the source-animation the file-extension is jpg and there are two folders (part0; part1) and I simply copied the desc.txt over to my animation-folder, used the exact same picture size (matching the resolution of my HU) and same filename-structure (000000001.jpg) for my animation and tried packing up with WinRAR (compress as zip with no compression (just save)). When I try to preview the freshly-made animation on the radio, the "app" just crashes into settings-menu, so I don't want to flash it. All files ranging around similar filesizes, even the resolution is similar. Oddly enough the animation is correctly decompressed in the preview-folder.
Related
Does anyone know how to make a boot animation? I haven't rooted my phone (yet!), but I wanted to make my own boot animation. What would be the easiest way to do this?
you can replace the bootanimation.zip from folder "system\customize\resource".
Bootanimation
If you have rooted the phone you could replace the standard bootanimation executable with Cyanogen's. That one allow for more flexibility for custom animation. Cyanogen's boot animation's are series of PNG files of certain size placed in a single zip file. There is also a small description file that allows for setting up loops and have different frame rates for different pieces of the animation.
Just make sure that when you compiling the zip file you specify zero compression option (store).
Hey,
I'm a noob dev, and was curious about building a splash screen from a Mac. I have the .gif animations done, not sure how to compile though!
Also curious about building themes and roms.
Any pointers/sites to help?
Thanks!
Sent from my HTC Glacier using XDA App
Are you talking about making splash screens or boot animations?
Splash Screens = Static screen that displays myTouch4G
Boot Animation = Animated images that display prior to the operating system
Preferably both.
But I'm assuming boot animation would be the proper term for what I was trying to describe.
Sent from my HTC Glacier using XDA App
Splash screens are really easy. The file that you will need to create to convert will have to be a 480x800 png, jpeg, or bmp. Then just visit TrueBlue_Drew's thread and grab his app for converting/flashing splash screens.
Boot animations are a little trickier. You must take your animation and split it into a png sequence. Then you will create two folders and a txt file. The folders will be named part0 and part1. The txt file will be named desc.txt. Inside the folder part0 you will place your png sequence. Then in part1 you will place any of the png sequence you want to loop until the OS finishes booting. The desc.txt will look like this
Code:
480 800 30
p 1 0 part0
p 0 0 part1
The first line contains the animation's size and frame rate. Then the second and third line will begin with a 'p' then the number of times the animation will loop is the first number. I honestly don't know what the second number does. I haven't messed with it as the guide I originally found didn't have the function of that number either. Then of course it has the folder name at the end of the line. Then you zip the two folders and the txt with storage compression and you have your bootanimation! Can't wait to see what you come up with! I'll keep this thread saved if you need any more help!
Thanks!
I have created my basic animation and splash screen image. However, I am running on a mac and very against using parallels/partitioning my hard drive. Are there any other alternatives as to creating the correct form of .img file?
There is a way to convert the pngs to img files through the command line. I'm not sure if it will work for mac. But as it's done through the AndroidSDK/tools folder I'm assuming it should.
http://forum.xda-developers.com/showpost.php?p=10552423&postcount=129
follow this link. The files that you need are there, along with a link to the original thread containing the line of code you'll need to input to convert the png. If you have any more questions I'll be here.
Iriscience said:
There is a way to convert the pngs to img files through the command line. I'm not sure if it will work for mac. But as it's done through the AndroidSDK/tools folder I'm assuming it should.
http://forum.xda-developers.com/showpost.php?p=10552423&postcount=129
follow this link. The files that you need are there, along with a link to the original thread containing the line of code you'll need to input to convert the png. If you have any more questions I'll be here.
Click to expand...
Click to collapse
FFMPEG will work with a mac. Just follow the links that Iriscience provided.
Hello guys,
I am new to XDA forums and also new to customizing my own Theme.
Following few tutorials and possible fixes, I did not manage to get my S4 i9505 to load my bootanimation that I created.
MY PHONE:
GT-I9505
11-20141112-SNAPSHOT-M12-jflte (CyanodenMod Version)
4.4.4 (Android version)
BOOTANIMATION.ZIP:
part0
image00.png - image17.png
part1
image18.png - image21.png
desc.txt
1080 1920 48
p 1 0 part0
p 0 0 part1
The above is my content inside BOOTANIMATION ZIP. Compressed with WinRAR using "STORE" as compress mode. PNGs developed with Adobe Photoshop. DESC was written in NOTEPAD.
2. Copied the .ZIP into my sdcard folder form Computer.
3. Opened File Manager with escalated Root Priviliges.
4. Selected my bootanimation.zip and copied it inside system/media/ .. overwritting previous bootanimation.zip
4.1 After some suggestions on web, I also copied one copy to root/data/local
When I reboot my phone, the CyanogenMod boot is no longer, but neither does it load my bootanimation.
It just loads some standard "android" animation.
Can anybody please help me?
Best,
WW
Did you change permissions to rw-r--r-- for the file in /system/media? Did you make sure no other files were stored in the zip, like a thumbs.db file? Check, because both of these are sufficient to stop the boot animation from functioning.
Two other related issues I see. Issue one is the number of frames per second. 48 frames/second seems a bit fast. Are you sure you want that? Issue two is that you need to delete the boot animation from /data/local if you already have a copy in /system/media.
So I've been trying to get a boot animation I've been working on for this phone to work and the old method of just putting the zip in the system/media or system/customize/resource folder seems to no longer work. I read a few places about having to edit a bootimage bin file but could only find info on that for Samsung phones and qmg files. Just hoping someone can point me in the right direction to learn the new process for our phone
need to replace vzw_bootup.zip to replace the boot animation on the Verizon model not bootanimation.zip. it is also case sensitive so when replacing the file notice how its typed. like VZW_bootup or vzw_bootup.zip etc...
you were in the right folder, the resources folder
I think there's more to it than just that. I have tried to open the vzw_bootup.zip with 7-zip and it doesn't recognize the file. In addition, the splash screens instead of being in a separate partition (sp1 on the M9 and A9) are in \system\customize\resource as splash_screen.png (and is invoked by default.xml in \system\customize\cid.
I have done that. If it's named anything but vzw_bootup.zip it simply loads the default Android boot but if I put a modified boot animation with vzw_bootup.zip as the name it only shows the splash screen right up until my home screen loads. I've given correct permissions and everything. Something about the bootanimation binary file is checking for the correct png files or something in the zip.
Update: I pulled the notification binary file from leedroid (dunno if it's any different just figured I'd try) and ticked permissions for all on the binary file just like the vzw_bootup.zip has and the custom animation somewhat works now. It is skipping half of the second folder but I assume that's something I did.
Deleted. (hit reply instead of edit) =/
hgoldner said:
I think there's more to it than just that. I have tried to open the vzw_bootup.zip with 7-zip and it doesn't recognize the file. In addition, the splash screens instead of being in a separate partition (sp1 on the M9 and A9) are in \system\customize\resource as splash_screen.png (and is invoked by default.xml in \system\customize\cid.
Click to expand...
Click to collapse
I've done it already. It's as simple as that. It's case sensitive, I couldn't get it to work, I copied the text right off the file in root explorer pasted it onto the new animation zip. Asked to replace, I replaced it. Rebooted to the new animation.
Hey, first of all. I have root and TWRP installed.
Tried to make an custom boot animation (converted from .gif to .zip,containing 19 frames.) moved it to system/media and replaced it with the custom animation, renamed the custom animation to bootanimation.zip and changed the stock animation to bootanimation.zip1, rebooted and ots still the same. I know i am doing slmething wrong, but what?
Thanks in advance
If you're using a stock ROM, it doesn't support boot animation zips.
As to your zip, the files cannot be compressed, only stored. The text file that controls the settings cannot be edited using Windows notepad.
Strephon Alkhalikoi said:
If you're using a stock ROM, it doesn't support boot animation zips.
As to your zip, the files cannot be compressed, only stored. The text file that controls the settings cannot be edited using Windows notepad.
Click to expand...
Click to collapse
Converted the gif via Boot Animation(s) app. So i need to install a custom rom like CyanogenMod?
I forgot to mention the individual frames of the boot animation also must either be in .jpg or .png format. An AOSP ROM is required to use the bootanimation, unless you want to play around with Samsung's boot animation creator.
Strephon Alkhalikoi said:
I forgot to mention the individual frames of the boot animation also must either be in .jpg or .png format. An AOSP ROM is required to use the bootanimation, unless you want to play around with Samsung's boot animation creator.
Click to expand...
Click to collapse
Going to try Boot animation factory (since boot animation creator is outdated) also, my pics are in .jpg
.kyon said:
Going to try Boot animation factory (since boot animation creator is outdated) also, my pics are in .jpg
Click to expand...
Click to collapse
When compressing the images use the "store" option.
Also, make sure the zip is structure correctly.
When opening the zip you should have part0, part1 and desc.txt.
Those files should be in the root of the zip, not in other folders.