diff --git a/MotCamera4-patches/0001-Disable-HDR-video-recording-for-dubai.patch b/MotCamera4-patches/0001-Disable-HDR-video-recording-for-dubai.patch deleted file mode 100644 index dfa3f94..0000000 --- a/MotCamera4-patches/0001-Disable-HDR-video-recording-for-dubai.patch +++ /dev/null @@ -1,17 +0,0 @@ -From 7f46ad55ae7b45b2be6e2d05e5d012f69806c1b2 Mon Sep 17 00:00:00 2001 -From: AdarshGrewal -Date: Sun, 2 Oct 2022 19:04:16 +0530 -Subject: [PATCH] MotCamera4: Disable HDR video recording for dubai - ---- - assets/app_feature_dubai | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/assets/app_feature_dubai b/assets/app_feature_dubai -index f33f731a..963e68b2 100644 ---- a/assets/app_feature_dubai -+++ b/assets/app_feature_dubai -@@ -1 +1 @@ --{"d":"dubai","fs":[{"f":"AI_LOW_LIGHT_SELFIE_PREVIEW_ENFORCE"},{"f":"AUTO_SMILE_CAPTURE"},{"f":"BG_SERVICE_PROCESSING"},{"f":"CINEMAGRAPH"},{"f":"DEPTH_ENABLED"},{"f":"DISPLAY_FLASH_DEFAULT","value":"2"},{"f":"DISABLED_AUTO_NV_FOR_UW"},{"f":"DUAL_CAPTURE_PHOTO"},{"f":"DUAL_CAPTURE_REAR_REAR"},{"f":"DUAL_CAPTURE_VIDEO"},{"f":"DUAL_DEPTH_ALL_SIZES"},{"f":"DUAL_SEG_ALL_SIZES"},{"f":"DYNAMIC_DEPTH_XMP"},{"f":"EDITOR_LAYER"},{"f":"EXTERNAL_MIC"},{"f":"FACE_BEAUTY_VIDEO"},{"f":"FLASH_DEFAULT","value":"0"},{"f":"FULL_FACE_DETECT_HIDDEN"},{"f":"GESTURE_CAPTURE"},{"f":"HEVC_FOR_ALL_RESOLUTIONS"},{"f":"HIGH_ASPECT_TOLERANCE"},{"f":"LIMIT_VIDEO_ZOOM_6X"},{"f":"LONG_EXPOSURE"},{"f":"MACRO_MODE_WITH_WIDE","value":"1.641"},{"f":"MCF_SN_TRIGGER","value":"-1"},{"f":"PHOTO_PREVIEW_EIS"},{"f":"QC_MFNR_BURST","value":"21"},{"f":"QCFA_FOUR_STREAMS"},{"f":"QCFA_SINGLE_SESSION_WITH_MCF"},{"f":"SCAN_AUTO_ZOOM"},{"f":"SCAN_DOCUMENT"},{"f":"SCAN_EDITOR"},{"f":"SCAN_SLIDE"},{"f":"SEC_PHOTO_SIZE_WIDTH","value":"-1"},{"f":"SEGMENTATION_MODE"},{"f":"SELECTIVE_COLOR"},{"f":"SELECTIVE_COLOR_VIDEO"},{"f":"SMART_COMPOSITION"},{"f":"SUPER_NIGHT"},{"f":"SUPER_SLOW_MOTION"},{"f":"VIDEO_FACE_DETECTION","array":[true,true]},{"f":"VIDEO_HDR10"},{"f":"VIDEO_HDR10_WITH_STABILIZATION"},{"f":"VIDEO_SIZE_LIMIT_WIDTH","value":"1920"},{"f":"VIDEO_SNAPSHOT_WITH_ALL_SURFACES"},{"f":"VIDEO_TIMELAPSE"},{"f":"VIDEO_TIMELAPSE_WITH_MACRO"},{"f":"VIDEO_LOW_LIGHT_LUX","value":"5"},{"f":"ZOOM_BLENDING_VIDEO"},{"f":"ZOOM_RATIO_CONTROL"}]} -\ No newline at end of file -+{"d":"dubai","fs":[{"f":"AI_LOW_LIGHT_SELFIE_PREVIEW_ENFORCE"},{"f":"AUTO_SMILE_CAPTURE"},{"f":"BG_SERVICE_PROCESSING"},{"f":"CINEMAGRAPH"},{"f":"DEPTH_ENABLED"},{"f":"DISPLAY_FLASH_DEFAULT","value":"2"},{"f":"DISABLED_AUTO_NV_FOR_UW"},{"f":"DUAL_CAPTURE_PHOTO"},{"f":"DUAL_CAPTURE_REAR_REAR"},{"f":"DUAL_CAPTURE_VIDEO"},{"f":"DUAL_DEPTH_ALL_SIZES"},{"f":"DUAL_SEG_ALL_SIZES"},{"f":"DYNAMIC_DEPTH_XMP"},{"f":"EDITOR_LAYER"},{"f":"EXTERNAL_MIC"},{"f":"FACE_BEAUTY_VIDEO"},{"f":"FLASH_DEFAULT","value":"0"},{"f":"FULL_FACE_DETECT_HIDDEN"},{"f":"GESTURE_CAPTURE"},{"f":"HEVC_FOR_ALL_RESOLUTIONS"},{"f":"HIGH_ASPECT_TOLERANCE"},{"f":"LIMIT_VIDEO_ZOOM_6X"},{"f":"LONG_EXPOSURE"},{"f":"MACRO_MODE_WITH_WIDE","value":"1.641"},{"f":"MCF_SN_TRIGGER","value":"-1"},{"f":"PHOTO_PREVIEW_EIS"},{"f":"QC_MFNR_BURST","value":"21"},{"f":"QCFA_FOUR_STREAMS"},{"f":"QCFA_SINGLE_SESSION_WITH_MCF"},{"f":"SCAN_AUTO_ZOOM"},{"f":"SCAN_DOCUMENT"},{"f":"SCAN_EDITOR"},{"f":"SCAN_SLIDE"},{"f":"SEC_PHOTO_SIZE_WIDTH","value":"-1"},{"f":"SEGMENTATION_MODE"},{"f":"SELECTIVE_COLOR"},{"f":"SELECTIVE_COLOR_VIDEO"},{"f":"SMART_COMPOSITION"},{"f":"SUPER_NIGHT"},{"f":"SUPER_SLOW_MOTION"},{"f":"VIDEO_FACE_DETECTION","array":[true,true]},{"f":"VIDEO_SIZE_LIMIT_WIDTH","value":"1920"},{"f":"VIDEO_SNAPSHOT_WITH_ALL_SURFACES"},{"f":"VIDEO_TIMELAPSE"},{"f":"VIDEO_TIMELAPSE_WITH_MACRO"},{"f":"VIDEO_LOW_LIGHT_LUX","value":"5"},{"f":"ZOOM_BLENDING_VIDEO"},{"f":"ZOOM_RATIO_CONTROL"}]} diff --git a/configs/keylayout/goodix_ts.kl b/configs/keylayout/goodix_ts.kl deleted file mode 100644 index 25c3c5c..0000000 --- a/configs/keylayout/goodix_ts.kl +++ /dev/null @@ -1,9 +0,0 @@ -# -# Goodix Touch sensor fod key event -# -# -# 704 finger touch down -# 705 finger touch up -# goodix_ts "finger present" -key 704 SYSTEM_NAVIGATION_DOWN -key 705 SYSTEM_NAVIGATION_UP diff --git a/configs/thermal-engine-dubai-game-perf.conf b/configs/thermal-engine-dubai-game-perf.conf deleted file mode 100644 index 20a0640..0000000 --- a/configs/thermal-engine-dubai-game-perf.conf +++ /dev/null @@ -1,123 +0,0 @@ -[DETECT-STANDBY] -algo_type virtual -trip_sensor msm_therm -thresholds -18000 -thresholds_clr -20000 -sensors lcd_brightness_value -weights 20 -sampling 1000 -less_than -math 7 - -[OVERRIDE-CHG] -algo_type monitor -sampling 1000 -sensor DETECT-STANDBY -thresholds 1 -thresholds_clr 0 -actions internal_override -action_info 1 - -[FREEZE-CHG] -algo_type monitor -sampling 1000 -descending -sensor DETECT-STANDBY -thresholds 0 -thresholds_clr 1 -actions freeze_rule -action_info 1 - -[FRONT_TEMP] -algo_type virtual -trip_sensor msm_therm -thresholds -18000 -thresholds_clr -20000 -sensors pa_therm1 battery -weights 35 65 -offsets 0 0 -sampling 5000 -math 0 -sys_temp - -[REPORT-FRONT-TEMP] -algo_type monitor -sampling 300000 -sensor FRONT_TEMP -thresholds 42000 -thresholds_clr 40000 -actions report -action_info 1 - -[BACK_TEMP] -algo_type virtual -trip_sensor msm_therm -thresholds -18000 -thresholds_clr -20000 -sensors msm_therm battery -weights 50 50 -offsets -800 -sampling 5000 -math 0 -sys_temp - -[REPORT-BACK-TEMP] -algo_type monitor -sampling 300000 -sensor BACK_TEMP -thresholds 42000 -thresholds_clr 40000 -actions report -action_info 1 - - -[MON-PDPOWER1] -algo_type monitor -sampling 1000 -sensor quiet_therm -thresholds 43000 43500 44000 44500 46000 47500 48500 70000 -thresholds_clr 41000 41500 42000 42500 44000 45500 46500 68000 -actions battery battery battery battery battery battery battery battery -action_info 8 7 6 5 4 3 2 2 -freezing - -[MON-PDPOWER2] -algo_type monitor -sampling 1000 -sensor msm_therm -thresholds 41000 42000 43000 44000 46000 48000 50000 70000 -thresholds_clr 39000 40000 41000 42000 44000 46000 48000 68000 -actions battery battery battery battery battery battery battery battery -action_info 8 6 5 4 3 2 1 1 -override_c 15000 - - - - -[MON-MSM-CPU47] -algo_type monitor -sampling 1000 -sensor BACK_TEMP -thresholds 42000 43000 44000 45000 46000 47000 49000 70000 -thresholds_clr 39000 40000 41000 42000 43000 44000 47000 68000 -actions cpu4+cpu7 cpu4+cpu7 cpu4+cpu7 cpu4+cpu7 cpu4+cpu7 cpu4+cpu7 cpu4+cpu7 cpu4+cpu7 -action_info 21312000+2380800 2054400+2208000 1900800+2035200 1651200+1862400 1516800+1766400 1344000+1516800 1228800+1324800 1228800+1324800 - - -[MON-MSM-CPU0] -algo_type monitor -sampling 1000 -sensor BACK_TEMP -thresholds 43000 44000 45000 46000 47000 70000 -thresholds_clr 41000 42000 43000 44000 45000 68000 -actions cpu0 cpu0 cpu0 cpu0 cpu0 cpu0 -action_info 1651200 1516800 1324800 1152000 940800 940800 - -[MON-PA-FR1] -algo_type monitor -sampling 5000 -sensor BACK_TEMP -thresholds 60000 -thresholds_clr 58000 -actions modem_pa_fr1 -action_info 1 diff --git a/device.mk b/device.mk index 08545e8..d4b5fe3 100644 --- a/device.mk +++ b/device.mk @@ -52,10 +52,6 @@ $(foreach f,$(wildcard $(LOCAL_PATH)/rootdir/etc/init/*.rc),\ $(foreach f,$(wildcard $(LOCAL_PATH)/rootdir/bin/*.sh),\ $(eval PRODUCT_COPY_FILES += $(f):$(TARGET_COPY_OUT_VENDOR)/bin/$(notdir $f))) -# Keylayout -PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/configs/keylayout/goodix_ts.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/goodix_ts.kl - # NFC PRODUCT_PACKAGES += \ android.hardware.nfc@1.2-service.st \ @@ -77,9 +73,5 @@ PRODUCT_COPY_FILES += \ # Soong namespaces PRODUCT_SOONG_NAMESPACES += $(LOCAL_PATH) -# Thermal -PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/configs/thermal-engine-bangkk-game-perf.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-bangkk.conf - # Inherit from vendor blobs $(call inherit-product, vendor/motorola/bangkk/bangkk-vendor.mk) diff --git a/extract-files.py b/extract-files.py index 0692463..9acd834 100755 --- a/extract-files.py +++ b/extract-files.py @@ -20,13 +20,9 @@ from extract_utils.main import ( ) namespace_imports = [ - 'vendor/motorola/sm6375-common', + 'device/motorola/bangkk', 'hardware/motorola', - 'hardware/qcom-caf/sm8350', - 'hardware/qcom-caf/wlan', - 'vendor/qcom/opensource/commonsys-intf/display', - 'vendor/qcom/opensource/commonsys/display', - 'vendor/qcom/opensource/dataservices', + 'vendor/motorola/sm6375-common', 'vendor/qcom/opensource/display', ] @@ -35,11 +31,16 @@ lib_fixups: lib_fixups_user_type = { } blob_fixups: blob_fixups_user_type = { - 'product/priv-app/MotCamera4/MotCamera4.apk': blob_fixup() - .apktool_patch('MotCamera4-patches'), - ('vendor/lib/libmot_chi_desktop_helper.so', 'vendor/lib64/libmot_chi_desktop_helper.so'): blob_fixup() + 'vendor/lib64/libBSTSWAD.so': blob_fixup() + .clear_symbol_version('AHardwareBuffer_allocate') + .clear_symbol_version('AHardwareBuffer_describe') + .clear_symbol_version('AHardwareBuffer_lock') + .clear_symbol_version('AHardwareBuffer_lockPlanes') + .clear_symbol_version('AHardwareBuffer_release') + .clear_symbol_version('AHardwareBuffer_unlock'), + 'vendor/lib64/libmot_chi_desktop_helper.so': blob_fixup() .add_needed('libgui_shim_vendor.so'), - ('vendor/bin/STFlashTool', 'vendor/lib64/sensors.moto.so'): blob_fixup() + 'vendor/lib64/sensors.moto.so': blob_fixup() .add_needed('libbase_shim.so'), } # fmt: skip diff --git a/proprietary-files.txt b/proprietary-files.txt index 4a5b94c..6fb1cf4 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -1,6 +1,4 @@ -## All proprietary files from this list, unless pinned and noted otherwise, -## are from edge 30 (14 U1RDS34.80-40-5-3 b1f71-ff67e). -## RETAIL variant +# All unpinned blobs are extracted from bangkk_g U1TCS34.22-64-19-4-3 # ACDB Data vendor/etc/acdbdata/Bluetooth_cal.acdb @@ -15,32 +13,25 @@ vendor/etc/acdbdata/nn_ns_models/candidate__2.7.1.31__3.0.0__eai_1.10_enpu1.pmd vendor/etc/acdbdata/nn_ns_models/fai__2.0.0_0.1__3.0.0_0.0__eai_1.00.pmd vendor/etc/acdbdata/nn_ns_models/fai__2.2.0_0.1__3.0.0_0.0__eai_1.00.pmd vendor/etc/acdbdata/nn_ns_models/fai__2.6.1_0.0__eai_v1.10.pmd +vendor/etc/acdbdata/nn_ns_models/fai__2.6.3_0.0__3.0.0_0.0__eai_1.10.pmd vendor/etc/acdbdata/nn_ns_models/fai__2.6.3_0.0__3.0.0_0.0__eai_1.10_enpu1.pmd +vendor/etc/acdbdata/nn_ns_models/fai__2.6.3_0.0__3.0.0_0.0__eai_1.36_enpu2.pmd vendor/etc/acdbdata/nn_ns_models/fai__2.7.4_0.0__3.0.0_0.0__eai_1.10_enpu1.pmd vendor/etc/acdbdata/nn_vad_models/fai_3.0.0_0.0_eai_1.00.pmd # Audio firmware -vendor/firmware/aw882xx_pid_1852_acf.bin -vendor/firmware/aw882xx_pid_2113_acf.bin -vendor/firmware/aw882xx_spk_reg.bin -vendor/firmware/aw_skt.bin +vendor/firmware/aw87xxx_acf.bin # Audio libraries vendor/lib/libacdbloader.so -vendor/lib64/libacdbloader.so # Camera -vendor/lib/libcamxexternalformatutils.so vendor/lib64/camera/fdconfigpreview.bin vendor/lib64/camera/fdconfigpreviewlite.bin vendor/lib64/camera/fdconfigvideo.bin vendor/lib64/camera/fdconfigvideolite.bin vendor/lib64/com.qti.chiusecaseselector.so -vendor/lib64/com.qti.settings.kamorta.so -vendor/lib64/com.qti.settings.kodiak.so vendor/lib64/com.qti.settings.mannar.so -vendor/lib64/com.qti.settings.sdm865.so -vendor/lib64/com.qti.settings.sm8350.so vendor/lib64/com.qti.stats.common.so vendor/lib64/com.qualcomm.mcx.distortionmapper.so vendor/lib64/com.qualcomm.mcx.linearmapper.so @@ -48,21 +39,13 @@ vendor/lib64/com.qualcomm.mcx.policy.mfl.so vendor/lib64/com.qualcomm.qti.mcx.usecase.extension.so vendor/lib64/hw/camera.qcom.so vendor/lib64/hw/com.qti.chi.override.so -vendor/lib64/libFace3DTA.so -vendor/lib64/libFace3D_hlos.so -vendor/lib64/libQ6MSFR_manager_stub.so -vendor/lib64/libaidenoiser.so -vendor/lib64/libaidenoiserv2.so +vendor/lib64/libBSTSWAD.so vendor/lib64/libarcsoft_chi_utils.so -vendor/lib64/libarcsoft_distortion_correction.so -vendor/lib64/libarcsoft_dual_sat.so -vendor/lib64/libarcsoft_dual_zoomtranslator.so vendor/lib64/libarcsoft_hdr_detection.so vendor/lib64/libarcsoft_high_dynamic_range.so -vendor/lib64/libarcsoft_portrait_distortion_correction.so -vendor/lib64/libarcsoft_portrait_super_night_raw.so +vendor/lib64/libarcsoft_high_dynamic_range_v2.so +vendor/lib64/libarcsoft_low_light_shot.so vendor/lib64/libarcsoft_portrait_super_night_se_raw.so -vendor/lib64/libarcsoft_qnnhtp.so vendor/lib64/libarcsoft_super_night_raw.so vendor/lib64/libarcsoft_super_night_se_raw.so vendor/lib64/libbitmlengine.so @@ -74,7 +57,6 @@ vendor/lib64/libcamxexternalformatutils.so vendor/lib64/libcamxfacialfeatures.so vendor/lib64/libcamxfdalgo.so vendor/lib64/libcamxfdengine.so -vendor/lib64/libcamxifestriping.so vendor/lib64/libcamximageformatutils.so vendor/lib64/libcamxqsatalgo.so vendor/lib64/libcamxstatscore.so @@ -83,13 +65,8 @@ vendor/lib64/libcamxswprocessalgo.so vendor/lib64/libcamxtintlessalgo.so vendor/lib64/libchilog.so vendor/lib64/libcom.qti.chinodeutils.so -vendor/lib64/libdualcam_optical_zoom_control.so -vendor/lib64/libdualcam_video_optical_zoom.so -vendor/lib64/libface3d_dev.so -vendor/lib64/libipebpsstriping.so -vendor/lib64/libipebpsstriping170.so vendor/lib64/libjpege.so -vendor/lib64/libmfec.so +vendor/lib64/libmctfengine_stub.so vendor/lib64/libmmcamera_bestats.so vendor/lib64/libmmcamera_cac3.so vendor/lib64/libmmcamera_faceproc.so @@ -101,35 +78,25 @@ vendor/lib64/libmmcamera_pdpc.so vendor/lib64/libmot_afd.so vendor/lib64/libmot_chi_desktop_helper.so vendor/lib64/libmot_engine_settings.so -vendor/lib64/libmotoisdataqueue.so vendor/lib64/libmpbase.so vendor/lib64/libofflinedump.so vendor/lib64/libofflinelog.so vendor/lib64/libopencv.so vendor/lib64/libopestriping.so -vendor/lib64/libos.so -vendor/lib64/libqll10.so -vendor/lib64/libqllengine.so +vendor/lib64/libpowercore.so vendor/lib64/libremosaic_wrapper.so vendor/lib64/libswregistrationalgo.so -vendor/lib64/libsynx.so vendor/lib64/libtfestriping.so -vendor/lib64/libthreadutils.so +vendor/lib64/libundistort_impl.so vendor/lib64/libvidhance.so -vendor/lib64/libvidhance_active_ois.so -vendor/lib64/libvidhance_dmbr.so -vendor/lib64/libvidhance_face_stabilizer.so -vendor/lib64/libvidhance_fbc.so -vendor/lib64/libvidhance_horizon_correction.so -vendor/lib64/libvidhance_stabilizer.so -vendor/lib64/libvidhance_zoom_stabilization.so vendor/lib64/vendor.qti.hardware.camera.postproc@1.0-service-impl.so # Camera - Components -vendor/lib64/camera/components/com.arcsoft.node.smooth_transition.so +vendor/lib64/camera/components/com.arcsoft.node.mfnr.so vendor/lib64/camera/components/com.arcsoft.node.supernightraw.so vendor/lib64/camera/components/com.mot.node.c2d.so vendor/lib64/camera/components/com.mot.node.dc_capture.so +vendor/lib64/camera/components/com.mot.node.dc_preview.so vendor/lib64/camera/components/com.mot.node.hdr.so vendor/lib64/camera/components/com.mot.node.scene_detect.so vendor/lib64/camera/components/com.qti.camx.chiiqutils.so @@ -154,8 +121,6 @@ vendor/lib64/camera/components/com.qti.node.stich.so vendor/lib64/camera/components/com.qti.node.swaidenoiser.so vendor/lib64/camera/components/com.qti.node.swbestats.so vendor/lib64/camera/components/com.qti.node.swcac.so -vendor/lib64/camera/components/com.qti.node.swec.so -vendor/lib64/camera/components/com.qti.node.swfusion.so vendor/lib64/camera/components/com.qti.node.swlsc.so vendor/lib64/camera/components/com.qti.node.swmctf.so vendor/lib64/camera/components/com.qti.node.swmfnr.so @@ -177,98 +142,91 @@ vendor/lib64/camera/components/com.qti.stats.hafoverride.so vendor/lib64/camera/components/com.qti.stats.pdlib.so vendor/lib64/camera/components/com.qti.stats.pdlibsony.so vendor/lib64/camera/components/com.qti.stats.pdlibwrapper.so -vendor/lib64/camera/components/com.qti.stats.tracker.so vendor/lib64/camera/components/com.qtistatic.stats.aec.so 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.vidhance.node.ica.so vendor/lib64/camera/components/com.vidhance.node.processing.so -vendor/lib64/camera/components/com.vidhance.stats.aec_dmbr.so vendor/lib64/camera/components/libdepthmapwrapper_secure.so # Camera - eeprom -vendor/lib64/camera/com.mot.eeprom.mot_dubai_gc02m1b_otp.so -vendor/lib64/camera/com.mot.eeprom.mot_gt24p128e_ov50a_eeprom.so -vendor/lib64/camera/com.mot.eeprom.mot_gt24p128e_s5kjn1_eeprom.so -vendor/lib64/camera/com.mot.eeprom.mot_gt24p64e_ov32b40_eeprom.so +vendor/lib64/camera/com.mot.eeprom.mot_bangkk_s5k4h7_otp.so +vendor/lib64/camera/com.mot.eeprom.mot_gt24p128f_s5kgn9_eeprom.so +vendor/lib64/camera/com.mot.eeprom.mot_gt24p64b_ov16a1q_eeprom.so # Camera - etc -vendor/etc/camera/aec_golden_depth.bin +vendor/etc/camera/SwadAIMod.bin +vendor/etc/camera/SwadCalib.bin +vendor/etc/camera/SwadParamList.txt vendor/etc/camera/aec_golden_wide.bin -vendor/etc/camera/arcsoft_calibration_u_dc.bin -vendor/etc/camera/dual_golden_depth.bin +vendor/etc/camera/anc_detect_model +vendor/etc/camera/anc_track_model vendor/etc/camera/dual_golden_wide.bin vendor/etc/camera/mot_engine_config.bin +vendor/etc/camera/vidhance.lic vendor/etc/camera/vidhance_calibration # Camera - feature2 vendor/lib64/com.qti.feature2.anchorsync.so vendor/lib64/com.qti.feature2.arcrawpro.so vendor/lib64/com.qti.feature2.demux.so -vendor/lib64/com.qti.feature2.derivedoffline.so vendor/lib64/com.qti.feature2.frameselect.so vendor/lib64/com.qti.feature2.fusion.so vendor/lib64/com.qti.feature2.generic.so -vendor/lib64/com.qti.feature2.gs.cedros.so -vendor/lib64/com.qti.feature2.gs.kamorta.so -vendor/lib64/com.qti.feature2.gs.kodiak.so vendor/lib64/com.qti.feature2.gs.mannar.so -vendor/lib64/com.qti.feature2.gs.sdm865.so -vendor/lib64/com.qti.feature2.gs.sm8350.so vendor/lib64/com.qti.feature2.hdr.so vendor/lib64/com.qti.feature2.mcreprocrt.so vendor/lib64/com.qti.feature2.memcpy.so vendor/lib64/com.qti.feature2.mfsr.so -vendor/lib64/com.qti.feature2.ml.so vendor/lib64/com.qti.feature2.mux.so -vendor/lib64/com.qti.feature2.qcfa.so vendor/lib64/com.qti.feature2.rawhdr.so vendor/lib64/com.qti.feature2.realtimeserializer.so vendor/lib64/com.qti.feature2.rt.so vendor/lib64/com.qti.feature2.rtmcx.so vendor/lib64/com.qti.feature2.serializer.so -vendor/lib64/com.qti.feature2.statsregeneration.so -vendor/lib64/com.qti.feature2.stub.so vendor/lib64/com.qti.feature2.swmf.so -# Camera - ICP -vendor/firmware/CAMERA_ICP_170.elf +# Camera - flash +vendor/lib64/camera/com.qti.flash.aw36514.so +vendor/lib64/camera/com.qti.flash.ocp81373.so # Camera - Motorola -product/etc/permissions/com.motorola.camera3.dubai.xml:vendor/etc/permissions/com.motorola.camera3.dubai.xml vendor/bin/hw/motorola.hardware.camera.desktop@2.0-service vendor/etc/init/motorola.hardware.camera.desktop@2.0-service.rc -vendor/etc/init/motorola.hardware.camera.imgtuner@1.0-service.rc vendor/lib64/motorola.hardware.camera.desktop@1.0.so vendor/lib64/motorola.hardware.camera.desktop@2.0.so # Camera - OIS -vendor/firmware/mot_dw9781c.prog +vendor/firmware/mot_aw86006.prog # Camera - sensor -vendor/lib64/camera/com.qti.sensor.mot_gc02m1b.so -vendor/lib64/camera/com.qti.sensor.mot_ov32b40.so -vendor/lib64/camera/com.qti.sensor.mot_ov50a.so -vendor/lib64/camera/com.qti.sensor.mot_s5kjn1.so -vendor/lib64/camera/com.qti.sensormodule.mot_dubai_gc02m1b_tsp.bin -vendor/lib64/camera/com.qti.sensormodule.mot_dubai_ov32b40_ofilm.bin -vendor/lib64/camera/com.qti.sensormodule.mot_dubai_ov50a_sunny.bin -vendor/lib64/camera/com.qti.sensormodule.mot_dubai_s5kjn1_qtech.bin +vendor/lib64/camera/com.qti.sensor.mot_ov16a1q.so +vendor/lib64/camera/com.qti.sensor.mot_s5k4h7.so +vendor/lib64/camera/com.qti.sensor.mot_s5kgn9.so +vendor/lib64/camera/com.qti.sensormodule.mot_bangkk_ov16a1q_ofilm.bin +vendor/lib64/camera/com.qti.sensormodule.mot_bangkk_s5k4h7_qtech.bin +vendor/lib64/camera/com.qti.sensormodule.mot_bangkk_s5kgn9_ak7377.bin +vendor/lib64/camera/com.qti.sensormodule.mot_bangkk_s5kgn9_ofilm.bin # Camera - tuned vendor/lib64/camera/com.qti.tuned.default.bin -vendor/lib64/camera/com.qti.tuned.mot_dubai_gc02m1b.bin -vendor/lib64/camera/com.qti.tuned.mot_dubai_ov32b40.bin -vendor/lib64/camera/com.qti.tuned.mot_dubai_ov50a.bin -vendor/lib64/camera/com.qti.tuned.mot_dubai_s5kjn1.bin +vendor/lib64/camera/com.qti.tuned.mot_bangkk_ov16a1q.bin +vendor/lib64/camera/com.qti.tuned.mot_bangkk_ov16a1q_india.bin +vendor/lib64/camera/com.qti.tuned.mot_bangkk_s5k4h7af.bin +vendor/lib64/camera/com.qti.tuned.mot_bangkk_s5k4h7af_india.bin +vendor/lib64/camera/com.qti.tuned.mot_bangkk_s5kgn9.bin +vendor/lib64/camera/com.qti.tuned.mot_bangkk_s5kgn9_ak7377.bin +vendor/lib64/camera/com.qti.tuned.mot_bangkk_s5kgn9_ak7377_india.bin +vendor/lib64/camera/com.qti.tuned.mot_bangkk_s5kgn9_india.bin + +# Capsense +vendor/bin/capsense_reset # Display calibration data -vendor/etc/qdcm_calib_data_mipi_mot_cmd_csot_1080p_dsc_655.xml -vendor/etc/qdcm_calib_data_mipi_mot_cmd_tm_1080p_dsc_655.xml -vendor/etc/qdcm_calib_data_nt36672e_60_Hz_fhd_plus_video_mode_panel_without_DSC.xml -vendor/etc/qdcm_calib_data_nt36672e_fhd_plus_120Hz_Video_panel.xml -vendor/etc/qdcm_calib_data_nt36672e_fhd_plus_144Hz_video_panel.xml +vendor/etc/qdcm_calib_data_mipi_moto_vid_csot_1080p_dsc_655.xml +vendor/etc/qdcm_calib_data_mipi_moto_vid_tm_1080p_dsc_655.xml +vendor/etc/qdcm_calib_data_mipi_moto_vid_tm_u8_1080p_dsc_655.xml # Fingerprint vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service-ets @@ -276,7 +234,8 @@ vendor/etc/init/android.hardware.biometrics.fingerprint@2.1-service-ets.rc vendor/lib64/libRbsFlow.so vendor/lib64/libets_teeclient_v3.so vendor/lib64/vendor.egistec.hardware.fingerprint@4.0.so -vendor/lib64/vendor.qti.hardware.fingerprint@1.0.so +vendor/usr/keylayout/fts_ts.kl +vendor/usr/keylayout/goodix_ts.kl # HotwordEnrollment product/priv-app/HotwordEnrollmentOKGoogleHEXAGON_WIDEBAND/HotwordEnrollmentOKGoogleHEXAGON_WIDEBAND.apk @@ -284,61 +243,30 @@ product/priv-app/HotwordEnrollmentXGoogleHEXAGON_WIDEBAND/HotwordEnrollmentXGoog system_ext/etc/permissions/com.android.hotwordenrollment.common.util.xml system_ext/framework/com.android.hotwordenrollment.common.util.jar -# MotCamera4 -product/app/MotCamera3AI/MotCamera3AI.apk;PRESIGNED -product/etc/permissions/com.motorola.camera3.xml -product/etc/permissions/deviceowner-configuration-com.motorola.camera3.xml -product/etc/permissions/privapp-permissions-com.motorola.camera3.xml -product/etc/sysconfig/hiddenapi-whitelist-com.motorola.camera3.xml -product/priv-app/MotCamera4/MotCamera4.apk -system/app/MotoSignatureApp/MotoSignatureApp.apk;PRESIGNED -system/etc/permissions/com.motorola.motosignature.xml -system/etc/permissions/moto-core_services.xml -system/etc/permissions/moto-settings.xml -system/framework/com.motorola.motosignature.jar -system/framework/moto-core_services.jar -system/framework/moto-settings.jar -system_ext/bin/motsettings -system_ext/priv-app/MotorolaSettingsProvider/MotorolaSettingsProvider.apk - -# Moto Permissions -product/etc/permissions/com.motorola.camera3.content.ai.xml:vendor/etc/permissions/com.motorola.camera3.content.ai.xml -product/etc/permissions/com.motorola.camera3.dubai.xml:vendor/etc/permissions/com.motorola.camera3.dubai.xml -product/etc/permissions/com.motorola.camera3.lens.xml:vendor/etc/permissions/com.motorola.camera3.lens.xml -product/etc/permissions/com.motorola.camera3.xml:vendor/etc/permissions/com.motorola.camera3.xml -product/etc/permissions/com.motorola.moto-uirefresh.xml - # NFC -vendor/bin/STFlashTool +vendor/etc/init/init.nfc.sec.rc # NFC - configs -vendor/etc/libnfc-hal-st.conf -vendor/etc/libnfc-nci-st.conf -vendor/etc/st21nfc_conf_ds.txt -vendor/etc/st21nfc_conf_ss.txt +vendor/etc/libnfc-sec-nci.conf +vendor/etc/libnfc-sec-vendor.conf # NFC firmware -vendor/firmware/st21nfc_fw.bin -vendor/firmware/st21nfc_fw7.bin +vendor/etc/sec_s3nrn4v_hwreg.bin +vendor/etc/sec_s3nrn4v_swreg.bin +vendor/firmware/sec_s3nrn4v_firmware.bin # OEM vendor/etc/vhw.xml +# SAR firmware +vendor/firmware/aw963xx_reg_0.bin + # Sensors vendor/lib64/sensors.moto.so vendor/lib64/sensors.ssc.so # Sensor - configs -vendor/etc/sensors/config/icm4x6xx.json -vendor/etc/sensors/config/kodiak_default_sensors.json -vendor/etc/sensors/config/kodiak_dynamic_sensors.json -vendor/etc/sensors/config/kodiak_irq.json -vendor/etc/sensors/config/kodiak_power_0.json -vendor/etc/sensors/config/lsm6dso_0.json -vendor/etc/sensors/config/mmc5603x_0.json vendor/etc/sensors/config/mot_camgest.json -vendor/etc/sensors/config/mot_devorient.json -vendor/etc/sensors/config/mxg4300_0.json vendor/etc/sensors/config/sns_amd.json vendor/etc/sensors/config/sns_amd_sw_disabled.json vendor/etc/sensors/config/sns_amd_sw_enabled.json @@ -374,21 +302,24 @@ vendor/etc/sensors/config/sns_tilt_sw_disabled.json vendor/etc/sensors/config/sns_tilt_sw_enabled.json vendor/etc/sensors/config/sns_tilt_to_wake.json vendor/etc/sensors/config/sns_wrist_pedo.json -vendor/etc/sensors/config/stk3a5x_0.json +vendor/etc/sensors/config/strait_default_sensors.json +vendor/etc/sensors/config/strait_dynamic_sensors.json +vendor/etc/sensors/config/strait_lsm6dso_0.json +vendor/etc/sensors/config/strait_mmc56x3x_0.json +vendor/etc/sensors/config/strait_mn78xxx_0.json +vendor/etc/sensors/config/strait_power_0.json +vendor/etc/sensors/config/strait_qmc6308_0.json vendor/etc/sensors/sns_reg_config # Thermal engine - configs +vendor/etc/thermal-engine-bangkk-camera.conf +vendor/etc/thermal-engine-bangkk-game-normal.conf +vendor/etc/thermal-engine-bangkk-game-perf.conf +vendor/etc/thermal-engine-bangkk.conf vendor/etc/thermal-engine.conf # Touchscreen firmware -vendor/firmware/csot_goodix_cfg_group.bin -vendor/firmware/csot_goodix_test_limits_255.csv -vendor/firmware/goodix-csot-gt9916S-2202250f-62187be9-dubai.bin -vendor/firmware/goodix-tianma-gt9916S-2202250f-62187c3e-dubai.bin -vendor/firmware/tianma_goodix_cfg_group.bin -vendor/firmware/tianma_goodix_test_limits_255.csv - -# Vibration firmware -vendor/firmware/aw8622x_haptic.bin -vendor/firmware/aw8622x_osc_rtp_12K_10s.bin -vendor/firmware/aw8622x_rtp.bin +vendor/firmware/csot_focal_test_limits.ini +vendor/firmware/focaltech-csot-ft3681-26-0000-bangkk.bin +vendor/firmware/goodix-tm-gt9916S-23062705-649a9b6c-bangkk.bin +vendor/firmware/tm_goodix_cfg_group.bin diff --git a/proprietary-firmware.txt b/proprietary-firmware.txt index ad15c72..9992b1f 100644 --- a/proprietary-firmware.txt +++ b/proprietary-firmware.txt @@ -1,9 +1,7 @@ # All firmware images below are extracted from the release mentioned in proprietary-files.txt abl.elf:abl.img;AB -aop.mbn:aop.img;AB BTFM.bin:bluetooth.img;AB -cpucp.elf:cpucp.img;AB devcfg.mbn:devcfg.img;AB dspso.bin:dsp.img;AB fsg.mbn:fsg.img;AB @@ -13,7 +11,7 @@ logo.bin:logo.img;AB NON-HLOS.bin:modem.img;AB prov64.mbn:prov.img;AB qupfw.elf:qupfw.img;AB -shrm.elf:shrm.img;AB +rpm.mbn:rpm.img;AB storsec.mbn:storsec.img;AB tz.mbn:tz.img;AB uefi_sec.mbn:uefisecapp.img;AB diff --git a/rootdir/etc/init/hw/init.vendor.st21nfc.rc b/rootdir/etc/init/hw/init.vendor.st21nfc.rc deleted file mode 100644 index 354b95e..0000000 --- a/rootdir/etc/init/hw/init.vendor.st21nfc.rc +++ /dev/null @@ -1,23 +0,0 @@ - -# This file needs to be executed by vendor_init at boot of the device, -# both in normal and factory mode. - -on post-fs - # Change ownership and permision of st nfc device - chown nfc nfc /dev/st21nfc - chmod 0660 /dev/st21nfc - -on property:ro.vendor.hw.nfc=true && property:persist.vendor.radio.multisim.config=* - start vendor.stflashtool - -on property:ro.vendor.hw.nfc=st && property:persist.vendor.radio.multisim.config=* - start vendor.stflashtool - -on property:ro.vendor.hw.nfc=ese_st && property:persist.vendor.radio.multisim.config=* - start vendor.stflashtool - -service vendor.stflashtool /vendor/bin/STFlashTool -c /vendor/etc/st21nfc_conf.txt -P vendor.nfc.fw_status - group nfc - user nfc - oneshot - disabled