aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErfan Abdi <erfangplus@gmail.com>2020-12-30 23:38:25 +0330
committerJoshua Blanchard <joshua.lee.bbg@gmail.com>2021-01-31 14:17:34 -0500
commit738f6d26e07940832f73db9828393887d7f9d516 (patch)
tree3a532e80ce72523c1a8cea405ab963e0bbea17ab
parent1909babb2b1adaef69d53e18aa97d9f879d35df5 (diff)
evert: Fix camera recording
* Patched libmmcamera2_pproc_modules to not look for manufacturer prop, when it finds motorola as manufacturer camera hal will start some processes that leads to crash on android R... * I'm not sure whats downside of this hexpatch but camera recording is fixed... Change-Id: I8f67d0b07063df30af325a6b8d4181c90c18202f
-rwxr-xr-xextract-files.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/extract-files.sh b/extract-files.sh
index 9d52a5f..4886c32 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -12,6 +12,10 @@ function blob_fixup() {
vendor/etc/init/android.hardware.biometrics.fingerprint@2.1-service.rc)
sed -i "s/input/uhid input/" "${2}"
;;
+ # Fix camera recording
+ vendor/lib/libmmcamera2_pproc_modules.so)
+ sed -i "s/ro.product.manufacturer/ro.product.nopefacturer/" "${2}"
+ ;;
# Load ZAF configs from vendor
vendor/lib/libzaf_core.so)
sed -i "s|/system/etc/zaf|/vendor/etc/zaf|g" "${2}"