[Q] Q about boot animation developpement [SOLVED]

Search This thread

misterantrios

New member
Sep 30, 2011
3
0
Hello!

I've made my first boot animation for my phone (atrix 4G)... But I still have a few problems. Maybe someone can help me?

First, when the phone is booting, my animation is displayed but only for a few second (maybe 2 or 3) before a black screen appears until the phone ended to boot (about 15/20 sec.). What I don't understand, is that the animation is normally during about 12 sec... First mistery! :)

The second one is that no sound is playing during the animation... But I put a .ogg file in system/media folder and entered the command line in the desc.txt file with the right name.

Here is what I have in my desc file:

540 960 25

p 0 0 JM
s JM.ogg

I don't understand where is the problem...

Thanks a lot if someone has an idea.. And sorry for my aproximative english! :)
 
Last edited:

Swiftks

Retired Forum Moderator
Mar 16, 2011
3,741
1,910
The Woodlands, TX
Hello!

I've made my first boot animation for my phone (atrix 4G)... But I still have a few problems. Maybe someone can help me?

First, when the phone is booting, my animation is displayed but only for a few second (maybe 2 or 3) before a black screen appears until the phone ended to boot (about 15/20 sec.). What I don't understand, is that the animation is normally during about 12 sec... First mistery! :)

The second one is that no sound is playing during the animation... But I put a .ogg file in system/media folder and entered the command line in the desc.txt file with the right name.

Here is what I have in my desc file:

540 960 25

p 0 0 JM
s JM.ogg

I don't understand where is the problem...

Thanks a lot if someone has an idea.. And sorry for my aproximative english! :)

For Gingerbread, the sound file has to be in /system/media/notifications

Sent from my MB860 using xda premium
 
  • Like
Reactions: misterantrios

thewarhawk

Senior Member
Feb 17, 2010
171
90
Dahlonega
could you post the zip? I don't see anything wrong with it, other than the previously mentioned fix for the sound, maybe I could find the problem with a more hands on approach
 

CaelanT

Senior Member
Mar 18, 2011
3,356
742
Sheffield
Samsung Galaxy S9+
OnePlus 9 Pro
I have had problems in the past when using upper case to name folders and audio files with boot animations. Never knew why I would have issues, but I always use lower case for everything now just as a matter of course. Also, as previously mentioned, you need to change the location of your audio file.

It may also be because you have only one animations folder. I have done a lot of boot animations, and always have a part0 and part1 folder and haven't had problems.

540 960 25
p 1 0 jm
s jm.ogg
p 0 0 jm2

How are you zipping the boot animations?
Should be using 7-Zip with format set to zip, and compression level set to store.
 

misterantrios

New member
Sep 30, 2011
3
0
First of all, thanks for the sound fix, it just works great in the right folder... :)

It may also be because you have only one animations folder. I have done a lot of boot animations, and always have a part0 and part1 folder and haven't had problems.

I tried to create two folders... Same issue...

My file is zipping with winrar, using "simple storage" mode. But if there were a problem with the zipping, I think the bootanimation shouldn't work at all. Mine is working... But for a few seconds only! :)

could you post the zip? I don't see anything wrong with it, other than the previously mentioned fix for the sound, maybe I could find the problem with a more hands on approach

A attached the zip if someone wants to take a look...
 

Attachments

  • JMbootanimation.zip
    5.3 MB · Views: 10

BravoMotorola

Senior Member
Oct 17, 2010
1,597
385
First of all, thanks for the sound fix, it just works great in the right folder... :)



I tried to create two folders... Same issue...

My file is zipping with winrar, using "simple storage" mode. But if there were a problem with the zipping, I think the bootanimation shouldn't work at all. Mine is working... But for a few seconds only! :)



A attached the zip if someone wants to take a look...

AFAIK the folders names that contain the main animation and the looping part must be named "part0" for main animation and "part1" for the loop. So not "JM" and "JM0" but "part0" and "part1". But I think your desc.txt goes along with the two folder names that you had, so maybe change it like a regular desc.txt that goes along with the folder names part0 and part1.
 
Last edited:

misterantrios

New member
Sep 30, 2011
3
0
Finally I used the original bootanimation folder from ATT and just put my images instead of the ATT's and it just work fine.

I can't understand what's the trouble with my file, but now it's working.

A attached the zip if someone wants to take a look...
AFAIK the folders names that contain the main animation and the looping part must be named "part0" for main animation and "part1" for the loop. So not "JM" and "JM0" but "part0" and "part1". But I think your desc.txt goes along with the two folder names that you had, so maybe change it like a regular desc.txt that goes along with the folder names part0 and part1.

I don't think this is the problem because in the original bootanimation, folders are named "ATT", "ATT Freeze", "Intro"... Not Part1, Part 2...

So, I'll put the tread in solved... even if it isn't really! Thanks for your help!
 

CaelanT

Senior Member
Mar 18, 2011
3,356
742
Sheffield
Samsung Galaxy S9+
OnePlus 9 Pro
Here is your bootanimation fixed and working fine. I just downloaded your animation, then changed some stuff around, rezipped with 7-Zip, and uploaded again.
Maybe looking at this will help you for the future.

Cheers!
 

Attachments

  • bootanimation.zip
    5.3 MB · Views: 32

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Hello!

    I've made my first boot animation for my phone (atrix 4G)... But I still have a few problems. Maybe someone can help me?

    First, when the phone is booting, my animation is displayed but only for a few second (maybe 2 or 3) before a black screen appears until the phone ended to boot (about 15/20 sec.). What I don't understand, is that the animation is normally during about 12 sec... First mistery! :)

    The second one is that no sound is playing during the animation... But I put a .ogg file in system/media folder and entered the command line in the desc.txt file with the right name.

    Here is what I have in my desc file:

    540 960 25

    p 0 0 JM
    s JM.ogg

    I don't understand where is the problem...

    Thanks a lot if someone has an idea.. And sorry for my aproximative english! :)

    For Gingerbread, the sound file has to be in /system/media/notifications

    Sent from my MB860 using xda premium