this post was submitted on 19 Nov 2023
77 points (90.5% liked)
Privacy
31981 readers
323 users here now
A place to discuss privacy and freedom in the digital world.
Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.
In this community everyone is welcome to post links and discuss topics related to privacy.
Some Rules
- Posting a link to a website containing tracking isn't great, if contents of the website are behind a paywall maybe copy them into the post
- Don't promote proprietary software
- Try to keep things on topic
- If you have a question, please try searching for previous discussions, maybe it has already been answered
- Reposts are fine, but should have at least a couple of weeks in between so that the post can reach a new audience
- Be nice :)
Related communities
Chat rooms
-
[Matrix/Element]Dead
much thanks to @gary_host_laptop for the logo design :)
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
What is the root scene on Graphene? I know the dev is pretty against it but I like having root access after being used to it. Is it possible to easily root it without any integrity issues later on?
It's not supported. According to the devs rooting defeats the purpose of Graphene OS.
Yeah I have read that. And couldn't find any reason why. When I ask about root people only say "if you want root, graphene isn't for you"😅
Rooting defeats androids security model and allows for further exploitation. Graphene most likely does support it because any AOSP OS that is geared towards security isn't going to leave a big hole in their security allowing malware or bad actors to modify system files (or install a rootkit).
Desktop Linux allows root access and is still secure. Allowing root access doesn't make it insecure.
Desktop linux isn't the same as Android, which is why I said the "Android security model". Android is a mobile operating system and must protect against the fact that it will be in unknown environments all the time. It must protect against physical attacks, software attacks, and partially sandbox apps. Root breaks app sandboxing and allows for modifying system files and reading internal app storage. The system image is immutable and modifications/settings are made on top.
Linux desktop isn't more secure out of the box. The general user account shouldnt be a sudoer. Immutable OSes are more secure and help pervent rootkits and other attacks. PCs are most often stationary and stored in a private location. Laptops are weak against attacks because you can boot to a different OS from usb without passworded BIOS. Desktop OSes are the geared for the same kinds of protections.
There is good reason why Android is far more secure than Linux mobile.
Oh okay thanks!
GrapheneOS significantly increases security, rooting does the exact opposite
It looks like the verified boot security feature of Graphene effectively prevents rooting the OS. I understand wanting root access, it does provide some nice features, but I don't have any need for it. I don't have any bloatware embedded to remove, and I don't need to mod any system apps, so I haven't looked into it much. I know the dev says it isn't planned because it massively increases attack surface, which I personally agree with, but it would be nice to have the option via a separate version of the OS or something. If you need root access, I would suggest looking into LineageOS. It's similar in privacy to Graphene and last I knew could be rooted. Graphene is very focused on security as well as privacy, and for me is a best of both worlds, but if you want to modify the system for various power-user type features, it might not be for you.
Yeah I'm currently running LineageOS. I wanted root mainly for adblock (modifying
/etc/hosts
) and AppOps. Does Graphene have those features built in?Check out DivestOS. It's a fork of lineage with a focus on better security and privacy. Not restrictive like Graphene. Rootable via magisk.
So far I'm liking it. Great battery life (lowest I've ever seen) even on my 5 year old phone.
I'll try that thanks!
No, it doesn't. I use 95% FOSS software, so anything that might have ads just gets denied network permission entirely. As for AppOps, I just looked it up, and that would be something I'd like to see developed as a feature of Graphene. It seems like a genuinely useful, and at the very least privacy-protecting, app. I don't use copy/paste via keyboard, and despite it not having network permissions, I'd still deny it clipboard access simply because it doesn't need it.
Okay. Thanks a lot! :)
For security reasons GrapheneOS doesn't allow the modification of system files. You can achieve the same thing with DNS though. Either self-host a Pi-Hole or AdGuard Home, or use something like NextDNS.
You can root on GrapheneOS. You do it exactly the same way you'd do it for the stock Google ROM:
boot.img
from the GrapheneOS image and patch within Magisk.The main annoyance with this is that you'll have to do that dance every month when a security patch gets released, but for me, it's better than vomiting from exposure to ads on mobile.
What is the patching process when running with Majisk, without OTA? It looked like quite a PITA to me, but I'm using Graphene for the same reason you are.
Edit: I found this
After sideloading an update I'd probably have to do what Trevor posted.
Oh okay. Thanks! Does it pass the integrity checks?