Slashdot Mirror


Ask Slashdot: Can I Trust Android Rooting Tools?

Qbertino writes After a long period of evaluation and weighing cons and pros I've gotten myself a brand new Android tablet (10" Lenovo Yoga 2, Android Version) destined to be my prime mobile computing device in the future. As any respectable freedom-loving geek/computer-expert I want to root it to be able to install API spoofing libraries and security tools to give me owners power over the machine and prevent services like Google and others spying on me, my files, photos, calendar and contacts. I also want to install an ad-blocking proxy (desperately needed — I forgot how much the normal web sucks!). I've searched for some rooting advice and tools, and so far have only stumbled on shady looking sites that offer various Windows-based rooting kits for android devices.

What's the gist on all this? How much of this stuff is potential malware? What are your experiences? Can I usually trust rooting strategies to be malware-free? Is there a rule-of-thumb for this? Is there perhaps a more generic way for a FOSS/Linux expert who isn't afraid of the CLI to root any Android 4.4 (Kitkat) device? Advice and own experiences, please.

186 comments

  1. I rooted once by Anonymous Coward · · Score: 5, Funny

    My phone exploded, and I had to have one of my hands amputated.

    Learn from my mistake. Don't do it. Your hands are too important.

    1. Re: I rooted once by Anonymous Coward · · Score: 0, Offtopic

      WTF, why did this guy get a -1? He lost his hand for fucks sake. I hate what Slashdot has become, he tells a horror story and people downvote him. Disgusting, you're all disgusting.

    2. Re: I rooted once by Anonymous Coward · · Score: 0

      also, it's hard to use a new smartphone (that you have to root again) with only one hand. fortunately, after that second one, the problem solves itself.

    3. Re:I rooted once by Anonymous Coward · · Score: 0

      Your hands are too important.

      I am sorry for your loss. If you need some help dealing, there might be widower support groups in your area.

    4. Re:I rooted once by Anonymous Coward · · Score: 0

      Yeah, rooted pron will do that to a hand.

  2. Can you trust the hardware and firmware? by Anonymous Coward · · Score: 0, Troll

    Is the hardware and firmware free of backdoors?

    The truth is out there.

    1. Re:Can you trust the hardware and firmware? by Z00L00K · · Score: 4, Insightful

      Considering the bloatware that the phones comes with as standard like Facebook (that spies on your address book) and a number of unwanted apps that have been granted unkonwn privileges by the phone vendor I'd trust a rooting tool more.

      --
      If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
  3. Try Here by rotorbudd · · Score: 5, Informative
    --
    A bullet may have your name on it, but artillery is addressed to " Whom It May concern"
    1. Re:Try Here by asimons04 · · Score: 5, Insightful

      Mod parent up.

      I've been frequenting XDA Developers forums for years now, and haven't had any bad experiences or rootkit-type behavior on my devices. Lots of knowledge there, and I was finally able to add some of my own a little while back. Most of the insights I provided were based on years of knowledge learned from the same forums plus my own experimenting, but that's exactly what they're for.

      Depending on the version of Android you've got, you'll have to use different methods. Typically, but NOT ALWAYS, the rooting methods aren't device specific, but Android-version specific. So while you may not find instructions for rooting your exact device, you'll probably find a method to root your version of Android (unless the exploit is tailored specifically to a particular device).

      As always, make sure you read the forums and search thoroughly before you post a "I'm a n00b and I don't know what to do..."-type question. You won't get flamed out of the forums, but you will likely not receive much help as they do expect you to do some footwork beforehand and not just expect them to do everything for you.

      As always, do everything at your own risk.

    2. Re:Try Here by asimons04 · · Score: 2

      I re-read TFA and saw you're running 4.4 KitKat.

      I used jcase's Pie exploit on my KitKat Droid Maxx, but it may only be for the Droid series; you'll have to do your own research. Also, TowelRoot, I believe, works for KitKat. Hope that gets you started.

      PS: If you find an exploit that works, it's always considered good form to donate, even a small sum, to the author who created the exploit. Considering what you can do with your device after it's rooted, it's the least you can do.

    3. Re:Try Here by bswarm · · Score: 1

      Yes, this is the goto for android rooting.

    4. Re:Try Here by David_W · · Score: 1

      Also, TowelRoot, I believe, works for KitKat.

      Confirming that. TowelRoot is what I used when the KitKat upgrade came out for my S3.

    5. Re:Try Here by quenda · · Score: 3, Funny

      Not that cesspit of hackers!
      The only way to be safe from malware is to stick to respectable corporate sites like C|net's download.com.

    6. Re:Try Here by caseih · · Score: 3, Informative

      Ugg. xda-developers is a forum of very smart people, but it's a frustrating place to go to find information. Having to read through dozens of pages of posts trying to glean bits of information is rather fatiguing. Especially topics that stretch on for literally years with hundreds of posts. Sometimes the first posts are updated to provide latest information, sometimes you have to read through several pages of comments to find what you're looking for.

      Really all web forums just suck, plain and simple.

    7. Re:Try Here by jafac · · Score: 1

      I've had my Samsung S5 (Verizon) complain that TowelRoot was malware.

      Also, after rooting, the update process seemed to fail from that point onwards; I can't install any vendor-provided update successfully.

      --

      These are my friends, See how they glisten. See this one shine, how he smiles in the light.
    8. Re:Try Here by florin · · Score: 1

      I've had my Samsung S5 (Verizon) complain that TowelRoot was malware.

      That's more like a contraindication, though. Like a vote of confidence where the entire floor except for the distinguished gentleman Knox from the state of Samsung goes mf-ing AYE!

    9. Re:Try Here by mlts · · Score: 1

      I've been frequenting XDA Developers for a long time as well (since the Windows Mobile 5 days), and I've never encountered any deliberately malicious software. So far, the worst I've encountered was someone who had their directions wrong so that a flash to a recovery image was sent to the system partition (and even that was fixable by a reload of the factory RUU.)

      What the parent said holds true. Read and search. If you do run into a problem, make the thread as detailed as possible, perhaps with screenshots. People are less likely to make snide comments and move on, if they see someone at least tried to do their homework.

      It doesn't hurt to donate something to Android developers, ROM writers, and the people who write the rooting/bootloader unlocking code. Android is an ecosystem, and it doesn't hurt to toss something in [1].

      [1]: One project I do recommend people at least toss something is XPrivacy.

    10. Re:Try Here by drkstr1 · · Score: 1

      Come on mods... this was clearly a joke. Not a karma smashing troll post.

      --
      Fanboy Status: Apache Flex, C#, Eclipse, KDE, Pirate Party, Ron Paul, Slackware, Windows 7
    11. Re:Try Here by Anonymous Coward · · Score: 0

      "respectable corporate sites like C|net's download.com"
      Respectable? What about all the crap/spy/mal-ware download.com bundles into the installer turning a potentially useful peace of software into a malicious peace or crap.

  4. Rooting - by joelwest · · Score: 5, Informative

    I have had Android devices from Cupcake onward and have always rooted them. That being said, I don't presume that rooting will work and I always presume that I may end up with a bricked device. A reminder that as soon as you start rooting, you have voided your warranty. I have also bricked devices. I learned how to make a jtag that way.

    Your milage may vary.

    1. Re: Rooting - by Anonymous Coward · · Score: 3, Informative

      You havent voided warranty on a rooted device. Most drvices all? Can be safely brought back to factory with all markers erased. Thats been my experience with samsung, asus, and motorola devices

    2. Re: Rooting - by Golden_Rider · · Score: 4, Informative

      You havent voided warranty on a rooted device. Most drvices all? Can be safely brought back to factory with all markers erased. Thats been my experience with samsung, asus, and motorola devices

      Not true for current Samsung devices (S4 onwards) with the KNOX-enabled firmware. If you root those, you will trigger an eFUSE which flags your phone as "warranty void" forever. So yes - you can root even those phones, but you WILL lose the warranty. http://omegadroid.co/wanted-kn...

    3. Re: Rooting - by Anonymous Coward · · Score: 4, Informative

      Not true for all... I've rooted the Note 3 without triggering the Knox. (KNOX is the reason my next phone won't be a Note 4 or 5, after owning Note 2 & 3).

    4. Re: Rooting - by Anonymous Coward · · Score: 5, Informative

      Not quite true. If you don't replace the bootloader KNOX won't be tripped. I have an S5 with an unlocked bootloader (t-mobile) that I have rooted without tripping KNOX, using ChainFire's rooting tools.

    5. Re:Rooting - by johanw · · Score: 2

      To brick the device is quite difficult (if you don't do it on purpose). Usually you can always reflash the original firmware. To end up in a bootloop, however, is easy and quite scary if you've never done this kind of stuff before.

    6. Re: Rooting - by drinkypoo · · Score: 4, Interesting

      Has this actually been tested in court? Seems to me like a root-capable su is compatible software for all intents and purposes and therefore dropping warranty support for users who root should be a violation of the Magnuson-Moss warranty act.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    7. Re: Rooting - by monkeyzoo · · Score: 1

      Exactly. This is a debate, but no one has tested it in court yet. And honestly, who is likely to be the first person to spend thousands of dollars on a court action to recover a couple hundred bucks for a bricked device. Hopefully, we will eventually see a noble litigator or a class action suit that takes this up and prevents manufacturers from employing KNOX-like functionality.

    8. Re: Rooting - by Anonymous Coward · · Score: 0

      It's not hard to successfully root a Samsung and NOT trip the eFuse in Knox. Google is your friend here.

    9. Re: Rooting - by allo · · Score: 2

      i europe you cannot void the warranty by rooting.

    10. Re: Rooting - by Anonymous Coward · · Score: 0

      >Has this actually been tested in court? Seems to me like a root-capable su is compatible software for all intents and purposes and therefore dropping warranty support for users who root should be a violation of the Magnuson-Moss warranty act.

      $200,000+ in legal fees for a $600 phone. Good luck finding some sucker who cares enough to pony up for that.

    11. Re: Rooting - by Anonymous Coward · · Score: 0

      The security holes that allowed this were patched a long while back. If you're already rooted, good for you, but current note 3 owners who haven't rooted, can't without voiding their warranty.

    12. Re: Rooting - by phishybongwaters · · Score: 1

      Not true, Samsung said Knox trigger will not void warranty, they have a don't ask don't tell rooting policy, Google it.

    13. Re: Rooting - by uolamer · · Score: 1

      S4 here, it has KNOX. my bootloader is stock but I use safestrap and HyperDrive ROM. Normally with safe strap you still have your normal rom when you are done but I do not. I can put it back whenever I want if ever needed, remove safe strap, etc. As others have noted XDA Developers is a very good place to start.

      Read up on your exact phone and version you have on the phone.. Honestly just rooting is usually pretty simple and easy removable. Replacing the whole ROM is not hard, but more involved.

      --
      s/©//g
    14. Re: Rooting - by thegarbz · · Score: 1

      Don't write WILL in capital letters. There are definitely cases of people having phones fixed under warranty after triggering the KNOX flag. In some countries rooting a phone will also give you legal protection against losing warranty.

    15. Re: Rooting - by skids · · Score: 1

      Well, the lead plaintiff can be awarded a significant amount by the court for his/her troubles. It is pretty much entirely up to the court, however.

    16. Re: Rooting - by Anonymous Coward · · Score: 0

      if you agree to it in the terms of the purchase, so be it. That's like complaining about a dealer not honoring a warranty on your car after you hack the on-board computer to do stuff, and it damaged your car afterwards.

    17. Re: Rooting - by drinkypoo · · Score: 1

      if you agree to it in the terms of the purchase, so be it.

      Contracts cannot trump law. HTH.

      That's like complaining about a dealer not honoring a warranty on your car after you hack the on-board computer to do stuff, and it damaged your car afterwards.

      The question at issue in any particular warranty claim is whether the changes that the user made caused damage. If the user were installing a su which didn't prompt them (some Android TV sticks come with an su like this, it just succeeds!) or if there were evidence that they permitted root access by a specific application which can cause whatever problem the user's device is actually suffering, then there's grounds for denying warranty coverage.

      The reason why some manufacturers (in my case, Motorola) want to void your warranty if you root is that it takes some actual effort to determine the cause of a failure and Motorola doesn't want to do that. They will test a sampling of phones with a certain type of failure to attempt to identify defects, but they don't give a shit about why your phone failed. And they don't want to determine whether the phone just failed because it's a piece of shit or because you rooted it and overclocked the shit out of it for two reasons: one, it would cost a small amount of money to do that, and two, if they can get away with not doing that, then they can steal your money by giving you a defective device and then not having to replace it then all the better in their eyes, theft is wonderful if they can get away with it.

      Since there are multiple technologies for determining whether a user has in fact done the two things which require rooting that might cause harm to their device which cannot be recovered by reflashing via JTAG or similar, which is to say overclocking or overvolting, there's really no valid argument for voiding the warranty simply for rooting one's device, unlocking the bootloader, or any other such similar activity. If the manufacturer wants to deny warranty status on the basis that the user damaged their device, they need to have to show that in court, and not simply wave their hands and claim that the user broke it.

      Regardless, contracts don't supersede the law. The law says that you have certain rights. You can't sign away your rights.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    18. Re: Rooting - by Anonymous Coward · · Score: 0

      Just had Amazon DE repair my Samsung 2014 repair under warranty.

    19. Re: Rooting - by Anonymous Coward · · Score: 0

      This is first semester law school, and the precedents are out already with people who trashed their engines and transmissions with custom tunes.

      The TOS is everything. If Samsung says you can't do it or else the device is void, it is, and the lawyers and the courts will side with them. Contract agreements will hold up in court against pretty much anything, and anyone who has even sniffed a bar exam primer will know this and wouldn't take a case like this.

      Also, don't forget that Samsung can come back with DMCA violations charges, as Knox can be considered part of their anti-piracy setup. There are also charges like "interfering with a telecommunications device" which are mainly intended for IMEI-changers, but can be also used in the legal arena by Samsung if push comes to shove.

      So, someone might want to try that avenue, but they would promptly rewarded with a stint in a Federal pen as a reward. Not good odds.

    20. Re: Rooting - by Anonymous Coward · · Score: 0

      From what I have read on the subject, this is probably against the law. However, it's in a very gray area, and it's not something most people are willing to sue over - thousands of dollars in legal fees for a device that might cost $50, and I don't know how many people who root these things are available to construct a class action lawsuit, since most will probably only want to get in on it if it comes knocking or they directly desire the warranty.

      That said, I am not a lawyer by any means, just someone who's run into a few interesting tidbits here and there. Though I think that the warranty may be harder to shake in at least some parts of Europe than the US (I live in the US).

  5. excellent question by raymorris · · Score: 2

    That's a good question. I don't think many of the tools and ROMs have been analyzed for security by qualified people. As someone else mentioned, http://forum.xda-developers.co... is the most popular source. You'd hope that if there were major issues with the tools used there someone would notice.

    You can extract a rooted ROM and compare the contents to the stock ROM.

  6. Cyanogen? by Anonymous Coward · · Score: 0

    Will that meet your needs, or do you need a stock, rooted Android?

    1. Re:Cyanogen? by Anonymous Coward · · Score: 0

      Getting cyanogen on my HTC is a maze of shady .exe files linked from shady forums hosted on shady filedrop sites.

    2. Re:Cyanogen? by rwa2 · · Score: 1

      Getting cyanogen on my HTC is a maze of shady .exe files linked from shady forums hosted on shady filedrop sites.

      Hate to admit it, but this. Trying to find the right set of instructions to follow to get most phones rooted so you can install a custom bootloader and install CyanogenMOD is a big mess. Sort of like an IQ test of trust and persistence to determine whether you're worthy of running a custom ROM.

      That said, I've trusted my phone's behavior more when it's running CyanogenMOD than when I was running the manufacturer's ROM.

    3. Re:Cyanogen? by Anonymous Coward · · Score: 0

      For alot of devices cyanogenmod has an installer. See here: http://beta.download.cyanogenmod.org/install

    4. Re:Cyanogen? by Harlequin80 · · Score: 1

      Really? Go to XDA-Forums. Look up your device and start with the sticky that is inevitably there which tells you how to root, return to stock, and everything else you need.

      As for exe files you could just use ODIN.

    5. Re:Cyanogen? by rwa2 · · Score: 2

      Really. Here's the "simple" 9-phase process with for the pretty common Nexus 5 :
      http://forum.xda-developers.co...

      Yes, it's pretty cool to go through that for the first phone or two, but after the 5th or 6th time it kinda gets old to have to spend an hour or two keeping track of how TWRP is replacing the clockworkmod bootloader, which exploit to use to root, backing up using Titanium or Helium, etc. After a while it feels less like you're learning new stuff and more like you're jumping through hoops just to get a new OS version that other people get automatically OTA :P But at least the adb and fastboot stuff from Google stays pretty consistent.

    6. Re:Cyanogen? by Harlequin80 · · Score: 2

      Thats not a 9 step process for rooting a nexus 5. That is all the stickies collected into 9 groups. I mean one of the sections is called "Defects" and talks about things like light bleed.

      To root a nexus 5 you don't need to do anything extravagant at all. Basically install the drivers, turn on the phone while holding down volume down, plug it into your usb and from a command prompt type "fastboot oem unlock"

    7. Re:Cyanogen? by hambone142 · · Score: 1

      I successfully installed CM10 on a Verizon Galaxy phone. It worked pretty well but for some odd reason, it would NOT install gapps. I've done this successfully on several tablets. I confirmed the gapps file version was compatible with the CM10 nightly but the danged thing just wouldn't install. I tried downgrading to CM9 to see if that would work. Same thing. Then I really screwed myself. I ended up flashing and "almost installing" another version of CM but the file was not completely functional. It would bring up the Cyanogen "spinning robot thing" and just stay there forever. That meant that I couldn't get in to Recovery Mode to re-flash the cminstall folder. I've essentially "bricked" the phone with the crappy nightly of Cyanogen Mod. I'm not sure why gapps didn't run but the phone was severely-hobbled by Verizon software. I'm wondering if some remnants of it were still on the phone, preventing gapps from installing. Now, there's no way to reflash a new OS on to the phone because I can't get to it via USB at all.

    8. Re:Cyanogen? by kenshin33 · · Score: 1

      the only shady part is unlocking (the only way to unlock some devices is through an exploit --a security flaw--) the bootloader! the rest can be done with the platform-tools you can get with the android SDK!

  7. Re:No by war4peace · · Score: 4, Insightful

    "Computer expert" is a broad, broad definition. Nobody's a "computer expert", except in their narrow field.
    So ease off with the smug. One might be an expert in their field and totally suck at another, both computer-related.

    --
    ...gis sdrawkcab (usually not responding to ACs; don't bother posting as AC)
  8. XDA Forums by Raxxon · · Score: 3, Interesting

    In general, if you're computer-savvy, hitting the XDA Forums will be your best option (IMO) if you're concerned about security. The SuperSU Package can be sideloaded into the device via manual ADB commands for most devices out there (some of them are considerably more difficult than others eg: Current Samsung devices with KNOX). I've owned multiple devices from several vendors and I have yet to have an issue with the posted information from the XDA forums. I would expect that anyone attempting to pass shit-ware in there would get found rather quickly unless it's a very niche device with few people actually interested in it.

    Personally I've yet to use any of the "one click root" kinda options I've seen posted to various sites....

    1. Re:XDA Forums by JackieBrown · · Score: 1

      Other than tripping Knox, I haven't had any issues with it. Locked bootloaders have given me more trouble than Knox.

    2. Re:XDA Forums by Anonymous Coward · · Score: 0

      Locked bootloaders have given me more trouble than Knox.

      This is why I buy Nexus devices.
       
        fastboot oem unlock
       
      The bootloader is now unlocked.

  9. do it yourself by Spacelord · · Score: 2

    My advice: don't rely on specialized tools that claim to do the work for you, but learn how to do it by hand with adb and fastboot.

    1. Re:do it yourself by Anonymous Coward · · Score: 0

      adb and fastboot? Are those names for rooting techniques which don't need any downloading nor installing?

    2. Re:do it yourself by Spad · · Score: 2

      Wow, you're funny. As tools which are part of the Android SDK, if you don't trust them then you probably shouldn't have an Android phone in the first place.

    3. Re: do it yourself by Anonymous Coward · · Score: 0

      Well he already believes Google is 'spying' on him, why would he trust their Android SDK? WTF is he doing using Android at all?

    4. Re:do it yourself by Anonymous Coward · · Score: 1

      I don't think you would give this advice if you'd followed it yourself because those tools don't do the whole job. You also need:
      - root
      - for devices with locked bootloaders, like Motorola, the bootloader lock does either one thing or two things. If it does two, it (1) only allows fastboot (or equivalent) to write signed updates onto the FLASH, and (2) if an unsigned update somehow makes its way onto the flash, refuses to boot it, (2a) incorporates a rollback fuse, so once it's seen a newer version of software it refuses to boot older ones. You need an exploit to get past (1), to get enough access to the device to replace the operating system through booted Android rather than through the bootloader ("enough access" is called "rooting"). You may also need an exploit for (2). In Motorola's case, replacement OS works by writing a signed kernel onto the device, then tampering with userland to insert a script that loads the kexec module and boots into the replacement kernel. The way you get this script onto the system partition of the phone is by exploiting and rooting the stock image. rooting depends on the android on the device, or the bootloader, having an unpatched bug, so if the carrier ever actually pushed fixes for all the bugs then you just couldn't root your phone, so the fact that you can even use this possibly-malware blob to root your phone means your phone is already insecure. The tools that run the exploit could and should be distributed as source. They'd be very short. However, they aren't. If there ever was source, the ADHD "makers" on xda-forums lost it long ago and just post the blobs, possibly along with scripts to run them which they claim makes them "developers." These tools are always binary blobs, and they're provided to you by people who enjoy exploiting things. Do you think they don't include a rootkit for the host on which you're running them as well? Maybe they don't. Shrug. -or-
      - for devices without locked bootloaders, like Samsung, you need the firmware-updating tool Odin, which is a Windows binary, and is warez smuggled out of Samsung. Since it's warez there's no chain of custody, and likely Odin has malware in it.
      - only for Nexus devices, you really can update the software using only fastboot. However, the device doesn't come rooted and isn't rootable. You have to replace the operating system with cyanogenmod, aokp, etc., to get root. (or exploit it as above, but you _could_ replace the OS instead of exploiting.)

      - an OS to replace the one on your device, if you want to do that as well as get root, which will either be
      - a semi-legit build from get.cm. I don't think it's a reproducible build like Firefox and Tor. There will also be binary blobs checked into cyanogenmod's git for closed-source drivers. Every phone has closed-source drivers. For recent Nexus phones you can download the closed-source drivers from Google, so the chain of custody is pretty good. For all other phones, it will be some guy with that phone extracting the driver from his phone and uploading it, which is probably not legal but everybody seems to look the other way so far. You have to trust that guy not to tamper with the blob while doing so. -or- the much worse alternative,
      - an update image plus a stupid script to upload it for you, posted to xda-forums by some random guy. If you have a phone not officially supported by cyanogenmod, there is probably one guy who is the expert of that phone, and he doesn't share his source. He just makes GPL-violating forks of cyanogenmod and posts them to a bunch of kowtowing grateful "modders". You cannot reproduce his builds. He probably can't even reproduce them himself, just has a bunch of scattered pieces from other "ROMs" laying around which he cobbles together into the image he posts ad-hoc.

      Besides all that, you need a third thing,
      - the Google Apps. These are distributed separa

    5. Re:do it yourself by Anonymous Coward · · Score: 0

      It's really not that hard, but then my current phone is a Nexus 5 and Google kindly post the instructions on how to unlock the bootloader on their own website.

      https://developers.google.com/android/nexus/images

    6. Re:do it yourself by kenshin33 · · Score: 1

      newer motorola devices are unlock-able with fastboot! All you need is a key, that you can get freely on motorola website, the trick is that you need to agree to somethingS ( among then : warranty is void)

    7. Re:do it yourself by Anonymous Coward · · Score: 0

      In my experience with Samsung devices (dunno if any of this applies to Lenovo, but I guess it can't be that much different) being a Linux savy guy allows you to do the deed yourself.
      No malware ridden windows soft, no "relax, and cede us the control" kind of deal.

      With my last few Samsung devices, I always were able to find the official software to download and repack the "roms"
      (I use quotation since I usually see just a bunch of binaries, config files and scripts, packed in a tar.gz like file; and not "a single binary image" which overwrites the device's memory "as is")

      Having this "roms" (At least for samsung there are two major website were you can download mostly every official firmware) you can actually add/remove any binary you want to it, i.e: su; and re config everything you need to. (Extra knowledge on what the dalvik runs and how might be needed).

      Which su flavor? Dunno. That's not my field of expertise.
      But I recommend one that is able to request your user input for permission to run in root mode.
      Since there's a lot of malware hidden in the play store (and "other sources") which will take advantage of an silently rooted device to do exactly what you're afraid of, steal your data :)

      And you don't need to stop there, after you learn enough you can alter mostly everything.
      I specially like unbranding, changing boot images/animations, and removing unuseful apps and binaries from the roms.

  10. Rooting an android by Anonymous Coward · · Score: 5, Informative

    I've been running rooted for about 4 years on various phones.

    There are quite a lot of tools that you can run while rooted that are impossible otherwise.

    This includes the ROMs themselves which don't usually come with the normal Google tools at all.

    Then you can leverage tools like AppOps (integrated into many of the custom ROMs) to control granularly what info apps can get.

    You can run things like AdAway, which basically block ads systemwide (including in apps).

    The F-droid app repository has quite a lot of open-source software, and you can build a perfectly functional phone without Google apps.

    As already mentioned, XDA-developers is a good place to start, even just to find info about your specific device, and guides for rooting, etc.

    On balance, my opinion is that, if you do your diligence and set things up correctly, a rooted phone can absolutely be more secure than not.

    As a small suggestion, if you decide to jump in, I highly recommend using ClockworkMod (Koush) superuser manager, because it's open-source and let's you set a pin for SU without paying for an upgrade.

    1. Re: Rooting an android by Anonymous Coward · · Score: 1

      Considering his goals, he probably should've started with a windows tablet and installed a *nix distribution, though that is definitely a compromise in usability and portability.

      But when it comes to rooting and customizing Android, he should've gone with a more mainstream tablet. Something like a Nexus 7 has way more options for ROMs, and will have better developer support. I don't even consider an android device until I've been over to XDA to check out the ROM options, and have always had more issues with with non-nexus devices. The HTCs and Samsungs of the world are trying to squeeze every bit of revenue with their pre-installed apps, and are trying to differentiate with their Android customizations, so they generally make it harder than it needs to be for rooting and custom ROMs. On the other hand, Google has always been much more open to how you use their products, so they don't try to lock down their devices much more than "just hard enough that you don't do it by accident"

  11. What - exactly - are you worried about here? by PsychoSlashDot · · Score: 3, Informative

    On the PC, typically Odin is the only Windows executable involved with rooting an Android phone. Standard security best-practices should keep you "safe" here. Obtain Odin from trustworthy sites such as XDA. Use a bi-directional firewall package that tells you when your PC tries to make an outbound connection. Odin shouldn't.

    On the phone, if you're just rooting, you're trusting the manufacturer of your phone, which isn't necessarily wise, but I see that's WHY you're rooting. So, you can get the XPosed Framework and XPrivacy, and set permissions for the various packages on your phone. Both are open-source.

    If you don't actually read the code, then by definition you're trusting, period. So what's the issue?

    --
    "Oh no... he found the .sig setting."
    1. Re:What - exactly - are you worried about here? by JackieBrown · · Score: 1

      . So, you can get the XPosed Framework and XPrivacy, and set permissions for the various packages on your phone. Both are open-source.

      Not on lolipop :)

      That said, I have yet to have an android phone (or device) that I have not rooted. I love adaway way to much to live without it (and titanium backup is a great tool.) I actually prefer CM or AOSP based roms now but mileage varies depending on the device.

    2. Re:What - exactly - are you worried about here? by Anonymous Coward · · Score: 0

      If you don't actually read the code, then by definition you're trusting, period. So what's the issue?

      Yes, yes. We know this, he knows this. There's always some level of trust, because no single one of us has time to expertly review every line of code plus the hardware schematics. Somewhere, we need to trust some party involved, because our time is valuable to us.

      He's reaching-out to the community for experiences. Are there rooting kits / techniques which are known to have malware and should therefore be avoided? One of the purposes of rooting the device is to escape the tyranny of the stakeholders who would use / spy on / leak data which belongs to him. But would rooting introduce a problem where yet another party can spy on his data, or wrest control of the device away from him?

      Instead of asking "what's the issue", you could've stated the point that you want to make anyway, then ask if that's acceptable to the OP.

    3. Re:What - exactly - are you worried about here? by thegarbz · · Score: 1

      On the PC, typically Odin is the only Windows executable involved with rooting an Android phone.

      What is your basis for saying that? Odin is a Samsung internal flashing tool for Samsung devices. There are open source tools which work better (IMO) and also still only cover Samsung phones.

      This is of little comfort to the Lenovo tablet which the OP was asking about. Many other devices don't have such easy flashing tools such as Motorola where root exploits and the ability to flash come from exploits that people have found and abused.

      Also XPrivacy is not a silver bullet. It only works on an application level which does nothing to stop something from phoning home which is embedded in the firmware itself. It also doesn't protect against applications doing things they aren't supposed to if they legitimate need permissions to function. I.e. you can block contacts, and block the internet but you can't block the application from leaking specific data to specific places on the net.

    4. Re:What - exactly - are you worried about here? by Anonymous Coward · · Score: 0

      Odin is a Samsung tool. Android SDK platform tools are the method of accessing flashing almost any other android phones, through fastboot and adb.

    5. Re:What - exactly - are you worried about here? by strikethree · · Score: 1

      The last time I checked, Odin was Samsung specific. You will want to use Heimdall or just use ADB directly.

      --
      "Someone needs to talk to the tree of liberty about its ghoulish drinking problem." by ohnocitizen
  12. Can you read Chinese? by damn_registrars · · Score: 2

    The last phone I rooted only had rooting tools available in Chinese. It seems to have worked, but ...

    --
    Damn_registrars has no butt-hole. Damn_registrars has no use for a butt-hole.
  13. Manual steps vs. payload by allquixotic · · Score: 5, Informative

    Most root exploits I've seen have two components to them: the attack vector, and the payload.

    The attack vector is usually a series of commands that have to be run to get the payload onto the device. This part is fully auditable and usually "open source" in the sense that you can perform these commands yourself. If someone sends you a .bat script with a bunch of adb commands, you can always open up the script and read it and make sure nothing is malicious in there.

    The real problem is that 99% of the root exploits out there have to upload some kind of a binary file to the device, which is then executed. In MOST cases, the source code to this binary is not disclosed, perhaps to make it harder for the manufacturers to fix the exploit, or to keep their attack methods secret, in case the code might expose some more general pattern of attack that would enable the manufacturers to close a whole series of root exploits.

    So basically you are trusting someone who compiled a Linux binary *whose job is to obtain escalated privileges on your device* to then not use those privileges to install some kind of tracking malware, data siphon, or cookie exfiltrating software, or even just a rootkit providing them a backdoor, which initially does nothing but can be activated at any time when the author feels they need something from your device (like participating in a botnet, perhaps?).

    I'm a little surprised that the comments so far haven't really tackled the crux of your question, which was NOT "how do I find root exploits", but "are they trustworthy". Remember, folks, just because it's posted on XDA, doesn't mean it's trustworthy. Anyone can register an account on XDA; absolutely anyone.

    I've read statements from root exploit authors who've said in plain language that they have no motivation to bundle malware in their root exploits and thus don't ever do so, but that's like the NSA saying they don't spy on Americans. We have no way of verifying the statement, and several reasons to suspect the contrary.

    If you are in doubt, I would suggest that you forego root exploits altogether. Instead, you should simply refuse to buy any Android device where the manufacturer does not provide you a means to unlock the bootloader. Once you have a (legit) unlocked bootloader using official tools from the manufacturer, you can then proceed to install any ROM you want -- even an open source ROM that you could audit yourself -- which then gives you root access. Remember, on an Android device, root is far less powerful than an unlocked bootloader, so that's really what you should be aiming for anyway, to have a truly "open" device as an enthusiast.

    1. Re:Manual steps vs. payload by JackieBrown · · Score: 1

      I would suggest that you forego root exploits altogether. Instead, you should simply refuse to buy any Android device where the manufacturer does not provide you a means to unlock the bootloader. Once you have a (legit) unlocked bootloader using official tools from the manufacturer, you can then proceed to install any ROM you want -- even an open source ROM that you could audit yourself -- which then gives you root access. >

      I didn't really get this until I got my tmobile S5. Not only is an unlocked bootloader safer, it's much easier to play with and you don't have to worry that someday you will have to decide if you want to risk upgrading and losing your unlocker bookloader (freedom.)
      I started with an EVO 4G. I updated it when I first got it like I do with OS's for computers. I ended up with a locked bootloader and couldn't do any of the cool stuff I had wanted the phone for. Sure months later a new exploit was found but it was a lesson learned.

    2. Re:Manual steps vs. payload by Anonymous Coward · · Score: 0

      I've read statements from root exploit authors who've said in plain language that they have no motivation to bundle malware in their root exploits and thus don't ever do so, but that's like the NSA saying they don't spy on Americans. We have no way of verifying the statement,

      In practice, this works out well. The kind of people who join XDA (or any open-source development) do it because that is one of their big interests. Such people like to be known for their hacking/programming ability - and would loose all credibility if ever caught making malware. Such people tend to be harmless - they'll do no worse than hand you a program with some bugs in.

      The kind of people who develop malware, have other motivations. Destruction for its own sake, or selling botnet/spying capabilities. That is their big interest, and they see no reason to join any boring open-source movement who might be capable of exposing their criminal activities.

      So you're probably safe with any opens-source group who care the least about their own reputation.

    3. Re:Manual steps vs. payload by c · · Score: 4, Insightful

      I'm a little surprised that the comments so far haven't really tackled the crux of your question, which was NOT "how do I find root exploits", but "are they trustworthy".

      Well, the way I see it, I'll trust a random XDA developer pushing closed-source hacks way more than I trust my carrier and/or handset manufacturer.

      It'll grant you that it's a low bar.

      --
      Log in or piss off.
    4. Re:Manual steps vs. payload by thegarbz · · Score: 1

      Then the flip side to the argument is that most exploits and malware by vendors is discovered by XDA which in general people would consider white hats.

      Do you setup an identity theft business inside a police station? Yes you'd be able to get a lot of identities, but think about the odds of getting caught.

    5. Re:Manual steps vs. payload by Anonymous Coward · · Score: 0

      Which is exactly why, if I were a malware developer (I'm not) and wanted to get my crap out to a largely trusting audience, I'd join XDA. You're relying on the developers to be altruistic, and you appear to be relying on malware developers not to exploit that. Given their enthusiasm in exploiting anything else, that seems a bit short-sighted.

  14. Re:No by Anonymous Coward · · Score: 0

    Yes, nobody would really say "I'm a computer expert" so these articles are probably trolls by slashdot editors, adopting a persona ("What if I was a guy who wanted to know how to root an Android phone.") But it's an interesting question.

  15. We will not be able to tell you by Opportunist · · Score: 1

    We neither know where you take your tools from nor the actual version you're using. And even if we did, by the time such a through analysis is done, the next version rolls about and we can restart rolling that boulder uphill. And even if we did, why should you believe us? There are too many corporations who have a vested interest in you not rooting that device and thinking that any and all rooting tools are malware. Misinformation would most likely dominate such an examination effort.

    The best one can tell you is that most likely there are no deliberate malware hooks in rooting kits. Provided that you get those kits from the usual sources and don't download them from some odd corners of the 'net or torrent.

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  16. If you wanted ownership of the machine by brad-x · · Score: 1, Informative
    Then an Android device was a bad choice.

    1) Most of the important functionality (including the WebKit/Blink browser engine) are now embedded in Google Play Services, which you can't manage.

    2) Total ownership of a device with a proprietary radio isn't realistic - even if you managed to install straight Linux on the thing (unlikely) the underlying firmware is in the bag.

    3) Better to return that machine and go with a Yoga 2 Pro honestly. You'll have the ability to install Linux on it and have far greater control over your data.

    4) A rooting tool is inherently untrustworthy as it exploits flaws in the target system. How can you truly know whether an oft-used method is trustworthy?

    If you're not interested in the above, you don't really care about your data and shouldn't bother rooting it.

    --
    // -- http://www.BRAD-X.com/ -- //
    1. Re:If you wanted ownership of the machine by Anonymous Coward · · Score: 1

      Agreed, other than somewhat unsure about what's a better solution. One point though: it may be that we can't trust software to root the device or the ROMs, but it's a certainty that we can't trust what comes from the manufacturers either...

    2. Re:If you wanted ownership of the machine by bananaquackmoo · · Score: 2

      You do realize that you can have Android without Google right? That Android and Google Play are not the same thing?

    3. Re:If you wanted ownership of the machine by spire3661 · · Score: 2

      Im confused by point #1. Are you saying you cant have an android device without google services? You dont NEED gmail and Chrome, they are easily replaced.

      --
      Good-bye
    4. Re:If you wanted ownership of the machine by hax4bux · · Score: 1, Informative

      gMail and chrome != Google Play Services

      Google Play Services is like iTunes for Android, there is an agent on the phone which does such chores as:
      1) deliver GCM "push" notifications (and other housekeeping chores)
      2) notify you of application updates
      3) probably other stuff but I haven't had coffee yet

      +1 to brad-x, if you are serious about owning the machine then you should not be on Android

    5. Re:If you wanted ownership of the machine by Anonymous Coward · · Score: 0

      Which is why you switch to windows phone and get a firewall mgr. for it like windows firewall control.

      I was sick of rooting and every app sucking all info from me.

    6. Re:If you wanted ownership of the machine by drinkypoo · · Score: 2

      1) Most of the important functionality (including the WebKit/Blink browser engine) are now embedded in Google Play Services, which you can't manage.

      This depends on how you define important functionality. You can't use any gapps without play services, and you will need another browser, but there are other browsers.

      Total ownership of a device with a proprietary radio isn't realistic - even if you managed to install straight Linux on the thing (unlikely) the underlying firmware is in the bag.

      Most of us like to have some kind of wireless communications, and that's going to be true of pretty much *. Including the Yoga 2 Pro.

      A rooting tool is inherently untrustworthy as it exploits flaws in the target system.

      That really doesn't follow.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    7. Re:If you wanted ownership of the machine by Anonymous Coward · · Score: 0

      And getting "Scroogled", right?

    8. Re:If you wanted ownership of the machine by dave420 · · Score: 1

      Google Play Services can be removed, or at least entirely disabled... You don't even have to install GApps, and use F-Droid or Amazon or even nothing as your APK source...

  17. RTFM by Anonymous Coward · · Score: 5, Interesting

    RTFM and get ready to build stuff yourself. You will need to do some research for your particular device and then decide for yourself.

    When I started using Android, it was a Nexus 4. Since the Nexus 4 came from Google, and was widely used by developers, it was easy to unlock the bootloader and root it using tools that were open source and reputable.

    When I purchased a new and less popular phone, I wanted to root it and give it the same treatment. Unfortunately, the only tools I could find for my new device were posted in threads on the XDA forum. Someone posts a recovery + kernel and everyone just downloads and flashes it. Amazing. Well I run a banking app on my phone, how do I know that this thing is only a recovery + kernel and not something extra?

    My other problem with the stuff people post on XDA is that some of the contributors don't seem to really know what they are doing. There's one custom kernel for my device that has a whole slew of useless options and the comment "Please do not ask me to add something, I don't know much about kernel ". So I think there is some amount of "recipe following" by some of the people that contribute on XDA: they figure out a recipe that works, and generate kernels or ROMs without really understanding what it is that they are doing.

    So, my ultimate solution to the problem was just to build everything myself. This took several days for me to scrape together all the information I needed from Google, my device vendor, and random places on the web. I ran into the same problem: I needed tools to do this (specifically a compiler toolchain and a few other tools for assembling the kernel and recovery the way my particular device needs it), but I'm not going to download some random binary from GitHub.

    I'm running Ubuntu 14.04, and the gcc-arm-none-eabi compiler worked fine for building for my Android. I didn't have to download any mystery meat binaries. I rewarded myself by sticking my name into the kernel version, so it says "3.0.4-AnonymousCoward" instead of "3.0.4-SomeAssholeFromXDA"

    RE devices: I've only ever purchased devices from vendors who will let you unlock your bootloader. If you have a device that the vendor doesn't want you to have control over, your only option is to wait for an exploit that can get root (something like Towel Root). I will never trust something like that since the source isn't published, but I would never purchase a device that I can't control completely.

    Hope this is helpful

  18. ad blocking? by Anonymous Coward · · Score: 0

    Ad block and ad block plus are available for Google Chrome and Firefox on Android.

    1. Re:ad blocking? by johanw · · Score: 1

      Only for the browser, which is not the main source of ads on Android. Apps like AdFree block adservers on hosts level, removing most ads from apps as well. For the remaining apps there is of course Lucky Patcher to get rid of the ads.

  19. No. But: by drolli · · Score: 1

    The relevant question is: could you trust the devices firmware in the first place? The las tfew year put a solid upper bound to my trust in this respect?

  20. Stupid question- no source- no accountability by Anonymous Coward · · Score: 0

    If you can't even begin to vet the source there is no accounting for the bugs and potential back doors. We don't know what the adversaries intentions might be. While it could be profit driven as is the case with most malware it could also be espionage, spying on dissidents, or something else. Of which there maybe no acting on the bug/backdoor. That would make it significantly more difficult to detect in a closed source application.

    I should also point out that the source code being available isn't really sufficient to say its secure/safe. We should all be demanding deterministic (the resulting sources compiled by me should result in the same binary thats being released by you) builds, signing, and "open" development. If development is based on a closed model (ie as TrueCrypt was even though sources were released) even if the code is released (even as "free software") it comes with risks attached. Such closed model development model make it difficult for the public to keep tabs on the changes. That makes it harder to spot insertions of back doors and generally monitor what changes the core developers are making.

    1. Re:Stupid question- no source- no accountability by jones_supa · · Score: 1

      If you can't even begin to vet the source there is no accounting for the bugs and potential back doors. We don't know what the adversaries intentions might be. While it could be profit driven as is the case with most malware it could also be espionage, spying on dissidents, or something else. Of which there maybe no acting on the bug/backdoor. That would make it significantly more difficult to detect in a closed source application.

      After that, the next step would be to get someone to provably audit that open source code. We have seen that open source is no guarantee that the eyeballs are actually there. Even some malicious party could distribute something heinous and just get away with it by saying "relax, it's open source".

  21. Re: No by Anonymous Coward · · Score: 1

    The fact woz exists shows that isn't the case. There are other similar people.

  22. Wrong OS by BitZtream · · Score: 0

    Android is the antithesis of privacy. You might as well be looking for GNU/OS X.

    Androids entire existence is to gather your private info for Google. There is literally no other reason ite exists. If your not ok with that, you should probably start looking for alternatives.

    You'll be more likely to use lava to chill your drinks than get privacy from Android.

    --
    Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    1. Re:Wrong OS by Anonymous Coward · · Score: 0

      Amen to that.

  23. Fundamentally not secure by ponos · · Score: 2

    I had the same thoughts when I tried installing CM on an old Android device. In the end, the platform was never meant to be secure or really open to user scrutiny. I suppose with a considerable amount of effort you could achieve some sense of security by inspecting all major components, but if you are inclined to invest a considerable amount of effort, then you probably want much better security and are looking at the wrong place. Phones/tablets are fundamentally insecure, and this is probably by design.

    1. Re:Fundamentally not secure by guacamole · · Score: 1

      Nonsense. Closed? Yes, for obvious reasons. Insecure by design? Why would any vendor want to do that?

  24. Trust android rooting tools? by someonesomewhen · · Score: 2

    Using CynogenMod version (android 4.4.4) on HP touchpad ... Haven't noticed anything very different than on Linux Mint on Asus laptop

  25. "and prevent services like Google and others by jpellino · · Score: 1

    spying on me" Well, you've completed Step 1: Buy some Google ecosystem. Step 2: ???? Step 3: Profit!

    --
    "Win treats sysadmins better than users. Mac treats users better than sysadmins. Linux treats everyone like sysadmins."
  26. Usually, sure by drinkypoo · · Score: 2

    Especially if you get them from XDA-Developers, where people have reputations.

    Let someone else test the tools for you.

    At least some of the tools actually let you patch the hole they got in through, this is true of the exploit for Asus Cube.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  27. Paranoid? by WoodburyMan · · Score: 5, Informative

    Here's an idea. If you are uncomfortable with Google and such, eyeing them as a big brother of some sorts and do not want any Google Play Services or anything Google touching the device... you should return that tablet. Buy a Nexus 9, or a used Nexus 10 or Nexus 7 (2013). This may look counter intuitive, however Nexus devices have pretty much some of the strongest following and modding community behind them and since Google releases the full source for these devices, they are the first to get AOSP variant roms such as CyanogenMod, SlimROM, and Paranoid Android. Once you get them, you can easily follow guides on XDA Developers ( http://www.xda-developers.com/ ) to Unlock the bootloader (Via Google released ADB/Fastboot tools), install a custom recovery (I recommend TWRP which is open source as well so you know what you're getting). Then, depending on your level of paranoid, you can sync the AOSP tree from Google itself and build the entire ROM from scratch yourself, or build or download a flashable zip file of any custom ROM such as CyanogenMod, SlimROM, Paranoid Android etc, and then load it onto the device. AOSP based roms such as these DO NOT have Google's Proprietary API's and Google Play Services. Straight Android. Plus, will full open source, you know what's in it. You will still have to deal with the proprietary blobs left in for display, modem, wifi, etc, however it's as close to full control as you can get for Android with a 100% fully functional Android device.

    1. Re:Paranoid? by swillden · · Score: 4, Informative

      (Android security engineer here)

      Mod parent up.

      This is the only way to be sure of what you're getting. The various rootkits (almost?) all include some closed-source binary which gets uploaded and run as root. Rather than using some hack to exploit some defect in your device's security and upload some random binary which does unknown things to your device, buy a device with a legitimately-unlockable bootloader. All Nexus devices meet this requirement. There are some Motorola devices that do, too, and there may be a few others from other manufacturers. Then unlock your device, install your new ROM (ideally, build it from source, but that's optional) and re-lock your device.

      That will give you the control you want without exposing yourself to unnecessary risks.

      I'm not saying this approach doesn't expose your data to risks, it does. The various third-party ROMs intentionally subvert various aspects of the Android security model. To really understand the risks, you need to understand Android security (I recommend "Android Security Internals" by Nikolay Elenkov), understand how your chosen ROM alters it, and understand how that will impact your usage. But it does put you in control, rather than the author of some random rootkit.

      Oh, and note that it is important to re-lock your device. If you don't, anyone who gets your device can install their own custom ROM and get access to all of your data. Locking the bootloader ensures that the data partition gets erased before a new system is installed.

      (Disclaimer: I work for Google, but this is not an official statement of any sort. It's purely my own opinion.)

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    2. Re:Paranoid? by kenshin33 · · Score: 3, Informative

      ^^^what he said. On some nexus devices (recent ones) you can unlock later without wiping (BootUnlocker app for example, it's available in the play store and opensource ). You might consider building everything your self and SIGN your builds with your own keys (something other than the test key, as the private keys for those are available to anyone) and make sure any recovery you'd use enforces "signature verification" (and that it can not be disabled)

  28. All you need is adb and fastboot by gizmo2199 · · Score: 1

    Basically, all you need is adb and fastboot, both available in the Andorid SDK, which runs on Linux, and the the rooting zip files or images that you upload to the phone/tablet.

    Easiest way to root the tablet is to install a rooted image.

    --
    This Sig does not Exist.
  29. Say goodbye to security by zdzichu · · Score: 1

    When you root, you almost always neuter Android security model. So goodbye to any security.
    You can always do the flashing properly, with signing and stuff, but the procedure is major PITA: http://mjg59.dreamwidth.org/31...

    --
    :wq
    1. Re:Say goodbye to security by drinkypoo · · Score: 3, Insightful

      From your fine link:

      This is unfortunate. Even if you've encrypted your phone, anyone with physical access can simply reboot into recovery and reflash /system with something that'll stash your encryption key and mail your data to the NSA. Surely there's a better way of doing this?

      Anyone with physical access to your phone can, in theory, do anything they want to your phone. Including unlocking the bootloader, and then doing all that other stuff. What a fat waste of time that was.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    2. Re: Say goodbye to security by Anonymous Coward · · Score: 0

      "When you root, you almost always neuter Android security model."

      Even if encryption is used? or am I confused?
      Op simply wants to negate all call home bs at boot crap. Ie, change root permissions to his own from the highly insecure dev's. All the dumbass comments about 'you shouldn't have bought it' are retarded to say the least.

    3. Re:Say goodbye to security by Anonymous Coward · · Score: 0

      Not only that but as others have pointed out the tools are all open source so you can look at what will run before you run it. "Computer expert" my fuzzy, white fanny!

    4. Re:Say goodbye to security by swillden · · Score: 1

      Unlocking the bootloader will erase the data partition.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    5. Re:Say goodbye to security by drinkypoo · · Score: 1

      You hope that's true. But if history has shown us anything, it's that security measures can be circumvented. And if it's shown us anything else, it's that the police will happily break the law and not just on an individual basis, but actually institutionalized. So if there's a way past that, and there probably is, then it will probably make it into law enforcement snooping tools eventually... which will be copied by other criminals in short order.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    6. Re:Say goodbye to security by swillden · · Score: 1

      You hope that's true.

      Actually, since it's closely related to my day job (Android hardware-backed crypto), I have quite deep knowledge of exactly how true it is or is not.

      Subverting it requires subverting the bootloader sequence, which starts with code in on-SoC ROM, which is nearly impossible to modify, and I add the "nearly" only because nothing is impossible; I sincerely doubt that any agency is able to modify silicon without destroying the CPU and I'm quite certain that if anyone can it's a very closely-held, and therefore rarely-used, secret. Supposing the initial bootloader can't be subverted, subverting later bootloaders (which are stored in flash) is also difficult, since they're signed and signatures are verified by the hard-to-subvert boot ROM. There are two obvious ways: break the cryptographic signing, or obtain the signing key. There's no doubt that intelligence services could do the latter. It's unlikely that they would share the signing key, or the subverted signed code, with law enforcement since doing so would make their ability known. It's unlikely in the extreme that criminals would obtain either the key or the subverted signed code. I'll dismiss the notion that someone can break the crypto directly.

      The next option is to exploit some defect in the implementation of the bootloaders and/or fastboot (or in the case of intelligence agencies, even to implant a defect to be exploited). This is probably the best avenue of attack, but it's not easy because the code in question is relatively small, and should be closely scrutinized. Most of it is not open source, though, so scrutiny is limited. This is an avenue law enforcement and criminals could use, if there are exploitable defects. If there are any such defects in any Android devices, I don't know of them, and if they were in any sort of widespread use, I would. If such exploits exist, they're being held close by criminals (for TPT-style attacks) and not being used by LE or intelligence agencies in any context which might reveal them publicly... such as in court.

      The final option is to ignore all of the above and simply attack the hardware. Remove the flash chips and install them in a custom device which reads out their contents. This threat is what device encryption exists to mitigate. Pre-Lollipop, the strength of FDE depended entirely on the strength of the user's password. In Lollipop it was strengthened with the use (where available) of a key bound to the device SoC.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    7. Re:Say goodbye to security by drinkypoo · · Score: 1

      Subverting it requires subverting the bootloader sequence, which starts with code in on-SoC ROM, which is nearly impossible to modify, and I add the "nearly" only because nothing is impossible; I sincerely doubt that any agency is able to modify silicon without destroying the CPU and I'm quite certain that if anyone can it's a very closely-held, and therefore rarely-used, secret.

      Oh, no. If they can do it, then how often they do it will be limited only by budget. But I'm more concerned about back doors. How do you know there aren't any in there? And I'm also somewhat concerned about security flaws. Sometimes just connecting things in nonstandard ways bypasses security measures.

      The next option is to exploit some defect in the implementation of the bootloaders and/or fastboot (or in the case of intelligence agencies, even to implant a defect to be exploited). This is probably the best avenue of attack, but it's not easy because the code in question is relatively small, and should be closely scrutinized. Most of it is not open source, though, so scrutiny is limited.

      Another fine place for a back door, though, and still not that unlikely that a flaw will exist there. The critical code paths should be sufficiently short that it's worth disassembling them.

      The final option is to ignore all of the above and simply attack the hardware. Remove the flash chips and install them in a custom device which reads out their contents. This threat is what device encryption exists to mitigate.

      Well, I'm strongly in favor of encryption. But I still don't trust the hardware, so I don't trust my phone to keep secrets.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    8. Re:Say goodbye to security by swillden · · Score: 1

      Subverting it requires subverting the bootloader sequence, which starts with code in on-SoC ROM, which is nearly impossible to modify, and I add the "nearly" only because nothing is impossible; I sincerely doubt that any agency is able to modify silicon without destroying the CPU and I'm quite certain that if anyone can it's a very closely-held, and therefore rarely-used, secret.

      Oh, no. If they can do it, then how often they do it will be limited only by budget.

      It will also be limited by not wanting to reveal that they have the capability. Per a former-NSA colleague of mine, that is often the more stringent restriction.

      But I'm more concerned about back doors. How do you know there aren't any in there?

      I'm fairly certain there aren't any in the Nexus 6 or Nexus 9 low-level boot or hardware security code. However, there certainly could be in firmware blobs. Those run in non-secure mode, but all your data is also accessible from non-secure mode.

      That said, the Android security team pays pretty close attention to exploits in the wild, so if there were something like that being exploited on a large scale, I think we'd know. Exploits that are used only for so-called "targeted persistent attacks", whether by criminal organizations or government agencies are a different story, of course, but those simply aren't relevant to most people.

      And I'm also somewhat concerned about security flaws. Sometimes just connecting things in nonstandard ways bypasses security measures.

      Sure, that's why I said "the next option is to exploit some defect...".

      The next option is to exploit some defect in the implementation of the bootloaders and/or fastboot (or in the case of intelligence agencies, even to implant a defect to be exploited). This is probably the best avenue of attack, but it's not easy because the code in question is relatively small, and should be closely scrutinized. Most of it is not open source, though, so scrutiny is limited.

      Another fine place for a back door, though, and still not that unlikely that a flaw will exist there. The critical code paths should be sufficiently short that it's worth disassembling them.

      You seem to be restating what I just said :-)

      The final option is to ignore all of the above and simply attack the hardware. Remove the flash chips and install them in a custom device which reads out their contents. This threat is what device encryption exists to mitigate.

      Well, I'm strongly in favor of encryption. But I still don't trust the hardware, so I don't trust my phone to keep secrets.

      Keep what secrets from whom? If the NSA is really your adversary and they're specifically targeting you, you're simply screwed. Seriously, give up now. My goal is to ensure that your device is secure against (a) remote network exploits, (b) locally-installed software and (c) hardware attacks of moderate sophistication. (c) definitely includes "I lost my device and some clueful hardware engineer found it".

      Assuming you're running up-to-date software (yeah, much easier said than done, I know), haven't done anything yourself to compromise the Android security model (e.g. running around with an unlocked bootloader) and have a reasonably-good password and an encrypted file system, I give you high odds of being perfectly safe against (a), (b) and (c).

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  30. Grammar by DougDot · · Score: 1

    What are *your* experiences.

    1. Re:Grammar by Qbertino · · Score: 1

      What are *your* experiences.

      Way better than yours in German. Promise. ;-)

      --
      We suffer more in our imagination than in reality. - Seneca
    2. Re:Grammar by DougDot · · Score: 1

      What are *your* experiences.

      Way better than yours in German. Promise. ;-)

      Genau!

    3. Re:Grammar by Qbertino · · Score: 1

      Genau!

      Genau! Achtung! Verboten! Halt! Gesundheit! Fahrvergnügen! ... Did I miss any cliche German words? :-)

      --
      We suffer more in our imagination than in reality. - Seneca
    4. Re:Grammar by gstoddart · · Score: 1

      Shadenfreude?

      --
      Lost at C:>. Found at C.
  31. Required class action lawsuit against Google by Anonymous Coward · · Score: 2, Insightful

    Imagine if Windows PC manufacturers supplied PCs lacking Administrator access in Windows. People would quite rightly complain, and many would sue their respective PC manufacturers in order to gain full control over their own legal possession. But what if Administrator access were not being supplied because Microsoft did not provide it in Windows in the first place? In that situation, the many lawsuits would rapidly collapse into a single class action against Microsoft.

    That is exactly the situation we have today in respect of Google as developers of Android. Google has not provided any means for owners of Android tablets to gain root access to their own property and hence full ownership of it. This is not the fault of the equipment manufacturers at all but that of Google, and so Google should be legally actioned for it by Android equipment owners as a class.

  32. Re:No by Fwipp · · Score: 1

    Have you seen any of the customer reviews on tech store sites?

    "Tech level: 5/5 - I bought this RAM for my daughter's laptop, but the instructions weren't clear on how to open the case, and she still has a virus. 1/5 stars."

  33. The Android I'd Like to Root by starless · · Score: 1

    Would mainly be Pris.

    But I'd also be pretty keen on rooting Zhora and/or Rachael as well.

  34. Re:Then why did you buy it... by green1 · · Score: 1

    Do you buy the device that's 95% of what you wanted and try to modify it for the other 5%? Or do you buy nothing and go without the functionality you want. The vast majority of the time buying the item that's perfect for your needs isn't possible because it simply doesn't exist.

    I'm all for voting with your wallet, but you have to be realistic, get the best option, don't hold out for the perfect option or you'll usually spend your life with nothing.

    I have a galaxy note 4. I don't have it because I like the locked bootloader or the knox e-fuse, I have it because I live the device itself and all the functionality it provides, and while the security on it sucks, I know I can still get past it to get root. For my purposes there is no better hardware out there, and the ridiculous restrictions they put on it can be bypassed. If they stepped up their security game further and prevented me from getting root the equation would change and I'd vote with my wallet and get a different device.

    We just don't live in an ideal world, sometimes perfect just isn't an option.

  35. excellent question by djsmiley · · Score: 1

    The same way we noticed teh SSL vulns....?

    --
    - http://www.milkme.co.uk
  36. Re:No by meerling · · Score: 1

    You get used to saying "I'm a computer expert" when you talk to the people who believe in pixie dust. It's just that sometimes you have to tell them that their problem lies in a different field and they have to talk to someone else. If you are wondering why, just try telling them something like "I'm highly trained and experienced in removal of viruses and various other types of malware". You know what they'll do? They'll try to get you to install windows for them, or fix their corrupted MSWord documents. They don't understand a thing you've said, so they assume you can and will do anything, or worse yet, they'll ask you to explain all those words they don't even know the vaguest thing about, understand none of it, then still ask you to fix their corrupted word doc because they don't want to pay microsoft to do it.
    It saves everyone a lot of time to just say "I'm a computer expert", and when it's not something you know about, send them to someone who does know that particular area.

    I'm the one that had the call where the user kept typing "right click" every time the instructions told him to right-click on something. And you know, that's not even the worst call. (And I'm not even going to detail the numerous people that think scheduled events will work when the desktops have no power. Or the callers than want you to help them when the computer doesn't have a monitor or a keyboard, and the user can't get into the locked room, which wouldn't matter because they don't have the password either.)

  37. install applications, CAs, encrypt storage, set se by raymorris · · Score: 2

    That's an interesting thought. I imagine Google would have two responses to that. First, an Android user can install applications, set security policies such as requiring a PIN or pattern lock, encrypt the data storage - mostly the same things a Windows administrator can do. To say, completely wipe the disk and install a different OS, one does that via the bootloader, not in the OS. That can be done on many (most?) Android devices and is outside of Google's control anyway.

    Secondly, contrary to your claims, device manufacturers could include sudo in their ROMs if they wanted to. Cyanogenmod AMD others include root; there's nothing stopping Samsung from doing the same with their mods. That's Samsung's decision.

    Lastly, they could point out that for the relatively small percentage of users technically knowledgeable enough to modify the OS without breaking it, there are in fact simple ways for them to enable such access. For the majority of users, who don't knsow what "root" is, enabling it by default would reduce the security and reliability of the device. It would make it less good for the vast majority of consumers.

  38. Red pill or blue pill? by aglider · · Score: 1

    Can you trust the factory installed software?
    Can you trust the modded ROM you want to install?
    Why should it be different with the rooting tool, the modded recovery or any other thing?
    Which ever pill you'll take, you won't ever know!
    Welcome in the real world!

    --
    Sent as ripples into the electromagnetic field. No single photon has been harmed in the process.
  39. Benefit of the doubt: wake on RTC by tepples · · Score: 1

    And I'm not even going to detail the numerous people that think scheduled events will work when the desktops have no power.

    Don't desktop PCs have a wake-on-RTC feature that will end suspend mode at a given time, analogous to wake-on-LAN but without the network? Or by "no power" did you mean unplugged from AC? In that case, perhaps they think missed scheduled tasks will run at next boot.

    1. Re:Benefit of the doubt: wake on RTC by skids · · Score: 1

      Last time I looked at that feature it was a smattering of different BIOS implementations. Nothing standardized, and I'm not entirely sure M$ has kept their support for setting it from inside the OS intact. PITA.

  40. Re:install applications, CAs, encrypt storage, set by Anonymous Coward · · Score: 0

    It's strange to me that there aren't many options to buy phones pre-rooted. Considering how much I value my free time and how little I want to risk bricking my new device, I would easily pay an extra $50-100 for a phone that was both rooted and under warranty. I imagine even less tech-savvy people could be sold on the idea by just demonstrating the new "features" that you gain.

  41. Paranoid much? by Anonymous Coward · · Score: 0

    You don't trust the Android that came with the device, and you don't trust the tools for your to get root access so you can change that.
    Maybe this is the tablet you should be looking for.

    1. Re: Paranoid much? by Anonymous Coward · · Score: 0

      Is not trusting those two strange in some way? Google and shady binaries seem like good candidates not to trust in my book...

    2. Re: Paranoid much? by Anonymous Coward · · Score: 0

      What's strange is buying a device you don't trust to start with, and then getting squeamish about doing something about it.
      Maybe the submitter should think about this stuff before he pulls out his wallet.

  42. Betteridges Law of Headlines by allo · · Score: 1

    No.

    And you cannot trust the ROM. And you cannot trust google. And you cannot trust debian.

    Go, realize that you're always trusting someone, as long as you're not flipping bits to code your own OS. And then you're trusting the hardware.

  43. Disconnect by SuperKendall · · Score: 0

    Step 1) Doesn't want Google observing them.
    Step 2) buys Android tablet, wholly controlled by Google.

    If you were going to root it anyway why not buy an iPad and jailbreak it? Nothing preinstalled even talks to Google without you setting it up, so you're already off to a better start.

    Every Android update is going to fight to collect information about you. I don't see why you would buy into a system that by default will do exactly what you do not want.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
    1. Re:Disconnect by Voyager529 · · Score: 1

      Step 1) Doesn't want Google observing them.
      Step 2) buys Android tablet, wholly controlled by Google.

      At this point, the options are a bit sparse...Google, Apple, Microsoft, maybe Blackberry....I mean, about the only place you won't find that level of mess is an HP Touchpad running WebOS, because I can't see any of the infrastructure still being switched on. The fact of the matter is that, while not outright collusion, I'm unaware of a privacy focused company who has enough chops to release a tablet running their code.

      If you were going to root it anyway why not buy an iPad and jailbreak it?

      Different apps. I haven't been in Cydia recently, but I'd wager that the variety of apps that leverage the "rootedness" of an Android phone outnumber what's on an iPhone. Similarly, there are a number of apps (Rocketdial, GoSMS, etc.) that require a jailbreak on iOS, but will happily run on a standard issue Android phone.

      Nothing preinstalled even talks to Google without you setting it up, so you're already off to a better start.

      Well, at initial setup, there's not much that Google can ascertain - your Gmail address, your cell number, your phone carrier, and your location...but neutering that stuff at first run means that they get all of one data point - one more than I'd like, but still not much. Personally, my first installations are Xposed Framework and Xprivacy; I neuter my phone so thoroughly in that respect that it's a royal pain to use the GPS even when I want to...but I'm perfectly fine with that arrangement; ymmv.

      Every Android update is going to fight to collect information about you. I don't see why you would buy into a system that by default will do exactly what you do not want.

      Because if you're rooting, and more specifically installing a custom ROM, carrier updates become irrelevant. Depending on the ROM, some do OTA updates, others have more conventional means. Either way, I personally have never once installed a carrier/OEM update; I've never once seen one that I wasn't certain was going to make a mess.

      tl;dr: Android sucks, except for all the alternatives. There are roundabout ways to get privacy on Android, and as annoying as it is that it's required to do that, Android is the only contemporary mobile OS that supports them at all.

    2. Re:Disconnect by SuperKendall · · Score: 0

      Different apps. I haven't been in Cydia recently, but I'd wager that the variety of apps that leverage the "rootedness" of an Android phone outnumber what's on an iPhone. Similarly, there are a number of apps (Rocketdial, GoSMS, etc.) that require a jailbreak on iOS

      I'm not sure that's the case... besides there are more app options for things that do not require jailbreaking (like custom keyboards for example).

      As for the example of apps that require jailbreaking... since the basic assumption is rooted/jailbroken system, why is that an issue? You get to use them if you like either way then.

      Well, at initial setup, there's not much that Google can ascertain - your Gmail address, your cell number, your phone carrier, and your location...

      Whereas with an Apple tablet all it's going to get is your IP during activation (it asks on first run if you are OK with it collecting location info).

      Because if you're rooting, and more specifically installing a custom ROM, carrier updates become irrelevant.

      I'm not talking about carrier updates, I'm talking about installing new Google releases, which may have some new collection mechanisms you have not yet blocked or otherwise break your privacy software.

      tl;dr: Android sucks, except for all the alternatives.

      For out of the box privacy (esp. for the non-technical user) iOS is 1000x better than Android.

      For jailbroken privacy for a very technical user, iOS is a tad better. But again it's a matter than the OS is not going to care that it's not collecting your data to transmit back.

      --
      "There is more worth loving than we have strength to love." - Brian Jay Stanley
    3. Re:Disconnect by Voyager529 · · Score: 1

      Different apps. I haven't been in Cydia recently, but I'd wager that the variety of apps that leverage the "rootedness" of an Android phone outnumber what's on an iPhone. Similarly, there are a number of apps (Rocketdial, GoSMS, etc.) that require a jailbreak on iOS

      I'm not sure that's the case... besides there are more app options for things that do not require jailbreaking (like custom keyboards for example).

      The examples I provided were a replacement for the dialer and the SMS client; I'm unaware of there being unofficial replacements for them in Cydia, but I'm all but certain that there aren't any in the App Store proper.

      As for the example of apps that require jailbreaking... since the basic assumption is rooted/jailbroken system, why is that an issue? You get to use them if you like either way then.

      Because very few users of rooted phones use rooted apps in exclusivity. I like having Xprivacy, but it doesn't mean that I don't also play Angry Birds - I can't have booth without root, but they're not mutually exclusive. There are also apps for Android that don't exist on iOS (again, perhaps in Cydia, but certainly not in the App Store) - there are several torrent clients on Android - they don't require root there, but if they're available at all on iOS (I remember cTorrent being a thing on iOS; don't know if there's anything better that's been released there since like 2010), you most certainly need a jailbreak.

      Well, at initial setup, there's not much that Google can ascertain - your Gmail address, your cell number, your phone carrier, and your location...

      Whereas with an Apple tablet all it's going to get is your IP during activation (it asks on first run if you are OK with it collecting location info).

      For the purposes of this post, I'll roll with the assumption that Apple doesn't collect that data anyway. Correct me if I'm wrong, but you need an Apple account to use an iPhone, right? If there's no opt-out, then they get an e-mail address as well. iTunes always got my cell number when I would sync the phone (as well as being necessary for iMessage to work, I'd gather), and carrier is a fairly trivial thing to ascertain based on any number of things - a log file that indicates which .PNG file is accessed for the carrier logo, the aforementioned IP address, or even the serial number of the phone - I'd be shocked if they don't have some sort of record of which batch is sold for which carrier. This leaves us with location. Google also gives an opt-out on the location data, but I tend to not-trust them. The difference between iOS and Android in this respect is that Xprivacy gives a method by which to force an opt-out, completely irrespective of what any given application wants - including all of the system apps.

      Because if you're rooting, and more specifically installing a custom ROM, carrier updates become irrelevant.

      I'm not talking about carrier updates, I'm talking about installing new Google releases, which may have some new collection mechanisms you have not yet blocked or otherwise break your privacy software.

      Xprivacy blocks access at a pretty low level and blocks them pretty effectively despite updates. I could see something interesting happening maybe at the driver level, but every time they update the Play Services, the "good luck with that" response from Xprivacy appears to hold thus far.

      tl;dr: Android sucks, except for all the alternatives.

      For out of the box privacy (esp. for the non-technical user) iOS is 1000x better than Android.

      For jailbroken privacy for a very technical user, iOS is a tad better. But again it's a matter than the OS is not going to care that it's not collecting your data to transmit back.

      I can't really dispute that, to be honest. Android, when properly beaten into submission, CAN have more privacy than iOS, but I'd completely agree that this is a very deliberate state that is not the easiest to obtain.

  44. Re: Disposable Androids by rwa2 · · Score: 5, Informative

    Yep, if you have any qualms about doing stuff on Android, feel free to get a cheap Android tablet to experiment on, like the old $200 Nexus 7. Then you can feel free to fill that one with games and crapware and wipe and reload it regularly like a Windows gaming box. This lets you play without too much risk without compromising your primary Android device. If you use the same google Play account, you don't even have to buy your paid apps twice (though of course then you're exposing your google account that you use to pay for Google apps, but if you're like me, that's separate from your personal gmail account)

    My primary Android device is my phone, and I just keep a bare minimum of essential apps on it so it runs fast and lean. After the Android 5 update, haven't even felt compelled to root it.

  45. Towelroot by Alien1024 · · Score: 1

    I rooted my Nexus 4 and my Kindle Fire HDX using Towelroot (on the Nexus 4 it is extremely easy to apply - just allow non-store apps and install tr.apk; on the Kindle, I had to install HDXposed, the Xposed framework and Google Apps before I could do that). IIRC it worked fine on Android 4.4 (despite scary warnings issued by Google, which can be safely ignored). But it doesn't work on Android 5. Last time I looked into it (a couple of months ago), there was not an easy way to root Lollipop - you had to back up your data and settings and re-flash.

  46. My experience, for reference by sigmabody · · Score: 1

    I had an Android phone which I eventually was able to root/mod; here's some advice, for what it's worth:
    - Get a device which has a supported root/mod path via XDA. Some devices are more rootable than others.
    - Be careful about updates; most root tools only work for specific versions, and patches regularly break rooting methods/scripts.
    - If you want to preserve root, you'll want to run a cusom ROM, so find a device which has a supported mainstream ROM for it.
    - Unless you are an expert, it will take a while. Plan on spending at least a week of off/on time messing with it, and be prepared if you brick it.
    - If you want full control of the device, plan to make this your full-time job. Nobody really offers this, and you'll need to do it yourself.
    - If you just want something with reasonable privacy controls which just works, get an IOS device; that's what I did eventually.

    Also, as a side note:
    - The regular web does suck, and browsing without an ad blocker these days is pretty horrible. Mainly posting to say that.

    1. Re:My experience, for reference by phishybongwaters · · Score: 1

      I see what you did there, "don't bother, get an IOS device that "just works". How, exactly, does this answer the posters question? Hint, it doesn't. Your other advice is pretty useful though. My experience: rooting Samsung Galaxy S2 and S4 (international S2, Canadian S4). Depending on your model and version of android, you will need to follow different routes to get there. Towel root worked great on my S4 before I upgraded to the newest stock, it's no longer able to root the device. If you have an S4 and HAVEN'T gone to the newest stock (4.3? I can't remember) try towel root, it's simple and quick. I'd suggest going over to cyanogen mod and looking through their forums. Most of it is tailored to their ROM, but the rooting process is consistent. CAVEATS: Do not do anything to your phone until you've at least backed it up with the stock software (samsung kies for Samsung phones). Either go into your phones settings, or if on samsung use the dial code to get all the baseband/kernel/radio versions to ensure you know what you are starting from. I prefer clockwordMOD as custom recovery, follow the steps for that version (ensure you pick the right one for your build). This will give you a custom recovery firmware that will let you backup, restore, and load .zips. Once you've confirmed clockword worked, take a full backup of everything and either store that on your internal memory, external SD card, or PC. I suggest on the phone itself to ensure you have no issues copying it back over if everything fails. Some features might not work, you are best reading up on your phone before attempting anything. Some features for samsung phones don't work right on custom roms, like the LED indicator. It works on CM11, just really weird and not as it should. Any of the stock rom specific stuff will be lost too, though a few of these apps have been ported out and will work on most rooted phones. Get used to the XDA forums, this is where you will find the steps and advice you need from rooting, installing a custom rom, or even compiling your own custom rom. Do not ask stupid questions or demand support, use this like a wiki, if you still can't find answers, then you should post in the appropriate forum thread. Rootinig potentially voids your warranty, so before you push ahead, ensure you have the steps to "unroot" your device if needed (copy of the stock rom saved). Samsung stock roms are easy to find, can't speak for others. If you are using a samsung phone, be aware of Knox, which causes all kinds of issues for rooting. It can be done, I did it on my S4 but went back to stock as I actually like a few of the samsung apps. Tripping knox security will not void your warranty, even though it says "knox warranty void" they do not even look at knox when dealing with warranty support. According to samsung support, they have a "don't ask don't tell" policy, and I know personally of a person sending back a bricked rooted phone and had it repaired no questions asked, covered under warranty by samsung. Your carrier, if this phone was not bought outright, will have different opinions on that and will probably not support your phone if they see it's rooted (samsung tosses up a giant yellow exclamation point at boot once you've changed the firmware, go to xda and find "triangle away" unless you want to buy it from google play.) /end rant /begin short answer No, you can not trust 100% code you didn't write yourself. I'd advise against installing "joe blows custom rom" and stick with roms/root that are in an active community looking at the codebase and updating. you are taking a risk, just like you are now using a webbrowser you didn't code, on an OS you didn't code and can't review the code, on a network you didn't configure or secure.

    2. Re:My experience, for reference by phishybongwaters · · Score: 1

      wow, totally lost all formatting there, enjoy the wall of text

    3. Re:My experience, for reference by guacamole · · Score: 1

      Interesting info, but it does not address one big issue. When you root your android device and upload a different ROM, how do you know this ROM doesn't do something malicious? You probably don't. The only way to be sure is to compile everything yourself.

  47. APK, meet APK by tepples · · Score: 1

    Apps like AdFree block adservers on hosts level, removing most ads from apps as well.

    So if you root, does that mean you can get an APK to add a layer of security the APK way?

    1. Re:APK, meet APK by johanw · · Score: 1

      Huh? In this case, if I root I can edit /etc/hosts to reroute some domain names to localhost. AdFree puts all known adser ers i there. Wether an app or the browser tries to load an ad from such a server it won't load. Of course, patching the apk with Lucky Patcher prevents the app to try to load the ads completely, which might result in a better batery time.

    2. Re:APK, meet APK by tepples · · Score: 1

      I'm referring to Alexander P. Kowalski, a frequent contributor to Slashdot's comment section who is often seen advertising his Windows-based tool for aggregating hosts files. His initials happen to be the same as the end of the filename of an Android app package.

  48. Re: Disposable Androids by lsllll · · Score: 1

    ... reload it regularly like a Windows gaming box.

    Wow! The Windows install/update/drivers process is so painful that I am extremely careful in selecting what I install on my gaming machine. I can upgrade to a new version of Fedora in 15 minutes, give or take a minute or two, though. When it comes to my Windows installation, the ONLY thing I install is games I intend to play. Now if I need to experiment in a Windows environment I don't care about, I use VirtualBox and turn on snapshots.

    --
    Is that a roll of dimes in your pocket or are you happy to see me?
  49. be careful! by Anonymous Coward · · Score: 0

    I did find some malicious software in an older link to a rooting tool, posted in the comments of a rooting thread for my device. But it was Windows malware... and it smelled funny to begin with, with a bunch of redirects and hoops to jump through. Fortunately, I run windows on a virtual machine and it was picked up by antivirus anyways. And I wouldn't have installed it anyways, as it didn't take me long to figure out that it wasn't what I was looking for - you shouldn't ever have to install shady third party software on your computer to obtain root. A few phone tools like USB drivers, odin (for Samsung phones), and perhaps ADB and the android develipment environment are all that's really needed on the host computer, but even these are becoming less comonly needed as more advanced tools becone available. Be sure to get these from reputable sources.

    My rule of thumb is to only click links from the OP on a thread, and read through the thread to see what people have discovered.

    None of the precautions here or posted otherwise really cover state-level threats, but it doesn't sound like that's your concern.

  50. Re:install applications, CAs, encrypt storage, set by Anonymous Coward · · Score: 0

    You write:

    an Android user can install applications

    A non-root user can install only the "user" subset of applications, and not those which give him full control over the equipment that he legally owns. Crucial abilities like installing firewalls, monitoring network traffic, detecting malicious activity and restricting or blacklisting sites are not available to the user.

    But the crucial issue isn't which applications can be installed and which cannot, but the very right of the user to control these choices on the equipment he owns. The equipment does not belong to Google and they do not have the moral right to impede the user from gaining root access on his own equipment in a secure manner. The owner most definitely has the right to have it on his own system, and he should not have to resort to risky procedures to obtain it.

    Secondly, contrary to your claims, device manufacturers could include sudo in their ROMs if they wanted to.

    The parent did not claim that the manufacturers cannot include root access, but only that they do not supply it because Google does not provide it in the Android system. The analogy with Microsoft not providing Administrator access for Windows is extremely strong and direct. It would make no sense whatsoever to sue all the thousands of manufacturers separately when every single lawsuit would be identical and stemming from the same omission by Google. That's why a class action would be both logical and legally efficient, tying up only one court instead of thousands.

    Lastly, they could point out that for the relatively small percentage of users technically knowledgeable enough to modify the OS without breaking it, there are in fact simple ways for them to enable such access.

    You appear not to have noticed the entire point of this Slashdot story. There is no approved, validated and hence safe mechanism for rooting an Android device proviced in the standard system and hence available on all devices, and that is the entire reason why risky procedures from untrusted sources have to be considered. That deliberate omission is pushing users who wish to raise their security towards untrusted sources which can compromise that security. A proportion of those untrusted sources are probably malicious.

    Whether it is only a few or many users who would wish to benefit from root access if it were available as standard is not knowable in advance by anyone. Note that technical knowledge by the user is not a requirement, since root access may be enabled only long enough to install an application which requires root privileges to run and which provides great benefit to non-technical users. This could easily create very widespread interest.

  51. Re:install applications, CAs, encrypt storage, set by Anonymous Coward · · Score: 0

    Smartphones really aren't viewed the same way that PCs are. If a user is given root access and then deletes/corrupts important system files then there is an additional burden on carrier and OEMs for support calls, not to mention giving applications root access is never a good idea. We already know from the experience of Windows that people will grant root access to any application if it claims that it needs it, as a result viruses and malware run rampant.

  52. good points, except Google DOES provide su by raymorris · · Score: 1

    You make some good points, except I think you're confusing "rooting" a device which the OEM locked you out vs what an OEM would do to provide root access. Google DOES provide su, which is the file you use to provide root. OEMs could ship phone with su included. They could get it from the Google code URL below.

    What's tricky and risky on some devices, but not others, is getting access to install su if the OEM has not provided it. In other words, su (root) is just like the hotspot feature or any other system-level feature. OEMs can include the standard code to allow it, or they can leave that out of their copy.

    Here's su:

    http://code.google.com/p/super...

    1. Re:good points, except Google DOES provide su by kenshin33 · · Score: 1

      that's not from google, root is enabled by default Engenering and debug builds (from AOSP) the minute you lunch $device-user bye bye root.
      and it comes in one and only one form : adb root (the ability to have root access from adb)

  53. To add more info: by thegarbz · · Score: 3, Informative

    The XDA-Developers forum is full of tinkerers and developers themselves. They get a lot of traffic so proposed roots and mods will have quite a bit of feedback allowing you to judge the quality before you attempt to do something.

    Additionally the XDA guys have a known history of calling out other people's shit. They are the ones who find questionable security practices, back to base datalogging and basically nearly everything negative or questionable you have heard about an Android manufacturer you'll have heard it on XDA first.

    I wouldn't trust any shady site for any kind of root exploit, just links from the XDA-Developers forum.

  54. Sorry... by AlphaBro · · Score: 0

    Sorry, but merely being acquainted with the CLI does not make you a "FOSS expert", nor does it provide any degree of security assurance when running tools compiled from code you are unable to reason about. Unless you can actually read and reason about code at a level that enables you to discover vulnerabilities, backdoors, etc., you do not have the expertise necessary to stay safe, and you should be careful about saying things that imply otherwise.

  55. Who do your trust by aNonnyMouseCowered · · Score: 1

    "Well, the way I see it, I'll trust a random XDA developer pushing closed-source hacks way more than I trust my carrier and/or handset manufacturer."

    That's just plain silly.

    Unless your random XDA developer also manufactured the phone and supplied the stock firmware, then you need to trust two parties: that random XDA developer AND your carrier. Remember just because the phone is rooted doesn't mean it also isn't running the manufacturer's (if any) malware.

    So a phone which can be unlocked using a manufactured supplied tool is still safer than a phone that needs to be rooted. Safest of course is the phone you assembled yourself, right down to the circuit board level.

    1. Re:Who do your trust by Anonymous Coward · · Score: 0

      Wow... Cannot wait to read your post when you get pwned by some "random XDA developer"...

    2. Re:Who do your trust by c · · Score: 1

      Remember just because the phone is rooted doesn't mean it also isn't running the manufacturer's (if any) malware.

      Sure. But we're talking about evaluating trust, not whether or not the phone's running malware. If I'm running a stock firmware, in my mind it's already compromised; slapping an XDA hack on top of it doesn't strike me as increasing risk substantially.

      That being said, I don't find getting root at all useful unless it's a means to the end of unlocking the phone and replacing the stock firmware. I trust XDA hacks to perform that function, at least, and at that point trusting the manufacturer becomes moot.

      --
      Log in or piss off.
  56. Re: Disposable Androids by rwa2 · · Score: 1

    Eh, with Windows 7 it hasn't been that bad, or even with Win98 before that. Every six months or so when it starts having problems, just reinstall from scratch, walk away and let it reboot a few times to finish updates, then install the nVidia updater and Steam and anything else from ninite.com . Just a few more steps than setting up a fresh Linux Mint box.

    That said, the last time my C:\ drive failed, I restored my AppData dir from backups into the new system but still couldn't get some of my games to find their settings / savegame states. Probably need to dink with something in the registry, but haven't been motivated enough, since most of my current games save state to the cloud.

  57. Re:install applications, CAs, encrypt storage, set by kenshin33 · · Score: 1

    I'm not certain, but I think there is, CTS you need that and comply with ACD (Android Compatibility Definition) to be even considered for a license to ship the Google apps.

  58. Re: Disposable Androids by Blaskowicz · · Score: 1

    You left the part out where this may take three hours, during which browsing for drivers and programs may be a great security risk.
    There's even the bug where the SP1 of Windows 7 refuses to install (mine does, googled answers suggest it's a boot due to using dual boot/multiboot causing the damn thing to not recognize the 100MB "system partition" ; there is no solution besides grabbing a Windows 7 + SP1 warez iso and reinstalling)
    There's keeping up with antiviruses to know which "free" one is not pseudo-ransomware (deactivated after one year), my aforementioned borked Windows 7 install has AVG Free from 2011 which stays really free but I'd have to switch to another.

    I guess you have fast CPU, SSD, iso with built-in SP1 and fast internet access to wired ethernet or strong wifi.
    Windows 98 was much faster to reinstall but back then you didn't really need updates and antivirus.. I was sure as hell ready for it too ( \WIN98 directory from the CD on the hard drive, Windows key known by heart, all drivers and programs ready on the hard drive and for good measure I loaded smartdrv.exe before running the installer from DOS, whether or not that was needed)

  59. Re:install applications, CAs, encrypt storage, set by Blaskowicz · · Score: 1

    or that they will delete all those files they "don't need" in c:\windows\system for that matter.

  60. That title... by BlogTheHaggis · · Score: 1

    ...works on sooooo many levels ðYf

  61. Hell no! by Anonymous Coward · · Score: 0

    Lots of reasons

    1) Do you trust some unheard of developer more than the devs working for, say, Sony or HTC?

    2) Once rooted, you cannot (mostly) go back

    3) You lose OTA unless the ROM supports it

    4) The whole point of rooting is destroyed: I rooted one of my phones to get the latest and greatest Android before the manufacturer released it. It was fine for some time. But when the next version of Android came out, I couldn't get my hands on it since those "devs" at XDA require the drivers, etc. from the manufacturer's ROM! So, I have to not only wait for the manufacturer's ROM to get released, now I have to wait for those devs at XDA who are probably short on time since they have exams, or some such crap to be able to update the ROM on my phone.

    5) God alone knows what crap they put into those ROMs - I for one have never tried to verify the source code since most of the devs won't release it to you.

    Lesson learned. Don't root. Be happy with what you have. Build apps of your own to do the things you want to do.

  62. Have you ever considered... by Anonymous Coward · · Score: 0

    Not to buy products of a company that has policies that you don't agree with?

  63. I work for one of many chip vendors by Anonymous Coward · · Score: 0

    I work for one of many of the chip vendors that provide Android based BSPs to OEMs.

    The answer to your question is: Yes. if the rooting tools are open source.

    But you cannot trust Android. Buried deep is all sorts of madness added by vendors and by Google. Theoretically updates can be pushed that are not audited by anyone except the signer and Google. Neither of which can be trusted to protect you from commercialization of your information or from government spying programs.

  64. Trust OSS by sansprivacy · · Score: 1

    You should not trust any tool that isn't open sourced. Consider the folks peddling closed solutions to be doing so with nefarious intent. Even without nefarious intent you would not want to hand your device over to some tool constructed by a kid who gleaned the information to write the tool from instructions cobbled together from their various sources. You can also avoid the problem altogether and choose to carry a real phone instead of a "smart phone".

    1. Re:Trust OSS by phishybongwaters · · Score: 1

      Don't trust it because it's open source. Trust it because there's a community involved in reviewing the code that has no incentive to be deceptive.

  65. We're screwed. by Anonymous Coward · · Score: 0

    It's official: We as a consumer are very willing to spend a ton of time and effort researching and implementing ways to actually own something we already spent money for, then will use it to access things like Lifehacker to be more "efficient" since "there's not enough time in a day".

    On the surface, we're essentially buying a problem we need to solve for the "convenience" of having mobile access to our data. A tech treadmill that only ends when we do.

  66. Re: Disposable Androids by Anonymous Coward · · Score: 0

    There is absolutely no reason to get a "warez" windows iso. A windows iso can be obtained from official sources without any problem. Microsoft doesn't give a shit if you download them, there useless without a key or crack. Just grab a shiny iso from the digital river source and you have a clean copy provided by an official source.

  67. Required class action lawsuit against Google by Anonymous Coward · · Score: 0

    1) Google provides easy unlock for all its devices from day 0.
    2) Just goo to Google Play and type "sudo". There are a lot of them available. Not provided by Google, but not forbidden either.
    3) If manufacturers lock their devices, Google can't do anything about it.

  68. Re: Disposable Androids by mlts · · Score: 1

    One trick I learned is to format the machine completely (using the clean all command under disk part), install the OS of choice, load needed drivers and updates, and once it is in a place where everything is stable... then activate it, and save off a couple wbadmin backups.

    Now, if I need to reload a physical Windows box, I boot the Windows media, format, then reload the image, and reboot. Back to how it was. I can always get fancier by having a USB flash drive with Offline WSUS [1] images so I can get all patches installed if I so chose.

    [1]: This isn't a MS product; use at your own risk. However, it is useful for updating a machine with a limited or no Internet connectivity.

  69. Do not need apple account by SuperKendall · · Score: 1

    Because very few users of rooted phones use rooted apps in exclusivity.

    I still don't understand - neither to jailbrake owners, you can still use the Apple App Store.

    If you have the full set of jailbrake + normal apps, the world of apps is not limited.

    Correct me if I'm wrong, but you need an Apple account to use an iPhone, right?

    No. It's useful because they provide free backup and other things, but you can use the iPhone without an AppleID.

    You do need an AppleID to use the App Store. But that login is independent from the rest of the system, and is only used by the App Store app.

    You can create an AppleID just for the purposes of using the App Store (and for enabling device backup), it doesn't have to have a credit card tied to it until you need to purchase something.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
  70. Re:install applications, CAs, encrypt storage, set by drkstr1 · · Score: 1

    It's strange to me that there aren't many options to buy phones pre-rooted. Considering how much I value my free time and how little I want to risk bricking my new device, I would easily pay an extra $50-100 for a phone that was both rooted and under warranty. I imagine even less tech-savvy people could be sold on the idea by just demonstrating the new "features" that you gain.

    My understanding is that licensing restrictions prevent o e from shipping an android device that includes any of the useful proprietary bits from google, unless you are an "approved" manufacturer. I believe this is why Cyanogen mod had to make some concessions in order to ship a product that can be sold outside the grey market.

    --
    Fanboy Status: Apache Flex, C#, Eclipse, KDE, Pirate Party, Ron Paul, Slackware, Windows 7
  71. Re:install applications, CAs, encrypt storage, set by Anonymous Coward · · Score: 0

    IMHO, I think developer editions are good enough for this, even if all it takes to get root is to run "fastboot oem unlock", load a recovery rom, and push the superuser app and binary onto the device.

    The reason is that someone buying a "developer edition" device pre-rooted, then getting the device nailed to the wall because they downloaded some dodgy app that was allowed to get root and full control of the device, would result in insanely bad press, as well as lawsuits and calls for more stuff like eFuses, Knox, and other user-hostile hardware DRM mechanics.

    At least it is patently obvious when someone gets the "one does not simply walk into Mordor" screen when unlocking the bootloader, that they are on their own.

    I do agree with the parent. It would be nice to have a device with a completely open bootloader, as well as a way to download complete official firmware updates, so a soft-brick can be returned to stock easily. As for root, I'd want at least a quite clear warning dialog before the user gets full access. Not lock them out, but at least get them to either click past it, as they know what they are doing, or maybe hit the Web and check their favorite search engine of what root gives them.

  72. Some vendors allow rooting without hacks by Anonymous Coward · · Score: 0

    HTC allows you to root a device for example. You just have to submit your device serial number to invalidate your warranty.

  73. TBH, I haven't... by Anonymous Coward · · Score: 0

    ...found anything that REQUIRES root that I wasn't able to workaround or do in another way and, hence, have NOT rooted any of my Android devices in 2 or 3 years, nor do I miss NOT having root. OTOH I've been running nexus phones(and so am more or less happy with stock android and not playing fw of this half hour on it, never really did TBH except cyanogen in a few cases of severe craptacularness prior to nexii).

    Tablets: I've given up on them as utterly useless for anything other than reading PDFs, backup ebook reader(when all eink/mono LCDs are down), and maybe emergency web browser. They're just big phones with the same shitacular input methods all of which equally suck if you didn't figure that out yet, BUT at least the general UI is NOT the shitacular Metro.

    IF I had an iphone or windows* phone(or blackberry) I'd be rooting those in a picosecond or attempting to(blackberry, never looked at them, but given rep I'd expect them to be difficult).

    * nah I'd just chuck it on the nearest brick wall or slab of concrete...