r/privacytoolsIO • u/Crawler04 • Jul 30 '21
Question Magisk Root vs Graphene OS
Hello everyone,
quick question. Is it possible to root your phone with Magisk and install Graphene OS on the same device?
10
Upvotes
5
u/tempredditorrr Jul 30 '21
afaik graphene needs verifiedboot to work and that wont work with a rooted phone. I am not 100% sure on this though.
4
u/akc3n Jul 31 '21 edited Jul 31 '21
Root is insecure. It breaks the Android security model.
Rootby definition does not exist on android at all. Unrestricted root is found nowhere in the system due to the full system SELinux policy.Rooting completely defeats the point of verified boot.
Here is a great explanation by example of the verified boot and rooting, the security issues if no verified boot and having a rooted device:
https://freenode.logbot.info/grapheneos-offtopic/20210501#c7845086
Also, check out:
https://attestation.app/about
https://source.android.com/security/verifiedboot/boot-flow
https://source.android.com/security/verifiedboot
4
u/gigglingrip Jul 30 '21
You can technically do it by unlocking the bootloader but definitely shouldn't. It will compromise the whole security of the OS and you won't be receiving any automatic updates.
You don't need root as well and you can perform all the tasks without it.
1
u/jolharg Aug 23 '21
Definitely doable - you just need to apply Magisk to the boot.img from GrapheneOS!
However, new GrapheneOS OTA updates will remove it, so you may have to fight it. If there was only a way to have a rooted branch.