this post was submitted on 05 Oct 2023
475 points (80.9% liked)
Linux
48668 readers
433 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Not having root is done on Android for some very good security reasons to be fair, it opens up a giant attack surface and risk for all kinds of malware and nasty stuff to take advantage of. I don't think it's done completely in malice as you think. Its a very important part of the app sandbox and Android's security model at large.
With that said, I do think that people should have the option to root if they want to, I'm not a fan of OEMs like Samsung and whoever else purposely preventing people from rooting at all costs. I think people should be able to do whatever they want with their own device, root just certainly shouldn't be the default, and users should be aware of the risks if they choose to use it. But I do think it should be a possibility for those who really do wish to do so.
With Android, it all just comes down to the OEM and variant of it that you're stuck with. As a whole, I think its an amazing project and OS, though unfortunately Google, and especially OEMs, tend to make a lot of bad choices. It's similar to Linux as a whole in that aspect. You've got options like ChromeOS which are a nightmare for privacy and user freedom any way you look at them, but then you've got your traditional distros like Debian, Arch, Fedora, etc, which are the exact opposite. Its an important distinction.
To be more fair, it should be way easier to use root on Android than it currently is, and it could be done without compromising security.
Like, I shouldn't have to dig through mountains of unofficial documentation from weird sources, only to the find that, whoopsie, this method doesn't work for your particular submodel of phone, you have to take this ultra-specific path that's prone to issues and may not work. Oh, and make sure you backup your entire device, because rooting will wipe it and now you have to spend your entire fucking day restoring everything.
Like, just give me the option to enable root access somewhere in the developer settings. It can even be an obscure (but simple) process like it is to enable developer settings in the first place by tapping "about" a dozen times or something. Put up a half dozen warnings explaining why it's "dangerous" for mortals to enable root for all I care, just make it work.
I'm OK with root not being available by default as long as the bootloader remains unlockable. This is bigger than root. I own the hardware so I should be able to use it for whatever OS I desire. If the bootloader is unlockable then I can flash a root package myself. This is fine. If the bootloader is unlockable then I can install non-Android Linux if I desire.
I'm not sure if it could be done without at least compromising security to some extent (at least in Android's current state, but maybe that could be changed or worked around in the future), but yeah, overall I do agree, that's what I was trying to get at. I definitely support there being an official and easier method to root on Android, as long as it isn't the default, and as long as the risks are clearly explained. People should certainly be able to do whatever they want with their own devices, it is unfortunate, and definitely an overstep from Google and OEMs.