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
I've got an old device running a 3.0 Kernel.
Running Android 13 - Tiramisu - LineageOS 20
Magisk 24.1
Root it working etc.
After uninstalling LinuxDeploy app and ensuring no directories left behind.
I install LinuxDeploy app from Play Store.
I select Directory, sysv, Debian stretch (which worked previously on this device and kernel with older version of Android)
I enable SSH.
I install, installation completes successfully.
I try start the container, it says extra/ssh failed.
So I go to the options, untick SSH.
Stop / Start
It says the container has started.
But now I can't access a terminal for it, so that I can manually install/configure SSH.
Weirdly if I run it on ADB, stuff starts happening, I see proc dev sys etc and then my ADB craps out (having ADB instability due to crap proprietary USB cable or PC's USB ports)
I can't run the above command in Terminal Emulator (as root) because /data/data/ru.meefik.linuxdeploy does not exist on my Android 13 - Tiramisu - LineageOS 20.
If I run this as root
find / -name '*linuxdeploy*' 2>/dev/null
Then I can only find the ru.meefik.linuxdeploy (whatever) linuxdeploy/files/bin/linuxdeploy script at /data_mirror/data_ce/null/0
Anyway, so I edited the linuxdeploy/files/bin/linuxdeploy script with nano, it's trying to refer to /data/data/ru.meefik.linuxdeploy which might be the reason it's broken.
I replaced that with some other path that actually leads to the path ending in linuxdeploy/files
But then I couldn't run the script, because it couldn't find the sh listed in the shebang.
And the problem with all of the files in linuxdeploy/files/bin is they're actually symlinks to /data/data blah blah directory that does not exist.
At some point I tried changing the #! shebang for the linuxdeploy to the path shown by which sh. And then I was actually able to start the script and it gave a few lines out output but broke looking for /bin/su
I tried adding a symlink in linuxdeploy/files/bin to the which su path. Also tried just copying the su file to linuxdeploy/files/bin
Didn't work.
Then I tried in the LinuxDeploy app, going to Settings, then correcting the (obsolete?) /data/data/ path to the /data_mirror/data_ce/null/0 blah linuxdeploy blah /files path that I found. Then clicking Update Environment... hoping it might fix all of the symlinks in linuxdeploy/files/bin that point to /data/data/... but then the container would not start.
The text was updated successfully, but these errors were encountered:
Newer versions of Android do not allow apps to access external SD card normally without using the built-in APIs. This can be overcome with the following adb command: adb shell cmd appops set ru.meefik.linuxdeploy android:legacy_storage allow
I've got an old device running a 3.0 Kernel.
Running Android 13 - Tiramisu - LineageOS 20
Magisk 24.1
Root it working etc.
After uninstalling LinuxDeploy app and ensuring no directories left behind.
I install LinuxDeploy app from Play Store.
I select Directory, sysv, Debian stretch (which worked previously on this device and kernel with older version of Android)
I enable SSH.
I install, installation completes successfully.
I try start the container, it says extra/ssh failed.
So I go to the options, untick SSH.
Stop / Start
It says the container has started.
But now I can't access a terminal for it, so that I can manually install/configure SSH.
I found this old command on the internet
Weirdly if I run it on ADB, stuff starts happening, I see proc dev sys etc and then my ADB craps out (having ADB instability due to crap proprietary USB cable or PC's USB ports)
I can't run the above command in Terminal Emulator (as root) because /data/data/ru.meefik.linuxdeploy does not exist on my Android 13 - Tiramisu - LineageOS 20.
If I run this as root
Then I can only find the
ru.meefik.linuxdeploy (whatever) linuxdeploy/files/bin/linuxdeploy
script at/data_mirror/data_ce/null/0
Anyway, so I edited the
linuxdeploy/files/bin/linuxdeploy
script with nano, it's trying to refer to/data/data/ru.meefik.linuxdeploy
which might be the reason it's broken.I replaced that with some other path that actually leads to the path ending in
linuxdeploy/files
But then I couldn't run the script, because it couldn't find the
sh
listed in the shebang.And the problem with all of the files in
linuxdeploy/files/bin
is they're actually symlinks to/data/data
blah blah directory that does not exist.At some point I tried changing the
#!
shebang for the linuxdeploy to the path shown bywhich sh
. And then I was actually able to start the script and it gave a few lines out output but broke looking for/bin/su
I tried adding a symlink in
linuxdeploy/files/bin
to thewhich su
path. Also tried just copying the su file tolinuxdeploy/files/bin
Didn't work.
Then I tried in the LinuxDeploy app, going to Settings, then correcting the (obsolete?)
/data/data/
path to the/data_mirror/data_ce/null/0 blah linuxdeploy blah /files
path that I found. Then clicking Update Environment... hoping it might fix all of the symlinks inlinuxdeploy/files/bin
that point to/data/data/...
but then the container would not start.The text was updated successfully, but these errors were encountered: