#!/system/bin/sh #I just made this into a script this was from a post on XDA by spiicytuna #http://forum.xda-developers.com/showpost.php?p=8274824&postcount=2 #Please give the credit to him not me. # This File is updated for Samsung Galaxy S I9000 only !!! # The Steps to do are the Same as in the original Post in XDA # It was testet on onecosmicīs RC 4 and run. # You need to change the Kernel, it was run with aktual Devil # Kernel Devil_15_vc_bln.zip # Beware, run this script only 1 Times !!!, it can destroy your # rom, so you must recover your System. # Special THX to Steffen Dietz for his support.!! # Have Fun #Setting up the system for read/write access busybox echo 'RW remount' busybox mount -o remount,rw /system #Edit build.prop busybox echo 'Write build.prop' busybox echo '' >> /system/build.prop busybox echo 'ro.config.play.bootsound=1' >> /system/build.prop #Create new file in /system/etc/init.d and change permissions busybox echo 'Write 99bootsound' busybox touch /system/etc/init.d/99bootsound busybox chmod 777 /system/etc/init.d/99bootsound busybox echo '#!/system/bin/sh' >> /system/etc/init.d/99bootsound busybox echo '' >> /system/etc/init.d/99bootsound busybox echo 'bprop=/system/build.prop' >> /system/etc/init.d/99bootsound busybox echo 'play=$(cat $bprop | egrep -c -i -o ro.config.play.bootsound=1)' >> /system/etc/init.d/99bootsound busybox echo 'if [ "$play" = "1" ]; then' >> /system/etc/init.d/99bootsound busybox echo ' stagefright -a -o /system/media/android_audio.mp3' >> /system/etc/init.d/99bootsound busybox echo 'fi' >> /system/etc/init.d/99bootsound busybox echo 'exit 0' >> /system/etc/init.d/99bootsound #Mount /system read-only busybox echo 'RO remount' busybox mount -o remount,ro /system busybox echo 'Finish' exit