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

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

python - Django-easy-pdf: xhtml2pdf reporting reportlab 2.2+ is required, but 3.0 installed -

collision detection - C++ library for mesh to mesh intersection: what is available? -