aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuK1337 <priv.luk@gmail.com>2024-03-21 08:51:02 +0100
committerRalf Luther <luther.ralf@gmail.com>2024-05-19 17:00:22 +0200
commitfdc4660112a5734fbaa7486fde7f4a4ce134972d (patch)
tree15a09c2a92cb84c2751857a6b1666f2259b6750b
parent4f0269c6dbea9f857b21b6f3d81551cdb38a9c4f (diff)
guacamole: Override fastboot-info.txt
Change-Id: I1b293436b23eb8dfbc3a60759fee97cc73ba852d
-rw-r--r--device.mk3
-rw-r--r--fastboot-info.txt8
2 files changed, 11 insertions, 0 deletions
diff --git a/device.mk b/device.mk
index 81043db..78caca0 100644
--- a/device.mk
+++ b/device.mk
@@ -30,6 +30,9 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/init/fstab.qcom:$(TARGET_COPY_OUT_RECOVERY)/first_stage_ramdisk/fstab.qcom
+# Fastboot
+TARGET_BOARD_FASTBOOT_INFO_FILE := $(LOCAL_PATH)/fastboot-info.txt
+
# Overlays
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay \
diff --git a/fastboot-info.txt b/fastboot-info.txt
new file mode 100644
index 0000000..19270e0
--- /dev/null
+++ b/fastboot-info.txt
@@ -0,0 +1,8 @@
+version 1
+flash boot
+flash dtbo
+flash --apply-vbmeta vbmeta
+flash system
+flash vendor
+if-wipe erase userdata
+if-wipe erase metadata