No description
  • Shell 97.2%
  • Python 1.8%
  • C 0.4%
  • Batchfile 0.3%
  • Jinja 0.2%
  • Other 0.1%
Find a file
2026-11-06 18:06:00 +01:00
.ci CI: apkbuild-lint: add a skip-apkbuild-lint tag 2026-06-07 10:09:20 +00:00
.githooks githooks/pre-commit: remove file size check 2025-12-22 23:53:09 +00:00
.gitlab/issue_templates issue_templates: add v26.06 2026-06-08 15:09:11 +00:00
.well-known well-known/funding-manifest-urls: new file (MR 6074) 2025-01-20 18:59:41 +01:00
cross cross/grub-efi-x86: Upgrade to 2.14-r0 2026-05-31 07:21:42 +00:00
device linux-postmarketos-qcom-sm8250-alioth: rebase onto Linux 7.3.1 2026-11-06 17:46:37 +01:00
docs docs: make package versioning more detailed 2026-06-09 05:29:54 +00:00
extra-repos/systemd systemd/postmarketos-base-systemd: only mount /tmp as tmpfs when RAM >2 GB 2026-06-08 17:53:12 +00:00
main main/postmarketos-duranium: drop units for initramfs conf/sys ext 2026-06-08 22:25:24 +00:00
modem modem/msmipc-dev: update to source mirror 2026-05-26 15:31:05 +02:00
nix linux-postmarketos-qcom-sm8250-alioth: rebase onto Linux 7.3.1 2026-11-06 17:46:37 +01:00
temp */*: update my name and email 2026-06-06 21:14:12 +02:00
.clang-format Add .clang-format file (!465) 2019-06-26 22:36:15 +02:00
.ecrc CI: .ecrc: Exclude temp from check (MR 4858) 2024-02-27 08:24:53 -08:00
.editorconfig editorconfig: use spaces instead of tabs for markdown 2025-11-05 11:21:30 +00:00
.gitattributes linux-postmarketos-qcom-sm8250-alioth: rebase onto Linux 7.3.1 2026-11-06 17:46:37 +01:00
.gitignore refactor(README.md): simplify content to focus on project description and essential commands 2026-11-06 14:25:34 +01:00
.gitlab-ci.yml CI: aport-lint: use alpine:edge 2026-06-07 10:09:14 +00:00
.mailmap */*: update my name and email 2026-06-06 21:14:12 +02:00
channels.cfg channels.cfg: add initial v26.06 branch 2026-05-19 15:04:27 +02:00
COMMITSTYLE.md editorconfig: use spaces instead of tabs for markdown 2025-11-05 11:21:30 +00:00
deviceinfo_schema.toml deviceinfo_schema: deprecate deviceinfo_tmp_as_tmpfs 2026-06-08 17:53:12 +00:00
flake.lock refactor(README.md): simplify content to focus on project description and essential commands 2026-11-06 14:25:34 +01:00
flake.nix refactor(README.md): simplify content to focus on project description and essential commands 2026-11-06 14:25:34 +01:00
kconfig-generic.toml kconfig: add sc7180 chromebook configs to generic device category 2026-05-30 14:42:28 +00:00
kconfigcheck.toml kconfigcheck: move VFAT_FS to category:default 2026-05-31 21:43:12 +00:00
LICENSE Add GPLv3 again 2018-08-23 21:44:22 +02:00
pmaports.cfg pmaports.cfg: Bump pmbootstrap minimum version to 3.9.0 2026-01-24 10:30:46 +01:00
README.md docs(README.md): update to clarify project as a custom fork with Nix build support and charging patches 2026-11-06 18:06:00 +01:00

postmarketOS aports repository

This is a custom fork of the postmarketOS aports repository, focused on the Xiaomi Poco F3 (Alioth). Its kernel is updated to Linux 7.3.1, carrying forward the downstream commits from the postmarketOS SM8250 kernel and Alioth-specific work from nasaarmas/pmaports-alioth.

This repository contains the APKBUILD files for postmarketOS-specific packages, along with the required patches and scripts, if any.

There are many more packages defined in the Alpine Linux aports on which these packages depend.

Helpful resources:

Alioth kernel

The included Nix flake builds the kernel without pmbootstrap or a root-owned chroot, using the package's APKBUILD version, configuration and patch stack as the source of truth. Nix with flakes enabled is required.

nix build     # build the kernel, modules and device tree into result/
nix develop   # enter the build environment

Charging patches

The local patches in device/testing/linux-postmarketos-qcom-sm8250-alioth/ also address Alioth charging control and status reporting:

  • PM8150B/SMB5 charger: use charger inhibit for charging_enabled to stop battery charging without suspending USB input. Restore the input-current policy and USB input path when re-enabling charging, with a Type-C current fallback when APSD charger detection gets stuck.
  • Qualcomm fuel gauge: follow the device-tree charger supply reference so battery status reflects the charger's state rather than guessing from instantaneous battery current; leave status unknown if the charger status cannot be read.

To stop or resume charging, run as root on the phone:

echo 0 > /sys/class/power_supply/pm8150b-charger/charging_enabled # stop charging
echo 1 > /sys/class/power_supply/pm8150b-charger/charging_enabled # resume charging

Git Hooks

You can find some useful git hooks in the .githooks directory. To use them, run the following command after cloning this repository:

git config --local core.hooksPath .githooks