yashsingh1/xdaforums huggingface dataset:
[Android Themes] despotovski01:
Yeah, sorry for the late reply, your previous post slipped from my hands. I guess you could run the script with an app such as Script Manager. And yeah, you just name a .mp3 "android_audio.mp3" and put it in /data/local/, and voila, it works! :)
[Android Themes] Hammerdroid:
Well, when I look at the script it looked like it had some extra directions and it. And I fail to understand where to edit out the directions from the actual script. Do I just download the text from the Dropbox file manager? Or do I have to edit the text file before I run it with the script manager?
[Android Themes] despotovski01:
You don't have to edit it. Just put it on your phone and execute it.
[Android Themes] Hammerdroid:
OK. So that complete .txt is is the script?
[Android Themes] despotovski01:
Yeah, but it's not a .txt file. It's a .sh file.
[Android Themes] Hammerdroid:
Alright. Thanks man! Sorry so many questions, lol.
[Android Themes] Hammerdroid:
Didn't work.

This is what I'm supposed to run?

>>>

#!/system/bin/sh

#I just made this into a script this was from a post on XDA by spiicytuna

#http://xdaforums.com/showpost.php?p=8274824&postcount=2

#Please give the credit to him not me.

#Setting up the system for read/write access

if [ "`ls /sbin|grep -q recovery;echo $?`" = "0" ];

then

mount -a > /dev/null

recoverymode=y

else

mount -o rw,remount /system

recoverymode=n

fi

#This is to create the needed scripts in init.local.rc

echo '' >> /system/etc/init.local.rc

echo '' >> /system/etc/init.local.rc

echo '###Bootsound - Safe to Delete: Start ###' >> /system/etc/init.local.rc

echo "" >> /system/etc/init.local.rc

echo 'service bootsound /system/bin/bootsound' >> /system/etc/init.local.rc

echo ' user media' >> /system/etc/init.local.rc

echo ' group audio' >> /system/etc/init.local.rc

echo ' disabled' >> /system/etc/init.local.rc

echo ' oneshot' >> /system/etc/init.local.rc

echo '' >> /system/etc/init.local.rc

echo 'on property:init.svc.bootanim=running # to correct timin' >> /system/etc/init.local.rc

echo ' start bootsound' >> /system/etc/init.local.rc

echo '' >> /system/etc/init.local.rc

echo 'on property:dev.bootcomplete=1' >> /system/etc/init.local.rc

echo ' stop bootsound' >> /system/etc/init.local.rc

echo '### Bootsound - Safe to Delete: End ###' >> /system/etc/init.local.rc

#Now creating the bootsound script

touch /system/bin/bootsound

echo '#!/system/bin/sh' >> /system/bin/bootsound

echo '' >> /system/bin/bootsound

echo 'bprop=/system/build.prop' >> /system/bin/bootsound

echo '' >> /system/bin/bootsound

echo 'play=$(cat $bprop | egrep -c -i -o ro.config.play.bootsound=1)' >> /system/bin/bootsound

echo 'if [ "$play" = "1" ]; then' >> /system/bin/bootsound

echo ' stagefright -a -o /system/media/android_audio.mp3' >> /system/bin/bootsound

echo 'fi' >> /system/bin/bootsound

echo 'exit 0' >> /system/bin/bootsound

#Changing some permissions

chmod 777 /system/bin/bootsound

chown root:shell /system/bin/bootsound

echo '' >> /system/build.pro

echo 'ro.config.play.bootsound=1' >> /system/build.prop

mount -o ro,remount /system

exit

<<<
[Android Themes] despotovski01:
Yeah, that's it.
[Android Themes] Hammerdroid:
I guess it's not supported in RhythmicRom. I pm'd awadiwad about it and he sent me here, figured that meant it was a go.

