News for hackers. Stuff that matters.
Re:There are over a billion outdated Android devices in use by kuschku on Monday November 13, 2017 @09:00PM (#15692007)
Basically yes, but that's often not good enough either. Lots of third party code OEMs end up with in their kernels, unmaintainable, and often incompatible with anything.
Re:There are over a billion outdated Android devices in use by pcwalton on Monday November 13, 2017 @09:48PM (#15692212)
Well, it's not true that "ARM has no method to enumerate devices". It does have that; it's just that hardware manufacturers are bad at using it properly. (That's not to say it's not a huge problem; it's just that it's an economic/business/social one, not a technical one.)
Re:There are over a billion outdated Android devices in use by crzwdjk on Wednesday November 15, 2017 @12:22PM (#15705491)
I mean, it sort of does and sort of doesn't, but the hardware manufacturers just aren't used to thinking about things in the proper way. Just like the hardware is a black box with no user serviceable parts inside, as far as they're concerned the firmware (because that's still how they think of the OS and everything on it) is a single binary blob with no user serviceable parts inside, even if it's actually just linux and Android. And just like all the hardware parts are designed and qualified for a particular design, the same goes for the software: when you buy your hardware you get a software with it and that's that. As far as they're concerned it's just another component like a screen that gets customized to work with everything else and goes in the box, then is never touched again.
Re:There are over a billion outdated Android devices in use by crankylinuxuser on Monday November 13, 2017 @09:31PM (#15692145)
Now waitasec...

I own Crappy unupdated Android one of. And the drivers use the Linux kernel. Last I checked, they need to release source for their drivers.

So where is it? And why can't we upstream those patches and "fix" android?

Re:There are over a billion outdated Android devices in use by khedoros1 on Tuesday November 14, 2017 @01:19AM (#15693093)
Maybe they pull the stuff Nvidia does: write an interface kernel module, then have the driver itself in a library that the module loads. Since the actual driver is never part of the kernel tree...
Re:There are over a billion outdated Android devices in use by kuschku on Tuesday November 14, 2017 @05:06AM (#15693885)
It's much simpler.

The OEM never releases the source.

And courts have decided that it's not enough if you have some contributions to the kernel yourself or are a user to force them to release it, you have to have made significant contributions to force them to release it via the courts.

And Torvalds and the major kernel maintainers all refuse to enforce the GPL, and actively campaign against doing so.

Re:There are over a billion outdated Android devices in use by colejohnson66 on Tuesday November 14, 2017 @09:07AM (#15695039)
> And Torvalds and the major kernel maintainers all refuse to enforce the GPL, and actively campaign against doing so.

Two questions: why? and why use the GPL if you’re not going to enforce it?

Re:There are over a billion outdated Android devices in use by porfirium on Tuesday November 14, 2017 @05:58AM (#15694051)
Are kernel drivers subject to the GPL just because they use the Linux ABI?
Re:There are over a billion outdated Android devices in use by kuschku on Tuesday November 14, 2017 @06:03AM (#15694080)
It'd be a long legal discussion to properly answer your question, but luckily OEMs make it easy for us:

On most phones, there are zero external kernel modules loaded. The SoC vendor bakes it all into the ketnel, and the OEM gets the kernel as a blob. Which means all of it is subject to the GPL.

Re:There are over a billion outdated Android devices in use by crankylinuxuser on Tuesday November 14, 2017 @06:38AM (#15694221)
Yep, I had to go sleep (yeah, that dreadful thing!).

But this was my main area of attack. You compiled the drivers directly into the kernel. Making it all GPL. Now, as a strict reading, I have to have the device to make the request. That's not difficult. Ive phones from a lot of US named companies.

I just want the rights enumerated in the GPL as granted to end users. I'm no kernel maintainer. Just a cranky person who wants the GPL enforced as any license.

Re:There are over a billion outdated Android devices in use by kuschku on Tuesday November 14, 2017 @06:42AM (#15694241)
> I just want the rights enumerated in the GPL as granted to end users. I'm no kernel maintainer. Just a cranky person who wants the GPL enforced as any license.

Yeah, it turns out it’s not that easily enforcable. There are still court cases going on, but the current legal situation seems to be that unless you’ve contributed significant code to the kernel, you have no legal leg to stand on.

Because the OEM is simply saying "yes, we violated the GPL, and infringed the copyright of the developers", but the only ones who could sue against that would be devs that contributed significant amounts of code.

Re:There are over a billion outdated Android devices in use by pantalaimon on Tuesday November 14, 2017 @04:25AM (#15693744)
> And why can't we upstream those patches and "fix" android?

It's a lot of work, who is supposed to do that?

Some bits of the N900 kernel are still in the process of being upstreamed afaik.

Re:There are over a billion outdated Android devices in use by colejohnson66 on Monday November 13, 2017 @11:41PM (#15692720)
It doesn’t help that not every manufacturer (especially ones from China) don’t release the source code. And when they do, they sometimes contain opaque binary blobs that don’t tell you what is happening.
Re:There are over a billion outdated Android devices in use by zaarn on Tuesday November 14, 2017 @03:19AM (#15693537)
Most of the time, such a source release means "patching binary blobs into the source".

The source helps little since it's just opaque garbage with little to no meaning.