android - how to execute app as system user? -


i want write in /sys/class/camera/rear_flash don't have permissions, file has read , write permissions user "system" , user within group "radio" (rw- rw- r--). can launch app "system" user or user within "radio" group without being root?

to run app system have install follow:

copy apk in sd card , executing these adb commands

adb shell su  cd sdcard/ mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system cat yourapp.apk > /system/app/yourapp.apk   chmod 644 /system/app/yourapp.apk reboot 

Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -