Bootup Sound -> Bootanimation -> Holy Crap! - Desire Android Development

So guys, I think together we can solve this mysterious bootup thing.
I found out that a custom bootupsound only plays with the original bootanimation.zip.
This is what I posted in the MoDaCo-Forums (running on MoDaCo-Rom. )
What we need is all here:
/system/customize/resource/
-> bootanimation.zip
-> android_audio.zip
Now I found out, only the HTC Bootupanimation works. I dunno how to build these ZIPs, I worked with HxD and found nothing in the ZIP-Header.
I think it is something with the desc.txt and the filenames of the PNGs.
This mean that:
desc.txt:
480 800 15
p 1 1 android
Filename:
wvga_htc_bootup_android_104f_15fps_005spf 01.png
wvga -> Screenresolution
htc -> yeah, you know.
bootup -> maybe its' there because it's in the bootupanimation? ;D
android -> folder, bootupanimation.zip has only the folder android -> look in the desc.txt above
104f -> Maybe Frames? I have only 78 Frames in the HTC-Bootup
15fps -> desc.txt -> the Frames per Seconds
005spf -> Dunno. SoundPerFile?
01 -> Frame. ...
Now I need help. I know: Other Bootanimations doesn't play sounds.
No Animations play sounds.
HTC Animation play a sound too.
Anyone build Bootanimations? Any Help? Maybe we can f*ck this file, and build awesome animations with SUPER GREAT SOUNDS.
€: After pushing the original cyanogenmod-Bootanimation-PNGs with new Name (them from the HTC-Bootanimation) it does nothing. Only a black screen.
With the desc.txt from HTC-Bootanimation pushing in the CY-Bootanimation plays, but comes with no sound.
It's a mysterious for me why the hell the HTC-Bootanimation plays this fkkn' Sound, and other Bootanimations not. God dammnit.

*bump*
Noone who ask the same?
I hope we work together on this.

Don't work to hard. The majority of users will (given the choice), opt for a silent boot.

Yeah, but why the we don't use the function to boot with Great / Funny / Awesome sounds?
Maybe a jumping Mario with synced sound? Or GLaDOS and a great animation?
That would be great, I think.
But ATM i'm stucked with this animation, mayber there is anywhere a secret value ... but I can't find it, what is different from the other bootanimanimations.

Related

[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] LG GT 540 bootanimation without bootsound

Hey Com.,
I use on my LG GT 540 the [ROM][Gingerbread] 2.3.7 | CyanogenMod 7 | SwiftDroid ASIS| Mur4ik but will change some things.
It´s a lot of to read here i do this,but i can´t go one step forward.
I can/have changed the bootanimation ,before there is misunderstanding not the original LG splashscreen where in the moment the screen from swiftdroid is. I have changed the bootanimation where the cyanogen 7 mod bootanimation is.So far is all good. But i will have a bootsound too with it. So i have read a lot and test too but nothing bring me on it. I can´t find any bootsound on me LG "How to´s" or "TUT´s" for under 2.3.7 doesn´t work because there is no folder for the bootsound and i know you must integrate the sound with the animation in your system. Find a lot of How to´s for ather Phones but nothing work. Hopefully anyone can help me.
To share here my progress with you I still tag on on what.
The link: http: // androidforums.com/ascend all ... animation.html or the file them you can load on the side like to me very well (the video looks at you simply). Strangely the boat animation also runs on the GT, however, here I must pronounce a Wahrnung. The AC (BA=Bootanimation " has to write out no leisure always ") is for a Huawei with Cyanogen 6MOD. How said she runs, however, you headline yours build.prop, init.local.rc, bootsound files if it is done after instructions (what one does because it should run). This becomes to you at the latest the disaster when her WLan needs. You can switch on it, it scans, then, however, no more and switches off itself again, also the repeated try nothing brings.
I have to circumscribe tried the init.local.rc file, however, has not succeeded me, there as on top described it must be further integrated in the system and there I have no plan from.
There is a possibility on his calculator to test his own AC also with sound, nevertheless, can not be stored whole. The Coder of the Proggis still does not know like this goes contact with Him has.
Here his tool: here is the tool
Here the TUT for it: TUT
The BA on top you find here: LCARS
Further I have tried with anhäangendem link in 1 post http://androidforums.com/lg-optimus-gt540/261469-change-your-boot-animation-d.html however, did not go as further on top described.
In search of BA's I have found them:Boat animation collection
If I are supposed to get further you from me hear.

[Q] Bootanimation

