Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,736,958 Members 51,855 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Need help with a custom boot animation.

Tip us?
 
MintyMeatballs
Old
#1  
Junior Member - OP
Thanks Meter 2
Posts: 11
Join Date: Mar 2014
Question [Q] Need help with a custom boot animation.

Hi folks,

I need help in regards to a custom boot animation someone made for me.

Preview:



Here is the code for the desc.txt:
Quote:
600 600 25
p 0 0 part0
Basically, it runs through the animation once (without any edit) and then goes to a black screen until I hear the AT&T boot sound and then the UI shows up (Still have root and all).

I tried editing the desc.txt file for it to repeat on and on, but all I get in return is a black screen. Can anyone help?
I am running the US version the S3 with 4.3, rooted. TouchWiz (I know...) ROM with custom launcher.

I am assuming I may have to flash a custom ROM in order to get rid of the AT&T animation boot (in order to see my custom image all the way until the UI loads).

Can anyone please direct me in the correct direction? I would greatly appreciate that.

Thank you!
 
Greycloak42
Old
#2  
Greycloak42's Avatar
Senior Member
Thanks Meter 47
Posts: 293
Join Date: Feb 2011
When you edit the desc.txt it needs to be added back into the archive without compression otherwise it won't work. Try using WinRAR to add the edited file back in to the archive. In the options for zips there will be an option to add files without compression.
AT&T Samsung Galaxy S3 (i747)
Synergy ROM and KT747 JB kernel
 
MintyMeatballs
Old
(Last edited by MintyMeatballs; 17th March 2014 at 08:22 PM.)
#3  
Junior Member - OP
Thanks Meter 2
Posts: 11
Join Date: Mar 2014
Quote:
Originally Posted by Greycloak42 View Post
When you edit the desc.txt it needs to be added back into the archive without compression otherwise it won't work. Try using WinRAR to add the edited file back in to the archive. In the options for zips there will be an option to add files without compression.
I'll give that a shot. Would that fix the black screen? Because I do see part of the animation until the moment the AT&T loading GIF appears

EDIT: I think it has something to do with the .zip file.

I have the original file here:
http://www.mediafire.com/download/9g...tanimation.zip

I extracted everything and edited the "desc.txt" file for it to repeat indefinitely, then I used WinZip to archive it back up (no compression) but still no avail.
 
Greycloak42
Old
#4  
Greycloak42's Avatar
Senior Member
Thanks Meter 47
Posts: 293
Join Date: Feb 2011
I'll check it out tomorrow and see if i can get it working. Have you been able to get other boot animations to function properly?
AT&T Samsung Galaxy S3 (i747)
Synergy ROM and KT747 JB kernel
 
MintyMeatballs
Old
(Last edited by MintyMeatballs; 19th March 2014 at 12:41 AM.)
#5  
Junior Member - OP
Thanks Meter 2
Posts: 11
Join Date: Mar 2014
Quote:
Originally Posted by Greycloak42 View Post
I'll check it out tomorrow and see if i can get it working. Have you been able to get other boot animations to function properly?
Yup! I used an app called "Boot Box" or "Boot Animations" (one of those two, the proper escapes me at the moment).

I asked a friend for his advice, and he suggested that I try coping the part0 folder into part1, and have part1 loop rather part0. Taking a look at other boot animations, that seems to be the right way.

Let me know if you come across any other findings!

EDIT: Tried that, didn't seem to work...perhaps I'm doing something wrong. I'm not compressing the .zip however, so it must be something else...

EDIT 2: So I renamed the images in the part1 folder leaving off from where the part0 left off (part0 ended at img0062, so I started the images in part1 as img0063 and so on). Now I only see the part0 sequence and part1 is a black screen.

EDIT 3: This is the link of my .zip file: https://www.dropbox.com/sh/7sihrhzeh...tanimation.zip
 
laughingT
Old
(Last edited by laughingT; 19th March 2014 at 05:32 AM.)
#6  
laughingT's Avatar
Senior Member
Thanks Meter 461
Posts: 616
Join Date: Oct 2011
Location: Oakland, CA

 
DONATE TO ME
Quote:
Originally Posted by MintyMeatballs View Post
Samsung stock roms generally animations with a proprietary animation package that uses *.qmg files. It sounds like your rom still has some of the qmg files??

The text from thedesc.txt file in bootanimation.zip file, which has two parts, 48 images each, in CM10.2.1 is
720 720 48
p 1 0 part0
p 0 0 part1


The second part, 'part1' is the part that loops and its 48 images are in a part1 subfolder.

The bootanimation.zip that you posted has 63 images. Why does the description text only have a 20 after the 600 600 if you have 63, not twenty images? I think this is a better bet for desc.txt content:

600 600 63
p 0 part0

For 4.3, you could use your bootanimation.zip file with CM 10.2.1, which is the stable Cyanogenmod rom for Jelly Bean 4.3. If you have an AT&T Galaxy S3, then you can find the rom as device d2att at

http://download.cyanogenmod.org/?dev...tt&type=stable

flash it with TWRP or CWM recovery.
SGH-I747 (AT&T Galaxy S III, August 2013 build date),
Firmware: CM 10.2.1-d2att, with stock 4.3 modem: I747UCUEMJB.
 
MintyMeatballs
Old
#7  
Junior Member - OP
Thanks Meter 2
Posts: 11
Join Date: Mar 2014
Quote:
Originally Posted by laughingT View Post
Samsung stock roms generally animations with a proprietary animation package that uses *.qmg files. It sounds like your rom still has some of the qmg files??

The text from thedesc.txt file in bootanimation.zip file, which has two parts, 48 images each, in CM10.2.1 is
720 720 48
p 1 0 part0
p 0 0 part1


The second part, 'part1' is the part that loops and its 48 images are in a part1 subfolder.

The bootanimation.zip that you posted has 63 images. Why does the description text only have a 20 after the 600 600 if you have 63, not twenty images? I think this is a better bet for desc.txt content:

600 600 63
p 0 part0
The third part is actually the frames per second. It is usually recommended to have it around 15-25 FPS. I could give it a shot though...

I already flashed a CWM .zip that enables animations like these, and I have also successfully installed animations via Boot Animations (animations repeats successfully until UI shows up). So I feel like this animation specifically is the problem. I'm just not sure...
The Following User Says Thank You to MintyMeatballs For This Useful Post: [ Click to Expand ]
 
laughingT
Old
#8  
laughingT's Avatar
Senior Member
Thanks Meter 461
Posts: 616
Join Date: Oct 2011
Location: Oakland, CA

 
DONATE TO ME
Thanks, I was confused about syntax for desc.txt

The xda tutorial mentions some rules for png images. Specifically, no interlacing.
http://forum.xda-developers.com/show....php?t=1560836

Could that or some property of the png be the issue? Also, zip compression is off, just STORE when making the zip.

Sent from my SAMSUNG-SGH-I747 using xda app-developers app
SGH-I747 (AT&T Galaxy S III, August 2013 build date),
Firmware: CM 10.2.1-d2att, with stock 4.3 modem: I747UCUEMJB.
 
MintyMeatballs
Old
#9  
Junior Member - OP
Thanks Meter 2
Posts: 11
Join Date: Mar 2014
Quote:
Originally Posted by laughingT View Post
Thanks, I was confused about syntax for desc.txt

The xda tutorial mentions some rules for png images. Specifically, no interlacing.
http://forum.xda-developers.com/show....php?t=1560836

Could that or some property of the png be the issue? Also, zip compression is off, just STORE when making the zip.

Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Hmm. I'll take a look into that. It may be the png, but the thing is, it goes through one part of the animation then stops.

Was there something actually wrong with my .zip, or were you just mentioning that? I'm pretty sure I hit "no compression" on WinZip...
 
laughingT
Old
#10  
laughingT's Avatar
Senior Member
Thanks Meter 461
Posts: 616
Join Date: Oct 2011
Location: Oakland, CA

 
DONATE TO ME
Nothing wrong with your zip afaik. 7zip shows no compression.

Sent from my SAMSUNG-SGH-I747 using xda app-developers app

---------- Post added at 04:50 AM ---------- Previous post was at 04:48 AM ----------

What is the complete ROM and flashed mods that you are running?

Sent from my SAMSUNG-SGH-I747 using xda app-developers app
SGH-I747 (AT&T Galaxy S III, August 2013 build date),
Firmware: CM 10.2.1-d2att, with stock 4.3 modem: I747UCUEMJB.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes