[BRLTTY] Android and SSH/Terminal
Peter Vágner
pvagner at pvagner.sk
Fri Jun 19 06:29:47 UTC 2026
Hello,
Here is a nice fork that allows running different images inside android
virtualization framework besides somewhat outdated debian image as
provided by google.
https://github.com/outlawsanzhang/koiTerminal
The images have to be tweaked in order to work with this forked terminal
app as the original terminal app shipped by google is a system app with
higher privileges when it comes to storage access.
In fact the terminal app by google loads ttyd running inside the virtual
machine to provide web based terminal access.
This forked app also adds ability to use termux based terminal to access
the console of the virtualized system over serial port.
For speech it's easy I can just run speech-dispatcher inside such a
virtualized systems, however as for braille USB pass through is not yet
a thing so I don't know how it might be possible to allow brltty running
inside these virtual machines to access the real braille display.
Perhaps it might be some how possible to chain android instance of
brltty to expose the brl api server so the brltty app running inside the
vm can talk to the host system brlapi server.
Please note I don't have a braille display my-self, this just a pure
speculation from me.
Greetings
Peter
Dňa 19. 6. 2026 o 5:50 Dave Mielke napísal(a):
> Thanks, Jason. I was unaware of this but have now checked it out. It's very cool.
>
> Yes, it's a Debian-based virtual machine. Google introduced it in Android 15 and has been improving it ever since. They clearly label it as experimental so keep this in mind.
>
> You won't see it till you enable it. Go into Settings -> System -> Developer Options, find the switch labeled Linux Development Environment, and turn it on. After you do this, you'll find an app named Terminal in the All Apps drawer which, as usual, you can move to your home screen or wherever else.
>
> First, an important note. If you turn that switch off then it'll remove all of your changes so only do that if you really want to.
>
> The first time you launch Terminal, it'll ask you if you want to download the 600MB worth of data that it needs. I didn't time it but it took somewhere around maybe 20 seconds. There's a progress bar as well as a box that tells you how many megabytes have been downloaded so far.
>
> You'll be asked to grant two permissions. The first is if Terminal can recod audio, and the second is if it can look for nearby devices (which basically means if it can use Bluetooth).
>
> You're initially logged into a fully accessible text console as the user droid, UID 1000, which has sudo privileges. If you double-tap that window then your regular on-screen keyboard appears and you can type input. It all works just fine.
>
> While I can't personally test it, being as I can't see the screen, it claims to offer full graphical support, with acceleration via a wayland server.
>
> It even offers port forwarding so you can do things like start an sshd server inside it and make it possible to ssh into it from outside, i.e. from your desktop/laptop over your Wi-Fi network. Note that, if you do this, you'll be seeing the Linux file system inside the virtual machine - not Android's host file system.
>
> another for example is that you can run a web server inside the Linux system and then use port forwarding to access it from Android's host Chrome browser to localhost:port.
>
> A note on port forwarding. You can only forward non-privileged ports, i.e. 1024 or above, since Android is very protective of the privileged ports (less than 1024).
>
> This should be enough to pique your curiosity. Have fun!
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 665 bytes
Desc: OpenPGP digital signature
URL: <http://brltty.app/pipermail/brltty/attachments/20260619/e9ff29b4/attachment.sig>
More information about the BRLTTY
mailing list