termux can't execute permission denied - Android Q&A, Help & Troubleshooting

i installed magisk and updated the package installed python gave it root permission but when i try
to run anything it ends with the error i mentioned
i tried to install nethunter
sudo ./install-nethunter-termux
and i got that
env: can't execute './install-nethunter-termux': Permission denied
how can i solve that

Related

[Q] Checking SU access

I rooted my phone and I was able to install Superuser and Titanium Backup and both appear to be running successfully. My question is when I run adb shell from my PC and I get the $, I get permission denied when I type SU or whoami? Did I miss something?
C:\>adb shell
$ su
su
Permission denied
$ whoami
whoami
whoami: permission denied
$
just wondering why you need to use superuser when you use adb shell
OK, so why the permission denied response from the OS?
http://forum.xda-developers.com/showthread.php?t=1002203
that prob has something to do with it, push that kernel and try again
OK thanks, I will keep that in mind if I run into issues. Everything else is working fine otherwise, so I will well enough alone for now, while I read the docs on the Android Dev site.

Autopatcher APG Permission denied Error

Hi,
I'm posting here and not in the original autopatcher thread since I don't have 20 posts yet.
Hopefully this will turn up if someone experiences sth. similar:
While trying to use ApG 2.6.0.2 in windows xp I got just got "permission denied" error while trying to patch the framework , although I was running APG in Administrator mode. I could resolve tthe issue as follows:
When the autopatcher commences to give you the permission denied error messages, press control c to interrupt it and get a shell. Then start the Apg Patcher anew and begin the patching process once again but now when everything is unpacked and the autopatcher wants to commence to patch, use your shell to set the directory permissions with "chmod -R 777 on the ApGPackages/ap/tmp-CURRENTDATE-FOLDER.
This resolved the issue for me.
I hope description was clear enough,
san4

[Q] Trouble With Ioroot

I am running Ubuntu 14.04 x64. I installed the ADB packages through apt-get:
sudo apt-get install android-tools-fastboot
sudo apt-get install android-tools-adb
Then I downloaded ioroot.zip, extracted it and did:
chmod +x ioroot.sh
When I run ioroot.sh I get the following errors:
Determining device model and firmware version...
./ioroot.sh: line 93: SLEEP: command not found
./ioroot.sh: line 94: ./adblinux: Permission denied
./ioroot.sh: line 95: ./adblinux: Permission denied
./ioroot.sh: line 96: ./adblinux: Permission denied
No matching phone found. Full device info below.
Post device info in IOroot thread.
./ioroot.sh: line 1683: ./adblinux: Permission denied
./ioroot.sh: line 1684: ./adblinux: Permission denied
./ioroot.sh: line 1685: ./adblinux: Permission denied
./ioroot.sh: line 1686: ./adblinux: Permission denied
Press enter to continue...
So, what does that mean?
My main goal is to root, install recovery and install Cyanogenmod.
I have Googled like crazy. Can't figure out what the problem is. I guess I leave it alone. The phone works fine without CM, just a lot of bloat from LG. I don't think I have the skills for this.
mooreted said:
I have Googled like crazy. Can't figure out what the problem is. I guess I leave it alone. The phone works fine without CM, just a lot of bloat from LG. I don't think I have the skills for this.
Click to expand...
Click to collapse
I had the same problems. I found the solution and posted it here. It may help you :
forum.xda-developers.com/showpost.php?p=59374674&postcount=43

su binary install installed with root adb but error when I run su

Hi,
I just picked up this cheap (cheap as in I paid $20 and think I over paid) android tablet from a garage sale. It was originally a promotional item from Herbalife. the only information on it I have been able to find is the FCC database page. https://fccid.io/ZVRGKMID7026R
It is running stock 4.4.4. Naturally the first thing I wanted to do was root it. this is not my first android, so I am familiar with the process.
the first thing I did was connect it to my computer. And low and behold the adb shell runs as root by default! this should be easy. I used this guide (almost, I adjusted some stuff because I use linux). it seemed to work. when I open the Superuser app, the info tab it says that the su binary is installed and the permissions are set properly, and when I run su from adb shell, a popup message comes up on the device saying "root has been given super user permissions". but when I run su from terminal emulator on the device, it gives an error.
Code:
[email protected]:/ $ su
java.lang.SecurityException: Permission Denial: broadcast asks to run as user -1 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL or android.permission.INTERACT_ACROSS_USERS
at android.os.Parcel.readException(Parcel.java:1465)
at android.os.Parcel.readException(Parcel.java:1419)
at android.app.ActivityManagerProxy.broadcastIntent(ActivityManagerNative.java:2373)
at com.android.commands.am.Am.sendBroadcast(Am.java:802)
at com.android.commands.am.Am.onRun(Am.java:284)
at com.android.internal.os.BaseCommand.run(BaseCommand.java:47)
at com.android.commands.am.Am.main(Am.java:76)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:243)
at dalvik.system.NativeStart.main(Native Method)
Permission denied
1 | [email protected]:/ $
also root checker says su is not installed corectly.
Thank you

java.io.IOException: Cannot run program; error=13, Permission denied

installed an apk I built on flutter and im getting this error from adb logcat:
>java.io.IOException: Cannot run program "/data/user/0/com.invertedx.sentinelx/app_torfiles/tor.so" (in directory "/data/user/0/com.invertedx.sentinelx/app_torfiles"): error=13, Permission denied
it relates to bundled tor which is failing to connect in the app. how do I grant permission?

Categories

Resources