News for hackers. Stuff that matters.
Re:Android devices can be fatally hacked by malicious Wi-Fi ... by exabrial on Thursday April 06, 2017 @05:25PM (#14054779)
We really need a release of Android that allows driver updates via manufacturer packages and the app store. This is terrible.
Re:Android devices can be fatally hacked by malicious Wi-Fi ... by djsumdog on Thursday April 06, 2017 @05:57PM (#14055039)
It's not going to happen. Google makes a ton of money off the fact that people dispose cell phones ever two years, so they're never going to patch their insane OS model. I write about it a bit here:

http://penguindreams.org/blog/android-fragmentation/

..but the gist is that ARM isn't a PC. There's no platform. You've got random pins connected to random shit and only a subset of devices that use Device Tree. Even the ones that do still tend to have a ton of binary blobs and weird kernel patches that can't be up-streamed.

In a way, Windows/x86 makes a lot more sense. You have a base operating system. Any time you buy a new machine, you can wipe it, install the drivers and you've got a nice bloat free OS (until Win10 Advert edition anyway).

You can't just run AOSP. There have been cases where AOSP releases on master have failed to compile or require binary blobs. Maybe this weird Fuchsia crap Google is working on will provide a standard/stabilized kernel an ABI, but I wouldn't count on it.

At least Microsoft phones required UEFI, but they have locked bootloaders. If we wanted decent 3rd party fully open operating systems, I'd say the old Nokia devices would be the way to go if the bootloaders could be cracked.

Re:Android devices can be fatally hacked by malicious Wi-Fi ... by saurik on Thursday April 06, 2017 @06:48PM (#14055424)
> Google makes a ton of money off the fact that people dispose cell phones ever two years...

Huh? I am pretty sure Google subsidizes their Nexus phones (not that they actually sell many) and I thought they didn't charge volume fees for their licensing program... they pretty much run Android to make sure that Apple doesn't take control of all mobile by having a unified API (which for everyone else had to be cobbled together from a diverse and often competing set of manufacturers: no small task) and then use that power to lock Google out of the thing which actually makes them money, which is advertising revenue from tracking capabilities. Other than "it is great for our software if phones were faster", I can't imagine Google would care, financially, if everyone were using older Android hardware and never sold a new device again as long as they could update their software; do you have any financial mechanism for your assertion? When I have last bothered to really pull apart all of the statements, essentially all of the actual profit in the world of Android goes to Samsung.

Re:Android devices can be fatally hacked by malicious Wi-Fi ... by djrogers on Thursday April 06, 2017 @07:26PM (#14055661)
> Google makes a ton of money off the fact that people dispose cell phones ever two years

I've never seen any indication the google makes a PENNY off of someone disposing of their cell phones.

Re:Android devices can be fatally hacked by malicious Wi-Fi ... by zaroth on Thursday April 06, 2017 @10:45PM (#14056671)
Of course Google profits in many ways from more people having the most powerful smartphones possible.

Throwing away an old phone and buying a new phone doesn't have to directly fund Google for it to be undeniably profitable to Google.

That's not to say at all that Google is trying to arguably brick people's phones to force them to upgrade more. That makes no sense at all. They just don't have enough control over the ecosystem to fix the upgrade problem.

Re:Android devices can be fatally hacked by malicious Wi-Fi ... by dlubarov on Friday April 07, 2017 @04:14AM (#14058042)
> There have been cases where AOSP releases on master have failed to compile or require binary blobs.

I wouldn't expect master to be stable, for Android or any other project. If you were setting up a new Linux machine and compiling the kernel yourself, surely you wouldn't build master? AOSP has release branches and RCs like android-7.1.1_r38 which will have gone though a bunch of QA.

Most users wouldn't like stock AOSP though, since the built-in apps are very primitive.

(I'm at Google, but don't work on Android.)

Re:Android devices can be fatally hacked by malicious Wi-Fi ... by adynatos on Friday April 07, 2017 @05:22AM (#14058323)
but you should expect it. any sane development environment will require a code review and build verification before code is submitted to master. there's only a problem when that system is overriden because of impossible deadlines, mandated crunch times and other stupid business practices.
Re:Android devices can be fatally hacked by malicious Wi-Fi ... by dlubarov on Friday April 07, 2017 @03:02PM (#14062560)
The platform team does do code review and automated tests, but occasionally something slips through, so they QA release branches as well.

Is there any major app (say, at least 1 million SLOC) which has such good automated tests that they're comfortable shipping master without any manual QA? I'd be really surprised if there is.

Even if a team is totally committed to automating all their testing, there are some big challenges with doing so at scale:

- You run into all kinds of rare bugs (with AOSP, the emulator, host OS, etc.). When I worked at Square our biggest app had ~5 hours of automated tests, and these rare bugs made it very hard to keep our builds stable. I imagine thoroughly testing AOSP would take an order of magnitude longer.

- If you want to test on a variety real phones (which seems critical for AOSP), then testing every master commit is cost prohibitive.

- It's hard to automatically detect graphical glitches. You can take screenshots at certain times and validate that they're pixel perfect, but you might still miss a glitch in between screenshots, e.g. during an animation.

Re:Android devices can be fatally hacked by malicious Wi-Fi ... by Klathmon on Thursday April 06, 2017 @09:59PM (#14056466)
I'm not so sure that will actually help all that much.

Qualcomm needs to provide drivers for many of these devices, and if they don't want to do update them the OS can't be updated.