Commit 4d436646 authored by Sooraj S's avatar Sooraj S 👽 Committed by ssizon
Browse files

FP3: Fix front and back camera

TODO: Build camera hal from source
Remove unused camera sensors in stock
s5k4h7yx probe succeeded

imx363 probe succeeded
parent 0d323fdd
......@@ -153,6 +153,10 @@ BOARD_HAVE_BLUETOOTH := true
BOARD_HAVE_BLUETOOTH_QCOM := true
QCOM_BT_USE_BTNV := true
# Camera
USE_CAMERA_STUB := true
TARGET_USES_QTI_CAMERA_DEVICE := true
# Graphics
MAX_EGL_CACHE_KEY_SIZE := 12*1024
MAX_EGL_CACHE_SIZE := 2048*1024
......@@ -165,6 +169,8 @@ TARGET_USES_GRALLOC1 := true
TARGET_USES_COLOR_METADATA := true #TODO # already set by vendor/lineage/config/BoardConfigQcom.mk
NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3
TARGET_USES_MEDIA_EXTENSIONS := true
# Recovery
TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/recovery.fstab
......
......@@ -106,6 +106,7 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
android.hardware.light@2.0-impl \
android.hardware.light@2.0-service \
lights.msm8953
#INIT
PRODUCT_PACKAGES += \
......@@ -144,6 +145,14 @@ PRODUCT_PACKAGES += \
init.qcom.test.rc \
init.qcom.debug.sh
# Camera
PRODUCT_PACKAGES += \
android.hardware.camera.provider@2.4-impl \
android.hardware.camera.provider@2.4-service \
camera.device@3.2-impl \
libbson.vendor \
libxml2
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
......
......@@ -44,7 +44,7 @@
<instance>default</instance>
</interface>
</hal>
<!-- <hal format="hidl">
<hal format="hidl">
<name>android.hardware.camera.provider</name>
<transport>hwbinder</transport>
<version>2.4</version>
......@@ -53,7 +53,7 @@
<instance>default</instance>
<instance>legacy/0</instance>
</interface>
</hal> -->
</hal>
<hal format="hidl">
<name>android.hardware.cas</name>
<transport>hwbinder</transport>
......
This diff is collapsed.
......@@ -208,3 +208,16 @@ PRODUCT_PROPERTY_OVERRIDES += \
# vendor library
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.extension_library=libqti-perfd-client.so
# Camera
PRODUCT_PROPERTY_OVERRIDES += \
persist.sys.camera.camera2=true \
persist.vendor.camera.lib2d.rotation=on \
persist.vendor.camera.isp.clock.optmz=0 \
vendor.camera.hal1.packagelist=com.skype.raider,com.google.android.talk \
vendor.camera.lowpower.record.enable=1 \
persist.vendor.camera.display.umax=1920x1080 \
persist.vendor.camera.display.lmax=1280x720
#expose aux camera for below packages
# vendor.camera.aux.packagelist=org.codeaurora.snapcam
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment