Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fa512e69 authored by Rohit Sekhar's avatar Rohit Sekhar
Browse files

Merge branch '1225devices-u-FP4_opera_qr' into 'v1-u'

FP4: Set debug.camera.packagename

See merge request !69
parents 662e3f82 f4c9e34d
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -51,6 +51,7 @@ BOARD_SUPPORTS_SOUND_TRIGGER := true
TARGET_BOOTLOADER_BOARD_NAME := FP4

# Camera
TARGET_CAMERA_EXPOSE_CLIENTPKGNAME := true
TARGET_CAMERA_OVERRIDE_FORMAT_FROM_RESERVED := true

# Display
@@ -173,6 +174,7 @@ VENDOR_SECURITY_PATCH := 2024-07-05
include device/qcom/sepolicy_vndr/SEPolicy.mk
BOARD_VENDOR_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/private
SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/public

# Verified Boot
BOARD_AVB_ENABLE := true
+12 −0
Original line number Diff line number Diff line
@@ -64,6 +64,18 @@ function blob_fixup() {
        vendor/lib64/vendor.qti.hardware.camera.postproc@1.0-service-impl.bitra.so)
            "${SIGSCAN}" -p "13 0a 00 94" -P "1F 20 03 D5" -f "${2}"
            ;;
        vendor/lib64/camera/components/com.qti.node.gpu.so)
            sed -i 's|vendor.debug.camera.pkgname|debug.camera.packagename\x00\x00\x00|g' "${2}"
            ;;
        vendor/lib64/hw/camera.qcom.so)
            sed -i 's|vendor.debug.camera.pkgname|debug.camera.packagename\x00\x00\x00|g' "${2}"
            ;;
        vendor/lib64/hw/com.qti.chi.override.bitra.so)
            sed -i 's|vendor.debug.camera.pkgname|debug.camera.packagename\x00\x00\x00|g' "${2}"
            ;;
        vendor/lib64/hw/com.qti.chi.override.so)
            sed -i 's|vendor.debug.camera.pkgname|debug.camera.packagename\x00\x00\x00|g' "${2}"
            ;;
        vendor/lib64/hw/fingerprint.lito.so)
            sed -i 's|fpsensor_fingerprint\x00|fingerprint\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00|g' "${2}"
            ;;
+4 −1
Original line number Diff line number Diff line
# Camera
debug.camera.packagename u:object_r:debug_camera_prop:s0

# Radio
persist.ril.sim.mcc.mnc  u:object_r:radio_prop:s0
+2 −0
Original line number Diff line number Diff line
# Camera
system_public_prop(debug_camera_prop)
+1 −0
Original line number Diff line number Diff line
set_prop(cameraserver, debug_camera_prop)
Loading