I need to remount android file system as read write instead of read only. I know how to do it through command prompt and also how to go about it for application development.
But I am into tweaking the android source code and there if I use
Process proc=Runtime.getRuntime.exec("su");
it doesnot work. Therefore I need to use android.os.process object for the same and I am stuck here can anybody help me with it.
Try this code to get superuser access (you’ll need a rooted phone with superuser installed):
Once you have superuser access, you may start
adbdlistening on some TCP port using:Open a TCP connection to the selected port and issue
remountcommand.