Slashdot Mirror


Steve "CyanogenMod" Kondik Contemplates The Death of Root On Android

c0d3g33k writes "Prompted by the addition of new security features in Android 4.3 that limit the effectiveness of elevated privileges, Steve Kondik wonders which uses really require full root. Most common activities that prompt owners to root their devices (backup/restore tools, firewall/DNS resolver management, kernel tuning), could be accomplished without exposing root, argues Kondik, by providing additional APIs and extensions to the user. This would improve security by limiting the exposure of the system to exploits. Reasonable enough, on the face of it. The title of the post, however, suggests that Kondik believes that eventually all useful activities can be designed into the system so the 'dangerous and insecure' abilities provided by root/administrator privileges aren't needed. This kind of top-down thinking seems a bit troubling because it leads to greater control of the system by the developer at the expense of the owner of the device. It's been said that the best tools are those that lend themselves to uses not anticipated by the creator. Reducing or eliminating the ability of the owner to use a device in ways that are unanticipated ultimately reduces its potential power and usefulness. Perhaps that's what is wanted to prevent an owner from using the device in ways that are inconvenient or contrary to an established business model."

22 of 240 comments (clear)

  1. stop phone carriers / oems from slowing down updat by Joe_Dragon · · Score: 3, Insightful

    stop phone carriers / oems from slowing down updates and force loading software that can't be removed.

    also force unlocked sims on all android phones.

  2. ObXKCD by Anonymous Coward · · Score: 5, Funny

    All applicable XKCD should just be in tags at top of Slashdot stories.

  3. Fairly Obvious by Nemyst · · Score: 4, Insightful

    The issue is that those new APIs and extensions are NEVER provided because the hardware manufacturers and software providers don't want to provide them. Providing deeper access to the software and hardware means you can do more things, including circumvent protections and such. They'd rather make it as hard as possible to do this, and rooting is harder than using a sanctioned app.

    In an ideal world, we'd have all the functionality we need straight up and "rooting" wouldn't even exist as a term.

  4. Re:If no root, no Android. FirefoxOS anyone? by barlevg · · Score: 5, Informative

    You missed the point--he's saying that root access might one day no longer be necessary, not that it'll become impossible to root an Android device.

  5. In my opinion by drolli · · Score: 5, Insightful

    Most things which required me to root my phone should be preinstalled

    -backup
    -firewall
    -disable any service *which i do not need*

  6. Bad summary by swillden · · Score: 5, Insightful

    He's not talking about root going away, he's talking about reducing the need for it, in order to have much of the freedom provided by a rooted phone without the associated security risks. Whether or not root is available is a separate, and orthogonal question, and he clearly never wants to lose the ability to root, just the need.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    1. Re:Bad summary by bmo · · Score: 5, Interesting

      This.

      Just like Linus' justifiable rant about having to be root in SuSE to set up a printer.

      There are legitimate reasons why an end user should need Root/Administrator, but they should be as few as possible. Microsoft has seen the light and has tried to beat developers over the head with UAC to make them see the light. (a game needing admin to run? seriously?)

      --
      BMO

  7. Re:If no root, no Android. FirefoxOS anyone? by Dracos · · Score: 5, Insightful

    Root will be nesessary until the carriers allow us to freely uninstall their bloatware, and other useless/quasi-hostile junk (for me, that means facebook).

  8. Wi-Fi-only devices by tepples · · Score: 4, Insightful

    So the only people who will need it will be the carriers and NSA.

    Wi-Fi carriers such as cable and DSL ISPs typically don't provide a subsidized tablet. Nor do cellular carriers outside North America and maybe Japan. So what do "carriers" necessarily have to do with rooting, especially with rooting a Wi-Fi-only device?

  9. Your forgot ... by Skapare · · Score: 5, Insightful

    -remove any app *which i do not want*

    --
    now we need to go OSS in diesel cars
  10. Re:If no root, no Android. FirefoxOS anyone? by dc29A · · Score: 5, Informative

    I don't care if I don't root my phone until I can write to the hosts file.

  11. Re:If no root, no Android. FirefoxOS anyone? by icebike · · Score: 4, Interesting

    You missed the point--he's saying that root access might one day no longer be necessary, not that it'll become impossible to root an Android device.

    Exactly.
    The reason people root phones is to get around arbitrary restrictions imposed by the carriers or the manufacturers.
    Remove those restrictions, by providing APIs that allow users to do every legal thing, and virtually all reason to root disappear.

    When you can remove bloatware, change carriers, bypass carrier restrictions, change the UI, and maybe even change the OS, all without requiring root, what would be the point of rooting?

    There will still be those who will root simply because they can. These are the same kids that always ran their Linux machines at root because they were so 133t.

    --
    Sig Battery depleted. Reverting to safe mode.
  12. SE/Linux (and SE/Android) by lkcl · · Score: 5, Interesting

    there's an extremely common mistake made which needs to be pointed out: the clue is in the phrase "This kind of top-down thinking". the fundamental assumption is that there is a concept of "more privilege is required than before" to achieve privileged tasks. people imagine that security is hierarchical - that the further towards "the top" you get, the more access you are permitted. this is simply NOT TRUE. the classic example is "root", which is a drastic binary oversimplification which is simply very convenient.

    so, people invent new security systems, but they invent them without actual proper thought towards design, and they invent them thinking that this "top down" hierarchical approach is the only way. thus, new APIs have to be invented.

    there is another way: it's called SE/Linux (and there's a variant called SE/Android). SE/Linux follows the FLASK model, which basically says that based on the current context, the current application, that a new executable is given a COMPLETELY new security context, where the new privileges have to be explicitly given. the most important implication of this model is: it absolutely does not matter how "powerful" you were in the previous context - the one that fires up the new executable; the new one is literally a completely and utterly separate security context.

    to give an example: take a 5 Star General, and send him to a security base. when he gets there, standard security procedure: they take away his passport and all his credentials, and they give him a security pass (a new context). that security pass has a pre-prepared set of restricted corridors and rooms that the 5 Star General can go to. he can go to the conference room, and the bathroom. if he tries to leave without returning the security pass, he has no passport, and no papers.

    this incredibly powerful security model - FLASK basically fits on top of an OS *without* interfering with it. it's particularly fascinating because it can watch which programs exec() other programs, and it can watch what APIs those programs use.... *without* needing to actually modify those programs.

    basically what i'm saying is that the problem that cyanogen is trying to solve already has a way in which it can be solved, if the SE/Android team haven't already solved it. and that's because, under SE/Linux and SE/Android, you can operate both the normal "root access" system *in parallel* with SE/Linux. all you need to do is create a FLASK security context which restricts access to only those applications that *should* be accessing the restricted APIs. you don't need to modify the applications, nor do anything special to the underlying OS.

  13. Re:If no root, no Android. FirefoxOS anyone? by Pioto · · Score: 3, Informative

    Root will be nesessary until the carriers allow us to freely uninstall their bloatware, and other useless/quasi-hostile junk (for me, that means facebook).

    Good news! You haven't needed root to do that for a Long Time now. You can just click the "Disable" button in the app's details page, or drag it to the trash can from the apps drawer, and it's disabled. Sure, it's taking up a few MB of space on your system image, but, "oh well." At least, this is certainly true on any Android 4.x device I've owned.

  14. Re:If no root, no Android. FirefoxOS anyone? by Pioto · · Score: 4, Informative

    You missed the point--he's saying that root access might one day no longer be necessary, not that it'll become impossible to root an Android device.

    Yes, this. You shouldn't root your device "just because you can", which seems to be the mentality some people have. It greatly increases your attack surface for security vulnerabilities. I'm certain that the ability to root will stick around "forever", but for most people having a well thought out API which allows separation of privileges is going to lead to better results.

  15. Re:If no root, no Android. FirefoxOS anyone? by Anonymous Coward · · Score: 5, Informative

    Good news! You haven't needed root to do that for a Long Time now. You can just click the "Disable" button in the app's details page, or drag it to the trash can from the apps drawer, and it's disabled.

    Bad news! You can only disable apps that your carrier has decided that they want to allow you to disable.

  16. Re:If no root, no Android. FirefoxOS anyone? by citizenr · · Score: 3, Informative

    what hardware? there is NO HARDWARE - thats why its on igg and not kickstarter (rules prevent vaporware)

    --
    Who logs in to gdm? Not I, said the duck.
  17. Re: If no root, no Android. FirefoxOS anyone? by corychristison · · Score: 4, Informative

    You don't need root to image a new ROM. You need an UNLOCKED BOOTLOADER. Two completely different things.

  18. Re:If no root, no Android. FirefoxOS anyone? by Anonymous Coward · · Score: 5, Insightful

    Good news! You haven't needed root to do that for a Long Time now. You can just click the "Disable" button in the app's details page, or drag it to the trash can from the apps drawer, and it's disabled. Sure, it's taking up a few MB of space on your system image, but, "oh well."

    Good news, I just took a dump on your doorstep! Don't worry though, you can just throw your doormat over it. It will still stink, but "oh well"

  19. Everyone just stay calm and.... by JayRott · · Score: 3, Informative
  20. Re: If no root, no Android. FirefoxOS anyone? by GigaplexNZ · · Score: 4, Informative

    It's not just carrier bloatware. The Galaxy S4 comes with some Samsung junk that can't be disabled either, for example.

  21. Re:Reminds me of linux without a root prompt by GTRacer · · Score: 3, Funny

    Phil Collins reportedly uses "sudo su su sudio" for his root calls...

    --
    Defending IP by destroying access to it? That makes sense, RIAA/MPAA. Go to the corner until you can play nice!