It seems that pmbootstrap overwrites /etc/fstab with its own contents
after the post-install scripts have already run. Mount /efs in the
samsungipcd startup script instead.
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6644
[ci:skip-build]: already built successfully in CI
Having the camera driver in the kernel causes a hangup in wireplumber
when it tries to open a certain /dev/video* device. These camera devices
are not used on postmarketOS anyway, and some of the config options
required for working camera have already been disabled, so just disable
the rest for good.
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6644
It seems that the old backup repo has disappeared from GitHub. Changed
the URL to an up-to-date repository.
The contents of the firmware blobs have not changed, thus no pkgver
increment.
This also adds a PPP bypass, so that traffic can flow through the native
interface (rmnet0) directly, and not via the emulated PPP.
[ci:skip-build]: already built successfully in CI
It seems that bootmac's commandline argument parsing was rewritten, and
it no longer accepts multiple flags in one argument. Change the
invocation to work around that.
[ci:skip-build]: already built successfully in CI
Instead of just making symlinks to the firmware in linux-firmware-brcm,
copy and unzstd the files. The downstream driver can't load firmware
from zstd.
[ci:skip-build]: already built successfully in CI
I've had the kernel panic with a NULL pointer dereference in the
addrconf_rt_table function. I have no idea how it could be triggered,
but the fix is straightforward.
This seems to be some Samsung's proprietary verified boot solution.
After a recent update, this started bootlooping my phone.
I have no idea why it only fired now, but pmOS does not use this
feature anyway, so it won't hurt to disable it.
[ci:skip-build] Already built fine once
This causes a lot of spam in dmesg about "failed to allocate compressor transform", making it nearly impossible to search anything in the system logs.
This option has nothing to do with zram.
[ci:skip-build]: already built successfully in CI
It seems that wireplumber is now installed by default, instead of pipewire-media-session. Thus we need to set api.alsa.headroom in wireplumber configuration too to get working audio.
This basically copies /usr/share/wireplumber/wireplumber.conf.d/alsa-vm.conf and relaxes the filters.
[ci:skip-build]: already built successfully in CI
The modem requires firmware to be loaded from an on-device RADIO partition, samsungipcd does that. Not installing it prevents that firmware from being used.
[ci:skip-build]: already built successfully in CI
pmOS does not support charge mode anyway, and boots to a full UI, but this vendor kernel disables touchscreen when booting in charge mode. Remove that check, so that the phone can be used as usual.
[ci:skip-build]: already built successfully in CI
This replaces the outdated blobs extracted from Android vendor partitions with more recent firmware provided in the linux-firmware-brcm package.
[ci:skip-build]: Already built successfully in CI.
If the wlan0 interface is rfkilled down on boot, WiFi won't work until reboot.
It seems that quickly ifconfig'ing wlan0 up and down in sysinit is enough to work around the bug.
[ci:skip-build] already built successfully in CI
1. Upgrades the library to version 6.0.0004
2. Adds runtime overrides for detected device and board,
to facilitate running on devices where autodetect fails.