I'm trying to mount USB storage from terminal. I'm using "Terminal Emulator" app. I'm trying to use following commands to mount USB:
mount -t vfat -o rw /dev/block/sd* /storage/usb1
su mount -t vfat -o rw /dev/block/sd* /storage/usb1
I'm getting "permission denied" message. I tried different su binaries. One of them is: http://e2e.ti.com/support/embedded/android/f/509/t/279726.aspx
The shell command which I'm using is working in adb. But I have to execute it within an app. Without permissions I cannot do that. So:
1) Is it possible to root this Android image (I'm using TI release for Beaglebone Black).
2) Or can i give permissions using chmod ? If i can, which files should i give permission?
3) Or is my approach wrong?