--- /dev/null
+# 1.device type [MID | MBOX | TV]
+# 2.soc type [meson3 | meson6 | meson8 | meson8b | meson8m2]
+#
+# 3.if the device is MID, need set fb0 & fb1 width height fbbits triplebuffer
+# example: MID meson8b 768 1024 32 1 1280 720 32 1
+# busybox fbset -fb /dev/graphics/fb0 -g 768 1024 768 3072 32
+# busybox fbset -fb /dev/graphics/fb1 -g 1280 720 1280 2160 32
+#
+# if the device is MBOX, need set default ui [720p | 1080p]
+
+MBOX g12a 1080p
frameworks/native/data/etc/android.software.opengles.deqp.level-2021-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.opengles.deqp.level.xml \
frameworks/native/data/etc/android.software.vulkan.deqp.level-2021-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.vulkan.deqp.level.xml
+PRODUCT_COPY_FILES += \
+ $(LOCAL_PATH)/configs/mesondisplay.cfg:$(TARGET_COPY_OUT_RECOVERY)/root/system/etc/mesondisplay.cfg \
+ $(LOCAL_PATH)/configs/mesondisplay.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/mesondisplay.cfg
+
## Health
PRODUCT_PACKAGES += \
android.hardware.health@2.1.vendor
write /config/usb_gadget/g1/strings/0x409/product ${ro.product.board}
write /config/usb_gadget/g1/configs/b.1/MaxPower 500
+service systemcontrol /system/bin/systemcontrol_static /system/etc/mesondisplay.cfg
+ oneshot
+ seclabel u:r:recovery:s0
+
# USB accessory configuration
on property:sys.usb.config=accessory && property:sys.usb.configfs=0
write /sys/class/android_usb/android0/enable 0
# Graphics
vendor/bin/hw/android.hardware.graphics.allocator@4.0-service
vendor/etc/init/android.hardware.graphics.allocator@4.0-service.rc
-vendor/etc/mesondisplay.cfg
vendor/lib/arm.graphics-V1-ndk_platform.so
vendor/lib/egl/libGLES_mali.so
vendor/lib/hw/android.hardware.graphics.allocator@4.0-impl-arm.so
odm/etc/firmware/firmware.le
odm/etc/tvconfig/pq/pq.db
odm/etc/tvconfig/pq/pq_default.ini
+recovery/root/system/bin/systemcontrol_static|f4ad06b9486cbe9d4a67fa3c2b55a1e821183f8e
vendor/bin/hdcp_tx22
vendor/bin/systemcontrol
vendor/etc/init/systemcontrol.rc