Files
pmaports-rtwo/device/testing/device-motorola-rtwo/APKBUILD
T
snlavaiseandClaude Sonnet 5 c8e58e90c6 device-motorola-rtwo: set vbmeta fastboot partition
So 'pmbootstrap flasher flash_vbmeta' generates + flashes a
verification-disabled vbmeta. Motorola bootloaders can still enforce AVB
on boot/dtbo/init_boot/vendor_boot even when unlocked, rebooting when the
flashed images don't match the stock vbmeta hashes.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QF5HebjUsRaxbW4cBX6HJP
2026-09-08 22:23:30 -03:00

42 lines
1.2 KiB
Bash

# Reference: <https://postmarketos.org/devicepkg>
maintainer="snlavaise <snlavaise@gmail.com>"
pkgname=device-motorola-rtwo
pkgver=1
pkgrel=8
pkgdesc="Motorola Moto Edge 40 Pro"
url="https://postmarketos.org"
arch="aarch64"
license="MIT"
depends="
android-tools
linux-postmarketos-qcom-sm8550
postmarketos-base
soc-qcom
"
makedepends="devicepkg-dev"
source="
deviceinfo
modules-initfs
"
options="!archcheck !check"
# TODO (as hardware comes up):
# - firmware-motorola-rtwo (WiFi/BT/modem/GPU blobs, generate from the
# stock image with 'pmbootstrap ...' or extract manually)
# - firmware-qcom-adreno-* for the Adreno 740 (GPU / mesa-vulkan-freedreno)
# - make-dynpart-mappings once super partitions are mapped
# - soc-qcom-modem, qbootctl (A/B slot handling) once booting
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
sha512sums="
2346e41081fa6fa5762e86f75630a7851e52a180f39989468bfdb76c4c0c0ddeaf72cb62996d35a8784083428abc5fa34be8d04874c57bd573b20aca4cf5c447 deviceinfo
c572e21cb0624b554a22a218b0c4faab9b6412654bed6bfef530f3068d076b21c573bd7f4b3ca65f510f8756f636a861191cce925ef49587db7d68d09558826c modules-initfs
"