I'm trying to delete a system file using the Android terminal (as my end goal is to put it in a run shell task in Tasker) and it either reboots my phone or just doesn't delete.
Long story short, I'm using the Weak Sauce root method, but I do not have S-Off as I like how easy it is to undo the Weak Sauce root alone. This means, of course, I don't have immediate RW access to system. So here's what I've done:
# mount -o rw,remount -t yaffs2 /dev/block/mmcblk0p46 /system # busybox rm -f /system/media/audio/ui/camera_click.ogg # mount -o ro,remount -t yaffs2 /dev/block/mmcblk0p46 /system
# chmod 777 /system/media/audio/ui/camera_click.ogg
What am I doing wrong?
PS: as for the "why" of deleting the shutter sound file, I take screenshots sometimes and the sound drives me nuts. I've tried removing the ogg file from the camera apk, but that didn't work after a reboot. I also tried replacing the ogg file with a silent one, but no success there either as the real one reloads itself when I restart.