:(
[Android Themes] M_247:
when I'm trying to execute the script for sound, it says grep: not found... thereafter there is a bootsound file in specific folder and I placed the mp3 file with renaming it bu no sound on boot...

I searched and found that it may be due to absence of busybox... but I already have it...

please help...
[Android Themes] Bastaerd:
You have busybox but your busybox doesn't have a tool called grep. You could try messing around with stericssons busybox installer. Don't forget to make a nandroid.
[Android Themes] M_247:
okay... :angel:
[Android Themes] Japandler:
Receiving a Syntax error with the Sound sh

I'm not super Linux savvy, so maybe someone else can have a look.

Operating on the HTC One M7, looking to add sound to boot animation. receiving:

syntax error: 'if' unmatched

every time I try to install bootsnd. Any suggestions?
[Android Themes] rafabr4:
Nexus 7 animation

Hey thank you so much for this tutorial! I made a Nexus 7 animation, feel free to use it!

Preview

Here you go. It is 720 x 1280 at 30fps

View attachment 2075050
[Android Themes] iPav:
Nice animation rafabr!

Thanks for this tut, I just rooted my Note 2 a couple days ago and wanted to start making boot animations as well. I made one from a video but its too long that the phone just boots up anyway in the middle of it.

Is there any way to delay the boot up till the animation is over?

Is there a way to make it landscape mode? its currently a landscape animation but its really small and in portrait mode.

As an addition to the last question, maybe someone knows a program that can resize a set of images all at once rather than photoshopping each one hehe.

If I ever get this to work nice I'll post it up here :)
[Android Themes] Berrydroidcafe:
There's an app for that, but unfortunately I don't have my laptop with me, but in moments like this, just remember, Google is your friend! :)

Sent From My HTC G2 Which Lives On!
[Android Themes] iPav:
Well I did search for a way to change the forced portrait to landscape but I couldnt really find anything, although I probably wasnt searching the most ideal phrases.

Just wanted to mention in this post that the size of the animation was all in me typing in small dimensions in the text docu.. obviously. So that was an easy fix. Only mentioned the problem because I was posting anyway hehe.

Thanks for reading.
[Android Themes] Berrydroidcafe:
I needed a prog/app to resize a bunch of photos and I wish I can/could remember the name of it. Photo/resize should bring up a few options. I know it won't help, but the first name of the prog/app is Photo. Photo Sphere keeps popping in my head but don't think that's it. Might be similar.

Sent From My HTC G2 Which Lives On!
[Android Themes] SeemuRimu:
thx

great
[Android Themes] iPav:
Now all I have to do is find out how to rotate this to landscape mode and extend the boot time! Got busy but I think il finish it in 4 days. Its a one piece boot animation btw :laugh:
[Android Themes] serkaon:
Thanks for all yours help.

GT-I9300 cihazımdan Tapatalk 4 Beta ile gönderildi
[Android Themes] nerdAFK:
Landscape? Just rotate your images before you make the zip. :D
[Android Themes] despotovski01:
You can rotate and flip your boot animation with Boot Animation Factory. :)
[Android Themes] iPav:
and how would you extend the time for the phone to boot? is that even possible?
[Android Themes] despotovski01:
Clear cache and dalvik, but you probably wouldn't want to do that on every boot. :)
[Android Themes] Nidhal AKA the king:
and again, photoshop does the best multiple photo resizing... u can just do 10k of pics resizing in one click....

watch the tutorial in here :)

http://www.youtube.com/watch?v=pBXB9I4DlpE

;)
[Android Themes] jaredw444:
Dumb question sorry I have a already made boot image but wrong screen size can I change the photos thru this to work with my phone.?? I tried thru the desc.txt but maybe I just rezipped wrong

Thanks

Dee da dee
[Android Themes] Nidhal AKA the king:
well, of course, u can use photoshop to resize, modify. convert photos..etc, just watch the tutorial i posted..

and make sure to put ''Store'' in the compression method if you're using WINRAR or any other kind of archiving software...

save as .zip not .rar

u can also modify the resolution & fps (framePerSecond) in decs.txt (but always save a copy of ur original before u overwrite....

if u do that carefully ur bootanimation will work in ur phone properly :)
[Android Themes] jaredw444:
Thanks so when I rezip do I do anything special or just regular
[Android Themes] Nidhal AKA the king:
okay, i took a screenshot to show u how to compress a bootanimation...

follow the red arrows when you'd like to save ur bootanimation

1 the name

2 the compression extension

3 the compression method
[Android Themes] Stoetel:
No sound :(

Is there anyone with bootsound? Someone who worked it?

I have A Sony Xony Xperia J ST26i. I have a different boot animation. And followed each step for boot sound.

How to save the mp3 file? Mono Stereo? What bps? Which frequency?

Maybe someone knows the answer.
[Android Themes] pomaxelsson:
Can someone make this bootanimation work with sound?

It's for my Galaxy Gio, can't make it work.

Thanx ;)
[Android Themes] despotovski01:
I'm short on time right now, but if someone else wants to help, feel free. :)
[Android Themes] pomaxelsson:
I'm trying myself and the animation is great but no sound :(

