firmware-htc-memul: un-squash wcnss firmware (MR 5075)

Unfortunately due to some HTC weirdness we cannot squash the wcnss
firmware - some data is lost and the firmware doesn't authenticate on
the device.
This commit is contained in:
Luca Weiss 2024-04-27 11:23:00 +02:00 committed by Pablo Correa Gómez
parent f8390e8815
commit 15f073b93c
No known key found for this signature in database
GPG key ID: 7A342565FF635F79

View file

@ -1,6 +1,6 @@
pkgname=firmware-htc-memul
pkgver=1
pkgrel=1
pkgrel=2
pkgdesc="Firmware for HTC One Mini 2"
subpackages="
$pkgname-adsp
@ -25,7 +25,7 @@ done
builddir="$srcdir/memul-firmware-$_fw_commit"
build() {
for i in *.mdt; do
for i in adsp.mdt mba.mdt modem.mdt; do
pil-squasher "$(basename "$i" .mdt)".mbn "$i"
done
}
@ -54,7 +54,9 @@ modem() {
wcnss() {
pkgdesc="HTC One Mini 2 - WCNSS firmware"
install -Dm644 "$builddir"/wcnss.mbn -t \
# Squashing wcnss firmware leads to incomplete .mbn, so keep installing
# the original .mdt + .b0* files
install -Dm644 "$builddir"/wcnss.* -t \
"$subpkgdir/lib/firmware/qcom/msm8926/memul/"
cd "$builddir"
for _i in $_wififiles; do