40 comments

[ 2.7 ms ] story [ 36.3 ms ] thread
Seemed interesting until I read that Phosh pulls in GNOME - gnome-settings, gnome-session etc. Seems like a very strange bundle to bring in for an extremely power constrained device, where every % of increased battery drain is noticed by the user
Why? What's particularly heavy in these gnome tools?

Like the particular programs are no issue, but the whole UNIX-userspace as done in the mainframe era and still is. Like you definitely need cooperative program suspend/resume like on Android for any kind of sane battery life, but that's unfortunately completely missing in case of GNU/Linux.

> What's particularly heavy in these gnome tools?

Nothing. On my phone there's 770MB RAM consumed by the entire system with Phosh running right now. The rest is free to be eaten by the browser.

If anything, it's GTK that can be rather inefficient when it comes to rendering (both GTK3 and GTK4, but for different reasons). There are some tricks that phoc (Phosh's compositor) could still learn too, but it will get there.

Phosh is not based on gnome-shell and has its own settings and apps, but it does use parts of gnome, no reason to reinvent the wheel.

> Seems like a very strange bundle to bring in for an extremely power constrained device, where every % of increased battery drain is noticed by the user

I'm sure you can make your Frankenstein version that would be 10% as usable and secure as phosh by removing everything but for most users, 100mb more ram and 1% more battery drain for an OS aiming to be a daily driver is something that's worth it.

