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've been trying to work on this and still can't figure out how to do this can somebody give me a step by step
So far I've tried to inStall an ash server to go in and edit it but I cannot get it to work somebody to help
maxgohan said:
I've been trying to work on this and still can't figure out how to do this can somebody give me a step by step
So far I've tried to inStall an ash server to go in and edit it but I cannot get it to work somebody to help
Click to expand...
Click to collapse
two ways to change your hostname
1. open edit /system/etc/dhcpcd/dhcpcd.conf with your favorite text editor. under "interface eth0", type: hostname yourdesiredhostname
2. open your favorit terminal emulator, type: vi /system/etc/dhcpcd/dhcpcd.conf
make above mentioned changes.
-> reboot and it should be working. try to ping your device from another piece of hardware in your home network
if you want to change your hosts file - do the same with /etc/hosts ^^
I keep getting this line...
mv: can't remove '/etc/hosts': Read-only file system
is your device rooted? if yes, you have either so mount your root file system as writeable in your file explorer (if it supports root access, like ES File Explorer), or you have to type "su root" at the beginning of your terminal emulator operations.
same problem with a rooted and unlocked device
two_handed said:
is your device rooted? if yes, you have either so mount your root file system as writeable in your file explorer (if it supports root access, like ES File Explorer), or you have to type "su root" at the beginning of your terminal emulator operations.
Click to expand...
Click to collapse
my device is rooted with kingroot I have installed root explorer and ES file explorer too with giving them root permission as well , but when ever I tried to delete or edit hosts file nothing gets change (with root explorer) and with ES file explorer it says " read only file " I tried to change the permission in properties but failed to save the check boxes result. oh man I forget to mention my problem here my cell is infected by a "freedom" app when finally I found it useless I changed the freedom app setting to "freecore" my device got reboot after that I uninstalled the app , now I am unable to connect with google servers , can't use play store , I also tried hosts file Editor but got no result I know my problem is to delete the hosts file , but something is not letting me to take control over hosts file , my android is 5.1 and model is huawei honor 4c ?
Hi!
Sorry for the noob question but how do I gain full access (specifically write access) to system/app? I am rooted with NUTs .681 and every time I try to copy/paste a file into system/app I get permission denied. I am using ES file explorer with root explorer set to "ON".
I have tried a few apps from the playstore but none of them work!
An easy way would be appreciated!
Regards,
Alan
Try this test to check if root working properly
Install Android Terminal Emulator from Play Store
From terminal emulator type "su" without quotes
Check if any superuser app prompt your answer to grant it using root privileges
If you're asked, then your root working properly.
Now type "mount -o remount,rw /system". Is it still permission denied? If so, so your problem is Sony RIC. If it's success, then your /system can be wrote now. Try to copy something to /system now. Check if the permission still denied or granted.
Sent from my C6903 using Tapatalk
nalab1 said:
Hi!
Sorry for the noob question but how do I gain full access (specifically write access) to system/app? I am rooted with NUTs .681 and every time I try to copy/paste a file into system/app I get permission denied. I am using ES file explorer with root explorer set to "ON".
I have tried a few apps from the playstore but none of them work!
An easy way would be appreciated!
Regards,
Alan
Click to expand...
Click to collapse
First of all you have full root.
I have xplore as file manager and allows me to modify any directory phone with xplore test application you headed to options> settings> access root> root + mount script and ready
Hi all,
I'm having issues installing system apps on my rooted htc one m7. I am using root explorer to copy the apk from my downloads to system/app but either one of two things happens -
1 - As soon as I press copy the phone crashes, upon rebooting the apk is nowhere to be seen in system/app
2- The copy works, I set the correct permissions but as soon as r/o is remounted the apk is deleted (leave and re-enter the folder and it's gone) if I reboot the phone without remounting r/o the apk is deleted as well
I have rooted with SuperSU v2.71 and am using team win recovery project v3.0.0. The android version is up-to-date (5.0.2) and busybox is correctly installed. I have also tried using the terminal emulator, but once again it seems to delete the apk upon remounting r/o. Of course I have also tried different apk's, all with the same results.
adamrob1511 said:
Hi all,
I'm having issues installing system apps on my rooted htc one m7. I am using root explorer to copy the apk from my downloads to system/app but either one of two things happens -
1 - As soon as I press copy the phone crashes, upon rebooting the apk is nowhere to be seen in system/app
2- The copy works, I set the correct permissions but as soon as r/o is remounted the apk is deleted (leave and re-enter the folder and it's gone) if I reboot the phone without remounting r/o the apk is deleted as well
I have rooted with SuperSU v2.71 and am using team win recovery project v3.0.0. The android version is up-to-date (5.0.2) and busybox is correctly installed. I have also tried using the terminal emulator, but once again it seems to delete the apk upon remounting r/o. Of course I have also tried different apk's, all with the same results.
Click to expand...
Click to collapse
/system is write protected by the kernel. You Ned a custom kernel or you must work from a custom recovery.
Sent from my HTC One using XDA Labs
my device rooted, i use all file manager (FX, root+, etc..) but i cannot delete unwanted app folder in /system/app, read-only error occerd, try to adb shell also no use how to do it help me friensd
Hello, I heard that Magisk is systemless so I cannot modify file permission, am I correct ?
If you have permission, so can you edit all files.