Thu, Nov 5
N
NeoMaemonow

NeoMaemo: Maemo's feel on a modern Linux phone

A widget home screen, real multitasking and a frosted-glass look, on Maemo Leste's system layer and a new Wayland shell written in Rust.

P
Phone2 devices
Runs on the PinePhone and the Pixel 5

Calls, texts and MMS, LTE data, VoLTE on the Pixel, cameras, GPS, and sleep that still rings for calls and alarms.

Slide to unlock
NeoMaemo home screen on the PinePhone: widgets for weather, calendar, music, storage and connectivity, an app grid, and a floating launch bar

What NeoMaemo is

The Nokia N900's Maemo had a home screen you could arrange, apps that kept running, and a terminal one tap away. NeoMaemo brings that phone back on current hardware, with a shell drawn from scratch.

The feel

Maemo, moved forward

Widgets and several home pages, live multitasking cards, desktops and split screen, a lock screen that shows what matters, quick settings one swipe away. Portrait and landscape both work everywhere.

The system

Leste underneath, fixed and forked

Devuan and Maemo Leste's proven services (mce, dsme, oFono, icd2, alarmd, clockd) do the phone work. NeoMaemo forks them, fixes what broke, and ships everything as Debian packages from its own repository.

The shell

Rust on a small GPU

A Smithay compositor and Slint interfaces, drawn with OpenGL ES 2.0 because that is all the PinePhone's Mali-400 can do. Glass, video and rotation are built around that limit.

Rust · Smithay · Slint · FemtoVG · GLES 2.0
Tour

Seven screens, a few gestures

Every picture here is a screenshot from the PinePhone's own compositor. Pick a screen to see it.

Home screen with widgets, app icons and the launch bar

Home

Slide up to unlock

Widgets for the weather, your calendar, the music that's playing, storage and connectivity, with apps underneath and a floating launch bar. Swipe sideways for more home pages. The bar can sit at the bottom, left or right, set separately for portrait and landscape.

Home screen in landscape: widgets in one row, apps below, the launch bar as a column on the right
Home in landscape: one row of widgets, the launch bar turns into a column.
Settings in landscape: the category list on the left, the About page on the right
Settings in landscape: list and page side by side.

The PinePhone's display engine can't rotate its planes, and rotating every layer afterwards cost Android 200 ms frames on this phone. NeoMaemo's compositor draws each frame already turned instead.

Concept to code

From concept board to phone

The shell started from a concept board: photo wallpaper, dark glass cards, a violet accent. Below it, the same screens running on the PinePhone.

The concept boardhome, launcher, multitasking, quick settings, settings
Concept art: five phone screens in a dark blue and violet frosted-glass style
On the phonePinePhone screenshots
Home screen Applications Multitasking Quick settings Settings
Apps

Eighteen apps of its own

Each one is a Rust and Slint program on the shared NeoMaemo SDK, with the same status bar, glass and gestures. Phone and Messages keep a small service running so calls and texts arrive with the window closed.

Phone

Calls through oFono with earpiece, speaker and headset, call log, favourites, speed dial, voicemail and blocked callers.

Messages

Texts with delivery reports, MMS from its own client, group threads, and replies straight from the notification.

Contacts

One vCard file per contact, photos, My card, import from Android and Nokia exports, and CardDAV sync.

Clock

Alarms that ring from sleep through alarmd, bedtime, world clock, labelled timers and a stopwatch with laps.

Calendar

Month, day and upcoming views, repeating events, reminders that fire with the phone asleep, .ics and CalDAV.

Camera

A raw viewfinder shaded on the GPU, its own image pipeline, tap to focus, and H.264 video. Opens over the lock screen.

Photos

Pictures and videos by date taken, albums per folder, pinch zoom, sharing, and delete with undo.

Video

Hardware-decoded H.264, HEVC and VP8 sent straight to a display plane, with casting to a TV.

Music

Your library by album, artist and folder, a queue, controls on the lock screen and in quick settings, and casting.

Recorder

Voice memos as Ogg Opus, written as they record and repaired if the app is killed mid-take.

Notes

Plain Markdown files, saved as you type, with checklists, folders, tags and pinned notes.

Files

Places, thumbnails, copy and move, zip and tar archives, storage use, and a Trash with undo.

Calculator

Whole expressions with a live result, scientific keys in landscape, and a unit and currency converter.

Weather

Hourly and 7-day forecasts from Open-Meteo, severe-weather alerts, and the widget on the home and lock screens.

Terminal

Alacritty's emulator with truecolour, an extra keys row for Esc, Tab, Ctrl and arrows, and pinch to resize text.

Gaming

Streams games from a PC over the Moonlight protocol, with gamepads, touch controls and hardware decoding.

PC Connect

Speaks KDE Connect: notifications, files, links, the clipboard and texts shared with GSConnect or KDE Connect.

Software

System updates as Debian packages, and a new catalogue of outside apps that install into a sandbox.

Established software, packaged

Where a good open-source app already exists, NeoMaemo packages it instead of writing its own. Each comes as an arm64 Debian package, from Devuan or built from source, never as a Flatpak. Maps and Mail run in a sandbox.

BrowserFirefox ESR with a mobile configuration
MailGeary with GNOME Online Accounts
MapsPure Maps with OSM Scout Server, maps stored on the phone
KeyboardStevia, with pressed-key popups and haptic typing
Light theme, solid appsClock, Calendar, Phone, Terminal, Files, Recorder and Calculator
Clock app: alarms list with a bedtime schedule Calendar app: month view of November Phone app: the dial pad Terminal app with the on-screen keyboard and an extra keys row Files app: phone storage and folders Recorder app with a large red record button Calculator in landscape with scientific keys
Under the hood