and i'm using latest cm10-1-acegio by Maclaw.
[Android Themes] zmedhaug:
CM10 refuses to support boot animations!
[Android Themes] spotrevoc:
does this work with desc.txt?

Does the bootsound method work with sounds set in desc.txt within bootanimation.zip?
[Android Themes] despotovski01:
I don't think so. I might be wrong though, so try it. :)
[Android Themes] spotrevoc:
no boot sound with liquidsmooth

I'd rather not mess with init.rc if I don't have to.

For anyone interested, I tried replacing liquidsmooth's /system/bin/bootanimation binary with the stock android bootanimation binary but got some errors relating to missing libraries. Looks like liquidsmooth currently just doesn't have the ability to natively play boot sounds. Maybe in the future they will include support for boot sound in the ROM.
[Android Themes] Nidhal AKA the king:
hey!

i followed instructions carefully for the boot sound, and i got error, look at it the screenshot below!

can you figure this out and how i can solve it?
[Android Themes] despotovski01:
You need to mount the system as R/W before performing the operation.
[Android Themes] Nidhal AKA the king:
good answer, but i'm a bootanimation maker, so u don't think so that my system isn't mounted ;)

in my threads i always insist on users to check ROOT and SYSTEM MOUNT before throwing the bootanim in media folder... anyway! so, it's not about system mount!

as u saw the screen error i got, what it could be else except than what u thought?

thanks for help :)
[Android Themes] Robsworth:
I always get a laggy boot animation . can anyone help
[Android Themes] ganjar1989:
boot sound not working on jelly bean 4.3

is anyone can help me with boot sound on jelly bean 4.3?

i have try with anything but this is not working

my devices is

tilapia

i have try with like this

720 1280 30

p 1 0 part0

p 0 0 part1

s bootanim.mp3

and rebuild with winrar and compression method is zip and store

only animation that's working but sound is not...

how to make it's work?:crying:

thanks

:laugh:
[Android Themes] keifus.rahn:
*]Adding new boot animation using dsixda's Android Kitchen

1) Download and extract the bootanimation and samsungani file from Custom Booting.zip. http://www.mediafire.com/?giutirau5rkim51

2) Put them in the /system/bin folder and replace the existing files there

3) Now download any boot animation, and rename the bootanimation to “sanim.zip”.

4) Now, navigate to /system/media and replace the “ODEanim” with “sanim.zip”

You are done with the bootanimation change.
[Android Themes] ganjar1989:
Thanks Dude...

i will try it...

i will reported it back if this work or not...

:laugh:

Edited :

i have follow your instructions but my boot animation is blank screen and after that i'm going to home screen.

i have rename booanimation.zip to sanim.zip at system/media wiht permissions is rw-r-r, extract and moved samsungani and bootanimation to system/bin with permissions rw-rw-rw

if i'm run from terminal with samsungani, i got error found like this

CANNOT LINK EXECUTABLE: could not load library "libsurfaceflinger_client.so"

is anything else to try?

sorry for my bad english
[Android Themes] keifus.rahn:
Sorry that didnt work what device are you using ?

---------- Post added at 01:33 PM ---------- Previous post was at 01:01 PM ----------

Try This

Use Root Explorer and go to the folder /system/bin.

In that folder rename bootanimation (NO file extension) to bootanimationbak

Move the file to your sdcard where you keep your backups

Unzip bootanimationfile.zip and move the new file to the folder /system/bin

Poof! You're done. Now just install your bootanimation.zip file and .mp3 if you haven't already done so.

Here's the file,http://www.mediafire.com/?85fp0n22vrr4bru
[Android Themes] ganjar1989:
my device is tilapia

my rom AICP

My Kernel m-kernel a63.1.

i'm have extract from that link and i have 2 files, "bootanimation" and "samsungani" and i have copied that to system/bin and after reboot, my bootanimation is not working. only blank screen and after that,i'm directly to home screen. maybe another way to make it work?

sorry for my bad english

i have read from another thread about bootaudio on jellybean 4.3, it's say "no longer bootsound on CM10.2"

Edit :

still not work dude...

what permissions for system/bin/bootanimation ?

i have set it to rwxrwxrwx but still not working.

my booatanimation.zip location is system/media

in inside bootanimation.zip i have file and folder like this

part0 (folder)

