Live data from Hacker News

Devices with GrapheneOS support should be available in 2027

grapheneos.social

321–330 of 444 posts

Re: Devices with GrapheneOS support should be available in 2027

#321

Earlier quoted context omitted.

Why are we acting like isolating software is impossible on Linux? It isnt even difficult, there are about a dozen different models to choose from.

It's not impossible, no, but it's not the default, and the different models tend to have various different issues.

I think the disagreement mainly lies between whether one should be able to use their devices as they wish, like a desktop/laptop, or whether all devices should be restricted so as to have a good baseline level of security.

As far as I understand, the Linux phone enthusiast's POV is that we should start seeing the phone as another general purpose computer that can be set as per one's needs and can be suitably hardened as and when the need arises.

I wonder what environment the GrapheneOS devs use for development and other general computing needs, and if such an environment could be emulated on a phone (that is assuming, of course, that their development environment is way more hardened than current desktop Linux).

Re: Devices with GrapheneOS support should be available in 2027

#322
post #318

Earlier quoted context omitted.

Why are we acting like isolating software is impossible on Linux? It isnt even difficult, there are about a dozen different models to choose from.

AOSP security model relies on an extremely restrictive SELinux config out-of-the-box (that importantly also doesn't impede normal phone/app usage), with the kernel hardened about as much as any cutting edge Linux distro could offer from upstream, plus features that haven't been upstreamed yet (and again, completely transparently to the user).

[flagged]

Re: Devices with GrapheneOS support should be available in 2027

#323
post #199

Earlier quoted context omitted.

Because it's a mobile platform and "GNU+Linux" is laughably terrible in this space. It's almost like Android has put millions of expert dev hours into making it the most used OS in the world. Like GNU+linux on laptops only works the way it does because of android-upstreamed battery saver kernel features. But a mobile is also people's most used devices with all of their data, bank accounts etc there - it has to be saf…

Nix comes in because im tired of dealing with procedural solutions to things that should be solved declaratively. I run NixOS everywhere I can because I can actually reason about what is installed on the system. "Package management" like apt and pacman and even app stores has never done it for me. As to your other userspace concerns... these are all solveable. Perhaps with some elbow grease, but devices like the Stea…

  > but devices like the Steam Deck prove that mobile linux isnt as much of a problem re: userspace as you claim.
So.... by relying on yet another company with multiples of $10B in revenue who spent a lot of time and money to build (and maintain) an entire custom frontend/compatibility layer to provide a stable UX for managing apps without intimidating non-tech savvy users? Where security isn't even a distant priority as it's a restricted store in a proprietary walled garden exclusively for games (and not your banking app or crypto wallet or browser tabs)?

SteamOS, very similarly to Android, entirely depends on a corporate benefactor leveraging a parallel user space that happily bypasses the "normal" community-supported parts of a typical Linux desktop distro wherever they present an obstacle. It proves that a company with deep pockets could indeed create a new mobile Linux distro (by writing lots of checks and cutting out large chunks of desktop Linux in favor of custom implementations entirely under their control).

Re: Devices with GrapheneOS support should be available in 2027

#324

Earlier quoted context omitted.

GrapheneOS primarily exists to greatly improve privacy and security compared to the Android Open Source Project (AOSP). AOSP provides far better privacy and security than a traditional desktop Linux distribution. It has a strong mandatory app sandbox, an increasingly good permission model moving more and more towards case-by-case consent, broad use of memory safe languages throughout the OS and app ecosystem, strong…

[flagged]

> I have read your marketing materials

GrapheneOS is a non-profit open source project. We provide documentation and other information on the project.

> Android is not a Linux distro nor is it directly derived from Linux

Android is a family of Linux distributions. Linux is a kernel without a specific userspace and there are many different choices of libc, shell, init system, command-line utilities and far more. There are even more choices for the high level user interface. Android's userspace is largely specifically written to run on top of the Linux kernel with extensive use of SELinux and other Linux-specific APIs. A lot of the software you're considering to be Linux also runs on FreeBSD and elsewhere. FreeBSD is not Linux and the traditional desktop software stack largely shared with FreeBSD isn't Linux either.

Android Open Source Project uses the upstream Linux LTS branches. The upcoming devices with GrapheneOS support from Motorola use latest Linux 6.18 LTS branch. We plan to port to newer Linux kernel branches throughout the lifetime of the devices. Google already does that for Pixels and it needs to start happening for other devices too.

The upstream Linux LTS branches largely exist for Android with Google contributing a lot of the resources for it. Ubuntu and RHEL make their own LTS branches rather than using the ones from the Linux project. The lifetime for the upstream branches was increased from 2 to 6 years alongside Pixels increasing the support time to 5 years with the Pixel 6. It was decreased from 6 to 2 years because Pixels have been smoothly moving to newer kernel branches in production. It demonstrated the lack of need for the longer LTS branches not only for Android but more broadly. Pixels moved to 7 years of support with the Pixel 8 which wouldn't have been possible sticking to 1 kernel branch without a further lifetime increase.

> Mobile phones are not "personal computers".

Mobile phones are absolutely personal computers and should be treated as such. Many people use a mobile phone as their main personal computer. In large parts of the world, mobile phones are people's only personal computer.

GrapheneOS can even be hooked up to a monitor, mouse, keyboard, game controller and other accessories. It has a very functional desktop mode. It can also run desktop Linux applications via the hardware accelerated virtualization support. It even has opt-in GPU acceleration via gfxstream. That's all standard functionality from the Android Open Source Project.

> Trying to act like it being "mainstream" or "common" relative to desktop distros matters is just laughable.

There are billions of Android users. Each of those users is a Linux user. Linux is the dominant OS family on personal computers due to Android.

> And I take issue with the notion that a monolithic kernel cannot be secure.

A monolithic kernel written in C with an extreme focus on performance at the cost of having immense complexity is not reasonably secure. Piling on better exploit protections is useful but has a limited impact and those protections don't work as well in the Linux kernel as they do in the much more security-oriented userspace. Everything in the kernel being in the same address space with no isolation for regular code is not a good setup for security and severely hinders the usefulness of many exploit protections.

Further reducing attack surface even more than Android does is possible but is difficult while maintaining app compatibility. Hardware-based virtualization is the most realistic approach to dealing with the insecurity of the Linux kernel to properly protect it from userspace.

Protecting drivers from exploitation largely involves moving most of the code to userspace which is the norm in the mobile world and should expand much further. Bluetooth, Wi-Fi and other code can be largely moved out of the kernel. Moving TCP/IP, filesystems and many other drivers out of the kernel is entirely possible. However, it starts to run up against the Linux kernel having a culture and approach strongly against doing it. The same thing has happened with the attempt to introduce Rust in the Linux kernel with immense resistance and obstruction to simply providing bindings to write non-core drivers in it. There's no current attempt to use Rust in the core kernel and it would be an immensely slow process even if that was happening.

Hundreds of severe vulnerabilities being found per month with only a subset of those getting fixed is not a sustainable approach to making a reasonably secure OS.

> then why arent you guys working on the next kernel for personal and high-performance computing

We're doing initial work on expanding use of hardware-based virtualization to further reduce reliance on the Linux kernel for security. We're also building up our resources to be able to take on much bigger projects. Aside from that, we don't need to be doing things entirely on our own.

A lot of what we want aligns with where AOSP is already headed and many others want the same things. AOSP added hardware-based virtualization with the userspace code written in Rust and a more secure approach to handling it in the kernel (pKVM) without our involvement. AOSP also began to make very limited use of this for OS sandboxing itself. We want to do much more with it and use it for sandboxing apps, which are not things Android is currently working on as far as we know but likely will be in the future.

Re: Devices with GrapheneOS support should be available in 2027

#325
post #65
post #63

Earlier quoted context omitted.

No, the idea of buying is that you get something in exchange for money.

Yes, but not any something, but a specific something shaped by taste.

Just a specific something. Taste has little to do with it.

Re: Devices with GrapheneOS support should be available in 2027

#326

I've never really understood why we chase Android-alikes on mobile platforms instead of trying to build on mainstream Linux. I know some folks in the nix community (nix-on-droid and other projects) have tried to bring us closer to this, but projects like Graphene seem to have a lot of traction.

Because Android is miles ahead in terms of security, permission management, app separation, power management, privacy... Linux crowd can not even agree on compositor, and if systemd or sudo is a good idea.

I strongly disagree. The only reason I still use an Android phone is that countless third-party services (that are too useful for me to give up) require the Android/iOS ecosystem.

Re: Devices with GrapheneOS support should be available in 2027

#327

Earlier quoted context omitted.

Graphene passes basic integrity, so most of them work. There is a list here: https://privsec.dev/posts/android/banking-applications-compa...

If your bank requires you to use a device that is pre-compromised by Apple or Google, get a different bank.

[flagged]

Re: Devices with GrapheneOS support should be available in 2027

#328
post #84

Earlier quoted context omitted.

once Huawei was forbidden from using Android - that's when people ie western markets & the world at large should've shifted. look at HarmonyOS. in China - there's no google apps available on their 'android' versions. their platforms are already performant and fluid - so people should build on that.

It's a shame that the newest version of harmonyOS isn't open source.

It seems like such a missed opportunity for China to challenge American dominance overseas.

Re: Devices with GrapheneOS support should be available in 2027

#329

Earlier quoted context omitted.

I had to replace a credit card yesterday. Part of the default flow involves the call center sending a notification to your app. When I told them my android version was too old, it took them twenty minutes to find out they could instead send a text message. That text message sends you to a photo-and-id verification service, but that's another issue. Soon, there won't even be an alternative flow. There are a lot of pla…

Are you sure? This seems like a forum with a lot of early adopters and a lot of late adopters still use browsers, email, text messages. Like, let me guess that your credit cars isn't capitol one. Not that it should be, but that would be more "normie".

Banks are quick to adopt anti-money-spending measures because it allows them to hold your money longer and because money that can't be spent can't be fraudulently spent which they'd have to reimburse you for.

Re: Devices with GrapheneOS support should be available in 2027

#330

Earlier quoted context omitted.

The bank website typically needs the app to enable two factor authentication in a lot of places. For eg. There's no browser based alternative to make UPI payments that i know of.

How about for clients with no smartphones?

They're 50/50 to either make it work or fire you as a customer - you may as well try.
Post reply on HN