From 53fd5b082884628b7f5bebbafb1ae1e08fd1e52f Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Wed, 26 Feb 2020 15:09:19 +0100 Subject: [PATCH] msm8974-common: Build and enable fastbootd Change-Id: I0b20600fe7203a7aec19cbea8f6849052585c6ab --- msm8974.mk | 4 ++++ sepolicy/fastbootd.te | 5 +++++ system.prop | 3 +++ 3 files changed, 12 insertions(+) create mode 100644 sepolicy/fastbootd.te diff --git a/msm8974.mk b/msm8974.mk index 5661a96..f3eb702 100644 --- a/msm8974.mk +++ b/msm8974.mk @@ -96,6 +96,10 @@ PRODUCT_PACKAGES += \ android.hardware.drm@1.0-impl \ android.hardware.drm@1.0-service +# fastbootd +PRODUCT_PACKAGES += \ + fastbootd + # GPS PRODUCT_PACKAGES += \ android.hardware.gnss@1.0-impl \ diff --git a/sepolicy/fastbootd.te b/sepolicy/fastbootd.te new file mode 100644 index 0000000..742f31e --- /dev/null +++ b/sepolicy/fastbootd.te @@ -0,0 +1,5 @@ +recovery_only(` +userdebug_or_eng(` +permissive fastbootd; +') +') diff --git a/system.prop b/system.prop index 324dd2e..ec96c8d 100644 --- a/system.prop +++ b/system.prop @@ -3,6 +3,9 @@ audio.offload.buffer.size.kb=32 audio.offload.gapless.enabled=false av.offload.enable=true +# fastbootd +ro.fastbootd.available=true + # GL ro.opengles.version=196608