Does android 13 break bootanimation? - General Questions and Answers

hello! i think android 13 has a bug with bootanimation, i will explain better.
i found a gif that i liked a lot, and i wanted it as bootanimation, everything went well, except for the fact that android doesn't execute the instructions i write in "desc.txt",
1080 2400 30
c 0 0 part0
c 1 100 part1
I would like that after the bootanimation completes, the screen remains black for 3-5 seconds, that's why I put "c 1 100 part1", in fact, this happens in android 11/12, but it doesn't happen in android 13, it seems that android 13 doesn't take into account the instructions to delay the animation, I tried other bootanimations not made by me, and the problem remains.
i used two different devices
Redmi Note 10 PRO / AlphaDroid 13
Mi A2 Android11/12
I am attaching the bootanimation.

Related

Seamless Bootanimaton??

Does anyone know how I can make my animation seamless? What I mean is some of my animations are set up so I use the following;
480 800 10
p 0 1 part0 or
480 800 10
p 1 1 part0
p 1 1 part0 etc..
yet it flashes a white or dark screen at the end of the loop.
Is there a way that I can get it to loop without the flashing white screen?
*Edit I have attached a Call of Duty MW2 in landscape orientation for reference.
should look like this.
480 800 10
p 1 0 part0
p 0 0 part1
the second 0 , before the folder is a time out/pause.
if you want audio, you should change your folder names.
instead of part0, rename it to android, the second folder really shouldnt matter.
so it should look like this..
Code:
480 800 10
p 1 0 android
p 0 0 loop
'480' is the width of the animation
'800' is the height of the animation
'10' is the desired fps of the animation
'p' defines a animation part
'1' how many times this animation part loops
'0' defines a pause (max 10)
'android' is the folder name where the animation images are
'p' defines another animation part
'0' defines that it loops forever (until android starts)
'0' defines a pause
'loop' is the folder for the second animation part.
i did notice a few of my animations had different filenames within each folder.
this caused my animation to have a pause inbetween the first folder and the loop folder.
make sure your images have the same name layout throughout the folders.
android folder:
name_00003.png
name_00004.png
name_00009.png
name_00010.png
loop folder:
name_00013.png
name_00014.png
name_00015.png
name_00020.png
this helped out.
Thanks for responding but I know how to setup desc files. Unfortunately that doesn't help out because my desc file is setup like that. (in my first post it didn't type it out as such) I have attached a copy of a boot if that helps any it's a Call of Duty MW2 in landscape orientation.
This one instead of flashing white flashes dark. I want it to be seamless without any breaks. Any ideas?
here ya go
your desc.txt file was all wrong
Thank you I appreciate it.

[Q] how do i make boot animation from avi?