part1 (folder)

desc.text

Nvidia_PowerOn.ogg

inside desc.text is

800 1280 30

p 1 0 part0

p 0 0 part1

s Nvidia_PowerOn.ogg

maybe is another way to make it's work?
[Android Themes] keifus.rahn:
I just upgraded to jb on one of my htc's and ran into the same and i found a app that fixed it its called "bootanimation tool pro" and now i have sound and boot animation. Directions when you open it you have three choices Movie,Anim and sound chose your boot anim isaved myn in temp on my SDcard then select your boot anim and hit the check mark and it will ask if you want to add hit ok it will tell you its set then go back and select sound and find a mp3 file that you want to use do the same a bootanim and you should be good to go im almost done editing a pretty sweet bootanim w sound ill share tomarrow

To create one is like this

"boot" Folder

part0

part01

part02

part03

and so on

When your done exstracting start with your last one like part03 right click cut and past into the boot folder keep going up till you get each one into the boot folder then select create bootanimation and select from folder and select the boot folder you should get a green check mark then hit add loop and when you get the first part click on that one and hit add loop and bam keep going till you run out
[Android Themes] ganjar1989:
Where can i find a application called "bootanimation tool pro" ?

may you give me an example for bootanimation that's has been created and working for you?
[Android Themes] despotovski01:
Link to Boot Animation Factory's thread :) : http://xdaforums.com/showthread.php?t=1678540 And here's a working boot animation example: http://goo.gl/1yUsGb
[Android Themes] Vorinth:
Gonna Make My Own Bootanimation

thanks for the stuffs.....u gave me inspiration to create my own bootanimation.... hopefully can work... :D
[Android Themes] Fedroid:
I'm trying to make a bootanimation with sound for my milestone 2 (	Engle_Mars KitKat (AOSP 4.4.2) 2013-12-12)

And I am not able to make sound working... I've tried everything... any hint?

Thanks in advance!
[Android Themes] despotovski01:
Well, the sound script is intended for older devices (<Android 2.3), so it probably won't work on KitKat. I haven't seen any other method for the new Android versions, but you may do a little research on Google. :)
[Android Themes] drtweak:
Got an issue here with the bootsnd.sh script. When ever i run it i get a

bootsnd.sh[7]: Santax error: "if" unmatched

I saw that one of the if's was fi and i changed it and ran it and same thing. Then i delete all the comment out and it gave me a

bootsnd.sh[1]: Santax error: "if" unmatched

and realized it was the very first if in the script. Any suggestions?

Droid Razr Maxx CM11 Nightly 1-1-2014. Already have boot animation (Stock Razr Animation) Just want to get the sound as well.
[Android Themes] HuKoJIaWa:
sound

On my RAZR XT910 installed MIUIv5 (3.9.20). I want to make the startup sound, but I have a problem with the terminal help.
[Android Themes] despotovski01:
I think it's due to that the script is outdated. It was intended for the old Android versions, and I think it doesn't work with Android 4+.
[Android Themes] HuKoJIaWa:
sound

Is it possible to run the startup sound on Android 4.x? Can you tell me another instruction?
[Android Themes] Berrydroidcafe:
Sent from my Nexus 7 (2013)
[Android Themes] jackielam1997:
I think it is cd /sdcard instead of cd/sdcard
[Android Themes] HuKoJIaWa:
sound

I typed "cd / sdcard", there is no error. But when you type "sh bootsnd.sh" error remains the same "But such file or directory"
[Android Themes] iHeymanth:
executed the shell script fine but still no sound for me. im on locked BL
[Android Themes] piyush95:
I already have the boot animation...with the correct resolution for my phone...but i want to remove the White flashes after each loop...

Xperia SL

CM11
[Android Themes] despotovski01:
You should probably unlock your bootloader then. I doubt it will work, 'cause it's really old and it was not reported to work on new smartphones.

Remove the Thumbs.db files in your animation.
[Android Themes] piyush95:
There is no Thumbs.db in it..?
[Android Themes] despotovski01:
Look for them in the folders containing the frames.
[Android Themes] iHeymanth:
i give up. i cant unlock my BL again n lose my BE2 now. im compromised :D
[Android Themes] piyush95:
Looked in both the folders...no Thumbs.db in it...?
[Android Themes] 200:
Can't restore or change

Guys, I got a strange (probably obvious) little problem on CM11 M3 on i9300:

0. CM default boot animation works

