> Upstreaming driver changes was something phone manufacturers just didn't do and didn't want to do.
This is absolutely true. However - and this makes no sense to me - Chromebooks apparently do upstream everything, even for ARM models. Any idea what went right there?
> you had duplication of services between the all-but-dead AOSP and Play services.
My understanding from the outside is that Google likes to pretend that AOSP is sufficient for antitrust reasons but really wants to control everything directly; you can't solve that by creating a new product unless the hope is that nobody cares that the "new" ecosystem doesn't get examined by the same standards.
> Remember these are statements of fact.
I'm assuming you meant to type "not" there?
> Google had always had hopes that there would be a healthy ecosystem of phone manufacturers. For awhile there were but now? Now it's really just Samsung.
Samsung is certainly the biggest, but it's hardly the only name in town; https://www.appbrain.com/stats/top-manufacturers puts them at ~34% with the rest in the long tail.
> This is absolutely true. However - and this makes no sense to me - Chromebooks apparently do upstream everything, even for ARM models. Any idea what went right there?
>> you had duplication of services between the all-but-dead AOSP and Play services.
> My understanding from the outside is that Google likes to pretend that AOSP is sufficient for antitrust reasons but really wants to control everything directly; you can't solve that by creating a new product unless the hope is that nobody cares that the "new" ecosystem doesn't get examined by the same standards.
This might be why Chromebooks upstream and Android doesn't. ChromeOS doesn't have the same market context as Android, so Google doesn't have to play the game of avoiding anti-trust. They can be deeply involved in defining the acceptable hardware and requiring things get pushed upstream or not used. Android hardware on the other hand is more chaotic, and Google doesn't want to get hit with the anti-trust stick, so they're not willing to do very much to disturb the ecosystem. So they're stuck with this patently absurd system where SoC makers deliver an android build with a custom kernel to device manufacturers, and the kernel never gets updated, but Android keeps requiring new kernel features for their userland updates, so nobody can get those anyway; and there's a new project to make updates feasible for longer every two to three years, but it never actually drives the marketplace forward, because it only addresses new phones, but will be abandoned in three years anyway.
At least, that's what I can gather as an outsider.
Google is making money hand over fist from so many different angles that they can simply afford to.
Google Play makes them more profit than some major phone manufacturers do off all their devices sold.
So if there are engineers at Google who are willing to own something like getting high quality Chromebook support in the larger Linux ecosystem, the money is there.
Compare that to traditional phone manufacturers that are:
- reluctant to spend a single dime where they don't have to
- actually benefit from obsolete devices
- have trouble attracting in-house talent causing them to outsource work in a way that is not conducive to high quality upstream-able code...
At the end of the day it's money.
If intel, amd or others can make it so that their very complicated silicon can run on top of open source code, it should be possible for them as well.
Granted, the phone manufacturers would probably further customize the kernel, however, the phones could still run on top of code that is 99 percent upstream, and they could both spare a lot of dev resources and stay closer to upstream.
No, the problem is with other companies not upstreaming drivers, not Google. Like Qualcomm, which has a phone chip patent/monopoly, and used forced obsolescence (refused to update drivers) to prevent Google-cobranded phones from working with new OS versions.
Isn't the ChromeOS HW platform support built at Google? At least in many cases they seem to first add support for a HW platform (board + SoC) under a codename to the tree and then various vendors ship products based on that HW platform.
I never worked at Google either - but having an evergreen Google Play service seemed necessary to overcome the greatly exaggerated Fragmentation problem by back-porting what had been OS features to older Android versions. Previously, Android OEMs and their vendors - especially Qualcomm - had no incentive to provide driver updates for already-sold units, so that tended to never happen. Cue the tech press, Apple and developers loudly bemoaning "Fragmentation!!1!"
Could an open-source QNX accomplish all of Google's goals?
Given that QNX cannot be killed, and the cost to Google in attempting to do so (or enacting major change for legacy customers) would be catastrophic...
Why not buy a working microkernel? Are there other commercial microkernels that are more attractive?
https://en.m.wikipedia.org/wiki/QNX
Maybe Samsung should buy it, and put themselves in the driver's seat on Android. (They did buy Joyent, and SmartOS seems fine.)
QNX is in 215 million cars.
They've made less than 10 $B acquisitions, with Motorola Mobility being the most expensive at 12B and was for patents.
I think if Google acquired BB for the QNX business that they wouldn't give it adequate attention and would run it into the ground.
As in do they charge per unit sold? Or have a flat license? Do you know what would be aprox costs per unit for a startup say for QNX Neutrino?
Why?
Everything which needs hard-real time in a phone already does that at the firmware level. I fail to see what is that latency sensible in the rest. If what you want is a faster phone, a hard-real time kernel is not going to give you that. Hard real-time just means you have strong garanties on time of execution (either through return or through failure) it does not necessary means these times are short.
Java on Android is not slow anyway.
Or maybe a clean slate from the mistakes of existing legacy devices and not inheriting the old cruft found in kernels like Linux or in full OSes like QNX that are not designed or optimised for use cases such as smart-devices, IoT, desktops, etc.
It seems like Google has had enough of tolerating the giant contraption that has strangled them for years with using Linux in Android, and ChromeOS and would want to purse a new approach similar to Windows, and macOS with Fuchsia and creating an ecosystem of apps written in Dart, and using Flutter.
Which cars is it deployed on? It would be good to keep an eye on recalls and reported software issues.
Android's Project Treble was already supposed to (partly) fix that, and it didn't. Partly because of OEMs sure. But, and most importantly, because Google removed the support for versioned RPC merely 3 years after its introduction (audio HAL 2.0 introduced in Android 8, got removed in Android 12, simply reverting the deletion commit is enough to "fix" it).
What does this tell? This tells that Google themselves aren't structurally ready to support hardware for more than 3 years. Why would Fuchsia be any different? In all likelihood, they'll also deprecate versioned ABI every 6 months, and drop old support after 3 years, which will lead to the exact same state.
At this stage, this is a managerial issue, not a technical one anymore. If Google wants to do this (upgrade devices independently from OEMs), they first need to stop obsoleting code every time someone gets a promotion, and they need to actually try what they make, not just do things that are theoretically perfect [1]. (to the best of my knowledge, there is exactly one Google team who managed that, which is androidx/jetpack/android-compat)
> Upstreaming driver changes was something phone manufacturers just didn't do and didn't want to do. Linux has no stable ABI for device drivers;
Chromebooks have most/all drivers upstreamed, and yet they never upgrade their kernels in production.
[1] And I could go on how Project Treble is architecturally beautiful, but is missing few small points that would make it actually usable, which is what my opensource project does, but I feel my message is already too diluted
This seems true of so many Google projects lately, big promises that don't deliver and get shelved in a few years.
The problem with creating a new OS is getting people to write apps. It's not really justifiable if your new OS doesn't take a very different approach to how apps are written and yield much better results as a consequence. If you build a new OS and rely too heavily on emulated Linux apps, then what is your value proposition? You're effectively admitting defeat up front by saying there's no real reason to write a native app; that running Linux apps is good enough.
With Fuschia this problem is especially apparent because it's not really obvious from reading the docs what its value prop really is, or how the UX of a native app differs from any other platform. Successful operating systems don't normally have this problem. You could argue that Linux was an exception, but there the value prop was being an open source PC UNIX and that price/compatibility point was enough. Other platforms though, like macOS or Android, needed to have a very clear offering up front to get developers to care, as well as a large library of first party apps.
I agree with you though that people are mostly writing to abstraction layers. That's where the action is, which is why it's curious that Fuschia's approach isn't clearly a ChromeOS style "portable abstraction layer + shell to invoke abstracted apps". They use Dart and Flutter for the UI so in some ways it is, but then they have the whole component model and Fuschia specific APIs.
Jeff came to me one day with a mapreduce he'd written and was very proud of. I spent a few months working on it and ultimately realized it was worthless. But he did make us patent it.
I can guarantee you that somewhere in google is a team of 3 getting shut down for making 100MM a year with a boring tech focus. Meanwhile Fuscia continues unquestioned.
Confused, aren't there a ton of phone manufacturers? Sony, OnePlus, Asus to name a few off the top of my head. In what sense are they all "unhealthy" except Samsung?
Obviously this is not the case at all in the android market.
Apple 44%
Samsung 16%
BBK Electronics 16% (Oppo/OnePlus/Realme 8%, Vivo 8%)
Xiaomi 8%
Others 16%
That's according to Counterpoint Research [1]
Profitability appears to be even more skewed in favour of Apple but I don't know the exact numbers.
It would be interesting to know what's included in that 16% others category as that's where any challengers would be coming from.
[1] https://www.counterpointresearch.com/global-smartphone-reven...
https://web.archive.org/web/20160423202414/http://www.dg.gov...
Unfortunately, I don't know what the authoritative source for company information is in China. It can't be blog posts and media reports I suppose.
Samsung is at about 35%, BBK is next at about 23% (Oppo+Vivo+Realme are subbrands of BBK as is Oneplus).
BBK is a bit the 'Luxottica of Android' if you will with several brands under them: https://en.wikipedia.org/wiki/BBK_Electronics
Plenty of other people care about market share (not to mention you're deliberately ignoring all the non-phone Android ecosystem that has established).
Apple doesn't dominate the number of widgets, they dominate in money.
(Sure they're owned by the same people, but Apple and Google are also owned by the same people - American 401k providers.)
What Desktop Mode in Android are you referring to, and what parts of it came from Samsung DeX code? There's nothing really in AOSP that resembles DeX.
>WearOS is finally merged to Samsung's OS
Wear OS is closed source.
> For the first time in company history, OnePlus passed the $1 billion mark in revenue and became profitable. (2018)
[1] https://www.androidauthority.com/oneplus-profitable-830348/
The problem IMHO isn't driver source code availability itself, rather their often shoddy quality and the fact that SoC vendors drop support for updates very fast.
What happened instead was that, at least in the embedded world where the customers are not the mass market directly that votes with their wallets but "suits" without much technical knowledge, SoC vendors came up with bundling a private fossilized fork of the Linux kernel, u-boot and a bunch of tooling and calling it a "BSP" (board support package).
Ashmem is especially great example because upstream, having refused to take it for so long, ended up pulling their own NIH when they made the exact same thing but called it memfd.
At least with a new kernel they could also fix various mistakes that have long since been enshrined in Linux. Like the dreadful approach to permissions & sandboxing. Not that Linux has anything it could easily do here, that's the curse of legacy. But still, it's a fundamentally wrong approach to how systems are used today vs. 50 years ago when many of these semantics were established.
What makes you think Samsung is a "unhappy spouse"? They save billons by having Google develop Android and spoon feeding them security updates each month all for free. Samsung can leave this relationship any time the want and they've probably though about it. Then they saw what happened to Huawei and Samsung fell in love with Google all over again. Samsung doesn't want to be Huawei-d, but they will be if they ever leave Android and the Android ecosystem.
>how are you going to convince Samsung to switch to Fuchsia? I still see no answer to that.
Why wouldn't Samsung switch to Fuchsia? If Fuchsia really is the next generation of Android then it seems logical to hop on that train or be left behind and trying to maintain a sunset OS with limited, if any, support from Google.
So Samsung did what Samsung does best and saved face by convincing Google to say WearOS 3 was a collaboration between Google and Samsung. Samsung probably did contribute code, but there is no Tizen in WearOS nor were these OSs "merged" like some people claimed. Samsung abandoned Tizen because they saw the writing on the wall. They were spending millions developing an OS that wasn't growing for an app ecosystem that was dead.
Nobody really knows, as Wear OS remains closed source.
For example, even Nokia branded phones get more updates.
Samsung is pretty good with security and even OS updates nowadays.
The core of the technical leadership on Fuchsia were, I believe, Android refugees so they had a very Android-centric way of looking at the world. The two premises for Fuchsia seemed to be:
1. There is no way to remove devices drivers from the Linux kernel. That goal was seen as desirable in terms of improving reliability, how long devices were supported for and the time taken to roll out updates. Upstreaming driver changes was something phone manufacturers just didn't do and didn't want to do. Linux has no stable ABI for device drivers; and
2. The Android ecosystem itself needed a reboot. This one is harder to define but, for example, you had duplication of services between the all-but-dead AOSP and Play services.
Remember these are statements of fact. These are my impression of the beliefs of Fuchsia technical leadership.
Google had always had hopes that there would be a healthy ecosystem of phone manufacturers. For awhile there were but now? Now it's really just Samsung. Samsung and Google, much like the Wintel alliance of Microsoft and Intel years ago, was an unhappy marriage of convenience. Samsung had tried (and repeatedly failed) to make their own OS. And Google didn't like Samsung being the consumer face of Android.
So the question I raised was: given that Samsung in an unhappy spouse in a loveless marriage of necessity, how are you going to convince Samsung to switch to Fuchsia? I still see no answer to that.
Maybe something interesting and useful will come out of Fuchsia eventually. I for one am not holding my breath however. It screams of being the pet project of some very high level engineers.