Possible Duplicate:
Create a file in /system directory
First of all, i gave the application all superuser permission(i’m using my rooted Galaxy S), then i want to create a file in /system using this code:
try
{
File file = new File("/system/", "test.prop");
file.createNewFile();
}
Unfortunately, the file is not created. What could be the source of the problem?
Thanks for helping.
By default, the /system partition is mounted as read-only in Android. You will have to re-mount it as read-write to be able to write to it.
adb remountmay help with that.