HNHacker News
TopNewBestAskShowJobs

microtonal

27,097 karma · joined June 29, 2010

Opinions are my own.
submissionscomments
microtonal··on AOSP Source Releases Are So Late Developers Disassemble Libraries to Report Bugs
I have read in multiple sources that OEMs cannot roll out QPR1/3. E.g. see this thread:

https://grapheneos.social/@GrapheneOS/117282080803799576

Since they are working with two OEMs (one for GrapheneOS support and one for getting embargoed security patches), I think they know what they are taking about.

microtonal··on AOSP Source Releases Are So Late Developers Disassemble Libraries to Report Bugs
But doing timely security updates is not impossible. Apple does it, GrapheneOS does it, Google does it with Pixel, Samsung is nearly doing it on flagships.

But many Android OEMs are probably terrible at software engineering and have their attention spread across multiple SoCs, etc. It’s their own fault.

microtonal··on AOSP Source Releases Are So Late Developers Disassemble Libraries to Report Bugs
I would be surprised if they have the expertise and manpower to do that.

They are mostly relying on LineageOS now and putting their own cloud, microG, and App Store app and branding on top of Lineage. Even now they are not able to roll out Android releases and WebView updates timely. Them maintaining an AOSP fork would probably end up in an outdated, broken mess.

My money is on GrapheneOS and maybe LineageOS to do it when needed.

microtonal··on AOSP Source Releases Are So Late Developers Disassemble Libraries to Report Bugs
WhatsApp and my banking apps work fine on GrapheneOS (and /e/OS).
microtonal··on AOSP Source Releases Are So Late Developers Disassemble Libraries to Report Bugs
We are already there and it is called Play Integrity (meets STRONG integrity) and Google is trying to get apps to use it to shut out competitors. They are succeeding to some extend (see the Volkswagen and IKEA Smart Home apps as recent successes for Google).

Google should not be allowed to abuse its duopoly position in this way. I recommend EU citizens to report every case they are (potentially) affected by to the EU DMA team.

microtonal··on AOSP Source Releases Are So Late Developers Disassemble Libraries to Report Bugs
Aren’t most OEMs in violation anyway because Linux (as in the kernel) gets regular security patches and most OEMs are on ancient kernel versions?

Also, major Android releases and QPR2s have many security fixes (anything not marked high/critical), yet OEMs are not rolling them out (QPR2) or very late (major releases).

Just to say that OEMs were probably violating the act already before Google started withholding source code.

I also think it’s an attempt of Google closing up AOSP more, otherwise they wouldn’t make it so darn hard to get updated Pixel kernel trees.

microtonal··on AOSP Source Releases Are So Late Developers Disassemble Libraries to Report Bugs
As far as I understand, most OEMs are not allowed to release QPR1 or QPR3 either (not that OEMs outside maybe Samsung would be able to). So part of it also reeks of giving Pixel benefits over phones of other manufacturers.
microtonal··on AOSP Source Releases Are So Late Developers Disassemble Libraries to Report Bugs
Even better, you can install your own AOSP-based OS that does not track you, will not have a 24 hour waiting period, etc.
microtonal··on AOSP Source Releases Are So Late Developers Disassemble Libraries to Report Bugs
Yes, let's throw away a fully mature smartphone OS (AOSP) and replace it by something that does not even have proper app sandboxing. /s

The alternative are other AOSP-based OSes like GrapheneOS and Lineage. Once they are used widely enough and funded enough, they could fork AOSP when needed. In some sense they have already soft-forked in that they use major and QPR2 releases, but put a lot of patches on top to fix issues, improve security, etc.

GrapheneOS has an estimated 500,000 active installs now, apparently LineageOS has 1.4M active installs. Probably around two orders of magnitude more than traditional Linux desktop-based phones, which have been trying since, checking notes, Maemo in 2005?

microtonal··on New Apple TV 4K
Yeah, you have to trust the app. The point is that they don’t have to do anything nefarious in their app, because there already is a gaping hole in the system.
microtonal··on New Apple TV 4K
I think you could still get the previous model from third-party stores the next few days.
microtonal··on New Apple TV 4K
Yet, most people fall for the E2E-encrypted iMessage story, while the Messages are only encrypted at rest when you have iCloud Backup enabled (I’d guess most people) and ADP disabled (I’d guess most people). The fact that I have ADP enabled doesn’t matter because most people I communicate with don’t have ADP enabled (or know what it is).

This is all only mentioned in the footnote of an iCloud security document [1].

Apple cares about your privacy, so much that they made a backdoor through bad defaults, well in reach of the CLOUD Act.

[1] Footnote 9 in https://support.apple.com/en-us/102651

microtonal··on Apple HomeView
Shrug

It looks like a nice device at a reasonable price. I looked at the video, but it doesn't solve any problems I have. We ban screens at the dinner table, it's for having attention for each other, not for screens. I never have to ask for a recipe for french toast, it's either in my head, or in cookbook, or written down on paper. The very rare number of cases someone loses their key, we can just look it up with Find My on the phone, it's such an irregular occurrence that it's not a hassle to find it with a phone. For random queries, phones with Siri can already listen, but the voice recognition or LLM fails on too many queries anyway not to be frustrating.

I could see it being useful as an additional control panel for the smart home, but Home Kit and the Home app are still pretty useless for the smart home. It can't even show a temperature graph or trend, let alone do many other things. So I would like a Home Assistant/Homey/whatever display (which would be possible if it supported apps).

I am sure this will sell plenty. It's an Apple device, people will just buy it for that reason, especially if it's not in the Apple Vision Pro price class. Will the get used a lot? Probably by a very small subset of people. Just like Siri doesn't get used a lot beyond setting timers when you are not in an English-speaking country, or even worse, use multiple languages in daily life. I am not in the US and most people I know never use Siri.

Aside from that most people seem to be more interested in digital detox than getting more pervasive tech in their lives.

microtonal··on Will Linux phones become a viable alternative to the Android/iOS duopoly?
I want to be able to run arbitrary binaries and get access to graphics primitives on my phone, AOSP does none of this.

People use a phone for their most private information, including banking credentials, credit card credentials, car keys, etc. The banks, etc. are never going to permit running their apps on devices that can run arbitrary binaries. Most are already blocking rooted Android devices and Android devices with an unlocked bootloader. The fact that this is still possible on desktops (though not everywhere anymore, e.g. my bank requires you to use a phone app for authentication) is for historical reasons.

Also, you are an extremely small niche. If you are sufficiently motivated, you can live like that (run Linux phones, work around banks, etc.), but this will never be mainstream and this was implied in the question of the post (Will Linux phones become a viable alternative to the Android/iOS duopoly?).

If there will be a viable alternative to the Android/iOS duopoly, it will look a lot like Android/iOS. The best chance is an AOSP-based system like GrapheneOS.

You can still run traditional Linux desktop apps in a VM on such phones.

microtonal··on Will Linux phones become a viable alternative to the Android/iOS duopoly?
"It's fine, except for all the stuff that matters."
microtonal··on Will Linux phones become a viable alternative to the Android/iOS duopoly?
We can debate about the 90s style package management, but old C-based file parsers and DAC access control were certainly not designed for modern attack vectors. Defending a device now requires layered security using a combination of among other things:

- Memory-safe languages where possible.

- Sandboxing of applications, parsers, etc., along with a strong permission model.

- Mitigation like secure app spawning, zeroing out pages, etc.

- Modern mitigation hardware-assisted mitigation like MTE and PAC.

- Storing secrets in a separate secure enclave (not ~/.config or ~/.ssh).

- Read-only and fully verified system partitions (anti-persistence).

This graph:

https://security.apple.com/assets/image/generated/xlarge_adv...

from Apple's MIE docs [1] shows where modern systems like iOS and Android are. An attacker often needs a long exploit chain to compromise a device and it becomes increasingly difficult with various mitigation techniques. On the standard Linux desktop it's often as easy as exploiting an image parser in a client. Old parsers in C have a history of bad vulnerabilities, exploiting one often gives you privileges of the process calling the function, since Linux applications mostly don't separate/sandbox parsers and from there you have direct access to all data of the user, since Linux applications are typically not sandboxed.

[1] https://security.apple.com/blog/memory-integrity-enforcement...

microtonal··on Will Linux phones become a viable alternative to the Android/iOS duopoly?
Oh, they certainly don't appear days later. But sometimes they do between ~1-30 minutes. This is a well-known issue, you can find many topic about it. When you open the app, everything comes in all at onec.

It is sometimes annoying to me. I cycle a lot and sometimes my wife or somebody else sends a message when I'm on the go (like picking up some extra groceries) and then I miss it.

There is a longer discussion with various people here:

https://github.com/signalapp/Signal-Android/issues/14166

microtonal··on Will Linux phones become a viable alternative to the Android/iOS duopoly?
Same, they work fine and are immediate. The only exception has been Signal. Must be that I'm using sandboxed Google Play Services?
microtonal··on Will Linux phones become a viable alternative to the Android/iOS duopoly?
This gets brought up several times in this discussion. Hardware with drivers, firmware and device trees exist, see e.g. Fairphone. It even works with open source camera apps (e.g. done in /e/OS). The problem is not (only) the hardware, it is that the Linux desktop stack is wholly unoptimized for phones. And the fact that Meego/Maemo/etc. are now almost two decades ago shows that it is not 'would be easy to solve'. Heck, Linux laptops, which have been available since forever still have far worse battery life than Windows or macOS.

You need a stack that is designed from first principles for phones. Luckily we have one that is open source (AOSP).

microtonal··on Will Linux phones become a viable alternative to the Android/iOS duopoly?
Most of the FOSS community is hostile to even creating basic sandboxing. The Flatpak project gets panned all the time. Not for having a weak sandbox (which would be a fair criticism), but for having a sandbox at all and not using 90s-style package management.

A lot of people from the FOSS community seem to believe that (at least from recurring discussions) that Linux is secure because the software is open source and you can trust the maintainers. The idea that even trusted software can have vulnerabilities and that the 80s/90s security model of the standard Linux desktop means that you are only one Mastodon/e-mail/RSS/whatever client vulnerability away from exfiltration of your whole home directory does not even occur to them. All the while all these applications use (XML/image/...) parsers from the 90/00s written in C.

The only reason we don't see mass-exfiltration of data is because the Linux desktop marketshare is effectively meaningless. Though we see some results of the desktop security disaster (also to some extend of macOS) through leaked credentials obtained by compromised NPM, PyPI, etc. packages.

microtonal··on Will Linux phones become a viable alternative to the Android/iOS duopoly?
So fork AOSP today. You actually have a working stack, working systems (Lineage, GrapheneOS, /e/OS), and it's far less work than bringing mobile Linux up to the level of AOSP.

But no, let's reinvent the wheel and start the complete ecosystem from scratch. Of course, looking at the history of Linux, this is not surprising at all. Even something immature as mobile Linux already has multiple projects + stacks (Sailfish, ubports, Plasma Mobile, PureOS, etc.) trying to achieve the same. I say this as a long time Linux user (since 1994), the Linux desktop community manages to shoot itself in the foot over and over again.

microtonal··on Will Linux phones become a viable alternative to the Android/iOS duopoly?
I was saying this just to be ahead of all the comments that usually come up with "yeah, but Google has increasingly put new APIs in Play Services, so AOSP is worthless".
microtonal··on Will Linux phones become a viable alternative to the Android/iOS duopoly?
Yeah, I think people are underestimating how good and competitive the Linux desktop was in the past. Around ~2000 there was a lot of excitement around the Linux desktop, the Linux desktop was pretty mature, especially compared to the tire fire that Windows 9x was at the time (that changed when the NT branch moved to the consumer with XP). There were very user-friendly installers like Caldera OpenLinux (best feature was that you could play Tetris during the install) and Corel Linux. Also a lot of large vendors were making Linux desktop apps, e.g. Corel Wordperfect and Borland Kylix (which was Delphi for Linux). Heck, even Microsoft Office ran almost perfectly with CrossOver.

But yeah, then there was the constant forking, preferring rebooting development over iterative improvement (e.g. GNOME 2 -> 3 was really a hard cut for a lot of people, resulting in forks that exist till this day), hostility towards closed-source applications (you can hate them as much as you want, but people are not abandoning Photoshop/Illustrator for GIMP/Inkscape on a whim), etc.

Hopefully something changes with all the government-driven sovereignty desktops that are popping up, the resulting influx of money, and KDE EV et al. becoming very mature organizations.

microtonal··on Will Linux phones become a viable alternative to the Android/iOS duopoly?
This comes up every time, I just don't understand the argument. You can fork AOSP when that happens. It will still be far less work than bootstrapping a viable open source alternative from scratch. Also maintaining a forked AOSP would be less work than getting the Linux desktop stack on the same level as AOSP.

Given that Android apps target old API levels, it would also stay compatible for years and nothing would hold you from implementing APIs from the docs.

To be honest, I don't think AOSP will fully close up, since Google probably fears the regulatory pressure and the fallout from vendors. The larger risk is Play Integrity, but that applies equally to other Linux systems if you want to tap into the large Android app ecosystem. But the solution for that is not technical, the EU and other regulatory bodies should make forbid it in its current form due to anti-competitiveness.

microtonal··on Will Linux phones become a viable alternative to the Android/iOS duopoly?
It still has tiny market reach.

You are moving the goalposts, you said:

The lack of polish is a function of the inability to use the hardware. The hardware is tightly gatekept so competition _cannot_ exist. [...] Once we can actually target the hardware, open source alternatives will be much better than first party options.

So, it's not the hardware gatekeeping that is the issue, it's that nobody is polishing the experience for hardware that already exists and qualifies. The hardware can also be purchased very easily in some regions (e.g. Europe). I can literally hop on a bike right now and pick up a Fairphone in ten minutes. I know that it's different in e.g. the US, but Murena has been selling them in the US for years now.

microtonal··on Will Linux phones become a viable alternative to the Android/iOS duopoly?
The difference is that there is already a great open source smartphone OS that works today, it’s AOSP.

The most effective path would be for the FLOSS ecosystem to pour their resources into making AOSP independent from Google. But instead people will just fork N half- or non-working solutions for reasons.

microtonal··on Will Linux phones become a viable alternative to the Android/iOS duopoly?
It’s not only a matter of tuning. Everything in the stack needs to be developed to go idle and not do things in the background by themselves. The Linux desktop and all its apps are made for a model where apps can continually get CPU time.
microtonal··on Will Linux phones become a viable alternative to the Android/iOS duopoly?
So, where are the super-polished Linux systems for the Fairphone? I know they use proprietary firmware blobs and that the hardware support is Android-oriented. But they publish device trees, driver sources, and firmware. Most AOSP-based projects support Fairphone, as well as PostmarketOS and ubports.

The problem is not only hardware support, the problem is also that the stack on top of it is very immature compared to AOSP and not something you could give to a daily phone user.

It’s funny that you mention Waydroid. It throws most of Android’s strong security model out of the window.

microtonal··on Will Linux phones become a viable alternative to the Android/iOS duopoly?
Android is still open enough. Worst case, AOSP can be forked and it will still be leagues ahead of non-Android Linux phones. That also applies to the sovereignty point. I see especially GrapheneOS and /e/OS grow because of this in local communities.

LLM-driven optimization is a good point. However, Linux desktop communities tend to be quite aggressively anti-LLM. E.g. GrapheneOS has been heavily attacked by these people for only using an LLM for security auditing. But maybe these projects will fork into LLM-accepted forks who will then rapidly out-innovate.

microtonal··on Will Linux phones become a viable alternative to the Android/iOS duopoly?
Linux on phones have been around since the late 00s (e.g. through Nokia's efforts). Why would this suddenly change? Heck, even after decades, the battery life of most laptops running Linux is still much worse than Windows, let alone macOS.

I have had several generations of ThinkPads and to this day, battery life is typically ~50-60% of that of Windows, even with all battery optimizations applied. And Windows is terrible compared to Mac or Android/iOS phones.

And I say this as a long-time Linux user (used Linux in some form since 1994). It's just a very hard nut to crack if you miss a certain amount of vertical of integration and coordination across the ecosystem.

← PreviousPage 4 of 34Next →