Related
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.
Intro:
Another boot animation fix comin at ya. A TON of people want to know how to add and change sounds on custom boot animations on the Droid X2 and like all of them I could not find enough info on the world wide web that I could send a link to them to help out. SO after a little bit of messing around and some help from WugFresh I have the answer.
The apps:
First you will need a couple apps. You will need absolute system, root explorer and file converter. You can get them from the android market, just do a search for them. They're not free but if you know anything about root you probably already have root explorer and maybe even absolute system, but you will need file converter by ice cold apps.
The programs:
Again if you know anything or a decent amount about root you probably already have these programs but if not then download them. You will need 7Zip (preferably 7Zip) because as far as I know it is one of the only if not the only program that can zip files correctly WITHOUT compression which is mandatory because if there is any compression applied to the bootanimatiom.zip file OT WILL NOT WORK! You will also need either GVIM or Editor++ in order to properly edit the desc.txt file in the bootanimation.zip which we all know is what makes the boot animation work and if that is not configured correctly then, well, you're gonna be throwing things.
The method:
1.
Find the boot animation you want and download it using absolute system or from whatever source, whether it be from a forum thread or whatever. If you download it from a source other than absolute system you have to make sure before applying it you have to place it on the root of your sd card and make sure it is not named bootanimation.zip if there are other boot animations on your sd card because if they are named the same, obviously, they will overwrite eachother so name them however you want.
2.
Find the sound you want to use, it can be any sound file as long as it's short enough (or not) to play completely on boot. Download it, place it in your sd card and open the file converter app. Use file converter to find the file and once you've found and selected it select to convert it to .ogg. It MUST be converted to .ogg or it WILL NOT work. Once it is converted find the converted version ("sound".ogg or "whatever you named it".ogg) and use root explorer to move it to /sytem/media and leave it there for now.
3.
Plug your phone in to your computer, make sure USB debugging is enabled, and put your phone into USB mass storage mode once your phone is connected. Open up the files from your sd card on your computer and find the boot animation .zip you are going to change and move it to your computer. Next open up 7Zip and find the boot animation .zip file you just moved. Select the file and extract it to wherever you want to on your computer. Once you have extracted the .zip files with 7Zip go to the extracted files on your computer.
Note: (This next part will save the edited version as the orginal version so if you want to make a backup before you edit it just rename however you want or copy it into a separate folder named desc backup.)
4.
Right click on the extracted desc.txt file from the boot animation amd right click on it. Once you right click you will see an option that says either "edit with Editor++" or "edit with VIM" depending on which program you decided on (I prefer Editor++). Select the option and it will open up the desc.txt in your editor of choice. There may be a lost of guidelines in the desc.txt file for editing parts of the desc.txt but this is usually only in stock boot animations. Decide where you want the sound file to play and comment in the sound file you want to use by adding a line under the part you choose it to play at by typing "s 'sound'.ogg" DO NOT type what I wrote verbatim, the name 'sound' is just to give an example. Here is an example of a desc.txt file that has been edited to have sound:
(The red part is the sound line)
# 540 wide, 960 tall 10 frames per second
540 960 10
# p means we're defining a part
# first number is repeat count, 0 means infinite
# second number is delay in frames before performing the next part
# so if you are playing 15 frames a second 15 would be... one second
# string defines the directory to load files from
# files will be loaded in order but names don't matter
# s defines a sound for a part
# sounds will be loaded from /system/media
# oggs with loop points will loop automatically
# only one sound will play at a time
# timing is driven by the part, not the sounds
# if you want no sound, leave blank
# droid
p 1 0 01_droid
s Fusion.ogg
# fusion
p 1 0 02_fusion
# mobility
p 1 0 03_mobility
# loop
p 0 0 04_loop[/SIZE]
Click to expand...
Click to collapse
Notice the name of the sound in the desc.txt file is the same as the one I want to use. I hate to sound like I'm trying to make you feel stupid, which I am most definitely not, I just want to make sure this is detailed enough for anyone to follow.
4. Continued:
Once you have commented in the sound line, and you can add as many as you want just make sure you read the guidelines in the example desc.txt file above, save the file and exit your editor.
5. Open 7Zip and find the extracted boot animation files again with the edited desc.txt file. Make sure that the only files showing up in 7Zip are the boot animation files you extracted including the original desc.txt file that was edited and only that edited one, not the backup if you made one. In the menu bar on the 7Zip program click on "edit" and click on "select all" in the drop down menu that pops up. Next click "file" in the menu bar, move your cursor to the 7Zip option and when the drop down menu pops up click on "add to archive..." Then when the window pops up just change the name to whatever you want, select "zip" in the Archive format drop down menu, select "store" in the compression level drop down menu (you must select store or the boot animation .zip file you are creating will be compressed and as I mentioned above it won't work with compression) and then click "OK" to create the .zip file. Once it is created go ahead and move it onto the root of your sd card.
6. Unplug your phone from your computer and once the sd card is mounted open up absolute system. Go to boot animations and press menu and selct "boot animation editor." Press menu again and select "import from sd card." Find the boot animation you edited and slect it. Pres menu once it brings up the window with all the .png images and select "import" and when the window pops up prompting you to name the bootanimatiom just name it however you want and select "import." In order for the boot animation you edited to show up in your list of downloaded boot animations in absolute system you must first close absolute system and reopen it, go into boot animation editor again and it should be there. Select your edited boot animation and when it opens up the window with all the .png images press menu and select "desc.txt editor" which will open up the desc.txt file in absolute systems own editor. Scroll down untill you see the "s" line you commented in and press on it, this will open up a small window prompting you to choose the file from either /data/local or /system/media. Selct to choos from /system/media and there will be a list of .ogg files to choose from (if there are more than one you put in there). Select which one you want to play for that line. This is just to make sure the bootanimation.zip is using the right .ogg file and so your phone knows where to play it from on boot. You can change these if you want but you cannot comment lines in or out using absolute system. Once you have finished making changes or confirming the sound files press menu and select "save changes." Once it's done saving the changes press back.
NOTE: THIS NEXT PART IS VERY IMPORTANT AND MUST BE DONE EXACTLY AS I HAVE WRITTEN, IN THE EXACT SAME SEQUENCE I AM GIVING YOU.
7.Sorry for yelling hehe. Once absolute system is done saving the desc.txt file and you have pressed back to re-enter the .png images window in absolute system press home and open up root explorer. In root explorer go to /system/media where you placed your .ogg files and move them again into /system/media/audio/notifications and press home key again. Open absolute system and install the boot animation to /data/local by selecting change install location and selecting "/data/local" and reboot your phone. If the sound does not play, which it should, install the boot animation in BOTH /data/local AND /system/media using absolute system.
You should now have sound along with your boot animation. I hope you all have fun adding crazy sounds to your boot animations. The thanks button is always happy when you press it!
Awesome. The sound always gives me a hard time. Good job on this.
Sent from my DROID X2 using xda premium
Nice tutorial!
Sent from my Droid BionicX2 using my XDA App.
Thanks I was surprised and a little aggravated that there is no other instructional thread for this.
Sent from my DROID X2 using XDA Premium App
Thanks
Good Job on this tut. Im sure it will help others. You have my thanks, others should do the same.
Thanks a bunch I really appreciate it
SBF'd from my tasty X2 MAXX
Did all the steps to the t and still no sound
Sent from my SGH-T839 using xda premium
Thanks for sharing really usefull info
Hello..... Is this method still valid? Does it work with Android 4.0.4?
Kind regards.
will this method work on the Galaxy S4 SGH-M919?
i only want to change the sound,
i already changed the boot animation.
Great thread!!
But,will this work on a Nexus5?
Code:
640 400 30
c 1 30 part0
c 1 0 part1
c 0 0 part2
c 1 30 part3
c 1 0 part4
c 1 0 part5
My desc.txt file is shown like this!!
Where should i add the file name?? What if i insert my .gg file name at the last?
Does this method work for Huawei phones? Someone led me to this post. If so, sound isn't working for me. After every boot the 's name. ogg' tag gets removed. 'Boot animation' is 25 seconds and 'boot sound' is 19 seconds.
I want to play one bootsound throught the entire Bootanimation, please tell me how to do it. I have one sound that i want to play in 11 parts.
Thank you
Pls give me a link for absolute system.Cant find a place to download it?
adarshm4you said:
Pls give me a link for absolute system.Cant find a place to download it?
Click to expand...
Click to collapse
The directories being listed are referring to SYSTEM directories (hidden from user-land view). Your phone must be rooted (root access) first. I'd suggest you use a 'root file browser' afterwards.
The "Root Browser" application (unsure if its listed on Google Play at this time) is an excellent one to use. Simple and fast interface. Minor annoyance with banner ads (free copy).
Hope that helps you (albeit a late reply). These forums are a gold mine of information!
In reference to the OP:
Infantry667 said:
6. Unplug your phone from your computer and once the sd card is mounted open up absolute system. Go to boot animations and press menu and selct "boot animation editor."
Click to expand...
Click to collapse
It sounds as if you're referring to an application (I will Google it after this post) named "absolute system." It piqued my curiosity. You should be able to use adb strictly to push/pull all files onto the Android phone. I understand this thread was made in 2011. I can only assume times were different back then.
However: Why would you need or be required to place the "bootanimation.zip" (stored) and "XXX.ogg" into both the ./system/media and ./data/local directories? Does Android (for some unknown reason) pull two copies for security verification (stab in the dark)?
On this rooted LG K7 (Android 5.1.1): The ./system/media directory appears to be full of all related boot animation data and the latter is void of life; To reiterate: I understand this thread was from 2011 and the Android version was more than likely significantly lower.
If anyone could shine some light on this subject: I'd heavily appreciate it. I'm attempting to add in sound (a converted *.wav into *.ogg file) to the boot animation (no loop; Simply play it once).
Thank you, future poster.
ObliviousEnigma,
At this point, adding bootanimation zip to data/local will no longer be recognized by android 5.0+. Just /System/media.
Also, considering if you want to add sound to it, I noticed that you have an LG phone. It should be easier for you to change it if you are on a stock ROM. you must go into the directory /system/media/audio/ui. And inside you should find the file called PowerOn.ogg. That is what you want to replace if you want to have different sound along with your boot animation. My recommendation, make sure that the audio is atleast 7 seconds long. I tried to experiment past it and it didn't work for me no matter what phone I used.
For others who are still using the droid x2 but with a custom rom (other devices work too), First off, your best bet is to extract the bootanimation zip first. Secondly, if you want the sound to be played at the beginning, add the sound file to the part 0. Leave the sound file the way it is instead of converting it to .ogg, but make sure to rename it to audio.wav. There are 3 things to keep in mind before moving on:
1) the desc.txt is not required to change.
2) it seems that only a 7 second audio can be played. Any others more than 7 seconds will not play.
3) if there are other existing audio wav files inside any folder of the bootanimation (except the one you placed at), delete it.
Thirdly, once you are finished, rezip the file without compression, whatever app that you use to do it (I use the RAR app by Rarlabs). Fourth, drag the bootanimation.zip back into /System/media. If permissions need to be set, make it rwxr-r-. Lastly, reboot your phone to watch the magic happen!
How to add sound in bootanimation now
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
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.
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!