Jump to content

Porting to a new device

From postmarketOS Wiki
TODO TODO: This guide is in dire need of improvement. Please consider contributing to it.

The main steps of porting process are:

  • Set up a postmarketOS development environment on your computer.
  • Unlock the bootloader on the target device.
  • Create and build device-specific kernel and system packages for your device. Use (close to) mainline kernel if applicable.
  • Install the system and adapt it according to your device and usage.
Warning WARNING: Please use a spare device! You won't be able to use some features right now, such as making calls, sending text messages, or using Bluetooth. There is no guarantee that you won't break your device.


Preparation

Initialization

Installation

Flashing

USB Network

Changing your installation