Skip to content
This repository was archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
violet: Build and enable fastbootd
Browse files Browse the repository at this point in the history
Since OEM fastboot implementation does not allow us to flash
critical partitions, fastbootd is useful for upgrading firmware.

Change-Id: I0b20600fe7203a7aec19cbea8f6849052585c6ab
  • Loading branch information
aleasto authored and Joker-V2 committed Mar 3, 2024
1 parent 64e1632 commit f4d563d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@ PRODUCT_PACKAGES += \
[email protected] \
android.hardware.drm-service.clearkey

# Fastbootd
PRODUCT_PACKAGES += \
fastbootd

# Fingerprint feature
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
Expand Down
3 changes: 3 additions & 0 deletions sepolicy/private/property_contexts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Fastbootd
ro.fastbootd.available u:object_r:exported_default_prop:s0

# Global
ro.boot.hwc u:object_r:exported_default_prop:s0
ro.build.flavor u:object_r:build_prop:s0
Expand Down
3 changes: 3 additions & 0 deletions system_ext.prop
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# DPM
persist.vendor.dpm.feature=11

# Fastbootd
ro.fastbootd.available=true

0 comments on commit f4d563d

Please sign in to comment.