One stack, from the kernel to the launcher

NeoMaemo owns every layer it ships. The shell and apps are new; the layers below are forks of Maemo Leste and upstream projects, carrying 193 patches between them.

Apps18 own, plus packaged ones
Slint UIsession servicesbwrap + Landlock sandboxxdg-dbus-proxy
New
SDKneomaemo-sdk
Theme · Glassalarmsnotifysecretsdevice::has()Inter fonts
New
Shellneomaemo-os
compositor (Smithay)homelockpanelSettingswallpaper planes
New
Phone servicesMaemo Leste and others, forked
mcedsmeoFonoicd2alarmdclockdStevia
Forked
Base systemDevuan GNU/Linux 6
OpenRCPipeWireBlueZGStreamerfeedbackdown apt repo
Upstream
Kernelper device
PinePhone 6.17.9 + 13Pixel 5 7.3-rc7 + 83
Forked
Written for NeoMaemo Forked and patched Used as shipped
21 → 10ms per full-screen fill

Glass without live blur

The Mali-400 manages about three full-screen passes per frame. So the frosted backdrop is a pre-blurred wallpaper on its own display plane, and a patched FemtoVG uses a plain scissor that halves fill time.

~8 %of one core, 1080p30

Video the CPU never touches

The Cedrus engine decodes; frames go as NV12 dma-bufs straight to the display engine's video plane. Video and game streaming share the path, with no dropped frames at 1080p.

100 / 100suspend cycles clean

Sleep that still rings

Alarms set a wake timer through a patched alarmd; calls and texts wake the phone over the modem's ring line. A day-long battery check found it asleep 71 % of the time.

0.3 spower key to light

A screen that wakes clean

Torn lines at wake were memory running at 264 MHz while the display fetched. A kernel patch now holds 528 MHz whenever the screen is on.

59.991Hz, was 69.45

A calibrated 60 Hz panel

The PinePhone's panel ran fast. New timings bring it to 60 Hz, and a SpyderX calibration lives in the display controller's gamma table.

24oFono patches

Messaging from the modem up

Delivery reports read from the modem's own store, old texts swept out of its memory, and an MMS client written from scratch after mmsd-tng dropped oFono.

Devices

Two phones today, one of our own next

PinePhone

First device
SoC
Allwinner A64
GPU
Mali-400 MP2, GLES 2.0
Screen
720 × 1440, 60 Hz
Kernel
6.17.9-neomaemo

Where the shell grew up. It boots from the eMMC straight to the lock screen in about 30 seconds. Its last open items wait on a short list while work centers on the Pixel 5.

CallsSMS · MMSLTE dataGPSBoth camerasWi-Fi · BTSleep

Pixel 5

Main device
SoC
Snapdragon 765G
Screen
1080 × 2340 OLED, scale 1.5
Kernel
mainline 7.3-rc7 + 83
Android
none underneath

Mainline Linux on a Qualcomm phone, with no Android layer. Now the main development device.

VoLTE callsSMSLTE dataGNSS3 camerasWi-Fi · BTSleep + wake on call

NeoPug

Planned
SoC
Qualcomm QCM6490
Form
N900-style slider
Screen
Pixel 5 OLED
Boards
keyboard on order

A slider phone of our own design with a hardware keyboard, the device NeoMaemo is ultimately for. It will get everything the Pixel 5 can do.

Hardware keyboardOwn boards

One build serves every phone. Each device adds only its kernel, firmware and a profile listing its features (modem, GNSS, 5 GHz Wi-Fi), and apps and settings follow that list at run time.

Milestones

How it came together

176,000lines of Rust and Slint
917commits
193patches to upstream code
2phones running it
  1. Base

    The fork

    A code review of Maemo Leste turns into a fork: Leste's system layer with fixes, and a new Wayland shell in Rust. The first twelve fixes land.

  2. Shell

    It boots into NeoMaemo

    Prototype 0 runs on the PinePhone: lock screen, home, launcher, task switcher, quick settings, keyboard and rotation. The phone boots straight into it from the eMMC.

  3. Shell

    Glass, alarms, texts

    Frosted glass at full speed, desktops and split screen, alarms that wake a sleeping phone, and Messages sending and receiving SMS.

  4. Phone

    Calls work

    Calls both ways on earpiece, speaker and headset, ringing on a sleeping phone, delivery reports, and an MMS client of its own.

  5. Security

    A real boundary

    The session's programs become root-owned. Recorder, Calendar, Music, Photos and Terminal arrive.

  6. Media

    Camera and video

    Camera with its own image pipeline, zero-copy video, Firefox, updates as Debian packages, and the Gaming app's streaming client.

  7. Devices

    Two phones

    The device split: one build for every phone. The Pixel 5 boots NeoMaemo with Wi-Fi, Bluetooth and sensors.

  8. Pixel 5

    The Pixel goes cellular

    LTE data, SMS, VoLTE calls and sleep on the Pixel 5. Outside apps move into a sandbox; network time zones work.

  9. Polish

    Polish

    All three Pixel cameras stream. The PinePhone runs at a calibrated 60 Hz. The keyboard gets key popups and haptic typing.

  10. Apps

    The store

    An app catalogue whose apps install into a sandbox, and an NFC tag reader written for the Pixel 5.