News for hackers. Stuff that matters.
Re:KDE Plasma Mobile 21.07 by kop316 on Tuesday July 20, 2021 @09:59AM (#27893804)
> Anyway problem right now is the modem doesn't detect my TMobile micro sim card.

Hm...that is odd, assuming you are still on Mobian/Phosh. Assuming you tried standard debugging, this page gives you some avenues for help: https://wiki.mobian-project.org/doku.php

The matrix channel for Mobian is very active, and there are plenty of folks there who can help debug that.

Re:KDE Plasma Mobile 21.07 by jcun4128 on Tuesday July 20, 2021 @10:23AM (#27894085)
Thanks for the link I will look into that. I tried to join the purism Gitlab group or something ha don't know what happened there.
Re:KDE Plasma Mobile 21.07 by kop316 on Tuesday July 20, 2021 @10:44AM (#27894363)
> I tried to join the purism Gitlab group or something ha don't know what happened there.

Purism to my knowledge uses that for development, not tech support. They also tend to not give accounts to their gitlab unless they know who you are (i.e. a Pinephone dev, active on their Matrix Channel, etc.)

I think your best bet, depending on the underlying issue, is to hop on the Matrix channel for help.

Re:KDE Plasma Mobile 21.07 by jcun4128 on Tuesday July 20, 2021 @11:06AM (#27894658)
> not give accounts to their gitlab unless they know who you are

Yeah I was trying to get in there to develop but I will admit I would be pretty useless.

Thanks I will get this phone working again, good to know there is a community, I have posted on the Pine64 forums a few times, got some info there.

Re:KDE Plasma Mobile 21.07 by kop316 on Tuesday July 20, 2021 @11:23AM (#27894871)
> Yeah I was trying to get in there to develop

I do a majority of my Pinephone related development on Gitlab. It hasn't stopped adoption for my work at all. Others use Github/Sourcehut.

The nice thing is that developing for the Mobian is nearly identical as it is for Debian (I use the Modem quite extensively for my apps, so I have to use the Pinephone for testing).

> but I will admit I would be pretty useless.

Everyone starts somewhere! The Pinephone is really my first dabble into open source development, and now one of my apps are on quite a few distros. The community is incredibly welcoming and helpful.

> Thanks I will get this phone working again,

Good luck! If the Mobian channel is a dead end, you can also find me on Matrix too.

Re:KDE Plasma Mobile 21.07 by jcun4128 on Tuesday July 20, 2021 @12:06PM (#27895509)
Curious what are you making? And why pursue Pinephone, is it the privacy aspect or potentially new fledging OS that may get a good market share... or just full linux being cool.

How was the app deployment, I have been told there's different ways to go about it, the "apt install" way being harder since your app has to be vetted and what not, understandable.

It's just as far as "barrier to entry" for users that's one of the things that could be problematic if there isn't just an app store they go to.

Re:KDE Plasma Mobile 21.07 by kop316 on Tuesday July 20, 2021 @12:41PM (#27896026)
> Curious what are you making?

A few things (You can find them all here: https://gitlab.com/kop316/ )

- A backend MMS client to enable use of MMS on the Pinephone

- I am helping to merge MMS front end support to Chatty (the default Phosh MMS/SMS Client): https://source.puri.sm/kop316/chatty/-/tree/wip/sadiq/mm-acc...

- A full stack Visual Voicemail Client.

> And why pursue Pinephone, is it the privacy aspect or potentially new fledging OS that may get a good market share... or just full linux being cool.

It's a mix of those. I am a big open source advocate, and a huge believer in the fact that hardware I buy is hardware I should be able to use as I see fit. I will never buy an iPhone (for myself, sadly I feel Android is in such a sad state that the only phone I feel confident getting for my family right now is an iPhone) for the above stated reasons (and the fact that they intentionally segment their market to force you to buy an iPhone/Apple products to use "their ecosystem", and make it very difficult to use services that compete with said ecosystem). Stock Android likewise intentionally cripples the Android experience unless one uses Google Play services (I am aware of MicroG....but it is difficult to install unless one rolls their own OS, which I don't want to do). This is to say nothing of the Branded Android devices which range from okay to outright malicous, and the practices of app developers to force you to install their apps to suck up as much info on you as possible.

I am also very tired of the forced obsolescence of Mobile Phones, and the Pinephone/Librem 5 is an honest effort to move past that. I have a stack of phones that are perfectly useable aside from the fact that they run something like Linux 3.10 or 3.18 (which the kernel itself is subject to a wide range of security issues, say nothing of using Android n-2 on it).

> How was the app deployment, I have been told there's different ways to go about it, the "apt install" way being harder since your app has to be vetted and what not, understandable.

I try to work within the distribution channels, but one can distribute through Flatpak (I don't presonally do that, so I have no idea how hard it is) which to my knowledge works on most distros. As far as distribution channels, someone will have to package/champion your app for a particular distribution, and depending on how popular/necessary it is, it will probably end up being you (that's the case for me on Mobian/Debian. I am the dev and package manager for my apps, but someone else has been packaging the MMS related stuff for pmOS, Pure OS, and Fedora).

Your app will be vetted yes...but it is not the Apple/Google "I alter the terms of your agreement, pray I do not alter further", it is more "Do you follow good practices in coding? Do you follow the packaging standards in our distribution? Will you be around in two months to keep maintaining this app". The only reason I would outright see them willfully not distribute your app is if you act maliciously. Honestly, after working with the Debian Maintainers to include mmsd-tng into Debian, I have a much higher confidence in the quality of packages included in Debian.

> It's just as far as "barrier to entry" for users that's one of the things that could be problematic if there isn't just an app store they go to.

I think the biggest barrier to entry is distro maintainers do not want to add an app to their distribution to have it abandoned, which is unfortunately a chicken and egg problem for a new dev (that is at least how I preceieved it when I was working on getting mmsd-tng included into Debian. I think I will have an easier time getting vvmd/vvmplayer included since I now have "street cred"). The distribution maintainers want to see you succeed (they actively helped me learn how to package my app in Debian), but they (and I) have seen plenty of instanses where someone wants to help, then disappear a week later (which is fine, it just makes it hard to judge who will stay and who will go).

Re:KDE Plasma Mobile 21.07 by jcun4128 on Tuesday July 20, 2021 @01:34PM (#27896684)
This will probably be nuts to follow since HN doesn't have any kind of notification but I appreciate your response.

why is a backend needed for MMS? is it not direct like phone > cell tower > phone?

That's cool with the purism work.

> A full stack Visual Voicemail Client

Just don't embed ads in it like Android ha

> MicroG

I have not heard of that

I just hate the bloatware it is particularly a problem on cheaper phones and part of the carrier eg. Boost they have these notifications you can't get rid of, that's the stuff that "boils my blood".

Heh I have a stack of phones too, I bought an old Windows Lumia device just because I used to really like it despite that all the app APIs are broken on it sadly.

Interesting info about the deployment stuff. Yeah someone pointed out if your app is like a basic to do list probably not going to get added.

There's also the name thing... like I feel pretty confident doing apt install filezilla that I actually get the FTP client.

Anyway good luck to you, maybe I'll see you in this field ha whenever I get back into this. My Pinephone is currently just sitting on my desk uncharged.

I gotta check out Matrix too have not really heard of it, offhand I'm like "is it like Mastodon" or something... but yeah.

Re:KDE Plasma Mobile 21.07 by kop316 on Tuesday July 20, 2021 @01:58PM (#27896994)
> This will probably be nuts to follow since HN doesn't have any kind of notification but I appreciate your response.

You're welcome!

> why is a backend needed for MMS? is it not direct like phone > cell tower > phone?

The MMS stack is....interesting. It is a mix of SMS and HTTP (SMS acts as a signalling to the client (phone) to tell the client an MMS exists, and HTTP is used to get/send an MMS), and MMS has its own encoding scheme. mmsd-tng is an abstraction layer to do MMS decode/encode and send/recieve it all, so a chat application just has to talk to mmsd-tng to get/send MMS.

There is a modem Abstraction layer (the two popular ones are oFono and MOdem Manager), and neither support MMS natively. However, with mmsd-tng, they don't need to.

(visual voicemail is the same way, except it uses IMAP...yes email IMAP for downloading voicemails)

> Just don't embed ads in it like Android ha

haha. My GUI isn't exactly pretty, but it works! Plus if I went crazy and did that, it's pretty easy to fork my work.

> I just hate the bloatware it is particularly a problem on cheaper phones and part of the carrier eg. Boost they have these notifications you can't get rid of, that's the stuff that "boils my blood".

This is sadly why I steer my family to getting iPhones, despite my personal misgivings of Apple.

> Interesting info about the deployment stuff. Yeah someone pointed out if your app is like a basic to do list probably not going to get added.

A lot of devs are volunteers as well, so the dynamics of the "app store" is much different. I personally think the biggest issue is making sure apps just don't get abandoned. If you really don't want to use official distro channels, flatpak seems to be the way to go (but you can build your own apt repository too if you really want to).

> Anyway good luck to you, maybe I'll see you in this field ha whenever I get back into this. My Pinephone is currently just sitting on my desk uncharged.

Thanks! I'm not hard to find on Matrix

> I gotta check out Matrix too have not really heard of it, offhand I'm like "is it like Mastodon" or something... but yeah.

I liken Matrix to "IRC on steriods" or "Slack without the vendor lockin". It's a group chat with different servers and channels.

Re:KDE Plasma Mobile 21.07 by jcun4128 on Tuesday July 20, 2021 @03:05PM (#27897816)
> a mix of SMS and HTTP

That's interesting, guess it makes sense.

> email IMAP for downloading voicemails

That's interesting as well

Well it sounds like you're working on something that helps make the Pinephone more usable so thanks for that. I was "shocked" when seemingly basic things like video recording was not a guarantee/kinda special. I've ran into Megous here before where he was writing his own video recorder with ffmpeg straight up like dang.

Cool yeah I'm gonna check Matrix out have not heard of it before till now.

Re:KDE Plasma Mobile 21.07 by kop316 on Tuesday July 20, 2021 @03:50PM (#27898398)
> Well it sounds like you're working on something that helps make the Pinephone more usable so thanks for that.

Thanks! It's been very rewarding honestly. The community is great, and I have met some folks in the community who I would now consider friends.

> I was "shocked" when seemingly basic things like video recording was not a guarantee/kinda special. I've ran into Megous here before where he was writing his own video recorder with ffmpeg straight up like dang.

Yeah, the linux phone software landscape is a lot different now than it was even six months ago. A lot of it is because of the developers who volunteered to roll up their sleeves and help. I think Pine64 did a great thing in making the phone as cheap as possible and democratized the development process.

Purism has been putting a lot of money into developing the software too, and really cannot understate how much that has helped as well.

Re:KDE Plasma Mobile 21.07 by jcun4128 on Tuesday August 03, 2021 @01:44PM (#28051979)
So oddly my modem started working again... I'm wondering if it's related to having to use the original charger/cable... because I could not get it to boot (after it died on my desk) using other phone chargers/usb-c. Anyway after I found the original charger/usb-c it booted up right away... think the battery has an internal BMS thing as I measured the contacts it was at 0... thought the battery died. Now I have a working modem again with 4G showing... it's weird.