I'm a certified gnome hater, but a phone is basically the perfect application for it. As far as resource usage goes, I have been dailying an FLX1 for a year and a half now and Firefox is the only noticeable resource hog
Linux has long been the most practical laptop OS for me, but I can't see it ever being competitive with mobile OSes, and that's coming from someone who wants it to succeed (I've installed postmarketOS on a OP6T). I just don't see how it will overcome the various issues (app support, tap-to-pay, camera quality, etc).
Oddly enough I am using Win10 right now on my laptop. On my main computer I use linux but I also got tired having to set up things specifically for the laptop or be locked down in a specific distribution; plus, I also have to run various software on the laptop and when the rest of the class or group uses Windows, and you are the sole Linux person, it feels very lonely. So I fake being a win user in that case.
I've never understood tap-to-pay being a dealbreaker issue. It takes me just as long to pull out my credit card as it does to pull out my phone, and you can use them on the exact same terminals.

App support and camera quality I can understand more. I'm on a Linux phone using Phosh (FLX1s), and there's Android app compatibility, but it is a little rough (and of course things that rely on Play Integrity won't work). I've managed to avoid tying myself to anything that requires Google for now, but I acknowledge that I'm lucky there.

With tap-to-pay, you can store multiple cards in your digital wallet, and you don't have to remember any of their PINs. You can use your fingerprint to sign transactions. I believe this makes it faster.
There's also thresholds where a simple tap of a card won't work and you need to insert the chip, not the case with the phone. Phone is much much easier, don't even have to open the wallet app, just unlock the phone with your fingerprint and tap.
I just put my debit card in the pocket in my phone case. Job done. If yours doesn't have a pocket, you can try putting it between the phone in the case. In that scenario, I suggest turning off NFC on the phone so it doesn't keep trying to read the card.
> It takes me just as long to pull out my credit card

It's a lifestyle difference.

I personally don't being my wallet in most daily trips, have no use of it. I used to stick a credit card in my phone case but also got rid of it as more stores reliably offered wireless and QR code payments.

Mind you this comes with a specific environment I don't expect everyone to live in or long for, I'm just explaining.

See, I have to have my driver's license, but if I could have that on my phone as well, I might do this. Running out of battery is largely not a concern for me as I already carry an external battery with multiple days of charge.
In Denmark at least we have this, both our drivers license and social security cards are apps on our phones. I only need my old physical drivers license when I leave the country.
Tap to pay isn't itself a dealbreaker, for me it's more a representation of the status-quo and what is to come, specifically how more and more of the modern world will rely on integrations with proprietary software and hardware on phones. Tap to pay with credit cards isn't too big of a deal, but the wallet as a whole (i.e. boarding passes for airplanes, gift cards, ChargePoint tap-in) is a major feature.
I often leave the house without my wallet these days. It’s great. Especially riding the subway, where Apple’s transit functionality means you don’t have to do anything other than tap your device without even unlocking, is a very nice convenience when you’re carrying groceries or something similar.
The main issue is lack of banking app support for me. Without that (which the banks will never allow) you would always need two phones.
At the risk of sounding really old can't you use your computer/laptop for that?
That's why I never accepted the app from my bank. It still work most of the time but it's cumbersome for some uses (like adding a new recipient for wire transfers, it takes two days).
As long as every phone distro is just a desktop distro shoehorned on a small screen, that's not gonna happen.

IMO it's not a matter of tap to pay and camera quality, rather a matter of whole system paradigm. Having millions of disconnected services in the "do one thing and do it right" spirit and using text based communication and hundreds of python and shell scripts is relatively maintainable and relatively easy to use, but very inefficient when it comes to CPU cycles - and on a handheld every cycle counts.

And of course every app is optimized for desktops/laptops... but I guess that's a chicken-or-egg problem: once there is a working distro, there will be apps too. And once there will be apps to use, there will be a working distro. Maybe.

From personal experience, many apps work suprisingly well on Phosh. The thing keeping me from using a Droidian phone with Phosh was a seemingly device-specific issue with answering regular phone calls. Kind of ironic that the linux phone could do many apps from FlatHub flawlessly with touch and everything, but not regular phone stuff. Nevertheless, the smartphone part is handled quite well with the Settings app, the quick toggles, the support for flatpaks, and so on, especially with Wayland where the android ecosystem is within reach.

If I read correctly, you identified the lack of smarthpone-level apps and distro as the limiting factor. In my opinion, the lack of sufficiently powerful but still open hardware is what we miss. Mainline linux with proper hardware support is pretty good but not complete on the Snapdragon 845, a 9 y/o platform. Anything newer? Nearly impossible without some android-specific layers (such as libhybris in the case of Droidian). Currently mid-high level hardware with PinePhone-like openness would probably let Phosh (and Plasma-Mobile, SXMO etc.) distros strive. The smart features, as in the apps, are mostly there.

Better open hardware would help a ton. Phosh itself was made for the Librem 5. The mobile specific Linuix apps are getting made in response to hardware, not to make a market for it!
I've been using GNU/Linux on my phones for the last 18 years, initially as a hacking platform back when I was a teenager and now as the most practical mobile OS for me. I often see people mentioning these areas as something they "can't see becoming competitive", but this doesn't really match my experience. It feels very much like what running GNU/Linux on a PC without having Windows around felt like 10 years ago or so and it very noticeably keeps moving forward over time.

My experience today is that I have all the applications I need daily, and the odd ones I don't have natively I can run in Waydroid. There are currently some limitations when it comes to access to hardware from within the container, but nothing that couldn't be overcome with some moderate effort. The only real blocker is remote attestation, but I see it as a threat to the whole fabric of society, not just Linux phones, and it should be opposed regardless of platform one uses.

I don't really get tap-to-pay. I never thought it's something I want or need to have on my phone (which doesn't even have NFC, though it could be added as an extension). I just use a card. I get it that it may be slightly more convenient, but definitely not worth changing the OS over. That said, I have full access to my bank account from my phone anyway. Practically everything except TOTP payments (Blik) can be done from the Web (and with Epiphany's webapps it's just there as an app to launch), and Blik can be used from the Android app in Waydroid. Frankly, if I couldn't access the bank from my phone I would rather change the bank than the phone, and would make sure to let the customer service know very clearly why I'm doing that.

And when it comes to camera quality, matching the state-of-the-art overprocessed mess would be hard, but having played with camera processing a lot recently I can say that perfectly adequate quality is absolutely well within the reach (if not there already for daylight photos). I only researched absolute basics of photo processing and implemented some essential stuff while completely ignoring others and I'm already quite happy with the photos I get (https://social.librem.one/@dos/tagged/shotonlibrem5) and there's enormous room for improvement still that only needs someone who knows what they're doing to sit down and implement things that are missing. Some of that stuff is already happening around libcamera as more people get involved there thanks to laptops with webcams that also need similar software handling. The particular phone I'm using doesn't have hardware video encoder (only a decoder) so video recording will stay low res there forever unless limited to short clips, but it's not a limitation inherent to the platform, just to this specific device.

I have briefly carried an Android device as a secondary phone some 10 years ago out of necessity (N900 was starting to get too old to handle the Web and Librem 5 did not exist yet) and it felt quite miserable, it seemed like an appliance rather than a personal computing device despite of equipping it with microG, F-Droid, rooting it etc. When you're used to being able to script a simple thing right on your phone using whatever technology you already feel comfortable with, it's hard to give it up. The only actual obstacle I see on the path is the threat of remote attestation gaining widespread use and this affects any existing or future platform from outside the duopoly, not just GNU/Linux in particular.

Thanks for sharing your experience, I'm glad to hear that mobile linux is practical for some people. What do you do for GPS? And in day-to-day use, doesn't WayDroid drain the battery?
I usually use Pure Maps [0]. Note that various phones handle GNSS differently and for fast fixes, depending on the phone and distro, you may have to configure or trigger retrieval of assistance data from the Internet ([1] is an example for Librem 5's Teseo LIV3) - the module will be able to download all this stuff from the sky as well, but it may take several minutes or even fail under poor conditions, while getting fresh data online and acquiring a fix based on it takes seconds.

When it comes to Waydroid, I boot it up very rarely and usually just to do something specific and stop the container afterwards, so it's not a concern. But if you wanted to keep it loaded for fast access (booting it up takes about half a minute) you can either freeze the container or just suspend the entire phone and it shouldn't influence anything other than keeping RAM occupied.

[0] https://flathub.org/en/apps/io.github.rinigus.PureMaps

[1] https://source.puri.sm/-/snippets/1207

The name sounds like someone driving by at high speed ...
Terrible name. It's going to fail on those grounds alone.

Not that it would really succeed otherwise. You need Android app compatibility to stand a remote chance.

> You need Android app compatibility

That's not phosh's problem; waydroid is a pretty much independent component.

I've installed this on my Surface Go 2 64GB. Runs smooth! Absolutely the best tablet experience for Linux. The support is also wild: My silly questions are answered within hours.
This is a good example of a poor web site design. If you, like me, do not know what Phosh is and go to their website, it will tell you not much beyond "A user interface for your mobile phone," which could mean pretty much anything. Is it a UI level on top of Android? Is it an idependent mobile OS? How it is better that competition? What are key features and design goals?
From that same website:

> About Phosh

> The Phosh project aims to provide a daily-usable, robust and easy to use graphical user environment for mobile devices running mainline Linux. The name is a portmanteau of phone and shell as phosh was one of the first components developed by the project. It hence coined the whole project’s name and is still one of its core components. All of Phosh is entirely Free Software.

I think it’s more a failing of a link aggregator site like this one dropping you into a release announcement page without context. If you don’t already know what Phosh is, why would you read their 0.56.0 announcement? Normally you wouldn’t. But here we are. Putting “The Phosh project aims to provide a daily-usable, robust and easy to use graphical user environment for mobile devices running mainline Linux” on every release page feels like a waste of time.

As it is I didn’t find it at all difficult to find the answers to your questions by going to the “about page”.

See, you went the extra mile.

Like the person you replied to (I assume), I clicked on the home page, pondered why one would not describe the app's purpose on the home page, failed to scroll horizontally with a mouse and closed the page before noticing the about section.

They didn't even lose me with the original link I couldn't make sense of.