device-motorola-rtwo: set os_version/os_patch_level on the boot.img
Our boot.img had os_version=0. The stock image is 16.0.0 / 2026-08 and the Motorola bootloader does anti-rollback on the boot image security patch level - a 0 value is below the stored minimum and gets rejected (instant reboot). Match the stock values via bootimg_custom_args. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QF5HebjUsRaxbW4cBX6HJP
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
maintainer="snlavaise <snlavaise@gmail.com>"
|
||||
pkgname=device-motorola-rtwo
|
||||
pkgver=1
|
||||
pkgrel=8
|
||||
pkgrel=9
|
||||
pkgdesc="Motorola Moto Edge 40 Pro"
|
||||
url="https://postmarketos.org"
|
||||
arch="aarch64"
|
||||
@@ -36,6 +36,6 @@ package() {
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
2346e41081fa6fa5762e86f75630a7851e52a180f39989468bfdb76c4c0c0ddeaf72cb62996d35a8784083428abc5fa34be8d04874c57bd573b20aca4cf5c447 deviceinfo
|
||||
e1edb54b515de674ded1a0443901f41a37655d79da8273a504bca8a23e7c789b13ddad9ddef99e5eed8ce352502339b14e55b20eacfcf734334daf19edc7b876 deviceinfo
|
||||
c572e21cb0624b554a22a218b0c4faab9b6412654bed6bfef530f3068d076b21c573bd7f4b3ca65f510f8756f636a861191cce925ef49587db7d68d09558826c modules-initfs
|
||||
"
|
||||
|
||||
@@ -37,7 +37,7 @@ deviceinfo_generate_bootimg="true"
|
||||
# The Motorola bootloader places the DTB / kernel at the addresses in the
|
||||
# vendor_boot header. mkbootimg defaults to base 0x10000000 (dtb ends up at
|
||||
# 0x11f00000, outside RAM) - stock uses base 0. Force the stock layout.
|
||||
deviceinfo_bootimg_custom_args="--base 0x00000000 --kernel_offset 0x00008000 --ramdisk_offset 0x01000000 --tags_offset 0x00000100 --dtb_offset 0x01f00000"
|
||||
deviceinfo_bootimg_custom_args="--base 0x00000000 --kernel_offset 0x00008000 --ramdisk_offset 0x01000000 --tags_offset 0x00000100 --dtb_offset 0x01f00000 --os_version 16.0.0 --os_patch_level 2026-08"
|
||||
deviceinfo_bootimg_qcdt="false"
|
||||
deviceinfo_header_version="4"
|
||||
deviceinfo_flash_pagesize="4096"
|
||||
|
||||
Reference in New Issue
Block a user