Porting a new device to Plasma Mobile

Plasma Mobile currently only supports device running a mainline Linux kernel.

Many consumer mobile devices are Android-only and not working with the Linux kernel directly. Android provides Hardware abstraction layer on top of the Linux kernel. Even if the Linux kernel sources for the device are open, Android environment is Bionic (not glibc or Musl) and HAL-specific, so Android drivers could not be used in a general Linux kernel environment directly.

There’re projects to support devices without mainline Linux. First of all, libhybris from Mer project and others. Project called Halium uses libhybris to provide discto-agnostic Hardware Abstraction.

Previously Plasma Mobile also supported Halium devices (using Android kernel+userspace) but the support was dropped in favor of focusing on mainline device.

To port a device to mainline Linux, please refer to Porting to a new device in postmarketOS wiki.

See also