I'm working on some boot animations but running into a wall trying to add sound. Maybe I'm just overlooking something. Was wondering if anybody else might be trying this.
I tried pushing a bootanimation.bin that had sound enabled to /system/bin but got nothing but black screen.
I don't know if it's even possible. Any suggestions?
I was reading through the MIUI thread at:
http://forum.xda-developers.com/showthread.php?t=1424434
and on post #43 I saw:
http://www.youtube.com/watch?v=OqiX-If5w_4
which near the end (about 3:07 in) showed the bootanimation with sound.
I would think if you downloaded the rom and pulled out its bootanimation files you might get a hint about the syntax needed for the desc.txt file to play sounds.
I played with this idea on my phone (Moto Photon) and was able to play multiple sound files at specific points in the animation sequence.
----------------------------------------------------------------------------
EDIT: I got curious regarding this issue, so I downloaded MIUI, CM7, and stock .bin to see what I could discover...near as I can tell, MIUI is only one to include a sound file for bootanimation (if the others do, it is cleverly hidden somewhere other than /system/media/ or /system/media/audio/notifications/) and probably requires some system specific support for the call to play the sound file.
As I mentioned above regarding my phone, the sound file had to be in /audio/notifications/ but also had to have a line in the desc.txt file to call it that looked like this:
480 800 15
p 1 0 part0
s bootsound.mp3
with the last line indicating the specific sound file in notifications to play.
Bottom Line - Unless you are on MIUI I have little to add to help. (took me long enough to say that, didn't it?)
Thanks. Yeah I notice the same regarding all but the MIUI rom. Tried moving some files around for sound on cm7 now I got sound but no animation lol.
where did you put the sound file in CM...and did you have to reference it in the desc.txt?
Actually I took the bootanimation.bin from the miui build in /system/bin and moved it to the same dir on cm7. Since that calls the animation and sounds. I noticed in that bin file that it calls an audio file named bootaudio.mp3 from /system/media and it isn't listed in desc.txt.
So I just put the bootaudio.mp3 and bootanimation.zip from miui in /system/media with no reference to sound in desc.txt and it plays the sounds but no animation.
Maybe unpack the entire contents of the bootanimation.zip, check the desc.txt file with notepad++ to make sure there is a hard return at end of file and then repack everything with 7-zip with no compression (store mode I think). Maybe MIUI allows for compression in the bootanimation.zip file and CM doesn't. Also, you might try to get animation working without sound and then add that back in (although having the sound in there at least lets you know the boot is progressing...)
sorry for the slow reply...been out of town for a few days...if you have already solved this issue, I'd be curious to hear how.
So I now got sound and animation on CM7 thanks to NUNsLAUGHTER92 over at android forums.
Had to edit build.prop added line:
ro.config.play.bootsound=1
Also edited init.local.rc (located at /system/etc) added lines:
service bootsound /system/bin/bootsound
user media
group audio
disabled
oneshot
on property:init.svc.bootanim=running
start bootsound
on property:dev.bootcomplete=1
stop bootsound
Then downloaded this file called bootsound.txt and renamed it bootsound without .txt extention and place it in /system/bin.
Sound file goes in /data/local named android_audio.mp3. Audio is a little on the loud side but hey it works.
Thats a lot just for boot sound lol.
I've been messing around with boot but am not that creative and this device boots pretty fast so... small window. lol. I threw together this boot animation from "The Walking Dead" (love that show). Put bootanimation.zip in /system/media. Extract and put android_audio.mp3 in /data/local. Should have sound (on cm7) if followed the post above. Not the greatest by a long shot but its different.

[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

Is there any way to make a bootanimation landscape and with sound ? I have tried and tried to figure it out and can't get it to do either. Well in lollipop at least. I did have cloudy with a bootanimation but not landscape and it had sound. I am completely stumped. I have a certain theme I am doing with my device and to have the boot animation to be landscape and with sound would complete my project. Any help would be greatly appreciated.
★2SHAYNEZ★
shayneflashindaily said:
Is there any way to make a bootanimation landscape and with sound ? I have tried and tried to figure it out and can't get it to do either. Well in lollipop at least. I did have cloudy with a bootanimation but not landscape and it had sound. I am completely stumped. I have a certain theme I am doing with my device and to have the boot animation to be landscape and with sound would complete my project. Any help would be greatly appreciated.
★2SHAYNEZ★
Click to expand...
Click to collapse
I can't recall if I've installed a custom boot anim in L yet... I think I have. I hope I get your question.
But just create the animation content (foreground) rotated 90 degrees (landscape for the foreground), leaving the background OEM (height and width). It should run perfectly.
The sound file is a separate sound file (ogg)
JeffDC said:
I can't recall if I've installed a custom boot anim in L yet... I think I have. I hope I get your question.
But just create the animation content (foreground) rotated 90 degrees (landscape for the foreground), leaving the background OEM (height and width). It should run perfectly.
The sound file is a separate sound file (ogg)
Click to expand...
Click to collapse
How do you rotate it ? Do you do it within the zip ?
★2SHAYNEZ★
Effectively you are creating an animated 'gif', in a manner. If I take Photoshop as the example:
check out this as an example.
http://www.online-tech-tips.com/computer-tips/create-animated-gifs-images-using-photoshop-cs6/ or an editor of your choice.
and this guys tutorial
http://forums.androidcentral.com/ac...ions-collection-tutorial-updated-10-19-a.html
You will create you background at the resolution (1080 W x 1920 H shutdown animation, boot animation full HD 1440 W x 2560 H are common resolutions for the G3) you wish for the animation, say solid black or what ever.
If you fully create your own, you will first set up the resolution and make your background color, then rotate the base image. Then create layers for each frame/cell of your animation. As you already rotated you base image to landscape, your layers will also be in landscape. Then copy each cell into a layer.
Create the animation, save each frame out as a jpg, create the desc.txt file, and zip it up, install (renaming your OEM animation to save them, and set permissions 644.
Following the guys tutorial, you can download animations, and deconstruct them, using parts as you wish.
Good luck.
I'm making my own Mortal kombat bootamimation from new game coming out. I have it full screen with a boot animation tool I found but can get poweron.ogg to play sound upon boot on lollipop candy5 ... Placed it in system/media/audio/ui but it is a no go.... With so7nd it would be soooo sick.
But I'll check out the links you gave me so maybe I get get it I'm landscaped instead of this full screen portrait cause it does look a little wonky
★2SHAYNEZ★

Categories

Resources