FP4: Bump to TP29.C.0101.20240121

Change-Id: I37dd2797ac8c47e935f8bb41e565200221b2b732
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 2fbd94a..cd93a75 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -185,8 +185,8 @@
 ENABLE_VENDOR_RIL_SERVICE := true
 
 # Security patch level
-BOOT_SECURITY_PATCH := 2023-12-05
-VENDOR_SECURITY_PATCH := 2023-12-05
+BOOT_SECURITY_PATCH := 2024-01-05
+VENDOR_SECURITY_PATCH := 2024-01-05
 
 # SEPolicy
 include device/qcom/sepolicy_vndr/SEPolicy.mk
diff --git a/lineage_FP4.mk b/lineage_FP4.mk
index 45612f9..56e782e 100644
--- a/lineage_FP4.mk
+++ b/lineage_FP4.mk
@@ -30,7 +30,7 @@
 PRODUCT_GMS_CLIENTID_BASE := android-alcatel
 
 PRODUCT_BUILD_PROP_OVERRIDES += \
-    PRIVATE_BUILD_DESC="qssi-user 13 TKQ1.230127.002 TP25 release-keys" \
+    PRIVATE_BUILD_DESC="qssi-user 13 TKQ1.230127.002 TP29 release-keys" \
     TARGET_PRODUCT=FP4eea
 
-BUILD_FINGERPRINT := "Fairphone/FP4eea/FP4:13/TKQ1.230127.002/TP25:user/release-keys"
+BUILD_FINGERPRINT := "Fairphone/FP4eea/FP4:13/TKQ1.230127.002/TP29:user/release-keys"
diff --git a/media/media_profiles_vendor.xml b/media/media_profiles_vendor.xml
index 0e00010..d0a2af6 100644
--- a/media/media_profiles_vendor.xml
+++ b/media/media_profiles_vendor.xml
@@ -669,9 +669,9 @@
 
     <EncoderProfile quality="high" fileFormat="mp4" duration="30">
       <Video codec="h264"
-             bitRate="20000000"
-             width="1920"
-             height="1080"
+             bitRate="42000000"
+             width="3840"
+             height="2160"
              frameRate="30" />
 
       <Audio codec="aac"
@@ -745,6 +745,19 @@
              channels="2" />
     </EncoderProfile>
 
+    <EncoderProfile quality="2160p" fileFormat="mp4" duration="30">
+      <Video codec="h264"
+            bitRate="42000000"
+            width="3840"
+            height="2160"
+            frameRate="30" />
+
+      <Audio codec="aac"
+            bitRate="156000"
+            sampleRate="48000"
+            channels="2" />
+    </EncoderProfile>
+
     <EncoderProfile quality="qcif" fileFormat="3gp" duration="30">
       <Video codec="h264"
              bitRate="192000"
@@ -787,9 +800,9 @@
 
     <EncoderProfile quality="timelapsehigh" fileFormat="mp4" duration="30">
       <Video codec="h264"
-             bitRate="20000000"
-             width="1920"
-             height="1080"
+             bitRate="42000000"
+             width="3840"
+             height="2160"
              frameRate="30" />
 
       <!-- audio setting is ignored -->
@@ -898,6 +911,19 @@
              channels="2" />
     </EncoderProfile>
 
+    <EncoderProfile quality="timelapse2160p" fileFormat="mp4" duration="30">
+      <Video codec="h264"
+            bitRate="42000000"
+            width="3840"
+            height="2160"
+            frameRate="30" />
+
+      <Audio codec="aac"
+            bitRate="156000"
+            sampleRate="48000"
+            channels="2" />
+    </EncoderProfile>
+
         <ImageEncoding quality="95" />
         <ImageEncoding quality="80" />
         <ImageEncoding quality="70" />
diff --git a/proprietary-files.txt b/proprietary-files.txt
index ffca2bb..7ea5915 100644
--- a/proprietary-files.txt
+++ b/proprietary-files.txt
@@ -1,4 +1,4 @@
-# Unpinned blobs from Fairphone/FP4eea/FP4:13/TKQ1.230127.002/TP25:user/release-keys
+# Unpinned blobs from Fairphone/FP4eea/FP4:13/TKQ1.230127.002/TP29:user/release-keys
 
 # ACDB
 vendor/etc/acdbdata/MTP/lito-lagoon-fp4-snd-card/Bluetooth_cal.acdb:vendor/etc/acdbdata/MTP/lito-lagoonmtp-snd-card/Bluetooth_cal.acdb
