Slashdot Mirror


Google's Upcoming 'Fuchsia' Smartphone OS Dumps Linux, Has a Wild New UI (arstechnica.com)

More details have emerged about Fuchsia, the new mobile OS Google has been working on. ArsTechnica reports that Fuchsia is not based on Linux (unlike Android and Chrome OS). Instead, the OS uses a new, Google-developed microkernel called "Magenta." From the article: With Fuchsia, Google would not only be dumping the Linux kernel, but also the GPL: the OS is licensed under a mix of BSD 3 clause, MIT, and Apache 2.0. Dumping Linux might come as a bit of a shock, but the Android ecosystem seems to have no desire to keep up with upstream Linux releases. Even the Google Pixel is still stuck on Linux Kernel 3.18, which was first released at the end of 2014. [...] The interface and apps are written using Google's Flutter SDK, a project that actually produces cross-platform code that runs on Android and iOS. Flutter apps are written in Dart, Google's reboot of JavaScript which, on mobile, has a focus on high-performance, 120fps apps. It also has a Vulkan-based graphics renderer called "Escher" that lists "Volumetric soft shadows" as one of its features, which seems custom-built to run Google's shadow-heavy "Material Design" interface guidelines. The publication put the Flutter SDK to test on an Android device to get a sneak peek into the user interface of Fuchsia. "The home screen is a giant vertically scrolling list. In the center you'll see a (placeholder) profile picture, the date, a city name, and a battery icon," the author wrote. "Above the are 'Story' cards -- basically Recent Apps -- and below it is a scrolling list of suggestions, sort of like a Google Now placeholder. Leave the main screen and you'll see a Fuchsia 'home' button pop up on the bottom of the screen, which is just a single white circle."

35 of 219 comments (clear)

  1. Magenta? by TWX · · Score: 4, Funny

    sounds like it was written by a bunch of Riff-Raff...

    --
    Do not look into laser with remaining eye.
    1. Re:Magenta? by spudnic · · Score: 2

      I heard the dev team is primarily from Columbia.

      --
      load "linux",8,1
    2. Re:Magenta? by Registered+Coward+v2 · · Score: 2

      It looks like it is in some sort of time warp

      --
      I'm a consultant - I convert gibberish into cash-flow.
    3. Re:Magenta? by bursch-X · · Score: 2

      I wouldn't take it that far. At this point it's just a jump to the left. And maybe a tiny step to the right. But they haven't put their hands on their hips yet. Let alone any knee action.

      --
      There are two rules for success:
      1. Never tell everything you know.
  2. Well, it's been a few years now. by Anonymous Coward · · Score: 5, Insightful

    Time to completely fucking change everything so I have to re-learn how to use the phone and write my apps. Change for the sake of change, dontcha know.

    1. Re: Well, it's been a few years now. by 93+Escort+Wagon · · Score: 3, Insightful

      It will undoubtedly have Android compatibility if it ever gets to the point that Google decides to release a phone based on the OS.

      I take it you're unfamiliar with the company known as Google?

      --
      #DeleteChrome
  3. Not invented here... once again. Sigh. by exabrial · · Score: 5, Interesting

    Not invented here... once again. Sigh. I hope it dies

    What Google needs to do is upgrade Android to use cgroups for app isolation, and switch to using JVM bytecodes so they can recycle the vast amount of work in the OpenJDK project.

    1. Re:Not invented here... once again. Sigh. by rahvin112 · · Score: 4, Funny

      Use already invented software when they can reinvent everything from scratch by a bunch of engineers right out of school? Do you even know who google is?

    2. Re:Not invented here... once again. Sigh. by Parker+Lewis · · Score: 5, Interesting

      Let me see. Aside Search and Gmail, which Google in-house product works like a charm after those 2? Hangouts? Google+? Analytics? (I really hate how Analytics lost a lot of functionality over the years until get several better alternatives today...). Google Apps for Business is getting worst and worst every time the UI team has a dream. Not to mention that Google Talk worked fine when it was based on open standards before get replaced by Hangouts. In the other side, check some of the products they acquired: Youtube, Android.

    3. Re:Not invented here... once again. Sigh. by Namarrgon · · Score: 2

      Not sure that would help the problems Magenta is trying to solve. TFA suggests a primary reason for the effort is a more stable driver interface in the kernel, which could make long-term support and OS upgrades a lot easier.

      --
      Why would anyone engrave "Elbereth"?
    4. Re:Not invented here... once again. Sigh. by swillden · · Score: 2

      Not invented here... once again. Sigh. I hope it dies

      What Google needs to do is upgrade Android to use cgroups for app isolation, and switch to using JVM bytecodes so they can recycle the vast amount of work in the OpenJDK project.

      App isolation of the sort provided by cgroups (which is mostly about resource accounting) really isn't that much of a problem in Android. The addition of SELinux has done far, far more to improve overall system security than cgroups could, and there is still more that can be done with SELinux. Don't get me wrong, there are ways in which cgroups could help, but most of them can be just as effectively achieved by SELinux, with less disruption to the architecture.

      As for JVM bytecodes, that would be very bad for performance. Since performance == battery life, users would hate that. A better solution is just to ensure that cached native code is correctly generated and cannot be modified after generation. There aren't any attacks (AFAIK) which subvert the native compilation step, or the .dex bytecodes.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  4. This is GOOD by Anonymous Coward · · Score: 2, Interesting

    no more dumbass unpatachable manufacturer OS builds and no open source security hole riddled dumpster fires. Don't you remember the story from a few days ago that there's a new android exploit discovered like every 5 minutes?

  5. Backup Plan for Oracle v. Google by santiago · · Score: 4, Interesting

    I assume the ultimate motivation for this project was as a backup plan in case of a disastrously adverse ruling in Oracle v. Google that would have led to Google deciding to excise any connection between Android and Java. It's probably since taken on a life of its own, as these things tend to do. (Also, I wonder if the names Fuchsia & Magenta are references to the ill-fated Pink OS that started life as a ground-up Mac OS rewrite at Apple and morphed into the Taligent corporation?)

  6. 120 fps .. someone FINALLY groks UI ! by UnknownSoldier · · Score: 2, Insightful

    That is fantastic news that they are targeting 120 fps ! I hope this helps push all the other vendors (phones, monitors, etc.) stop stop targeting a shitty 30 fps experience.

    At our Fortune 50 company I'm always educating our UX and Graphic Designers about the reasons why we run our app at 60 fps. Kind of hard to argue when they see a demo first hand. :-) Now if only the rest of the company would get on board ditching the crappy 30 fps that people seem to think is "good enough."

    I wonder if Google is trying to target VR at some point placing a safe bet of 120 so they can hit the magic 90+ FPS required? The 120 fps for apps is just a bonus

    > Android hung around inside Google for about five years before it launched on a real product.

    So basically Fuschia is a tech demo today -- that may, or may not ship.

    I wonder if they are going to ignore the whole Android ecosystem or embrace it, because 2 billion devices running Android is pretty hard to ignore.

    1. Re:120 fps .. someone FINALLY groks UI ! by omnichad · · Score: 4, Insightful

      Targeting 120fps is also good for media consumption, since it's a least common multiple of 24fps and 60fps. If they want to do more set-top boxes, this might help. Downside is if it's not fully variable and 50Hz countries get left out.

    2. Re:120 fps .. someone FINALLY groks UI ! by cheesybagel · · Score: 5, Funny

      You need 120 fps because the batteries currently last too long. That's why.

  7. They are doing this to go after the Rooters by Zombie+Ryushu · · Score: 2, Insightful

    They are doing this to go after the Rooters. They want to close off the "Root your device and load whatever you want" hole in these devices.

    1. Re:They are doing this to go after the Rooters by Tough+Love · · Score: 2

      Actually, they're going after Linus, and you, and me.

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    2. Re:They are doing this to go after the Rooters by swillden · · Score: 5, Informative

      They are doing this to go after the Rooters. They want to close off the "Root your device and load whatever you want" hole in these devices.

      (Android security platform engineer here)

      Google has no interest in eliminating the ability to root. Quite the opposite, actually. There's a pretty strong sentiment among Google engineers in general, and the Android security team in particular, that it's important that users have the ability to fully own and control their own hardware. Take a look at how Chromebook security and the required "dev screw" works for an example of how we really think it ought to be.

      What Google wants to eliminate is security vulnerabilities, which has many implications. I could write an essay on what they are and how they relate to each other, but here I'll just boil it down to: The best thing to do for the security of typical user devices is to lock them down rather tightly, including removing root. However, users who want to should be able to deliberately unlock their bootloader, after which they should be able to install and run whatever software they want, whether that's a slightly-modified stock image that includes the 'su' binary, or full-on custom ROMs.

      But... OEMs have for many years not liked the idea of unlockable bootloaders. This has led the modding and rooting community to seek out and exploit privilege escalation vulnerabilities in the OS that allow them to modify the system. That's nice for modders and rooters, sort of, but really bad for the rest of the ecosystem, because privilege escalation vulnerabilities are at least as available to malicious attackers as they are to power users.

      As the Android security team tightens down the hatches, notably (but not exclusively) by employing SELinux to block off most of the exploit chains, so even when you find a vulnerability in one app or system component you can't use it to do anything, modders and rooters are finding that it is getting harder and harder to find exploitable vulns. Yay for security, bad for rooting devices with permalocked bootloaders (which is most devices).

      Zombie Ryushu (and many others) interpret this as Google being opposed to rooting, but what's really going on is just improving security. If you want to root, you should be able to root... but you should only be able to do it by explicitly unlocking the device security protections. And that unlocking process must be somewhat hard, to mitigate social engineering attacks. Hence: enable the hidden developer options, flip the OEM unlock switch, install adb and fastboot on a computer, connect via USB, adb reboot-bootloader, fastboot oem unlock, read the scary text on the display and manipulate the buttons to say "okay", etc. Nothing in that process is hard, but it's the sort of thing you're going to find difficult to social engineer a typical user into doing.

      Bottom line: If you want to root, buy a device with an unlockable bootloader and root it. If you buy a device with a permalocked bootloader, don't be surprised if you find it can't be rooted. That's a Good Thing, it means that system security is solid.

      Oh... one more point: SafetyNet's root detection also does not mean Google is opposed to rooting. It just means that Google understands that some apps don't want to run on rooted devices, and Google believes app developers should have that choice.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    3. Re:They are doing this to go after the Rooters by StormReaver · · Score: 3, Insightful

      So what's the official excuse for dumping Linux? If that were to happen, I would have to give Google a big, "Fuck You, NVidia!" and stop developing for Android. It would be years, and many thousands of development hours wasted.

  8. Re:New thing? BAD!!! by Jeremiah+Cornelius · · Score: 4, Funny

    Wel F*CK ME!

    It's colored rectangles!

    --
    "Flyin' in just a sweet place,
    Never been known to fail..."
  9. Re:Sailfish by Stormwatch · · Score: 4, Interesting

    Too bad Jolla doesn't have the financial power to make it really take off.

  10. Minix & Android by unixisc · · Score: 2

    Actually, Minix sounds like a much better base for Android, given that Google prefers BSD code in the userland, and only uses Linux for the kernel. Had they used Minix, they could have used the complete package under the same license, or even made it proprietary. Given how much Google contributes to the BSDs, I'm surprised that they didn't go that route.

  11. Re:Bummer by Tough+Love · · Score: 2

    Linux needs some competition, it's gotten a bit into that smug/cantankerous middle aged zone. What Linux does not need is to be sidelined in the handset space. I doubt that will happen, but it could. One thing: Linux kernel devs need to pull the proverbial head out of ass and start understanding some new design techniques. The alternative is to fade, like *BSD, which now hangs on mostly as an Apple symbiote.

    --
    When all you have is a hammer, every problem starts to look like a thumb.
  12. What's the init system? Not systemd? by Ungrounded+Lightning · · Score: 3, Interesting

    I'm curious what it's using for an init system.

    Perhaps this is partly in reaction to the migration of the major Linux distributions to systemd.

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
  13. Who's fault is kernel 3.18? by viperidaenz · · Score: 3, Interesting

    Qualcomm, they don't provide Linux drivers for later kernels.

    How are they going to fix this problem by switching to yet another OS?

    1. Re:Who's fault is kernel 3.18? by cheesybagel · · Score: 4, Insightful

      They aren't. It's gonna be worse. Since the OS is gonna be BSD/Apache based it means even more of the manufacturers won't release the drivers back into the open which means upgrades not made by them will be impossible.

    2. Re:Who's fault is kernel 3.18? by Tough+Love · · Score: 2

      How are they going to fix this problem by switching to yet another OS?

      Obviously they are not. Fuchsia is not about making it easier for OEMs to issue updates, it is more about cutting Linux out of the toolchain so that Google will be free to go full evil. Not that they specifically intend to go full evil, but they desire the freedom to do that.

      --
      When all you have is a hammer, every problem starts to look like a thumb.
  14. Re:Epically Lame.... by Tough+Love · · Score: 2

    As if an OS based on Java apps wasn't slow enough, now we get an OS based on Javascript shovelware.

    The OS is actually C++, the javascript stuff is just skinning.

    --
    When all you have is a hammer, every problem starts to look like a thumb.
  15. Re:"updating all projects" by Tough+Love · · Score: 2

    OK, built. The TLS issue was transient... a retry got past it. Not impressed by transient issues like that, though.

    Built on a stock Ubuntu system without issues. Some warnings, mainly about deprecated Libc defines. Good that it built. Now, I just happen to have a NUC to boot it on...

    --
    When all you have is a hammer, every problem starts to look like a thumb.
  16. BSD Llicense by DrYak · · Score: 2

    Just because you *have* the code, doesn't mean you can GPL the code. The author is the only one that has that right (because they own the copyrights) unless they delegate those rights to someone else

    or unless they gave you a license.
    like a BSD license

    or is your intention to simply steal it and stick a GPL on it.

    which is 100% doable when switching from BSD to GPL (but not the other way around).

    BSD is license designed for the freedom of developers developers.
    it basically states:
    "you are allowed to do what the fuck you want with the code, even keeping it all for yourself and only releasing binaries, but you can also release it"

    GPL is about freedom of end users. A user should always be provided with the freedom o code they are running, so they too can modify it not (not only you as a dev). it thus comes down to "you are allowed to do what the fuck you want to do with the code. but if you give out to someone elsr, they shoukd get the same rights to tinker ad you did".

    If you look closely, the second is basically the first, but with the additional requirements to pass down the freedoms to the next.
    now play close attention : nothing in a permissive license like BSD would prevent you to add this extra clause. it s all about letting you, the dev, do whatever the fuck you want, and adding the requirement is something you might want to.
    (otoh, copyleft license require that transmit further down under the exact same condition you received. you receive it as GPL, the next one must be getting GPL.
    And that GPL doesn't allow you to remove that requirement.

    relicensing problems do exist, but they concerne smaller details.
    - older BSD license required a name mention. it's not only "do what you want " (a change to GPl would be ob the list),but also "required to spell name in any product you hand out. (which goes against the GPL. GPL won't rely adding restrictions )
    - gpl has versions. some softwar is licensed as "GPL v2-only" so you caan't release under anything else (because copyleft asks you to keep the rights)
    other explicitly mention future: "gpl v3 or anything more recent" so on the day GPL v6 is out you can use it.

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
  17. Re:Languages for application development by Centurix · · Score: 2

    Swift and Perl

    --
    Task Mangler
  18. I'm surprised it took so long. by technosaurus · · Score: 4, Insightful

    The Linux kernel development process is a total PITA and I don't mean in the combative, degrading and misogynistic attitudes prevalent on the mailing list. The actual process and leadership is broken.

    * They keep flawed external user space APIs in place in "Major Releases" for compatibility with broken apps. Not that major releases mean anything anymore.
    * They consistently and openly break internal APIs in a way that drivers will fail to compile as a way to brow-beat vendors into not shipping binary blobs.
    * Linus himself has said it has become bloated and shitty (not an exact quote), but no push has been made to debloat or clean it up. The video drivers are probably the worst offenders; I ran duplo to detect code duplicates and it totally filled up my hard drive.
    * How long has NTFS been around? Long enough that the internal driver ought to be able to safely write to it.
    * The development process has become so segregated that there is no cross talk. For example compressed RAM, compressed SWAP and a compressed file system each expand and recompress data between each other even when they use the same compression method.
    * The kernel continues to add unnecessary build requirements like bc and perl even though Rob Landley (toybox and formerly busybox maintainer) has provided several (not-accepted) patches. Add that to the insanely large repo size and you basically have to pay people to touch it now.
    * Too many more reasons to mention, but it works, I use it, people use it, businesses use it and there is no real competitor at the moment to force them to compete and actually fix stuff - new features make news, cleaning up 1000 lines of duplicate code doesn't - I hope magenta inspires a 1000 paper-cuts cleanup campaign.

    Alphabet* (Google) basically used linux in the beginning because that is what the android project started on and the alternatives at the time didn't have the same level of support for embedded architectures that could be used in phones and tablets. Sure, the BSDs had some support for the processors, but decent accelerated 3D graphics ruled them out (not that it is superb in Linux either). Now that they have a large market share, they can leverage that into vendor support, but since many of them don't want to open source their code and help their competitors reverse engineer the hardware that their company invested lots of time and money in, it is useful to have a relatively stable internal API that Alphabet can control without arbitrarily being overruled because some old IBM mainframe still uses that bug/feature.

    -- Yes I said Linux without the GNU --- musl-libc, toybox, jwm, X11 and st is all you need for a basic desktop system

  19. Re:What's the init system? Not systemd? by skullandbones99 · · Score: 2

    We are using systemd for our commercial Embedded ARM Linux system solutions for our customers. You have heard of Yocto, right ? https://www.yoctoproject.org/

  20. Re:What's the init system? Not systemd? by Eravnrekaree · · Score: 3, Informative

    systemd is actually far more modular and decentralized than the old event system and more customizable. The people who oppose it don't know what they are talking about and just oppose it as a knee jerk reaction because its new. Since systemd supports sysv init scripts, it has all of the functionality of sysv, it only adds additional functionality. So the anti-systemd mentality is not that they cannot use it the way they want, but they do not think that people should be allowed to use the additional functionality that systemd provides.

      For instance, systemd is far more elegant if you need to be able to start service only when multiple other events have occured and multiple conditions have been met and provides a very elegant way to monitor and generate events in a standardized way. Its decentralized and loosely coupled because of the dbus oriented design. If you want to start a service when a user does an su, this becomes much easier with systemd.

    You can write new daemons that monitor dbus that can be custom programmed however someone wants in any programming language to define when a service should be started. systemd has stock daemons that are controlled by the unit files, but you can also write init daemons in any programming language that have custom logic.

    All of the disinformation against systemd is really destructive and damaging to Linux they misrepresent everything systemd does.

    The fact is systemd is an enormous improvement that makes Linux far more flexible and easier to manage.