1
Froyo 2.2 ROM을 실행하는 드로 이드에서 부팅 애니메이션을 실행하기 위해 부팅시 사운드를 추가하려고 시도했습니다.Froyo 2.2 Droid에 부팅 사운드 추가
추가를
을 build.prop하는#!/system/bin/sh
#bootsound - plays a sound at boot
bprop=/system/build.prop
grepprop() { x=`grep "^$1=" $bprop | head -n 1`; echo $x | cut -d = -f 2; }
play=`grepprop "ro.config.play.bootsound"`
if [ "$play" = "1" ]; then
stagefright -a -o /system/media/android_audio.mp3
fi
exit 0
추가/시스템/bin에
###Bootsound - Safe to Delete: Start ###
service bootsound /system/bin/bootsound
user media
group audio
disabled
oneshot
on property:init.svc.bootanim=running # to correct timing
start bootsound
on property:dev.bootcomplete=1
stop bootsound
### Bootsound - Safe to Delete: End ###
만든 bootsound을 init.rc하기 :
이
내가 여기까지 시도한 것입니다### Safe to Delete: Start ###
ro.config.play.bootsound=1
### Safe to Delete: End ###
물론 android_audio.mp3 파일을/system/media에 추가했습니다.
행운을 빈다.
감사합니다.
당신이이 방법의 작업을보고 결국나요 현재 LG 옵티머스 블랙 (안드로이드 2.3 진저 브레드)를 사용하고 있습니다 ("다음"예상)의 끝 ? –