From 907d7e8b6c82774bf63630b09058d387fe06fda3 Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Wed, 26 Feb 2020 15:09:19 +0100 Subject: [PATCH] sdm710-common: Build and enable fastbootd mode Change-Id: I7f4246f3f583dcae7b3bfc0d3ae1cf4d577632cb Signed-off-by: Chenyang Zhong --- sdm710.mk | 4 ++++ sepolicy/vendor/property_contexts | 3 +++ vendor.prop | 3 +++ 3 files changed, 10 insertions(+) diff --git a/sdm710.mk b/sdm710.mk index 2400ee8..96e37ee 100644 --- a/sdm710.mk +++ b/sdm710.mk @@ -198,6 +198,10 @@ PRODUCT_PACKAGES += \ android.hardware.drm@1.3.vendor \ android.hardware.drm-service.clearkey +# Fastbootd +PRODUCT_PACKAGES += \ + fastbootd + # Gatekeeper PRODUCT_PACKAGES += \ android.hardware.gatekeeper@1.0 \ diff --git a/sepolicy/vendor/property_contexts b/sepolicy/vendor/property_contexts index 6870404..7a1478a 100644 --- a/sepolicy/vendor/property_contexts +++ b/sepolicy/vendor/property_contexts @@ -17,6 +17,9 @@ vendor.powerhal.init u:object_r:vendor_power_prop:s0 vendor.powerhal.rendering u:object_r:vendor_power_prop:s0 vendor.powerhal.dalvik. u:object_r:vendor_power_prop:s0 +# Fastbootd +ro.fastbootd.available u:object_r:exported_default_prop:s0 + # Thermal persist.sys.thermal. u:object_r:thermal_engine_prop:s0 diff --git a/vendor.prop b/vendor.prop index 543d194..e5ad2d2 100644 --- a/vendor.prop +++ b/vendor.prop @@ -126,6 +126,9 @@ debug.sf.auto_latch_unsignaled=true ro.hwui.render_ahead=20 debug.hwui.renderer=opengl +# Fastbootd +ro.fastbootd.available=true + # Factory Reset Protection ro.frp.pst=/dev/block/bootdevice/by-name/frp