From 0d579bb7c40e79cf981e2d636900af1eda9cdf82 Mon Sep 17 00:00:00 2001 From: Maunik Shah Date: Fri, 13 Mar 2015 14:39:03 +0530 Subject: [PATCH] FRP: Add FRP property & persistent data block - Set "system" as owner of persistent data block - Add ro.frp.pst property to PRODUCT_PROPERTY_OVERRIDES Change-Id: I6751660dfae5d19782922ae597d7366345a6e084 --- common.mk | 3 ++- common64.mk | 3 ++- rootdir/etc/ueventd.qcom.rc | 3 +++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/common.mk b/common.mk index a3c9d03e..b9e6631c 100644 --- a/common.mk +++ b/common.mk @@ -17,7 +17,8 @@ PRODUCT_PROPERTY_OVERRIDES += \ ro.vendor.extension_library=libqti-perfd-client.so \ persist.radio.apm_sim_not_pwdn=1 \ persist.radio.custom_ecc=1\ - persist.radio.sib16_support=1 + persist.radio.sib16_support=1 \ + ro.frp.pst=/dev/block/bootdevice/by-name/config PRODUCT_PRIVATE_KEY := device/qcom/common/qcom.key PRODUCT_PACKAGES += qcril.db diff --git a/common64.mk b/common64.mk index f8523f2e..c2d57201 100644 --- a/common64.mk +++ b/common64.mk @@ -18,7 +18,8 @@ PRODUCT_PROPERTY_OVERRIDES += \ ro.vendor.extension_library=libqti-perfd-client.so \ persist.radio.apm_sim_not_pwdn=1 \ persist.radio.sib16_support=1 \ - persist.radio.custom_ecc=1 + persist.radio.custom_ecc=1 \ + ro.frp.pst=/dev/block/bootdevice/by-name/config PRODUCT_PRIVATE_KEY := device/qcom/common/qcom.key diff --git a/rootdir/etc/ueventd.qcom.rc b/rootdir/etc/ueventd.qcom.rc index 9278d33e..961589eb 100644 --- a/rootdir/etc/ueventd.qcom.rc +++ b/rootdir/etc/ueventd.qcom.rc @@ -236,3 +236,6 @@ #ImproveTouch device /dev/hbtp_input 0660 system system /dev/hbtp_vm 0660 system system + +# Add device block for FRP +/dev/block/platform/soc/7824900.sdhci/by-name/config 0600 system system