News for hackers. Stuff that matters.
Re:Android removes much of Fuchsia-related code as Starnix p... by cletus on Friday July 15, 2022 @10:58PM (#32114872)
I worked at Google up until 2017. In the last year or two of my time there I had many conversation with some people who worked for or were adjacent to the Fuchsia team. It's hard to believe it's been 6 years. We're now talking billions (quite literally) of dollars later and all we've got to show for it is an OS for the Nest?

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.

Re:Android removes much of Fuchsia-related code as Starnix p... by yjftsjthsd-h on Friday July 15, 2022 @11:17PM (#32114941)
I have never worked at Google, but some of this seems... odd from my perspective.

> 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.

Re:Android removes much of Fuchsia-related code as Starnix p... by toast0 on Saturday July 16, 2022 @01:27AM (#32115459)
>> 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.

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.

Re:Android removes much of Fuchsia-related code as Starnix p... by BoorishBears on Saturday July 16, 2022 @04:58AM (#32116317)
This is totally overthinking it.

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.

Re:Android removes much of Fuchsia-related code as Starnix p... by torginus on Saturday July 16, 2022 @06:13AM (#32116637)
I don’t understand why it’s such a big hurdle to have upstream driver for a SoC - usually Qualcomm makes the chip and probably the drivers for a given chipset. They are the only ones whose responsibility it would be to have an upstream kernel driver.

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.

Re:Android removes much of Fuchsia-related code as Starnix p... by AdrianB1 on Saturday July 16, 2022 @07:09AM (#32116936)
I think the Intel and AMD situation (and Cyrix and VIA in the past) is exactly opposite: open source was build on their public ISA. Qualcomm does not build SoCs for open source, they build SoCs and don't even want to open source the drivers for it, reverse engineering is too complicated or not worth (as SoC changes too often), so third parties cannot write open source drivers.
Re:Android removes much of Fuchsia-related code as Starnix p... by lupire on Saturday July 16, 2022 @09:11AM (#32117674)
Qualcomm sells more chips when the software fails after 2-3 years and consumers by a new phone. So they don't maintain drivers.
Re:Android removes much of Fuchsia-related code as Starnix p... by lupire on Saturday July 16, 2022 @09:09AM (#32117666)
> Google doesn't have to play the game of avoiding anti-trust.

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.

Re:Android removes much of Fuchsia-related code as Starnix p... by CameronNemo on Saturday July 16, 2022 @03:11PM (#32120986)
Alright but think about mediatek. For Chromebook socs, they diligently upstream their changes. For android? They don't do shit. Someone is putting pressure on them for the Chromebook SoCs, but not for smartphone SoCs.
Re:Android removes much of Fuchsia-related code as Starnix p... by fulafel on Saturday July 16, 2022 @04:07AM (#32116112)
> 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?

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.

Re:Android removes much of Fuchsia-related code as Starnix p... by sangnoir on Saturday July 16, 2022 @01:58AM (#32115598)
> 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;

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!"

Re:Android removes much of Fuchsia-related code as Starnix p... by djbusby on Saturday July 16, 2022 @12:13AM (#32115166)
One guess is that getting drivers upstream for Chromebook improves the possibility of external vendors making hardware. And Chromebook I seems to be supported for a long time.
Re:Android removes much of Fuchsia-related code as Starnix p... by raggi on Saturday July 16, 2022 @02:05AM (#32115628)
The patches & drivers involved in most Chromebook peripherals are much closer to that of a PC in architecture than for the SoC's that go into phones. In this regard the patches are far less invasive, and thus more easy to match with upstream requirements.
Re:Android removes much of Fuchsia-related code as Starnix p... by chasil on Friday July 15, 2022 @11:17PM (#32114942)
My question remains, would this money have been better spent in buying QNX?

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.)

Re:Android removes much of Fuchsia-related code as Starnix p... by busterarm on Saturday July 16, 2022 @02:08AM (#32115638)
BlackBerry isn't selling it. It's the only active line of business that they really have anymore.

QNX is in 215 million cars.

Re:Android removes much of Fuchsia-related code as Starnix p... by jpgvm on Saturday July 16, 2022 @02:31AM (#32115740)
Just buy BB then?
Re:Android removes much of Fuchsia-related code as Starnix p... by xg15 on Saturday July 16, 2022 @04:01AM (#32116087)
"I just bought the airline. It seemed neater."
Re:Android removes much of Fuchsia-related code as Starnix p... by busterarm on Saturday July 16, 2022 @12:17PM (#32119462)
It's too expensive for what they'd get out of the deal. Buying BB would cost them between 3B-4B$.

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.

Re:Android removes much of Fuchsia-related code as Starnix p... by chasil on Saturday July 16, 2022 @02:36AM (#32115757)
Agreed.
Re:Android removes much of Fuchsia-related code as Starnix p... by DoingIsLearning on Saturday July 16, 2022 @02:39AM (#32115766)
Do you know what is there business model?

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?

Re:Android removes much of Fuchsia-related code as Starnix p... by WastingMyTime89 on Saturday July 16, 2022 @09:07AM (#32117644)
No one can tell you how much your startup would have to pay apart from BlackBerry themselves. If you want a quote, just contact them.
Re:Android removes much of Fuchsia-related code as Starnix p... by faragon on Saturday July 16, 2022 @06:44AM (#32116794)
Good point, I would like Google using QNX for their mobile OS, too, because of the Hard Real-Time OS feature. Or keep using Linux, but putting more effort on it, e.g. adding better NDK support, without relying in Java at all, a la iOS.
Re:Android removes much of Fuchsia-related code as Starnix p... by WastingMyTime89 on Saturday July 16, 2022 @09:12AM (#32117680)
> Good point, I would like Google using QNX for their mobile OS, too, because of the Hard Real-Time OS feature.

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.

Re:Android removes much of Fuchsia-related code as Starnix p... by freemint on Sunday July 17, 2022 @01:23PM (#32128892)
User interaction is latency sensitive. In particular on cheaper phones it could make a huge difference.
Re:Android removes much of Fuchsia-related code as Starnix p... by rvz on Saturday July 16, 2022 @10:27AM (#32118475)
> Or keep using Linux, but putting more effort on it, e.g. adding better NDK support, without relying in Java at all, a la iOS.

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.

Re:Android removes much of Fuchsia-related code as Starnix p... by webmobdev on Saturday July 16, 2022 @05:52AM (#32116544)
They could also have considered porting Minix 3 OS - https://en.wikipedia.org/wiki/Minix_3 - to the mobile platform. It is freely available with far less restrictive license than Linux. The only "production" ready and usable Linux based mobile OS currently is Sailfish OS - https://sailfishos.org/ . There is also Tizen OS https://www.tizen.org/ and LG's webOS - https://en.wikipedia.org/wiki/WebOS , though I don't know how how much Linux support is open to use in these two.
Re:Android removes much of Fuchsia-related code as Starnix p... by dm319 on Saturday July 16, 2022 @06:02AM (#32116592)
How about just fork Linux, and then they can keep it ABI compatible all they like?
Re:Android removes much of Fuchsia-related code as Starnix p... by aaa_aaa on Saturday July 16, 2022 @05:14PM (#32122042)
Linux is terrible security wise.
Re:Android removes much of Fuchsia-related code as Starnix p... by raverbashing on Saturday July 16, 2022 @03:06AM (#32115859)
QNX is probably not great and it's a whole bag of hurt to bring it to modern standards of safety and performance/power saving
Re:Android removes much of Fuchsia-related code as Starnix p... by pjmlp on Saturday July 16, 2022 @04:35AM (#32116222)
What an ironic statement given the deployments in High Integrity Computing, and being the production OS for NVidia's automative software (where GNU/Linux is used for development purposes).
Re:Android removes much of Fuchsia-related code as Starnix p... by mort96 on Saturday July 16, 2022 @07:44AM (#32117121)
But is QNX in those situations generally connected to the Internet or to arbitrary untrusted devices?
Re:Android removes much of Fuchsia-related code as Starnix p... by raverbashing on Saturday July 16, 2022 @05:41AM (#32116494)
Good to know. It seems blackberry is putting the work into these
Re:Android removes much of Fuchsia-related code as Starnix p... by fooker on Saturday July 16, 2022 @05:34AM (#32116465)
> production OS.

Which cars is it deployed on? It would be good to keep an eye on recalls and reported software issues.

Re:Android removes much of Fuchsia-related code as Starnix p... by numpad0 on Saturday July 16, 2022 @07:16AM (#32116963)
QNX is more like Symbian than Android, a long dead breed of embedded OS used in many un-connected cars. Not going to cause problems at this stage.
Re:Android removes much of Fuchsia-related code as Starnix p... by phh on Saturday July 16, 2022 @06:48AM (#32116819)
> 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

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

Re:Android removes much of Fuchsia-related code as Starnix p... by ladyanita22 on Thursday July 28, 2022 @12:39PM (#32266736)
Do you think, if executed correctly, project Treble could have solved the issue with Android's poor support even when running on Linux?
Re:Android removes much of Fuchsia-related code as Starnix p... by ncann on Friday July 15, 2022 @11:07PM (#32114910)
> It screams of being the pet project of some very high level engineers.

This seems true of so many Google projects lately, big promises that don't deliver and get shelved in a few years.

Re:Android removes much of Fuchsia-related code as Starnix p... by summerlight on Friday July 15, 2022 @11:53PM (#32115092)
Being a pet project of very senior engineer is not necessarily a bad thing. You know what? MapReduce, BigTable, Spanner, TensorFlow and tens of other important infrastructures were once Jeff Dean's toy projects. I don't think Google even can exist without them... Important thing is execution of the project, not its inception.
Re:Android removes much of Fuchsia-related code as Starnix p... by mike_hearn on Saturday July 16, 2022 @04:57AM (#32116315)
Those projects all had a unique and very successful take on the problem they were solving, though.

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.

Re:Android removes much of Fuchsia-related code as Starnix p... by surajrmal on Saturday July 16, 2022 @05:28AM (#32116438)
Your points don't jive with the success of ChromeOS. It doesn't have "native" apps, and runs Android and Linux applications via VMs. No one writing applications targets ChromeOS as far as I know. They target chrome, steam, or Android. People don't write applications for OS anymore, they write applications for platforms which can be abstracted and ported to different OS.
Re:Android removes much of Fuchsia-related code as Starnix p... by mike_hearn on Monday July 18, 2022 @05:09AM (#32136124)
Good point, but, you can argue that ChromeOS isn't actually the OS in that case. Linux and HTML5 are. ChromeOS is more or less a detail of the hardware that matters to admins who want/need total control and entirely cattle-like devices (the unique value prop).

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.

Re:Android removes much of Fuchsia-related code as Starnix p... by spencerchubb on Saturday July 16, 2022 @06:01AM (#32116590)
The unique UX ChromeOS provides is that chromebooks are only $200. The comment above is just asking how Fuchsia will provide a differentiated UX
Re:Android removes much of Fuchsia-related code as Starnix p... by surajrmal on Saturday July 16, 2022 @02:50PM (#32120782)
Fuchsia isn't necessarily targeting end users or application developers. Fuchsia exists to make products easier to build and maintain. Products are responsible for the app developer and end user experience.
Re:Android removes much of Fuchsia-related code as Starnix p... by pantalaimon on Saturday July 16, 2022 @09:30AM (#32117866)
ChromeOS is still Linux, it’s not a whole OS from scratch
Re:Android removes much of Fuchsia-related code as Starnix p... by dekhn on Saturday July 16, 2022 @11:17AM (#32118949)
mapreduce was a pain in the ass for anything but indexing. Very few if anything uses it any more (the MR engineers even had a CL to delete it entirely from google3). bigtable was hard to use, didn't have transactions, and was slow unless you put a ton of $$$ into it. Spanner... wasn't available for years to devs, until it had matured significantly. TF is just a piece of crap because everybody wanted to be associated with Jeff's projects and piled on their incompatible bits.

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.

Re:Android removes much of Fuchsia-related code as Starnix p... by kortilla on Saturday July 16, 2022 @12:15AM (#32115173)
Something changed though. Those projects are ancient
Re:Android removes much of Fuchsia-related code as Starnix p... by metadat on Saturday July 16, 2022 @12:44AM (#32115291)
Jeff Dean is also a legend and not just a "senior engineer", more like google's version of John Carmack.
Re:Android removes much of Fuchsia-related code as Starnix p... by jpgvm on Saturday July 16, 2022 @02:33AM (#32115748)
Phil Cutler is probably a better equivalent but yeah, definitely legend status either way.
Re:Android removes much of Fuchsia-related code as Starnix p... by daydream on Saturday July 16, 2022 @06:28AM (#32116705)
You mean Dave Cutler?
Re:Android removes much of Fuchsia-related code as Starnix p... by jpgvm on Saturday July 16, 2022 @06:43AM (#32116789)
Yes, brain fart. No idea how I subbed Dave for Phil but I guess that is what I get for typing while tired.
Re:Android removes much of Fuchsia-related code as Starnix p... by summerlight on Saturday July 16, 2022 @03:33AM (#32115985)
You want some recency? Search for Pathways, which is a backbone for PaLM.
Re:Android removes much of Fuchsia-related code as Starnix p... by lumost on Friday July 15, 2022 @11:21PM (#32114965)
This is a Truism of big anything. Once people are high enough in an organization and we’ll connected enough… their projects are unassailable.

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.

Re:Android removes much of Fuchsia-related code as Starnix p... by baobob on Friday July 15, 2022 @11:27PM (#32114990)
This comment and the parent got me thinking of the contrast between "privilege" and "merit" as useful ways to describe some of the difference between small company land and the likes of Google. How many product disasters could be attributed to the wrong people accidentally possessing or ageing into privilege? I wonder if Plus or Reader could be phrased in these terms
Re:Android removes much of Fuchsia-related code as Starnix p... by djbusby on Saturday July 16, 2022 @12:11AM (#32115152)
I don't think one just ages into privilege. One early win to make some marks would certainly help and give privilege for next projects.
Re:Android removes much of Fuchsia-related code as Starnix p... by lumost on Saturday July 16, 2022 @12:38AM (#32115268)
This is true, but there is a survivorship bias. Someone who sticks around gains credit from the work of those who left. Exponential growth in a core business means promotions for everyone. Someone who is considered "good" gets looped into key projects. After 4-5 years these become a self-fulfilling prophecy in some organizations, as "good" people get attached to the growth drivers.
Re:Android removes much of Fuchsia-related code as Starnix p... by cbozeman on Friday July 15, 2022 @11:23PM (#32114974)
This isn't a "lately" phenomenon. This has been the Standard Google Playbook for about the past 15 years.
Re:Android removes much of Fuchsia-related code as Starnix p... by dataflow on Friday July 15, 2022 @11:06PM (#32114906)
> healthy ecosystem of phone manufacturers. For awhile there were but now? Now it's really just Samsung.

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?

Re:Android removes much of Fuchsia-related code as Starnix p... by ejj28 on Friday July 15, 2022 @11:21PM (#32114962)
It's the market that's unhealthy. Samsung and Apple are really the only big players at this point - Sony has sub 1% market share, Asus likely even less. OnePlus is owned by OPPO and together they have about 9% market share. Samsung is the only brand that is actually able to compete with Apple.
Re:Android removes much of Fuchsia-related code as Starnix p... by dataflow on Friday July 15, 2022 @11:28PM (#32114995)
Still confused. So what would be healthy in your mind? The sheer number of manufacturers competing in the Android ecosystem seems like the definition of a healthy market for Android phones—in contrast with iOS where there's 1 player. Obviously you can't have 10 manufacturers each with 50% market share, so what sign of health are you looking for that deviates so strongly from the status quo?
Re:Android removes much of Fuchsia-related code as Starnix p... by ekianjo on Friday July 15, 2022 @11:33PM (#32115008)
In other industries a healthy fragmented market looks like the major player having 30 percent share, the second about 20, and the rest is divided among a dozens different competitors.

Obviously this is not the case at all in the android market.

Re:Android removes much of Fuchsia-related code as Starnix p... by dataflow on Friday July 15, 2022 @11:37PM (#32115021)
Android seems [1] to be 34% (EDIT: or 23%? see [2]) vs. 15% for the top 2 players—is it really that stark of a contrast with 30% vs. 20% to call it unhealthy?

[1] https://www.appbrain.com/stats/top-manufacturers

[2] https://news.ycombinator.com/item?id=32114999

Re:Android removes much of Fuchsia-related code as Starnix p... by ekianjo on Saturday July 16, 2022 @02:19AM (#32115688)
That kind of market share in volume is useless. The market share in value is much more relevant. Selling 100 usd smartphones is not the same as selling 1000 usd smartphones.
Re:Android removes much of Fuchsia-related code as Starnix p... by dataflow on Saturday July 16, 2022 @02:22AM (#32115704)
What are the statistics for those?
Re:Android removes much of Fuchsia-related code as Starnix p... by fauigerzigerk on Saturday July 16, 2022 @05:20AM (#32116402)
So for 2021 the revenue share is

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...

Re:Android removes much of Fuchsia-related code as Starnix p... by fomine3 on Saturday July 16, 2022 @11:40AM (#32119160)
Note that OPPO/OnePlus/Realme isn't BBK, as original report distinguishes. https://news.ycombinator.com/item?id=27871845
Re:Android removes much of Fuchsia-related code as Starnix p... by fauigerzigerk on Saturday July 16, 2022 @02:19PM (#32120526)
Wikipedia claims that BBK is the parent company of Oppo and Vivo, in the case of Oppo based on this government source:

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.

Re:Android removes much of Fuchsia-related code as Starnix p... by fomine3 on Saturday July 16, 2022 @11:13PM (#32124163)
Interesting. I found OPPO and vivo's official response for a question. It seems that it should be distinguished for statistics, though they share origin and founders. https://zhidao.baidu.com/question/557027909615399132.html https://zhidao.baidu.com/question/1606300474779701827.html
Re:Android removes much of Fuchsia-related code as Starnix p... by altfredd on Saturday July 16, 2022 @04:12AM (#32116134)
The statistics are as following: Huawei made a few 1000 usd smartphones, but nearly went bankrupt and had to sell their mobile division.
Re:Android removes much of Fuchsia-related code as Starnix p... by fauigerzigerk on Saturday July 16, 2022 @05:28AM (#32116443)
Huawei's fate had nothing to do with markets or with the price of their phones though.
Re:Android removes much of Fuchsia-related code as Starnix p... by polskibus on Saturday July 16, 2022 @04:48AM (#32116273)
Did they sell everything mobile or just the Honor brand?
Re:Android removes much of Fuchsia-related code as Starnix p... by ulfw on Saturday July 16, 2022 @02:59AM (#32115834)
That is pretty much exactly what it is. https://www.appbrain.com/stats/top-manufacturers

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

Re:Android removes much of Fuchsia-related code as Starnix p... by ekianjo on Saturday July 16, 2022 @07:32AM (#32117053)
See reply in other thread - nobody cares about volumes, but value share.
Re:Android removes much of Fuchsia-related code as Starnix p... by izacus on Saturday July 16, 2022 @07:42AM (#32117110)
No, YOU don't care about volumes because it doesn't confirm your own biased opinion.

Plenty of other people care about market share (not to mention you're deliberately ignoring all the non-phone Android ecosystem that has established).

Re:Android removes much of Fuchsia-related code as Starnix p... by sorenjan on Friday July 15, 2022 @11:30PM (#32114999)
Samsung has 23.7% market share, Apple 18%, Xiaomi 12.7%.

https://www.idc.com/promo/smartphone-market-share

Re:Android removes much of Fuchsia-related code as Starnix p... by wumpus on Saturday July 16, 2022 @12:00AM (#32115114)
You forgot the word "unit". It's not money, it's units.

Apple doesn't dominate the number of widgets, they dominate in money.

Re:Android removes much of Fuchsia-related code as Starnix p... by indymike on Saturday July 16, 2022 @01:10AM (#32115399)
This is very US market centric.
Re:Android removes much of Fuchsia-related code as Starnix p... by pjmlp on Saturday July 16, 2022 @04:35AM (#32116226)
Maybe from US point of view.
Re:Android removes much of Fuchsia-related code as Starnix p... by rascul on Saturday July 16, 2022 @12:20AM (#32115194)
Doesn't Samsung make a bunch of parts for the iPhone?
Re:Android removes much of Fuchsia-related code as Starnix p... by klysm on Saturday July 16, 2022 @12:51AM (#32115314)
If so that’s kind of insane to think about the market dynamics where that makes sense.
Re:Android removes much of Fuchsia-related code as Starnix p... by tsimionescu on Saturday July 16, 2022 @02:57AM (#32115828)
Samsung makes everything that can be made on Earth, so it's hard for Apple to avoid. And why would Samsung refuse to make profits on iPhones?
Re:Android removes much of Fuchsia-related code as Starnix p... by astrange on Saturday July 16, 2022 @03:58AM (#32116078)
Those aren't necessarily the same business/P&L just because they're all called Samsung either, so it's natural for them to compete with each other.

(Sure they're owned by the same people, but Apple and Google are also owned by the same people - American 401k providers.)

Re:Android removes much of Fuchsia-related code as Starnix p... by tsimionescu on Saturday July 16, 2022 @06:03AM (#32116596)
Samsung is a conglomerate - the various Samsung businesses are separate, but they are affiliated in deeper way than just having the same investors.
Re:Android removes much of Fuchsia-related code as Starnix p... by rvense on Saturday July 16, 2022 @12:00PM (#32119327)
Samsung's chip department is likely very far from their phone department. They make everything, basically, some say they even run a country.
Re:Android removes much of Fuchsia-related code as Starnix p... by fomine3 on Saturday July 16, 2022 @11:37AM (#32119135)
Maybe now only Samsung contributes to upstream Android project significantly, and makes advanced device. For example, Desktop Mode code is came from DeX IIRC, WearOS is finally merged to Samsung's OS, foldable phones and customizes are from Galaxy. Samsung is also a one of the biggest conglomerate that has own fab and makes SoC, display, battery, DRAM, NAND, etc... Possibly also Huawei contributed much but it was gone. I think Sony, OnePlus, Asus makes just good smartphones for consumer, but not contributed to advance futuristic Android ecosystem much now (Perhaps Sony Ericsson was big in early days). I'd like to see AOSP commit ranking by organization.
Re:Android removes much of Fuchsia-related code as Starnix p... by MishaalRahman on Saturday July 16, 2022 @06:26PM (#32122503)
>For example, Desktop Mode code is came from DeX IIRC

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.

Re:Android removes much of Fuchsia-related code as Starnix p... by syntheticnature on Friday July 15, 2022 @11:16PM (#32114937)
I don't have exact data to hand, but my recollection is that Samsung is the only Android phone manufacturer turning a profit on phones.
Re:Android removes much of Fuchsia-related code as Starnix p... by dataflow on Friday July 15, 2022 @11:20PM (#32114957)
I haven't looked up any others, but I just looked up OnePlus and saw this [1]:

> 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/

Re:Android removes much of Fuchsia-related code as Starnix p... by smegger001 on Friday July 15, 2022 @11:37PM (#32115020)
if that case the case why are they all still making android phones if it isn't profitable? My perhaps naive presumption is that they are in fact profitable but not a high margin market. If it was not a profitable venture they wouldn't make them
Re:Android removes much of Fuchsia-related code as Starnix p... by initplus on Saturday July 16, 2022 @04:53AM (#32116294)
Getting drivers upstreamed is a political/legal issue, not a technological one. If google wants android drivers to get upstreamed, they can do so by throwing their weight around. Google can add a clause to the bottom of the license of the next android release that the licensee agrees to consider kernel modules a derivative work, and voila Google would have a legal crowbar to get drivers source released to the public.
Re:Android removes much of Fuchsia-related code as Starnix p... by mschuster91 on Saturday July 16, 2022 @05:57AM (#32116571)
In almost all cases the party who writes the drivers it's the SoC vendor which is either Samsung themselves for their own chipsets or for everyone else Qualcomm, Mediatek or one of the less popular upstarts (Allwinner, Rockchip). For everything used by Google and Samsung, both do open source the kernel modules. Almost everything by Mediatek leaks sooner or later somewhere.

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.

Re:Android removes much of Fuchsia-related code as Starnix p... by dm319 on Saturday July 16, 2022 @06:06AM (#32116612)
It seems drastic to me to conceive of an entire new kernel and OS just to resolve this issue and keep a stable ABI.
Re:Android removes much of Fuchsia-related code as Starnix p... by mschuster91 on Saturday July 16, 2022 @07:18AM (#32116983)
The core problem is Linux' lack of a stable internal API for drivers by design, which was thought of as an incentive for SoC and other HW vendors to upstream their drivers so that they need not care about keeping them updated.

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).

Re:Android removes much of Fuchsia-related code as Starnix p... by dm319 on Saturday July 16, 2022 @08:35AM (#32117415)
How hard would it be to stabilise that API? My line of thinking is : sure maintaining a fork of the Linux kernel would be a huge amount of work, but would it be less than writing a new one and then maintaining that?
Re:Android removes much of Fuchsia-related code as Starnix p... by kllrnohj on Saturday July 16, 2022 @09:58AM (#32118145)
Then the majority voice here would be crucifying Google for forking Linux. "Hurr durr embrace extend extinguish amirite????" See ashmem, binder, wakelocks, etc...

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.

Re:Android removes much of Fuchsia-related code as Starnix p... by ajvs on Saturday July 16, 2022 @12:12PM (#32119431)
This is what the Android Common Kernel is, it already exists as a Linux fork to provide a stable ABI. They are creating their alternative kernel Zircon so they can instead have a less free ecosystem like Apple, steps to do this may be deprecating open-source Android and continuing on with Google Play Services mandatory closed-source fork.
Re:Android removes much of Fuchsia-related code as Starnix p... by kernal on Tuesday July 19, 2022 @04:11PM (#32157284)
>given that Samsung in an unhappy spouse in a loveless marriage of necessity

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.

Re:Android removes much of Fuchsia-related code as Starnix p... by sorenjan on Friday July 15, 2022 @11:23PM (#32114972)
Your statements about Samsung reminds me of Wear OS 3, that Google is said to have developed together with Samsung. Does anyone know how much of that is Wear OS, i.e. Android, and how much is Tizen from Samsung? Wear OS 3 seems to differ quite a bit from previous versions, it's been Samsung exclusive for a year, and it doesn't work together with the Wear OS companion app on Android.
Re:Android removes much of Fuchsia-related code as Starnix p... by roneythomas6 on Saturday July 16, 2022 @12:17AM (#32115186)
With the Wear OS 3 the licensing terms have more flexible, I believe it is to get Samsung on board. OEM's bring their own companion app. OEM's also can skin the UI as long it follows Android Wear UX. OEMs also can release their own companion app on iOS. Samsung isn't supporting iOS at the moment, but Fossil and Montblanc are.
Re:Android removes much of Fuchsia-related code as Starnix p... by izacus on Saturday July 16, 2022 @07:44AM (#32117124)
There is no "Tizen" inside WearOS 3. Samsung contributed their own UI skin on top of WearOS like they build their own UI skin on top of Android for phones.
Re:Android removes much of Fuchsia-related code as Starnix p... by kernal on Tuesday July 19, 2022 @04:24PM (#32157464)
Samsung switched to WearOS because they realized their Tizen OS was a failure on smartwatches just as it was on smartphones. Growth was stagnating, their app ecosystem was dead and the development environment was a nightmares.

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.

Re:Android removes much of Fuchsia-related code as Starnix p... by MishaalRahman on Saturday July 16, 2022 @06:27PM (#32122521)
>Does anyone know how much of that is Wear OS, i.e. Android, and how much is Tizen from Samsung?

Nobody really knows, as Wear OS remains closed source.

Re:Android removes much of Fuchsia-related code as Starnix p... by dcow on Saturday July 16, 2022 @03:22AM (#32115930)
I thought the core Fuchsia leadership were Plan9 people, not Android refugees. Maybe things shuffled around?
Re:Android removes much of Fuchsia-related code as Starnix p... by dm319 on Saturday July 16, 2022 @03:56AM (#32116066)
Is that right? I didn't understand the technical reasoning behind Fucshia, but I understand there was always some disappointment that Linux took off the way it did when it was more of copy of unix rather than an evolution. Having said that, the issue was more with gnu than the kernel AFAIK.
Re:Android removes much of Fuchsia-related code as Starnix p... by pjmlp on Saturday July 16, 2022 @04:27AM (#32116198)
Outside US, there still exists more than just Samsung.

For example, even Nokia branded phones get more updates.

Re:Android removes much of Fuchsia-related code as Starnix p... by ysnp on Saturday July 16, 2022 @04:51AM (#32116284)
Specifically, what is meant by more updates? According to https://security.samsungmobile.com/workScope.smsb some of their entry J-line from 2018 has two OS upgrades and should be getting (poor) bi-annual security updates. On https://www.nokia.com/phones/en_int/security-updates Nokia's C1 from 2019 received its last security update in May and no OS upgrades.
Re:Android removes much of Fuchsia-related code as Starnix p... by veeti on Saturday July 16, 2022 @11:47AM (#32119225)
That was the promise by Nokia (HMD). Unfortunately, the reality is something else: https://www.geeky-gadgets.com/nokia-9-pureview-will-not-get-...

Samsung is pretty good with security and even OS updates nowadays.

Re:Android removes much of Fuchsia-related code as Starnix p... by pjmlp on Saturday July 16, 2022 @03:43PM (#32121275)
As Nokia owner I hardly have reason to complain versus the aging Samsung devices I still have lying around.
Re:Android removes much of Fuchsia-related code as Starnix p... by aaaaaaaaata on Saturday July 16, 2022 @03:56PM (#32121391)
Is AOSP dead, or do your favorite manufacturers just not have a clue how FOSS is supposed to work, and/or have a toxic relationship with the Google Play Services?