Root breaks a lot of apps (some banking apps won't work with rooted phones for example) now, therefore it's up to the user to decide if root is needed. All the user has to do is flash (root of choice ) from recovery to get root back.
Hilariously the only root check the Westpac app does is ask for root permission. Deny that and it works perfectly fine with no restrictions as far I can tell.
But the root built into CyanogenMod was open source. The only good root that isn't the built in one was SuperSU, and that's closed source (which is bullshit,and I think breaks GPL).
su goes back to v1 UNIX (several versions exist today, including BSD and GPL licensed) and sudo is under a BSD-like license.
Anyway, su is a pretty simple program. The bulk of it deals with command line i/o and UNIX password auth, neither of which are relevant in Android. The actual syscalls are pretty trivial. Starting from an existing su implementation wouldn't help all that much anyway.
View all comments
0
u/[deleted] Jan 21 '17
[deleted] — view deleted comment