DeltaChat running on mobian (PineTab, PinePhone)

Is there any way to run DeltaChat on mobian on the PinePhone or PineTab (arm64)?

1 Like

There is no client ready for use, but you can help testing and developing Kirigami-based client:

I had a look at your prototype, but as I am not a programmer, I don’t understand very much of it …

I thought more to get for example the AppImage run on the PineTab, as I have already the AppImage run on my debian desktop.

I’m also looking for away to get DC running on Mobian – that would be great! I’m also looking for binaries, recipes to follow just don’t work when I put my skills to test, too…

Another ARM64 / aarch64 user here who would love to be able to run DeltaChat (both on arch/manjaro and debian/armbian/mobian distros + aarch64 hardaware.)

Only slightly related: The appimage download pages don’t mention that the files are x86-64, from an end-user standpoint it would be nice to have -x86_64.AppImage or -aarch64.AppImage as a filename standard.

Extremely related: link2xt, thank you so much for your work. Going to be starting in on kdeltachat here shortly.

EDIT: kdeltachat will build and run on a Pinebook Pro > Linux - 5.9.6-1-MANJARO-ARM - aarch64

Last time I tried to build deltachat-core-rust it failed way harder than I could figure out (boiled down to an openssl issue if I remember correctly,) glad to see that initial blocking issue has been solved.


Manjaro (arch-based) specific process:

Then finally, ./kdeltachat


I’d try this on my pinephone + mobian but I’m pretty sour on how fragile that distro is at the moment, got tired of reinstalling images for the time being…

2 Likes

Any news on this?

I have created an unlisted repository for Flatpak builder scripts, you can use it to bulid and test KDeltaChat on Linux easily: ~link2xt/kdeltachat-flatpak - sourcehut git
You may need to update the commit hash (last line in chat.delta.kdeltachat.yml) with a pointer to the latest commit in ~link2xt/kdeltachat - sourcehut git, because I don’t do it on every update. Alternatively, build according to the README in KDeltaChat repository without Flatpak.

KDeltaChat is far from being ready to use, but I continue its development slowly. You can configure new accounts with basic settings now, chat avatars and the number of unnoticed messages are displayed in the chatlist and there is a working “Settings” page with the ability to toggle encryption and read receipts.

3 Likes

Thanks for your work! I tried to build the flatpak but my PinePhone freezes with the flatpak-builder on “Building [=======> ] 410/411”

I would try cross compiling, as the ram of the pinephone might fill up compiling the core in release mode.

Looks like flatpak-builder has built-in qemu support for cross-compliation, worth a try indeed:

I would try qemu path first though.

Any news on what to expect in far or near future? Without Signal or DeltaChat that phone is almost as useful as a paperweight :stuck_out_tongue:

I have posted an additional request for a native UBports DC Client. Hope the developers will listen to the growing amount of requests. :slight_smile:

I don’t even know how much work it is to port/build it for the Pinephone. :man_shrugging: Hard to adjust expectations on that matter that way…

For reference, thread about UBports is here:

Ping. Any news :grimacing: , no?

KDeltaChat is available as a Nix package, you can probably install it on https://mobile.nixos.org/

Mobile NixOS is really only meant for advanced users that already know NixOS.
However, Nix (the package manager) can be installed on any Linux distribution (x86_64 as well as aarch64): NixOS - Getting Nix / NixOS. The script will tell you what to add to your ~/.bashrc or similar in order to set up your $PATH. After installing Nix, should be able to do nix-env -i kdeltachat-unstable and then run kdeltachat.
If that doesn’t work, feel free to ask me here or on Delta Chat.

1 Like

@dotlambda thanks for your description! I have DeltaChat running now on my PinePhone with mobian! It does not look like DeltaChat on my old Android, but as long as it makes chatting and emailing easier it is very welcome! I think I made a reboot before installing it, because it did not take over the $PATH? I will keep testing.

1 Like

It does not share any code with Android version except the core library.

Great if it works for you, but there are lots of things still missing. The most obvious part is that there are no notifications yet and no way to send an attachment.

Notifications are not a problem for me, as on mobian I am used, that I don’t get notifications. The phone goes into sleep very soon and after that I only get notifications for calls and SMS. But also for SMS I think I have missed 99% of the notifications because of the type of sound or the volume. This is a very special point but I don’t know, if I will ever be notified for new emails on mobian … there should be a way how normal applications can wake up the phone. I think only applications especially written for phones can do that?

Sending pictures would be very nice, I appreciate the function, that they are reduced in size and sent with the share function on Android. Another problem with pictures is the low quality of the PinePhone camera. But writing only messages is at least a good start.

1 Like