@@ -91,6 +91,38 @@
 vendor/lib64/vendor.qti.hardware.bluetooth_sar@1.1.so
 
 # Camera
+vendor/etc/camera/MotionDetParameter.cfg
+vendor/etc/camera/capture_cache
+vendor/etc/camera/capture_model
+vendor/etc/camera/capture_policy
+vendor/etc/camera/cnet_h384w512_quan_0317_int8.tflite
+vendor/etc/camera/intsense_config_singlebokeh.bin
+vendor/etc/camera/modnet_c12v2_in_h416_w544.bin
+vendor/etc/camera/modnet_c12v2_in_h416_w544.mnn
+vendor/etc/camera/params.txt
+vendor/etc/camera/params_SuperIQ.txt
+vendor/etc/camera/params_back_000_200.txt
+vendor/etc/camera/params_back_2000_4000.txt
+vendor/etc/camera/params_back_200_400.txt
+vendor/etc/camera/params_back_4000_10000.txt
+vendor/etc/camera/params_back_400_2000.txt
+vendor/etc/camera/params_front_0000_1000.txt
+vendor/etc/camera/params_front_1000_2500.txt
+vendor/etc/camera/params_front_2500_4000.txt
+vendor/etc/camera/params_front_4000_5000.txt
+vendor/etc/camera/params_wide_0000_1000.txt
+vendor/etc/camera/params_wide_1000_3000.txt
+vendor/etc/camera/params_wide_3000_8000.txt
+vendor/etc/camera/params_wide_8000_10000.txt
+vendor/etc/camera/params_zoom_0100_0250.txt
+vendor/etc/camera/params_zoom_0250_1400.txt
+vendor/etc/camera/params_zoom_10000_18000.txt
+vendor/etc/camera/params_zoom_1400_2300.txt
+vendor/etc/camera/params_zoom_2300_10000.txt
+vendor/etc/camera/quantize_scene_0528_freeze_graph.tflite
+vendor/etc/camera/sg_cap_cache
+vendor/etc/camera/sg_cap_model
+vendor/etc/camera/sg_cap_policy
 vendor/lib/libswvdec.so
 vendor/lib64/camera/com.qti.eeprom.gt24p128ef_imx576.so
 vendor/lib64/camera/com.qti.eeprom.imx582_gt24p128eh.so
@@ -123,9 +155,21 @@
 vendor/lib64/com.qti.feature2.serializer.bitra.so
 vendor/lib64/com.qti.feature2.stub.bitra.so
 vendor/lib64/com.qti.feature2.swmf.bitra.so
+vendor/lib64/com.tct.cameraalgo.gs.so
+vendor/lib64/com.tct.cameraalgo.hdr.so
+vendor/lib64/com.tct.cameraalgo.hwmfnr.so
+vendor/lib64/com.tct.cameraalgo.mirror.so
+vendor/lib64/com.tct.cameraalgo.morpholdc.so
+vendor/lib64/com.tct.cameraalgo.morphonight.so
+vendor/lib64/com.tct.cameraalgo.morphozoom.so
+vendor/lib64/com.tct.cameraalgo.singlebokeh.so
+vendor/lib64/com.tct.cameraalgo.tcldualbokeh.so
+vendor/lib64/com.tct.cameraalgo.watermark.so
 vendor/lib64/hw/camera.qcom.so
 vendor/lib64/hw/com.qti.chi.override.bitra.so
 vendor/lib64/hw/com.qti.chi.override.so
+vendor/lib64/libanc_single_bokeh.so
+vendor/lib64/libanc_single_bokeh_rear.so
 vendor/lib64/libbitmlengine.so
 vendor/lib64/libc++_shared.so
 vendor/lib64/libcamera_nn_stub.so
@@ -133,15 +177,23 @@
 vendor/lib64/libchilog.so
 vendor/lib64/libcom.qti.chinodeutils.so
 vendor/lib64/libipebpsstriping.so
