Jump to content

User:Wiktorpyk6/Draft:Porting to a new device

From postmarketOS Wiki

The page you're looking for is Porting to a new device

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.
Preparation

Requirements

Initialization

Kernel package

Device specific package

We are happy to help you!

Documentation

Installation

Flashing

Alternatives to regular flashing

USB Network

Upstreaming

Display

Touchscreen

Changing your installation

Full disk encryption support

Miscellaneous tips

Advanced topics

See also

**Preparation:**
```
{{PrevNext|Porting to a new device}}
{{PrevNext||Porting to a new device/Requirements||Requirements}}

{{note|this is a stub page}}

{{PrevNext|Porting to a new device}}
{{PrevNext||Porting to a new device/Requirements||Requirements}}

[[Category:Guide]]
```

**Requirements:**
```
{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Preparation|Porting to a new device/Initialization|Preparation|Initialization}}

{{note|this is a stub page}}

{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Preparation|Porting to a new device/Initialization|Preparation|Initialization}}

[[Category:Guide]]
```

**Initialization:**
```
{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Requirements|Porting to a new device/Kernel package|Requirements|Kernel package}}

{{note|this is a stub page}}

{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Requirements|Porting to a new device/Kernel package|Requirements|Kernel package}}

[[Category:Guide]]
```

**Kernel package:**
```
{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Initialization|Porting to a new device/Device specific package|Initialization|Device specific package}}

{{note|this is a stub page}}

{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Initialization|Porting to a new device/Device specific package|Initialization|Device specific package}}

[[Category:Guide]]
```

**Device specific package:**
```
{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Kernel package|Porting to a new device/We are happy to help you!|Kernel package|We are happy to help you!}}

{{note|this is a stub page}}

{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Kernel package|Porting to a new device/We are happy to help you!|Kernel package|We are happy to help you!}}

[[Category:Guide]]
```

**We are happy to help you!:**
```
{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Device specific package|Porting to a new device/Documentation|Device specific package|Documentation}}

{{note|this is a stub page}}

{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Device specific package|Porting to a new device/Documentation|Device specific package|Documentation}}

[[Category:Guide]]
```

**Documentation:**
```
{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/We are happy to help you!|Porting to a new device/Installation|We are happy to help you!|Installation}}

{{note|this is a stub page}}

{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/We are happy to help you!|Porting to a new device/Installation|We are happy to help you!|Installation}}

[[Category:Guide]]
```

**Installation:**
```
{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Documentation|Porting to a new device/Flashing|Documentation|Flashing}}

{{note|this is a stub page}}

{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Documentation|Porting to a new device/Flashing|Documentation|Flashing}}

[[Category:Guide]]
```

**Flashing:**
```
{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Installation|Porting to a new device/Alternatives to regular flashing|Installation|Alternatives to regular flashing}}

{{note|this is a stub page}}

{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Installation|Porting to a new device/Alternatives to regular flashing|Installation|Alternatives to regular flashing}}

[[Category:Guide]]
```

**Alternatives to regular flashing:**
```
{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Flashing|Porting to a new device/USB Network|Flashing|USB Network}}

{{note|this is a stub page}}

{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Flashing|Porting to a new device/USB Network|Flashing|USB Network}}

[[Category:Guide]]
```

**USB Network:**
```
{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Alternatives to regular flashing|Porting to a new device/Upstreaming|Alternatives to regular flashing|Upstreaming}}

{{note|this is a stub page}}

{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Alternatives to regular flashing|Porting to a new device/Upstreaming|Alternatives to regular flashing|Upstreaming}}

[[Category:Guide]]
```

**Upstreaming:**
```
{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/USB Network|Porting to a new device/Display|USB Network|Display}}

{{note|this is a stub page}}

{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/USB Network|Porting to a new device/Display|USB Network|Display}}

[[Category:Guide]]
```

**Display:**
```
{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Upstreaming|Porting to a new device/Touchscreen|Upstreaming|Touchscreen}}

{{note|this is a stub page}}

{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Upstreaming|Porting to a new device/Touchscreen|Upstreaming|Touchscreen}}

[[Category:Guide]]
```

**Touchscreen:**
```
{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Display|Porting to a new device/Changing your installation|Display|Changing your installation}}

{{note|this is a stub page}}

{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Display|Porting to a new device/Changing your installation|Display|Changing your installation}}

[[Category:Guide]]
```

**Changing your installation:**
```
{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Touchscreen|Porting to a new device/Full disk encryption support|Touchscreen|Full disk encryption support}}

{{note|this is a stub page}}

{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Touchscreen|Porting to a new device/Full disk encryption support|Touchscreen|Full disk encryption support}}

[[Category:Guide]]
```

**Full disk encryption support:**
```
{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Changing your installation|Porting to a new device/Miscellaneous tips|Changing your installation|Miscellaneous tips}}

{{note|this is a stub page}}

{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Changing your installation|Porting to a new device/Miscellaneous tips|Changing your installation|Miscellaneous tips}}

[[Category:Guide]]
```

**Miscellaneous tips:**
```
{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Full disk encryption support|Porting to a new device/Advanced topics|Full disk encryption support|Advanced topics}}

{{note|this is a stub page}}

{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Full disk encryption support|Porting to a new device/Advanced topics|Full disk encryption support|Advanced topics}}

[[Category:Guide]]
```

**Advanced topics:**
```
{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Miscellaneous tips|Porting to a new device/See also|Miscellaneous tips|See also}}

{{note|this is a stub page}}

{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Miscellaneous tips|Porting to a new device/See also|Miscellaneous tips|See also}}

[[Category:Guide]]
```

**See also:**
```
{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Advanced topics||Advanced topics}}

{{note|this is a stub page}}

{{PrevNext|Porting to a new device}}
{{PrevNext|Porting to a new device/Advanced topics||Advanced topics}}

[[Category:Guide]]
```