I remember that wen Nokia did N900, it was pretty compatible with mainline Linux.
I remember that wen Nokia did N900, it was pretty compatible with mainline Linux.
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.
Because Android is actively interfering with:
- a shared filesystem where you can manage files from a graphical file manager, terminal, Git, editor/IDE, compiler, Python runtime, photo manager, and hex editor
- Being able to debug apps from other apps (Mac disables lldb altogether unless you disable SIP, then you need to type your password every time, and Android ships with no debugging tools at all)
There is absolutely zero reason for any random app to have access to arbitrary files on my computer. Why should a random bash script be able to wipe out all my family pictures?
Also, there is nothing inherent in the android model that would make a “shared filesystem” infeasible - it is just the wrong default. With specific access rights sure, it should be allowed.