+vendor/lib64/libmorpho_dcface.so
 vendor/lib64/libmorpho_distortion_correction.so
 vendor/lib64/libmorpho_hdr_checker.so
+vendor/lib64/libmorpho_image_refiner.so
 vendor/lib64/libmorpho_movie_stabilizer6.so
 vendor/lib64/libmorpho_smooth_zoom_preview.so
+vendor/lib64/libmorpho_super_resolution.so
+vendor/lib64/libmotionDet.so
 vendor/lib64/libofflinelog.so
 vendor/lib64/libsns_fastRPC_util.so
 vendor/lib64/libsnsapi.so
 vendor/lib64/libsnsdiaglog.so
 vendor/lib64/libswregistrationalgo.so
+vendor/lib64/libtclSceneDetector.so
+vendor/lib64/libtcl_dualcam_bokeh_cap.so
+vendor/lib64/libtcltflite.so
+vendor/lib64/libtctcameraalgo.so
 vendor/lib64/vendor.qti.hardware.camera.postproc@1.0-service-impl.bitra.so|0c6788ba8f7f59efd5c2d671e339a93d32dbc36c|99bbf4bf75ebc58021b10b843eb4728c9763964d
 vendor/lib64/vendor.qti.hardware.camera.postproc@1.0-service-impl.so
 
@@ -161,7 +213,7 @@
 vendor/lib64/libcamxtintlessalgo.so
 
 # Camera components
-vendor/lib64/camera/components/com.morpho.node.drchecker.so
+vendor/lib64/camera/components/com.morpho.node.hdr.so
 vendor/lib64/camera/components/com.morpho.node.ldc.so
 vendor/lib64/camera/components/com.morpho.node.moviesolid.so
 vendor/lib64/camera/components/com.morpho.node.sat.so
@@ -199,6 +251,7 @@
 vendor/lib64/camera/components/com.qtistatic.stats.af.so
 vendor/lib64/camera/components/com.qtistatic.stats.awb.so
 vendor/lib64/camera/components/com.qtistatic.stats.pdlib.so
+vendor/lib64/camera/components/com.tct.node.scenedetect.so
 
 # Camera firmware
 vendor/firmware/CAMERA_ICP.elf
diff --git a/proprietary-firmware.txt b/proprietary-firmware.txt
index 4713b3d..4540596 100644
--- a/proprietary-firmware.txt
+++ b/proprietary-firmware.txt
@@ -1,4 +1,4 @@
-# Firmware from Fairphone/FP4eea/FP4:13/TKQ1.230127.002/TP25:user/release-keys
+# Firmware from Fairphone/FP4eea/FP4:13/TKQ1.230127.002/TP29:user/release-keys
 
 abl_ecc.elf:abl.img;AB
 aop.mbn:aop.img;AB
diff --git a/rootdir/etc/init.target.rc b/rootdir/etc/init.target.rc
index dd48625..e2b6ee4 100644
--- a/rootdir/etc/init.target.rc
+++ b/rootdir/etc/init.target.rc
@@ -48,6 +48,7 @@
     start keymaster-4-0
     chmod 0660 /dev/fpsensor
     chown system system /dev/fpsensor
+    chown system camera /sys/devices/platform/soc/ac4a000.qcom,cci0/ac4a000.qcom,cci0:qcom,ois@0/ois_gain_get
 
 on early-fs
     start vold
@@ -66,6 +67,8 @@
 
     chown system system /dev/stmvl53l1_ranging
     chmod 0666 /dev/stmvl53l1_ranging
+    chown system camera /dev/cm4_ois0
+    chmod 0666 /dev/cm4_ois0
 
 on late-fs
     wait_for_prop hwservicemanager.ready true
@@ -91,6 +94,7 @@
     setprop vendor.usb.dpl.inst.name "dpl"
     setprop vendor.usb.qdss.inst.name "qdss_mdm"
     setprop vendor.usb.controller a600000.dwc3
+    setprop persist.vendor.camera.mmi_ldaf ""
 #Load WLAN driver
     insmod /vendor/lib/modules/qca_cld3_wlan.ko