Skip to content
@porthole-dev

porthole

Mainline Linux on phones their vendors abandoned. Bring-up tooling, patched packages and a signed apk repository, starting with the Pixel 2 XL.

porthole-dev

Bringing phones back to life on mainline Linux.

porthole-dev builds the tools, packages and patches to run postmarketOS on phones their vendors stopped supporting, starting with the Google Pixel 2 XL (taimen): mainline kernel, cameras, fingerprint unlock, NFC and a working GPU stack.

Unofficial. Not affiliated with or endorsed by postmarketOS, Alpine Linux, Google or Qualcomm. Report problems here, not to them.

AI-assisted. Much of this work is developed with an AI coding assistant and disclosed with an Assisted-by: trailer on every commit. Every change is reviewed and signed off by a human, who is responsible for it. Each repository's AI.md explains how.

Repositories

repository what it is
porthole The bring-up toolkit: sandboxed builds, safe flashing, device checks, and a knowledge base of what bring-up taught us. Start here.
pmaports Our fork of pmaports: the device port and every package it needs patched.
pmbootstrap pmbootstrap with fast, correct cross-compilation for Rust and meson projects.
pmos-packages The signed apk repository CI publishes from pmaports: prebuilt packages for pmbootstrap and for the phone.
obscura A camera app built on libcamera, with every manual control the sensor has.
tap Read and write NFC tags through the NFC portal.
phosh-nfc-quick-setting An NFC toggle for phosh's quick settings.

How the pieces fit

  1. Packages are developed in pmaports on the taimen-bringup branch.
  2. Every pull request is built and checked by CI; every merge publishes the forked packages that have no prebuilt yet to pmos-packages.
  3. pmbootstrap (and porthole on top of it) uses that repository as a binary mirror, so nobody rebuilds what CI already built, and a phone installed from it keeps getting updates with apk upgrade.
  4. Apps release by tag; CI opens the matching pmaports update automatically.

Contributing

Human and AI-assisted contributions are both welcome. Every commit needs a Signed-off-by: from its author (the Developer Certificate of Origin); disclose AI help with Assisted-by:. See CONTRIBUTING.md.

Popular repositories Loading

  1. porthole porthole Public

    Toolkit for bringing phones up on mainline Linux and postmarketOS: sandboxed builds, safe flashing, device checks, and a searchable knowledge base of the traps found along the way. AI-assisted.

    Python

  2. pmaports pmaports Public

    Unofficial postmarketOS package fork for the Google Pixel 2 XL (taimen): mainline kernel, camera, fingerprint, NFC and GPU fixes, with CI-built prebuilt packages. Not affiliated with postmarketOS. …

    Shell

  3. pmbootstrap pmbootstrap Public

    Unofficial pmbootstrap fork with fast, correct cross-compilation: Rust and meson projects, arch-conditional dependencies, per-chroot compiler caches. Used by porthole and its package CI. AI-assisted.

    Python

  4. pmos-packages pmos-packages Public

    Signed apk repository of the porthole-dev postmarketOS packages: built by CI, resolved by pmbootstrap as a binary mirror, installable on the phone with apk.

  5. obscura obscura Public

    Camera app for Linux phones and PCs built directly on libcamera: every manual control the sensor offers, RAW/DNG capture and video recording. GTK 4, libadwaita, Rust. AI-assisted.

    Rust

  6. tap tap Public

    Read and write NFC tags on Linux through the xdg-desktop-portal NFC portal. GTK 4 and libadwaita. AI-assisted.

    C

Repositories

Showing 8 of 8 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…