I can't grant some permission in android for my apks, eg : android.permission.INJECT_EVENT
even I have putted the apk in /system/app, the system still doesn't grant the permission
Is there any way to let my custom program can have such permission ( using root? or how to modify the system config ? But not using system cert...)
Related
I rooted my SGS3, and i am trying to add Hebrew (iw_il) language to Language.xml file, but i cannot save the file.
i am using ES Explore and i marked the Root Explore option.
Are you sure you got the superuser rights in ES Explore? To make sure you have them you can use a terminal emulator, if you don't know how to use it I can type the commands for you.
Superuser rights
I forgot to mantion that in ES Explorer i marked the superuser option.
i thought that this will grant me permission to modify the file.
i have this message:
Permissions change was not successful. Please note that some file systems (e.g. SD card) do not allow permission changes .
what to do to fix it and can do change?
thanks
If an application is signed with the system signing keys and installed into system-priv does that application have root privileges? Does it have access to all permissions and have the ability to run shell scripts as root?
Thanks!
I want to know about something interesting.
How can I give superuser permission to any APK by make a .Xml file to give this apk root permission.
Something like this"android.permission.ACCESS_SUPERUSER – Allows an app to access ROOT"
Inside system_root/system/etc/permissions.
And then open xml and write some script and APK name.
Kindly some tell me please.
Because I cannot put my phone.
I have used all popular apps and magisk and superuser but none of them root it.
So I need this information please.
1. I'm using an app.
2. My device has been rooted, i'm using root explorer
3. I want to change the permissions (revoke "write" access) of file A in root/data/user/0/com.app name/cache
4. Open the app.
5. File A is still being modified.
6. I revoked write permissions of the parent folder.
7. Open the app.
8. File A is still being modified.
What should I do? I cannot delete that file, or the app will crash. I only want the app to read file A, without being able to modify it.
To change file permissions use Androids shell command CHMOD.
xXx yYy said:
To change file permissions use Androids shell command CHMOD.
Click to expand...
Click to collapse
I'm using the root explorer app. If I use chmod to revoke a file's permission, will it be granted again when I open the app?
NO
xXx yYy said:
NO
Click to expand...
Click to collapse
I have tried it, only read permission, but the file still gets modified when I open the app.