diff --git a/cheeseburger/Android.mk b/cheeseburger/Android.mk index 00734bb0..135d0788 100644 --- a/cheeseburger/Android.mk +++ b/cheeseburger/Android.mk @@ -52,6 +52,18 @@ LOCAL_MODULE_CLASS := SHARED_LIBRARIES LOCAL_MODULE_SUFFIX := .so include $(BUILD_PREBUILT) +include $(CLEAR_VARS) +LOCAL_MODULE := libbtnv +LOCAL_MODULE_OWNER := oneplus +LOCAL_SRC_FILES_64 := proprietary/vendor/lib64/libbtnv.so +LOCAL_SRC_FILES_32 := proprietary/vendor/lib/libbtnv.so +LOCAL_MULTILIB := both +LOCAL_MODULE_TAGS := optional +LOCAL_MODULE_CLASS := SHARED_LIBRARIES +LOCAL_MODULE_SUFFIX := .so +LOCAL_PROPRIETARY_MODULE := true +include $(BUILD_PREBUILT) + include $(CLEAR_VARS) LOCAL_MODULE := libgpustats LOCAL_MODULE_OWNER := oneplus @@ -155,18 +167,6 @@ LOCAL_DEX_PREOPT := false LOCAL_MODULE_SUFFIX := .apk include $(BUILD_PREBUILT) -include $(CLEAR_VARS) -LOCAL_MODULE := CNEService -LOCAL_MODULE_OWNER := oneplus -LOCAL_SRC_FILES := proprietary/priv-app/CNEService/CNEService.apk -LOCAL_CERTIFICATE := platform -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := APPS -LOCAL_DEX_PREOPT := false -LOCAL_MODULE_SUFFIX := .apk -LOCAL_PRIVILEGED_MODULE := true -include $(BUILD_PREBUILT) - include $(CLEAR_VARS) LOCAL_MODULE := QtiTetherService LOCAL_MODULE_OWNER := oneplus @@ -191,18 +191,6 @@ LOCAL_MODULE_SUFFIX := .apk LOCAL_PRIVILEGED_MODULE := true include $(BUILD_PREBUILT) -include $(CLEAR_VARS) -LOCAL_MODULE := dpmserviceapp -LOCAL_MODULE_OWNER := oneplus -LOCAL_SRC_FILES := proprietary/priv-app/dpmserviceapp/dpmserviceapp.apk -LOCAL_CERTIFICATE := platform -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := APPS -LOCAL_DEX_PREOPT := false -LOCAL_MODULE_SUFFIX := .apk -LOCAL_PRIVILEGED_MODULE := true -include $(BUILD_PREBUILT) - include $(CLEAR_VARS) LOCAL_MODULE := qcrilmsgtunnel LOCAL_MODULE_OWNER := oneplus @@ -227,30 +215,6 @@ LOCAL_MODULE_SUFFIX := .apk LOCAL_PROPRIETARY_MODULE := true include $(BUILD_PREBUILT) -include $(CLEAR_VARS) -LOCAL_MODULE := ims -LOCAL_MODULE_OWNER := oneplus -LOCAL_SRC_FILES := proprietary/vendor/app/ims/ims.apk -LOCAL_CERTIFICATE := platform -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := APPS -LOCAL_DEX_PREOPT := false -LOCAL_MODULE_SUFFIX := .apk -LOCAL_PROPRIETARY_MODULE := true -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := imssettings -LOCAL_MODULE_OWNER := oneplus -LOCAL_SRC_FILES := proprietary/vendor/app/imssettings/imssettings.apk -LOCAL_CERTIFICATE := platform -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := APPS -LOCAL_DEX_PREOPT := false -LOCAL_MODULE_SUFFIX := .apk -LOCAL_PROPRIETARY_MODULE := true -include $(BUILD_PREBUILT) - include $(CLEAR_VARS) LOCAL_MODULE := qcnvitems LOCAL_MODULE_OWNER := oneplus diff --git a/cheeseburger/cheeseburger-vendor.mk b/cheeseburger/cheeseburger-vendor.mk index e809d549..7d2909af 100644 --- a/cheeseburger/cheeseburger-vendor.mk +++ b/cheeseburger/cheeseburger-vendor.mk @@ -29,6 +29,10 @@ PRODUCT_COPY_FILES += \ vendor/oneplus/cheeseburger/proprietary/etc/acdbdata/MTP/MTP_workspaceFile.qwsp:system/etc/acdbdata/MTP/MTP_workspaceFile.qwsp \ vendor/oneplus/cheeseburger/proprietary/etc/acdbdata/adsp_avs_config.acdb:system/etc/acdbdata/adsp_avs_config.acdb \ vendor/oneplus/cheeseburger/proprietary/etc/camera/camera_config.xml:system/etc/camera/camera_config.xml \ + vendor/oneplus/cheeseburger/proprietary/etc/camera/cp/CPCalibrationData.bin:system/etc/camera/cp/CPCalibrationData.bin \ + vendor/oneplus/cheeseburger/proprietary/etc/camera/cp/FusionCalibrationParams.bin:system/etc/camera/cp/FusionCalibrationParams.bin \ + vendor/oneplus/cheeseburger/proprietary/etc/camera/cp/SystemParamsBokeh.bin:system/etc/camera/cp/SystemParamsBokeh.bin \ + vendor/oneplus/cheeseburger/proprietary/etc/camera/cp/SystemParamsFusion.bin:system/etc/camera/cp/SystemParamsFusion.bin \ vendor/oneplus/cheeseburger/proprietary/etc/camera/imx350_chromatix.xml:system/etc/camera/imx350_chromatix.xml \ vendor/oneplus/cheeseburger/proprietary/etc/camera/imx371_chromatix.xml:system/etc/camera/imx371_chromatix.xml \ vendor/oneplus/cheeseburger/proprietary/etc/camera/imx398_chromatix.xml:system/etc/camera/imx398_chromatix.xml \ @@ -58,6 +62,9 @@ PRODUCT_COPY_FILES += \ vendor/oneplus/cheeseburger/proprietary/etc/firmware/ipa_fws.mdt:system/etc/firmware/ipa_fws.mdt \ vendor/oneplus/cheeseburger/proprietary/etc/firmware/mbn_ota/mbn_ota.txt:system/etc/firmware/mbn_ota/mbn_ota.txt \ vendor/oneplus/cheeseburger/proprietary/etc/firmware/tfa98xx.cnt:system/etc/firmware/tfa98xx.cnt \ + vendor/oneplus/cheeseburger/proprietary/etc/firmware/tp/fw_synaptics_15801.img:system/etc/firmware/tp/fw_synaptics_15801.img \ + vendor/oneplus/cheeseburger/proprietary/etc/firmware/tp/fw_synaptics_15801b.img:system/etc/firmware/tp/fw_synaptics_15801b.img \ + vendor/oneplus/cheeseburger/proprietary/etc/firmware/tp/fw_synaptics_16859.img:system/etc/firmware/tp/fw_synaptics_16859.img \ vendor/oneplus/cheeseburger/proprietary/etc/fsync_db.config:system/etc/fsync_db.config \ vendor/oneplus/cheeseburger/proprietary/etc/oneplus5_vstab_db_1080p_video_0_30fps.config:system/etc/oneplus5_vstab_db_1080p_video_0_30fps.config \ vendor/oneplus/cheeseburger/proprietary/etc/oneplus5_vstab_db_1080p_video_0_60fps.config:system/etc/oneplus5_vstab_db_1080p_video_0_60fps.config \ @@ -65,7 +72,6 @@ PRODUCT_COPY_FILES += \ vendor/oneplus/cheeseburger/proprietary/etc/oneplus5_vstab_db_4k_video_0_30fps.config:system/etc/oneplus5_vstab_db_4k_video_0_30fps.config \ vendor/oneplus/cheeseburger/proprietary/etc/oneplus5_vstab_db_720p_video_0_30fps.config:system/etc/oneplus5_vstab_db_720p_video_0_30fps.config \ vendor/oneplus/cheeseburger/proprietary/etc/oneplus5_vstab_db_720p_video_1_30fps.config:system/etc/oneplus5_vstab_db_720p_video_1_30fps.config \ - vendor/oneplus/cheeseburger/proprietary/etc/sensors/hals.conf:system/etc/sensors/hals.conf \ vendor/oneplus/cheeseburger/proprietary/etc/sensors/sensor_def_qcomdev.conf:system/etc/sensors/sensor_def_qcomdev.conf \ vendor/oneplus/cheeseburger/proprietary/lib/hw/camera.msm8998.so:system/lib/hw/camera.msm8998.so \ vendor/oneplus/cheeseburger/proprietary/lib/libFNVfbEngineHAL.so:system/lib/libFNVfbEngineHAL.so \ @@ -98,6 +104,7 @@ PRODUCT_COPY_FILES += \ vendor/oneplus/cheeseburger/proprietary/lib64/libparam.so:system/lib64/libparam.so \ vendor/oneplus/cheeseburger/proprietary/lib64/libteeclientjni.so:system/lib64/libteeclientjni.so \ vendor/oneplus/cheeseburger/proprietary/lib64/libteeclientjniv2.so:system/lib64/libteeclientjniv2.so \ + vendor/oneplus/cheeseburger/proprietary/vendor/etc/sensors/hals.conf:system/vendor/etc/sensors/hals.conf \ vendor/oneplus/cheeseburger/proprietary/vendor/firmware/libpn553_fw.so:system/vendor/firmware/libpn553_fw.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libSonyIMX350PdafLibrary.so:system/vendor/lib/libSonyIMX350PdafLibrary.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libSonyIMX371RmscLibrary.so:system/vendor/lib/libSonyIMX371RmscLibrary.so \ @@ -187,6 +194,7 @@ PRODUCT_COPY_FILES += \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libchromatix_imx398_postproc.so:system/vendor/lib/libchromatix_imx398_postproc.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libchromatix_imx398_preview_1080p_cpp.so:system/vendor/lib/libchromatix_imx398_preview_1080p_cpp.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libcvface_api.so:system/vendor/lib/libcvface_api.so \ + vendor/oneplus/cheeseburger/proprietary/vendor/lib/libdczoom.so:system/vendor/lib/libdczoom.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libdualcameraddm.so:system/vendor/lib/libdualcameraddm.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libfiltergenerator.so:system/vendor/lib/libfiltergenerator.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libflash_pmic.so:system/vendor/lib/libflash_pmic.so \ @@ -401,7 +409,6 @@ PRODUCT_COPY_FILES += \ vendor/oneplus/cheeseburger/proprietary/etc/firmware/rampatch_tlv_2.1.tlv:system/etc/firmware/rampatch_tlv_2.1.tlv \ vendor/oneplus/cheeseburger/proprietary/etc/firmware/rampatch_tlv_3.0.tlv:system/etc/firmware/rampatch_tlv_3.0.tlv \ vendor/oneplus/cheeseburger/proprietary/etc/firmware/rampatch_tlv_3.2.tlv:system/etc/firmware/rampatch_tlv_3.2.tlv \ - vendor/oneplus/cheeseburger/proprietary/etc/init.qcom.post_boot.sh:system/etc/init.qcom.post_boot.sh \ vendor/oneplus/cheeseburger/proprietary/etc/permissions/ConnectivityExt.xml:system/etc/permissions/ConnectivityExt.xml \ vendor/oneplus/cheeseburger/proprietary/etc/permissions/cneapiclient.xml:system/etc/permissions/cneapiclient.xml \ vendor/oneplus/cheeseburger/proprietary/etc/permissions/com.qti.dpmframework.xml:system/etc/permissions/com.qti.dpmframework.xml \ @@ -457,7 +464,6 @@ PRODUCT_COPY_FILES += \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/hw/activity_recognition.msm8998.so:system/vendor/lib/hw/activity_recognition.msm8998.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/hw/gatekeeper.msm8998.so:system/vendor/lib/hw/gatekeeper.msm8998.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/hw/keystore.msm8998.so:system/vendor/lib/hw/keystore.msm8998.so \ - vendor/oneplus/cheeseburger/proprietary/vendor/lib/hw/sound_trigger.primary.msm8998.so:system/vendor/lib/hw/sound_trigger.primary.msm8998.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/hw/vulkan.msm8998.so:system/vendor/lib/hw/vulkan.msm8998.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libC2D2.so:system/vendor/lib/libC2D2.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libCB.so:system/vendor/lib/libCB.so \ @@ -483,7 +489,6 @@ PRODUCT_COPY_FILES += \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libadsprpc.so:system/vendor/lib/libadsprpc.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libaudcal.so:system/vendor/lib/libaudcal.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libbccQTI.so:system/vendor/lib/libbccQTI.so \ - vendor/oneplus/cheeseburger/proprietary/vendor/lib/libbtnv.so:system/vendor/lib/libbtnv.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libc2d30-a5xx.so:system/vendor/lib/libc2d30-a5xx.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libc2d30_bltlib.so:system/vendor/lib/libc2d30_bltlib.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libcne.so:system/vendor/lib/libcne.so \ @@ -500,6 +505,7 @@ PRODUCT_COPY_FILES += \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libfastcvadsp_stub.so:system/vendor/lib/libfastcvadsp_stub.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libfastcvopt.so:system/vendor/lib/libfastcvopt.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libgsl.so:system/vendor/lib/libgsl.so \ + vendor/oneplus/cheeseburger/proprietary/vendor/lib/libhwdaphal.so:system/vendor/lib/libhwdaphal.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libidl.so:system/vendor/lib/libidl.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libllvm-glnext.so:system/vendor/lib/libllvm-glnext.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libllvm-qcom.so:system/vendor/lib/libllvm-qcom.so \ @@ -534,7 +540,6 @@ PRODUCT_COPY_FILES += \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libsensor_thresh.so:system/vendor/lib/libsensor_thresh.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libsensor_user_cal.so:system/vendor/lib/libsensor_user_cal.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libsmemlog.so:system/vendor/lib/libsmemlog.so \ - vendor/oneplus/cheeseburger/proprietary/vendor/lib/libsmwrapper.so:system/vendor/lib/libsmwrapper.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libspl.so:system/vendor/lib/libspl.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libvendorconn.so:system/vendor/lib/libvendorconn.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib/libvpphvx.so:system/vendor/lib/libvpphvx.so \ @@ -634,7 +639,6 @@ PRODUCT_COPY_FILES += \ vendor/oneplus/cheeseburger/proprietary/vendor/lib64/libalarmservice_jni.so:system/vendor/lib64/libalarmservice_jni.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib64/libaudcal.so:system/vendor/lib64/libaudcal.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib64/libbccQTI.so:system/vendor/lib64/libbccQTI.so \ - vendor/oneplus/cheeseburger/proprietary/vendor/lib64/libbtnv.so:system/vendor/lib64/libbtnv.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib64/libc2d30-a5xx.so:system/vendor/lib64/libc2d30-a5xx.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib64/libc2d30_bltlib.so:system/vendor/lib64/libc2d30_bltlib.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib64/libcne.so:system/vendor/lib64/libcne.so \ @@ -662,6 +666,7 @@ PRODUCT_COPY_FILES += \ vendor/oneplus/cheeseburger/proprietary/vendor/lib64/libgdtap.so:system/vendor/lib64/libgdtap.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib64/libgeofence.so:system/vendor/lib64/libgeofence.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib64/libgsl.so:system/vendor/lib64/libgsl.so \ + vendor/oneplus/cheeseburger/proprietary/vendor/lib64/libhwdaphal.so:system/vendor/lib64/libhwdaphal.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib64/libidl.so:system/vendor/lib64/libidl.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib64/libimscamera_jni.so:system/vendor/lib64/libimscamera_jni.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib64/libimsmedia_jni.so:system/vendor/lib64/libimsmedia_jni.so \ @@ -688,6 +693,7 @@ PRODUCT_COPY_FILES += \ vendor/oneplus/cheeseburger/proprietary/vendor/lib64/libpdmapper.so:system/vendor/lib64/libpdmapper.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib64/libpdnotifier.so:system/vendor/lib64/libpdnotifier.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib64/libperipheral_client.so:system/vendor/lib64/libperipheral_client.so \ + vendor/oneplus/cheeseburger/proprietary/vendor/lib64/libprotobuf-cpp-lgcy.so:system/vendor/lib64/libprotobuf-cpp-lgcy.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib64/libqcci_legacy.so:system/vendor/lib64/libqcci_legacy.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib64/libqcmaputils.so:system/vendor/lib64/libqcmaputils.so \ vendor/oneplus/cheeseburger/proprietary/vendor/lib64/libqdi.so:system/vendor/lib64/libqdi.so \ @@ -750,6 +756,7 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ libloc_api_v02 \ + libbtnv \ libgpustats \ libsdm-disp-apis \ libthermalclient \ @@ -759,14 +766,10 @@ PRODUCT_PACKAGES += \ datastatusnotification \ embms \ shutdownlistener \ - CNEService \ QtiTetherService \ com.qualcomm.location \ - dpmserviceapp \ qcrilmsgtunnel \ colorservice \ - ims \ - imssettings \ qcnvitems \ qcrilhook endif diff --git a/cheeseburger/proprietary/app/QtiTelephonyService/QtiTelephonyService.apk b/cheeseburger/proprietary/app/QtiTelephonyService/QtiTelephonyService.apk index c17a09ab..43461f16 100644 Binary files a/cheeseburger/proprietary/app/QtiTelephonyService/QtiTelephonyService.apk and b/cheeseburger/proprietary/app/QtiTelephonyService/QtiTelephonyService.apk differ diff --git a/cheeseburger/proprietary/app/TimeService/TimeService.apk b/cheeseburger/proprietary/app/TimeService/TimeService.apk index 2ba7075a..c1133885 100644 Binary files a/cheeseburger/proprietary/app/TimeService/TimeService.apk and b/cheeseburger/proprietary/app/TimeService/TimeService.apk differ diff --git a/cheeseburger/proprietary/app/datastatusnotification/datastatusnotification.apk b/cheeseburger/proprietary/app/datastatusnotification/datastatusnotification.apk index b62bbf7d..b381fdbd 100644 Binary files a/cheeseburger/proprietary/app/datastatusnotification/datastatusnotification.apk and b/cheeseburger/proprietary/app/datastatusnotification/datastatusnotification.apk differ diff --git a/cheeseburger/proprietary/app/embms/embms.apk b/cheeseburger/proprietary/app/embms/embms.apk index 442f2593..24f8faca 100644 Binary files a/cheeseburger/proprietary/app/embms/embms.apk and b/cheeseburger/proprietary/app/embms/embms.apk differ diff --git a/cheeseburger/proprietary/app/shutdownlistener/shutdownlistener.apk b/cheeseburger/proprietary/app/shutdownlistener/shutdownlistener.apk index 80524e24..e9c6bed9 100644 Binary files a/cheeseburger/proprietary/app/shutdownlistener/shutdownlistener.apk and b/cheeseburger/proprietary/app/shutdownlistener/shutdownlistener.apk differ diff --git a/cheeseburger/proprietary/bin/cnd b/cheeseburger/proprietary/bin/cnd index c39c2784..85f49cd1 100755 Binary files a/cheeseburger/proprietary/bin/cnd and b/cheeseburger/proprietary/bin/cnd differ diff --git a/cheeseburger/proprietary/bin/cnss_diag b/cheeseburger/proprietary/bin/cnss_diag index 0cc4bf6d..a6f15ed8 100755 Binary files a/cheeseburger/proprietary/bin/cnss_diag and b/cheeseburger/proprietary/bin/cnss_diag differ diff --git a/cheeseburger/proprietary/etc/camera/camera_config.xml b/cheeseburger/proprietary/etc/camera/camera_config.xml index e54735e5..34c586b4 100644 --- a/cheeseburger/proprietary/etc/camera/camera_config.xml +++ b/cheeseburger/proprietary/etc/camera/camera_config.xml @@ -166,7 +166,7 @@ LensInfo : Information of the lens present in the module. imx350_gt24c64ass imx350_chromatix 1 - BACK_AUX + BACK 90 1 diff --git a/cheeseburger/proprietary/etc/camera/cp/CPCalibrationData.bin b/cheeseburger/proprietary/etc/camera/cp/CPCalibrationData.bin new file mode 100644 index 00000000..d0c2d99a Binary files /dev/null and b/cheeseburger/proprietary/etc/camera/cp/CPCalibrationData.bin differ diff --git a/cheeseburger/proprietary/etc/camera/cp/FusionCalibrationParams.bin b/cheeseburger/proprietary/etc/camera/cp/FusionCalibrationParams.bin new file mode 100644 index 00000000..45b489fc Binary files /dev/null and b/cheeseburger/proprietary/etc/camera/cp/FusionCalibrationParams.bin differ diff --git a/cheeseburger/proprietary/etc/camera/cp/SystemParamsBokeh.bin b/cheeseburger/proprietary/etc/camera/cp/SystemParamsBokeh.bin new file mode 100644 index 00000000..0e73943d Binary files /dev/null and b/cheeseburger/proprietary/etc/camera/cp/SystemParamsBokeh.bin differ diff --git a/cheeseburger/proprietary/etc/camera/cp/SystemParamsFusion.bin b/cheeseburger/proprietary/etc/camera/cp/SystemParamsFusion.bin new file mode 100644 index 00000000..f406d6af Binary files /dev/null and b/cheeseburger/proprietary/etc/camera/cp/SystemParamsFusion.bin differ diff --git a/cheeseburger/proprietary/etc/firmware/a540_zap.b01 b/cheeseburger/proprietary/etc/firmware/a540_zap.b01 index f7c55688..7ae41c6c 100644 Binary files a/cheeseburger/proprietary/etc/firmware/a540_zap.b01 and b/cheeseburger/proprietary/etc/firmware/a540_zap.b01 differ diff --git a/cheeseburger/proprietary/etc/firmware/a540_zap.elf b/cheeseburger/proprietary/etc/firmware/a540_zap.elf index 1035d889..edef9907 100644 Binary files a/cheeseburger/proprietary/etc/firmware/a540_zap.elf and b/cheeseburger/proprietary/etc/firmware/a540_zap.elf differ diff --git a/cheeseburger/proprietary/etc/firmware/a540_zap.mdt b/cheeseburger/proprietary/etc/firmware/a540_zap.mdt index 7005a401..5754d9a4 100644 Binary files a/cheeseburger/proprietary/etc/firmware/a540_zap.mdt and b/cheeseburger/proprietary/etc/firmware/a540_zap.mdt differ diff --git a/cheeseburger/proprietary/etc/firmware/ipa_fws.b01 b/cheeseburger/proprietary/etc/firmware/ipa_fws.b01 index 89ab5e8d..b6125470 100644 Binary files a/cheeseburger/proprietary/etc/firmware/ipa_fws.b01 and b/cheeseburger/proprietary/etc/firmware/ipa_fws.b01 differ diff --git a/cheeseburger/proprietary/etc/firmware/ipa_fws.mdt b/cheeseburger/proprietary/etc/firmware/ipa_fws.mdt index 3f3d5165..2663591f 100644 Binary files a/cheeseburger/proprietary/etc/firmware/ipa_fws.mdt and b/cheeseburger/proprietary/etc/firmware/ipa_fws.mdt differ diff --git a/cheeseburger/proprietary/etc/firmware/tp/fw_synaptics_15801.img b/cheeseburger/proprietary/etc/firmware/tp/fw_synaptics_15801.img new file mode 100644 index 00000000..fedb4a35 Binary files /dev/null and b/cheeseburger/proprietary/etc/firmware/tp/fw_synaptics_15801.img differ diff --git a/cheeseburger/proprietary/etc/firmware/tp/fw_synaptics_15801b.img b/cheeseburger/proprietary/etc/firmware/tp/fw_synaptics_15801b.img new file mode 100644 index 00000000..70321460 Binary files /dev/null and b/cheeseburger/proprietary/etc/firmware/tp/fw_synaptics_15801b.img differ diff --git a/cheeseburger/proprietary/etc/firmware/tp/fw_synaptics_16859.img b/cheeseburger/proprietary/etc/firmware/tp/fw_synaptics_16859.img new file mode 100644 index 00000000..6110d192 Binary files /dev/null and b/cheeseburger/proprietary/etc/firmware/tp/fw_synaptics_16859.img differ diff --git a/cheeseburger/proprietary/etc/init.qcom.post_boot.sh b/cheeseburger/proprietary/etc/init.qcom.post_boot.sh deleted file mode 100644 index d2520ced..00000000 --- a/cheeseburger/proprietary/etc/init.qcom.post_boot.sh +++ /dev/null @@ -1,2709 +0,0 @@ -#!/system/bin/sh -# Copyright (c) 2012-2013, 2016, 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. -# - -target=`getprop ro.board.platform` - -function configure_memory_parameters() { - # Set Memory paremeters. - # - # Set per_process_reclaim tuning parameters - # 2GB 64-bit will have aggressive settings when compared to 1GB 32-bit - # 1GB and less will use vmpressure range 50-70, 2GB will use 10-70 - # 1GB and less will use 512 pages swap size, 2GB will use 1024 - # - # Set Low memory killer minfree parameters - # 32 bit all memory configurations will use 15K series - # 64 bit up to 2GB with use 14K, and above 2GB will use 18K - # - # Set ALMK parameters (usually above the highest minfree values) - # 32 bit will have 53K & 64 bit will have 81K - # - arch_type=`uname -m` - MemTotalStr=`cat /proc/meminfo | grep MemTotal` - MemTotal=${MemTotalStr:16:8} - MemTotalPg=$((MemTotal / 4)) - - # Read adj series and set adj threshold for PPR and ALMK. - # This is required since adj values change from framework to framework. - adj_series=`cat /sys/module/lowmemorykiller/parameters/adj` - adj_1="${adj_series#*,}" - set_almk_ppr_adj="${adj_1%%,*}" - # PPR and ALMK should not act on HOME adj and below. - # Normalized ADJ for HOME is 6. Hence multiply by 6 - # ADJ score represented as INT in LMK params, actual score can be in decimal - # Hence add 6 considering a worst case of 0.9 conversion to INT (0.9*6). - set_almk_ppr_adj=$(((set_almk_ppr_adj * 6) + 6)) - - # ALMK is enabled for all configurations - echo 1 > /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk - echo 80 > /sys/module/vmpressure/parameters/allocstall_threshold - echo $set_almk_ppr_adj > /sys/module/lowmemorykiller/parameters/adj_max_shift - - # LMK and ALMK confguration changes based on arch type and total RAM size - if [ "$arch_type" == "aarch64" ] && [ $MemTotal -gt 2097152 ]; then - echo "18432,23040,27648,32256,55296,80640" > /sys/module/lowmemorykiller/parameters/minfree - echo 81250 > /sys/module/lowmemorykiller/parameters/vmpressure_file_min - elif [ "$arch_type" == "aarch64" ] ; then - echo "14746,18432,22118,25805,40000,55000" > /sys/module/lowmemorykiller/parameters/minfree - echo 81250 > /sys/module/lowmemorykiller/parameters/vmpressure_file_min - else - echo "15360,19200,23040,26880,34415,43737" > /sys/module/lowmemorykiller/parameters/minfree - echo 53059 > /sys/module/lowmemorykiller/parameters/vmpressure_file_min - fi - - if [ $MemTotal -lt 3670016 ]; then - # Enable and configure process reclaim with memory less than 3.5 GB - echo $set_almk_ppr_adj > /sys/module/process_reclaim/parameters/min_score_adj - echo 1 > /sys/module/process_reclaim/parameters/enable_process_reclaim - echo 10 > /sys/module/process_reclaim/parameters/pressure_min - echo 70 > /sys/module/process_reclaim/parameters/pressure_max - echo 30 > /sys/module/process_reclaim/parameters/swap_opt_eff - echo 512 > /sys/module/process_reclaim/parameters/per_swap_size - echo 100 > /proc/sys/vm/swappiness - else - # Set swappiness to 60 - # Disable process reclaim for config with memory greater than 3.5 GB - echo 0 > /sys/module/process_reclaim/parameters/enable_process_reclaim - echo 60 > /proc/sys/vm/swappiness - fi - - - - # Zram disk - 512MB size - zram_enable=`getprop ro.config.zram` - if [ "$zram_enable" == "true" ]; then - echo 536870912 > /sys/block/zram0/disksize - mkswap /dev/block/zram0 - swapon /dev/block/zram0 -p 32758 - fi - - SWAP_ENABLE_THRESHOLD=1048576 - swap_enable=`getprop ro.config.swap` - - # Enable swap initially only for 1 GB targets - if [ "$MemTotal" -le "$SWAP_ENABLE_THRESHOLD" ] && [ "$swap_enable" == "true" ]; then - # Static swiftness - echo 1 > /proc/sys/vm/swap_ratio_enable - echo 70 > /proc/sys/vm/swap_ratio - - # Swap disk - 200MB size - if [ ! -f /data/system/swap/swapfile ]; then - dd if=/dev/zero of=/data/system/swap/swapfile bs=1m count=200 - fi - mkswap /data/system/swap/swapfile - swapon /data/system/swap/swapfile -p 32758 - fi -} - -case "$target" in - "msm7201a_ffa" | "msm7201a_surf" | "msm7627_ffa" | "msm7627_6x" | "msm7627a" | "msm7627_surf" | \ - "qsd8250_surf" | "qsd8250_ffa" | "msm7630_surf" | "msm7630_1x" | "msm7630_fusion" | "qsd8650a_st1x") - echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - echo 90 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold - ;; -esac - -case "$target" in - "msm7201a_ffa" | "msm7201a_surf") - echo 500000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate - ;; -esac - -case "$target" in - "msm7630_surf" | "msm7630_1x" | "msm7630_fusion") - echo 75000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate - echo 1 > /sys/module/pm2/parameters/idle_sleep_mode - ;; -esac - -case "$target" in - "msm7201a_ffa" | "msm7201a_surf" | "msm7627_ffa" | "msm7627_6x" | "msm7627_surf" | "msm7630_surf" | "msm7630_1x" | "msm7630_fusion" | "msm7627a" ) - echo 245760 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - ;; -esac - -case "$target" in - "msm8660") - echo 1 > /sys/module/rpm_resources/enable_low_power/L2_cache - echo 1 > /sys/module/rpm_resources/enable_low_power/pxo - echo 2 > /sys/module/rpm_resources/enable_low_power/vdd_dig - echo 2 > /sys/module/rpm_resources/enable_low_power/vdd_mem - echo 1 > /sys/module/rpm_resources/enable_low_power/rpm_cpu - echo 1 > /sys/module/msm_pm/modes/cpu0/power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu0/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu0/power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu0/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/standalone_power_collapse/idle_enabled - echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - echo "ondemand" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor - echo 50000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate - echo 90 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold - echo 1 > /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy - echo 4 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor - echo 384000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - echo 384000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq - chown -h system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq - chown -h system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - chown -h system /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq - chown -h system /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq - chown -h root.system /sys/devices/system/cpu/mfreq - chmod -h 220 /sys/devices/system/cpu/mfreq - chown -h root.system /sys/devices/system/cpu/cpu1/online - chmod -h 664 /sys/devices/system/cpu/cpu1/online - ;; -esac - -case "$target" in - "msm8960") - echo 1 > /sys/module/rpm_resources/enable_low_power/L2_cache - echo 1 > /sys/module/rpm_resources/enable_low_power/pxo - echo 1 > /sys/module/rpm_resources/enable_low_power/vdd_dig - echo 1 > /sys/module/rpm_resources/enable_low_power/vdd_mem - echo 1 > /sys/module/msm_pm/modes/cpu0/retention/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu0/power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu2/power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu3/power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu0/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu2/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu3/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu0/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu2/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu3/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu0/power_collapse/idle_enabled - echo 0 > /sys/module/msm_thermal/core_control/enabled - echo 1 > /sys/devices/system/cpu/cpu1/online - echo 1 > /sys/devices/system/cpu/cpu2/online - echo 1 > /sys/devices/system/cpu/cpu3/online - echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - echo "ondemand" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor - echo "ondemand" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor - echo "ondemand" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor - echo 50000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate - echo 90 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold - echo 1 > /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy - echo 4 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor - echo 10 > /sys/devices/system/cpu/cpufreq/ondemand/down_differential - echo 70 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_multi_core - echo 3 > /sys/devices/system/cpu/cpufreq/ondemand/down_differential_multi_core - echo 918000 > /sys/devices/system/cpu/cpufreq/ondemand/optimal_freq - echo 1026000 > /sys/devices/system/cpu/cpufreq/ondemand/sync_freq - echo 80 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_any_cpu_load - chown -h system /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate - chown -h system /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor - chown -h system /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy - echo 384000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - echo 384000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq - echo 384000 > /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq - echo 384000 > /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq - chown -h system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq - chown -h system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - chown -h system /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq - chown -h system /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq - chown -h system /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq - chown -h system /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq - chown -h system /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq - chown -h system /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq - echo 1 > /sys/module/msm_thermal/core_control/enabled - chown -h root.system /sys/devices/system/cpu/mfreq - chmod -h 220 /sys/devices/system/cpu/mfreq - chown -h root.system /sys/devices/system/cpu/cpu1/online - chown -h root.system /sys/devices/system/cpu/cpu2/online - chown -h root.system /sys/devices/system/cpu/cpu3/online - chmod -h 664 /sys/devices/system/cpu/cpu1/online - chmod -h 664 /sys/devices/system/cpu/cpu2/online - chmod -h 664 /sys/devices/system/cpu/cpu3/online - # set DCVS parameters for CPU - echo 40000 > /sys/module/msm_dcvs/cores/cpu0/slack_time_max_us - echo 40000 > /sys/module/msm_dcvs/cores/cpu0/slack_time_min_us - echo 100000 > /sys/module/msm_dcvs/cores/cpu0/em_win_size_min_us - echo 500000 > /sys/module/msm_dcvs/cores/cpu0/em_win_size_max_us - echo 0 > /sys/module/msm_dcvs/cores/cpu0/slack_mode_dynamic - echo 1000000 > /sys/module/msm_dcvs/cores/cpu0/disable_pc_threshold - echo 25000 > /sys/module/msm_dcvs/cores/cpu1/slack_time_max_us - echo 25000 > /sys/module/msm_dcvs/cores/cpu1/slack_time_min_us - echo 100000 > /sys/module/msm_dcvs/cores/cpu1/em_win_size_min_us - echo 500000 > /sys/module/msm_dcvs/cores/cpu1/em_win_size_max_us - echo 0 > /sys/module/msm_dcvs/cores/cpu1/slack_mode_dynamic - echo 1000000 > /sys/module/msm_dcvs/cores/cpu1/disable_pc_threshold - echo 25000 > /sys/module/msm_dcvs/cores/cpu2/slack_time_max_us - echo 25000 > /sys/module/msm_dcvs/cores/cpu2/slack_time_min_us - echo 100000 > /sys/module/msm_dcvs/cores/cpu2/em_win_size_min_us - echo 500000 > /sys/module/msm_dcvs/cores/cpu2/em_win_size_max_us - echo 0 > /sys/module/msm_dcvs/cores/cpu2/slack_mode_dynamic - echo 1000000 > /sys/module/msm_dcvs/cores/cpu2/disable_pc_threshold - echo 25000 > /sys/module/msm_dcvs/cores/cpu3/slack_time_max_us - echo 25000 > /sys/module/msm_dcvs/cores/cpu3/slack_time_min_us - echo 100000 > /sys/module/msm_dcvs/cores/cpu3/em_win_size_min_us - echo 500000 > /sys/module/msm_dcvs/cores/cpu3/em_win_size_max_us - echo 0 > /sys/module/msm_dcvs/cores/cpu3/slack_mode_dynamic - echo 1000000 > /sys/module/msm_dcvs/cores/cpu3/disable_pc_threshold - # set DCVS parameters for GPU - echo 20000 > /sys/module/msm_dcvs/cores/gpu0/slack_time_max_us - echo 20000 > /sys/module/msm_dcvs/cores/gpu0/slack_time_min_us - echo 0 > /sys/module/msm_dcvs/cores/gpu0/slack_mode_dynamic - # set msm_mpdecision parameters - echo 45000 > /sys/module/msm_mpdecision/slack_time_max_us - echo 15000 > /sys/module/msm_mpdecision/slack_time_min_us - echo 100000 > /sys/module/msm_mpdecision/em_win_size_min_us - echo 1000000 > /sys/module/msm_mpdecision/em_win_size_max_us - echo 3 > /sys/module/msm_mpdecision/online_util_pct_min - echo 25 > /sys/module/msm_mpdecision/online_util_pct_max - echo 97 > /sys/module/msm_mpdecision/em_max_util_pct - echo 2 > /sys/module/msm_mpdecision/rq_avg_poll_ms - echo 10 > /sys/module/msm_mpdecision/mp_em_rounding_point_min - echo 85 > /sys/module/msm_mpdecision/mp_em_rounding_point_max - echo 50 > /sys/module/msm_mpdecision/iowait_threshold_pct - #set permissions for the nodes needed by display on/off hook - chown -h system /sys/module/msm_dcvs/cores/cpu0/slack_time_max_us - chown -h system /sys/module/msm_dcvs/cores/cpu0/slack_time_min_us - chown -h system /sys/module/msm_mpdecision/slack_time_max_us - chown -h system /sys/module/msm_mpdecision/slack_time_min_us - chmod -h 664 /sys/module/msm_dcvs/cores/cpu0/slack_time_max_us - chmod -h 664 /sys/module/msm_dcvs/cores/cpu0/slack_time_min_us - chmod -h 664 /sys/module/msm_mpdecision/slack_time_max_us - chmod -h 664 /sys/module/msm_mpdecision/slack_time_min_us - if [ -f /sys/devices/soc0/soc_id ]; then - soc_id=`cat /sys/devices/soc0/soc_id` - else - soc_id=`cat /sys/devices/system/soc/soc0/id` - fi - case "$soc_id" in - "130") - echo 230 > /sys/class/gpio/export - echo 228 > /sys/class/gpio/export - echo 229 > /sys/class/gpio/export - echo "in" > /sys/class/gpio/gpio230/direction - echo "rising" > /sys/class/gpio/gpio230/edge - echo "in" > /sys/class/gpio/gpio228/direction - echo "rising" > /sys/class/gpio/gpio228/edge - echo "in" > /sys/class/gpio/gpio229/direction - echo "rising" > /sys/class/gpio/gpio229/edge - echo 253 > /sys/class/gpio/export - echo 254 > /sys/class/gpio/export - echo 257 > /sys/class/gpio/export - echo 258 > /sys/class/gpio/export - echo 259 > /sys/class/gpio/export - echo "out" > /sys/class/gpio/gpio253/direction - echo "out" > /sys/class/gpio/gpio254/direction - echo "out" > /sys/class/gpio/gpio257/direction - echo "out" > /sys/class/gpio/gpio258/direction - echo "out" > /sys/class/gpio/gpio259/direction - chown -h media /sys/class/gpio/gpio253/value - chown -h media /sys/class/gpio/gpio254/value - chown -h media /sys/class/gpio/gpio257/value - chown -h media /sys/class/gpio/gpio258/value - chown -h media /sys/class/gpio/gpio259/value - chown -h media /sys/class/gpio/gpio253/direction - chown -h media /sys/class/gpio/gpio254/direction - chown -h media /sys/class/gpio/gpio257/direction - chown -h media /sys/class/gpio/gpio258/direction - chown -h media /sys/class/gpio/gpio259/direction - echo 0 > /sys/module/rpm_resources/enable_low_power/vdd_dig - echo 0 > /sys/module/rpm_resources/enable_low_power/vdd_mem - ;; - esac - ;; -esac - -case "$target" in - "msm8974") - echo 4 > /sys/module/lpm_levels/enable_low_power/l2 - echo 1 > /sys/module/msm_pm/modes/cpu0/power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu2/power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu3/power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu0/power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu2/power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu3/power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu0/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu2/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu3/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu0/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu2/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu3/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu0/retention/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/retention/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu2/retention/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu3/retention/idle_enabled - echo 0 > /sys/module/msm_thermal/core_control/enabled - echo 1 > /sys/devices/system/cpu/cpu1/online - echo 1 > /sys/devices/system/cpu/cpu2/online - echo 1 > /sys/devices/system/cpu/cpu3/online - if [ -f /sys/devices/soc0/soc_id ]; then - soc_id=`cat /sys/devices/soc0/soc_id` - else - soc_id=`cat /sys/devices/system/soc/soc0/id` - fi - case "$soc_id" in - "208" | "211" | "214" | "217" | "209" | "212" | "215" | "218" | "194" | "210" | "213" | "216") - for devfreq_gov in /sys/class/devfreq/qcom,cpubw*/governor - do - echo "cpubw_hwmon" > $devfreq_gov - done - echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - echo "interactive" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor - echo "interactive" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor - echo "interactive" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor - echo "20000 1400000:40000 1700000:20000" > /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay - echo 90 > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load - echo 1190400 > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq - echo 1 > /sys/devices/system/cpu/cpufreq/interactive/io_is_busy - echo "85 1500000:90 1800000:70" > /sys/devices/system/cpu/cpufreq/interactive/target_loads - echo 40000 > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time - echo 20 > /sys/module/cpu_boost/parameters/boost_ms - echo 1728000 > /sys/module/cpu_boost/parameters/sync_threshold - echo 100000 > /sys/devices/system/cpu/cpufreq/interactive/sampling_down_factor - echo 1497600 > /sys/module/cpu_boost/parameters/input_boost_freq - echo 40 > /sys/module/cpu_boost/parameters/input_boost_ms - setprop ro.qualcomm.perf.cores_online 2 - ;; - *) - echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - echo "ondemand" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor - echo "ondemand" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor - echo "ondemand" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor - echo 50000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate - echo 90 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold - echo 1 > /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy - echo 2 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor - echo 10 > /sys/devices/system/cpu/cpufreq/ondemand/down_differential - echo 70 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_multi_core - echo 3 > /sys/devices/system/cpu/cpufreq/ondemand/down_differential_multi_core - echo 960000 > /sys/devices/system/cpu/cpufreq/ondemand/optimal_freq - echo 960000 > /sys/devices/system/cpu/cpufreq/ondemand/sync_freq - echo 1190400 > /sys/devices/system/cpu/cpufreq/ondemand/input_boost - echo 80 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_any_cpu_load - ;; - esac - echo 300000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - echo 300000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq - echo 300000 > /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq - echo 300000 > /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq - chown -h system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq - chown -h system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - echo 1 > /sys/module/msm_thermal/core_control/enabled - chown -h root.system /sys/devices/system/cpu/mfreq - chmod -h 220 /sys/devices/system/cpu/mfreq - chown -h root.system /sys/devices/system/cpu/cpu1/online - chown -h root.system /sys/devices/system/cpu/cpu2/online - chown -h root.system /sys/devices/system/cpu/cpu3/online - chmod -h 664 /sys/devices/system/cpu/cpu1/online - chmod -h 664 /sys/devices/system/cpu/cpu2/online - chmod -h 664 /sys/devices/system/cpu/cpu3/online - echo 1 > /dev/cpuctl/apps/cpu.notify_on_migrate - ;; -esac - -case "$target" in - "msm8916") - if [ -f /sys/devices/soc0/soc_id ]; then - soc_id=`cat /sys/devices/soc0/soc_id` - else - soc_id=`cat /sys/devices/system/soc/soc0/id` - fi - case "$soc_id" in - "206" | "247" | "248" | "249" | "250") - echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled - echo 1 > /sys/devices/system/cpu/cpu1/online - echo 1 > /sys/devices/system/cpu/cpu2/online - echo 1 > /sys/devices/system/cpu/cpu3/online - ;; - "239" | "241" | "263") - echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled - echo 10 > /sys/class/net/rmnet0/queues/rx-0/rps_cpus - if [ -f /sys/devices/soc0/platform_subtype_id ]; then - platform_subtype_id=`cat /sys/devices/soc0/platform_subtype_id` - fi - if [ -f /sys/devices/soc0/hw_platform ]; then - hw_platform=`cat /sys/devices/soc0/hw_platform` - fi - case "$soc_id" in - "239") - case "$hw_platform" in - "Surf") - case "$platform_subtype_id" in - "1") - start hbtp - ;; - esac - ;; - "MTP") - case "$platform_subtype_id" in - "3") - start hbtp - ;; - esac - ;; - esac - ;; - esac - ;; - "233" | "240" | "242") - echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled - echo 1 > /sys/devices/system/cpu/cpu1/online - echo 1 > /sys/devices/system/cpu/cpu2/online - echo 1 > /sys/devices/system/cpu/cpu3/online - ;; - esac - ;; -esac - -case "$target" in - "msm8226") - echo 4 > /sys/module/lpm_levels/enable_low_power/l2 - echo 1 > /sys/module/msm_pm/modes/cpu0/power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu2/power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu3/power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu0/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu2/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu3/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu0/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu2/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu3/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu0/power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu2/power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu3/power_collapse/idle_enabled - echo 1 > /sys/devices/system/cpu/cpu1/online - echo 1 > /sys/devices/system/cpu/cpu2/online - echo 1 > /sys/devices/system/cpu/cpu3/online - echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - echo 50000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate - echo 90 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold - echo 1 > /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy - echo 2 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor - echo 10 > /sys/devices/system/cpu/cpufreq/ondemand/down_differential - echo 70 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_multi_core - echo 10 > /sys/devices/system/cpu/cpufreq/ondemand/down_differential_multi_core - echo 787200 > /sys/devices/system/cpu/cpufreq/ondemand/optimal_freq - echo 300000 > /sys/devices/system/cpu/cpufreq/ondemand/sync_freq - echo 80 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_any_cpu_load - echo 300000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - chown -h system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq - chown -h system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - chown -h root.system /sys/devices/system/cpu/cpu1/online - chown -h root.system /sys/devices/system/cpu/cpu2/online - chown -h root.system /sys/devices/system/cpu/cpu3/online - chmod -h 664 /sys/devices/system/cpu/cpu1/online - chmod -h 664 /sys/devices/system/cpu/cpu2/online - chmod -h 664 /sys/devices/system/cpu/cpu3/online - ;; -esac - -case "$target" in - "msm8610") - echo 4 > /sys/module/lpm_levels/enable_low_power/l2 - echo 1 > /sys/module/msm_pm/modes/cpu0/power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu2/power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu3/power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu0/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu2/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu3/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu0/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu2/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu3/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu0/power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu2/power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu3/power_collapse/idle_enabled - echo 1 > /sys/devices/system/cpu/cpu1/online - echo 1 > /sys/devices/system/cpu/cpu2/online - echo 1 > /sys/devices/system/cpu/cpu3/online - echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - echo 50000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate - echo 90 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold - echo 1 > /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy - echo 2 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor - echo 10 > /sys/devices/system/cpu/cpufreq/ondemand/down_differential - echo 70 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_multi_core - echo 10 > /sys/devices/system/cpu/cpufreq/ondemand/down_differential_multi_core - echo 787200 > /sys/devices/system/cpu/cpufreq/ondemand/optimal_freq - echo 300000 > /sys/devices/system/cpu/cpufreq/ondemand/sync_freq - echo 80 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_any_cpu_load - echo 300000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - setprop ro.qualcomm.perf.min_freq 7 - echo 1 > /sys/kernel/mm/ksm/deferred_timer - chown -h system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq - chown -h system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - chown -h root.system /sys/devices/system/cpu/cpu1/online - chown -h root.system /sys/devices/system/cpu/cpu2/online - chown -h root.system /sys/devices/system/cpu/cpu3/online - chmod -h 664 /sys/devices/system/cpu/cpu1/online - chmod -h 664 /sys/devices/system/cpu/cpu2/online - chmod -h 664 /sys/devices/system/cpu/cpu3/online - ;; -esac - -case "$target" in - "msm8916") - - if [ -f /sys/devices/soc0/soc_id ]; then - soc_id=`cat /sys/devices/soc0/soc_id` - else - soc_id=`cat /sys/devices/system/soc/soc0/id` - fi - - # HMP scheduler settings for 8916, 8936, 8939 - echo 2 > /proc/sys/kernel/sched_window_stats_policy - echo 3 > /proc/sys/kernel/sched_ravg_hist_size - - # HMP Task packing settings for 8916, 8936, 8939 - echo 50 > /proc/sys/kernel/sched_small_task - echo 50 > /proc/sys/kernel/sched_mostly_idle_load - echo 10 > /proc/sys/kernel/sched_mostly_idle_nr_run - - # Apply governor settings for 8916 - case "$soc_id" in - "206" | "247" | "248" | "249" | "250") - - # disable thermal core_control to update scaling_min_freq - echo 0 > /sys/module/msm_thermal/core_control/enabled - echo 1 > /sys/devices/system/cpu/cpu0/online - echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - echo 800000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - # enable thermal core_control now - echo 1 > /sys/module/msm_thermal/core_control/enabled - - echo "25000 1094400:50000" > /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay - echo 90 > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load - echo 25000 > /sys/devices/system/cpu/cpufreq/interactive/timer_rate - echo 998400 > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq - echo 0 > /sys/devices/system/cpu/cpufreq/interactive/io_is_busy - echo "1 800000:85 998400:90 1094400:80" > /sys/devices/system/cpu/cpufreq/interactive/target_loads - echo 50000 > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time - echo 50000 > /sys/devices/system/cpu/cpufreq/interactive/sampling_down_factor - - # Bring up all cores online - echo 1 > /sys/devices/system/cpu/cpu1/online - echo 1 > /sys/devices/system/cpu/cpu2/online - echo 1 > /sys/devices/system/cpu/cpu3/online - echo 1 > /sys/devices/system/cpu/cpu4/online - ;; - esac - - # Apply governor settings for 8936 - case "$soc_id" in - "233" | "240" | "242") - - # disable thermal core_control to update scaling_min_freq, interactive gov - echo 0 > /sys/module/msm_thermal/core_control/enabled - echo 1 > /sys/devices/system/cpu/cpu0/online - echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - echo 800000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - # enable thermal core_control now - echo 1 > /sys/module/msm_thermal/core_control/enabled - - echo "25000 1113600:50000" > /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay - echo 90 > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load - echo 25000 > /sys/devices/system/cpu/cpufreq/interactive/timer_rate - echo 960000 > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq - echo 0 > /sys/devices/system/cpu/cpufreq/interactive/io_is_busy - echo "1 800000:85 1113600:90 1267200:80" > /sys/devices/system/cpu/cpufreq/interactive/target_loads - echo 50000 > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time - echo 50000 > /sys/devices/system/cpu/cpufreq/interactive/sampling_down_factor - - # Bring up all cores online - echo 1 > /sys/devices/system/cpu/cpu1/online - echo 1 > /sys/devices/system/cpu/cpu2/online - echo 1 > /sys/devices/system/cpu/cpu3/online - echo 1 > /sys/devices/system/cpu/cpu4/online - ;; - esac - - # Apply governor settings for 8939 - case "$soc_id" in - "239" | "241" | "263") - - for devfreq_gov in /sys/class/devfreq/qcom,cpubw*/governor - do - echo "bw_hwmon" > $devfreq_gov - done - - # disable thermal core_control to update interactive gov settings - echo 0 > /sys/module/msm_thermal/core_control/enabled - - # enable governor for perf cluster - echo 1 > /sys/devices/system/cpu/cpu0/online - echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - echo "25000 1113600:50000" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay - echo 90 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load - echo 25000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate - echo 960000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq - echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy - echo "1 800000:85 1113600:90 1267200:80" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads - echo 50000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time - echo 50000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/sampling_down_factor - echo 800000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - - # enable governor for power cluster - echo 1 > /sys/devices/system/cpu/cpu4/online - echo "interactive" > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor - echo "25000 800000:50000" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/above_hispeed_delay - echo 90 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/go_hispeed_load - echo 25000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/timer_rate - echo 800000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/hispeed_freq - echo 0 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/io_is_busy - echo "1 499200:75 800000:80" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/target_loads - echo 50000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/min_sample_time - echo 50000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/sampling_down_factor - echo 499200 > /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq - - # enable thermal core_control now - echo 1 > /sys/module/msm_thermal/core_control/enabled - - # Bring up all cores online - echo 1 > /sys/devices/system/cpu/cpu1/online - echo 1 > /sys/devices/system/cpu/cpu2/online - echo 1 > /sys/devices/system/cpu/cpu3/online - echo 1 > /sys/devices/system/cpu/cpu4/online - echo 1 > /sys/devices/system/cpu/cpu5/online - echo 1 > /sys/devices/system/cpu/cpu6/online - echo 1 > /sys/devices/system/cpu/cpu7/online - - # HMP scheduler (big.Little cluster related) settings - echo 60 > /proc/sys/kernel/sched_upmigrate - echo 40 > /proc/sys/kernel/sched_downmigrate - ;; - esac - ;; -esac - -case "$target" in - "msm8952") - - #Enable adaptive LMK and set vmpressure_file_min - ProductName=`getprop ro.product.name` - if [ "$ProductName" == "msm8952_32" ] || [ "$ProductName" == "msm8952_32_LMT" ]; then - echo 1 > /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk - echo 53059 > /sys/module/lowmemorykiller/parameters/vmpressure_file_min - elif [ "$ProductName" == "msm8952_64" ] || [ "$ProductName" == "msm8952_64_LMT" ]; then - echo 1 > /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk - echo 81250 > /sys/module/lowmemorykiller/parameters/vmpressure_file_min - fi - - if [ -f /sys/devices/soc0/soc_id ]; then - soc_id=`cat /sys/devices/soc0/soc_id` - else - soc_id=`cat /sys/devices/system/soc/soc0/id` - fi - case "$soc_id" in - "264" | "289") - # Apply Scheduler and Governor settings for 8952 - - # HMP scheduler settings - echo 3 > /proc/sys/kernel/sched_window_stats_policy - echo 3 > /proc/sys/kernel/sched_ravg_hist_size - echo 20000000 > /proc/sys/kernel/sched_ravg_window - - # HMP Task packing settings - echo 20 > /proc/sys/kernel/sched_small_task - echo 30 > /sys/devices/system/cpu/cpu0/sched_mostly_idle_load - echo 30 > /sys/devices/system/cpu/cpu1/sched_mostly_idle_load - echo 30 > /sys/devices/system/cpu/cpu2/sched_mostly_idle_load - echo 30 > /sys/devices/system/cpu/cpu3/sched_mostly_idle_load - echo 30 > /sys/devices/system/cpu/cpu4/sched_mostly_idle_load - echo 30 > /sys/devices/system/cpu/cpu5/sched_mostly_idle_load - echo 30 > /sys/devices/system/cpu/cpu6/sched_mostly_idle_load - echo 30 > /sys/devices/system/cpu/cpu7/sched_mostly_idle_load - - echo 3 > /sys/devices/system/cpu/cpu0/sched_mostly_idle_nr_run - echo 3 > /sys/devices/system/cpu/cpu1/sched_mostly_idle_nr_run - echo 3 > /sys/devices/system/cpu/cpu2/sched_mostly_idle_nr_run - echo 3 > /sys/devices/system/cpu/cpu3/sched_mostly_idle_nr_run - echo 3 > /sys/devices/system/cpu/cpu4/sched_mostly_idle_nr_run - echo 3 > /sys/devices/system/cpu/cpu5/sched_mostly_idle_nr_run - echo 3 > /sys/devices/system/cpu/cpu6/sched_mostly_idle_nr_run - echo 3 > /sys/devices/system/cpu/cpu7/sched_mostly_idle_nr_run - - echo 0 > /sys/devices/system/cpu/cpu0/sched_prefer_idle - echo 0 > /sys/devices/system/cpu/cpu1/sched_prefer_idle - echo 0 > /sys/devices/system/cpu/cpu2/sched_prefer_idle - echo 0 > /sys/devices/system/cpu/cpu3/sched_prefer_idle - echo 0 > /sys/devices/system/cpu/cpu4/sched_prefer_idle - echo 0 > /sys/devices/system/cpu/cpu5/sched_prefer_idle - echo 0 > /sys/devices/system/cpu/cpu6/sched_prefer_idle - echo 0 > /sys/devices/system/cpu/cpu7/sched_prefer_idle - - for devfreq_gov in /sys/class/devfreq/qcom,mincpubw*/governor - do - echo "cpufreq" > $devfreq_gov - done - - for devfreq_gov in /sys/class/devfreq/qcom,cpubw*/governor - do - echo "bw_hwmon" > $devfreq_gov - for cpu_io_percent in /sys/class/devfreq/qcom,cpubw*/bw_hwmon/io_percent - do - echo 20 > $cpu_io_percent - done - for cpu_guard_band in /sys/class/devfreq/qcom,cpubw*/bw_hwmon/guard_band_mbps - do - echo 30 > $cpu_guard_band - done - done - - for gpu_bimc_io_percent in /sys/class/devfreq/qcom,gpubw*/bw_hwmon/io_percent - do - echo 40 > $gpu_bimc_io_percent - done - # disable thermal & BCL core_control to update interactive gov settings - echo 0 > /sys/module/msm_thermal/core_control/enabled - for mode in /sys/devices/soc.0/qcom,bcl.*/mode - do - echo -n disable > $mode - done - for hotplug_mask in /sys/devices/soc.0/qcom,bcl.*/hotplug_mask - do - bcl_hotplug_mask=`cat $hotplug_mask` - echo 0 > $hotplug_mask - done - for hotplug_soc_mask in /sys/devices/soc.0/qcom,bcl.*/hotplug_soc_mask - do - bcl_soc_hotplug_mask=`cat $hotplug_soc_mask` - echo 0 > $hotplug_soc_mask - done - for mode in /sys/devices/soc.0/qcom,bcl.*/mode - do - echo -n enable > $mode - done - - # enable governor for perf cluster - echo 1 > /sys/devices/system/cpu/cpu0/online - echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - echo "19000 1113600:39000" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay - echo 85 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load - echo 20000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate - echo 1113600 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq - echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy - echo "1 960000:85 1113600:90 1344000:80" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads - echo 40000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time - echo 40000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/sampling_down_factor - echo 960000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - - # enable governor for power cluster - echo 1 > /sys/devices/system/cpu/cpu4/online - echo "interactive" > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor - echo 39000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/above_hispeed_delay - echo 90 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/go_hispeed_load - echo 20000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/timer_rate - echo 800000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/hispeed_freq - echo 0 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/io_is_busy - echo "1 800000:90" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/target_loads - echo 40000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/min_sample_time - echo 40000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/sampling_down_factor - echo 800000 > /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq - - # re-enable thermal & BCL core_control now - echo 1 > /sys/module/msm_thermal/core_control/enabled - for mode in /sys/devices/soc.0/qcom,bcl.*/mode - do - echo -n disable > $mode - done - for hotplug_mask in /sys/devices/soc.0/qcom,bcl.*/hotplug_mask - do - echo $bcl_hotplug_mask > $hotplug_mask - done - for hotplug_soc_mask in /sys/devices/soc.0/qcom,bcl.*/hotplug_soc_mask - do - echo $bcl_soc_hotplug_mask > $hotplug_soc_mask - done - for mode in /sys/devices/soc.0/qcom,bcl.*/mode - do - echo -n enable > $mode - done - - # Bring up all cores online - echo 1 > /sys/devices/system/cpu/cpu1/online - echo 1 > /sys/devices/system/cpu/cpu2/online - echo 1 > /sys/devices/system/cpu/cpu3/online - echo 1 > /sys/devices/system/cpu/cpu4/online - echo 1 > /sys/devices/system/cpu/cpu5/online - echo 1 > /sys/devices/system/cpu/cpu6/online - echo 1 > /sys/devices/system/cpu/cpu7/online - - # Keeping Low power modes disabled - echo 1 > /sys/module/lpm_levels/parameters/sleep_disabled - - # HMP scheduler (big.Little cluster related) settings - echo 93 > /proc/sys/kernel/sched_upmigrate - echo 83 > /proc/sys/kernel/sched_downmigrate - - # Enable sched guided freq control - echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_sched_load - echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_migration_notif - echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_sched_load - echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_migration_notif - echo 50000 > /proc/sys/kernel/sched_freq_inc_notify - echo 50000 > /proc/sys/kernel/sched_freq_dec_notify - - # Enable core control - echo 2 > /sys/devices/system/cpu/cpu0/core_ctl/min_cpus - echo 4 > /sys/devices/system/cpu/cpu0/core_ctl/max_cpus - echo 68 > /sys/devices/system/cpu/cpu0/core_ctl/busy_up_thres - echo 40 > /sys/devices/system/cpu/cpu0/core_ctl/busy_down_thres - echo 100 > /sys/devices/system/cpu/cpu0/core_ctl/offline_delay_ms - - # Enable dynamic clock gating - echo 1 > /sys/module/lpm_levels/lpm_workarounds/dynamic_clock_gating - # Enable timer migration to little cluster - echo 1 > /proc/sys/kernel/power_aware_timer_migration - ;; - *) - panel=`cat /sys/class/graphics/fb0/modes` - if [ "${panel:5:1}" == "x" ]; then - panel=${panel:2:3} - else - panel=${panel:2:4} - fi - - # Apply Scheduler and Governor settings for 8976 - # SoC IDs are 266, 274, 277, 278 - - # HMP scheduler (big.Little cluster related) settings - echo 95 > /proc/sys/kernel/sched_upmigrate - echo 85 > /proc/sys/kernel/sched_downmigrate - - if [ $panel -gt 1080 ]; then - echo 2 > /proc/sys/kernel/sched_window_stats_policy - echo 5 > /proc/sys/kernel/sched_ravg_hist_size - else - echo 3 > /proc/sys/kernel/sched_window_stats_policy - echo 3 > /proc/sys/kernel/sched_ravg_hist_size - - echo 0 > /sys/devices/system/cpu/cpu0/sched_prefer_idle - echo 0 > /sys/devices/system/cpu/cpu1/sched_prefer_idle - echo 0 > /sys/devices/system/cpu/cpu2/sched_prefer_idle - echo 0 > /sys/devices/system/cpu/cpu3/sched_prefer_idle - echo 0 > /sys/devices/system/cpu/cpu4/sched_prefer_idle - echo 0 > /sys/devices/system/cpu/cpu5/sched_prefer_idle - echo 0 > /sys/devices/system/cpu/cpu6/sched_prefer_idle - echo 0 > /sys/devices/system/cpu/cpu7/sched_prefer_idle - fi - - echo 3 > /sys/devices/system/cpu/cpu0/sched_mostly_idle_nr_run - echo 3 > /sys/devices/system/cpu/cpu1/sched_mostly_idle_nr_run - echo 3 > /sys/devices/system/cpu/cpu2/sched_mostly_idle_nr_run - echo 3 > /sys/devices/system/cpu/cpu3/sched_mostly_idle_nr_run - echo 3 > /sys/devices/system/cpu/cpu4/sched_mostly_idle_nr_run - echo 3 > /sys/devices/system/cpu/cpu5/sched_mostly_idle_nr_run - echo 3 > /sys/devices/system/cpu/cpu6/sched_mostly_idle_nr_run - echo 3 > /sys/devices/system/cpu/cpu7/sched_mostly_idle_nr_run - - for devfreq_gov in /sys/class/devfreq/qcom,mincpubw*/governor - do - echo "cpufreq" > $devfreq_gov - done - - for devfreq_gov in /sys/class/devfreq/qcom,cpubw*/governor - do - echo "bw_hwmon" > $devfreq_gov - for cpu_io_percent in /sys/class/devfreq/qcom,cpubw*/bw_hwmon/io_percent - do - echo 20 > $cpu_io_percent - done - for cpu_guard_band in /sys/class/devfreq/qcom,cpubw*/bw_hwmon/guard_band_mbps - do - echo 30 > $cpu_guard_band - done - done - - for gpu_bimc_io_percent in /sys/class/devfreq/qcom,gpubw*/bw_hwmon/io_percent - do - echo 40 > $gpu_bimc_io_percent - done - # disable thermal & BCL core_control to update interactive gov settings - echo 0 > /sys/module/msm_thermal/core_control/enabled - for mode in /sys/devices/soc.0/qcom,bcl.*/mode - do - echo -n disable > $mode - done - for hotplug_mask in /sys/devices/soc.0/qcom,bcl.*/hotplug_mask - do - bcl_hotplug_mask=`cat $hotplug_mask` - echo 0 > $hotplug_mask - done - for hotplug_soc_mask in /sys/devices/soc.0/qcom,bcl.*/hotplug_soc_mask - do - bcl_soc_hotplug_mask=`cat $hotplug_soc_mask` - echo 0 > $hotplug_soc_mask - done - for mode in /sys/devices/soc.0/qcom,bcl.*/mode - do - echo -n enable > $mode - done - - # enable governor for power cluster - echo 1 > /sys/devices/system/cpu/cpu0/online - echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - echo 90 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load - echo 20000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate - echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy - echo 40000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time - echo 691200 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - - # enable governor for perf cluster - echo 1 > /sys/devices/system/cpu/cpu4/online - echo "interactive" > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor - echo 85 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/go_hispeed_load - echo 20000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/timer_rate - echo 0 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/io_is_busy - echo 40000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/min_sample_time - echo 40000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/sampling_down_factor - echo 883200 > /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq - - if [ $panel -gt 1080 ]; then - echo 19000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay - echo 1017600 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq - echo "80" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads - echo 1382400 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/hispeed_freq - echo 800000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/max_freq_hysteresis - echo "19000 1382400:39000" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/above_hispeed_delay - echo "85 1382400:90 1747200:80" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/target_loads - # HMP Task packing settings for 8976 - echo 30 > /proc/sys/kernel/sched_small_task - echo 20 > /sys/devices/system/cpu/cpu0/sched_mostly_idle_load - echo 20 > /sys/devices/system/cpu/cpu1/sched_mostly_idle_load - echo 20 > /sys/devices/system/cpu/cpu2/sched_mostly_idle_load - echo 20 > /sys/devices/system/cpu/cpu3/sched_mostly_idle_load - echo 20 > /sys/devices/system/cpu/cpu4/sched_mostly_idle_load - echo 20 > /sys/devices/system/cpu/cpu5/sched_mostly_idle_load - echo 20 > /sys/devices/system/cpu/cpu6/sched_mostly_idle_load - echo 20 > /sys/devices/system/cpu/cpu7/sched_mostly_idle_load - else - echo 39000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay - echo 806400 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq - echo "1 691200:90" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads - echo 1190400 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/hispeed_freq - echo "19000 1190400:39000" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/above_hispeed_delay - echo "85 1190400:90 1747200:80" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/target_loads - # HMP Task packing settings for 8976 - echo 20 > /proc/sys/kernel/sched_small_task - echo 30 > /sys/devices/system/cpu/cpu0/sched_mostly_idle_load - echo 30 > /sys/devices/system/cpu/cpu1/sched_mostly_idle_load - echo 30 > /sys/devices/system/cpu/cpu2/sched_mostly_idle_load - echo 30 > /sys/devices/system/cpu/cpu3/sched_mostly_idle_load - echo 30 > /sys/devices/system/cpu/cpu4/sched_mostly_idle_load - echo 30 > /sys/devices/system/cpu/cpu5/sched_mostly_idle_load - echo 30 > /sys/devices/system/cpu/cpu6/sched_mostly_idle_load - echo 30 > /sys/devices/system/cpu/cpu7/sched_mostly_idle_load - fi - - # re-enable thermal & BCL core_control now - echo 1 > /sys/module/msm_thermal/core_control/enabled - for mode in /sys/devices/soc.0/qcom,bcl.*/mode - do - echo -n disable > $mode - done - for hotplug_mask in /sys/devices/soc.0/qcom,bcl.*/hotplug_mask - do - echo $bcl_hotplug_mask > $hotplug_mask - done - for hotplug_soc_mask in /sys/devices/soc.0/qcom,bcl.*/hotplug_soc_mask - do - echo $bcl_soc_hotplug_mask > $hotplug_soc_mask - done - for mode in /sys/devices/soc.0/qcom,bcl.*/mode - do - echo -n enable > $mode - done - - # Bring up all cores online - echo 1 > /sys/devices/system/cpu/cpu1/online - echo 1 > /sys/devices/system/cpu/cpu2/online - echo 1 > /sys/devices/system/cpu/cpu3/online - echo 1 > /sys/devices/system/cpu/cpu4/online - echo 1 > /sys/devices/system/cpu/cpu5/online - echo 1 > /sys/devices/system/cpu/cpu6/online - echo 1 > /sys/devices/system/cpu/cpu7/online - - #Disable CPU retention modes for 32bit builds - ProductName=`getprop ro.product.name` - if [ "$ProductName" == "msm8952_32" ] || [ "$ProductName" == "msm8952_32_LMT" ]; then - echo N > /sys/module/lpm_levels/system/a72/cpu4/retention/idle_enabled - echo N > /sys/module/lpm_levels/system/a72/cpu5/retention/idle_enabled - echo N > /sys/module/lpm_levels/system/a72/cpu6/retention/idle_enabled - echo N > /sys/module/lpm_levels/system/a72/cpu7/retention/idle_enabled - fi - - # Enable Low power modes - echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled - - # Enable sched guided freq control - echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_sched_load - echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_migration_notif - echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_sched_load - echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_migration_notif - echo 50000 > /proc/sys/kernel/sched_freq_inc_notify - echo 50000 > /proc/sys/kernel/sched_freq_dec_notify - - # Enable core control - echo 2 > /sys/devices/system/cpu/cpu4/core_ctl/min_cpus - echo 4 > /sys/devices/system/cpu/cpu4/core_ctl/max_cpus - echo 68 > /sys/devices/system/cpu/cpu4/core_ctl/busy_up_thres - echo 40 > /sys/devices/system/cpu/cpu4/core_ctl/busy_down_thres - echo 100 > /sys/devices/system/cpu/cpu4/core_ctl/offline_delay_ms - - # Enable timer migration to little cluster - echo 1 > /proc/sys/kernel/power_aware_timer_migration - ;; - esac - ;; -esac - -case "$target" in - "msm8953") - - if [ -f /sys/devices/soc0/soc_id ]; then - soc_id=`cat /sys/devices/soc0/soc_id` - else - soc_id=`cat /sys/devices/system/soc/soc0/id` - fi - - if [ -f /sys/devices/soc0/hw_platform ]; then - hw_platform=`cat /sys/devices/soc0/hw_platform` - else - hw_platform=`cat /sys/devices/system/soc/soc0/hw_platform` - fi - - case "$soc_id" in - "293" | "304" ) - - # Start Host based Touch processing - case "$hw_platform" in - "MTP" | "Surf" | "RCM" ) - #if this directory is present, it means that a - #1200p panel is connected to the device. - dir="/sys/bus/i2c/devices/3-0038" - if [ ! -d "$dir" ]; then - start hbtp - fi - ;; - esac - - #scheduler settings - echo 3 > /proc/sys/kernel/sched_window_stats_policy - echo 3 > /proc/sys/kernel/sched_ravg_hist_size - #task packing settings - echo 0 > /sys/devices/system/cpu/cpu0/sched_static_cpu_pwr_cost - echo 0 > /sys/devices/system/cpu/cpu1/sched_static_cpu_pwr_cost - echo 0 > /sys/devices/system/cpu/cpu2/sched_static_cpu_pwr_cost - echo 0 > /sys/devices/system/cpu/cpu3/sched_static_cpu_pwr_cost - echo 0 > /sys/devices/system/cpu/cpu4/sched_static_cpu_pwr_cost - echo 0 > /sys/devices/system/cpu/cpu5/sched_static_cpu_pwr_cost - echo 0 > /sys/devices/system/cpu/cpu6/sched_static_cpu_pwr_cost - echo 0 > /sys/devices/system/cpu/cpu7/sched_static_cpu_pwr_cost - - #init task load, restrict wakeups to preferred cluster - echo 15 > /proc/sys/kernel/sched_init_task_load - # spill load is set to 100% by default in the kernel - echo 3 > /proc/sys/kernel/sched_spill_nr_run - # Apply inter-cluster load balancer restrictions - echo 1 > /proc/sys/kernel/sched_restrict_cluster_spill - - - for devfreq_gov in /sys/class/devfreq/qcom,mincpubw*/governor - do - echo "cpufreq" > $devfreq_gov - done - - for devfreq_gov in /sys/class/devfreq/soc:qcom,cpubw/governor - do - echo "bw_hwmon" > $devfreq_gov - for cpu_io_percent in /sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/io_percent - do - echo 34 > $cpu_io_percent - done - for cpu_guard_band in /sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/guard_band_mbps - do - echo 0 > $cpu_guard_band - done - for cpu_hist_memory in /sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/hist_memory - do - echo 20 > $cpu_hist_memory - done - for cpu_hyst_length in /sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/hyst_length - do - echo 10 > $cpu_hyst_length - done - for cpu_idle_mbps in /sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/idle_mbps - do - echo 1600 > $cpu_idle_mbps - done - for cpu_low_power_delay in /sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/low_power_delay - do - echo 20 > $cpu_low_power_delay - done - for cpu_low_power_io_percent in /sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/low_power_io_percent - do - echo 34 > $cpu_low_power_io_percent - done - for cpu_mbps_zones in /sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/mbps_zones - do - echo "1611 3221 5859 6445 7104" > $cpu_mbps_zones - done - for cpu_sample_ms in /sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/sample_ms - do - echo 4 > $cpu_sample_ms - done - for cpu_up_scale in /sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/up_scale - do - echo 250 > $cpu_up_scale - done - for cpu_min_freq in /sys/class/devfreq/soc:qcom,cpubw/min_freq - do - echo 1611 > $cpu_min_freq - done - done - - for gpu_bimc_io_percent in /sys/class/devfreq/soc:qcom,gpubw/bw_hwmon/io_percent - do - echo 40 > $gpu_bimc_io_percent - done - - # Configure DCC module to capture critical register contents when device crashes - for DCC_PATH in /sys/bus/platform/devices/*.dcc* - do - echo 0 > $DCC_PATH/enable - echo cap > $DCC_PATH/func_type - echo sram > $DCC_PATH/data_sink - echo 1 > $DCC_PATH/config_reset - - # Register specifies APC CPR closed-loop settled voltage for current voltage corner - echo 0xb1d2c18 1 > $DCC_PATH/config - - # Register specifies SW programmed open-loop voltage for current voltage corner - echo 0xb1d2900 1 > $DCC_PATH/config - - # Register specifies APM switch settings and APM FSM state - echo 0xb1112b0 1 > $DCC_PATH/config - - # Register specifies CPR mode change state and also #online cores input to CPR HW - echo 0xb018798 1 > $DCC_PATH/config - - echo 1 > $DCC_PATH/enable - done - - # disable thermal & BCL core_control to update interactive gov settings - echo 0 > /sys/module/msm_thermal/core_control/enabled - for mode in /sys/devices/soc.0/qcom,bcl.*/mode - do - echo -n disable > $mode - done - for hotplug_mask in /sys/devices/soc.0/qcom,bcl.*/hotplug_mask - do - bcl_hotplug_mask=`cat $hotplug_mask` - echo 0 > $hotplug_mask - done - for hotplug_soc_mask in /sys/devices/soc.0/qcom,bcl.*/hotplug_soc_mask - do - bcl_soc_hotplug_mask=`cat $hotplug_soc_mask` - echo 0 > $hotplug_soc_mask - done - for mode in /sys/devices/soc.0/qcom,bcl.*/mode - do - echo -n enable > $mode - done - - #governor settings - echo 1 > /sys/devices/system/cpu/cpu0/online - echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - echo "19000 1401600:39000" > /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay - echo 85 > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load - echo 20000 > /sys/devices/system/cpu/cpufreq/interactive/timer_rate - echo 1401600 > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq - echo 0 > /sys/devices/system/cpu/cpufreq/interactive/io_is_busy - echo "85 1401600:80" > /sys/devices/system/cpu/cpufreq/interactive/target_loads - echo 39000 > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time - echo 40000 > /sys/devices/system/cpu/cpufreq/interactive/sampling_down_factor - echo 652800 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - - # re-enable thermal & BCL core_control now - echo 1 > /sys/module/msm_thermal/core_control/enabled - for mode in /sys/devices/soc.0/qcom,bcl.*/mode - do - echo -n disable > $mode - done - for hotplug_mask in /sys/devices/soc.0/qcom,bcl.*/hotplug_mask - do - echo $bcl_hotplug_mask > $hotplug_mask - done - for hotplug_soc_mask in /sys/devices/soc.0/qcom,bcl.*/hotplug_soc_mask - do - echo $bcl_soc_hotplug_mask > $hotplug_soc_mask - done - for mode in /sys/devices/soc.0/qcom,bcl.*/mode - do - echo -n enable > $mode - done - - # Bring up all cores online - echo 1 > /sys/devices/system/cpu/cpu1/online - echo 1 > /sys/devices/system/cpu/cpu2/online - echo 1 > /sys/devices/system/cpu/cpu3/online - echo 1 > /sys/devices/system/cpu/cpu4/online - echo 1 > /sys/devices/system/cpu/cpu5/online - echo 1 > /sys/devices/system/cpu/cpu6/online - echo 1 > /sys/devices/system/cpu/cpu7/online - - # Enable low power modes - echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled - - # SMP scheduler - echo 85 > /proc/sys/kernel/sched_upmigrate - echo 85 > /proc/sys/kernel/sched_downmigrate - echo 19 > /proc/sys/kernel/sched_upmigrate_min_nice - - # Enable sched guided freq control - echo 1 > /sys/devices/system/cpu/cpufreq/interactive/use_sched_load - echo 1 > /sys/devices/system/cpu/cpufreq/interactive/use_migration_notif - echo 200000 > /proc/sys/kernel/sched_freq_inc_notify - echo 200000 > /proc/sys/kernel/sched_freq_dec_notify - - # Set Memory parameters - configure_memory_parameters - ;; - esac - ;; -esac - -case "$target" in - "msm8937") - - if [ -f /sys/devices/soc0/soc_id ]; then - soc_id=`cat /sys/devices/soc0/soc_id` - else - soc_id=`cat /sys/devices/system/soc/soc0/id` - fi - - if [ -f /sys/devices/soc0/hw_platform ]; then - hw_platform=`cat /sys/devices/soc0/hw_platform` - else - hw_platform=`cat /sys/devices/system/soc/soc0/hw_platform` - fi - - case "$soc_id" in - "303" | "307" | "308" | "309" | "320" ) - - # Start Host based Touch processing - case "$hw_platform" in - "MTP" | "Surf" | "RCM" ) - start hbtp - ;; - esac - # Apply Scheduler and Governor settings for 8917 / 8920 - - # HMP scheduler settings - echo 3 > /proc/sys/kernel/sched_window_stats_policy - echo 3 > /proc/sys/kernel/sched_ravg_hist_size - echo 20000000 > /proc/sys/kernel/sched_ravg_window - echo 1 > /proc/sys/kernel/sched_restrict_tasks_spread - - #disable sched_boost in 8917 - echo 0 > /proc/sys/kernel/sched_boost - - # HMP Task packing settings - echo 20 > /proc/sys/kernel/sched_small_task - echo 30 > /sys/devices/system/cpu/cpu0/sched_mostly_idle_load - echo 30 > /sys/devices/system/cpu/cpu1/sched_mostly_idle_load - echo 30 > /sys/devices/system/cpu/cpu2/sched_mostly_idle_load - echo 30 > /sys/devices/system/cpu/cpu3/sched_mostly_idle_load - - echo 3 > /sys/devices/system/cpu/cpu0/sched_mostly_idle_nr_run - echo 3 > /sys/devices/system/cpu/cpu1/sched_mostly_idle_nr_run - echo 3 > /sys/devices/system/cpu/cpu2/sched_mostly_idle_nr_run - echo 3 > /sys/devices/system/cpu/cpu3/sched_mostly_idle_nr_run - - echo 0 > /sys/devices/system/cpu/cpu0/sched_prefer_idle - echo 0 > /sys/devices/system/cpu/cpu1/sched_prefer_idle - echo 0 > /sys/devices/system/cpu/cpu2/sched_prefer_idle - echo 0 > /sys/devices/system/cpu/cpu3/sched_prefer_idle - - # core_ctl is not needed for 8917. Disable it. - echo 1 > /sys/devices/system/cpu/cpu0/core_ctl/disable - - for devfreq_gov in /sys/class/devfreq/qcom,mincpubw*/governor - do - echo "cpufreq" > $devfreq_gov - done - - for devfreq_gov in /sys/class/devfreq/soc:qcom,cpubw/governor - do - echo "bw_hwmon" > $devfreq_gov - for cpu_io_percent in /sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/io_percent - do - echo 20 > $cpu_io_percent - done - for cpu_guard_band in /sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/guard_band_mbps - do - echo 30 > $cpu_guard_band - done - done - - for gpu_bimc_io_percent in /sys/class/devfreq/soc:qcom,gpubw/bw_hwmon/io_percent - do - echo 40 > $gpu_bimc_io_percent - done - - # disable thermal core_control to update interactive gov settings - echo 0 > /sys/module/msm_thermal/core_control/enabled - - echo 1 > /sys/devices/system/cpu/cpu0/online - echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - echo "19000 1094400:39000" > /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay - echo 85 > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load - echo 20000 > /sys/devices/system/cpu/cpufreq/interactive/timer_rate - echo 1094400 > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq - echo 0 > /sys/devices/system/cpu/cpufreq/interactive/io_is_busy - echo "1 960000:85 1094400:90" > /sys/devices/system/cpu/cpufreq/interactive/target_loads - echo 40000 > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time - echo 40000 > /sys/devices/system/cpu/cpufreq/interactive/sampling_down_factor - echo 960000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - - # re-enable thermal core_control now - echo 1 > /sys/module/msm_thermal/core_control/enabled - - # Disable L2-GDHS low power modes - echo N > /sys/module/lpm_levels/perf/perf-l2-gdhs/idle_enabled - echo N > /sys/module/lpm_levels/perf/perf-l2-gdhs/suspend_enabled - - # Bring up all cores online - echo 1 > /sys/devices/system/cpu/cpu1/online - echo 1 > /sys/devices/system/cpu/cpu2/online - echo 1 > /sys/devices/system/cpu/cpu3/online - - # Enable low power modes - echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled - - # Enable sched guided freq control - echo 1 > /sys/devices/system/cpu/cpufreq/interactive/use_sched_load - echo 1 > /sys/devices/system/cpu/cpufreq/interactive/use_migration_notif - echo 50000 > /proc/sys/kernel/sched_freq_inc_notify - echo 50000 > /proc/sys/kernel/sched_freq_dec_notify - - # Set rps mask - echo 2 > /sys/class/net/rmnet0/queues/rx-0/rps_cpus - - # Enable dynamic clock gating - echo 1 > /sys/module/lpm_levels/lpm_workarounds/dynamic_clock_gating - # Enable timer migration to little cluster - echo 1 > /proc/sys/kernel/power_aware_timer_migration - # Set Memory parameters - configure_memory_parameters - ;; - *) - ;; - esac - - case "$soc_id" in - "294" | "295" | "313" ) - - # Start Host based Touch processing - case "$hw_platform" in - "MTP" | "Surf" | "RCM" ) - start hbtp - ;; - esac - - # Apply Scheduler and Governor settings for 8937/8940 - - # HMP scheduler settings - echo 3 > /proc/sys/kernel/sched_window_stats_policy - echo 3 > /proc/sys/kernel/sched_ravg_hist_size - echo 20000000 > /proc/sys/kernel/sched_ravg_window - - #disable sched_boost in 8937 - echo 0 > /proc/sys/kernel/sched_boost - - # HMP Task packing settings - echo 20 > /proc/sys/kernel/sched_small_task - echo 30 > /sys/devices/system/cpu/cpu0/sched_mostly_idle_load - echo 30 > /sys/devices/system/cpu/cpu1/sched_mostly_idle_load - echo 30 > /sys/devices/system/cpu/cpu2/sched_mostly_idle_load - echo 30 > /sys/devices/system/cpu/cpu3/sched_mostly_idle_load - echo 30 > /sys/devices/system/cpu/cpu4/sched_mostly_idle_load - echo 30 > /sys/devices/system/cpu/cpu5/sched_mostly_idle_load - echo 30 > /sys/devices/system/cpu/cpu6/sched_mostly_idle_load - echo 30 > /sys/devices/system/cpu/cpu7/sched_mostly_idle_load - - echo 3 > /sys/devices/system/cpu/cpu0/sched_mostly_idle_nr_run - echo 3 > /sys/devices/system/cpu/cpu1/sched_mostly_idle_nr_run - echo 3 > /sys/devices/system/cpu/cpu2/sched_mostly_idle_nr_run - echo 3 > /sys/devices/system/cpu/cpu3/sched_mostly_idle_nr_run - echo 3 > /sys/devices/system/cpu/cpu4/sched_mostly_idle_nr_run - echo 3 > /sys/devices/system/cpu/cpu5/sched_mostly_idle_nr_run - echo 3 > /sys/devices/system/cpu/cpu6/sched_mostly_idle_nr_run - echo 3 > /sys/devices/system/cpu/cpu7/sched_mostly_idle_nr_run - - echo 0 > /sys/devices/system/cpu/cpu0/sched_prefer_idle - echo 0 > /sys/devices/system/cpu/cpu1/sched_prefer_idle - echo 0 > /sys/devices/system/cpu/cpu2/sched_prefer_idle - echo 0 > /sys/devices/system/cpu/cpu3/sched_prefer_idle - echo 0 > /sys/devices/system/cpu/cpu4/sched_prefer_idle - echo 0 > /sys/devices/system/cpu/cpu5/sched_prefer_idle - echo 0 > /sys/devices/system/cpu/cpu6/sched_prefer_idle - echo 0 > /sys/devices/system/cpu/cpu7/sched_prefer_idle - - for devfreq_gov in /sys/class/devfreq/qcom,mincpubw*/governor - do - echo "cpufreq" > $devfreq_gov - done - - for devfreq_gov in /sys/class/devfreq/soc:qcom,cpubw/governor - do - echo "bw_hwmon" > $devfreq_gov - for cpu_io_percent in /sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/io_percent - do - echo 20 > $cpu_io_percent - done - for cpu_guard_band in /sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/guard_band_mbps - do - echo 30 > $cpu_guard_band - done - done - - for gpu_bimc_io_percent in /sys/class/devfreq/soc:qcom,gpubw/bw_hwmon/io_percent - do - echo 40 > $gpu_bimc_io_percent - done - - # disable thermal core_control to update interactive gov and core_ctl settings - echo 0 > /sys/module/msm_thermal/core_control/enabled - - # enable governor for perf cluster - echo 1 > /sys/devices/system/cpu/cpu0/online - echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - echo "19000 1094400:39000" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay - echo 85 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load - echo 20000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate - echo 1094400 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq - echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy - echo "1 960000:85 1094400:90 1344000:80" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads - echo 40000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time - echo 40000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/sampling_down_factor - echo 960000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - - # enable governor for power cluster - echo 1 > /sys/devices/system/cpu/cpu4/online - echo "interactive" > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor - echo 39000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/above_hispeed_delay - echo 90 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/go_hispeed_load - echo 20000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/timer_rate - echo 768000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/hispeed_freq - echo 0 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/io_is_busy - echo "1 768000:90" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/target_loads - echo 40000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/min_sample_time - echo 40000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/sampling_down_factor - echo 768000 > /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq - - # Disable L2-GDHS low power modes - echo N > /sys/module/lpm_levels/system/pwr/pwr-l2-gdhs/idle_enabled - echo N > /sys/module/lpm_levels/system/pwr/pwr-l2-gdhs/suspend_enabled - echo N > /sys/module/lpm_levels/system/perf/perf-l2-gdhs/idle_enabled - echo N > /sys/module/lpm_levels/system/perf/perf-l2-gdhs/suspend_enabled - - # Bring up all cores online - echo 1 > /sys/devices/system/cpu/cpu1/online - echo 1 > /sys/devices/system/cpu/cpu2/online - echo 1 > /sys/devices/system/cpu/cpu3/online - echo 1 > /sys/devices/system/cpu/cpu4/online - echo 1 > /sys/devices/system/cpu/cpu5/online - echo 1 > /sys/devices/system/cpu/cpu6/online - echo 1 > /sys/devices/system/cpu/cpu7/online - - # Enable low power modes - echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled - - # HMP scheduler (big.Little cluster related) settings - echo 93 > /proc/sys/kernel/sched_upmigrate - echo 83 > /proc/sys/kernel/sched_downmigrate - - # Enable sched guided freq control - echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_sched_load - echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_migration_notif - echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_sched_load - echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_migration_notif - echo 50000 > /proc/sys/kernel/sched_freq_inc_notify - echo 50000 > /proc/sys/kernel/sched_freq_dec_notify - - # Enable core control - echo 2 > /sys/devices/system/cpu/cpu0/core_ctl/min_cpus - echo 4 > /sys/devices/system/cpu/cpu0/core_ctl/max_cpus - echo 68 > /sys/devices/system/cpu/cpu0/core_ctl/busy_up_thres - echo 40 > /sys/devices/system/cpu/cpu0/core_ctl/busy_down_thres - echo 100 > /sys/devices/system/cpu/cpu0/core_ctl/offline_delay_ms - echo 1 > /sys/devices/system/cpu/cpu0/core_ctl/is_big_cluster - - # re-enable thermal core_control - echo 1 > /sys/module/msm_thermal/core_control/enabled - - # Enable dynamic clock gating - echo 1 > /sys/module/lpm_levels/lpm_workarounds/dynamic_clock_gating - # Enable timer migration to little cluster - echo 1 > /proc/sys/kernel/power_aware_timer_migration - # Set Memory parameters - configure_memory_parameters - ;; - *) - - ;; - esac - ;; -esac - -case "$target" in - "sdm660") - - if [ -f /sys/devices/soc0/soc_id ]; then - soc_id=`cat /sys/devices/soc0/soc_id` - else - soc_id=`cat /sys/devices/system/soc/soc0/id` - fi - - if [ -f /sys/devices/soc0/hw_platform ]; then - hw_platform=`cat /sys/devices/soc0/hw_platform` - else - hw_platform=`cat /sys/devices/system/soc/soc0/hw_platform` - fi - - panel=`cat /sys/class/graphics/fb0/modes` - if [ "${panel:5:1}" == "x" ]; then - panel=${panel:2:3} - else - panel=${panel:2:4} - fi - - if [ $panel -gt 1080 ]; then - echo 2 > /proc/sys/kernel/sched_window_stats_policy - echo 5 > /proc/sys/kernel/sched_ravg_hist_size - else - echo 3 > /proc/sys/kernel/sched_window_stats_policy - echo 3 > /proc/sys/kernel/sched_ravg_hist_size - fi - #Apply settings for sdm660 - case "$soc_id" in - "317" | "324" | "325" | "326" ) - - echo 2 > /sys/devices/system/cpu/cpu4/core_ctl/min_cpus - echo 60 > /sys/devices/system/cpu/cpu4/core_ctl/busy_up_thres - echo 30 > /sys/devices/system/cpu/cpu4/core_ctl/busy_down_thres - echo 100 > /sys/devices/system/cpu/cpu4/core_ctl/offline_delay_ms - echo 1 > /sys/devices/system/cpu/cpu4/core_ctl/is_big_cluster - echo 4 > /sys/devices/system/cpu/cpu4/core_ctl/task_thres - - # Setting b.L scheduler parameters - echo 96 > /proc/sys/kernel/sched_upmigrate - echo 90 > /proc/sys/kernel/sched_downmigrate - echo 200 > /proc/sys/kernel/sched_group_upmigrate - echo 180 > /proc/sys/kernel/sched_group_downmigrate - echo 0 > /proc/sys/kernel/sched_select_prev_cpu_us - echo 400000 > /proc/sys/kernel/sched_freq_inc_notify - echo 400000 > /proc/sys/kernel/sched_freq_dec_notify - echo 5 > /proc/sys/kernel/sched_spill_nr_run - echo 1 > /proc/sys/kernel/sched_restrict_cluster_spill - echo 100000 > /proc/sys/kernel/sched_short_burst_ns - - # disable thermal bcl hotplug to switch governor - echo 0 > /sys/module/msm_thermal/core_control/enabled - - # online CPU0 - echo 1 > /sys/devices/system/cpu/cpu0/online - # configure governor settings for little cluster - echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_sched_load - echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_migration_notif - echo "19000 1401600:39000" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay - echo 90 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load - echo 20000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate - echo 1401600 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq - echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy - echo "85 1747200:95" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads - echo 39000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time - echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/max_freq_hysteresis - echo 633600 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/ignore_hispeed_on_notif - echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/fast_ramp_down - # online CPU4 - echo 1 > /sys/devices/system/cpu/cpu4/online - # configure governor settings for big cluster - echo "interactive" > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor - echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_sched_load - echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_migration_notif - echo "19000 1401600:39000" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/above_hispeed_delay - echo 90 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/go_hispeed_load - echo 20000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/timer_rate - echo 1401600 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/hispeed_freq - echo 0 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/io_is_busy - echo "85 1401600:90 2150400:95" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/target_loads - echo 39000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/min_sample_time - echo 59000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/max_freq_hysteresis - echo 1113600 > /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq - echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/ignore_hispeed_on_notif - echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/fast_ramp_down - - # bring all cores online - echo 1 > /sys/devices/system/cpu/cpu0/online - echo 1 > /sys/devices/system/cpu/cpu1/online - echo 1 > /sys/devices/system/cpu/cpu2/online - echo 1 > /sys/devices/system/cpu/cpu3/online - echo 1 > /sys/devices/system/cpu/cpu4/online - echo 1 > /sys/devices/system/cpu/cpu5/online - echo 1 > /sys/devices/system/cpu/cpu6/online - echo 1 > /sys/devices/system/cpu/cpu7/online - - # configure LPM - echo N > /sys/module/lpm_levels/system/pwr/cpu0/ret/idle_enabled - echo N > /sys/module/lpm_levels/system/pwr/cpu1/ret/idle_enabled - echo N > /sys/module/lpm_levels/system/pwr/cpu2/ret/idle_enabled - echo N > /sys/module/lpm_levels/system/pwr/cpu3/ret/idle_enabled - echo N > /sys/module/lpm_levels/system/perf/cpu4/ret/idle_enabled - echo N > /sys/module/lpm_levels/system/perf/cpu5/ret/idle_enabled - echo N > /sys/module/lpm_levels/system/perf/cpu6/ret/idle_enabled - echo N > /sys/module/lpm_levels/system/perf/cpu7/ret/idle_enabled - echo N > /sys/module/lpm_levels/system/pwr/pwr-l2-dynret/idle_enabled - echo N > /sys/module/lpm_levels/system/perf/perf-l2-dynret/idle_enabled - # enable LPM - echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled - - # re-enable thermal and BCL hotplug - echo 1 > /sys/module/msm_thermal/core_control/enabled - - # Set Memory parameters - configure_memory_parameters - - # Enable bus-dcvs - for cpubw in /sys/class/devfreq/*qcom,cpubw* - do - echo "bw_hwmon" > $cpubw/governor - echo 50 > $cpubw/polling_interval - echo 762 > $cpubw/min_freq - echo "1525 3143 5859 7759 9887 10327 11863 13763" > $cpubw/bw_hwmon/mbps_zones - echo 4 > $cpubw/bw_hwmon/sample_ms - echo 85 > $cpubw/bw_hwmon/io_percent - echo 100 > $cpubw/bw_hwmon/decay_rate - echo 50 > $cpubw/bw_hwmon/bw_step - echo 20 > $cpubw/bw_hwmon/hist_memory - echo 0 > $cpubw/bw_hwmon/hyst_length - echo 80 > $cpubw/bw_hwmon/down_thres - echo 0 > $cpubw/bw_hwmon/low_power_ceil_mbps - echo 34 > $cpubw/bw_hwmon/low_power_io_percent - echo 20 > $cpubw/bw_hwmon/low_power_delay - echo 0 > $cpubw/bw_hwmon/guard_band_mbps - echo 250 > $cpubw/bw_hwmon/up_scale - echo 1600 > $cpubw/bw_hwmon/idle_mbps - done - - for memlat in /sys/class/devfreq/*qcom,memlat-cpu* - do - echo "mem_latency" > $memlat/governor - echo 10 > $memlat/polling_interval - echo 400 > $memlat/mem_latency/ratio_ceil - done - echo "cpufreq" > /sys/class/devfreq/soc:qcom,mincpubw/governor - - - # Start Host based Touch processing - case "$hw_platform" in - "MTP" | "Surf" | "RCM" | "QRD" ) - start hbtp - ;; - esac - ;; - esac - #Apply settings for sdm630 - case "$soc_id" in - "318" | "327" ) - - # Start Host based Touch processing - case "$hw_platform" in - "MTP" | "Surf" | "RCM" | "QRD" ) - start hbtp - ;; - esac - - # Setting b.L scheduler parameters - echo 85 > /proc/sys/kernel/sched_upmigrate - echo 85 > /proc/sys/kernel/sched_downmigrate - echo 900 > /proc/sys/kernel/sched_group_upmigrate - echo 900 > /proc/sys/kernel/sched_group_downmigrate - echo 0 > /proc/sys/kernel/sched_select_prev_cpu_us - echo 400000 > /proc/sys/kernel/sched_freq_inc_notify - echo 400000 > /proc/sys/kernel/sched_freq_dec_notify - echo 3 > /proc/sys/kernel/sched_spill_nr_run - - #init task load, restrict wakeups to preferred cluster - echo 15 > /proc/sys/kernel/sched_init_task_load - echo 1 > /proc/sys/kernel/sched_restrict_cluster_spill - echo 50000 > /proc/sys/kernel/sched_short_burst_ns - - # disable thermal bcl hotplug to switch governor - echo 0 > /sys/module/msm_thermal/core_control/enabled - for mode in /sys/devices/soc.0/qcom,bcl.*/mode - do - echo -n disable > $mode - done - for hotplug_mask in /sys/devices/soc.0/qcom,bcl.*/hotplug_mask - do - bcl_hotplug_mask=`cat $hotplug_mask` - echo 0 > $hotplug_mask - done - for hotplug_soc_mask in /sys/devices/soc.0/qcom,bcl.*/hotplug_soc_mask - do - bcl_soc_hotplug_mask=`cat $hotplug_soc_mask` - echo 0 > $hotplug_soc_mask - done - for mode in /sys/devices/soc.0/qcom,bcl.*/mode - do - echo -n enable > $mode - done - - # online CPU0 - echo 1 > /sys/devices/system/cpu/cpu0/online - # configure governor settings for Big cluster(CPU0 to CPU3) - echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_sched_load - echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_migration_notif - echo "19000 1344000:39000" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay - echo 85 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load - echo 20000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate - echo 1344000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq - echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy - echo "85 1344000:80" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads - echo 39000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time - echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/max_freq_hysteresis - echo 787200 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/ignore_hispeed_on_notif - - # online CPU4 - echo 1 > /sys/devices/system/cpu/cpu4/online - # configure governor settings for Little cluster(CPU4 to CPU7) - echo "interactive" > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor - echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_sched_load - echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_migration_notif - echo "19000 1094400:39000" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/above_hispeed_delay - echo 85 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/go_hispeed_load - echo 20000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/timer_rate - echo 1094400 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/hispeed_freq - echo 0 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/io_is_busy - echo "85 1094400:80" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/target_loads - echo 39000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/min_sample_time - echo 0 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/max_freq_hysteresis - echo 614400 > /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq - echo 0 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/ignore_hispeed_on_notif - - # bring all cores online - echo 1 > /sys/devices/system/cpu/cpu0/online - echo 1 > /sys/devices/system/cpu/cpu1/online - echo 1 > /sys/devices/system/cpu/cpu2/online - echo 1 > /sys/devices/system/cpu/cpu3/online - echo 1 > /sys/devices/system/cpu/cpu4/online - echo 1 > /sys/devices/system/cpu/cpu5/online - echo 1 > /sys/devices/system/cpu/cpu6/online - echo 1 > /sys/devices/system/cpu/cpu7/online - - # configure LPM - echo N > /sys/module/lpm_levels/system/perf/cpu0/ret/idle_enabled - echo N > /sys/module/lpm_levels/system/perf/cpu1/ret/idle_enabled - echo N > /sys/module/lpm_levels/system/perf/cpu2/ret/idle_enabled - echo N > /sys/module/lpm_levels/system/perf/cpu3/ret/idle_enabled - echo N > /sys/module/lpm_levels/system/pwr/cpu4/ret/idle_enabled - echo N > /sys/module/lpm_levels/system/pwr/cpu5/ret/idle_enabled - echo N > /sys/module/lpm_levels/system/pwr/cpu6/ret/idle_enabled - echo N > /sys/module/lpm_levels/system/pwr/cpu7/ret/idle_enabled - echo N > /sys/module/lpm_levels/system/pwr/pwr-l2-dynret/idle_enabled - echo N > /sys/module/lpm_levels/system/perf/perf-l2-dynret/idle_enabled - # enable LPM - echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled - - # re-enable thermal and BCL hotplug - echo 1 > /sys/module/msm_thermal/core_control/enabled - for mode in /sys/devices/soc.0/qcom,bcl.*/mode - do - echo -n disable > $mode - done - for hotplug_mask in /sys/devices/soc.0/qcom,bcl.*/hotplug_mask - do - echo $bcl_hotplug_mask > $hotplug_mask - done - for hotplug_soc_mask in /sys/devices/soc.0/qcom,bcl.*/hotplug_soc_mask - do - echo $bcl_soc_hotplug_mask > $hotplug_soc_mask - done - for mode in /sys/devices/soc.0/qcom,bcl.*/mode - do - echo -n enable > $mode - done - - # Set Memory parameters - configure_memory_parameters - - # Enable bus-dcvs - for cpubw in /sys/class/devfreq/*qcom,cpubw* - do - echo "bw_hwmon" > $cpubw/governor - echo 50 > $cpubw/polling_interval - echo 762 > $cpubw/min_freq - echo "1525 3143 4173 5195 5859 7759 9887 10327" > $cpubw/bw_hwmon/mbps_zones - echo 4 > $cpubw/bw_hwmon/sample_ms - echo 85 > $cpubw/bw_hwmon/io_percent - echo 20 > $cpubw/bw_hwmon/hist_memory - echo 0 > $cpubw/bw_hwmon/hyst_length - echo 100 > $cpubw/bw_hwmon/decay_rate - echo 50 > $cpubw/bw_hwmon/bw_step - echo 80 > $cpubw/bw_hwmon/down_thres - echo 0 > $cpubw/bw_hwmon/low_power_ceil_mbps - echo 50 > $cpubw/bw_hwmon/low_power_io_percent - echo 20 > $cpubw/bw_hwmon/low_power_delay - echo 0 > $cpubw/bw_hwmon/guard_band_mbps - echo 250 > $cpubw/bw_hwmon/up_scale - echo 1600 > $cpubw/bw_hwmon/idle_mbps - done - - for memlat in /sys/class/devfreq/*qcom,memlat-cpu* - do - echo "mem_latency" > $memlat/governor - echo 10 > $memlat/polling_interval - echo 400 > $memlat/mem_latency/ratio_ceil - done - - echo "cpufreq" > /sys/class/devfreq/soc:qcom,mincpubw/governor - ;; - esac - ;; -esac - -case "$target" in - "apq8084") - echo 4 > /sys/module/lpm_levels/enable_low_power/l2 - echo 1 > /sys/module/msm_pm/modes/cpu0/power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu2/power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu3/power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu0/power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu2/power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu3/power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu0/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu2/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu3/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu0/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu2/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu3/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu0/retention/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/retention/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu2/retention/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu3/retention/idle_enabled - echo 0 > /sys/module/msm_thermal/core_control/enabled - echo 1 > /sys/devices/system/cpu/cpu1/online - echo 1 > /sys/devices/system/cpu/cpu2/online - echo 1 > /sys/devices/system/cpu/cpu3/online - for devfreq_gov in /sys/class/devfreq/qcom,cpubw*/governor - do - echo "cpubw_hwmon" > $devfreq_gov - done - echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - echo "interactive" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor - echo "interactive" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor - echo "interactive" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor - echo "20000 1400000:40000 1700000:20000" > /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay - echo 90 > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load - echo 1497600 > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq - echo "85 1500000:90 1800000:70" > /sys/devices/system/cpu/cpufreq/interactive/target_loads - echo 40000 > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time - echo 20 > /sys/module/cpu_boost/parameters/boost_ms - echo 1728000 > /sys/module/cpu_boost/parameters/sync_threshold - echo 100000 > /sys/devices/system/cpu/cpufreq/interactive/sampling_down_factor - echo 1497600 > /sys/module/cpu_boost/parameters/input_boost_freq - echo 40 > /sys/module/cpu_boost/parameters/input_boost_ms - echo 1 > /dev/cpuctl/apps/cpu.notify_on_migrate - echo 300000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - echo 300000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq - echo 300000 > /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq - echo 300000 > /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq - echo 1 > /sys/module/msm_thermal/core_control/enabled - setprop ro.qualcomm.perf.cores_online 2 - chown -h system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq - chown -h system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - chown -h root.system /sys/devices/system/cpu/mfreq - chmod -h 220 /sys/devices/system/cpu/mfreq - chown -h root.system /sys/devices/system/cpu/cpu1/online - chown -h root.system /sys/devices/system/cpu/cpu2/online - chown -h root.system /sys/devices/system/cpu/cpu3/online - chmod -h 664 /sys/devices/system/cpu/cpu1/online - chmod -h 664 /sys/devices/system/cpu/cpu2/online - chmod -h 664 /sys/devices/system/cpu/cpu3/online - ;; -esac - -case "$target" in - "mpq8092") - echo 4 > /sys/module/lpm_levels/enable_low_power/l2 - echo 1 > /sys/module/msm_pm/modes/cpu0/power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu2/power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu3/power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu0/power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu2/power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu3/power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu0/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu2/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu3/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/msm_pm/modes/cpu0/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu2/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu3/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu0/retention/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu1/retention/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu2/retention/idle_enabled - echo 1 > /sys/module/msm_pm/modes/cpu3/retention/idle_enabled - echo 0 > /sys/module/msm_thermal/core_control/enabled - echo 1 > /sys/devices/system/cpu/cpu1/online - echo 1 > /sys/devices/system/cpu/cpu2/online - echo 1 > /sys/devices/system/cpu/cpu3/online - echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - echo "ondemand" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor - echo "ondemand" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor - echo "ondemand" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor - echo 50000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate - echo 90 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold - echo 1 > /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy - echo 300000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - echo 300000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq - echo 300000 > /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq - echo 300000 > /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq - echo 1 > /sys/module/msm_thermal/core_control/enabled - chown -h system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq - chown -h system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - chown -h root.system /sys/devices/system/cpu/mfreq - chmod -h 220 /sys/devices/system/cpu/mfreq - chown -h root.system /sys/devices/system/cpu/cpu1/online - chown -h root.system /sys/devices/system/cpu/cpu2/online - chown -h root.system /sys/devices/system/cpu/cpu3/online - chmod -h 664 /sys/devices/system/cpu/cpu1/online - chmod -h 664 /sys/devices/system/cpu/cpu2/online - chmod -h 664 /sys/devices/system/cpu/cpu3/online - ;; -esac - -case "$target" in - "msm8992") - # disable thermal bcl hotplug to switch governor - echo 0 > /sys/module/msm_thermal/core_control/enabled - echo -n disable > /sys/devices/soc.*/qcom,bcl.*/mode - bcl_hotplug_mask=`cat /sys/devices/soc.*/qcom,bcl.*/hotplug_mask` - echo 0 > /sys/devices/soc.*/qcom,bcl.*/hotplug_mask - echo -n enable > /sys/devices/soc.*/qcom,bcl.*/mode - echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled - # configure governor settings for little cluster - echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_sched_load - echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_migration_notif - echo 19000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay - echo 90 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load - echo 20000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate - echo 960000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq - echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy - echo 80 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads - echo 40000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time - echo 80000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/max_freq_hysteresis - echo 384000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - # online CPU4 - echo 1 > /sys/devices/system/cpu/cpu4/online - # configure governor settings for big cluster - echo "interactive" > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor - echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_sched_load - echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_migration_notif - echo 19000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/above_hispeed_delay - echo 90 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/go_hispeed_load - echo 20000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/timer_rate - echo 1536000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/hispeed_freq - echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/io_is_busy - echo 85 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/target_loads - echo 40000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/min_sample_time - echo 80000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/max_freq_hysteresis - echo 384000 > /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq - # re-enable thermal and BCL hotplug - echo 1 > /sys/module/msm_thermal/core_control/enabled - echo -n disable > /sys/devices/soc.*/qcom,bcl.*/mode - echo $bcl_hotplug_mask > /sys/devices/soc.*/qcom,bcl.*/hotplug_mask - echo $bcl_soc_hotplug_mask > /sys/devices/soc.*/qcom,bcl.*/hotplug_soc_mask - echo -n enable > /sys/devices/soc.*/qcom,bcl.*/mode - # plugin remaining A57s - echo 1 > /sys/devices/system/cpu/cpu5/online - # input boost configuration - echo 0:1248000 > /sys/module/cpu_boost/parameters/input_boost_freq - echo 40 > /sys/module/cpu_boost/parameters/input_boost_ms - # Enable task migration fixups in the scheduler - echo 1 > /proc/sys/kernel/sched_migration_fixup - for devfreq_gov in /sys/class/devfreq/qcom,cpubw*/governor - do - echo "bw_hwmon" > $devfreq_gov - done - #enable rps static configuration - echo 8 > /sys/class/net/rmnet_ipa0/queues/rx-0/rps_cpus - echo 30 > /proc/sys/kernel/sched_small_task - ;; -esac - -case "$target" in - "msm8994") - # ensure at most one A57 is online when thermal hotplug is disabled - echo 0 > /sys/devices/system/cpu/cpu5/online - echo 0 > /sys/devices/system/cpu/cpu6/online - echo 0 > /sys/devices/system/cpu/cpu7/online - # in case CPU4 is online, limit its frequency - echo 960000 > /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq - # Limit A57 max freq from msm_perf module in case CPU 4 is offline - echo "4:960000 5:960000 6:960000 7:960000" > /sys/module/msm_performance/parameters/cpu_max_freq - # disable thermal bcl hotplug to switch governor - echo 0 > /sys/module/msm_thermal/core_control/enabled - for mode in /sys/devices/soc.0/qcom,bcl.*/mode - do - echo -n disable > $mode - done - for hotplug_mask in /sys/devices/soc.0/qcom,bcl.*/hotplug_mask - do - bcl_hotplug_mask=`cat $hotplug_mask` - echo 0 > $hotplug_mask - done - for hotplug_soc_mask in /sys/devices/soc.0/qcom,bcl.*/hotplug_soc_mask - do - bcl_soc_hotplug_mask=`cat $hotplug_soc_mask` - echo 0 > $hotplug_soc_mask - done - for mode in /sys/devices/soc.0/qcom,bcl.*/mode - do - echo -n enable > $mode - done - # configure governor settings for little cluster - echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_sched_load - echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_migration_notif - echo 19000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay - echo 90 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load - echo 20000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate - echo 960000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq - echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy - echo 80 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads - echo 40000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time - echo 80000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/max_freq_hysteresis - echo 384000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - # online CPU4 - echo 1 > /sys/devices/system/cpu/cpu4/online - # Best effort limiting for first time boot if msm_performance module is absent - echo 960000 > /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq - # configure governor settings for big cluster - echo "interactive" > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor - echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_sched_load - echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_migration_notif - echo "19000 1400000:39000 1700000:19000" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/above_hispeed_delay - echo 90 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/go_hispeed_load - echo 20000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/timer_rate - echo 1248000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/hispeed_freq - echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/io_is_busy - echo "85 1500000:90 1800000:70" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/target_loads - echo 40000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/min_sample_time - echo 80000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/max_freq_hysteresis - echo 384000 > /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq - # restore A57's max - cat /sys/devices/system/cpu/cpu4/cpufreq/cpuinfo_max_freq > /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq - # re-enable thermal and BCL hotplug - echo 1 > /sys/module/msm_thermal/core_control/enabled - for mode in /sys/devices/soc.0/qcom,bcl.*/mode - do - echo -n disable > $mode - done - for hotplug_mask in /sys/devices/soc.0/qcom,bcl.*/hotplug_mask - do - echo $bcl_hotplug_mask > $hotplug_mask - done - for hotplug_soc_mask in /sys/devices/soc.0/qcom,bcl.*/hotplug_soc_mask - do - echo $bcl_soc_hotplug_mask > $hotplug_soc_mask - done - for mode in /sys/devices/soc.0/qcom,bcl.*/mode - do - echo -n enable > $mode - done - # plugin remaining A57s - echo 1 > /sys/devices/system/cpu/cpu5/online - echo 1 > /sys/devices/system/cpu/cpu6/online - echo 1 > /sys/devices/system/cpu/cpu7/online - echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled - # Restore CPU 4 max freq from msm_performance - echo "4:4294967295 5:4294967295 6:4294967295 7:4294967295" > /sys/module/msm_performance/parameters/cpu_max_freq - # input boost configuration - echo 0:1344000 > /sys/module/cpu_boost/parameters/input_boost_freq - echo 40 > /sys/module/cpu_boost/parameters/input_boost_ms - # Setting b.L scheduler parameters - echo 1 > /proc/sys/kernel/sched_migration_fixup - echo 30 > /proc/sys/kernel/sched_small_task - echo 20 > /proc/sys/kernel/sched_mostly_idle_load - echo 3 > /proc/sys/kernel/sched_mostly_idle_nr_run - echo 99 > /proc/sys/kernel/sched_upmigrate - echo 85 > /proc/sys/kernel/sched_downmigrate - echo 400000 > /proc/sys/kernel/sched_freq_inc_notify - echo 400000 > /proc/sys/kernel/sched_freq_dec_notify - #enable rps static configuration - echo 8 > /sys/class/net/rmnet_ipa0/queues/rx-0/rps_cpus - for devfreq_gov in /sys/class/devfreq/qcom,cpubw*/governor - do - echo "bw_hwmon" > $devfreq_gov - done - ;; -esac - -case "$target" in - "msm8996") - # disable thermal bcl hotplug to switch governor - echo 0 > /sys/module/msm_thermal/core_control/enabled - echo -n disable > /sys/devices/soc/soc:qcom,bcl/mode - bcl_hotplug_mask=`cat /sys/devices/soc/soc:qcom,bcl/hotplug_mask` - echo 0 > /sys/devices/soc/soc:qcom,bcl/hotplug_mask - bcl_soc_hotplug_mask=`cat /sys/devices/soc/soc:qcom,bcl/hotplug_soc_mask` - echo 0 > /sys/devices/soc/soc:qcom,bcl/hotplug_soc_mask - echo -n enable > /sys/devices/soc/soc:qcom,bcl/mode - - # Enable Adaptive LMK - echo 1 > /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk - echo 81250 > /sys/module/lowmemorykiller/parameters/vmpressure_file_min - # configure governor settings for little cluster - echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_sched_load - echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_migration_notif - echo 19000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay - echo 90 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load - echo 20000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate - echo 960000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq - echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy - echo 80 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads - echo 19000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time - echo 79000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/max_freq_hysteresis - echo 300000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/ignore_hispeed_on_notif - # online CPU2 - echo 1 > /sys/devices/system/cpu/cpu2/online - # configure governor settings for big cluster - echo "interactive" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor - echo 1 > /sys/devices/system/cpu/cpu2/cpufreq/interactive/use_sched_load - echo 1 > /sys/devices/system/cpu/cpu2/cpufreq/interactive/use_migration_notif - echo "19000 1400000:39000 1700000:19000 2100000:79000" > /sys/devices/system/cpu/cpu2/cpufreq/interactive/above_hispeed_delay - echo 90 > /sys/devices/system/cpu/cpu2/cpufreq/interactive/go_hispeed_load - echo 20000 > /sys/devices/system/cpu/cpu2/cpufreq/interactive/timer_rate - echo 1248000 > /sys/devices/system/cpu/cpu2/cpufreq/interactive/hispeed_freq - echo 1 > /sys/devices/system/cpu/cpu2/cpufreq/interactive/io_is_busy - echo "85 1500000:90 1800000:70 2100000:95" > /sys/devices/system/cpu/cpu2/cpufreq/interactive/target_loads - echo 19000 > /sys/devices/system/cpu/cpu2/cpufreq/interactive/min_sample_time - echo 79000 > /sys/devices/system/cpu/cpu2/cpufreq/interactive/max_freq_hysteresis - echo 300000 > /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq - echo 1 > /sys/devices/system/cpu/cpu2/cpufreq/interactive/ignore_hispeed_on_notif - # re-enable thermal and BCL hotplug - echo 1 > /sys/module/msm_thermal/core_control/enabled - echo -n disable > /sys/devices/soc/soc:qcom,bcl/mode - echo $bcl_hotplug_mask > /sys/devices/soc/soc:qcom,bcl/hotplug_mask - echo $bcl_soc_hotplug_mask > /sys/devices/soc/soc:qcom,bcl/hotplug_soc_mask - echo -n enable > /sys/devices/soc/soc:qcom,bcl/mode - # input boost configuration - echo "0:1324800 2:1324800" > /sys/module/cpu_boost/parameters/input_boost_freq - echo 40 > /sys/module/cpu_boost/parameters/input_boost_ms - # Setting b.L scheduler parameters - echo 0 > /proc/sys/kernel/sched_boost - echo 1 > /proc/sys/kernel/sched_migration_fixup - echo 45 > /proc/sys/kernel/sched_downmigrate - echo 45 > /proc/sys/kernel/sched_upmigrate - echo 400000 > /proc/sys/kernel/sched_freq_inc_notify - echo 400000 > /proc/sys/kernel/sched_freq_dec_notify - echo 3 > /proc/sys/kernel/sched_spill_nr_run - echo 100 > /proc/sys/kernel/sched_init_task_load - # Enable bus-dcvs - for cpubw in /sys/class/devfreq/*qcom,cpubw* - do - echo "bw_hwmon" > $cpubw/governor - echo 50 > $cpubw/polling_interval - echo 1525 > $cpubw/min_freq - echo "1525 5195 11863 13763" > $cpubw/bw_hwmon/mbps_zones - echo 4 > $cpubw/bw_hwmon/sample_ms - echo 34 > $cpubw/bw_hwmon/io_percent - echo 20 > $cpubw/bw_hwmon/hist_memory - echo 10 > $cpubw/bw_hwmon/hyst_length - echo 0 > $cpubw/bw_hwmon/low_power_ceil_mbps - echo 34 > $cpubw/bw_hwmon/low_power_io_percent - echo 20 > $cpubw/bw_hwmon/low_power_delay - echo 0 > $cpubw/bw_hwmon/guard_band_mbps - echo 250 > $cpubw/bw_hwmon/up_scale - echo 1600 > $cpubw/bw_hwmon/idle_mbps - done - - for memlat in /sys/class/devfreq/*qcom,memlat-cpu* - do - echo "mem_latency" > $memlat/governor - echo 10 > $memlat/polling_interval - done - echo "cpufreq" > /sys/class/devfreq/soc:qcom,mincpubw/governor - - soc_revision=`cat /sys/devices/soc0/revision` - if [ "$soc_revision" == "2.0" ]; then - #Disable suspend for v2.0 - echo pwr_dbg > /sys/power/wake_lock - elif [ "$soc_revision" == "2.1" ]; then - # Enable C4.D4.E4.M3 LPM modes - # Disable D3 state - echo 0 > /sys/module/lpm_levels/system/pwr/pwr-l2-gdhs/idle_enabled - echo 0 > /sys/module/lpm_levels/system/perf/perf-l2-gdhs/idle_enabled - # Disable DEF-FPC mode - echo N > /sys/module/lpm_levels/system/pwr/cpu0/fpc-def/idle_enabled - echo N > /sys/module/lpm_levels/system/pwr/cpu1/fpc-def/idle_enabled - echo N > /sys/module/lpm_levels/system/perf/cpu2/fpc-def/idle_enabled - echo N > /sys/module/lpm_levels/system/perf/cpu3/fpc-def/idle_enabled - else - # Enable all LPMs by default - # This will enable C4, D4, D3, E4 and M3 LPMs - echo N > /sys/module/lpm_levels/parameters/sleep_disabled - fi - echo N > /sys/module/lpm_levels/parameters/sleep_disabled - # Starting io prefetcher service - start iop - ;; -esac - -case "$target" in - "msm8998") - - echo 2 > /sys/devices/system/cpu/cpu4/core_ctl/min_cpus - echo 60 > /sys/devices/system/cpu/cpu4/core_ctl/busy_up_thres - echo 30 > /sys/devices/system/cpu/cpu4/core_ctl/busy_down_thres - echo 100 > /sys/devices/system/cpu/cpu4/core_ctl/offline_delay_ms - echo 1 > /sys/devices/system/cpu/cpu4/core_ctl/is_big_cluster - echo 4 > /sys/devices/system/cpu/cpu4/core_ctl/task_thres - - # Enable Adaptive LMK - echo 1 > /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk - echo "18432,23040,27648,51256,150296,200640" > /sys/module/lowmemorykiller/parameters/minfree - echo 162500 > /sys/module/lowmemorykiller/parameters/vmpressure_file_min - - # Setting b.L scheduler parameters - echo 1 > /proc/sys/kernel/sched_migration_fixup - echo 95 > /proc/sys/kernel/sched_upmigrate - echo 90 > /proc/sys/kernel/sched_downmigrate - echo 100 > /proc/sys/kernel/sched_group_upmigrate - echo 95 > /proc/sys/kernel/sched_group_downmigrate - echo 0 > /proc/sys/kernel/sched_select_prev_cpu_us - echo 400000 > /proc/sys/kernel/sched_freq_inc_notify - echo 400000 > /proc/sys/kernel/sched_freq_dec_notify - echo 5 > /proc/sys/kernel/sched_spill_nr_run - echo 1 > /proc/sys/kernel/sched_restrict_cluster_spill - start iop - - # disable thermal bcl hotplug to switch governor - echo 0 > /sys/module/msm_thermal/core_control/enabled - - # online CPU0 - echo 1 > /sys/devices/system/cpu/cpu0/online - # configure governor settings for little cluster - echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_sched_load - echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_migration_notif - echo 19000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay - echo 90 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load - echo 20000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate - echo 1248000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq - echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy - echo "83 1804800:95" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads - echo 19000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time - echo 79000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/max_freq_hysteresis - echo 300000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/ignore_hispeed_on_notif - # online CPU4 - echo 1 > /sys/devices/system/cpu/cpu4/online - # configure governor settings for big cluster - echo "interactive" > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor - echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_sched_load - echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_migration_notif - echo 19000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/above_hispeed_delay - echo 90 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/go_hispeed_load - echo 20000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/timer_rate - echo 1574400 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/hispeed_freq - echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/io_is_busy - echo "83 1939200:90 2016000:95" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/target_loads - echo 19000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/min_sample_time - echo 79000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/max_freq_hysteresis - echo 300000 > /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq - echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/ignore_hispeed_on_notif - - # re-enable thermal and BCL hotplug - echo 1 > /sys/module/msm_thermal/core_control/enabled - - # Enable input boost configuration - echo "0:1324800" > /sys/module/cpu_boost/parameters/input_boost_freq - echo 100 > /sys/module/cpu_boost/parameters/input_boost_ms - # Enable bus-dcvs - for cpubw in /sys/class/devfreq/*qcom,cpubw* - do - echo "bw_hwmon" > $cpubw/governor - echo 50 > $cpubw/polling_interval - echo 1525 > $cpubw/min_freq - echo "3143 5859 11863 13763" > $cpubw/bw_hwmon/mbps_zones - echo 4 > $cpubw/bw_hwmon/sample_ms - echo 34 > $cpubw/bw_hwmon/io_percent - echo 20 > $cpubw/bw_hwmon/hist_memory - echo 10 > $cpubw/bw_hwmon/hyst_length - echo 0 > $cpubw/bw_hwmon/low_power_ceil_mbps - echo 34 > $cpubw/bw_hwmon/low_power_io_percent - echo 20 > $cpubw/bw_hwmon/low_power_delay - echo 0 > $cpubw/bw_hwmon/guard_band_mbps - echo 250 > $cpubw/bw_hwmon/up_scale - echo 1600 > $cpubw/bw_hwmon/idle_mbps - done - - for memlat in /sys/class/devfreq/*qcom,memlat-cpu* - do - echo "mem_latency" > $memlat/governor - echo 10 > $memlat/polling_interval - echo 400 > $memlat/mem_latency/ratio_ceil - done - echo "cpufreq" > /sys/class/devfreq/soc:qcom,mincpubw/governor - if [ -f /sys/devices/soc0/soc_id ]; then - soc_id=`cat /sys/devices/soc0/soc_id` - else - soc_id=`cat /sys/devices/system/soc/soc0/id` - fi - - if [ -f /sys/devices/soc0/hw_platform ]; then - hw_platform=`cat /sys/devices/soc0/hw_platform` - else - hw_platform=`cat /sys/devices/system/soc/soc0/hw_platform` - fi - - if [ -f /sys/devices/soc0/platform_subtype_id ]; then - platform_subtype_id=`cat /sys/devices/soc0/platform_subtype_id` - fi - - if [ -f /sys/devices/soc0/platform_version ]; then - platform_version=`cat /sys/devices/soc0/platform_version` - platform_major_version=$((10#${platform_version}>>16)) - fi - - case "$soc_id" in - "292") #msm8998 - # Start Host based Touch processing - case "$hw_platform" in - "QRD") - case "$platform_subtype_id" in - "0") - start hbtp - ;; - "16") - if [ $platform_major_version -lt 6 ]; then - start hbtp - fi - ;; - esac - - echo 0 > /sys/class/graphics/fb1/hpd - ;; - "Surf") - case "$platform_subtype_id" in - "1") - start hbtp - ;; - esac - ;; - "MTP") - case "$platform_subtype_id" in - "2") - start hbtp - ;; - esac - ;; - esac - ;; - esac - - echo N > /sys/module/lpm_levels/system/pwr/cpu0/ret/idle_enabled - echo N > /sys/module/lpm_levels/system/pwr/cpu1/ret/idle_enabled - echo N > /sys/module/lpm_levels/system/pwr/cpu2/ret/idle_enabled - echo N > /sys/module/lpm_levels/system/pwr/cpu3/ret/idle_enabled - echo N > /sys/module/lpm_levels/system/perf/cpu4/ret/idle_enabled - echo N > /sys/module/lpm_levels/system/perf/cpu5/ret/idle_enabled - echo N > /sys/module/lpm_levels/system/perf/cpu6/ret/idle_enabled - echo N > /sys/module/lpm_levels/system/perf/cpu7/ret/idle_enabled - echo N > /sys/module/lpm_levels/system/pwr/pwr-l2-dynret/idle_enabled - echo N > /sys/module/lpm_levels/system/pwr/pwr-l2-ret/idle_enabled - echo N > /sys/module/lpm_levels/system/perf/perf-l2-dynret/idle_enabled - echo N > /sys/module/lpm_levels/system/perf/perf-l2-ret/idle_enabled - echo N > /sys/module/lpm_levels/parameters/sleep_disabled - echo 0-2 > /dev/cpuset/background/cpus - echo 0-5 > /dev/cpuset/system-background/cpus - echo 0 > /proc/sys/kernel/sched_boost - - #if [ -f "/defrag_aging.ko" ]; then - # insmod /defrag_aging.ko - #else - # insmod /system/lib/modules/defrag.ko - #fi - sleep 1 - #lsmod | grep defrag - #if [ $? != 0 ]; then - # echo 1 > /sys/module/defrag_helper/parameters/disable - #fi - ;; -esac - -case "$target" in - "msm8909") - - if [ -f /sys/devices/soc0/soc_id ]; then - soc_id=`cat /sys/devices/soc0/soc_id` - else - soc_id=`cat /sys/devices/system/soc/soc0/id` - fi - - # HMP scheduler settings for 8909 similiar to 8916 - echo 2 > /proc/sys/kernel/sched_window_stats_policy - echo 3 > /proc/sys/kernel/sched_ravg_hist_size - - # HMP Task packing settings for 8909 similiar to 8916 - echo 30 > /proc/sys/kernel/sched_small_task - echo 50 > /proc/sys/kernel/sched_mostly_idle_load - echo 10 > /proc/sys/kernel/sched_mostly_idle_nr_run - - # Apply governor settings for 8909 - - # disable thermal core_control to update scaling_min_freq - echo 0 > /sys/module/msm_thermal/core_control/enabled - echo 1 > /sys/devices/system/cpu/cpu0/online - echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - echo 400000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq - # enable thermal core_control now - echo 1 > /sys/module/msm_thermal/core_control/enabled - - echo "25000 800000:50000" > /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay - echo 90 > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load - echo 25000 > /sys/devices/system/cpu/cpufreq/interactive/timer_rate - echo 800000 > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq - echo 0 > /sys/devices/system/cpu/cpufreq/interactive/io_is_busy - echo "1 400000:85 998400:90 1094400:80" > /sys/devices/system/cpu/cpufreq/interactive/target_loads - echo 50000 > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time - echo 50000 > /sys/devices/system/cpu/cpufreq/interactive/sampling_down_factor - - # Bring up all cores online - echo 1 > /sys/devices/system/cpu/cpu1/online - echo 1 > /sys/devices/system/cpu/cpu2/online - echo 1 > /sys/devices/system/cpu/cpu3/online - echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled - - for devfreq_gov in /sys/class/devfreq/qcom,cpubw*/governor - do - echo "bw_hwmon" > $devfreq_gov - done - ;; -esac - -case "$target" in - "msm7627_ffa" | "msm7627_surf" | "msm7627_6x") - echo 25000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate - ;; -esac - -case "$target" in - "qsd8250_surf" | "qsd8250_ffa" | "qsd8650a_st1x") - echo 50000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate - ;; -esac - -case "$target" in - "qsd8650a_st1x") - mount -t debugfs none /sys/kernel/debug - ;; -esac - -chown -h system /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate -chown -h system /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor -chown -h system /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy - -emmc_boot=`getprop ro.boot.emmc` -case "$emmc_boot" - in "true") - chown -h system /sys/devices/platform/rs300000a7.65536/force_sync - chown -h system /sys/devices/platform/rs300000a7.65536/sync_sts - chown -h system /sys/devices/platform/rs300100a7.65536/force_sync - chown -h system /sys/devices/platform/rs300100a7.65536/sync_sts - ;; -esac - -case "$target" in - "msm8960" | "msm8660" | "msm7630_surf") - echo 10 > /sys/devices/platform/msm_sdcc.3/idle_timeout - ;; - "msm7627a") - echo 10 > /sys/devices/platform/msm_sdcc.1/idle_timeout - ;; -esac - -# Post-setup services -case "$target" in - "msm8660" | "msm8960" | "msm8226" | "msm8610" | "mpq8092" ) - start mpdecision - ;; - "msm8916") - setprop sys.post_boot.parsed 1 - ;; - "msm8937" | "msm8953") - echo 128 > /sys/block/mmcblk0/bdi/read_ahead_kb - echo 128 > /sys/block/mmcblk0/queue/read_ahead_kb - echo 128 > /sys/block/dm-0/queue/read_ahead_kb - echo 128 > /sys/block/dm-1/queue/read_ahead_kb - setprop sys.post_boot.parsed 1 - start gamed - ;; - "msm8974") - start mpdecision - echo 512 > /sys/block/mmcblk0/bdi/read_ahead_kb - ;; - "msm8994" | "msm8992" | "msm8996" | "msm8998" | "sdm660") - setprop sys.post_boot.parsed 1 - ;; - "apq8084") - rm /data/system/perfd/default_values - start mpdecision - echo 512 > /sys/block/mmcblk0/bdi/read_ahead_kb - echo 512 > /sys/block/sda/bdi/read_ahead_kb - echo 512 > /sys/block/sdb/bdi/read_ahead_kb - echo 512 > /sys/block/sdc/bdi/read_ahead_kb - echo 512 > /sys/block/sdd/bdi/read_ahead_kb - echo 512 > /sys/block/sde/bdi/read_ahead_kb - echo 512 > /sys/block/sdf/bdi/read_ahead_kb - echo 512 > /sys/block/sdg/bdi/read_ahead_kb - echo 512 > /sys/block/sdh/bdi/read_ahead_kb - ;; - "msm7627a") - if [ -f /sys/devices/soc0/soc_id ]; then - soc_id=`cat /sys/devices/soc0/soc_id` - else - soc_id=`cat /sys/devices/system/soc/soc0/id` - fi - case "$soc_id" in - "127" | "128" | "129") - start mpdecision - ;; - esac - ;; -esac - -# Enable Power modes and set the CPU Freq Sampling rates -case "$target" in - "msm7627a") - start qosmgrd - echo 1 > /sys/module/pm2/modes/cpu0/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/pm2/modes/cpu1/standalone_power_collapse/idle_enabled - echo 1 > /sys/module/pm2/modes/cpu0/standalone_power_collapse/suspend_enabled - echo 1 > /sys/module/pm2/modes/cpu1/standalone_power_collapse/suspend_enabled - #SuspendPC: - echo 1 > /sys/module/pm2/modes/cpu0/power_collapse/suspend_enabled - #IdlePC: - echo 1 > /sys/module/pm2/modes/cpu0/power_collapse/idle_enabled - echo 25000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate - ;; -esac - -# Change adj level and min_free_kbytes setting for lowmemory killer to kick in -case "$target" in - "msm7627a") - echo 0,1,2,4,9,12 > /sys/module/lowmemorykiller/parameters/adj - echo 5120 > /proc/sys/vm/min_free_kbytes - ;; -esac - -# Install AdrenoTest.apk if not already installed -if [ -f /data/prebuilt/AdrenoTest.apk ]; then - if [ ! -d /data/data/com.qualcomm.adrenotest ]; then - pm install /data/prebuilt/AdrenoTest.apk - fi -fi - -# Install SWE_Browser.apk if not already installed -if [ -f /data/prebuilt/SWE_AndroidBrowser.apk ]; then - if [ ! -d /data/data/com.android.swe.browser ]; then - pm install /data/prebuilt/SWE_AndroidBrowser.apk - fi -fi - -# Change adj level and min_free_kbytes setting for lowmemory killer to kick in -case "$target" in - "msm8660") - start qosmgrd - echo 0,1,2,4,9,12 > /sys/module/lowmemorykiller/parameters/adj - echo 5120 > /proc/sys/vm/min_free_kbytes - ;; -esac - -# Let kernel know our image version/variant/crm_version -if [ -f /sys/devices/soc0/select_image ]; then - image_version="10:" - image_version+=`getprop ro.build.id` - image_version+=":" - image_version+=`getprop ro.build.version.incremental` - image_variant=`getprop ro.product.name` - image_variant+="-" - image_variant+=`getprop ro.build.type` - oem_version=`getprop ro.build.version.codename` - echo 10 > /sys/devices/soc0/select_image - echo $image_version > /sys/devices/soc0/image_version - echo $image_variant > /sys/devices/soc0/image_variant - echo $oem_version > /sys/devices/soc0/image_crm_version -fi - -# Change console log level as per console config property -console_config=`getprop persist.console.silent.config` -case "$console_config" in - "1") - echo "Enable console config to $console_config" - echo 0 > /proc/sys/kernel/printk - ;; - *) - echo "Enable console config to $console_config" - ;; -esac diff --git a/cheeseburger/proprietary/etc/oneplus5_vstab_db_1080p_video_0_60fps.config b/cheeseburger/proprietary/etc/oneplus5_vstab_db_1080p_video_0_60fps.config index df986694..8a4fd0b3 100644 --- a/cheeseburger/proprietary/etc/oneplus5_vstab_db_1080p_video_0_60fps.config +++ b/cheeseburger/proprietary/etc/oneplus5_vstab_db_1080p_video_0_60fps.config @@ -1,4 +1,4 @@ -focalLength= 1532.775237 #1532.599499 #1531.839990 #1539.245434 #1534.341793 #1673.490981 #1544.647262 #1644.561663 #1642.920823 #1709.150410 #from calibration, in pixels +focalLength= 1610.569219 #1532.599499 #1531.839990 #1539.245434 #1534.341793 #1673.490981 #1544.647262 #1644.561663 #1642.920823 #1709.150410 #from calibration, in pixels frmWidth=1920 frmHeight=1080 @@ -22,8 +22,8 @@ frmCropFctrV=0.1 #VSTAB crop border (relative to frames size, keep H=V) gyroToCameraRot = { 0, 0.707106781, 0.707106781, 0 } #gyro-to-camera rotation quarternion isGyroZInverted=1 #gyro-to-camera rotation: invert Z axis -frmDelayMinusGyroDelay= 4749448 # -1886580 #-1722751 # -1781731 #-1231803 #9344696 #-2123817 # -2214655 #-2149235 #-9364508 #from calibration for each resolution/frame rate -shtrDuration= 32428694 #24197832 #23802257 #24078211 #24092528 #22700305 # 24300852 # 23938175 # 23858828 #27625747 #from calibration for each resolution/frame rate +frmDelayMinusGyroDelay= 4755334 # -1886580 #-1722751 # -1781731 #-1231803 #9344696 #-2123817 # -2214655 #-2149235 #-9364508 #from calibration for each resolution/frame rate +shtrDuration= 15619765 #24197832 #23802257 #24078211 #24092528 #22700305 # 24300852 # 23938175 # 23858828 #27625747 #from calibration for each resolution/frame rate isGridNormalized= 1 #1 for OpenGL warper gyroJitter = 500000 //expected maximum deviation of gyro period in the timestamps @@ -80,9 +80,9 @@ expected_delta = 0 #debugInfo.originalCameraOrientationsFilePath = /data/misc/media/process-dump-origCamOrient.dump #debugInfo.filteredCameraOrientationsFilePath = /data/misc/media/process-dump-filtCamOrient.dump -#debugInfo.gyroInDumpFilePath = /data/misc/media/video_sensor.txt +#debugInfo.gyroInDumpFilePath = /data/misc/camera/video_sensor.txt #debugInfo.warpGridStatusDumpFilePath = /data/misc/media/process-dump-warp-grid-status.dump -#debugInfo.warpedFrameParamsDumpFilePath = /data/misc/media/video_metadata.txt +#debugInfo.warpedFrameParamsDumpFilePath = /data/misc/camera/video_metadata.txt #debugInfo.warpedFrameGridsOutDumpFilePath = /data/misc/media/process-dump-warped-frm-grids.dump #debugInfo.statisticsFilePath = /data/misc/media/process-statistics.dump diff --git a/cheeseburger/proprietary/etc/permissions/ConnectivityExt.xml b/cheeseburger/proprietary/etc/permissions/ConnectivityExt.xml index 7677ca83..bf99e29c 100644 --- a/cheeseburger/proprietary/etc/permissions/ConnectivityExt.xml +++ b/cheeseburger/proprietary/etc/permissions/ConnectivityExt.xml @@ -7,4 +7,4 @@ Confidential and Proprietary - Qualcomm Technologies, Inc. - \ No newline at end of file + diff --git a/cheeseburger/proprietary/etc/permissions/com.qti.snapdragon.sdk.display.xml b/cheeseburger/proprietary/etc/permissions/com.qti.snapdragon.sdk.display.xml index 9c355e69..0bbbf298 100644 --- a/cheeseburger/proprietary/etc/permissions/com.qti.snapdragon.sdk.display.xml +++ b/cheeseburger/proprietary/etc/permissions/com.qti.snapdragon.sdk.display.xml @@ -14,4 +14,4 @@ name="com.qti.snapdragon.sdk.display" file="/system/framework/com.qti.snapdragon.sdk.display.jar" /> - \ No newline at end of file + diff --git a/cheeseburger/proprietary/etc/permissions/telephonyservice.xml b/cheeseburger/proprietary/etc/permissions/telephonyservice.xml index e86b1316..2cf6213e 100644 --- a/cheeseburger/proprietary/etc/permissions/telephonyservice.xml +++ b/cheeseburger/proprietary/etc/permissions/telephonyservice.xml @@ -8,4 +8,4 @@ Qualcomm Technologies Proprietary and Confidential. - \ No newline at end of file + diff --git a/cheeseburger/proprietary/framework/QtiTelephonyServicelibrary.jar b/cheeseburger/proprietary/framework/QtiTelephonyServicelibrary.jar index 47decd6b..8848586d 100644 Binary files a/cheeseburger/proprietary/framework/QtiTelephonyServicelibrary.jar and b/cheeseburger/proprietary/framework/QtiTelephonyServicelibrary.jar differ diff --git a/cheeseburger/proprietary/framework/com.qti.location.sdk.jar b/cheeseburger/proprietary/framework/com.qti.location.sdk.jar index 50ed6421..60fef862 100644 Binary files a/cheeseburger/proprietary/framework/com.qti.location.sdk.jar and b/cheeseburger/proprietary/framework/com.qti.location.sdk.jar differ diff --git a/cheeseburger/proprietary/framework/com.qualcomm.location.vzw_library.jar b/cheeseburger/proprietary/framework/com.qualcomm.location.vzw_library.jar index d1f2f0ac..a49d97ce 100644 Binary files a/cheeseburger/proprietary/framework/com.qualcomm.location.vzw_library.jar and b/cheeseburger/proprietary/framework/com.qualcomm.location.vzw_library.jar differ diff --git a/cheeseburger/proprietary/framework/qcnvitems.jar b/cheeseburger/proprietary/framework/qcnvitems.jar index 0a8f07ec..7838c3f0 100644 Binary files a/cheeseburger/proprietary/framework/qcnvitems.jar and b/cheeseburger/proprietary/framework/qcnvitems.jar differ diff --git a/cheeseburger/proprietary/framework/qcrilhook.jar b/cheeseburger/proprietary/framework/qcrilhook.jar index c4fe76d7..0bcb8d09 100644 Binary files a/cheeseburger/proprietary/framework/qcrilhook.jar and b/cheeseburger/proprietary/framework/qcrilhook.jar differ diff --git a/cheeseburger/proprietary/lib/hw/camera.msm8998.so b/cheeseburger/proprietary/lib/hw/camera.msm8998.so index 58cde37b..2ac00dcf 100644 Binary files a/cheeseburger/proprietary/lib/hw/camera.msm8998.so and b/cheeseburger/proprietary/lib/hw/camera.msm8998.so differ diff --git a/cheeseburger/proprietary/lib/libVDBlurlessAPI.so b/cheeseburger/proprietary/lib/libVDBlurlessAPI.so index c3bf5960..6df69da7 100644 Binary files a/cheeseburger/proprietary/lib/libVDBlurlessAPI.so and b/cheeseburger/proprietary/lib/libVDBlurlessAPI.so differ diff --git a/cheeseburger/proprietary/lib/libopcamera_native_modules.so b/cheeseburger/proprietary/lib/libopcamera_native_modules.so index c82664dc..37980cfa 100644 Binary files a/cheeseburger/proprietary/lib/libopcamera_native_modules.so and b/cheeseburger/proprietary/lib/libopcamera_native_modules.so differ diff --git a/cheeseburger/proprietary/lib/rfsa/adsp/libVDHexagonBlurless_skel.so b/cheeseburger/proprietary/lib/rfsa/adsp/libVDHexagonBlurless_skel.so index 0d63a738..eec8f3dd 100644 Binary files a/cheeseburger/proprietary/lib/rfsa/adsp/libVDHexagonBlurless_skel.so and b/cheeseburger/proprietary/lib/rfsa/adsp/libVDHexagonBlurless_skel.so differ diff --git a/cheeseburger/proprietary/lib64/hw/fingerprint.msm8998.so b/cheeseburger/proprietary/lib64/hw/fingerprint.msm8998.so index 3708e619..38d1bfb0 100644 Binary files a/cheeseburger/proprietary/lib64/hw/fingerprint.msm8998.so and b/cheeseburger/proprietary/lib64/hw/fingerprint.msm8998.so differ diff --git a/cheeseburger/proprietary/lib64/libparam.so b/cheeseburger/proprietary/lib64/libparam.so index 7c1e7713..3500a377 100644 Binary files a/cheeseburger/proprietary/lib64/libparam.so and b/cheeseburger/proprietary/lib64/libparam.so differ diff --git a/cheeseburger/proprietary/priv-app/CNEService/CNEService.apk b/cheeseburger/proprietary/priv-app/CNEService/CNEService.apk deleted file mode 100644 index a19c7054..00000000 Binary files a/cheeseburger/proprietary/priv-app/CNEService/CNEService.apk and /dev/null differ diff --git a/cheeseburger/proprietary/priv-app/IFAAService/IFAAService.apk b/cheeseburger/proprietary/priv-app/IFAAService/IFAAService.apk index c4153ccd..f876b342 100644 Binary files a/cheeseburger/proprietary/priv-app/IFAAService/IFAAService.apk and b/cheeseburger/proprietary/priv-app/IFAAService/IFAAService.apk differ diff --git a/cheeseburger/proprietary/priv-app/QtiTetherService/QtiTetherService.apk b/cheeseburger/proprietary/priv-app/QtiTetherService/QtiTetherService.apk index 7939c052..3b364731 100644 Binary files a/cheeseburger/proprietary/priv-app/QtiTetherService/QtiTetherService.apk and b/cheeseburger/proprietary/priv-app/QtiTetherService/QtiTetherService.apk differ diff --git a/cheeseburger/proprietary/priv-app/com.qualcomm.location/com.qualcomm.location.apk b/cheeseburger/proprietary/priv-app/com.qualcomm.location/com.qualcomm.location.apk index 3115141b..691baa0a 100644 Binary files a/cheeseburger/proprietary/priv-app/com.qualcomm.location/com.qualcomm.location.apk and b/cheeseburger/proprietary/priv-app/com.qualcomm.location/com.qualcomm.location.apk differ diff --git a/cheeseburger/proprietary/priv-app/dpmserviceapp/dpmserviceapp.apk b/cheeseburger/proprietary/priv-app/dpmserviceapp/dpmserviceapp.apk deleted file mode 100644 index 13e19457..00000000 Binary files a/cheeseburger/proprietary/priv-app/dpmserviceapp/dpmserviceapp.apk and /dev/null differ diff --git a/cheeseburger/proprietary/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk b/cheeseburger/proprietary/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk index f3176cfa..fd27b43b 100644 Binary files a/cheeseburger/proprietary/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk and b/cheeseburger/proprietary/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk differ diff --git a/cheeseburger/proprietary/rootfs/sbin/dashd b/cheeseburger/proprietary/rootfs/sbin/dashd index f57091a2..236910a8 100755 Binary files a/cheeseburger/proprietary/rootfs/sbin/dashd and b/cheeseburger/proprietary/rootfs/sbin/dashd differ diff --git a/cheeseburger/proprietary/vendor/app/colorservice/colorservice.apk b/cheeseburger/proprietary/vendor/app/colorservice/colorservice.apk index fb046059..5c7d42ad 100644 Binary files a/cheeseburger/proprietary/vendor/app/colorservice/colorservice.apk and b/cheeseburger/proprietary/vendor/app/colorservice/colorservice.apk differ diff --git a/cheeseburger/proprietary/vendor/app/ims/ims.apk b/cheeseburger/proprietary/vendor/app/ims/ims.apk deleted file mode 100644 index 19a2741c..00000000 Binary files a/cheeseburger/proprietary/vendor/app/ims/ims.apk and /dev/null differ diff --git a/cheeseburger/proprietary/vendor/app/imssettings/imssettings.apk b/cheeseburger/proprietary/vendor/app/imssettings/imssettings.apk deleted file mode 100644 index 5a80991a..00000000 Binary files a/cheeseburger/proprietary/vendor/app/imssettings/imssettings.apk and /dev/null differ diff --git a/cheeseburger/proprietary/etc/sensors/hals.conf b/cheeseburger/proprietary/vendor/etc/sensors/hals.conf similarity index 100% rename from cheeseburger/proprietary/etc/sensors/hals.conf rename to cheeseburger/proprietary/vendor/etc/sensors/hals.conf diff --git a/cheeseburger/proprietary/vendor/framework/qti-vzw-ims-internal.jar b/cheeseburger/proprietary/vendor/framework/qti-vzw-ims-internal.jar index 0872fcb1..4ec70818 100644 Binary files a/cheeseburger/proprietary/vendor/framework/qti-vzw-ims-internal.jar and b/cheeseburger/proprietary/vendor/framework/qti-vzw-ims-internal.jar differ diff --git a/cheeseburger/proprietary/vendor/lib/hw/sound_trigger.primary.msm8998.so b/cheeseburger/proprietary/vendor/lib/hw/sound_trigger.primary.msm8998.so deleted file mode 100644 index d308704a..00000000 Binary files a/cheeseburger/proprietary/vendor/lib/hw/sound_trigger.primary.msm8998.so and /dev/null differ diff --git a/cheeseburger/proprietary/vendor/lib/libRSDriver_adreno.so b/cheeseburger/proprietary/vendor/lib/libRSDriver_adreno.so index 5c9fbc04..debfbda8 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libRSDriver_adreno.so and b/cheeseburger/proprietary/vendor/lib/libRSDriver_adreno.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libcamera_bokeh_wrapper.so b/cheeseburger/proprietary/vendor/lib/libcamera_bokeh_wrapper.so index d54137f5..b65ee2b2 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libcamera_bokeh_wrapper.so and b/cheeseburger/proprietary/vendor/lib/libcamera_bokeh_wrapper.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libchromatix_imx398_cpp_2328x1304_60fps_video.so b/cheeseburger/proprietary/vendor/lib/libchromatix_imx398_cpp_2328x1304_60fps_video.so index 4d55fe5a..c27485aa 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libchromatix_imx398_cpp_2328x1304_60fps_video.so and b/cheeseburger/proprietary/vendor/lib/libchromatix_imx398_cpp_2328x1304_60fps_video.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libchromatix_imx398_cpp_4656x3496_30fps_snapshot.so b/cheeseburger/proprietary/vendor/lib/libchromatix_imx398_cpp_4656x3496_30fps_snapshot.so index 417371a7..f15cae02 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libchromatix_imx398_cpp_4656x3496_30fps_snapshot.so and b/cheeseburger/proprietary/vendor/lib/libchromatix_imx398_cpp_4656x3496_30fps_snapshot.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libdczoom.so b/cheeseburger/proprietary/vendor/lib/libdczoom.so new file mode 100644 index 00000000..c0a6819c Binary files /dev/null and b/cheeseburger/proprietary/vendor/lib/libdczoom.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libhwdaphal.so b/cheeseburger/proprietary/vendor/lib/libhwdaphal.so new file mode 100644 index 00000000..43b68448 Binary files /dev/null and b/cheeseburger/proprietary/vendor/lib/libhwdaphal.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmiracast.so b/cheeseburger/proprietary/vendor/lib/libmiracast.so index 1c2d9e50..f640657b 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmiracast.so and b/cheeseburger/proprietary/vendor/lib/libmiracast.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera2_c2d_module.so b/cheeseburger/proprietary/vendor/lib/libmmcamera2_c2d_module.so index 8467b1c7..01404697 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera2_c2d_module.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera2_c2d_module.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera2_cpp_module.so b/cheeseburger/proprietary/vendor/lib/libmmcamera2_cpp_module.so index 442d8350..4c290a6b 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera2_cpp_module.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera2_cpp_module.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera2_iface_modules.so b/cheeseburger/proprietary/vendor/lib/libmmcamera2_iface_modules.so index 76756f85..b8a559dc 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera2_iface_modules.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera2_iface_modules.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera2_imglib_modules.so b/cheeseburger/proprietary/vendor/lib/libmmcamera2_imglib_modules.so index 4e064ef6..fc97fdc8 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera2_imglib_modules.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera2_imglib_modules.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera2_isp_modules.so b/cheeseburger/proprietary/vendor/lib/libmmcamera2_isp_modules.so index 8391f686..1d14fcff 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera2_isp_modules.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera2_isp_modules.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera2_mct.so b/cheeseburger/proprietary/vendor/lib/libmmcamera2_mct.so index a9327f0a..12c29b64 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera2_mct.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera2_mct.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera2_pproc_modules.so b/cheeseburger/proprietary/vendor/lib/libmmcamera2_pproc_modules.so index 91f292a3..645c7c98 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera2_pproc_modules.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera2_pproc_modules.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera2_q3a_core.so b/cheeseburger/proprietary/vendor/lib/libmmcamera2_q3a_core.so index 6722e2ce..5eb3dff0 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera2_q3a_core.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera2_q3a_core.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera2_sensor_modules.so b/cheeseburger/proprietary/vendor/lib/libmmcamera2_sensor_modules.so index 336be410..d98af451 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera2_sensor_modules.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera2_sensor_modules.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera2_stats_modules.so b/cheeseburger/proprietary/vendor/lib/libmmcamera2_stats_modules.so index f5c07dcc..4e99ae7e 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera2_stats_modules.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera2_stats_modules.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_abf48.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_abf48.so index 9bba36a6..ffdca27b 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_abf48.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_abf48.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_aec_bg_stats47.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_aec_bg_stats47.so index d7a0ae3a..37b88798 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_aec_bg_stats47.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_aec_bg_stats47.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_bf_stats47.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_bf_stats47.so index 6898ecce..22b01ddb 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_bf_stats47.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_bf_stats47.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_bg_stats46.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_bg_stats46.so index 8e1b0284..c98e5dac 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_bg_stats46.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_bg_stats46.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_bhist_stats44.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_bhist_stats44.so index 3fd8c9c1..86301cd0 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_bhist_stats44.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_bhist_stats44.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_black_level48.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_black_level48.so index a96dcd7d..071bb2e0 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_black_level48.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_black_level48.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_bpc48.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_bpc48.so index 1cd7a962..6902db77 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_bpc48.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_bpc48.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_cac47.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_cac47.so index 835c9ddc..e02147bd 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_cac47.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_cac47.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_chroma_enhan40.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_chroma_enhan40.so index 843d6b2c..ffe2ebf3 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_chroma_enhan40.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_chroma_enhan40.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_chroma_suppress40.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_chroma_suppress40.so index e402372d..ad188ef8 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_chroma_suppress40.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_chroma_suppress40.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_clamp_encoder40.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_clamp_encoder40.so index b102f11f..1aaf6c93 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_clamp_encoder40.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_clamp_encoder40.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_clamp_video40.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_clamp_video40.so index d8f82a51..87f073bd 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_clamp_video40.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_clamp_video40.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_clamp_viewfinder40.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_clamp_viewfinder40.so index 1cd69d98..99972f91 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_clamp_viewfinder40.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_clamp_viewfinder40.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_color_correct46.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_color_correct46.so index fd15e8c4..80f83b61 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_color_correct46.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_color_correct46.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_color_xform_encoder46.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_color_xform_encoder46.so index de795aed..b8b5950a 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_color_xform_encoder46.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_color_xform_encoder46.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_color_xform_video46.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_color_xform_video46.so index cd4d6aa7..0e5ebfea 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_color_xform_video46.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_color_xform_video46.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_color_xform_viewfinder46.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_color_xform_viewfinder46.so index 95783e39..13ce825b 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_color_xform_viewfinder46.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_color_xform_viewfinder46.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_cs_stats46.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_cs_stats46.so index 870dd747..b36ea0aa 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_cs_stats46.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_cs_stats46.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_demosaic48.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_demosaic48.so index b53fa51d..21ee260d 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_demosaic48.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_demosaic48.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_demux48.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_demux48.so index ca5e5259..3a68e644 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_demux48.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_demux48.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_fovcrop_encoder46.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_fovcrop_encoder46.so index df7b5cd3..454c746f 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_fovcrop_encoder46.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_fovcrop_encoder46.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_fovcrop_video46.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_fovcrop_video46.so index eab8d65d..6d2fd79d 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_fovcrop_video46.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_fovcrop_video46.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_fovcrop_viewfinder46.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_fovcrop_viewfinder46.so index c8371df9..98c030ae 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_fovcrop_viewfinder46.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_fovcrop_viewfinder46.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_gamma44.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_gamma44.so index ff42ab8b..1849ae9a 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_gamma44.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_gamma44.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_gic48.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_gic48.so index 54c70743..3ff5a7e0 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_gic48.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_gic48.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_gtm46.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_gtm46.so index d7c2ca4b..4f11ac7e 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_gtm46.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_gtm46.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_hdr48.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_hdr48.so index d8c7c9df..351ed4e8 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_hdr48.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_hdr48.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_hdr_be_stats46.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_hdr_be_stats46.so index b2358dc2..28907fc9 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_hdr_be_stats46.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_hdr_be_stats46.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_hdr_bhist_stats44.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_hdr_bhist_stats44.so index a1813662..02be607c 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_hdr_bhist_stats44.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_hdr_bhist_stats44.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_ihist_stats46.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_ihist_stats46.so index 67de4590..ee35f0be 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_ihist_stats46.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_ihist_stats46.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_linearization40.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_linearization40.so index a5887376..787deee9 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_linearization40.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_linearization40.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_ltm47.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_ltm47.so index 7d45006c..6975edbd 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_ltm47.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_ltm47.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_luma_adaptation40.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_luma_adaptation40.so index 1e5e55c0..69257987 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_luma_adaptation40.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_luma_adaptation40.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_mce40.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_mce40.so index c5ec5adc..53e3ae46 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_mce40.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_mce40.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_mesh_rolloff44.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_mesh_rolloff44.so index cff2b844..6a47aab1 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_mesh_rolloff44.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_mesh_rolloff44.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_pdaf48.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_pdaf48.so index cd2e1698..b417be54 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_pdaf48.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_pdaf48.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_pedestal_correct46.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_pedestal_correct46.so index dc9564ad..2d1bbfed 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_pedestal_correct46.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_pedestal_correct46.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_rs_stats46.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_rs_stats46.so index 14a68023..3f560ecd 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_rs_stats46.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_rs_stats46.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_scaler_encoder46.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_scaler_encoder46.so index 78ffc030..e032fda4 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_scaler_encoder46.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_scaler_encoder46.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_scaler_video46.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_scaler_video46.so index c572a673..03b5858e 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_scaler_video46.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_scaler_video46.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_scaler_viewfinder46.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_scaler_viewfinder46.so index 728851f6..e8c14f88 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_scaler_viewfinder46.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_scaler_viewfinder46.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_sce40.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_sce40.so index 0a3aca39..c836fd48 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_sce40.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_sce40.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_snr47.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_snr47.so index 3c6fbfca..73224d00 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_snr47.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_snr47.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_sub_module.so b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_sub_module.so index d4504385..34c57ee3 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_sub_module.so and b/cheeseburger/proprietary/vendor/lib/libmmcamera_isp_sub_module.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libmmqjpeg_codec.so b/cheeseburger/proprietary/vendor/lib/libmmqjpeg_codec.so index bfb5acce..b940f5a6 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libmmqjpeg_codec.so and b/cheeseburger/proprietary/vendor/lib/libmmqjpeg_codec.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libqomx_jpegenc.so b/cheeseburger/proprietary/vendor/lib/libqomx_jpegenc.so index 34bc7a86..c6b09296 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libqomx_jpegenc.so and b/cheeseburger/proprietary/vendor/lib/libqomx_jpegenc.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libqomx_jpegenc_pipe.so b/cheeseburger/proprietary/vendor/lib/libqomx_jpegenc_pipe.so index 377bf418..370fc5f4 100644 Binary files a/cheeseburger/proprietary/vendor/lib/libqomx_jpegenc_pipe.so and b/cheeseburger/proprietary/vendor/lib/libqomx_jpegenc_pipe.so differ diff --git a/cheeseburger/proprietary/vendor/lib/libsmwrapper.so b/cheeseburger/proprietary/vendor/lib/libsmwrapper.so deleted file mode 100644 index bd2a2bff..00000000 Binary files a/cheeseburger/proprietary/vendor/lib/libsmwrapper.so and /dev/null differ diff --git a/cheeseburger/proprietary/vendor/lib/mediadrm/libwvdrmengine.so b/cheeseburger/proprietary/vendor/lib/mediadrm/libwvdrmengine.so index eb24dba9..afac6231 100644 Binary files a/cheeseburger/proprietary/vendor/lib/mediadrm/libwvdrmengine.so and b/cheeseburger/proprietary/vendor/lib/mediadrm/libwvdrmengine.so differ diff --git a/cheeseburger/proprietary/vendor/lib64/libRSDriver_adreno.so b/cheeseburger/proprietary/vendor/lib64/libRSDriver_adreno.so index c9ec8901..a56b5cd9 100644 Binary files a/cheeseburger/proprietary/vendor/lib64/libRSDriver_adreno.so and b/cheeseburger/proprietary/vendor/lib64/libRSDriver_adreno.so differ diff --git a/cheeseburger/proprietary/vendor/lib64/libcne.so b/cheeseburger/proprietary/vendor/lib64/libcne.so index ab51bc65..5bc231f6 100644 Binary files a/cheeseburger/proprietary/vendor/lib64/libcne.so and b/cheeseburger/proprietary/vendor/lib64/libcne.so differ diff --git a/cheeseburger/proprietary/vendor/lib64/libcneapiclient.so b/cheeseburger/proprietary/vendor/lib64/libcneapiclient.so index bcf62477..23b7ce74 100644 Binary files a/cheeseburger/proprietary/vendor/lib64/libcneapiclient.so and b/cheeseburger/proprietary/vendor/lib64/libcneapiclient.so differ diff --git a/cheeseburger/proprietary/vendor/lib64/libevent_observer.so b/cheeseburger/proprietary/vendor/lib64/libevent_observer.so index 583a04d5..8414a08e 100644 Binary files a/cheeseburger/proprietary/vendor/lib64/libevent_observer.so and b/cheeseburger/proprietary/vendor/lib64/libevent_observer.so differ diff --git a/cheeseburger/proprietary/vendor/lib64/libhwdaphal.so b/cheeseburger/proprietary/vendor/lib64/libhwdaphal.so new file mode 100644 index 00000000..86bab33c Binary files /dev/null and b/cheeseburger/proprietary/vendor/lib64/libhwdaphal.so differ diff --git a/cheeseburger/proprietary/vendor/lib64/libmiracast.so b/cheeseburger/proprietary/vendor/lib64/libmiracast.so index 69bc98c8..ee753139 100644 Binary files a/cheeseburger/proprietary/vendor/lib64/libmiracast.so and b/cheeseburger/proprietary/vendor/lib64/libmiracast.so differ diff --git a/cheeseburger/proprietary/vendor/lib64/libprotobuf-cpp-lgcy.so b/cheeseburger/proprietary/vendor/lib64/libprotobuf-cpp-lgcy.so new file mode 100755 index 00000000..ae58edeb Binary files /dev/null and b/cheeseburger/proprietary/vendor/lib64/libprotobuf-cpp-lgcy.so differ diff --git a/cheeseburger/proprietary/vendor/lib64/libril-qc-qmi-1.so b/cheeseburger/proprietary/vendor/lib64/libril-qc-qmi-1.so index 6b561d05..b26056b0 100644 Binary files a/cheeseburger/proprietary/vendor/lib64/libril-qc-qmi-1.so and b/cheeseburger/proprietary/vendor/lib64/libril-qc-qmi-1.so differ diff --git a/cheeseburger/proprietary/vendor/lib64/libsettings.so b/cheeseburger/proprietary/vendor/lib64/libsettings.so index 67eb3ef1..77ea34cb 100644 Binary files a/cheeseburger/proprietary/vendor/lib64/libsettings.so and b/cheeseburger/proprietary/vendor/lib64/libsettings.so differ diff --git a/cheeseburger/proprietary/vendor/lib64/libulp2.so b/cheeseburger/proprietary/vendor/lib64/libulp2.so index 3c1969ff..5611088a 100644 Binary files a/cheeseburger/proprietary/vendor/lib64/libulp2.so and b/cheeseburger/proprietary/vendor/lib64/libulp2.so differ diff --git a/configs/media_profiles_BACKUP_31944.xml b/configs/media_profiles_BACKUP_31944.xml deleted file mode 100644 index 63765518..00000000 --- a/configs/media_profiles_BACKUP_31944.xml +++ /dev/null @@ -1,1519 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/configs/media_profiles_BASE_31944.xml b/configs/media_profiles_BASE_31944.xml deleted file mode 100644 index f3550eea..00000000 --- a/configs/media_profiles_BASE_31944.xml +++ /dev/null @@ -1,1437 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/configs/media_profiles_LOCAL_31944.xml b/configs/media_profiles_LOCAL_31944.xml deleted file mode 100644 index e69de29b..00000000 diff --git a/configs/media_profiles_REMOTE_31944.xml b/configs/media_profiles_REMOTE_31944.xml deleted file mode 100644 index 63765518..00000000 --- a/configs/media_profiles_REMOTE_31944.xml +++ /dev/null @@ -1,1519 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/oneplus3/oneplus3-vendor.mk b/oneplus3/oneplus3-vendor.mk index 7c5dde2b..51e15747 100644 --- a/oneplus3/oneplus3-vendor.mk +++ b/oneplus3/oneplus3-vendor.mk @@ -95,10 +95,11 @@ PRODUCT_COPY_FILES += \ vendor/oneplus/oneplus3/proprietary/etc/oneplus3_vstab_db_1080p_video_1.config:system/etc/oneplus3_vstab_db_1080p_video_1.config \ vendor/oneplus/oneplus3/proprietary/etc/oneplus3_vstab_db_720p_video_0.config:system/etc/oneplus3_vstab_db_720p_video_0.config \ vendor/oneplus/oneplus3/proprietary/etc/oneplus3_vstab_db_720p_video_1.config:system/etc/oneplus3_vstab_db_720p_video_1.config \ - vendor/oneplus/oneplus3/proprietary/etc/sensors/hals.conf:system/etc/sensors/hals.conf \ + vendor/oneplus/oneplus3/proprietary/vendor/etc/sensors/hals.conf:system/vendor/etc/sensors/hals.conf \ vendor/oneplus/oneplus3/proprietary/etc/sensors/sensor_def_qcomdev.conf:system/etc/sensors/sensor_def_qcomdev.conf \ vendor/oneplus/oneplus3/proprietary/lib/TC_Bayer_Converter_v6_core_opt.bin:system/lib/TC_Bayer_Converter_v6_core_opt.bin \ vendor/oneplus/oneplus3/proprietary/lib/hw/camera.msm8996.so:system/lib/hw/camera.msm8996.so \ + vendor/oneplus/oneplus3/proprietary/lib/vendor.qti.gnss@1.0.so:system/lib/vendor.qti.gnss@1.0.so \ vendor/oneplus/oneplus3/proprietary/lib/libFNVfbEngineHAL.so:system/lib/libFNVfbEngineHAL.so \ vendor/oneplus/oneplus3/proprietary/lib/libSensorManagerHAL.so:system/lib/libSensorManagerHAL.so \ vendor/oneplus/oneplus3/proprietary/lib/lib_oneplus_facebeauty.so:system/lib/lib_oneplus_facebeauty.so \ @@ -157,11 +158,13 @@ PRODUCT_COPY_FILES += \ vendor/oneplus/oneplus3/proprietary/lib/qpd_dspcl_v2.bin:system/lib/qpd_dspcl_v2.bin \ vendor/oneplus/oneplus3/proprietary/lib/rfsa/adsp/libmorpho_image_stabilizer4_hvx_skel.so:system/lib/rfsa/adsp/libmorpho_image_stabilizer4_hvx_skel.so \ vendor/oneplus/oneplus3/proprietary/lib/rfsa/adsp/libmorpho_video_denoiser_hvx_skel.so:system/lib/rfsa/adsp/libmorpho_video_denoiser_hvx_skel.so \ - vendor/oneplus/oneplus3/proprietary/lib64/hw/fingerprint.msm8996.so:system/lib64/hw/fingerprint.msm8996.so \ + vendor/oneplus/oneplus3/proprietary/lib64/hw/fingerprint.vendor.msm8996.so:system/lib64/hw/fingerprint.vendor.msm8996.so \ + vendor/oneplus/oneplus3/proprietary/lib64/vendor.qti.gnss@1.0.so:system/lib64/vendor.qti.gnss@1.0.so \ vendor/oneplus/oneplus3/proprietary/lib64/lib_fpc_tac_shared.so:system/lib64/lib_fpc_tac_shared.so \ vendor/oneplus/oneplus3/proprietary/lib64/libparam.so:system/lib64/libparam.so \ vendor/oneplus/oneplus3/proprietary/lib64/libteeclientjni.so:system/lib64/libteeclientjni.so \ vendor/oneplus/oneplus3/proprietary/vendor/firmware/libpn548ad_fw.so:system/vendor/firmware/libpn548ad_fw.so \ + vendor/oneplus/oneplus3/proprietary/vendor/lib/liblocationservice_jni.so:system/vendor/lib/liblocationservice_jni.so \ vendor/oneplus/oneplus3/proprietary/vendor/lib/libSonyIMX298PdafLibrary.so:system/vendor/lib/libSonyIMX298PdafLibrary.so \ vendor/oneplus/oneplus3/proprietary/vendor/lib/libactuator_rohm_bu63165gwl.so:system/vendor/lib/libactuator_rohm_bu63165gwl.so \ vendor/oneplus/oneplus3/proprietary/vendor/lib/libchromaflash.so:system/vendor/lib/libchromaflash.so \ @@ -419,11 +422,14 @@ PRODUCT_COPY_FILES += \ vendor/oneplus/oneplus3/proprietary/vendor/lib/libseemore.so:system/vendor/lib/libseemore.so \ vendor/oneplus/oneplus3/proprietary/vendor/lib/libtrueportrait.so:system/vendor/lib/libtrueportrait.so \ vendor/oneplus/oneplus3/proprietary/vendor/lib/libubifocus.so:system/vendor/lib/libubifocus.so \ + vendor/oneplus/oneplus3/proprietary/vendor/lib64/liblocationservice_jni.so:system/vendor/lib64/liblocationservice_jni.so \ vendor/oneplus/oneplus3/proprietary/vendor/lib64/libqfp-service.so:system/vendor/lib64/libqfp-service.so \ vendor/oneplus/oneplus3/proprietary/vendor/lib64/libremosaic_daemon.so:system/vendor/lib64/libremosaic_daemon.so \ vendor/oneplus/oneplus3/proprietary/vendor/lib64/libremosaic_tuning.so:system/vendor/lib64/libremosaic_tuning.so \ vendor/oneplus/oneplus3/proprietary/vendor/lib64/libremosaiclib.so:system/vendor/lib64/libremosaiclib.so \ - vendor/oneplus/oneplus3/proprietary/vendor/lib64/qfp.wakeup.so:system/vendor/lib64/qfp.wakeup.so + vendor/oneplus/oneplus3/proprietary/vendor/lib64/qfp.wakeup.so:system/vendor/lib64/qfp.wakeup.so \ + vendor/oneplus/oneplus3/proprietary/vendor/lib64/libprotobuf-cpp-fool.so:system/vendor/lib64/libprotobuf-cpp-fool.so \ + vendor/oneplus/oneplus3/proprietary/vendor/lib64/libprotobuf-cpp-late.so:system/vendor/lib64/libprotobuf-cpp-late.so PRODUCT_PACKAGES += \ dashd @@ -512,7 +518,6 @@ PRODUCT_COPY_FILES += \ vendor/oneplus/oneplus3/proprietary/etc/permissions/qti-vzw-ims-internal.xml:system/etc/permissions/qti-vzw-ims-internal.xml \ vendor/oneplus/oneplus3/proprietary/etc/permissions/qti_permissions.xml:system/etc/permissions/qti_permissions.xml \ vendor/oneplus/oneplus3/proprietary/etc/permissions/telephonyservice.xml:system/etc/permissions/telephonyservice.xml \ - vendor/oneplus/oneplus3/proprietary/etc/thermal-engine.conf:system/etc/thermal-engine.conf \ vendor/oneplus/oneplus3/proprietary/etc/xtra_root_cert.pem:system/etc/xtra_root_cert.pem \ vendor/oneplus/oneplus3/proprietary/framework/ConnectivityExt.jar:system/framework/ConnectivityExt.jar \ vendor/oneplus/oneplus3/proprietary/framework/QtiTelephonyServicelibrary.jar:system/framework/QtiTelephonyServicelibrary.jar \ @@ -831,12 +836,9 @@ PRODUCT_PACKAGES += \ TimeService \ datastatusnotification \ embms \ - fastdormancy \ shutdownlistener \ - CNEService \ QtiTetherService \ com.qualcomm.location \ - dpmserviceapp \ qcrilmsgtunnel \ colorservice \ ims \ diff --git a/oneplus3/proprietary/app/QtiTelephonyService/QtiTelephonyService.apk b/oneplus3/proprietary/app/QtiTelephonyService/QtiTelephonyService.apk index fce4817f..f8ccc173 100644 Binary files a/oneplus3/proprietary/app/QtiTelephonyService/QtiTelephonyService.apk and b/oneplus3/proprietary/app/QtiTelephonyService/QtiTelephonyService.apk differ diff --git a/oneplus3/proprietary/app/TimeService/TimeService.apk b/oneplus3/proprietary/app/TimeService/TimeService.apk index 1e21efa3..a842b851 100644 Binary files a/oneplus3/proprietary/app/TimeService/TimeService.apk and b/oneplus3/proprietary/app/TimeService/TimeService.apk differ diff --git a/oneplus3/proprietary/app/datastatusnotification/datastatusnotification.apk b/oneplus3/proprietary/app/datastatusnotification/datastatusnotification.apk index aae47ffb..4a5bc8f3 100644 Binary files a/oneplus3/proprietary/app/datastatusnotification/datastatusnotification.apk and b/oneplus3/proprietary/app/datastatusnotification/datastatusnotification.apk differ diff --git a/oneplus3/proprietary/app/embms/embms.apk b/oneplus3/proprietary/app/embms/embms.apk index 54ee6b21..c54ead87 100644 Binary files a/oneplus3/proprietary/app/embms/embms.apk and b/oneplus3/proprietary/app/embms/embms.apk differ diff --git a/oneplus3/proprietary/app/fastdormancy/fastdormancy.apk b/oneplus3/proprietary/app/fastdormancy/fastdormancy.apk index 6784c436..dd4298c6 100644 Binary files a/oneplus3/proprietary/app/fastdormancy/fastdormancy.apk and b/oneplus3/proprietary/app/fastdormancy/fastdormancy.apk differ diff --git a/oneplus3/proprietary/app/shutdownlistener/shutdownlistener.apk b/oneplus3/proprietary/app/shutdownlistener/shutdownlistener.apk index 34c09f91..6d91664c 100644 Binary files a/oneplus3/proprietary/app/shutdownlistener/shutdownlistener.apk and b/oneplus3/proprietary/app/shutdownlistener/shutdownlistener.apk differ diff --git a/oneplus3/proprietary/bin/cnd b/oneplus3/proprietary/bin/cnd index 5305fac2..1635f41f 100755 Binary files a/oneplus3/proprietary/bin/cnd and b/oneplus3/proprietary/bin/cnd differ diff --git a/oneplus3/proprietary/etc/firmware/a530_zap-pro.b01 b/oneplus3/proprietary/etc/firmware/a530_zap-pro.b01 index b71eca57..28c4f801 100644 Binary files a/oneplus3/proprietary/etc/firmware/a530_zap-pro.b01 and b/oneplus3/proprietary/etc/firmware/a530_zap-pro.b01 differ diff --git a/oneplus3/proprietary/etc/firmware/a530_zap-pro.elf b/oneplus3/proprietary/etc/firmware/a530_zap-pro.elf index 3ff8b9b4..bd9f96bd 100644 Binary files a/oneplus3/proprietary/etc/firmware/a530_zap-pro.elf and b/oneplus3/proprietary/etc/firmware/a530_zap-pro.elf differ diff --git a/oneplus3/proprietary/etc/firmware/a530_zap-pro.mdt b/oneplus3/proprietary/etc/firmware/a530_zap-pro.mdt index 9379e7b7..5a1edf52 100644 Binary files a/oneplus3/proprietary/etc/firmware/a530_zap-pro.mdt and b/oneplus3/proprietary/etc/firmware/a530_zap-pro.mdt differ diff --git a/oneplus3/proprietary/etc/firmware/a530_zap.b01 b/oneplus3/proprietary/etc/firmware/a530_zap.b01 index 5eebbe82..16de0e6d 100644 Binary files a/oneplus3/proprietary/etc/firmware/a530_zap.b01 and b/oneplus3/proprietary/etc/firmware/a530_zap.b01 differ diff --git a/oneplus3/proprietary/etc/firmware/a530_zap.elf b/oneplus3/proprietary/etc/firmware/a530_zap.elf index 4b502413..335612a0 100644 Binary files a/oneplus3/proprietary/etc/firmware/a530_zap.elf and b/oneplus3/proprietary/etc/firmware/a530_zap.elf differ diff --git a/oneplus3/proprietary/etc/firmware/a530_zap.mdt b/oneplus3/proprietary/etc/firmware/a530_zap.mdt index 991c2ea3..8d2a7b94 100644 Binary files a/oneplus3/proprietary/etc/firmware/a530_zap.mdt and b/oneplus3/proprietary/etc/firmware/a530_zap.mdt differ diff --git a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_ATT-VoLTE.mbn b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_ATT-VoLTE.mbn index b7173ee9..fa0d04aa 100644 Binary files a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_ATT-VoLTE.mbn and b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_ATT-VoLTE.mbn differ diff --git a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_CMCC_Volte_OpenMkt-Commercial.mbn b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_CMCC_Volte_OpenMkt-Commercial.mbn index 224d0b38..e1ca590b 100644 Binary files a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_CMCC_Volte_OpenMkt-Commercial.mbn and b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_CMCC_Volte_OpenMkt-Commercial.mbn differ diff --git a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_CT_OpenMkt-Commercial.mbn b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_CT_OpenMkt-Commercial.mbn index 0b530960..9d1069f3 100644 Binary files a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_CT_OpenMkt-Commercial.mbn and b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_CT_OpenMkt-Commercial.mbn differ diff --git a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_CU_OpenMkt-Commercial.mbn b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_CU_OpenMkt-Commercial.mbn index 4be38ea5..d2dcdcc4 100644 Binary files a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_CU_OpenMkt-Commercial.mbn and b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_CU_OpenMkt-Commercial.mbn differ diff --git a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_OEM_CDMA-Commercial.mbn b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_OEM_CDMA-Commercial.mbn index 0fe86f64..71520a8c 100644 Binary files a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_OEM_CDMA-Commercial.mbn and b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_OEM_CDMA-Commercial.mbn differ diff --git a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_OEM_Test-VoLTE.mbn b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_OEM_Test-VoLTE.mbn index 9b69f7af..b61431e8 100644 Binary files a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_OEM_Test-VoLTE.mbn and b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_OEM_Test-VoLTE.mbn differ diff --git a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_TMO-Commercial.mbn b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_TMO-Commercial.mbn index dff5ec56..e08cc356 100644 Binary files a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_TMO-Commercial.mbn and b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw/mcfg_sw_TMO-Commercial.mbn differ diff --git a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_CMCC_Volte_OpenMkt-Commercial.mbn b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_CMCC_Volte_OpenMkt-Commercial.mbn index 224d0b38..e1ca590b 100644 Binary files a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_CMCC_Volte_OpenMkt-Commercial.mbn and b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_CMCC_Volte_OpenMkt-Commercial.mbn differ diff --git a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_CU_OpenMkt-Commercial.mbn b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_CU_OpenMkt-Commercial.mbn index 4be38ea5..d2dcdcc4 100644 Binary files a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_CU_OpenMkt-Commercial.mbn and b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_CU_OpenMkt-Commercial.mbn differ diff --git a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_EE-Commercial.mbn b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_EE-Commercial.mbn index 0ee6f421..72262dcb 100644 Binary files a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_EE-Commercial.mbn and b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_EE-Commercial.mbn differ diff --git a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_MTNL_BSNL.mbn b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_MTNL_BSNL.mbn index a52050c5..991265a5 100644 Binary files a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_MTNL_BSNL.mbn and b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_MTNL_BSNL.mbn differ diff --git a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_OEM_NoCDMA-Commercial.mbn b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_OEM_NoCDMA-Commercial.mbn index dddb8de3..50a8d95d 100644 Binary files a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_OEM_NoCDMA-Commercial.mbn and b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_OEM_NoCDMA-Commercial.mbn differ diff --git a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_OEM_Test-VoLTE.mbn b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_OEM_Test-VoLTE.mbn index 9b69f7af..b61431e8 100644 Binary files a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_OEM_Test-VoLTE.mbn and b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_OEM_Test-VoLTE.mbn differ diff --git a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_Reliance-Commercial.mbn b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_Reliance-Commercial.mbn index 34ddfe93..ef858d50 100644 Binary files a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_Reliance-Commercial.mbn and b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_Reliance-Commercial.mbn differ diff --git a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_UK-VoLTE.mbn b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_UK-VoLTE.mbn index b6db8850..87db9743 100644 Binary files a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_UK-VoLTE.mbn and b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_UK-VoLTE.mbn differ diff --git a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_YTL-Commercial.mbn b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_YTL-Commercial.mbn index 8a4a3589..aea86b32 100644 Binary files a/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_YTL-Commercial.mbn and b/oneplus3/proprietary/etc/firmware/mbn_ota/mcfg_sw_NoCDMA/mcfg_sw_YTL-Commercial.mbn differ diff --git a/oneplus3/proprietary/etc/thermal-engine.conf b/oneplus3/proprietary/etc/thermal-engine.conf deleted file mode 100644 index 33fc8214..00000000 --- a/oneplus3/proprietary/etc/thermal-engine.conf +++ /dev/null @@ -1,2 +0,0 @@ -# File empty by default. -# Replace contents of this file with custom configuration. diff --git a/oneplus3/proprietary/framework/QtiTelephonyServicelibrary.jar b/oneplus3/proprietary/framework/QtiTelephonyServicelibrary.jar index b2ca1f94..3878fec8 100644 Binary files a/oneplus3/proprietary/framework/QtiTelephonyServicelibrary.jar and b/oneplus3/proprietary/framework/QtiTelephonyServicelibrary.jar differ diff --git a/oneplus3/proprietary/framework/cneapiclient.jar b/oneplus3/proprietary/framework/cneapiclient.jar index 7eb621e8..58903f57 100644 Binary files a/oneplus3/proprietary/framework/cneapiclient.jar and b/oneplus3/proprietary/framework/cneapiclient.jar differ diff --git a/oneplus3/proprietary/framework/com.google.widevine.software.drm.jar b/oneplus3/proprietary/framework/com.google.widevine.software.drm.jar new file mode 100644 index 00000000..4068c82d Binary files /dev/null and b/oneplus3/proprietary/framework/com.google.widevine.software.drm.jar differ diff --git a/oneplus3/proprietary/framework/com.qti.dpmframework.jar b/oneplus3/proprietary/framework/com.qti.dpmframework.jar index 519812ff..a9857e83 100644 Binary files a/oneplus3/proprietary/framework/com.qti.dpmframework.jar and b/oneplus3/proprietary/framework/com.qti.dpmframework.jar differ diff --git a/oneplus3/proprietary/framework/com.qti.location.sdk.jar b/oneplus3/proprietary/framework/com.qti.location.sdk.jar index 368ea1a3..872e44be 100644 Binary files a/oneplus3/proprietary/framework/com.qti.location.sdk.jar and b/oneplus3/proprietary/framework/com.qti.location.sdk.jar differ diff --git a/oneplus3/proprietary/framework/com.qti.snapdragon.sdk.display.jar b/oneplus3/proprietary/framework/com.qti.snapdragon.sdk.display.jar index 65d38f27..ff42773c 100644 Binary files a/oneplus3/proprietary/framework/com.qti.snapdragon.sdk.display.jar and b/oneplus3/proprietary/framework/com.qti.snapdragon.sdk.display.jar differ diff --git a/oneplus3/proprietary/framework/com.qualcomm.location.vzw_library.jar b/oneplus3/proprietary/framework/com.qualcomm.location.vzw_library.jar index 468796d3..01a37153 100644 Binary files a/oneplus3/proprietary/framework/com.qualcomm.location.vzw_library.jar and b/oneplus3/proprietary/framework/com.qualcomm.location.vzw_library.jar differ diff --git a/oneplus3/proprietary/framework/com.quicinc.cne.jar b/oneplus3/proprietary/framework/com.quicinc.cne.jar index 47f34a55..999255de 100644 Binary files a/oneplus3/proprietary/framework/com.quicinc.cne.jar and b/oneplus3/proprietary/framework/com.quicinc.cne.jar differ diff --git a/oneplus3/proprietary/framework/dpmapi.jar b/oneplus3/proprietary/framework/dpmapi.jar index fb73cd79..ad62b218 100644 Binary files a/oneplus3/proprietary/framework/dpmapi.jar and b/oneplus3/proprietary/framework/dpmapi.jar differ diff --git a/oneplus3/proprietary/framework/embmslibrary.jar b/oneplus3/proprietary/framework/embmslibrary.jar index a19b6161..3480066a 100644 Binary files a/oneplus3/proprietary/framework/embmslibrary.jar and b/oneplus3/proprietary/framework/embmslibrary.jar differ diff --git a/oneplus3/proprietary/framework/izat.xt.srv.jar b/oneplus3/proprietary/framework/izat.xt.srv.jar index 5be3e0da..50b8cf4f 100644 Binary files a/oneplus3/proprietary/framework/izat.xt.srv.jar and b/oneplus3/proprietary/framework/izat.xt.srv.jar differ diff --git a/oneplus3/proprietary/framework/qcnvitems.jar b/oneplus3/proprietary/framework/qcnvitems.jar index ff4595f5..9c1ce92a 100644 Binary files a/oneplus3/proprietary/framework/qcnvitems.jar and b/oneplus3/proprietary/framework/qcnvitems.jar differ diff --git a/oneplus3/proprietary/framework/qcrilhook.jar b/oneplus3/proprietary/framework/qcrilhook.jar index 4fa791a4..8c699a29 100644 Binary files a/oneplus3/proprietary/framework/qcrilhook.jar and b/oneplus3/proprietary/framework/qcrilhook.jar differ diff --git a/oneplus3/proprietary/framework/tcmclient.jar b/oneplus3/proprietary/framework/tcmclient.jar index b61c011f..2b0fe25e 100644 Binary files a/oneplus3/proprietary/framework/tcmclient.jar and b/oneplus3/proprietary/framework/tcmclient.jar differ diff --git a/oneplus3/proprietary/lib/hw/camera.msm8996.so b/oneplus3/proprietary/lib/hw/camera.msm8996.so index 0bcdb428..363f075a 100644 Binary files a/oneplus3/proprietary/lib/hw/camera.msm8996.so and b/oneplus3/proprietary/lib/hw/camera.msm8996.so differ diff --git a/oneplus3/proprietary/lib/libmmcamera_interface.so b/oneplus3/proprietary/lib/libmmcamera_interface.so index 3effd65d..7e927d36 100644 Binary files a/oneplus3/proprietary/lib/libmmcamera_interface.so and b/oneplus3/proprietary/lib/libmmcamera_interface.so differ diff --git a/oneplus3/proprietary/lib/vendor.qti.gnss@1.0.so b/oneplus3/proprietary/lib/vendor.qti.gnss@1.0.so new file mode 100644 index 00000000..1fa2b88f Binary files /dev/null and b/oneplus3/proprietary/lib/vendor.qti.gnss@1.0.so differ diff --git a/oneplus3/proprietary/lib64/hw/fingerprint.msm8996.so b/oneplus3/proprietary/lib64/hw/fingerprint.msm8996.so deleted file mode 100644 index cf80f578..00000000 Binary files a/oneplus3/proprietary/lib64/hw/fingerprint.msm8996.so and /dev/null differ diff --git a/oneplus3/proprietary/lib64/hw/fingerprint.vendor.msm8996.so b/oneplus3/proprietary/lib64/hw/fingerprint.vendor.msm8996.so new file mode 100644 index 00000000..b50b5c85 Binary files /dev/null and b/oneplus3/proprietary/lib64/hw/fingerprint.vendor.msm8996.so differ diff --git a/oneplus3/proprietary/lib64/vendor.qti.gnss@1.0.so b/oneplus3/proprietary/lib64/vendor.qti.gnss@1.0.so new file mode 100644 index 00000000..1314d3ec Binary files /dev/null and b/oneplus3/proprietary/lib64/vendor.qti.gnss@1.0.so differ diff --git a/oneplus3/proprietary/priv-app/CNEService/CNEService.apk b/oneplus3/proprietary/priv-app/CNEService/CNEService.apk index 16f93a26..f5fdfe18 100644 Binary files a/oneplus3/proprietary/priv-app/CNEService/CNEService.apk and b/oneplus3/proprietary/priv-app/CNEService/CNEService.apk differ diff --git a/oneplus3/proprietary/priv-app/com.qualcomm.location/com.qualcomm.location.apk b/oneplus3/proprietary/priv-app/com.qualcomm.location/com.qualcomm.location.apk index 29d10bda..0f76a108 100644 Binary files a/oneplus3/proprietary/priv-app/com.qualcomm.location/com.qualcomm.location.apk and b/oneplus3/proprietary/priv-app/com.qualcomm.location/com.qualcomm.location.apk differ diff --git a/oneplus3/proprietary/priv-app/dpmserviceapp/dpmserviceapp.apk b/oneplus3/proprietary/priv-app/dpmserviceapp/dpmserviceapp.apk index 5ef34c96..5a4851fa 100644 Binary files a/oneplus3/proprietary/priv-app/dpmserviceapp/dpmserviceapp.apk and b/oneplus3/proprietary/priv-app/dpmserviceapp/dpmserviceapp.apk differ diff --git a/oneplus3/proprietary/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk b/oneplus3/proprietary/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk index 0d8bca56..b2caaed4 100644 Binary files a/oneplus3/proprietary/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk and b/oneplus3/proprietary/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk differ diff --git a/oneplus3/proprietary/vendor/app/ims/ims.apk b/oneplus3/proprietary/vendor/app/ims/ims.apk index d733358e..905b8ae4 100644 Binary files a/oneplus3/proprietary/vendor/app/ims/ims.apk and b/oneplus3/proprietary/vendor/app/ims/ims.apk differ diff --git a/oneplus3/proprietary/vendor/app/imssettings/imssettings.apk b/oneplus3/proprietary/vendor/app/imssettings/imssettings.apk index eeb7688a..7764d5e0 100644 Binary files a/oneplus3/proprietary/vendor/app/imssettings/imssettings.apk and b/oneplus3/proprietary/vendor/app/imssettings/imssettings.apk differ diff --git a/oneplus3/proprietary/vendor/bin/perfd b/oneplus3/proprietary/vendor/bin/perfd index 9bd50454..08e60d84 100755 Binary files a/oneplus3/proprietary/vendor/bin/perfd and b/oneplus3/proprietary/vendor/bin/perfd differ diff --git a/oneplus3/proprietary/etc/sensors/hals.conf b/oneplus3/proprietary/vendor/etc/sensors/hals.conf similarity index 100% rename from oneplus3/proprietary/etc/sensors/hals.conf rename to oneplus3/proprietary/vendor/etc/sensors/hals.conf diff --git a/oneplus3/proprietary/vendor/framework/qti-vzw-ims-internal.jar b/oneplus3/proprietary/vendor/framework/qti-vzw-ims-internal.jar index 75ca99bf..ae1f9fe1 100644 Binary files a/oneplus3/proprietary/vendor/framework/qti-vzw-ims-internal.jar and b/oneplus3/proprietary/vendor/framework/qti-vzw-ims-internal.jar differ diff --git a/oneplus3/proprietary/vendor/lib/libcne.so b/oneplus3/proprietary/vendor/lib/libcne.so index 76b541ae..94908a2d 100644 Binary files a/oneplus3/proprietary/vendor/lib/libcne.so and b/oneplus3/proprietary/vendor/lib/libcne.so differ diff --git a/oneplus3/proprietary/vendor/lib/libcneapiclient.so b/oneplus3/proprietary/vendor/lib/libcneapiclient.so index 03169340..211e3098 100644 Binary files a/oneplus3/proprietary/vendor/lib/libcneapiclient.so and b/oneplus3/proprietary/vendor/lib/libcneapiclient.so differ diff --git a/oneplus3/proprietary/vendor/lib/libdpmfdmgr.so b/oneplus3/proprietary/vendor/lib/libdpmfdmgr.so index 6527455b..28c52c87 100644 Binary files a/oneplus3/proprietary/vendor/lib/libdpmfdmgr.so and b/oneplus3/proprietary/vendor/lib/libdpmfdmgr.so differ diff --git a/oneplus3/proprietary/vendor/lib/liblocationservice_jni.so b/oneplus3/proprietary/vendor/lib/liblocationservice_jni.so new file mode 100644 index 00000000..debaba68 Binary files /dev/null and b/oneplus3/proprietary/vendor/lib/liblocationservice_jni.so differ diff --git a/oneplus3/proprietary/vendor/lib/libqti-perfd-client.so b/oneplus3/proprietary/vendor/lib/libqti-perfd-client.so index d2fc0675..400a9ba6 100644 Binary files a/oneplus3/proprietary/vendor/lib/libqti-perfd-client.so and b/oneplus3/proprietary/vendor/lib/libqti-perfd-client.so differ diff --git a/oneplus3/proprietary/vendor/lib/libwms.so b/oneplus3/proprietary/vendor/lib/libwms.so index d79ad463..92989383 100644 Binary files a/oneplus3/proprietary/vendor/lib/libwms.so and b/oneplus3/proprietary/vendor/lib/libwms.so differ diff --git a/oneplus3/proprietary/vendor/lib/libwqe.so b/oneplus3/proprietary/vendor/lib/libwqe.so index c3734799..b14e6272 100644 Binary files a/oneplus3/proprietary/vendor/lib/libwqe.so and b/oneplus3/proprietary/vendor/lib/libwqe.so differ diff --git a/oneplus3/proprietary/vendor/lib/mediadrm/libwvdrmengine.so b/oneplus3/proprietary/vendor/lib/mediadrm/libwvdrmengine.so index b11badf0..6e3b1fb6 100644 Binary files a/oneplus3/proprietary/vendor/lib/mediadrm/libwvdrmengine.so and b/oneplus3/proprietary/vendor/lib/mediadrm/libwvdrmengine.so differ diff --git a/oneplus3/proprietary/vendor/lib64/libcne.so b/oneplus3/proprietary/vendor/lib64/libcne.so index 806aca20..03e5461b 100644 Binary files a/oneplus3/proprietary/vendor/lib64/libcne.so and b/oneplus3/proprietary/vendor/lib64/libcne.so differ diff --git a/oneplus3/proprietary/vendor/lib64/libcneapiclient.so b/oneplus3/proprietary/vendor/lib64/libcneapiclient.so index 8fdb71c2..005fb7a3 100644 Binary files a/oneplus3/proprietary/vendor/lib64/libcneapiclient.so and b/oneplus3/proprietary/vendor/lib64/libcneapiclient.so differ diff --git a/oneplus3/proprietary/vendor/lib64/libdpmfdmgr.so b/oneplus3/proprietary/vendor/lib64/libdpmfdmgr.so index 1ee65c36..189935a6 100644 Binary files a/oneplus3/proprietary/vendor/lib64/libdpmfdmgr.so and b/oneplus3/proprietary/vendor/lib64/libdpmfdmgr.so differ diff --git a/oneplus3/proprietary/vendor/lib64/libdrmfs.so b/oneplus3/proprietary/vendor/lib64/libdrmfs.so index 715b89ce..29b86f83 100644 Binary files a/oneplus3/proprietary/vendor/lib64/libdrmfs.so and b/oneplus3/proprietary/vendor/lib64/libdrmfs.so differ diff --git a/oneplus3/proprietary/vendor/lib64/libdrmtime.so b/oneplus3/proprietary/vendor/lib64/libdrmtime.so index 215fa940..d8c5679b 100644 Binary files a/oneplus3/proprietary/vendor/lib64/libdrmtime.so and b/oneplus3/proprietary/vendor/lib64/libdrmtime.so differ diff --git a/oneplus3/proprietary/vendor/lib64/liblocationservice_jni.so b/oneplus3/proprietary/vendor/lib64/liblocationservice_jni.so new file mode 100644 index 00000000..e3d21f2b Binary files /dev/null and b/oneplus3/proprietary/vendor/lib64/liblocationservice_jni.so differ diff --git a/oneplus3/proprietary/vendor/lib64/libprotobuf-cpp-fool.so b/oneplus3/proprietary/vendor/lib64/libprotobuf-cpp-fool.so new file mode 100755 index 00000000..1891abf2 Binary files /dev/null and b/oneplus3/proprietary/vendor/lib64/libprotobuf-cpp-fool.so differ diff --git a/oneplus3/proprietary/vendor/lib64/libprotobuf-cpp-late.so b/oneplus3/proprietary/vendor/lib64/libprotobuf-cpp-late.so new file mode 100755 index 00000000..1a72df5d Binary files /dev/null and b/oneplus3/proprietary/vendor/lib64/libprotobuf-cpp-late.so differ diff --git a/oneplus3/proprietary/vendor/lib64/libqti-perfd-client.so b/oneplus3/proprietary/vendor/lib64/libqti-perfd-client.so index 59bf3c4c..c5c1c4b4 100644 Binary files a/oneplus3/proprietary/vendor/lib64/libqti-perfd-client.so and b/oneplus3/proprietary/vendor/lib64/libqti-perfd-client.so differ diff --git a/oneplus3/proprietary/vendor/lib64/libsettings.so b/oneplus3/proprietary/vendor/lib64/libsettings.so index 7179fd5d..cde14c75 100644 Binary files a/oneplus3/proprietary/vendor/lib64/libsettings.so and b/oneplus3/proprietary/vendor/lib64/libsettings.so differ diff --git a/oneplus3/proprietary/vendor/lib64/libwms.so b/oneplus3/proprietary/vendor/lib64/libwms.so index 5eea3a6a..113b8e62 100644 Binary files a/oneplus3/proprietary/vendor/lib64/libwms.so and b/oneplus3/proprietary/vendor/lib64/libwms.so differ diff --git a/oneplus3/proprietary/vendor/lib64/libwqe.so b/oneplus3/proprietary/vendor/lib64/libwqe.so index fde00ad7..429f5890 100644 Binary files a/oneplus3/proprietary/vendor/lib64/libwqe.so and b/oneplus3/proprietary/vendor/lib64/libwqe.so differ