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:
parent
f8390e8815
commit
15f073b93c
1 changed files with 5 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
pkgname=firmware-htc-memul
|
pkgname=firmware-htc-memul
|
||||||
pkgver=1
|
pkgver=1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Firmware for HTC One Mini 2"
|
pkgdesc="Firmware for HTC One Mini 2"
|
||||||
subpackages="
|
subpackages="
|
||||||
$pkgname-adsp
|
$pkgname-adsp
|
||||||
|
@ -25,7 +25,7 @@ done
|
||||||
builddir="$srcdir/memul-firmware-$_fw_commit"
|
builddir="$srcdir/memul-firmware-$_fw_commit"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
for i in *.mdt; do
|
for i in adsp.mdt mba.mdt modem.mdt; do
|
||||||
pil-squasher "$(basename "$i" .mdt)".mbn "$i"
|
pil-squasher "$(basename "$i" .mdt)".mbn "$i"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
@ -54,7 +54,9 @@ modem() {
|
||||||
wcnss() {
|
wcnss() {
|
||||||
pkgdesc="HTC One Mini 2 - WCNSS firmware"
|
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/"
|
"$subpkgdir/lib/firmware/qcom/msm8926/memul/"
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
for _i in $_wififiles; do
|
for _i in $_wififiles; do
|
||||||
|
|
Loading…
Reference in a new issue