News for hackers. Stuff that matters.
Re:Using Rowhammer bitflips to root Android phones by zigzigzag on Monday October 24, 2016 @02:19AM (#12776995)
You don't, if you care enough to buy a phone where that's possible. Any Nexus device can be reflashed to a custom Android build for example. Of course you void your warranty that way.

What you're really asking is why is there no root shell by default on all phones, and simply posing the question also answers it - it's a phone, there's zero demand for messing about with terminal emulators on a phone. If you say, but I'd like to install apps as root, the problem is such apps could break the phone in arbitrary ways like by infecting it with malware/adware/spyware that then can't be uninstalled. Modern operating systems are very much designed to limit what apps can do to avoid the nightmare that desktop OS's turned into, where people are afraid of installing apps in case something goes wrong. For better or worse you can install apps on Android/iOS without much fear, which is one reason people do it so much: you can always remove the app again if it's trouble.

Android is pretty customisable and has lots of permissions anyway. There are very few things you can't do if you don't have a carrier-locked phone. So supporting apps with root access would vastly worsen the malware situation in order to satisfy a tiny number of geeks who like editing config files: a very bad tradeoff.

But hey, Android is open source, so if you think I'm wrong go ahead and make money selling phones with root access.

Re:Using Rowhammer bitflips to root Android phones by chx on Monday October 24, 2016 @02:38AM (#12777033)
Of course we shouldn't forget little niceties like YouTube not being able to play background music. Only the paid YouTube Red service can do that which is simply not available in many countries -- but even in those YT won't play in the background. Unless, of course, you have xposed installed... So, as usual, controlling what you can do with your own device results in a) perceived gains for the rightholder b) pain for ordinary users c) nothing at all for the informed. If this resembles the DRM situation, it is.
Re:Using Rowhammer bitflips to root Android phones by zigzigzag on Monday October 24, 2016 @04:44AM (#12777407)
What's that got to do with root access?

If you can beat YouTube's DRM then you can just make your own player app. No need for root.

If you can't then what makes you think you could defeat whatever checking for rooted devices YouTube would add to their app?

Anyway, this sort of discussion is pretty pointless. The market has spoken. The number of people who care about root access is tiny compared to the number of people who want a safe device and app experience. Heck the entire iPad/iOS experience is pretty much "let's take a general purpose computer, make it do less, and it'll sell much better".

Re:Using Rowhammer bitflips to root Android phones by chx on Monday October 24, 2016 @09:22AM (#12778489)
Um, how do you plan to install xposed if you are not root?
Re:Using Rowhammer bitflips to root Android phones by Dylan16807 on Monday October 24, 2016 @05:11PM (#12782945)
You install your own player app. You don't need xposed. You don't need root. You do need to sideload because the app store forbids anything that annoys youtube.
Re:Using Rowhammer bitflips to root Android phones by kogepathic on Monday October 24, 2016 @08:31AM (#12778205)
Just install NewPipe and you can download YouTube videos to your phone, or only download the audio. [1]

Works fantastically.

[1] https://f-droid.org/repository/browse/?fdfilter=NewPipe&fdid...

Re:Using Rowhammer bitflips to root Android phones by chx on Monday October 24, 2016 @03:36PM (#12782054)
Oh. And how do you install F-Droid?
Re:Using Rowhammer bitflips to root Android phones by ce4 on Monday October 24, 2016 @04:42PM (#12782691)
The process is called sideloading. Android offers it for free, whereas on iOS you need a developer license to do it. https://f-droid.org/forums/topic/how-install-from-f-droid/
Re:Using Rowhammer bitflips to root Android phones by chx on Tuesday October 25, 2016 @12:53PM (#12789501)
Let's prod further. How do you sideload if you are not rooted? I can't remember what you can and what you can not do but I am reasonably sure you can't just adb install foo.apk if you are not rooted as the "untrusted sources" option won't be available.
Re:Using Rowhammer bitflips to root Android phones by ce4 on Saturday November 05, 2016 @07:58PM (#12882596)
Go to settings=>security and enable "unknown sources" (allow installation of apps from unknown sources).

After that you are allowed to install .apk files (e.g. clicking the "download of xy.apk finished" notification or in a file explorer app).

Edit: that setting is always there, it's only greyed out if you installed a corporate app that explicitly disables it (e.g. the "GoodApp" email/calendar/contacts suite).

Re:Using Rowhammer bitflips to root Android phones by detaro on Tuesday October 25, 2016 @12:56PM (#12789530)
It's explained (not well, but it is) in the link ce4 gave you. You enable it in the settings and and then just install packages.

EDIT to match your edit: you remember wrong, the option is always there (unless there is some manufacturer out there that blocks it (Amazon maybe?), but most devices certainly don't)

Re:Using Rowhammer bitflips to root Android phones by tokenizerrr on Monday October 24, 2016 @03:45AM (#12777233)
> Only the paid YouTube Red service can do that which is simply not available in many countries

Oh yes, this. I pay for Google Music which is supposed to include that, but I do now have it by virtue of living on the wrong side of some border.

Re:Using Rowhammer bitflips to root Android phones by shaggerty on Monday October 24, 2016 @05:29PM (#12783093)
You can play YouTube audio in the background and with the phone locked if you use Firefox.
Re:Using Rowhammer bitflips to root Android phones by dingo_bat on Monday October 24, 2016 @04:28AM (#12777360)
Just install Firefox and you're set.
Re:Using Rowhammer bitflips to root Android phones by jbmorgado on Monday October 24, 2016 @08:58AM (#12778334)
> "Any Nexus device can be reflashed to a custom Android build for example. Of course you void your warranty that way."

Maybe in the USA you do (I'm not sure about consumer protection law there), but in the EU you certainly don't. The law states clearly that: It's up to the manufacturer to prove that the unintended software modification caused the hardware problem.

So, if your software modification doesn't pose any problem, or even in the case it does, if it doesn't affect the part of the device you are asking to repair under warranty, then the manufacturer has to make the repair under warranty.

Re:Using Rowhammer bitflips to root Android phones by darklajid on Monday October 24, 2016 @03:32AM (#12777197)
"Of course you void your warranty that way."

Wait.. What? Why would that be the case? And .. why would you state that you'd lose your warranty and prepend 'of course'?

As far as I'm aware you do NOT lose your warranty. That would be rather stupid (of course).

Re:Using Rowhammer bitflips to root Android phones by orf on Monday October 24, 2016 @03:53AM (#12777250)
Because if you go about flashing your phone willy-nilly and some bad firmware bricks the phone, it's not the manufacturers fault is it.
Re:Using Rowhammer bitflips to root Android phones by izacus on Monday October 24, 2016 @05:35AM (#12777576)
Yes, if your firmware breaks the phone it won't be covered under warranty. If your phones hardware breaks, the firmware doesn't matter.

Of course the manufacturers, who have vested financial insterest, will make you think otherwise.

Re:Using Rowhammer bitflips to root Android phones by jjawssd on Monday October 24, 2016 @11:10AM (#12779481)
It's cheaper for manufacturers to blame non-official firmwares for bricking a phone and saying "I told you so" as a big fuck you
Re:Using Rowhammer bitflips to root Android phones by darklajid on Monday October 24, 2016 @04:22AM (#12777339)
I'd argue that you have a hard time bricking a phone.

But even if you manage to do that somehow, that is a specific problem. Using a general statement like 'flashing voids your warranty' remains weird (and wrong imo).

"Stuffing your phone in your pockets voids your warranty. Because if you stuff it in your back pocket and sit down on it, hard, it's not the manufacturer's fault if the screen breaks. Is it?"

Re:Using Rowhammer bitflips to root Android phones by justsid on Monday October 24, 2016 @05:10AM (#12777492)
But you _do_ void the warranty if you break your phone when sitting on it. It's a specific action that does that, and it's not as simple as "only rooting your phone voids the warranty"
Re:Using Rowhammer bitflips to root Android phones by darklajid on Monday October 24, 2016 @05:22AM (#12777541)
I.. think we agree? Are you just chiming in to support my position? Because I think that is what I wrote above. That was the point, I tried to answer the GP's 'if you brick it (by flashing it)..' line of reasoning with 'if you brick it (by sitting on it)..' and showing that there is no connection between flashing and bricking in general.
Re:Using Rowhammer bitflips to root Android phones by cfstras on Monday October 24, 2016 @06:34AM (#12777762)
There's plenty of opportunity. For example, there are reports of flashing the wrong firmware (Galaxy Note) on a similar phone (Galaxy SIII) can lead to bricking touchscreen controller-
Re:Using Rowhammer bitflips to root Android phones by darklajid on Monday October 24, 2016 @07:18AM (#12777915)
There's also plenty of opportunity to accidentally drop your phone in the loo. Common sense and being somewhat careful helps in the vast majority of things, flashing your phone included.

That said, even if you flash stuff without reading instructions or fully understanding what you do: Most errors I've seen are flat-out not working (software stating: "Can't do this, you're messing up") or recoverable/soft-bricks only.

(In the end it doesn't matter if you CAN kill your phone by flashing nonsense: That still wouldn't make a good argument for "Flashing voids the manufacturer's warranty". I'd just mean that those individuals who bricked their phone .. might not be covered.)

Re:Using Rowhammer bitflips to root Android phones by SixSigma on Monday October 24, 2016 @07:46AM (#12778011)
Since when is dropping your phone in the toilet covered under warranty ?

Apple added "been in water detection" to avoid payout on that very activity.

Re:Using Rowhammer bitflips to root Android phones by darklajid on Monday October 24, 2016 @08:23AM (#12778161)
I never claimed that this was under warranty. I'm constantly trying to use this thread to kill any connection between 'rooted my phone', 'flashed a different firmware' and 'bricked my phone'.

GP replied to one of my posts, saying that there IS a real risk of bricking your phone when you flash it (I don't disagree, but consider it unlikely).

By comparing the process with a totally different ~real risk~ (phone -> toilet) I'm trying to drive the point home that it isn't a problem of either flashing your phone or playing some mobile game on that white throne of yours, it is a problem of being careless. Bricking my phone shouldn't be covered by a warranty. Flash or flush doesn't matter.

But trying to imply that the warranty is void because I installed software is overly broad and crazy: If I flash CM today and the phone dies in a month from now due (battery dead, hardware issues w/ screen or power button, antenna issues, pick anything faulty you had with a vanilla/unchanged handset in the past), then CM isn't to blame and my phone has a working warranty (for all I know, for all I care - and anything else seems completely unacceptable in my world).

Re:Using Rowhammer bitflips to root Android phones by ce4 on Monday October 24, 2016 @05:04PM (#12782879)
It's possible, but rare. As an example, some Samsungs had faulty eMMC chips (used in the Galaxy Nexus, SGS2 and Note 1) and certain operations when installing custom ROMs (eMMC secure erase/wipe) would trigger the infamous BrickBug that crashes the eMMC chip from next boot on. The problem was faulty eMMC firmware that Samsung later patched but never acknowledged (it was discovered by reverse engineering [1]) and worked around.

[1] https://plus.google.com/+AndrewDodd/posts/Drq9uJbkGfq

Re:Using Rowhammer bitflips to root Android phones by tmzt on Tuesday October 25, 2016 @01:49AM (#12785604)
Are you aware if eMMC firmware is signed?
Re:Using Rowhammer bitflips to root Android phones by singold on Monday October 24, 2016 @08:20AM (#12778148)
The thing is that if you drop the phone in the toilet you aren't covered but that doesn't mean that you void your guarantee by using your phone while you are there, for me that's the difference.

If I flash my phone and later some part of it breaks because it came bad from factory, that is independent of me flashing the phone and should be covered.

Re:Using Rowhammer bitflips to root Android phones by rlpb on Monday October 24, 2016 @07:49AM (#12778025)
Then it is your flashing of your phone willy-nilly and bricking the phone by doing that which might void your warranty, not rooting your phone.

Of course, this depends on the laws in your jurisdiction.

Re:Using Rowhammer bitflips to root Android phones by StavrosK on Monday October 24, 2016 @07:53AM (#12778045)
Yeah, I'm tired of using these proxies to unwanted behaviour when the behaviour itself is easy enough to see.

"What did you do that bricked your phone?"

"I flashed some custom firmware and stopped the flash mid-way"

"But how? All our phones are locked"

"I unlocked it"

"Aha! That is the real culprit!"

Re:Using Rowhammer bitflips to root Android phones by wccrawford on Monday October 24, 2016 @12:23PM (#12780236)
I haven't worked for a computer manufacturer for a couple decades now, but back then it was common to require the user to use the stock software when requesting support. If you removed Windows and installed Linux, they wouldn't support it. If anything went wrong, they'd point to your changes and say that they are a possible cause and basically refuse to try to fix it until you un-did those changes.

Likewise, if you hack special software onto the phone, overriding protections that they put in place to prevent it, I could see them refusing to spend time and money trying to fix the phone until you undid those changes first. And I believe some of those changes can't be un-done fully, even if you re-flash a stock firmware.

The net effect is that it effectively voids your warranty.

So no, technically you don't lose your warranty, but you also can't really make use of it, either.

This really only applies to software things, though. Hardware problems, like the battery exploding or the phone just refusing to turn on would still be easy to get covered, since you can't even get far enough to see it's been modified.

But if the GPS stops working or it stops receiving calls, they could blame it on the custom firmware, and they might even be correct.

Re:Using Rowhammer bitflips to root Android phones by darklajid on Monday October 24, 2016 @02:18PM (#12781339)
I'm ignoring support - support is a different issue and unrelated when we're talking about the warranty here.

If I hand in my handset to claim my warranty, I'm fine with a 'wipe by default' policy. In fact, my limited experiences (both with my phones and the ones from my closest family) that was implied anyway: You'd get the phone back with a ~fresh~ factory image (and all the crap- and adware that this includes).

So here's the thing: If I claim that GPS doesn't work, you reflash it with a Known Good™ image and GPS still doesn't work - then the device has a hardware problem.

If I can cause a hardware problem by running a different flavor of Android, then .. that's a serious hardware _design_ problem.

I'm not saying that you cannot kill or damage a device. But defaulting to 'You installed stuff, you probably caused it' seems rather simplistic, is probably wrong a good number of times.

You brought up PCs: I think you'd have a hard time if you'd defend the stance that installing Linux on a laptop voids the warranty. Granted, the underpaid tech support might not be able to help me around software issues, but if I claim that the wifi doesn't work and send it in... Do you believe they can/could/should refuse to check and fix the problem under warranty?

Re:Using Rowhammer bitflips to root Android phones by wccrawford on Tuesday October 25, 2016 @07:02AM (#12786823)
>Do you believe they can/could/should refuse to check and fix the problem under warranty?

I'm actually saying that they did refuse to attempt to fix the problem unless you restored the original OS that they sold it to you with. (I believe upgrades to newer versions was okay, because those were supported on newer computers. I didn't encounter that situation in the time I was there.)

Having said that, I didn't always toe the company line. I often did my best to help people who were using an unsupported configuration (added internal hardware, different OS) but there was still a limit to what I could do. Unlike most of the others, though, I had a few years experience working at a computer shop, so I actually knew things and wasn't just reading from the company intranet's guides.

I got caught a couple times on software problems that appeared like hardware problems, too. By not forcing them to revert to the original software, and then escalating them to second tier support, I ended up getting in trouble. So there was at least some method to their madness.

Sending it in, though... There wasn't a place to do that. So far as I know, there weren't any physical stores other than big name retailers like Best Buy, and you couldn't just ship it in without going through phone support. So you had to try the advice from the phone support first before shipping it in.