diff --git a/configs/idc/uinput-egis.idc b/configs/idc/uinput-egis.idc deleted file mode 100644 index edebe3d..0000000 --- a/configs/idc/uinput-egis.idc +++ /dev/null @@ -1,9 +0,0 @@ -# -# Egis Touch sensor driver -# -# - -device.internal = 1 -keyboard.layout = uinput-egis -keyboard.builtIn = 1 -keyboard.orientationAware = 1 diff --git a/configs/idc/uinput-fpc.idc b/configs/idc/uinput-fpc.idc deleted file mode 100644 index b63eb7e..0000000 --- a/configs/idc/uinput-fpc.idc +++ /dev/null @@ -1,9 +0,0 @@ -# -# FPC1020 Touch sensor driver -# - -device.internal = 1 - -keyboard.layout = uinput-fpc -keyboard.builtIn = 1 -keyboard.orientationAware = 1 diff --git a/configs/idc/uinput_nav.idc b/configs/idc/uinput_nav.idc deleted file mode 100644 index 9f16d76..0000000 --- a/configs/idc/uinput_nav.idc +++ /dev/null @@ -1,8 +0,0 @@ -# -# GF3626_Z9 gesture sensor driver -# -device.internal = 1 - -keyboard.layout = uinput_nav -keyboard.builtIn = 1 -keyboard.orientationAware = 1 diff --git a/configs/keylayout/uinput-egis.kl b/configs/keylayout/uinput-egis.kl deleted file mode 100644 index 51beab5..0000000 --- a/configs/keylayout/uinput-egis.kl +++ /dev/null @@ -1,9 +0,0 @@ -# -# ETS320 Touch sensor driver -# - - -# ets320 "finger present" -key 618 SYSTEM_NAVIGATION_UP -key 619 SYSTEM_NAVIGATION_DOWN -key 622 SYSTEM_NAVIGATION_LEFT diff --git a/configs/keylayout/uinput-fpc.kl b/configs/keylayout/uinput-fpc.kl deleted file mode 100644 index b759909..0000000 --- a/configs/keylayout/uinput-fpc.kl +++ /dev/null @@ -1,9 +0,0 @@ -# -# FPC1020 Touch sensor driver -# -# - -# fpc1020 "finger present" -key 618 SYSTEM_NAVIGATION_UP -key 619 SYSTEM_NAVIGATION_DOWN -key 622 SYSTEM_NAVIGATION_LEFT diff --git a/configs/keylayout/uinput_nav.kl b/configs/keylayout/uinput_nav.kl deleted file mode 100644 index 2995801..0000000 --- a/configs/keylayout/uinput_nav.kl +++ /dev/null @@ -1,8 +0,0 @@ -# -# GF3626_Z9 gesture sensor driver -# - -key 618 SYSTEM_NAVIGATION_UP -key 619 SYSTEM_NAVIGATION_DOWN -# double tap -key 622 SYSTEM_NAVIGATION_LEFT diff --git a/configs/thermal-engine-xpeng-game-perf.conf b/configs/thermal-engine-xpeng-game-perf.conf deleted file mode 100644 index 1f73652..0000000 --- a/configs/thermal-engine-xpeng-game-perf.conf +++ /dev/null @@ -1,185 +0,0 @@ -[FRONT_TEMP] -algo_type virtual -trip_sensor skin-msm-therm-usr -thresholds -18000 -thresholds_clr -20000 -sensors camera-therm-usr pmb8350b_therm quiet_therm usb_therm -weights 3 39 5 53 -offsets -1000 0 0 0 -sampling 1000 -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 skin-msm-therm-usr -thresholds -18000 -thresholds_clr -20000 -sensors camera-therm-usr quiet_therm usb_therm -weights 42 37 21 -offsets 0 0 0 -sampling 1000 -math 0 -sys_temp - -[BACK_PATEMP1] -algo_type virtual -trip_sensor modem-mmw-pa1-usr -thresholds 53000 -thresholds_clr 40000 -sensors camera-therm-usr quiet_therm usb_therm -weights 42 37 21 -offsets 0 0 0 -sampling 1000 -math 0 - -[BACK_PATEMP2] -algo_type virtual -trip_sensor modem-mmw-pa2-usr -thresholds 53000 -thresholds_clr 40000 -sensors camera-therm-usr quiet_therm usb_therm -weights 42 37 21 -offsets 0 0 0 -sampling 1000 -math 0 - -[REPORT-BACK-TEMP] -algo_type monitor -sampling 300000 -sensor BACK_TEMP -thresholds 42000 -thresholds_clr 40000 -actions report -action_info 1 - -[DETECT-STANDBY] -algo_type virtual -trip_sensor skin-msm-therm-usr -thresholds -18000 -thersholds_clr -20000 -sensors cpu_utilization lcd_brightness_value -weights 16 50 -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 - -[MON-MSM-STB] -algo_type monitor -sampling 1000 -sensor skin-msm-therm-usr -thresholds 38000 42000 49000 -thresholds_clr 35000 38000 42000 -actions battery battery battery -action_info 6 5 4 -freezing - -[MON-MSM-COMB1] -algo_type monitor -sampling 1000 -sensor BACK_TEMP -thresholds 35000 37000 38000 41000 43000 -thresholds_clr 32000 35000 37000 38000 41000 -actions battery battery battery battery battery -action_info 5 4 3 2 1 -override_c 10000 - -[MON-MSM-CPU0] -algo_type monitor -sampling 1000 -sensor BACK_TEMP -thresholds 43500 46000 49000 -thresholds_clr 42000 43500 46000 -actions cpu0 cpu0 cpu0 -action_info 1708800 1497600 1305600 - -[MON-MSM-CPU4] -algo_type monitor -sampling 1000 -sensor BACK_TEMP -thresholds 44000 45000 46000 48000 53000 -thresholds_clr 42000 44000 45000 47000 50000 -actions cpu4 cpu4 cpu4 cpu4 cpu4 -action_info 2227200 1996800 1881600 1766400 1440000 - -[MON-MSM-CPU7] -algo_type monitor -sampling 1000 -sensor BACK_TEMP -thresholds 40000 41000 42000 43000 44000 -thresholds_clr 38000 40000 41000 42000 43000 -actions cpu7 cpu7 cpu7 cpu7 cpu7 -action_info 2150400 1785600 1555200 1305600 1075200 - -[MON-MSM-GPU] -algo_type monitor -sampling 1000 -sensor BACK_TEMP -thresholds 42000 44000 47000 52000 -thresholds_clr 40000 42000 44000 48000 -actions gpu gpu gpu gpu -action_info 676000000 608000000 540000000 491000000 - -[MON-MODEM1] -algo_type monitor -sampling 5000 -sensor BACK_TEMP -thresholds 44500 -thresholds_clr 42000 -actions modem_skin -action_info 1 - -[MON-MODEM2] -algo_type monitor -sampling 5000 -sensor BACK_PATEMP1 -thresholds 49000 -thresholds_clr 47000 -actions modem_skin -action_info 2 - -[MON-MODEM3] -algo_type monitor -sampling 5000 -sensor BACK_PATEMP2 -thresholds 49000 -thresholds_clr 47000 -actions modem_skin -action_info 2 - -[MON-PA-FR1] -algo_type monitor -sampling 5000 -sensor BACK_TEMP -thresholds 46000 -thresholds_clr 44000 -actions modem_pa_fr1 -action_info 1 diff --git a/device.mk b/device.mk index 9fa898a..5050d79 100644 --- a/device.mk +++ b/device.mk @@ -39,12 +39,6 @@ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/audio/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \ $(LOCAL_PATH)/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml -# Fingerprint -$(foreach f,$(wildcard $(LOCAL_PATH)/configs/idc/*.idc),\ - $(eval PRODUCT_COPY_FILES += $(f):$(TARGET_COPY_OUT_VENDOR)/usr/idc/$(notdir $f))) -$(foreach f,$(wildcard $(LOCAL_PATH)/configs/keylayout/*.kl),\ - $(eval PRODUCT_COPY_FILES += $(f):$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/$(notdir $f))) - # Init $(foreach f,$(wildcard $(LOCAL_PATH)/rootdir/etc/init/hw/*.rc),\ $(eval PRODUCT_COPY_FILES += $(f):$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/$(notdir $f))) @@ -53,11 +47,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))) -# Init (recovery) -PRODUCT_PACKAGES += \ - init.recovery.fogos.rc \ - load_touch.sh.recovery - # NFC PRODUCT_PACKAGES += \ android.hardware.nfc@1.2-service.st \ @@ -80,9 +69,5 @@ PRODUCT_COPY_FILES += \ PRODUCT_SOONG_NAMESPACES += \ $(LOCAL_PATH) -# Thermal -PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/configs/thermal-engine-fogos-game-perf.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-fogos.conf - # Inherit from vendor blobs $(call inherit-product, vendor/motorola/fogos/fogos-vendor.mk) diff --git a/extract-files.py b/extract-files.py index d3b7603..91a84b1 100755 --- a/extract-files.py +++ b/extract-files.py @@ -6,12 +6,10 @@ from extract_utils.extract import extract_fns_user_type from extract_utils.extract_star import extract_star_firmware - from extract_utils.fixups_blob import ( blob_fixup, blob_fixups_user_type, ) - from extract_utils.fixups_lib import ( lib_fixups, lib_fixups_user_type, @@ -22,31 +20,19 @@ from extract_utils.main import ( ) namespace_imports = [ - 'vendor/motorola/sm6375-common', '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', ] - -def lib_fixup_vendor_suffix(lib: str, partition: str, *args, **kwargs): - return f'{lib}_{partition}' if partition == 'vendor' else None - - lib_fixups: lib_fixups_user_type = { **lib_fixups, - ( - 'motorola.hardware.camera.desktop@1.0', - 'motorola.hardware.camera.desktop@2.0', - ): lib_fixup_vendor_suffix, } blob_fixups: blob_fixups_user_type = { - ('vendor/bin/STFlashTool', 'vendor/lib64/sensors.moto.so'): blob_fixup() + 'vendor/lib64/libmot_chi_desktop_helper.so': blob_fixup() + .add_needed('libgui_shim_vendor.so'), + '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 d911556..5088af1 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -1,4 +1,4 @@ -# All unpinned blobs below are extracted from xpeng_g-user 12 S1RXS32.50-13-25 5fb68-c44485 release-keys - RETEU variant. +# All unpinned blobs are extracted from fogos_g U1UGS34.23-110-23-4 # ACDB Data vendor/etc/acdbdata/Bluetooth_cal.acdb @@ -13,33 +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_afe_params.bin -vendor/firmware/aw882xx_mono.bin -vendor/firmware/aw882xx_pid_1852_acf.bin -vendor/firmware/aw882xx_pid_2113_acf.bin -vendor/firmware/aw882xx_spk_reg.bin +vendor/firmware/fs1815.fsm # 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 @@ -47,17 +39,16 @@ 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/libBST3DDNS.so +vendor/lib64/libBSTHDRDETECT.so +vendor/lib64/libBSTMultiExpoGainHDR.so +vendor/lib64/libBSTNodeUtils.so vendor/lib64/libaidenoiser.so vendor/lib64/libaidenoiserv2.so -vendor/lib64/libarcsoft_distortion_correction.so -vendor/lib64/libarcsoft_dual_sat.so -vendor/lib64/libarcsoft_dual_zoomtranslator.so -vendor/lib64/libarcsoft_dualcam_refocus_image.so -vendor/lib64/libarcsoft_dualcam_refocus_video.so -vendor/lib64/libarcsoft_portrait_distortion_correction.so +vendor/lib64/libarcsoft_chi_utils.so +vendor/lib64/libarcsoft_portrait_super_night_se_raw.so +vendor/lib64/libarcsoft_super_night_raw.so +vendor/lib64/libarcsoft_super_night_se_raw.so vendor/lib64/libbitmlengine.so vendor/lib64/libbitmlenginev2.so vendor/lib64/libc2d_helper.so @@ -76,13 +67,12 @@ 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/libfcell.so +vendor/lib64/libhdr_impl.so vendor/lib64/libipebpsstriping.so vendor/lib64/libipebpsstriping170.so vendor/lib64/libjpege.so +vendor/lib64/liblowlight_ai_portrait.arcsoft.so +vendor/lib64/libmctfengine_stub.so vendor/lib64/libmfec.so vendor/lib64/libmmcamera_bestats.so vendor/lib64/libmmcamera_cac3.so @@ -101,29 +91,24 @@ vendor/lib64/libofflinelog.so vendor/lib64/libopencv.so vendor/lib64/libopestriping.so vendor/lib64/libos.so +vendor/lib64/libportrait_repair_ppl3_ocl.so +vendor/lib64/libpowercore.so vendor/lib64/libqll10.so vendor/lib64/libqllengine.so +vendor/lib64/libremosaic_wrapper.so vendor/lib64/libswregistrationalgo.so vendor/lib64/libsynx.so vendor/lib64/libtfestriping.so vendor/lib64/libthreadutils.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.capturebokeh.so -vendor/lib64/camera/components/com.arcsoft.node.realtimebokeh.so -vendor/lib64/camera/components/com.arcsoft.node.smooth_transition.so +vendor/lib64/camera/components/com.arcsoft.node.supernightraw.so +vendor/lib64/camera/components/com.bst.node.hdrdetect.so +vendor/lib64/camera/components/com.bst.node.mfnr.so +vendor/lib64/camera/components/com.bst.node.yuvhdr.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.qti.camx.chiiqutils.so vendor/lib64/camera/components/com.qti.eisv2.so vendor/lib64/camera/components/com.qti.eisv3.so @@ -146,8 +131,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 @@ -169,213 +152,180 @@ 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_gt24p64b_hi1336_eeprom.so +vendor/lib64/camera/com.mot.eeprom.mot_gt24p256c_s5kjns_eeprom.so vendor/lib64/camera/com.mot.eeprom.mot_gt24p64b_ov16a1q_eeprom.so -vendor/lib64/camera/com.mot.eeprom.mot_gt24p64e_s5khm2_eeprom.so -vendor/lib64/camera/com.mot.eeprom.mot_ov02b1b_otp.so +vendor/lib64/camera/com.mot.eeprom.mot_gt24p64b_s5k3p9_eeprom.so +vendor/lib64/camera/com.mot.eeprom.mot_sc202acs_otp.so # Camera - etc -vendor/etc/camera/aec_golden_depth.bin -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/dual_golden_wide.bin +vendor/etc/bst_3ddns_1.cfg +vendor/etc/bst_3ddns_2.cfg +vendor/etc/bst_3ddns_3.cfg +vendor/etc/bstconfig/hdrcfg.cfg +vendor/etc/camera/anc_detect_model +vendor/etc/camera/anc_track_model vendor/etc/camera/mot_engine_config.bin +vendor/etc/camera/vidhance.lic vendor/etc/camera/vidhance_calibration vendor/etc/camera/vidhance_calibration_2rd # 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.elf -vendor/firmware/CAMERA_ICP_170.elf +# Camera - flash +vendor/lib64/camera/com.qti.flash.aw36514.so +vendor/lib64/camera/com.qti.flash.ocp81375.so # Camera - Motorola -system_ext/lib64/libjni_helper.motocameradesktop.so -system_ext/lib64/motorola.hardware.camera.desktop@1.0.so -system_ext/lib64/motorola.hardware.camera.desktop@2.0.so 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;MODULE_SUFFIX=_vendor -vendor/lib64/motorola.hardware.camera.desktop@2.0.so;MODULE_SUFFIX=_vendor +vendor/lib64/motorola.hardware.camera.desktop@1.0.so +vendor/lib64/motorola.hardware.camera.desktop@2.0.so # Camera - sensor -vendor/lib64/camera/com.qti.sensor.mot_hi1336.so -vendor/lib64/camera/com.qti.sensor.mot_ov02b1b.so vendor/lib64/camera/com.qti.sensor.mot_ov16a1q.so -vendor/lib64/camera/com.qti.sensor.mot_s5khm2.so - -# Camera - sensormodule -vendor/lib64/camera/com.qti.sensormodule.mot_xpeng_hi1336_qtech.bin -vendor/lib64/camera/com.qti.sensormodule.mot_xpeng_ov02b1b_sunwin.bin -vendor/lib64/camera/com.qti.sensormodule.mot_xpeng_ov16a1q_qtech.bin -vendor/lib64/camera/com.qti.sensormodule.mot_xpeng_s5khm2_qtech.bin -vendor/lib64/camera/com.qti.sensormodule.mot_xpeng_s5khm2sd03_qtech.bin +vendor/lib64/camera/com.qti.sensor.mot_s5k3p9.so +vendor/lib64/camera/com.qti.sensor.mot_s5kjns.so +vendor/lib64/camera/com.qti.sensor.mot_sc202acs.so +vendor/lib64/camera/com.qti.sensormodule.mot_fogor_s5kjns_qtech.bin +vendor/lib64/camera/com.qti.sensormodule.mot_fogor_sc202acs_sunny.bin +vendor/lib64/camera/com.qti.sensormodule.mot_fogos_ov16a1q_ofilm.bin +vendor/lib64/camera/com.qti.sensormodule.mot_fogos_s5k3p9_qtech.bin # Camera - tuned vendor/lib64/camera/com.qti.tuned.default.bin -vendor/lib64/camera/com.qti.tuned.mot_xpeng_hi1336.bin -vendor/lib64/camera/com.qti.tuned.mot_xpeng_ov02b1b.bin -vendor/lib64/camera/com.qti.tuned.mot_xpeng_ov16a1q.bin -vendor/lib64/camera/com.qti.tuned.mot_xpeng_s5khm2.bin -vendor/lib64/camera/com.qti.tuned.mot_xpeng_s5khm2sd03.bin +vendor/lib64/camera/com.qti.tuned.mot_fogo_sc202acs.bin +vendor/lib64/camera/com.qti.tuned.mot_fogor_s5kjns.bin +vendor/lib64/camera/com.qti.tuned.mot_fogos_ov16a1q.bin +vendor/lib64/camera/com.qti.tuned.mot_fogos_s5k3p9.bin + +# Capsense +vendor/bin/capsense_reset # Display calibration data -vendor/etc/qdcm_calib_data_mipi_mot_vid_tianma_1080p_dsc_678.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_mot_vid_tm_icnl9916c_hdp_652_120.xml +vendor/etc/qdcm_calib_data_mipi_mot_vid_txd_ili9883c_hdp_652_120.xml -# Fingerprint (goodix) -vendor/bin/hw/goodix_ident:vendor/bin/goodix_ident +# Display config +vendor/etc/SVIConfig.xml + +# Fingerprint +vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-goodixservice +vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service-fpc +vendor/bin/hw/fpc_ident +vendor/bin/hw/goodix_ident +vendor/etc/init/android.hardware.biometrics.fingerprint@2.1-goodixservice.rc +vendor/etc/init/android.hardware.biometrics.fingerprint@2.1-service-fpc2.rc +vendor/etc/init/init.gf_ident.rc +vendor/lib64/com.fingerprints.extension@1.0.so vendor/lib64/hw/fingerprint.goodix.default.so vendor/lib64/libgf_ca.so vendor/lib64/libgf_hal.so vendor/lib64/libgoodixhwfingerprint.so vendor/lib64/vendor.goodix.hardware.biometrics.fingerprint@3.0.so - -# Fingerprint (egistec) -vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service-ets -vendor/bin/hw/egis_ident:vendor/bin/egis_ident -vendor/etc/init/android.hardware.biometrics.fingerprint@2.1-service-ets2.rc -vendor/lib64/libRbsFlow.so -vendor/lib64/libets_teeclient_v2.so -vendor/lib64/vendor.egistec.hardware.fingerprint@4.0.so - -# Fingerprint (fpc) -vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service-fpc -vendor/bin/hw/fpc_ident:vendor/bin/fpc_ident -vendor/etc/init/android.hardware.biometrics.fingerprint@2.1-service-fpc2.rc vendor/lib64/vendor.qti.hardware.fingerprint@1.0.so +vendor/usr/idc/uinput-fpc.idc +vendor/usr/idc/uinput_nav.idc +vendor/usr/keylayout/uinput-fpc.kl +vendor/usr/keylayout/uinput_nav.kl # HotwordEnrollment -product/priv-app/HotwordEnrollmentOKGoogleHEXAGON/HotwordEnrollmentOKGoogleHEXAGON.apk -product/priv-app/HotwordEnrollmentXGoogleHEXAGON/HotwordEnrollmentXGoogleHEXAGON.apk +product/priv-app/HotwordEnrollmentOKGoogleHEXAGON_WIDEBAND/HotwordEnrollmentOKGoogleHEXAGON_WIDEBAND.apk +product/priv-app/HotwordEnrollmentXGoogleHEXAGON_WIDEBAND/HotwordEnrollmentXGoogleHEXAGON_WIDEBAND.apk system_ext/etc/permissions/com.android.hotwordenrollment.common.util.xml system_ext/framework/com.android.hotwordenrollment.common.util.jar # 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/lahaina_ak991x_0.json -vendor/etc/sensors/config/lahaina_default_sensors.json -vendor/etc/sensors/config/lahaina_dynamic_sensors.json -vendor/etc/sensors/config/lahaina_icm4x6xa_0.json -vendor/etc/sensors/config/lahaina_irq.json -vendor/etc/sensors/config/lahaina_lsm6dso.json -vendor/etc/sensors/config/lahaina_mmc56x3x.json -vendor/etc/sensors/config/lahaina_power_0.json -vendor/etc/sensors/config/lahaina_stk3a5x_0.json +vendor/etc/sensors/config/icm4x6xa.json vendor/etc/sensors/config/mot_camgest.json -vendor/etc/sensors/config/mot_chopchop.json -vendor/etc/sensors/config/mot_chopchop_closed.json -vendor/etc/sensors/config/mot_devorient.json -vendor/etc/sensors/config/mot_ftm.json -vendor/etc/sensors/config/mot_gpio_flip.json -vendor/etc/sensors/config/mot_ltv.json -vendor/etc/sensors/config/mot_offbody.json vendor/etc/sensors/config/mot_tap.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 -vendor/etc/sensors/config/sns_aont.json -vendor/etc/sensors/config/sns_basic_gestures.json -vendor/etc/sensors/config/sns_bring_to_ear.json -vendor/etc/sensors/config/sns_ccd.json -vendor/etc/sensors/config/sns_ccd_v2_walk.json -vendor/etc/sensors/config/sns_ccd_v3_1_walk.json -vendor/etc/sensors/config/sns_ccd_v3_walk.json vendor/etc/sensors/config/sns_cm.json -vendor/etc/sensors/config/sns_dae.json -vendor/etc/sensors/config/sns_device_orient.json vendor/etc/sensors/config/sns_diag_filter.json -vendor/etc/sensors/config/sns_distance_bound.json -vendor/etc/sensors/config/sns_dpc.json -vendor/etc/sensors/config/sns_facing.json vendor/etc/sensors/config/sns_fmv.json vendor/etc/sensors/config/sns_fmv_legacy.json vendor/etc/sensors/config/sns_geomag_rv.json vendor/etc/sensors/config/sns_gyro_cal.json -vendor/etc/sensors/config/sns_heart_rate.json vendor/etc/sensors/config/sns_mag_cal.json -vendor/etc/sensors/config/sns_mag_cal_legacy.json -vendor/etc/sensors/config/sns_multishake.json -vendor/etc/sensors/config/sns_pedometer.json vendor/etc/sensors/config/sns_rmd.json vendor/etc/sensors/config/sns_rotv.json vendor/etc/sensors/config/sns_smd.json -vendor/etc/sensors/config/sns_tilt.json -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/strait_bmi3x0_0.json +vendor/etc/sensors/config/strait_default_sensors.json +vendor/etc/sensors/config/strait_dynamic_sensors.json +vendor/etc/sensors/config/strait_ltr569_0.json +vendor/etc/sensors/config/strait_mmc56x3x_0_with_nfc.json +vendor/etc/sensors/config/strait_mmc56x3x_0_without_nfc.json +vendor/etc/sensors/config/strait_power_0.json +vendor/etc/sensors/config/strait_qmc6308_0_with_nfc.json +vendor/etc/sensors/config/strait_qmc6308_0_without_nfc.json +vendor/etc/sensors/config/strait_qmi8658_0.json vendor/etc/sensors/sns_reg_config # Thermal engine - configs +vendor/etc/thermal-engine-fogos-camera.conf +vendor/etc/thermal-engine-fogos-game-normal.conf +vendor/etc/thermal-engine-fogos-game-perf.conf +vendor/etc/thermal-engine-fogos.conf vendor/etc/thermal-engine.conf # Touchscreen firmware -vendor/firmware/NT36xxx_MP_Setting_Criteria_6044.csv -vendor/firmware/mp_novatek_ts-NT36675-21101302-6044-xpeng.bin -vendor/firmware/novatek_ts-NT36675-21101302-6044-xpeng.bin - -# Touchscreen firmware (for recovery) -vendor/firmware/mp_novatek_ts-NT36675-21101302-6044-xpeng.bin:recovery/root/vendor/firmware/mp_novatek_ts-NT36675-21101302-6044-xpeng.bin -vendor/firmware/novatek_ts-NT36675-21101302-6044-xpeng.bin:recovery/root/vendor/firmware/novatek_ts-NT36675-21101302-6044-xpeng.bin +vendor/firmware/ILITEK_FW +vendor/firmware/chipone_firmware.bin +vendor/firmware/csot_focal_test_limits.ini +vendor/firmware/focaltech-csot-ft3681-22-0000-fogos.bin +vendor/firmware/goodix-tm-gt9916S-23051702-646483c4-fogos.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/recovery/Android.bp b/recovery/Android.bp deleted file mode 100644 index 8f35343..0000000 --- a/recovery/Android.bp +++ /dev/null @@ -1,17 +0,0 @@ -// -// SPDX-FileCopyrightText: The LineageOS Project -// SPDX-License-Identifier: Apache-2.0 -// - -prebuilt_etc { - name: "init.recovery.fogos.rc", - src: "etc/init.recovery.fogos.rc", - sub_dir: "init", - recovery: true, -} - -sh_binary { - name: "load_touch.sh", - src: "bin/load_touch.sh", - recovery: true, -} diff --git a/recovery/bin/load_touch.sh b/recovery/bin/load_touch.sh deleted file mode 100644 index 7747bdc..0000000 --- a/recovery/bin/load_touch.sh +++ /dev/null @@ -1,60 +0,0 @@ -#!/system/bin/sh - -firmware_path=/vendor/firmware -touch_class_path=/sys/class/touchscreen -touch_path= -firmware_file= - -wait_for_poweron() -{ - local wait_nomore - local readiness - local count - echo "wait until driver reports ..." - wait_nomore=60 - count=0 - while true; do - readiness=$(cat $touch_path/poweron) - if [ "$readiness" == "1" ]; then - echo "ready to flash!!!" - break; - fi - count=$((count+1)) - [ $count -eq $wait_nomore ] && break - sleep 1 - echo "not ready; keep waiting..." - done - if [ $count -eq $wait_nomore ]; then - return 1 - fi - return 0 -} - -load_touch() -{ - panel_supplier="" - panel_supplier=$(cat /sys/class/touchscreen/*/panel_supplier) - echo "panel supplier vendor is: [$panel_supplier]" - cd $firmware_path - case $panel_supplier in - tianma) - firmware_file="novatek_ts-NT36675-21101302-6044-xpeng.bin" - ;; - esac - echo "Firmware file for upgrade $firmware_file" - touch_path=/sys/class/touchscreen/$(ls /sys/class/touchscreen/) - wait_for_poweron - wait - echo "forcing firmware upgrade" - echo 1 > $touch_path/forcereflash - wait - echo "sending reflash command" - echo $firmware_file > $touch_path/doreflash - sleep 1.5 - echo "Resetting Touch" - echo 1 > $touch_path/reset -} - -load_touch - -exit 0 diff --git a/recovery/etc/init.recovery.fogos.rc b/recovery/etc/init.recovery.fogos.rc deleted file mode 100644 index 01c8f97..0000000 --- a/recovery/etc/init.recovery.fogos.rc +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the name of The Linux Foundation nor -# the names of its contributors may be used to endorse or promote -# products derived from this software without specific prior written -# permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -on boot - start load_touch - -on property:sys.usb.config=fastboot - start load_touch - -service load_touch vendor/bin/load_touch.sh - oneshot - disabled - user root - group root - seclabel u:r:recovery:s0 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 diff --git a/rootdir/etc/init/init.ets.rc b/rootdir/etc/init/init.ets.rc deleted file mode 100644 index c21ff02..0000000 --- a/rootdir/etc/init/init.ets.rc +++ /dev/null @@ -1,22 +0,0 @@ -# Egistec fingerprint feature -on post-fs-data - mkdir /persist/egis 0770 system system - chmod 0660 /sys/devices/platform/egis_input/navigation_event - chmod 0660 /sys/devices/platform/egis_input/navigation_enable - chmod 0660 /sys/devices/soc/0.et320/etspi_enable - chown system system /sys/devices/platform/egis_input/navigation_enable - chown system system /sys/devices/platform/egis_input/navigation_event - chown system system /sys/devices/soc/0.et320/etspi_enable - restorecon /sys/devices/platform/egis_input/navigation_enable - restorecon /sys/devices/platform/egis_input/navigation_event - restorecon /sys/devices/soc/0.et320/etspi_enable -# Egistec fingerprint fp daemon start -# service etsd /system/bin/etsd -# user system -# group system input -# class late_start - -on post-fs-data -# service-ets -on property:ro.vendor.hw.fps=false - stop ets_hal