News for hackers. Stuff that matters.
Re:PinePhone – KDE Community edition by ognarb on Sunday November 15, 2020 @07:41AM (#25100737)
I'm one of the Plasma Mobile developer and I would be happy to answer questions.
Re:PinePhone – KDE Community edition by kop316 on Sunday November 15, 2020 @09:56AM (#25101638)
No questions, I just wanted to say "thank you" for your work.
Re:PinePhone – KDE Community edition by mrwoggle on Sunday November 15, 2020 @09:20AM (#25101369)
> If you are interested in developing, you will be getting early access to an ambitious Free Software mobile platform and you can help contribute to Plasma Mobile and get a headway designing new apps that you can test and deploy right now.

Any link to this? How do I make a simple hello world in Plasma Mobile :)

Re:PinePhone – KDE Community edition by ognarb on Sunday November 15, 2020 @09:24AM (#25101393)
We have a bit of documentation:

* Plasma Mobile dev documentation: https://docs.plasma-mobile.org/

* General Kirigami documentation: https://develop.kde.org/docs/kirigami/

* API documention of Kirigami: https://api.kde.org/frameworks/kirigami/html/

The documentation could be better, so if you have any trouble don't hesitate to ask questions in our Matrix channel: https://webchat.kde.org/#/room/#plasmamobile:kde.org

Re:PinePhone – KDE Community edition by goffi on Sunday November 15, 2020 @09:32AM (#25101456)
Great to see that, congratulations to everybody involved.

Is the hardware of Pinephone considered stable?

How is the development on such platform, the same a on Desktop GNU/Linux? Do we have a permission system similar to Android? Can we launch easily background application and awake the phone when needed (for notifications)? Is there a documentation on the packaging system?

How long can the battery last at the moment (with mostly idle phone)?

Thanks!

Re:PinePhone – KDE Community edition by ognarb on Sunday November 15, 2020 @09:58AM (#25101654)
> Is the hardware of PinePhone considered stable?

There has been some hardware improvements between the braveheart edition and KDE Community edition. For example the convergence functionality was added. Afaik the Manjaro and KDE edition will be using the same hardware.

> How is the development on such platform, the same a on Desktop GNU/Linux? Do we have a permission system similar to Android? Can we launch easily background application and awake the phone when needed (for notifications)? Is there a documentation on the packaging system?

The development for Plasma Mobile is similar to the one on the desktop. You can ever develop completely on the desktop or ssh in the phone and compile there. Packaging system is the same as on the desktop and depends on the distro. Flatpak also works as cross distribution solution ;)

KClock uses Powerdevil (the kde power management deamon) to wake up from sleep. There is also the KDED infrastructure: https://api.kde.org/frameworks/kded/html/index.html.

> How long can the battery last at the moment (with mostly idle phone)?

Good question. This varies a lot by the software used and the distributions. At the beginning it was less than 2 hours but with a lot of improvements in the kernel, there was reports varying from 12 to 16 hours idle time. This will probably improve further with more improvements in the kernel and in the hardware stack.

I hope this answers all your questions.

Re:PinePhone – KDE Community edition by goffi on Sunday November 15, 2020 @10:04AM (#25101699)
> I hope this answers all your questions.

yes thanks a lot! I'm considering getting this phone to port the XMPP client I'm working on on FOSS mobile OSes.

Re:PinePhone – KDE Community edition by ognarb on Sunday November 15, 2020 @10:09AM (#25101736)
Did you already checked Kaidan[1] out? It's an XMPP client specially build for Plasma Mobile.

[1]: https://www.kaidan.im/

Re:PinePhone – KDE Community edition by goffi on Sunday November 15, 2020 @10:18AM (#25101810)
yes I'm aware of it, I'm deeply involved in XMPP community (XSF member) and have met Kaidan devs a couple of times (it's a promising client BTW).

My client (Salut à Toi) predates Kaidan by years and is not focusing only on instant messaging, also it's not the same technology stack and the mobile frontend uses Kivy, which is well adapted for touch screen.

Re:PinePhone – KDE Community edition by alexmcc81 on Sunday November 15, 2020 @09:32AM (#25101460)
Hi! Do the Plasma Mobile developers also provide a distro for the Phone? Is it KDE Neon (Ubuntu) based?

What kind of collaboration is there between the various developers for the PinePhone? There seem to be a lot of Kernels with different patches for HW acceleration, IC power management, modem operation etc [1]. Do you apply these to your kernel?

[1] https://xnux.eu/log/#020

Re:PinePhone – KDE Community edition by SirLotsaLocks on Sunday November 15, 2020 @10:34AM (#25101940)
Yes it's called Plasma Mobile
Re:PinePhone – KDE Community edition by alexmcc81 on Sunday November 15, 2020 @11:03AM (#25102152)
Plasma Mobile is the desktop and related components (open to correction). There are apparently different distributions (based on Arch, Ubuntu and others [1]).

My question is what the Plasma Mobile PinePhone ships with and if it maintained by the Plasma Mobile team themselves. The Plasma Mobile says that the Ubuntu Neon based one is "official" with confusing double quotes. The blog [2] says that image has been rebased on Ubuntu 20.04. Is this what the KDE PinePhone ships with? If so, what kernel does it use and are the patches I linked to previously included?

[1] https://www.plasma-mobile.org/get/ [2] https://www.plasma-mobile.org/2020/11/12/plasma-mobile-updat...

Re:PinePhone – KDE Community edition by _underfl0w_ on Sunday November 15, 2020 @12:44PM (#25103043)
I think you might be confusing the Linux distribution with the desktop environment. "Plasma" and "Plasma Mobile" are examples of the latter, while "Ubuntu" is the former. One can switch desktop environments with a Linux distribution to customize its look and feel - e.g. if I install Ubuntu on my PC, I can choose Plasma (KDE's offering), Gnome, or XFCE to be my desktop environment. OTOH, I could also choose to install Arch Linux - a different distribution - and still choose between those same options (or more, I only listed 3) for a desktop environment to customize it.
Re:PinePhone – KDE Community edition by jraph on Sunday November 15, 2020 @03:25PM (#25104484)
I don't think the parent is confusing these notions. I don't know what distribution will be pre-installed on the KDE community edition, but the KDE project provides pre-built images based on Neon, which is Ubuntu with up to date KDE things on it. Plasma mobile also runs on Postmarket OS and Manjaro, and also Arch I think.

When I briefly tried Neon on Wednesday, it was based on Ubuntu 20.04 and the 5.7 kernel if I remember correctly. Mobian is using kernel 5.9. I hope the pre-installed distribution will have an up to date kernel with latest patches. I also hope that it will be possible to install the latest versions of Plasma Mobile on Mobian in the near future too.

Re:PinePhone – KDE Community edition by alexmcc81 on Sunday November 15, 2020 @05:14PM (#25105434)
>I don't think the parent is confusing these notions.

I'm not (I've even maintained distro spins). I am at a loss how anyone could read my question and think otherwise ;).

> I hope the pre-installed distribution will have an up to date kernel with latest patches.

That's precisely what I want to find out. I've seen so many blog posts and forum threads about different PinePhone builds. It's like the best and worst of Android ROM development from the XDA forums.

Different people seem to be hacking on different thing (which is fun) and many are attempting to get things upstreamed but the development seems to be all over the place. It's not clear what builds have safety features like the Power IC limits enabled for example.

Re:PinePhone – KDE Community edition by alexmcc81 on Sunday November 15, 2020 @05:23PM (#25105513)
>I think you might be confusing the Linux distribution with the desktop environment.

I'm definitely not ;). Please reread my comment. If you know the answer to the question, please let me know.

Re:PinePhone – KDE Community edition by oriesdan on Sunday November 15, 2020 @08:45AM (#25101115)
Hi, thanks for taking questions.

What is the state of the phone call/sms/mms support in Plasma Mobile on Pinephone?

Also : will the CE edition be some sort of Neon mobile, or will it be based on PostmarketOS or something?

Re:PinePhone – KDE Community edition by ognarb on Sunday November 15, 2020 @08:57AM (#25101199)
Yes it works! SMS and MMS are supported via the application Spacebar. The application got a lot of improvement last months. https://www.plasma-mobile.org/2020/11/12/plasma-mobile-updat...

Calls are also working fine.

The only "exception" being one carrier in the USA does not seem to work with ofono (the underlying framework) yet, but that issue was also with the previous UBports edition.

Re:PinePhone – KDE Community edition by kop316 on Sunday November 15, 2020 @01:51PM (#25103618)
Interesting. My Understanding is that MMS is non-fuctional:

https://sr.ht/~anteater/mms-stack/

But I am admittedly more familiar with the Phosh stack versus the KDE stack. Are you then using ofono and that is providing a working MMS support for the Pinephone?

(Sorry I am not trying to be confrontational, it would be amazing if MMS works!)

Re:PinePhone – KDE Community edition by swiley on Wednesday November 18, 2020 @07:53AM (#25136186)
MMS doesn't work with modemmanager, it sounds like the OS this ships with uses ofono instead which has MMS support.
Re:PinePhone – KDE Community edition by kop316 on Wednesday November 18, 2020 @09:48AM (#25137319)
So I cannot speak to ofono, but modemmanager largely does support MMS, with two exceptions:

- The APN for mobile broadband needs to be the same for MMS (modemmanager does not have support for multiple APNs yet), and

- "transfer-route MT messages" aren't implemented (which some carriers use for MMS, but it is not clear for me to how).

The larger issue is that there is no stack on phosh to support any of this. I proposed a couple of ideas of how such as stack would work on their git site, but I don't have the time to impliment it.

From what I saw with scapebar, it does not have native support to send picture messages (MMS), does not recieve picture messages, and did not have a way to send a group message (MMS). I am admittedly not familiar enough with ofono to know what works or how it functions in the stack. However, there is MMS support in the patched ofono stack below:

https://sr.ht/~anteater/mms-stack/

Re:PinePhone – KDE Community edition by kop316 on Tuesday November 17, 2020 @09:27PM (#25132511)
I hate to say, I just tested it and MMS doesn't work on plasma Mobile (PostmarketOS with Plasma Mobile 5.20.3)
Re:PinePhone – KDE Community edition by eckza on Sunday November 15, 2020 @12:03PM (#25102638)
This is great news.

Biggest question: Can I send SMS, on this phone, from another computer?

The biggest reason I ditched my iPhone for Android was the excellent implementation of in-browser messaging, to and from my phone, on any computer with a web browser.

I don't need to be able to text from "any computer with a web browser", but if I could send SMS from Win / Mac / Linux machines that I owned, that would be a huge incentive for me to give this platform a shot.

Re:PinePhone – KDE Community edition by ognarb on Sunday November 15, 2020 @01:32PM (#25103467)
You can use KDE Connect[1] for send SMS from a Win / Mac or Linux machine. This also works with Android.

[1]: https://kdeconnect.kde.org/

Re:PinePhone – KDE Community edition by eckza on Sunday November 15, 2020 @07:45PM (#25106617)
This is fantastic. Thank you so much!!
Re:PinePhone – KDE Community edition by TheCraiggers on Sunday November 15, 2020 @01:14PM (#25103342)
There is KDE Connect. You can easily respond to texts from that.

Barring that, sending a text is a simple one-liner in the terminal. Worst case, you can just run the command via ssh or whatever other workflow you may want.

Re:PinePhone – KDE Community edition by eckza on Sunday November 15, 2020 @07:45PM (#25106620)
Beautiful. Thank you so much.
Re:PinePhone – KDE Community edition by Happpy on Sunday November 15, 2020 @09:04AM (#25101246)
Is there auto call recording? Or on the roadmap.
Re:PinePhone – KDE Community edition by johnchristopher on Wednesday November 18, 2020 @03:56AM (#25134558)
In Europe, at least in my home country, law mandates some kind of beeps or warnings when recording calls.
Re:PinePhone – KDE Community edition by _wolfie_ on Wednesday November 18, 2020 @05:34AM (#25135222)
Yes, and you, as an user would be breaking the law. But as far as I understand there is no law that would prevent phones from having this function.
Re:PinePhone – KDE Community edition by qchris on Sunday November 15, 2020 @12:34PM (#25102945)
I hadn't heard about the new support for MMS, that's fantastic news! It's such an important part of group messaging in the U.S. that not having access to it was a huge blocker for me in terms progress towards daily driver status.
Re:PinePhone – KDE Community edition by oriesdan on Sunday November 15, 2020 @09:15AM (#25101323)
That's awesome. Great job!
Re:PinePhone – KDE Community edition by stonogo on Sunday November 15, 2020 @06:48PM (#25106153)
Which carrier?
Re:PinePhone – KDE Community edition by adamczi on Sunday November 15, 2020 @09:28AM (#25101422)
Hi! What is the state of running regular Android apps on Plasma? I heard of Anbox, but does this actually work? I'm interested in running my bank's app on PinePhone.
Re:PinePhone – KDE Community edition by 0rjf83 on Sunday November 15, 2020 @12:08PM (#25102680)
I can't speak for Anbox support on Pinephone, but regarding your bank's Android app it probably uses Google Safetynet, which I don't think Anbox has support for, or will ever support. Without Safetynet the app will probably not function, or will function with limited features.
Re:PinePhone – KDE Community edition by _underfl0w_ on Sunday November 15, 2020 @12:34PM (#25102944)
To add to my sibling comment's remark about SafetyNet, you miiiight be able to make something happen with Magisk or some other form of SafetyNet spoofing but that's a very deep rabbit hole. Also potentially a legal gray area. The sort of configuration that no dev of anything involved would be willing to support! Still, all hope might not be lost. YMMV.
Re:PinePhone – KDE Community edition by TheCraiggers on Sunday November 15, 2020 @01:15PM (#25103351)
Probably way easier to just fire up the web browser in that case.
Re:PinePhone – KDE Community edition by jraph on Sunday November 15, 2020 @03:31PM (#25104538)
Anbox "works" on the Pinephone, but takes ages to boot (several minutes), is really slow and eventually crashes the phone, in my experience (tried on Neon and Manjaro). I haven't managed to do anything useful with it.

I wonder if we'll reach a point where Anbox runs okay on the Pinephone, it seems super heavy. Anbox emulates a complete Android system after all...

Re:PinePhone – KDE Community edition by flavor8 on Sunday November 15, 2020 @10:40AM (#25101983)
Is Plasma Mobile up to running on tablets now? I got an MS Surface Go 10 months ago and at the time Plasma Mobile didn't support auto screen rotation, so for now I'm running Gnome. (I'd like to switch.)
Re:PinePhone – KDE Community edition by ekianjo on Sunday November 15, 2020 @08:38AM (#25101075)
Any reason why Firefox is not prominently advertised instead of Angelfish?
Re:PinePhone – KDE Community edition by ognarb on Sunday November 15, 2020 @08:47AM (#25101131)
Anglefish has been build specially for Plasma Mobile and use Kirigami (the framework powering most of the PlaMo apps) and QtWebEngine (based on Blink).

Firefox sadly doesn't give us any ways to just use the web engine and do our own UI on top of it. It's a bit sad because Firefox is my preferred web browser on the desktop.

Re:PinePhone – KDE Community edition by diggan on Sunday November 15, 2020 @08:43AM (#25101101)
One could guess it's because Plasma Angelfish want to be well integrated into the rest of the KDE ecosystem (works well with Plasma, has KDE wallet integration and all that jazz). I think Angelfish is based on webkit (via Qt) as well, for better or worse.
Re:PinePhone – KDE Community edition by sudhirkhanger on Sunday November 15, 2020 @09:28AM (#25101425)
It would be great if Plasma Mobile would look into supporting JetPack Compose which has been ported to Linux Desktop by JetBrains.

Even if I want to learn QML there is only so many things I could do in a day even if I want to. Plus JetPack Compose brings huge developer base to Plasma Mobile.

https://www.jetbrains.com/lp/compose/

Re:PinePhone – KDE Community edition by ognarb on Sunday November 15, 2020 @10:00AM (#25101666)
If it works on desktop linux and has an UI that adapts on small screens, there is an high chance that it already works on Plasma Mobile.
Re:PinePhone – KDE Community edition by rfvrgvegbegn on Sunday November 15, 2020 @11:07AM (#25102183)
Hi, thanks for your work on Plasma Mobile.

Android has an Hardware Abstraction Layer (Android HAL) that acts as a unique central clean definition of what the hardware provides and how to access it. It makes it easier for Android to remain HW agnostic and for HW vendor to be compatible with Android.

Is there a similar effort on Linux ?

Re:PinePhone – KDE Community edition by ognarb on Sunday November 15, 2020 @11:22AM (#25102309)
Plasma Mobile works fine on a mainline Linux kernel with a GNU userspace so there is no need to create an additional abstraction layer.

There is a project called Halium that allowed in the early days to run plasma mobile on top of the Android userspace, but we stopped working on it when all the plasma developers got their Pinephone and this was easier to work with.

Re:PinePhone – KDE Community edition by sto_hristo on Sunday November 15, 2020 @09:33AM (#25101466)
How do you see this develop in the future, especially concerning the convergence aspect of it - the ability to hook it up to a monitor and use it as a real desktop computer. Please provide your own personal and unofficial opinion.
Re:PinePhone – KDE Community edition by ognarb on Sunday November 15, 2020 @10:32AM (#25101920)
The Pinephone supports convergence, but there is still a lot of work needed on the software side. The under-laying technology "Plasmashell" is able to run different view modes: the traditional desktop mode, the mobile mode and the smart tv mode (https://plasma-bigscreen.org/). The missing link is the possibility to switch the view at runtime.

Now while I think the feature is cool, I'm not sure how useful it is. I don't really see myself using it and would prefer in almost all the case using my thinkpad with a good processor and plenty of RAM. This might change with future versions of the Pinephone getting more powerful with the time. For the moment, I'm happy to have the convergence of the applications with Kirigami, so that I only need to develop them once and use a similar interface on both my phone and laptop. And having KDE Connect to share stuff between my phone and my laptop.

Re:PinePhone – KDE Community edition by sto_hristo on Sunday November 15, 2020 @11:14AM (#25102235)
Alright, thanks.

For me the desktop capability of it is the most exciting thing. There are lots tasks i can do that don't require powerful cpu and lots of ram. I can even see myself developing in certain cases where i can just remote into a dedicated workstation - seeing what games mobile phones can run, it's not hard to imagine one can run a thing like vscode in client mode.

Re:PinePhone – KDE Community edition by megous on Sunday November 15, 2020 @11:21AM (#25102304)
Yes, it works quite fine. Even web browsing is not too horrible if you really need it.

https://www.youtube.com/watch?v=LdKNugT-mTQ

Enough for HN browsing, for sure. Even on a 1440p display.

Re:PinePhone – KDE Community edition by megous on Sunday November 15, 2020 @11:15AM (#25102254)
It can be very useful if you use all HW acceleration Allwinner SoCs can give you to make PinePhone into a portable movie player. :) Hook it up to a TV via HDMI port in a hotel and play anything you like. It can achieve quite some performance that way:

https://www.youtube.com/watch?v=yyRm8kccyG4

https://www.youtube.com/watch?v=dHOgVmxH_dA

Other side of Allwinner SoC business is making TV box SoC (H* series of SoC), and it shows on A64 too.

It can do video playback at 60FPS HW scaled to larger 1440p displays, for example. Including audio over HDMI. This is already working with current gstreamer and kernel.

Re:PinePhone – KDE Community edition by butz on Sunday November 15, 2020 @09:31AM (#25101453)
Is there any integration with Plasma desktop, e.g. Calendar or Notes sync, or notifications display on desktop when phone is connected to PC?
Re:PinePhone – KDE Community edition by jrepinc on Sunday November 15, 2020 @08:33AM (#25101050)
Any such plan for KDE edition for Purism Librem 5?
Re:PinePhone – KDE Community edition by neilsimp1 on Sunday November 15, 2020 @09:38AM (#25101523)
No "Edition" but Plasma Mobile is supported on PureOS/Librem 5 and it's possible to switch to use that in place of Phosh should you want: https://developer.puri.sm/Librem5/Development_Environment/Bo...

I am not sure how up to date Plasma Mobile is in these repos though. It's been a while since I tried it out.

Re:PinePhone – KDE Community edition by ognarb on Sunday November 15, 2020 @08:58AM (#25101209)
Some Plasma Mobile developers have receive a Librem 5 phone but afaik there is no KDE edition planed for the Librem 5 yet.
Re:PinePhone – KDE Community edition by mxuribe on Sunday November 15, 2020 @10:40AM (#25101978)
Thanks so much for all your great work!!!
Re:PinePhone – KDE Community edition by shmerl on Sunday November 15, 2020 @10:43AM (#25102007)
Is there any setup of Plasma Mobile that supports VoLTE?
Re:PinePhone – KDE Community edition by vffhfhf on Sunday November 15, 2020 @08:48AM (#25101134)
Why not develop on snapdragon 865 soc and 6-8 gb Ram?

I bet it would run really better.

Re:PinePhone – KDE Community edition by happymellon on Sunday November 15, 2020 @09:59AM (#25101658)
Because no one has released an open source phone with these specs?
Re:PinePhone – KDE Community edition by ognarb on Sunday November 15, 2020 @08:54AM (#25101179)
Because it's quite hard to get more modern and powerful processors to work with a mainline Linux kernel and because of this, these processors are only working with Android.