proot icon indicating copy to clipboard operation
proot copied to clipboard

How to use proot on android

Open Tridays opened this issue 1 month ago • 0 comments

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?

Tridays avatar Jun 04 '24 19:06 Tridays