我设法通过终端在我的安卓手机上启动了Linux,甚至启动了SSH服务,并使用ConnectBot对其进行了测试。但是,这是一种手动操作。我在想一种自动化的方法。
我使用了Linux机制:
我认为,我的主要问题是,在chroot完成之前和之后,我都在尝试做一些步骤,而这似乎并不适用于安卓应用程序:
Runtime.getRuntime().exec("su");
//Mount the image
Runtime.getRuntime().exec("startbt");
//chroot into Linux
Runtime.getRuntime().exe
昨晚我升级到Ubuntu20.04,现在Chrome无法启动。
10:20:00 /opt/google/chrome$ ./chrome
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open i915 (search paths /usr/lib/x86_64-linux-gnu/dri:\${ORIGIN}/dri:/usr/lib/dri)
failed to load driver: i915
MESA-LOADER: failed to open kms_swrast (searc