zlacker

[return to "Ask HN: What is the actual state of Linux phones?"]
1. okanat+I21[view] [source] 2025-09-19 23:17:20
>>Silver+(OP)
AOSP is still the better OS. It is fully open source. It has a much better protection model. It is production ready and optimized. It has a working build system. It supports reliable updates.

I find the idea of Linux phones pointless. Instead of trying to create an app ecosystem that will never compete against proprietary-ecosystem optimized and well-isolated one, we can leverage it. I wouldn't want an OS where the banking app can peek into my browser. Desktop OSes are still like that and that's crap OS design in 2025. It has been crap since 90s. Linux being popular has significantly hindered OS innovation in open source world.

If you would like to help, I think helping projects like LineageOS or GrapheneOS is better. You can also try joining reverse engineered driver efforts for open source drivers like Freedreno. You can help porting device-specific kernel drivers to mainline. So we can boot whatever kernels we want on normal Android phones with Mesa OpenGL.

"A lot of C experience" doesn't really tell anything. Have you worked with cross-language systems? How much you know about ABIs? How about interface definition languages (IDLs)? Have you actually written a production driver for Linux systems? Have you implemented any system-level service that got deployed a number of nodes? You need to join somewhere and improve things marginally.

◧◩
2. 171862+yI2[view] [source] 2025-09-20 15:50:15
>>okanat+I21
I think what people would like is, if they were able to just run the same programs seamlessly on the phone. That's why porting standard (GNU/) Linux distros to mobile seams worthwhile.
◧◩◪
3. okanat+bU2[view] [source] 2025-09-20 17:02:07
>>171862+yI2
Those programs and GNU userland are severely under-secured for a general purpose phone that has multiple privacy sensitive sensors. AOSP has better equivalents in all of performace, security and usability. It is Apache licensed.

As I mentioned if the core driver libraries for the userland are reverse engineered (like Freedreno driver in Mesa instead of closed-source Qualcomm stuff) and the kernel drivers are ported to mainline you'll have a better mobile OS than any GNU system can achieve in the same time frame.

If you still want your GNU environment, there are already ones that implement it like Termux.

◧◩◪◨
4. 171862+UP7[view] [source] 2025-09-22 14:35:23
>>okanat+bU2
These phones seem to have hardware isolation for the privacy sensitive sensors, so this matters less. I the user already use all the GUN programs daily. It would be nice to be able to use them on the phone. Having these in some isolation like Termux, isn't that useful, as I want to use the programs to control my phone. Not sure if ssh -X works on Termux.
◧◩◪◨⬒
5. okanat+A49[view] [source] 2025-09-22 20:09:27
>>171862+UP7
Having granular access != no control. On the contrary, I want more control over the apps. There is no benefit to me if my banking app or any other app can also have access to GPS, while I am navigating with a map app. AOSP is much much better in this aspect. Normal desktops are nowhere near. GNU userspace also simply has very litte preparation for this. Creating granular SELinux rules, and then separating each hardware into its own system agent and then isolating them further with various containerization is no small task. GNU userland is still struggling with styling Flatpaks and keeping them performing well and small. Android's frameworks libraries provide a consistent UI with little overhead.

I don't know why you need ssh with Xorg on your phone though? There are ways like scrcpy to control your phone remotely. Apps like KDE Connect on Android already give quite a bit remote control opportunities too. There are open source remoting apps that fit the Android user interface better like RustDesk. If you still want an Xorg running, there is nothing stopping you from encapsulating it in an Android app too.

[go to top]