You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@android:/ # /data/y/sbin/yocdroid-run
/data/y/sbin/yocdroid-run[13]: env: not found
/data/y/sbin/yocdroid-run[13]: sed: not found
root@localhost:/# sed
Works great otherwise and sed and env are available.
The text was updated successfully, but these errors were encountered:
You need busybox sed/env installed on the PATH. That's a known limitation right now. And while this will work to get you the shell, what you won't get if these are missing is the set of environment variables needed by Android processe, so some of the integration (e.g. the ability to run Dalvik processes like "am", "pm", "app-process", etc...) that you expect won't work.
Really the right solution would be to write a tiny "env" replacement using the asm syscall stubs used for chroot-static and yocdroid-mountd. It wouldn't be hard, I just haven't found the time, and all the systems I care about have a busybox handy (and even for the ones that don't, the script allows you to pull a prebuilt one from e.g. http://busybox.net/downloads/binaries/latest/ and drop it in /data)
I get:
Works great otherwise and
sed
andenv
are available.The text was updated successfully, but these errors were encountered: