Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/system/bin/sh: env: not found #84

Open
ghost opened this issue Aug 31, 2021 · 2 comments
Open

/system/bin/sh: env: not found #84

ghost opened this issue Aug 31, 2021 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 31, 2021

Every time I run the "tsu" command to root termux I get the following error "/system/bin/sh: env: not found" I have no idea how to solve it, and I really need this problem solved.
Capture+_2021-08-31-17-21-43-1

@mihas1984
Copy link

There was the same problem. I solved it by deleting the PATH = $ BB_MAGISK line. Reason: if a su from a magisk is installed in the system, then it is considered that the system should also have a busybox respectively. Which is generally not true, I installed mtk easy su from the magisk, while the magisk itself was not installed, which led to an error when the required busybox could not be found.

@qidian2
Copy link

qidian2 commented Feb 14, 2024

Deleting PATH=$BB_MAGISK will cause sudo -u function error. The better way to solve it is to change it to PATH=$BB_MAGISK:/system/bin:/system/xbin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants