▲ | ysnp 3 days ago | ||||||||||||||||
>This is not what people are referring to when they talk about rooting on Android Would this have been easier or more possible if Android had a full capability-based security model? | |||||||||||||||||
▲ | yjftsjthsd-h 3 days ago | parent [-] | ||||||||||||||||
Arguably Android has a capability-based security model, though it suffers from being ... well, it's not what you'd build if you were doing it from scratch today. Hindsight is 20/20. But I'd tentatively say not really, because the point of root is to get outside the existing capabilities. As an example: For a while, the most common root app I ran was one to limit charging to 80% or whatever to make the battery age more gracefully.[0] The whole reason that needed root is because there wasn't a capability/permission for that; the app couldn't ask the OS to let it control charging, because nobody even thought to expose that API surface. [0] This was later obsoleted by the OS adding that feature natively, which is an interesting angle to consider; directly supporting the things people root for definitely helps, but you're unlikely to ever get everything so it's not a panacea. | |||||||||||||||||
|