In this answer to a question I asked a while ago, he said it's possible to have a script executed every boot.
I created a file (without extension) that contains the following:
#!/system/bin/sh
busybox mount -o bind /emmc/Android/data/com.google.android.music/ /sdcard/Android/data/com.google.android.music/
I made sure the target folder exists and saved the file to /system/etc/init.d
, but in fact it looks like the script isn't executed.
P.S. the script file's properties are: -rwxr-xr-x
.
init.d
directory. There needs to be explicit support from the startup scripts for that. I’d need to look at an actual Android device boot process to say how/where, though, can’t do that right now. – mirabilos Mar 6 '14 at 10:18