gnuroot
gnuroot copied to clipboard
New Window doesn't work on Wheezy
With a fresh image of wheezy, using a single window works fine*, but if I open a new window I get:
/system/bin/sh: /system/etc/mkshrc[9]: getprop: not found /system/bin/sh: /system/etc/mkshrc[10]: id: not found @android:/ $
And this new window fails to run any commands, for example:
@android:/ $ ls /system/bin/sh: ls: not found 127|@android:/ $ /bin/ls /system/bin/sh: /bin/ls: not found 127|@android:/ $
Version: GNURoot 0.1.4 / Gnuroot Wheezy Package 0.0.5 Device: Nexus 7 (2013) / razor-userdebug 4.4.4 KTU84P
*: (and I can close all windows, then relaunch the terminal emulator by running the GNURoot app again, and the first window will again be fine)
I have the same problem! It seems the new window fails to change to the rootfs (eg. I can execute android commands in that shell, which is known to not work within the rootfs).
This bug happens also with other distributions, not only for Wheezy (I tried Aboriginal too). So, i suppose the bug is in the Terminal emulator app.
System: Android 4.2.2 | GNURoot: 0.1.4
I can confirm this issue. I will fix this in a future release of GNURoot.
Cool! It would also be nice to have a way to decide whether to open a regular or a fake root console (unless there is already some simple way to "upgrade" to a fake root that I'm missing).
Can you share the command run on the android side that launches the terminal window? Or, conversely, Having built the rootfs, can you share the way to launch into it from within the (android) terminal?
Until the issue is fixed and just in case this saves somebody time, a temporary workaround to opening multiple terminal windows would be hitting the Back button (from within a terminal) and reactivating the app. This way, the app's options are displayed (instead of the terminal) allowing new windows to be opened (either on the same or on different rootfs and/or privileges).
Now, all that's left for us physical-keyboard-users is a shortcut to switch among them with more ease than with the screen!