Fix firmware flash denial for OP7 series

Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
Tad 2022-11-16 18:42:00 -05:00
parent 9d1efb33c3
commit ad5f2d7bfa
No known key found for this signature in database
GPG key ID: B286E9F57A07424B
2 changed files with 7 additions and 7 deletions

View file

@ -425,6 +425,10 @@ sed -i '/PRODUCT_SYSTEM_VERITY_PARTITION/iPRODUCT_VENDOR_VERITY_PARTITION := /de
awk -i inplace '!/vendor_sensors_dbg_prop/' sepolicy/vendor/hal_camera_default.te; #fixup
fi;
if enterAndClear "hardware/oplus"; then
echo "allow update_engine_common vendor_custom_ab_block_device:blk_file rw_file_perms;" >> sepolicy/qti/vendor/update_engine_common.te; #fix firmware flash
fi;
#Make changes to all devices
cd "$DOS_BUILD_BASE";
find "hardware/qcom/gps" -name "gps\.conf" -type f -print0 | xargs -0 -n 1 -P 4 -I {} bash -c 'hardenLocationConf "{}"';