this post was submitted on 31 Aug 2023
330 points (100.0% liked)

Free and Open Source Software

17926 readers
73 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

Github link: https://github.com/Dakkaron/Fairberry

Here's a video of it in action: https://www.youtube.com/watch?v=iDb8_ld9gOQ

I've been using it for almost two years now, and I'm not going back.

It's based on a spare Blackberry Q10 keyboard and a custom Arduino-compatible board that reads the keyboard matrix and outputs it as USB HID to the phone. From the viewpoint of the phone, it's just a regular USB keyboard, so no special software is needed.

But I do use a custom virtual keyboard to have just two rows of symbols that are not natively on the keyboard, as I didn't want to add another layer of rarely used symbols that I'd have to memorize.

(On the image you can see Ubuntu with XFCE4 running on it. I chose Ubuntu because it's what was easiest to get running in a chroot jail on the phone. I'm using VNC to display the GUI. I even managed to get FEX (x86/x64 emulator) and Wine running, so it runs x86/x64 Linux and Windows apps.)

you are viewing a single comment's thread
view the rest of the comments
[–] squaresinger@feddit.de 2 points 1 year ago (1 children)

I used LinuxDeploy, which is seriously outdated by now, but it works and it's easy to use.

You just need to update the chrooted Linux from e.g. Ubuntu 18.04 to something modern. But that's not too hard.

It could be possible to load phosh. I didn't manage to get Gnome running (which phosh is based on afaik). But I guess if your Linux-fu is a bit better than mine, you might be able to get it to work.

[–] vox@sopuli.xyz 2 points 1 year ago (1 children)

try running chroot in termux with termux-x11

[–] squaresinger@feddit.de 1 points 1 year ago (1 children)

Does Termux support chroot as well? Afaik it only does proot. Also, I read that Termux isn't working on Android 12 any more.

[–] vox@sopuli.xyz 1 points 1 year ago* (last edited 1 year ago) (1 children)

it works on android 13 (as they're still targeting android 9, so new limitations don't apply to them), but you need to disable phantom process killer to make it work in background. (you need android 13 or newer or root to fully disable it, it can only be disabled until reboot on android 12 unless you have root) both chroot (with root) and proot (slow, no root) are supported. Termux-x11 is still kinda experimental though...

[–] squaresinger@feddit.de 1 points 1 year ago

Thanks for the info, that's good to know!