Boot animations... - EVO Shift 4G Themes and Apps

Are they device specific or can I flash any from the evo/epic/etc threads?

Sometimes device specific, although some aosp ones can work on a few phones.

Is there a method for figuring out which are safe or can I grab any HTC animation and stay away from Samsung?
Is it even UNsafe to try others or will they simply not work?
thanks

Here is our stock boot animation on the Shift. It needs to be exactly the same as this (besides obvious changes to the content of the .png files).
The desc.txt file can be different, as those are the instructions of what image to show at what time during the animation.

All a bootanimation consists of is a collection of JPEG images and desc file, which tells the phone how to size the images, at what speed to show them, what is repeated, and how many times to do so. It is like a computer age flip book. Since most previous phones placed the animation in /system/media, which the shift does not, I would recommend not flashing animations not intended for this phone. Instead, take only the file bootanimation.zip from the flashable update, and either push it via adb, or copy and paste to /system/cutomize/resource/bootanimation.zip. The worst thing that will happen is that you get a bootloop, or the image is poorly formatted for this phone. If this happens, just use adb to push the original boot animation to /system/customize/resource/bootanimation.zip, and reboot, or do a nandroid restore. If the images are the wrong size, this is easily fixed by editing the size in the desc file. If you get bootloops play with the speed and repeat lines in the desc file. One last thing, if you open the bootanimation.zip to edit anything, you MUST rezip with absolutely no compression, or it will not work.
If anything in the above is not clear, please do not hesitate to ask for more information.

Related

[Q] Thunderbolt Boot Animation Help?

So far I've found a lot of helpful threads on boot animations... I am simply modifying the existing one on my phone...
what I'm trying to do...
when a thunderbolt boots up it says "HTC"
then it says "HTC quietly brilliant"
then the thunderbolt clip with BAMF in the bottom right corner...
I WANT to replace the .PNG file that has "HTC quitly brilliant" to "HTC quietly rooted" with a pic of an android eating an apple...
THATS IT... I have made the picture i want in photoshop, named it the same name...
I have copied the zip off my phone, put that picture (png file) over the existing one in the .zip.... then renamed the bootanimation.zip file in my phone to bootanimation_original.zip and copied the new verizon to the same file as bootanimaton.zip... the phone boots... says "HTC" then its black and goes straight into the thunderbolt boot thing...
the only thing i can think is that the file is too big... the original is about 14kb the new one is 26kb... I tried saving it smaller but that was as small as i can get it through photoshop...
any help would be much appreciated!... (i also changed the file to 'read only' as the original was also)
please help!
thank you!
So if i understand correctly, you are seeing the rest of the animation.
If that's the case, then it has to be a problem with the image. It could be something as simple as the file name.
If you can't get it figured out, post it here as an attachment and I would be happy to take a look at it for you.
Sent from my B.A.M.F. Thunderbolt
I don't think the file size matters i have made a bunch of different ones. One thing to check is inside the bootanimation.zip file there is a text document called Desc.txt you have to adjust your desc file accordingly. Mainly you want your image width and height.
your desc should look something like this
"480 800 15p 1 45 androidp 1 1 VZWp 1 300 progress"
480 and 800 being you width and height, 15p is your frames per second, 1 is the number of times for the video to loop( change to 0 if you want that animation to loop to boot is complete), and not sure about the 45 i think how long to wait before starting images in the VZW folder. and same goes for numbers after VZWp. Also not sure on the progress most likely to hold last image till boot process is completed.
Edit:
Also when you re compress the ZIP file make sure you change the setting for compression method to "Store"
gadget! said:
So if i understand correctly, you are seeing the rest of the animation.
If that's the case, then it has to be a problem with the image. It could be something as simple as the file name.
If you can't get it figured out, post it here as an attachment and I would be happy to take a look at it for you.
Sent from my B.A.M.F. Thunderbolt
Click to expand...
Click to collapse
Correct, I CAN see the rest of the animation, just NOT that part I replaced... here's how I did it at first... at first I just copied the file out, made the adjustments I waned, and then dragged and dropped it back in the zip'd folder (I use windows XP if that makes any difference) it put my file over the existing one in the .zip.... then i put that in place of the bootanimation.zip on the phone...
THEN i tried downloading 7-Zip... i unzipped the whole file, put my file in, re-zipped my whole folder with NO compression... that killed the entire animation boot up thing all together... I'm using se explorer with root permissions to put these in the system/media folder...
so... yeah... not getting very far...
Tried attaching the .zip but it was 11mb and i can only post up to 8mb .zips... i'll post JUST the image, which is the correct width/height...
it is also named exactly what the other file was named...
I'm not sure what bootanimation file you are starting with but since you say it says BAMF I'll assume it's the bootanimation from the das BAMF ROM.
Actually, I made the bootanimations for the BAMF ROMS.
The only thing that confuses me is that it is only about 4MB in size?
Attached is the one from the BAMF ROM with your picture in it.
Just rename it to bootanimation.zip, put it on tour TB and see if that's the one you wanted.
I put it on my phone to test and it works as it should.
I realize this thread is a bit old, but I'm having a similar problem.
I'm using cyanogenmod on my thunderbolt, but since I like red, I thought I'd try changing the boot anim.
So I extracted the original boot anim and hue shifted the images, then re-zipped it and i get nothing at all. Putting the original back works fine. Is there maybe something that 7-zip does to make it not work, or maybe something that photoshop did to the images? I have opened the zip that i made on the phone and viewed the images there so the gallery can read the images once extracted from the zip. (If that makes a difference.)
Edit: Apparently my problem was that the only way to get it to show was to use store for the zip compression.

[HOW TO] REZOUND ICS BOOTANIMATIONs

I figured I would share with the community since people are finding ICS a little tricky
*JUST AN UPDATE. I FOUND THAT THE BEATS AND VZW FOLDERS CAN HAVE ANY NUMBER OF IMAGES*
What you need:
boot animation creator.exe (windows program) get it at http://forum.xda-developers.com/showthread.php?t=1234611 (credit to despotovski01)
7zip (windows program) http://www.7-zip.org/
fotosizer (windows program) http://www.fotosizer.com/
some type of boot animation (youtube video, collection of images, whatever)
the stock VZW boot animation (attached)
file explorer app (root explorer, es file explorer, etc)
Steps:
create a folder somewhere that you will be working from
in that folder, create a folder named VZW
use fotosizer to rename the images.
USE THESE SETTINGS : Preset size - original, destination folder (the folder you created earlier named VZW, output format - JPEG, file name mask (this is important) render_720x1280_compress %NNN
add your images to fotosizer and click start. it will output the images to the folder you chose all named "render_720x1280_compress xxx.jpeg"
grab the "beats" folder and the "android" folder from the stock animation
place these folders with VZW
open the boot animation creator.exe
choose the folder that contains beats, android and VZW and choose next
HERE IS THE TRICKY PART: the settings have to be like this or it wont work
android - 1 15
beats - 1 15
VZW - X 90 (x can be as many times as you want the image set in the VZW folder to repeat)
width - 720
height - 1280
speed - 15
choose next and save it anywhere you want. The file must be named Vigor_VZW_bootanimation.zip
Place the zip on your sd card and drop it where ever you ROM has its boot animation (either /system/customize/resource or /data/local or /system/media)
change the permissions to RW-R-R using a file explorer and reboot
IF YOU DON'T WANT THE BEATS ANIMATION:
use fotosizer once again to rename your first 35 images to "Beats Audio Animation as JPG Seq XX" the same way as you did with the VZW folder and place them in the "beats" folder
you will need to redo the naming process again for the VZW folder
follow the same steps for the bootanimation creator.exe program
IF YOU WANT LANDSCAPE
Simply open the folder that your images are stored in, single click on the first image, press and hold the shift key, click on the last image. right click and choose rotate clockwise. proceed as normal.
you can also create a flashable zip (include with the tools and credit Mr.Smith317) with the animation placed in the correct location
(there may be other ways of doing this process, but this ways has always worked without fail)
DOWNLOAD THE TOOLS
Adding sound :
grab your sound file. it must be an mp3 and shouldn't be longer than 15 seconds
rename it to android_audio.mp3
the default.xml file in /system/customize/CID needs to be edited
find this line 3/4 of the way down in the xml file
<BootAnimation animation="/system/customize/resource/Vigor_VZW_bootanimation.zip"
add this to the end
"audio="/system/customize/resource/android_audio.mp3" audiostart="VZW"/>
the whole line should be
<BootAnimation animation="/system/customize/resource/Vigor_VZW_bootanimation.zip"audio="/system/customize/resource/android_audio.mp3" audiostart="VZW"/>
*notice "/system/customize/resource/Vigor_VZW_bootanimation.zip? thats where your boot animation is stored*
place you audio mp3 file in the same folder as the boot animation
change permissions to RW-R-R
reboot
the sound will start to play when the VZW folder images start. if you want to change this edit this part of the line you added
audiostart="VZW"/> to what ever folder you want it to start at
racinwarrior said:
so i have been asked to create a few custom boot animations. I dont mind doing stuff, but i have been swamped at work. I figured I would share with the community since people are finding ICS a little tricky
What you need:
boot animation creator.exe (windows program, attached)
7zip (windows program)
fotosizer (windows program)
some type of boot animation (you tube video, collection of images, whatever)
the stock VZW boot animation (attached)
file explorer
Steps:
create a folder somewhere that you will be working from
in that folder, create a folder named VZW
use fotosizer to rename the images.
USE THESE SETTINGS : Preset size - original, destination folder (the folder you created earlier named VZW, output format - JPEG, file name mask (this is important) render_720x1280_compress 0%N
add your images to fotosizer and click start. it will output the images to the folder you chose all named "render_720x1280_compress xxx.jpeg"
change the first 9 images so that they are named "render_720x1280_compress 001, 002, 003" etc
if you have more than 100 images rename them as "render_720x1280_compress 100, 101, 102" etc (the goal is to end up with the imaged names 001 to XXX consecutively)
grab the "beats" folder and the "android" folder from the stock animation
place these folders with VZW
open the boot animation creator.exe
choose the folder that contains beats, android and VZW
HERE IS THE TRICKY PART: the settings have to be like this or it wont work
android - 1 15
beats - 1 15
VZW - X 90 (x can be as many times as you want the image in VZW to repeat)
width - 720
height - 1280
speed - 15
choose next and save it anywhere you want. The file must be named Vigor_VZW_bootanimation.zip
Place the zip on your sd card and drop it where ever you ROM has its boot animation (either /system/customize/resource or /data/local or /system/media)
change the permissions to RW-R-R using a file explorer and reboot
you can also create a flashable zip with the animation placed in the correct location
DOWNLOAD THE TOOLS
Click to expand...
Click to collapse
THANK YOU. i wanted to port my boot animation but it wasnt working. i cant wait to try.
I made a ton of boot animations a while back, mostly for the inc and EVO. I opened one of the stock Rezound ones up the other to look around inside at the files. Why are the folders duplicated? The one I looked at has 2 beats, 2 vzw, etc. They seem to have the exact same images in them.
Also. Which animation does what? On a couple if Roma I tried the.boot animation was different depending on how I booted. Doing a full power down and reboot was different than doing a hot reboot.
Sent from my ADR6425LVW
Hey man im not sure if you put the wrong thing in there or if i'm retarded, but the "Boot Animation Creator.exe" is a shortcut to the program not the program itself
Let me know if im missing something, thanks dude
who_mike_d said:
Hey man im not sure if you put the wrong thing in there or if i'm retarded, but the "Boot Animation Creator.exe" is a shortcut to the program not the program itself
Let me know if im missing something, thanks dude
Click to expand...
Click to collapse
Must have grabbed the wrong icon for the zip. I'm stuck in bed with tbe flu right now. I will try to fix it in a few hours
sent from your mom
silverxbv2 said:
I made a ton of boot animations a while back, mostly for the inc and EVO. I opened one of the stock Rezound ones up the other to look around inside at the files. Why are the folders duplicated? The one I looked at has 2 beats, 2 vzw, etc. They seem to have the exact same images in them.
Also. Which animation does what? On a couple if Roma I tried the.boot animation was different depending on how I booted. Doing a full power down and reboot was different than doing a hot reboot.
Sent from my ADR6425LVW
Click to expand...
Click to collapse
They only need to have one set. Not sure which one you were looking at, but only one set is right
I think fastboot uses a different shortened animation
sent from your mom
Fastboot doesn't show any animation at all unless you full power off as far as I know.
racinwarrior said:
Must have grabbed the wrong icon for the zip. I'm stuck in bed with tbe flu right now. I will try to fix it in a few hours
sent from your mom
Click to expand...
Click to collapse
Boot animation creator: http://d01microapps.elementfx.com/Downloads/install_bootanimationcreator.msi
feel better man
MrSmith317 said:
Fastboot doesn't show any animation at all unless you full power off as far as I know.
Click to expand...
Click to collapse
I agree.....
Actually I think it uses hTC_bootanimation
sent from your mom
Front page man. Good job.
EmerikL said:
Front page man. Good job.
Click to expand...
Click to collapse
sweet.......
If you change "render_720x1280_compress 0%N" to "render_720x1280_compress %NNN" you don't have to go back and add the extra 0 to the first 9 or fix anything over 100.
knuckles562 said:
If you change "render_720x1280_compress 0%N" to "render_720x1280_compress %NNN" you don't have to go back and add the extra 0 to the first 9 or fix anything over 100.
Click to expand...
Click to collapse
nice...ill update the OP thanks
racinwarrior said:
sweet.......
Click to expand...
Click to collapse
http://www.xda-developers.com/android/make-your-own-ics-boot-animations-for-the-htc-rezound/
Hell yeah man good job!
Sweet!! I wanted to make a boot animation for my phone.
Thanks
FPS?
First of all great guide, and congrats on making the first page. I was wondering if there was any way to increase the FPS (im trying to increase it to 25) of the boot animation, I've noticed that anytime I change it in boot animation creator, my animation doesn't work anymore. If I can't change it in the boot animation creator, what would be the best way to speed up the frames a bit? Thanks in advance.
xarmorx said:
First of all great guide, and congrats on making the first page. I was wondering if there was any way to increase the FPS (im trying to increase it to 25) of the boot animation, I've noticed that anytime I change it in boot animation creator, my animation doesn't work anymore. If I can't change it in the boot animation creator, what would be the best way to speed up the frames a bit? Thanks in advance.
Click to expand...
Click to collapse
First of all thank you OP for this walkthrough. I have a Vivid and haven't been able to get bootsounds to work. With a little guidance from post 2, we have bootsound!
Xarmox - In all the animations I've ever made, there should be a desc.txt in your animation's .zip, along with the image folders. In this .txt file, the first line will display "width height framespersecond". You should be able to speed it up/slow it down by editing the fps
Also to OP and anyone else who might be interested - if you leave off the audiostart="folder", it will just start the sound at the beginning of the animation, rather than looking for a specific folder name. This would allow other animations that don't use the same folder structure to utilize the sound. However if you only want your sound to start at a specific roll of images, this is a great addition!
homeslice976 said:
Xarmox - In all the animations I've ever made, there should be a desc.txt in your animation's .zip, along with the image folders. In this .txt file, the first line will display "width height framespersecond". You should be able to speed it up/slow it down by editing the fps
Click to expand...
Click to collapse
thank you for the advice, the problem I'm having is that anytime i change the FPS in the desc.txt or in the boot animation program, my boot animation doesn't play on my phone when i boot up, it just shows the splash screen until the phone boots up. Its as if the ReZound won't play any boot animation unless its at 15 FPS.
I tried deleting every other image in the VZW folder and renamed them (I think this would give the appearance of ~30 FPS, when played at 15FPS), which isn't the preferred way, because its gonna make syncing up the sound that much more difficult. Maybe I could figure out a good pattern of frames to delete to give the appearance of 25 FPS.
xarmorx said:
thank you for the advice, the problem I'm having is that anytime i change the FPS in the desc.txt or in the boot animation program, my boot animation doesn't play on my phone when i boot up, it just shows the splash screen until the phone boots up. Its as if the ReZound won't play any boot animation unless its at 15 FPS.
I tried deleting every other image in the VZW folder and renamed them (I think this would give the appearance of ~30 FPS, when played at 15FPS), which isn't the preferred way, because its gonna make syncing up the sound that much more difficult. Maybe I could figure out a good pattern of frames to delete to give the appearance of 25 FPS.
Click to expand...
Click to collapse
Don't know if it would matter or not, but are you putting the edited desc.txt back with Store compression (file size and compressed size the same)? I use WinRAR to do this as it allows me to select compression level every time, but have to use 7zip for a lot of the other things I do that don't require Store compression, it seems to just know
Edit: Keep in mind I'm saying this without ever having played with a bootanimation for a Rezound. I have a buddy with one, if you're still having trouble I'll put one on his and see what I can do next time I see him. Or maybe OP can chime in with some knowledge

Creating custom Bootanimation

I am a Noob on Xda-Developers. Please forgive me for my English.
The Android boot animation is stored within one very special file named bootanimation.zip inside the phone’s memory. Change the .zip, change the animation. It’s as simple as that.
What’s not simple is how Android stores bootanimation.zip. For some unknown reason, Android actually keeps two copies of the animation file. One is stored at /data/local and the other at /system/media.
The difference between these locations is minor. The /data/local copy does not require root access. The phone also uses this animation before the other. The other one in /system/media does require root. However, installing a new animation to /system/media means that it will survive a factory reset. It’s a trade-off.
Regardless of which location you decide to use for your new boot animation, be absolutely sure to back up the original files. When replacing bootanimation.zip, keep a copy of the original .zip file saved to your computer. To be absolutely sure, you may want to make a Nandroid backup before doing any modifications.
How It Works
This section is intended to inform those who might wish to make their own start-up animation. If you have no interest in doing so, feel free to skip ahead. Understanding exactly how bootanimation.zip works is not necessary to install a new one.
If you copy bootanimation.zip to your computer and unzip it, inside will be a collection of files. There will be folders labeled part0, part1, part2 and so on. Also included will be desc.txt.
For our MIUI ROM, the boot animation was split into two parts. Part 0 had a huge list of image files which it used for the animation. Part 1 simply held the final screen at the end of the animation.
Desc.txt contains extremely simple instructions telling the phone how to run the animation. The first line lists the width, height, and frame rate of the animation. So 480 800 24 means to run the animation at 480×800 resolution and 24 frames per second.
The next two lines refer to the animation files. “P” invokes a part folder. The next number tells the phone how many times to play that part of the animation. So our second line “p 1 0 part0” means that the animation files in the part0 folder will play once. If we put zero, then the animation will loop until fully booted. The most notable use of looping animations is CyanogenMod 7’s spinning blue arrow.
The second number in that line is the pause time. This tells the phone how long it should pause DURING/BEFORE/AFTER/ the animation. Pause time is measured in frames, so 24 would be 24 frames of pause at 24 frames per second. Thus it pauses for one second. Our 0 means the phone pauses for zero frames (no time).
Creating Your Own Boot Animation
The first step is drawing the animation. Create a series of images which form one continuous animation. The frames must be labeled by increasing numbers, e.g. 000.png and 001.png and so on. Each part of the animation goes into a separate folder, starting with part0 and part1 and so on.
Finally open Notepad and write out a few lines of instructions. The first line should be the resolution and frame rate of the animation. The resolution must match that of your device. If you don’t know what that resolution is, see this page . The frame rate should match the one in the original desc.txt.
The next lines dictate the parts. Each part folder requires one line of instruction. Write out the numbers for each part of the animation. Once finished, save the file as desc.txt.
The final step is creating the .zip file. Select all the part folders and desc.txt. Right click on the files and select Send To > Compressed folder(Make sure that you select Store on Compression level). Windows should quickly create the new file. Be sure to name it bootanimation.zip and nothing else.
Various Methods of Changing the Boot Animation:
Installation by Flashing
Other themes come as .zip files which can be flashed within ClockworkMod. This is much easier and definitely recommended. When downloading a theme from XDA or elsewhere, be sure to check the page. It might be a flashable .zip.
To flash a .zip file, simply copy it to the SD card.
Reboot into recovery mode.
Now go to “Install .zip” and choose the file from your card. CWM should run the file.
Reboot once finished.
Installation by Copy/Paste
Copy your corresponding zip into your memory card.
Go to system/media & make a backup of bootanimation.zip.
Then copy your new bootanimation.zip from sd card & paste it to system/media.
Change permission to: rw-r-r
Reboot & enjoy
To change the boot audio:
Find an mp3. It should be relatively short as most phones don’t take much time to turn on.
Rename the mp3 to bootaudio.mp3.
Copy it to the SD card.
Now open Super Manager and copy the mp3 to /system/media.
Always make a Backup before doing any modifications
Try it with your own risk
I am not responsible it anything wrong happen with your mobile.
Donr forget to press THANKS button

[Q] Copying bootanimation to carrier/cust/.. fails

I have a U.S. Sprint LG G3 I'm trying to load custom animations on and it's giving me a heck of a time accomplishing that..
I'm trying to copy a bootanimation.zip into /carrier/cust/poweron (and a shutdownanimation.zip into /carrier/cust/poweroff) and ES File Explorer is telling me the copy task failed, with no further information.
I used stump root to root, have SU installed. ES file has root explorer enabled, rights have been granted. etc.
I can copy smaller files into those directories just fine, but over a certain size they fail. The percentage that the copy fails at amounts to the same amount of MB (that is, a 100MB file might stop at 17.5%, and a 50MB file will stop at 35% - both at what would be 17.5MB).
I can copy larger files other places, like /system/media. No problem there. I have like 20 GB of internal storage free. And worse, I was copying the same dang file into the same folder just fine earlier in the day. If I don't place another copy of the bootanimation.zip file in this folder, I get nothing but a black screen after the LG splash during boot (side note, wtf is the deal with needing 3 copies of the same bootanimation.zip or it won't work.. why on earth would it work like that).
No friggin clue why it constantly gives me a copy task failed message now. Any ideas?
qstarin said:
I have a U.S. Sprint LG G3 I'm trying to load custom animations on and it's giving me a heck of a time accomplishing that..
I'm trying to copy a bootanimation.zip into /carrier/cust/poweron (and a shutdownanimation.zip into /carrier/cust/poweroff) and ES File Explorer is telling me the copy task failed, with no further information.
I used stump root to root, have SU installed. ES file has root explorer enabled, rights have been granted. etc.
I can copy smaller files into those directories just fine, but over a certain size they fail. The percentage that the copy fails at amounts to the same amount of MB (that is, a 100MB file might stop at 17.5%, and a 50MB file will stop at 35% - both at what would be 17.5MB).
I can copy larger files other places, like /system/media. No problem there. I have like 20 GB of internal storage free. And worse, I was copying the same dang file into the same folder just fine earlier in the day. If I don't place another copy of the bootanimation.zip file in this folder, I get nothing but a black screen after the LG splash during boot (side note, wtf is the deal with needing 3 copies of the same bootanimation.zip or it won't work.. why on earth would it work like that).
No friggin clue why it constantly gives me a copy task failed message now. Any ideas?
Click to expand...
Click to collapse
Not sure why the copy won't work, but those directories aren't where you want to put your custom boot animations anyway. What you need to do is delete or rename the animations in those folders, and then copy your custom ones into system/media. Here's a more detailed explanation:
http://forum.xda-developers.com/sprint-lg-g3/themes-apps/stock-boot-animations-guide-t2881117
I gave up on ES File Explorer a couple of versions ago, finding it a bit confusing and unreliable. Give FX a try:
https://play.google.com/store/apps/details?id=nextapp.fx
https://play.google.com/store/apps/details?id=nextapp.fx.rr (root add-on)
meyerweb said:
Not sure why the copy won't work, but those directories aren't where you want to put your custom boot animations anyway. What you need to do is delete or rename the animations in those folders, and then copy your custom ones into system/media. Here's a more detailed explanation:
http://forum.xda-developers.com/sprint-lg-g3/themes-apps/stock-boot-animations-guide-t2881117
I gave up on ES File Explorer a couple of versions ago, finding it a bit confusing and unreliable. Give FX a try:
https://play.google.com/store/apps/details?id=nextapp.fx
https://play.google.com/store/apps/details?id=nextapp.fx.rr (root add-on)
Click to expand...
Click to collapse
You are right, playing with it some more I do not appear to need the /carrier/cust folders. My head was swimming with how many times I tried putting zips in place and rebooting yesterday.
I wonder what the problem could be, then. I have no issues getting animations I downloaded from here to work. I was also able to use this site someone made to turn the vertical octopus gif from that thread into a working boot animation.
But when I try to put together an animation from this gif, I've had no success.
I've tried splitting the frames out with both Irfanview & ImageMagick. Then resizing from 480x480 to both 960x960 and 1440x1440 - then expanding the canvas to 1440x2560 and filling the new background in with black. Again, I've performed these manipulations with both IrfanView & ImageMagick.
I've tried jpg's and png's with varying levels of image compression as well as both 24 and 32 bit png's.
In the desc.txt file I've tried 30, 45, and 60 frames per second. For the part line I've tried:
p 1 0 part0
p 0 0 part0
c 1 0 part0
p 1 0 part0 (repeat this line x10)
And the zip I create uses Store compression (no compression), created with WinRAR.
I've tried connecting with adb and running the bootanimation command. When I have a working boot animation that I've downloaded, the command echos the string bootanimation at the prompt, and my phone screen flashes black for a split second. When I try the command with my custom animation in place, nothing is echoed at the prompt - no error messages or anything - and nothing happens on the phone.
I always get just a black screen on boot or shutdown trying my zip. Perhaps it's some issue with the images and the way I'm creating them.. or maybe I'm missing something simple. I put a few variations I've tried up in a dropbox folder if anyone cares to look and help.
I may have time to play around with this later in the week and see if I can get anything working. In the mean time, here's a different thread on converting GIFs to boot animaions. Maybe something here will work for you:
http://forum.xda-developers.com/showthread.php?t=2559670
qstarin said:
You are right, playing with it some more I do not appear to need the /carrier/cust folders. My head was swimming with how many times I tried putting zips in place and rebooting yesterday.
I wonder what the problem could be, then. I have no issues getting animations I downloaded from here to work. I was also able to use this site someone made to turn the vertical octopus gif from that thread into a working boot animation.
But when I try to put together an animation from this gif, I've had no success.
I've tried splitting the frames out with both Irfanview & ImageMagick. Then resizing from 480x480 to both 960x960 and 1440x1440 - then expanding the canvas to 1440x2560 and filling the new background in with black. Again, I've performed these manipulations with both IrfanView & ImageMagick.
I've tried jpg's and png's with varying levels of image compression as well as both 24 and 32 bit png's.
In the desc.txt file I've tried 30, 45, and 60 frames per second. For the part line I've tried:
p 1 0 part0
p 0 0 part0
c 1 0 part0
p 1 0 part0 (repeat this line x10)
And the zip I create uses Store compression (no compression), created with WinRAR.
I've tried connecting with adb and running the bootanimation command. When I have a working boot animation that I've downloaded, the command echos the string bootanimation at the prompt, and my phone screen flashes black for a split second. When I try the command with my custom animation in place, nothing is echoed at the prompt - no error messages or anything - and nothing happens on the phone.
I always get just a black screen on boot or shutdown trying my zip. Perhaps it's some issue with the images and the way I'm creating them.. or maybe I'm missing something simple. I put a few variations I've tried up in a dropbox folder if anyone cares to look and help.
Click to expand...
Click to collapse
meyerweb said:
I may have time to play around with this later in the week and see if I can get anything working. In the mean time, here's a different thread on converting GIFs to boot animaions. Maybe something here will work for you:
http://forum.xda-developers.com/showthread.php?t=2559670
Click to expand...
Click to collapse
I've been hesitant to try an app, the boot animation installers have a lot of iffy reviews, and I've read ROM Toolbox is buggy on the G3 too. I haven't unlocked the bootloader and gone through flashing the stock rom yet on this device so I'm not quite ready to potentially soft-brick the phone.
I'm also a software developer by trade, and constructing and manually installing a boot animation is well within my comfort zone. I'm just not sure what I'm doing wrong here.
The command I was using to split the gif with ImageMagick is
convert -coalesce b.gif -resize 300% -background black -gravity center -extent 1440x2560 -units PixelsPerInch -density 96 frames/b%03d.png
I did notice that if I leave out the canvas expansion I end up with a 8bpp palette -ized png, which has considerably smaller file size. I didn't figure out how to get the expanded png's in that format yet because I wasn't sure if it would even work for the boot animation.
Well I put TWRP and BarRin ZV6 on it now so I'll have to try give ROM Toolbox a shot.
So here's where I'm at - this is the bootanimation.zip - and I can't see what I'm doing wrong. I split the gif and then resize the png's, in separate steps because if I combine them I get weird artifacts in the images.
Code:
convert -coalesce b.gif frames/%03d.png
convert frames/*.png -resize 250% -background "#000000" -gravity center -extent 1440x2560 png24:part0/%03d.png
desc.txt (saved in utf-8 without BOM, line endings are {CR}{LF} - working boot animations I've downloaded use this line ending)
Code:
1440 2560 30
p 1 0 part0
Zipped with store, permissions set, nothing in the zip besides the desc.txt and part0/*.png. Black screen. I don't know what else to try; I've tried every variation I can think of.
This is frustrating. Every animation I try from this G3 thread of them works fine. I can unzip them and edit the desc.txt (change frame rate), rezip them, and they work fine. So I don't think I'm doing anything wrong with the desc.txt file (syntax or encoding) or while creating the zip.
I've taken some others, like the code one in 1080x1920 from this thread, and have no luck. I've tried installing it as-is, changing only the resolution in the desc.txt file, and resizing the images as well as changing the res in desc.txt. Always a black screen.
I mentioned an octopus gif before, and was able to get a working 1440x2560 boot animation using this site: http://gif2boot.ifc0nfig.com/ But it has a 3MB upload limit. I took the working boot animation generated from there and unzipped it, cut the png's down then doubled their size back to 1440x2560, zipped it back up and that didn't work either.
Code:
convert orig/*.png -gravity center -extent 720x1280 -resize 1440x2560 part0/X%05d.png
I also tried just converting them from 32 bit (originals, which work) to 24 bit (which is recommended) PNG's. Black screen. Tried converting to jpg's, no dice.
So I'm thinking nothing I touch with ImageMagick works, but I took the Gold Cross Bones from here and swapped black for white. That actually worked. So did converting it to 24bit PNG's. I'm so lost.
qstarin said:
So here's where I'm at - this is the bootanimation.zip - and I can't see what I'm doing wrong. I split the gif and then resize the png's, in separate steps because if I combine them I get weird artifacts in the images.
Code:
convert -coalesce b.gif frames/%03d.png
convert frames/*.png -resize 250% -background "#000000" -gravity center -extent 1440x2560 png24:part0/%03d.png
desc.txt (saved in utf-8 without BOM, line endings are {CR}{LF} - working boot animations I've downloaded use this line ending)
Code:
1440 2560 30
p 1 0 part0
Zipped with store, permissions set, nothing in the zip besides the desc.txt and part0/*.png. Black screen. I don't know what else to try; I've tried every variation I can think of.
This is frustrating. Every animation I try from this G3 thread of them works fine. I can unzip them and edit the desc.txt (change frame rate), rezip them, and they work fine. So I don't think I'm doing anything wrong with the desc.txt file (syntax or encoding) or while creating the zip.
I've taken some others, like the code one in 1080x1920 from this thread, and have no luck. I've tried installing it as-is, changing only the resolution in the desc.txt file, and resizing the images as well as changing the res in desc.txt. Always a black screen.
I mentioned an octopus gif before, and was able to get a working 1440x2560 boot animation using this site: http://gif2boot.ifc0nfig.com/ But it has a 3MB upload limit. I took the working boot animation generated from there and unzipped it, cut the png's down then doubled their size back to 1440x2560, zipped it back up and that didn't work either.
Code:
convert orig/*.png -gravity center -extent 720x1280 -resize 1440x2560 part0/X%05d.png
I also tried just converting them from 32 bit (originals, which work) to 24 bit (which is recommended) PNG's. Black screen. Tried converting to jpg's, no dice.
So I'm thinking nothing I touch with ImageMagick works, but I took the Gold Cross Bones from here and swapped black for white. That actually worked. So did converting it to 24bit PNG's. I'm so lost.
Click to expand...
Click to collapse
It didnt work because you need a good root browser (not es file us like root browser)
1619415 said:
It didnt work because you need a good root browser (not es file us like root browser)
Click to expand...
Click to collapse
I've gone into a terminal on the phone and verified the permissions are correct and the file size exactly matches (haven't compared a hash though). Also, the same zips always work, and the same ones always don't. It's got nothing to do with the file explorer imho.
qstarin said:
I've gone into a terminal on the phone and verified the permissions are correct and the file size exactly matches (haven't compared a hash though). Also, the same zips always work, and the same ones always don't. It's got nothing to do with the file explorer imho.
Click to expand...
Click to collapse
Ok well it could just be that the zips are bad or your not placing it in the correct spot (like a folder) try changing your rom
1619415 said:
Ok well it could just be that the zips are bad or your not placing it in the correct spot (like a folder) try changing your rom
Click to expand...
Click to collapse
The zips open fine and I can extract individual files onto the phone, which I have no problem viewing in the gallery. Other animations I put in place work so I am getting it in the right folder, and the rom shouldn't really matter but I've tried this on the stock rom and BarRin ZV6.
qstarin said:
The zips open fine and I can extract individual files onto the phone, which I have no problem viewing in the gallery. Other animations I put in place work so I am getting it in the right folder, and the rom shouldn't really matter but I've tried this on the stock rom and BarRin ZV6.
Click to expand...
Click to collapse
Are you trying to extract the images for your boot animations on your phone? Or are you trying to make you own bootanimation.zip?
qstarin said:
The zips open fine and I can extract individual files onto the phone, which I have no problem viewing in the gallery. Other animations I put in place work so I am getting it in the right folder, and the rom shouldn't really matter but I've tried this on the stock rom and BarRin ZV6.
Click to expand...
Click to collapse
This might sound a little stupid but maybe the phone just dosent like thoses. Or you may have done it in a way that the hardware/software may block it.

[TUTORIAL][GUIDE]How To Make Your Own Boot Animation For The Honor 8

WHY THIS TUTORIAL YOU MIGHT ASK? Making a boot animation for Android certainly isn't rocket science. Well, in most cases, I would certainly agree. I make animations for Android all the time without a hitch. The Honor 8, however, proved to be a special case for many reasons. First of all, it stores the bootanimation.zip in several places throughout the device, so determining which one needed to be replaced was the first obstacle. I soon discovered too that the device is also is extremely particular about the format of the images, the method of compression used on the images and the method of compression used in zipping the files. Since I don't own the device myself too, it took weeks of almost continuous tests with someone who had the device to actually determine what parameters needed to be in place for the animation to function properly.
-------
Btw, Here Are My Honor 8 Animations For Reference:
https://forum.xda-developers.com/showthread.php?p=70645944
-------
SO, BY REQUEST, HERE ARE THE STEPS FOR GETTING YOUR BOOT ANIMATION WORKING ON THE HONOR 8:
1) Set Up A Project Folder - First of all lets make a project folder(called "My Animation" or whatever). Open the folder and make two more folders inside it called "part0"(for the first part of the animation) & "part1"(for the second part). Then also create a blank ".txt" file called "desc.txt" and just copy this bit of text into it for now and save it:
1080 1920 20 p 1 0 part0 p 0 0 part1
2) Decide How You Want Your Animation To Work - For the first part of my animation I decided to have it simply fade in on mine. After fading I made an actual moving animation frame by frame that would just loop until the device boots up.
3) Make Sure Your Images Are The Correct Size - When creating the images for the Honor 8 you will need to make sure that they are 1080x1920 resolution, since that's the resolution of the display.
4) Naming The Images - When naming your images you'll want to make sure they appear in the proper sequence. To do this it helps to add numbers to each. You'll want to save the files for the first part of your animation into the "part0" folder, naming them something like "myanimation_001.png", then "myanimation_002.png", etc. Then, once you've finished the second part of the animation you'll want to save those files into the "part1" folder. Make sure that if you ended on say "myanimation_009" in "part0" that you continue where you left off at "myanimation_010" in "part1".
5) Make Sure Your Images Are PNG - Here's where things start to get trickier on the Honor 8. Even though the stock animation is in JPG, for some reason if you use anything other than PNG format, the most you will likely get when testing your animation is a bootloop or a flickering black screen. The Honor 8 seems to prefer PNGs.
6) Converting Your JPGs To PNGs(if needed) - If you're making your animation from scratch, say in Photoshop, then you can simply just save each frame of the animation as a PNG from the start, but if like me you already saved them to JPG or if you're extracting images from a video that come out JPG or you're porting another animation that's already JPG, then you will need to convert. You can load each image into a program like Photoshop and just do a "Save As" .PNG, as I mentioned, but you'll have to do them one by one. If you want to convert them all at once though with a batch conversion, then there is also a great free program called IrfanView for that here: http://www.irfanview.com/
7) Compressing Your PNGs(if needed) - PNGS will generally be larger files, perhaps even 10 times larger than JPG. If you don't compress them there's a chance that your animation will lag under the weight of those larger files if they're too big. Also, you don't really want people to have to download a 50-60MB boot animation file anyway. In my animation everything worked fine after I converted the images, but I had to try a few different programs to compress the images before the animation would actually show after the compression, as most programs seemed to be producing PNGs that the Honor 8 simply didn't like for whatever reason. You want to find a PNG compression program that says it's "Lossless" by the way. This means that the images won't really lose any quality in the process. (For reference, I actually ended up using a Chrome extension in the end called "iLoveIMG" on a whim that produced the proper PNGs and compressed them all by about 66%.)
8) Setting The Animation Parameters - Before you finish your animation you may want to edit the parameters we entered for it earlier in the "desc.txt" file to tell it where the images are and how fast you want your animation to play. If, like most animations, you just want the first part to play once and the second part to loop until the device boots, then you can probably just leave this file for now with the text we entered before. It will play at 20 frames per second as we have it now. Then later, after testing the animation, if you find it's playing too fast, then you might want to just edit the "20" in there to something less like "10" or if it runs too slow then you can try changing it to something higher like "30". Whichever way looks better.
Here's a brief explanation of what each part in the "desc.txt" means:
"1080 1920 20 p 1 0 part0 p 0 0 part1"
1080(width) 1920(height) 20(frames per second)
p(new part indicated) 1(times to play part) 0(seconds to pause before next part) part0(folder name)
p(new part indicated) 0(times to play-0 means infinite) 0(seconds to pause) part1(folder name)
9) Making Your "bootanimation.zip" File - In order for your animation to work, you're going to have to pack the "part0", "part1" & "desc.txt" files into a zip file called "bootanimation.zip". You must make sure that you select "No Compression" when packing the zip though or the animation will not work and will likely just show a black screen.
10) Testing Your Animation - First of all, before testing PLEASE BACKUP YOUR DEVICE in TWRP, if it doesn't work and gives you a bootloop, then you will need a backup to restore your device. The alternative to this is just having another "working" boot animation to flash in TWRP to be able to boot up the device again. As I said, there are many copies of the "bootanimation.zip", so it took some time to determine which one to replace. It turns out that it was actually the standard "/system/media/bootanimation.zip" one that needed to be changed. This might seem like a no brainer to anyone who is familiar with making animations for Android, but until the images and everything else were properly formatted the animation wouldn't show anyway, so there was no way really to determine if the issue was due to a particular animation file being replaced or something else. Again though, this was the only device I've seen that keeps a copy of the "bootanimation.zip" in so many folders, so that was still a bit confusing to be sure. Anyhow, just navigate to your animation file in a root browser and move it into the "/system/media/" folder to replace the current animation. Make sure before you ever reboot though that you've changed your "bootanimation.zip" files permissions to "rw-r--r--" after copying it over or you will get a bootloop. Optionally too, you can save your original "bootanimation.zip" to a folder somewhere on your sdcard if you want to save it as an additional backup or you can just install my animation linked at the top of this post if you get stuck and can't boot.
NOTE: If you're making animations for Honor 8 devices with Nougat installed, then it appears they actually moved the location of the boot animation to "/cust_spec/media/", so you will want to put the image there. It's not confirmed yet though whether this is true for all Honor 8 devices with Nougat, but it has been confirmed for some. The US variant of the FRD-L04, build B162, Marshmallow, also stores it's animations in "/cust_spec/media/" however, so it can be a bit tricky. If you make a file for that and "/system/media/" as well though, then you should be covered. You can always check the OP of my animations page too(linked above) to see if there are any more updates on this.
-------
So there it is to the best of my knowledge. I hope this helps any of you that want to customize your boot animation on the Honor 8 to hopefully be able to do it relatively stress free. As usual, if you like this post or if you found it useful in some way, then please feel free to click the "THANKS" button on this post or even a mention on your animation thread when you finally upload it might be cool too. [emoji14]
Thank guys! Good luck.
NOTE: You may have noticed that I packed my animations(linked above) into a flashable zip, so people don't have to do it manually. If you need any help with this down the road, then just let me know on this thread. Also, I may go back through this thread at another time and attempt to make it more concise if possible. Thanks!

Categories

Resources