How to add boot up sound?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to add boot up sound?

1,146 Views
thomasdamgaard
Contributor II

Hi,

Does anyone have any experience in adding a boot-up sound?

Labels (4)
Tags (3)
0 Kudos
4 Replies

879 Views
LeonardoSandova
Specialist I

what do you mean by 'boot-up sound' :smileysad: ?

0 Kudos

879 Views
thomasdamgaard
Contributor II

We want to play a small tune while the boot animation is shown... :smileyhappy:

0 Kudos

879 Views
raymondwang
Senior Contributor I

Attached is an example in boot animation playing sound. Perhaps this help you.

879 Views
thomasdamgaard
Contributor II

Thanks! But added this to the init.rc:

service startupsound /system/bin/tinyplay /system/media/audio/ui/startupsound.wav

    user media

    group audio

    class main

    disabled

    oneshot

on property:init.svc.bootanim=running

    start startupsound

0 Kudos