i found the coolest thing ever, its avi and almost a minute long. i really want it to become my boot animation, i really dont have any idea how to do it. does anyone have any suggestions for how to get this done? ps - the avi has audio too, and that would be even more awesome to include.
You can create a boot animation from any type of video format even if the format is in flash (swf) what you need is a programs that convert videos to either. Jpg or. PNG file (boot animation can be done using only those two formats) ..... about adding sound to your animation yo need to know if the ROM you are running right now is capable to do audio @ boot if not you wont be able to make it work with sound.
Send from My Draken X
Okay thanks, I'm on it.
only .png picture files
Not sure this is right, I have saved the sequence as jpg images - 1418 of them - to a folder size of 58.4 mb with each image sized 704 X 400. Do they need to match droid x screen size to fill screen? And does my desc.txt really have to be 1418 plus lines? is there an easier way?
Thanks for any help with this, if I can do it I will post it so others might decide to use it.
mattmartin77 said:
only .png picture files
Click to expand...
Click to collapse
Wait, what?
the desc.txt file will have max prob 5 lines
my custom boot animation txt looks like this exactly, but yours would prob be a little different
480 480 15
p 1 0 part0
p 0 0 part1
(480 is the width/height; 15 is the fps; 1= #of times that part loops, 0= not freeze on last image of fps unlike the liberty boot animation which would have a 10)
part0 is a folder that contains the images that would be the non looping part, and part1 is the looping pictures folder
the .png is the file extension of the pictures
mattmartin77 said:
the desc.txt file will have max prob 5 lines
my custom boot animation txt looks like this exactly
480 480 15
p 1 0 part0
p 0 0 part1
(480 is the width/height; 15 is the fps; 1= #of times that part loops, 0= not freeze on last image of fps unlike the liberty boot animation which would have a 10)
Click to expand...
Click to collapse
OH okay I get it. Can the fps be higher? Like 25? And can it not loop? It's like a minute long.
Does the phone start after the boot or when its ready? Like if the boot animation was too long would the phone start without showing it all? And do jpg files not work?
mattmartin77 said:
only .png picture files
Click to expand...
Click to collapse
.jpg format works as well, that what i use to make mine animations
marculous said:
Not sure this is right, I have saved the sequence as jpg images - 1418 of them - to a folder size of 58.4 mb with each image sized 704 X 400. Do they need to match droid x screen size to fill screen? And does my desc.txt really have to be 1418 plus lines? is there an easier way?
Thanks for any help with this, if I can do it I will post it so others might decide to use it.
Click to expand...
Click to collapse
no you dont have to add 1418 of lines create , download one of mine bootanimation and decompress the zip file you see how they work... plus DO NOT USE the NOTEPAD from windows (dont know way but android doesnt like .txt created by this notepad) and download notepad++ from here [url="http://notepad-plus-plus.org/release/5.8.7]Notepad++ (Free)[/url] use that notepad to modified the desc.txt
Okay I think I can do that, going to tackle it after a break.
Okay can't get it to work right. Only plays 2 of the 20 folders, and its choppy. Changed the frame rate to 50 because it played slow. Desc.txt looks like
480 854 50
p 1 0 part0
p 1 0 part1
etc on up to part20
And when it played the aspect ratio was jacked up.
Tried four times.
marculous said:
Okay can't get it to work right. Only plays 2 of the 20 folders, and its choppy. Changed the frame rate to 50 because it played slow. Desc.txt looks like
480 854 50
p 1 0 part0
p 1 0 part1
etc on up to part20
And when it played the aspect ratio was jacked up.
Tried four times.
Click to expand...
Click to collapse
1450 frames is way to much for a Boot Animation (sorry if i didn't mention that before) max i have run is 390 frames @ 120 an still running very tide to the end, i dont know what app are you using to create you frames but if that app give you the options to make for sample 500 frames out of the clip you have that will be better....from there you can start your testing stage and deleted as many necessary frames to make your animation run smooth
P.S. you don't need to create 20 folders for your animation 1 folder is enought for it, 2 folders is more likely when the 2nd folder contains a loop of the animation in question
draken78 said:
1450 frames is way to much for a Boot Animation (sorry if i didn't mention that before) max i have run is 390 frames @ 120 an still running very tide to the end, i dont know what app are you using to create you frames but if that app give you the options to make for sample 500 frames out of the clip you have that will be better....from there you can start your testing stage and deleted as many necessary frames to make your animation run smooth
P.S. you don't need to create 20 folders for your animation 1 folder is enought for it, 2 folders is more likely when the 2nd folder contains a loop of the animation in question
Click to expand...
Click to collapse
Oh. Crap. I read a thread said no more than 3mb per folder. The thing is, I didn't want to loop it.
Let me try this,
Can I make a boot animation that's close to a minute long with an avi as the source, have it play full screen with audio and look good? And if not, how close to what I want can I get?
I'm on apex 1.4.1 and I used avidemux 2.5 to make jpegs from the avi selection.
marculous said:
Oh. Crap. I read a thread said no more than 3mb per folder. The thing is, I didn't want to loop it.
Let me try this,
Can I make a boot animation that's close to a minute long with an avi as the source, have it play full screen with audio and look good? And if not, how close to what I want can I get?
I'm on apex 1.4.1 and I used avidemux 2.5 to make jpegs from the avi selection.
Click to expand...
Click to collapse
actually that really doesnt matter cuz i have some animation over 10 MB in a single folder and still working like a charm.....well like i said 2 folders is more like doing a loop out of one of them, having an AVI as boot animation that will be sweet is Google implement that feature in near future on Android using avi, mpg2 or mp4 as boot animation.
i heard (not sure) that Apex CAN run Boot animation with, i have no way to test it cuz im Running Liberty 1.5 (1.75 very soon) ....
P.S. if you want i can help you out with your animation just send me the Link of the video and ill create one and you can have that one as a reference for future animation of yours
well you can have it be a minute long if you want, but i think that is a long time personally, my custom one is pushing 15 seconds and i think it is long. i was told audio doesnt work on liberty rom. the audio must be named "Android_Audio.mp3" without quotes. it is going to be in the same folder on your phone where the bootanimation.zip is kept, /data/local make sure that the audio file is not in the .zip. the desc must contain a line that says "part 0 1 android" also without quotes. btw 1400 frames is not at all recommendable
draken78 said:
actually that really doesnt matter cuz i have some animation over 10 MB in a single folder and still working like a charm.....well like i said 2 folders is more like doing a loop out of one of them, having an AVI as boot animation that will be sweet is Google implement that feature in near future on Android using avi, mpg2 or mp4 as boot animation.
i heard (not sure) that Apex CAN run Boot animation with, i have no way to test it cuz im Running Liberty 1.5 (1.75 very soon) ....
P.S. if you want i can help you out with your animation just send me the Link of the video and ill create one and you can have that one as a reference for future animation of yours
Click to expand...
Click to collapse
I know apex can run audio at boot, 1.4.1 boots with the thx sound playing. I will send you a link later this evening with the avi. And thanks.
mattmartin77 said:
well you can have it be a minute long if you want, but i think that is a long time personally, my custom one is pushing 15 seconds and i think it is long. i was told audio doesnt work on liberty rom. the audio must be named "Android_Audio.mp3" without quotes. it is going to be in the same folder on your phone where the bootanimation.zip is kept, /data/local make sure that the audio file is not in the .zip. the desc must contain a line that says "part 0 1 android" also without quotes. btw 1400 frames is not at all recommendable
Click to expand...
Click to collapse
I could go with it being shorter, and it doesn't have to include audio, but I know it can.

[Q] Issues with boot animations (need a themer's advice)

Hey guys, I have been creating some custom boot animations, and particularly the one located in my signature (revolver 4 boot animation) has some quirkiness to it..
It seems to want to stop playing on a certain image (around 57 of 69 images, something like that). I have checked;
My desc.txt file (all is in order and even swapped out some known-working files as a test, only modifying the resolution/fps line)
The image names and sizes (no numbers skipped/duplicated, no anomalies, all images around the same size of 47KB, all filenames are 5 characters, all PNG format)
I even copied the part0 folder and renamed it part1 and added a part1 line to the desc.txt file to allow it to change to try and get it to loop, it will loop the first 'part0' folder (even playing the images that are usually cut off) but as soon as it reaches part1, it hits the 57th (or whichever file it is) and goes blank..
I am using VIM to edit text and 7zip to pack the files, though that would seem to be OK since if either one was a problem the animation wouldn't play to begin with..the file is in my signature if anyone wants to play around with it and help me out. I can't seem to figure out what the main problem is- so the compromise is either have part1 folder, and/or loop the part0 a few times (haven't even tried but suspect it will go blank on first repeated loop), or have part1 added, add a part 2, etc. to allow it to loop (or just add another 'p1 0 part0' in the desc.txt). And btw, I have tried;
Code:
800 700 20
p0 0 part0
It won't play but once, even though the first 0 is by all accounts supposed to make it loop indefinitely..so, I'm at a loss.
Any help would be greatly appreciated.
I am having a pretty big problem with bootanimations as well but mine will not even run once. Super frustrating. Even when i take a working boot animation and swap out the photos with the same resolution it does not work.
There is something funny about bootanimations- I think you have to use the store function, so that it isn't compressed. Also, maybe the old fashion zip would be compatible- 7zip might not be? Isn't that a windows thing?
gee one said:
There is something funny about bootanimations- I think you have to use the store function, so that it isn't compressed. Also, maybe the old fashion zip would be compatible- 7zip might not be? Isn't that a windows thing?
Click to expand...
Click to collapse
Using WinRar and Store... Probably something to do with the depth of the pictures or the encoding on them
The red flags are flying- It has the same first letters as windows and it's not open source.
Try taking a working bootanimation and re-arranging/re-numbering the images. If it works, then it's your images. If it doesn't, go open source.
gee one said:
The red flags are flying- It has the same first letters as windows and it's not open source.
Try taking a working bootanimation and re-arranging/re-numbering the images. If it works, then it's your images. If it doesn't, go open source.
Click to expand...
Click to collapse
i got it i forgot to flatten my images in photoshop. i feel a little stupid
This is the first issue I've had with it..t may be that I converted the mages from an animated GIF into several frames and then n photoshop saved them as PNGs, but I have other animations that I have created that run fine;
You do need a unix-friendly notepad, like notepad++ or VIM, and yes I pack the files so that they are simply stored; like I said, they play, they just don't finish the animation cycle..and I have heard that there is a limit to how many files can be in a folder, but that it was well-above 70..I have 69..so should not be an issue. Anyone tried my boot animation? It still plays and looks cool, but doesn't loop like it should.
Hey luna this might help its the desc file i used to finally get mine working
Code:
1280 800 20
p1 0 part0
p0 0 part1
mrevankyle said:
Hey luna this might help its the desc file i used to finally get mine working
Code:
1280 800 20
p1 0 part0
p0 0 part1
Click to expand...
Click to collapse
The code means;
1280 800 20
This is resolution (w x h) and the fps (how many images cycle per second)
p1 0 part0
p1= play once (p5 would be play 5x, p0 is play indefinitely), 0 = 0ms delay between initiation and first image and part0 is the folder for the images..
My problem is this; my image files are 800 x 700 and play at 29fps, so first line is obvious- 800 700 29
second line is p0 0 part0, where the image is supposed to run indefinitely. It does not though. It runs once if I use 'p1 0 part0', but does not play all the way through. Yet if the desc file were not right at all, it wouldn't play it would be blank. So I have the desc file compiled, properly otherwise the image in part0 would not even play..the problem is the images do not fully cycle..I appreciate your help but it seems I know more about these files than you do (no offense mate)..I need to figure out why the settings do not run indefinitely until boot, and does not even finish the animation completely..but plays and then goes blank halfway through it...
But when I put a duplicate folder, part1, with the same animation images, and add 'p0 0 part1' to the desc file, the FIRST animation WILL play all the way through, then the second one crashes it..
Android is funny about some things, folder hierarchy, capitalization and folder name structure, file size and compression ratio, etc..I can't seem to figure out why one of my animation images seems to crash the animation altogether..halfway through.
you probobly do know more than me about it as this is the first boot animation i have worked on. Bud i did know what everything in the code meant. And i have looked at quite a few boot animaions in the last few days. It seems to me that the standard workaround is that if you put only the first frame in part 0 with "p1 0 part0" then everything else in part1 with "p0 0 part1" it may fix it.
mrevankyle said:
you probobly do know more than me about it as this is the first boot animation i have worked on. Bud i did know what everything in the code meant. And i have looked at quite a few boot animaions in the last few days. It seems to me that the standard workaround is that if you put only the first frame in part 0 with "p1 0 part0" then everything else in part1 with "p0 0 part1" it may fix it.
Click to expand...
Click to collapse
Good idea...I am going to give it a shot, one thing I have not tried yet is splitting the part0 folder up into multiple folders, I have some doubts that will work but at this point it is worth trying I'll let you know if it solves the issue.
EDIT:
Nope...couldn't even get that one to play at all..and now for some reason my desc.txt file isn't working, I even created one from scratch in VIM and it would not work..blanks screen now. WTF..this should not be this tricky..
png software
could anyone tell me what software I can use to convert a gif animation into a series of png files. I have tried a few freeware converters but not had any luck, or even better a program that can convert any video file into a series of png's so I can skip the gif altogether?

bootanimation loop question

i have no experience with android beyond the rooting and flashing of devices, i have had experience with java programing (basic knowledge of the language long time ago) so i understand some programing basics.
anywho; i have successfully created and modified a few bootanimation.zip files but im curious if there is away to have a bootanimation that responds based on the loading progress of the phone.
a simple example of what i would expect the desc.txt file to look like:
480 800 30
p 1 0 part0
if x = true, then p 1 0 part1
if x = true, then p 1 0 part2
..ect
p 0 0 part3
where "x" would specify the load sequence has not completed or ideally where "x" returns a % of how far along the load is in which something to the effect of
if x = < 25% then p 1 0 part1
if X = > 25% then p 1 0 part2
ect
in my currant sequence i simply have
p 1 0 part0
p 0 0 part1
where part0 is a long sequence and part1 is a short sequence that loops until the the phone finishes its boot.
P.S. i supose ive missed an important question; if the length of time of the partX exceeds the length of time needed to boot will it be interrupted or will the phone allow the animation to complete the cycle before it continues?

[HELP]-BootAnimations

I want to create my own boot animation , i created one with bootanimation factory but it's useless. The Boot animation is attached below , some help to make it perfect?
desc.txt:
1st line: 400 400 30 means that you screen resolution is 400 x 400 pixels. Do you have a blackberry device?
2nd line: p 2 0 part0 means that your png files will be played twice only. Why not use 0 instead of 2?
Finally all your png files (except the first one) have a transparent border? Why?

Categories

Resources