1. First of all, I backed up the original bootanimation.zip

2. Then, I created a new bootanimation.zip and added into /system/bin with correct permission: worked like a charm.

3. Next, created a new bootanimation.zip and replaced existing one: didn't work, instead the vanilla android green text logo animation showed up.

4. Re-applied the previous working zip: didn't work, still standard android persisted.

5. Restored the original backed up CM zip: still no luck, the android text animation is showed. :(

Now, whatever zip i add into system/media, i only see the standard android green text animation!??

EDIT:

I tried adb shell bootanimation and i see the green android text alright. Then, I copied the custom bootanimation.zip into /data/local instead and tried adb shell bootanimation, it shows the custom animation correctly. But when I reboot, it shows the same green android text animation.

I tried pushing via adb to /system/media too and the verified using adb shell bootanimation; correct custom animation is shown. But again, on reboot, the freaking green android text animation is shown instead! :(

Any ideas?

UPDATE:

Nevermind, fixed the issue by copying the original back to system/media and custom to data/local using adb shell:

su
mount -o remount,rw /system
cp /sdcard/download/cm/bootanimation.zip /system/media
cp /sdcard/download/bootanimation.zip /data/local
chmod 644 /system/media/bootanimation.zip
chmod 644 /data/local/bootanimation.zip
reboot

Though I still don't know where the android text animation was picked up and why the shell command fixed the problem even though I did the same using file manager.
[Android Themes] Shetty5:
Will it work on mdpi devices? If not, can you resize it??
[Android Themes] despotovski01:
Yes, it works for all devices.

The text animation is included in the Android framework. When there is no other boot animation to be played, the system plays the default animation.
[Android Themes] porkyhontas:
Is there any way of making a part1 to go along with part0? If there is, how? Thanks in advance.
[Android Themes] M4ST3R-V:
It is not compulsory that you need two folders part 0 & 1. You can merge up both in one single folder part0 then give it's loop as 0 for infinite times. :)
[Android Themes] cmdru1980:
I can't get sound to work with any bootanimation on custom ROMs including CM 10.1, 10.2 & 11. I got it to work on the 4.1 stock KB ROM but, any other ROM, nothing. That & I've had problems with the second folder not playing & 1 time there were white screen flashes between repititions. Any idea how to fix these? The sound is my main priority. Thanks.
[Android Themes] porkyhontas:
It sounds like your CM kernel doesn’t support sound. You may have to flash a different kernel, such as one of Ktoonsez's.
[Android Themes] cmdru1980:
Do you have a link by any chance? I'm a noob when it comes to messing with kernels. It wouldn't mess up the ROM would it?

Thanks for your help,

C
[Android Themes] :
been searching for the boot sound

thanks
[Android Themes] davidcafu412:
THANKS !!!!

[MENTION=3424769]despotovski01[/MENTION] ....Thanks Alot For This Tut...Cheers...
[Android Themes] Akorstayblessed:
My problem is how to design the pic with this app GIMP and Photoshop cs6

can any one help me with tutorial on it any software above :fingers-crossed:
[Android Themes] Skull23:
GT-S5301 Custom bootanimation.

hi, im new at this, can you or anyone help me to make my own WORKING bootanimation for my GT-S5301? Im still stuck at the picture conversion and the desc files configuration. need an step-by-step guide please.
[Android Themes] Skull23:
"Making my own bootanimations

Hallo. I'm totally new with this stuff, I used your guide to create my own bootanimations for my GT-S5301. And it's so easy. I just copied my current boot animi & used that #desc.txt file to see the settings. Viola !! Already got the hang of it. I did click on the thanks button but also have to say THANKS !!! For this helpfull guide. Now it's time for the boot sound. Oh & im using #PhotoScape to set the right width & hight for my pictures. Thats all, the rest I do on my device, also have win rar on my device and that works to zip the files. Only problem is that on my device I can't delete or even see the # thumbs.db file so I just do it via pc. Thanks again.
[Android Themes] terra.ce Jones:
downloading the sh file

How do I download the script so I can add sound
[Android Themes] samsung galaxy duos:
I can get the boot animation to load, however, when I try to run the script for adding the sound (sh bootsnd.sh) I get this:

bootsnd.sh[14]: grep: not found

No such user 'root:shell
[Android Themes] dennis4308:
thank you,nice app.

:o
[Android Themes] nirmalviper:
not helpful...

what is about miliseconds...