hiphi: Initial TWRP device tree

Made with SebaUbuntu's TWRP device tree generator
Arch: arm64
Manufacturer: motorola
Model: motorola edge 30 pro
Script version: 3.0.0
This commit is contained in:
Sebastiano Barezzi 2023-04-04 18:44:40 +02:00
commit bfa2b50714
14 changed files with 414 additions and 0 deletions

35
device.mk Normal file
View file

@ -0,0 +1,35 @@
#
# Copyright (C) 2023 The Android Open Source Project
# Copyright (C) 2023 SebaUbuntu's TWRP device tree generator
#
# SPDX-License-Identifier: Apache-2.0
#
LOCAL_PATH := device/motorola/hiphi
# A/B
AB_OTA_POSTINSTALL_CONFIG += \
RUN_POSTINSTALL_system=true \
POSTINSTALL_PATH_system=system/bin/otapreopt_script \
FILESYSTEM_TYPE_system=ext4 \
POSTINSTALL_OPTIONAL_system=true
# Boot control HAL
PRODUCT_PACKAGES += \
android.hardware.boot@1.0-impl \
android.hardware.boot@1.0-service
PRODUCT_PACKAGES += \
bootctrl.taro
PRODUCT_STATIC_BOOT_CONTROL_HAL := \
bootctrl.taro \
libgptutils \
libz \
libcutils
PRODUCT_PACKAGES += \
otapreopt_script \
cppreopts.sh \
update_engine \
update_verifier \
update_engine_sideload