I made a custom boot animation that works, but it plays once and does not loop. The desc.txt file has the proper formatting to loop, folder structure and zip method. I have the bootanimation.zip in two locations on the device memory: /system/media and /data/local

I have matched the permissions to the other files on both locations, however that still hasn't fixed it. Why is not looping like it's supposed to? When I restore the CyanogenMod animation it plays just fine.

UPDATE: Downloading boot animations from the XDA Forum worked just fine. I tried three. Mine are still refusing to work.

2 Answers
2

Create an animation script (text) file as desc.txt with the following content:

240 320 24
p 1 0 part0

Explanation:

In first line 240 320 24, 240320 is the device's resolution and 24 is the frames per second. Higher the number, faster the animation.

In second line p 1 0 part0, p is a code to tell it to look at new commands, 1 is the number of times the boot animation will play (0 means infinite), 0 is a code to tell it to pause. 0 means no pause, 10 means pause for 10 seconds - repeating or moving on to next line.
part0 is the foler in which your animation images are contained.

Could you please check whether fourth parameter is 0? If not set it to 0 for infinite loop.

I recreated the entire boot animation using Gimp and 7Zip and pushed it back to the device adb push /system/media/bootanimation.zip. It worked. For what ever reason creating it in Windows was not working.