How to write permission for a system / application on Android

how to provide permission entry in the system/app folder I strengthened my Android device I want to download the application and install it in the system/app folder

 Process p = Runtime.getRuntime().exec( "su" ); 

I tried this command, asking user permission , and then it throws an exception system/app is a read-only file system

+4
source share
3 answers

First go to the shell using

 adb shell 

Then remount the system folder as rewritable using the following commands

 $ su # mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system 

Then change the permission of the system folder to read, write and execute with

 # chmod 777 /system/app 
+8
source

Just enter your terminal on your Android device.

  su 

and then

  chmod 777 system/app 

su - Gives you superuser permission

and chmod 777 , change the file permissions to read, write and execute.

+2
source

Try adb remount in terminal. If you want to do this from the device shell, see this question on how to remount a file system with write permission.

+1
source

All Articles