Pinephone – “Community Edition: PostmarketOS” Linux smartphone
store.pine64.org
store.pine64.org
If anyone is interested in original info from the author of the USB-C/HDMI work, I also put useful information/observations from my work on the kernel and PinePhone here:
https://xnux.eu/devices/pine64-pinephone.html
The current thing on my radar is writing a power manager for the modem. :) That will improve the standby from 24h with the modem active to ~90h.
EDIT: All is well, btw. There's just a lot of pressure on pine64's small team, and it's hard to keep up with everything.
It's a pity this requires tricky surface mount rework.
Thankfully, just removing the switches will fix CC pins and PP will be able to work with many USB-C peripherals after that.
I have two pinephones that work nicely with two different USB-C docks and an USB-C 4x USB-A adapter just with this fix.
There are probably not that many interesting peripherals/cables that would benefit from supplying power over CC pins. (which just removing the switches makes impossible) A lot of peripherals will make do with VBUS power.
Is it possible to manually configure the port to work with HDMI or as a host (in sysfs), or is the hardware change required (on preorder/braveheart phone)?
Is there a single place with the most up-to-date kernel sources with usb hardware drivers, audio support for modem, etc.?
I'm aware of three maintained kernel trees specifically for PinePhone:
Samuel's: https://github.com/smaeul/linux Mine: https://github.com/megous/linux/ Pine64: https://gitlab.com/pine64-org/linux/commits/pine64-kernel-5....
I think at the moment all of those are pretty much equivalent feature-wise, except for some mild differences.
It's not possible to workaround (in software) anything that requires CC pins to work properly, that includes setting up display port alternate mode.
As a late-but-early adopter of other phone projects the thankless work that you do is what allows adopters like me to even get started. Thank you.
Booting to my custom init process, initializing the system and running my UI app in ~1 second
Try that with any other smartphone...
I've also experimented with booting to electron and having the whole phone UI written in it...
https://megous.com/dl/tmp/a1017dd38ca6ce10.png
Batter gains in standby are something else. Main CPU is off, and no processes are thus running, so it doesn't matter what SW you have, for those gains.
But yeah, this category of smartphones definitely is something special :)
Librem 5 has a slightly faster CPU, more than twice as fast RAM and pretty much the same eMMC speed as the PinePhone. Boot times should generally be similar, with Librem 5 slightly winning, and that matches my observations so far with similar distros running on both devices.
No videos yet though, I may record some in the future :)
You can also set up RTC to wake up the phone periodically and perform whatever polling you need and put it back to sleep afterwards, all automatically.
Coincidentally, they also announced a soldering iron called the 'Pinecil'[2] which is based on the venerable TS100 but with a risc-v microprocessor running freertos for $25.
[1] https://wiki.pine64.org/index.php?title=PinePhone_v1.1_-_Bra...
[2] https://www.pine64.org/2020/07/15/july-updatepmos-ce-pre-ord...
My guess would be the modem is the most power hungry component of practically any smartphone and 24hrs is already in line with mainstream smartphones so any additional % squeezed would be amazing indeed.
EDIT: Maybe 90hrs? https://news.ycombinator.com/item?id=23852043
Modem in sleep, according to datasheet, consumes ~10mW.
Current state of the art power consumption of the whole phone without the modem on at all is 110mW. (this is the value on which the 100h figure is based on)
So when the modem will be actually in sleep, it will not add much to the equation.
"The current thing on my radar is writing a power manager for the modem. :) That will improve the standby from 24h with the modem active to ~90h." [1]
not to say more trusted.
Mobian is definitely my favorite of the three so far. Set-up was really easy, I'm perfectly okay with the Phosh UI, and being able to do package management with `apt` vs. `apk` is huge, since I'm much more familiar with Debian's setup than Alpine's. It didn't seem like something that would matter a bunch, but it's ended up being a big quality-of-experience improvement for me.
Documentation seemed better for Mobian too, and getting everything set-up was very easy (user set-up vs. the pmOS "demo" user). Plus, at least the image of pmOS I had (about two weeks ago fresh .img file, plus regular updates), Firefox support wasn't great because of auto-scaling vs. the Firefox ESR on Mobian that just works. Like, open it up, log into my Firefox account, then start playing a Youtube video with zero tinkering just-works. I ended up calling a family member across the country and talking with them for about 10 minutes soon afterwards as well, with no issues. Plus, I was able to SSH into it from my laptop and build/run a Rust binary. On a phone. That was quite a fun moment. Still definitely a beta, but for me it's the closest to a daily driver of the three.
I don't see myself switching back to pmOS or UBports unless they suddenly make a huge leap.
The new PMOS version gets a new hardware revision, 1.2a, which is when the issue was resolved. The earlier versions (including the Ubports/1.2 and Braveheart/1.1 revisions) both have the issue.
I own the 1.2 (ubports edition) version of the phone, and I really want the external display capability, but I've never been any good at soldering something so small! It sounds like there will be some volunteers helping to fix the issue on the earlier versions, if you send them the device, which I very well may do.
As a former Nokia N900 owner, I was solidly disappointed by UBports. I suspect that, for example, the PureOS port to the Pinephone may eventually give users like myself what they are looking for. Luckily, even if your Pinephone is branded for a specific operating system, you can replace that OS with whatever other OS of your choosing.
1 - https://mobian-project.org
2 - https://github.com/dreemurrs-embedded/Pine64-Arch/releases
One nice thing now that I actually have my Pinephone is that I can start seriously exploring and answer the question: 'what do I want in a mobile Linux device and experience?' Which I suspect is the real point of the Pinephone: to stop theorizing and figure out where we want Linux to go on (relatively modern) mobile devices.
My biggest complaint right now is the rough state of power management on all the distros. The good news is progress is being made on this front very quickly.
FWIW I think the variety of available operating systems can only be a good thing. There's more going on to attract contributors and presuumably work done on things like drivers can carry over to other OSs.
Irrespective of HongKong situation, it was already tough to receive pre-built smartphone shipped from China in India without paying extraordinary import taxes; Now due to China goods blockade there's no way I'll be able to receive this PinePhone and I'm very sad for it.
I hope Pine64 starts shipping from their Malaysia front(Which seems to be office of their Chinese manufacturer - Syabas Technology[3]). I really want these pure Linux phones to succeed, I'm tired of this duopoly in the smartphone ecosystem as a consumer, developer and as an entrepreneur.
[1]https://www.reddit.com/r/PINE64official/comments/g8dqx9/pine...
[2]https://store.pine64.org/terms-of-use/
[3]https://www.reddit.com/r/PINE64official/comments/gbliyw/some...
Still growing by 2.9‰ (current 10 day average).
https://ec.europa.eu/taxation_customs/business/vat/modernisi...
Also declaring customs is not free. If you used DHL, they'll charge you ~22 EUR extra just for the privilege of them forwarding some info to customs.
They're trying to do for smartphones what PC-compatibles did for home computers: deliver a standardized general-purpose operating system across different hardware.
He said the phone is definitely still not ready for everyday use, but great for devs obviously.
https://ar.al/2020/07/12/live-stream-a-web-site-on-your-phon...
Use Java framework and NDK APIs instead of pretending Android is Linux with another UI shell.
The ability to run the exact same OS on my phone as I do on my laptop with a nice, mobile friendly UI while retaining all the power is a remarkable achievement for the free software community.
Here is a video walkthrough I found on youtube. I am not sure how up to date it is. https://www.youtube.com/watch?v=mjaJJ6o-mbM
I used to have an N900. This is better.
Our community of doers who celebrate freedom by doing are amazing. This is almost, but not quite, the last piece of our autonomous puzzle.
Very soon now we'll have fully distributed jurisdictional priority, and we'll use this kind of tech to measure we're doing it right. We will demonstrate right of appeal to each other.
I love hacker news
I've had a couple of them, they were way ahead of their time. The hardware had a few bugs but the form factor and keyboard were amazing, and the camera was very nice. I actually preferred the resistive touch screen on a slider like that, it made for fewer accidental touches, and it was very precise for stylus use.
There's a (stalled?) project[1] to swap out the main board with a modern, supported replacement, keeping the rest of the hardware the same. I'd love to see the interest in the Pinephone cause that project to wake up again. PostmarketOS would be a good fit for the Neo900.
I have a lot of optimism for this phone. I don't know whether to buy one of these, or wait for the "GA" version to come out. I'm most interested in running Plasma Mobile but being able to "distro hop" on a cell phone is pretty awesome.
There are things that could be better, like having a different WiFi chip, that would have a better [actual mainline] driver support with working power management. Not sure how likely that is. Probably not much.
Define usable ;-) The distros are all very much a work in progress as even basic things like power management and device drivers still under very active development. The hardware of the Pinephone feels pretty solid and the software is just about at a 'hacker friendly' stage where you're not having to deal with fundamental annoyances at the system level. It's still a long way from being 'daily driver' ready though.
The internet tablet line from Nokia 700 through to N900 on the other hand was by all means an “Xorg based” device, though only N900 could make calls(IIRC)
Had one many years ago. Great idea but not a livable-with phone. Put me off dev phones possibly forever.
Didn't stop me getting an N900 at launch though. Great little piece of kit.
Do you actually have the Librem 5 yet?
Based on the mediocre battery life I'm hearing about on the mntre reform 2, and the need for such a heat sink there, I'm very curious what the Librem 5 situation is. They share a common SoC.
The battery life and thermals got much better in the last few months, and there's still plenty of stuff to improve on in the software stack there. With my early batch unit with smaller battery (2000mAh) I'm now able to reach 6h of idle time with modem and WiFi on without utilizing CPU suspend at all (so the phone stays reachable all that time and you can, say, ssh into it - the high figures from the PinePhone blog post rely on putting the phone into suspend). There's still plenty of work left, but I'm pretty happy with how usable Librem 5 comes to be right now.
iMX.8M can be a power and thermal hog, that's right, but once you tame it in the kernel it becomes much more approachable ;)
Mine effectively died after about three years, the USB charging port came loose and the only way I had to charge it was removing the battery and charging externally.
The freerunner was just a little too pre-market for me. I remember installing various different OS and frontend packages and trying lots of things out. It would have been fine but for one failing - whatever I installed, incoming calls would often just be silent. A phone that can't take calls is a step too far!
Freerunner sure needed some attention to make it work, but with workarounds and hw fixes for the infamous #1024 and call buzz issues it was a pretty great device. I would have used it longer if not for unbearable GPU performance that drove me towards N900 (damned glamo :))
1. Apps like Revolut and others I rely on don't work on Ubuntu Touch to my knowledge.
2. Ubuntu Touch is not 100% customizable either. The rootfs for example is mounted as read only with no ability to change that. My ext4 sd card could not be mounted through any gui from what I tried. Mounting it through the terminal worked, but when I put it into fstab (and imo "fixed" the read only rootfs) the changes were reset on the next boot. That was the point where I decided to switch to mobian.
https://www.pine64.org/2020/07/15/july-updatepmos-ce-pre-ord...
imgur backup of the essential banner: https://i.imgur.com/XteJmBp.jpg
> Introducing PinePhone Convergence Package with postmarketOS CE featuring 3GB RAM/ 32GB eMMC and a USB-C dock for $199; available alongside regular PinePhone postmarketOS CE for $149
Anyone want to buy my Braveheart?
> While we’re discussing this topic, let me tackle the elephant in the room and acknowledge that a design flaw in PCBA rev. 1.1 and 1.2 prevents this functionality (please see relevant documentation related to CC pin) on Braveheart and UBports CE phones. Thankfully the fix to the problem – the removal of two small components from the PCBA – is relatively simple to perform for someone with good soldering skills. At the same time I recognize that many community members, myself included, are not capable of completing this operation. To this end, we will set up a chain of local (in your geographic area) workshops, makerspaces or individual technicians capable of performing this fix, so you can send your 1.1 / 1.2 phone to them to complete the repair.
(https://www.pine64.org/2020/07/15/july-updatepmos-ce-pre-ord...)
Maybe we can work something out. My email is in my profile.
Right now I am incredibly disappointed with pine64 in terms of their customer relations.
>Device Warranty: 30 Days
that's not legal in the EU right? minimum is 1 year for businesses and 2 years for consumers?
IANAL, but it seems to me like PINE is not "specifically targeting EU consumers".
Nonetheless, such a short warranty period is rather embarrassing for a niche product sought for mainly by folks disappointed with mainstream products' profit-oriented fragile design and poor support cycle. Heck, it even has "postmarket" in its name :P
Source: https://europa.eu/youreurope/citizens/consumers/shopping/sho...
More information: https://europa.eu/youreurope/citizens/consumers/shopping/gua...
I don't mean a debian based OS that is maintained by someone else, but something that is maintained by and can be downloaded from Debian?
If it boots and gives me a shell, I would be happy. I don't need a GUI or phone specific software. If I can have a real linux computer in my pocket, that would be great.
As far as I can see, Mobian is maintained by Matrix.org whom I never heard of before.
The reason I would like to use Debian is that it is maintained by the Debian foundation who have an excellent history of trustworthiness and reliability.
Why can't one install Debian on the PinePhone?
https://gitlab.com/mobian1/mobian-recipes/-/blob/master/root...
I am not sure who is maintaining Mobian, but it is surely not Matrix. Matrix.org is the website of a chat protocol, where they have a support channel. Here you can see some members https://liberapay.com/mobian
https://wiki.pine64.org/index.php/PinePhone_Software_Release...
A patch has already been accepted in linux-next for the driver for the display and will be in 5.8, ther are a bunch more components that are missing with a pure mainline kernel.
There's really nothing else that's needed other than the kernel to make any aarch64 distro run on the phone.
Right now the performance is better than on my pinephone but there are also some issues, like Libertine not working correctly.
The main issue with anbox right now is that video/audio playback does not work. Apps like NewPipe and AntennaPod run fine except that no playback is possible (results in blackscreen).
Dual booting a linux distribution with something like glodroid seems like a promising solution!
The web is the only saving grace for any of the upstart mobile devices and new operating system projects, when it comes to compatibility with incumbent/major apps.
That's also why open protocols/APIs/formats, data portability, are important. So that people who care can write an independent clients. One of the banks I use has an open, docummented JSON API for end users (as a basic feature of the regular bank account, that everyone gets access to by default). I can easily write a bank app for that, to be able to do some basic account overview and wire transfer payments.
It's not a locked down platform, so if security means that everything has to be signed/verified/locked down and unmodifiable by the user, then it will not pass.
It means you get the freedom to choose a different pre-approved proprietary app to access your bank account (which will probably make its money from selling a nicely detailed advertising profile based on your transactions), not the freedom to interface with your bank with an open API.
Also, because of the strong authentication requirement from PSD2 (amongst others), you won't get to do banking in an app except on an Android or IOS smartphone. Add to this the ongoing drive from banks and governments alike to push authentication even on a normal computer to smartphones (i.e., you use their proprietary app on an Android/IOS smartphone to authenticate when you access them via a web browser on a normal computer), and the picture becomes really bleak for any alternative smartphone OS.
The current trend, at least seen from the Netherlands, is: you submit to an Android or IOS smartphone, and you get to do things like banking or accessing your digital healthcare dossier online. If you don't, then you are classified as digitally illiterate, and are nudged towards having people near you assume those tasks in your name by delegation — basically the strategy for elderly or the mentally incapable. The third option, authentication using discrete hardware such as card readers (currently an option for many banks) or something like WebAuthn is something banks would really like to get rid of because of the cost of maintaining multiple authentication methods, and hey, everybody owns an Android/IOS smartphone anyway, so why not .. ?
Very useless, unless you just want to give your data to more third parties.
In addition EU also broke all my bank scraping scripts (except for the mentioned bank, that still has the same API it had for years already and doesn't require two factor auth, just an api key) by enforcing two-factor (well not really, just SMS auth, it's not like I can use any other 2nd factor, or make my own).
So in addition to helping third-party data slurpers, they also broke the first-party data access with the latest regulation.
It's not the EU enforced API (that's not intended for end users anyway - I tried asking other banks for API access too, and failed). This bank had this API for years.
Great work Pinephone team!
No idea how usable out of the box that is of course...
I don't like the "powered by Linux" and "postmarketOS" branding in the device.
What if I buy it to run netbsd on it?
Another brick.
Please, please, please: make phones smaller. The Nexus 4 was the largest that actually fit a pocket.
Depends what you mean by "a pocket"? I think the iPhone 8+ is very close to the same size as the PinePhone and noticeably bigger than Nexus 4.
It fits comfortably into the pockets on most pants, shorts, jackets and sweatshirts I own. Maybe I tend to wear things with big pockets? If so, it's not intentional.
My S10+ fits in the pockets of my clothes. I'm sure there are pockets that the Nexus 4 is the largest phone to fit—and pockets too small for it—but it's hardly as if there is a single universal consistent size for pockets.
Not expecting a daily driver, but probably the most fun tech gadget of 2020.
PS C:\> Measure-Command {curl.exe -I https://store.pine64.org/product-category/pinephone}
TotalSeconds : 23.2096005edit: to be fair as others pointed out, it's likely that I've mainly ended up on their store after/during the hug of death from hn/reddit.
It may never have been _instant_ loading, but it's always felt fairly responsive to me.
Hi, Pine64 sysadmin here... yea, our store doesn't like the big surges of traffic we get around product launches. As I speak, we've been getting about 600 concurrent connections for the last 30 minutes, and at least 450 for the last few hours.
We've done some optimization behind the scenes in anticipation, but it's clearly not enough. We're going to be doing some heavy upgrades right after these preorders close.
We previously used Cloudflare, which obviously fixes most of these problems, but people in these types of circles tend to get pissy about CF.
I'd recommend setting up WP Super Cache (which you're using now) to serve static HTML files (not sure what caching method you are using). Then you need to configure Apache (or switch to nginx) to actually look for those files, otherwise the plugin won't do much (it generates PHP files by default which are taxing on the server). Another option would be to switch to the Cache Enabler plugin (along with Apache or nginx configuration) - static HTML page caching as simple as it gets. Oh and upgrade PHP.
Edit: For Cache Enabler, check suggested advanced configs at https://www.keycdn.com/support/wordpress-cache-enabler-plugi...
Edit2: CF would just by default cache your CSS/JS, wouldn't really solve the issues you're experiencing (most likely heavy PHP/MySQL load due to poorly configured caching). That said I haven't looked into the site that much, might be that you have a lot of portions of the site that can't be properly cached but then again most users shouldn't need to be logged in so doubt it.
I'll look into changing the caching once we're over the worst of this. Forgive me if I don't want to make significant changes during a massive traffic spike. ;)
I mean, most of the WP related assets do not have to be served through PHP necessarily, so they can free up some connections very easily.
If you need help with the webdev side of things to optimize/simplify more on the CSS/JS side, I'd love to help out in this project.
It's not fully functioning but you can see what's working fairly quickly;
Not qualified to have an opinion, myself.
rip
That's an instant turn off.
Getting any kind of response from then can take two to three days and all you get is "thank you for your understanding and patience" while they "wait for the manufacturer to provide replacement parts".
From their store page.