- Shell 84.7%
- Python 15.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
The softISP AWB is pure gray world, so panning swings ColourGains with the frame average (white wall renders green when the frame is warm-dominated, dark desk renders red when cool-dominated) and the CCM, interpolated over a CT estimated from those gains, amplifies and quantizes the swings. Patch 0015 (ours, original work) adds optional per-sensor Awb tuning to the simple IPA: a piecewise-linear locus of calibrated illuminant white points in gain space that the gray-world estimate is clamped to (clampMargin), a per-stats-frame EMA on the applied gains (damping) with a fast-converge path for persistent illuminant changes, and CT interpolated from the applied gains' position along the locus - on the same scale as the tuning file's ccms table - instead of the generic estimateCCT(). Tuning files without whitePoints keep the previous behaviour exactly, so every other sensor is unaffected. imx896.yaml gains the locus from the stock tuning blob's 10-point per-illuminant AWB calibration (white points and their exactly reciprocal gain triplets, cross-validated): the 7 on-locus points as nodes, the 3 fluorescent points admitted via clampMargin 0.35. The 5000 K label is the blob's own proven anchor; 2856 K (A) is locked by the fluorescent trio projecting onto the 2856-5000 chord at ~3960 K (TL84); the rest are geometry-derived approximations. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
| .forgejo/workflows | ||
| aports | ||
| .gitignore | ||
| build.sh | ||
| install.sh | ||
| README.md | ||
fp6-img
Flashable postmarketOS images for the
Fairphone 6, built nightly from the
Catcrafts milos-linux
combined-stable kernel branch, with
imsd (userspace VoLTE)
preinstalled.
Maintained by Jorijn van der Graaf (TheMightyCat) at Catcrafts.
Caution
Emergency calling is unverified. Calls (including 112/911) go through imsd, whose emergency path is spec-shaped but has never been verified against a live network.
What works
Everything on the combined-stable branch: display, touch, wifi, cellular
data, NFC (reader), speaker audio, microphone, IMU, magnetometer, barometer,
ambient light/proximity — plus VoLTE calls (both directions) through imsd.
Verified on exactly one device / one carrier (KPN NL). Reports from other carriers are very welcome.
Flashing
Download fp6-img.tar.xz from the latest release and unlock the bootloader
(Fairphone's official process).
Install: with the phone in fastboot mode,
tar xf fp6-img.tar.xz
cd fp6-img
./install.sh
install.sh erases dtbo, flashes the rootfs, RAM-boots the kernel, writes the boot partition from
inside Linux where the bootloader's NV-wipe cannot see it, then reads the modem
NV back and reports the result. The bootloader never writes boot.
Default login: user / 147147 (same as official postmarketOS images —
change it). Never re-lock the bootloader with a custom image installed.
VoLTE configuration
imsd is installed but needs your carrier's P-CSCF address:
# /etc/imsd.env
PCSCF=<your carrier's P-CSCF IPv6 address>
Find it in a stock-firmware capture or your carrier's IMS documentation, then
systemctl restart imsd (the service is enabled at boot and waits for this
file to exist). See the
imsd README for the full
variable reference and carrier assumptions.
How it builds
build.sh drives pmbootstrap
with the aports/ overlay in this repository:
device/linux-postmarketos-qcom-milos— the pmaports kernel aport, repointed atcombined-stablewith the exact kernel config the development FP6 runs.modem/imsd— imsd, packaged from source. Itsprovides=81voltdkeeps the conflicting modem-firmware IMS helper off the image (two IMS stacks cannot share one PDN).main/postmarketos-config-nftables— adds the-imsdsubpackage accepting imsd's IPsec-protected SIP ports on the IMS PDN (auto-installed alongside imsd).device/catcrafts-fp6-repo— subscribes the installed system to the Catcrafts apk registry (signing key +/etc/apk/repositoriesentry). CI publishes every built package there, soapk upgradedelivers kernel/imsd/GNSS updates between image releases.