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

How to use proot on android #381

Open
Tridays opened this issue Jun 4, 2024 · 0 comments
Open

How to use proot on android #381

Tridays opened this issue Jun 4, 2024 · 0 comments

Comments

@Tridays
Copy link

Tridays commented Jun 4, 2024

Hi, I compiled proot using the ndk on my ubuntu 22.04. And put proot in the /data/local/tmp/proot directory with adb on Android 12 (aarch64), but running proot does

proot warning: can't canonicalize /tmp/: No such file or directory
proot warning: Unable to create temp directory for f2fs bug probe: No such file or directory
proot error: execve("/system/bin/sh"): No such file or directory
proot info: possible causes:

  • the program is a script but its interpreter (eg. /bin/sh) was not found;
  • the program is an ELF but its interpreter (eg. ld-linux.so) was not found;
  • the program is a foreign binary but qemu was not specified;
  • qemu does not work correctly (if specified); * the loader was not found or doesn't work.
    fatal error: see proot --help.

And I, Settings root _ tmp _ DIR = /data/local/tmp, can't use root properly. How do I build proot?

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

1 participant