2009-11-08

Closed Source Components in Maemo 5

Several outdated pages may cause confusion about which components are closed on the N900, and I am hoping to write a more informative summary based on prerelease documentation. The parts vary from the worrying to the humorous - for some reason they even include a pulseaudio plugin that polices the volume.

The way I see it, there are three levels of closed source:

  1. Safe to Ignore
  2. Annoying
  3. Problematic


Safe to Ignore

These components aren't available under a free license, but are harmless to the future viability of the platform.

First, there's the obvious: trademark-related items. Themes, fonts, icons and sounds are not released to the community by Nokia. This is entirely understandable, and the free software community has no shortage of any of them.

Second, there's the cellular service daemon (not so obvious). Why should we not care about this crucial binary that's required for accessing radios? Because Nokia is doing so for us. They've started writing a GPL-licensed replacement in cooperation with Intel. Unfortunately, if you need a Free solution right now, you'll have to move this into category 3.

Finally, there's "startup wizard", "restore factory settings" and "clear user data framework". None of these are relevant to any modified OS.



Annoying

These are proprietary apps and libraries that ship with the device, but don't affect the availability of alternatives. It would be nice if they were Free, but we're not forced to use them.

A big one here is the whole location framework, plus the libcityinfo database. There are Free alternatives like Maemo Mapper, but that still means losing Ovi integration for other kinds of location services, which may become a compelling feature in the future. It would be nice if there were Free software that could interface with Ovi. Even from Nokia's viewpoint, that shouldn't prevent us from paying for the data itself. (2009-11-13: Gypsy daemon in location framework is in free.)

Strangely enough I can't conclusively determine whether the Mozilla-based browser will have a proprietary UI or not. On two separate pages from 2008, it is promised that it will be converted to FOSS by Maemo 5, but installing it in the latest SDK still pulls in several packages from the repository nokia-binaries, including tablet-browser-ui. On the other hand, this document categorizes the package tablet-browser-interface as "OSS Nokia", and this diagram agrees. I suspect we'll have to wait until the device ships to see what's actually on it (but don't worry, there's also Tear if you want to be sure).

The browser isn't the only component that used to be closed, but is moving towards FOSS at an uncertain pace. The page from above also says the following about the Device State Management Entity: "The component has been redesigned and the sensitive functionality has moved to mce, allowing to distribute dsme (soon) with an open license together with related tools and plugins" (2009-11-13: DSME is in free).

Outside of Maemo, there's the Nokia Loader (NoLo) and flash utility. If you can live with a motherboard that doesn't use Coreboot (LinuxBIOS), you can presumably live with these. Additionally, there's a closed binary for flashing the device from inside the OS (softupd).

Other apps that seem to be closed include calendar (2009-11-13: calendar-backend is LGPL), messaging, address book, backup and the UI of the media player (2009-11-13). The sharing library and bundled plugins (for posting things on Flickr etc.) are also closed, but you can still write your own plugins.

There are also closed libraries for:
  • single sign on
  • device information (sysinfod)
  • synchronization (iphbd)
  • profile handling (profiled)
  • media app playback state synchronization (libplayback)
  • pulseaudio plugins for audio processing etc. (PEP, EAP and AEP)
  • certificate management (certman)
  • interface for monitoring network time notifications (clockd and libtime)
  • event logging for real time communications (2009-11-13: rtcom-eventlogger is in free)
  • Funambol support (2009-11-13: feature diagram may be outdated. Can't find more info.)
  • wbxml converter (xml2wbxml)
  • some proprietary addition to Telepathy's Mission Control.


Problematic

You've already guessed what's first on this list: 3D graphics acceleration. The N900 uses the PowerVR SGX GPU, so don't expect official Free drivers any time soon. There does seem to be 2D support, though.

This is disappointing, but expected, as the situation isn't much better on the desktop side. Users of Intel's integrated graphics have long been the exception, but I'm not sure x86 hardware can help Linux from a marketing viewpoint, since that would also bring Windows binary compatibility to phones.

Can we hope that Nokia could/would pressure an ARM SoC manufacturer to release a chip with Free 3D drivers? I don't know, but developers should at least try to pressure Nokia.

Nokia wants to guard its energy saving methods and prevent battery explosions (or so they say), so the Mode Control Entity and Battery Management Entity will probably remain closed. There's also a closed app that provides user interfaces such as battery indicators (System UI). Personally, I'd be happier if things like these were restricted to the device firmware, since they're useless on non-Nokia devices anyway. Hopefully Nokia will at least allow redistribution for the N900, but in any case a replacement project already exists.

One component that turned out to be more benign than it sounded, but still not nice, is the Internet Connectivity Daemon. Applications are supposed to ask it to start the most appropriate interface based on availability and preferences. This can easily be handled by a mobile-optimized version of something like NetworkManager, but the reason it's a problem is that the API will be different. Fortunately applications are supposed to access ICD through an LGPL library called libconic. If you're wondering how replacements will work in practice, you should probably ask the Mer project, a fork of Maemo.

Other hardware that is known to require proprietary binaries: FM Transmitter (FMTX middleware)

Surprisingly, Wifi appears to NOT require a proprietary driver. This is better than many laptops!


Updates to this Page

I am fully expecting to have made mistakes and omissions due to the simple fact that the N900 hasn't shipped at the time of writing. If you notice errors, please make a comment and I'll post updates here.

2009-11-13: Turns out even this diagram was partially outdated, so some components were mislabeled as closed. Also noted media player UI is closed. Thanks, talk.maemo.org.