proot-me / proot

chroot, mount --bind, and binfmt_misc without privilege/setup for Linux
https://proot-me.github.io
GNU General Public License v2.0
1.96k stars 369 forks source link

How to use proot on android #381

Open Tridays opened 3 months ago

Tridays commented 3 months ago

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:

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