huawei-kiwi: add GR5 (2016) (MR 4302)

GR5 is for international markets, and it's also kiwi.
The existing pmaports, lk2nd and kernel works can be used directly
without problems.

There is nothing different found yet. The 2 phones seem to be identical
except that GR5 is not branded as Honor series and it has no Honor logo
on the chassis.
This commit is contained in:
Raymond Hackley 2023-08-03 02:09:32 +00:00 committed by Stefan Hansson
parent 4f842cfd9a
commit 5ad102151d
No known key found for this signature in database
GPG key ID: 990600ED1DB95E02
3 changed files with 9 additions and 8 deletions

View file

@ -1,7 +1,7 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-huawei-kiwi
pkgdesc="Huawei Honor 5X"
pkgver=2
pkgdesc="Huawei Honor 5X / GR5 (2016)"
pkgver=2.1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@ -28,5 +28,5 @@ package() {
}
sha512sums="
d9e18ec5ff769ac8697764ab94361273c93805e3c5d57eb4fae75e21e78699f5c67bc02d5fe57c975820d7545e9c200a7c40bb19783b982f53ca8fdd2cd38c11 deviceinfo
9b29325fae15bff78015be5684204f234b1c6df4e3835d0b1f39ad5dff623d4dd32a7a42e79b9d73821c9aeb0feb7a449569c356dfc252d214684e776e1539ba deviceinfo
"

View file

@ -2,7 +2,7 @@
# Please use double quotes only. You can source this file in shell scripts.
deviceinfo_format_version="0"
deviceinfo_name="Huawei Honor 5X"
deviceinfo_name="Huawei Honor 5X / GR5 (2016)"
deviceinfo_manufacturer="Huawei"
deviceinfo_codename="huawei-kiwi"
deviceinfo_year="2015"

View file

@ -1,7 +1,8 @@
pkgname=firmware-huawei-kiwi
pkgver=1
pkgrel=1
pkgdesc="Firmware for Huawei Honor 5X"
pkgrel=2
_name="Huawei Honor 5X / GR5 (2016)"
pkgdesc="Firmware for $_name"
url="https://git.sr.ht/~bo41/firmware-huawei-kiwi"
subpackages="$pkgname-venus $pkgname-wcnss-nv:wcnss_nv"
arch="aarch64"
@ -25,7 +26,7 @@ package() {
}
venus() {
pkgdesc="Huawei Honor 5X video firmware"
pkgdesc="$_name video firmware"
# Linux detects squashed (.mbn) vs non-squashed (.mdt + .b*) based on
# file contents, so it is fine to install venus.mbn to venus.mdt
@ -33,7 +34,7 @@ venus() {
}
wcnss_nv() {
pkgdesc="Huawei Honor 5X WiFi/BT firmware configuration"
pkgdesc="$_name WiFi/BT firmware configuration"
install -Dm644 "$builddir"/WCNSS_qcom_wlan_nv.bin -t "$subpkgdir/$_fwdir"/wlan/prima
}