Live data from Hacker News

My Pinephone Setup

hamblingreen.gitlab.io

51–60 of 120 posts

Re: My Pinephone Setup

#51
post #45

Earlier quoted context omitted.

Sway in sxmo’s case, actually. I’m not sure what exactly is falling over, but the session is all still there, with the compositor (Sway or Phosh) still responding to I/O, and, from my very limited probing, still working perfectly… except that its screen output is dead and it doesn’t realise it. Nothing interesting in the journal or dmesg, for example. If the compositor had crashed, it would have been restarted automa…

Ah, interesting, I didn't know they'd built an alternative shell around wlroots, I'd only tried it back when it was a bunch of shell scripts around dwm. If the GPU and window server are still okay, you might get away with forcing a mode-switch. Maybe it's not the GPU itself but some supporting chip that handles the LCD driver, and changing the resolution or something else would reset it without destroying the session…

Hmm, would be nice to be able to get it back on its feet in these cases without killing the session, though I haven’t had it fall over for a couple of weeks because I’ve been barely using it (and possibly because summer is passes on to autumn). Next time it happens I’ll see if a `swaymsg output DSI-1 disable` / `swaymsg output DSI-1 enable` fixes it. Seems to do something, Firefox clearly changes its scaling from 2 to 1 and back to 2 in the process. (If not, I dunno; `swaymsg -t get_outputs` only mentions one mode, 720x1440 @ 60.006 Hz, and --custom doesn’t seem to be working. What’s with that frequency? I know the sordid tale of 59.94 Hz, but I’ve seen these higher frequencies of 30 and a bit and 60 and a bit a few times.))

Re: My Pinephone Setup

#53

OP's setup looks actually pretty similar to my one, though where the pinephone really - really - shines is pentesting. The compatibility with external Wifi USB adapters and BT hardware like the ones from scott's gadgets make it an amazing pentesting device. For serious mobile-friendly usage I don't think that we can build UIs the way they're built on Linux systems anymore. I challenge every defender of that GTK/QT cr…

Worth noting that it's not just the technical end of UI construction that's lacking. Many open-source web projects have crappy UIs, too. I'm a long-time full-time developer, decades-long linux user, and also wrapping up a BFA in design, so I think my perspective is pretty balanced, here. With amateur developers, their code becomes less reliable the further you get from their development environment. The effect is sim…

>The Nielsen Norman group has some good stuff on usability within hierarchical organizations

Can you give a link?

Re: My Pinephone Setup

#54
Why does Google hate the regular Linux Kernel and the regular Linux userland so much that Android doesn't have much Linux resemblance?

I remember that wen Nokia did N900, it was pretty compatible with mainline Linux.

Re: My Pinephone Setup

#56

Why does Google hate the regular Linux Kernel and the regular Linux userland so much that Android doesn't have much Linux resemblance? I remember that wen Nokia did N900, it was pretty compatible with mainline Linux.

There is usually an effort on their side to distance from GPL-2.0 and GPL-3.0 code. Usually replacing with some equivalents under Apache-2.0 or MIT.

Re: My Pinephone Setup

#57

Why does Google hate the regular Linux Kernel and the regular Linux userland so much that Android doesn't have much Linux resemblance? I remember that wen Nokia did N900, it was pretty compatible with mainline Linux.

Android has different security guarantees compared to desktop/server Linux. E.g. people should expect that none of the installed software can hijack the phone completely and that most damage from malware should be mitigateable by uninstalling malicious app.

Re: My Pinephone Setup

#58
Any news about running Android apps inside Pinephone?

It was more than an year since I've last followed the progress on this topic. If someone here has some pratical experience on the topic, would love to hear your thoughts.

Re: My Pinephone Setup

#59

Why does Google hate the regular Linux Kernel and the regular Linux userland so much that Android doesn't have much Linux resemblance? I remember that wen Nokia did N900, it was pretty compatible with mainline Linux.

Because Linux userspace arguably sucks. While the kernel is excellent, there is no sane sandboxing (and I can’t communicate enough how truly terrible linux desktop’s “security” is. A single bash script could break absolute havoc), the IPC mechanism used to communicate between programs is fragmented and in my opinion the insistence that C should be used everywhere really holds back the platform.

Compared to that, android has a well-architected sandboxing with very gradual permissions, SELinux for the remaining features (sure, mainline linux distros also have it from time-to-time but it is not used there to its full extent. Android runs every application as a different user for example, making security boundaries much more explicit), so I would rather ask, why doesn’t mainline linux copy some things from android?

Also, don’t get me wrong, I really like using linux OSs, but they do have plenty of space to improve.

Re: My Pinephone Setup

#60
post #57

Why does Google hate the regular Linux Kernel and the regular Linux userland so much that Android doesn't have much Linux resemblance? I remember that wen Nokia did N900, it was pretty compatible with mainline Linux.

Android has different security guarantees compared to desktop/server Linux. E.g. people should expect that none of the installed software can hijack the phone completely and that most damage from malware should be mitigateable by uninstalling malicious app.

People would be right to expect that no installed software can hijack the desktop completely as well, but unfortunately that is very much not the case.
Post reply on HN