From cb11cd01e8ac5da3eeb27cc561ecaea8c03e178f Mon Sep 17 00:00:00 2001 From: Lucchetto Date: Thu, 28 Jan 2021 17:00:09 +0100 Subject: [PATCH] zippo: Use sm8150-common tree Change-Id: Ifb954878a4bdaeb738752cab77cc9f965e8bc064 --- Android.bp | 3 - Android.mk | 92 +- AndroidProducts.mk | 2 +- BoardConfig.mk | 188 +- audio/audio_effects.xml | 116 - audio/audio_io_policy.conf | 112 - audio/audio_platform_info.xml | 520 --- audio/audio_policy_configuration.xml | 286 -- ...cy_configuration_a2dp_offload_disabled.xml | 337 -- audio/audio_tuning_mixer.txt | 193 - audio/audio_tuning_mixer_tavil.txt | 193 - audio/graphite_ipc_platform_info.xml | 47 - audio/mixer_paths_pahu.xml | 2597 -------------- audio/mixer_paths_tavil.xml | 3165 ----------------- audio/sound_trigger_mixer_paths.xml | 332 -- audio/sound_trigger_mixer_paths_wcd9340.xml | 395 -- .../sound_trigger_mixer_paths_wcd9340_qrd.xml | 395 -- audio/sound_trigger_platform_info.xml | 368 -- bluetooth/include/bdroid_buildcfg.h | 33 - compatibility_matrix.xml | 66 - config.fs | 128 - configs/gps/apdr.conf | 205 -- configs/gps/flp.conf | 60 - configs/gps/gps.conf | 289 -- configs/gps/izat.conf | 247 -- configs/gps/lowi.conf | 27 - configs/gps/sap.conf | 161 - configs/gps/xtwifi.conf | 78 - configs/msm_irqbalance.conf | 32 - configs/public.libraries.txt | 14 - configs/sec_config | 331 -- device.mk | 400 +-- extract-files.sh | 68 +- fod/Android.bp | 32 - fod/FingerprintInscreen.cpp | 152 - fod/FingerprintInscreen.h | 70 - fod/service.cpp | 50 - ...print.inscreen@1.0-service.lenovo_zippo.rc | 10 - framework_manifest.xml | 11 - interfaces/Android.bp | 4 - interfaces/extend/service/2.0/Android.bp | 16 - .../service/2.0/IGoodixFPExtendService.hal | 5 - interfaces/extend/service/2.0/types.hal | 1 - interfaces/update-makefiles.sh | 6 - keylayout/gpio-keys.kl | 32 - keylayout/slip-cover.kl | 15 - libhidl/Android.mk | 46 - lights/Android.bp | 31 - lights/Light.cpp | 107 - lights/Light.h | 59 - ...hardware.light@2.0-service.lenovo_zippo.rc | 7 - lights/service.cpp | 50 - lineage.dependencies | 6 + lineage_zippo.mk | 6 +- manifest.xml | 764 ---- media/media_codecs.xml | 481 --- media/media_codecs_c2.xml | 293 -- media/media_codecs_performance.xml | 217 -- media/media_codecs_vendor_audio.xml | 26 - media/media_profiles.xml | 2316 ------------ media/media_profiles_V1_0.xml | 2316 ------------ media/media_profiles_vendor.xml | 1427 -------- media/system_properties.xml | 45 - odm.prop | 46 - .../lineage/res/res/values/config.xml | 57 - .../dialer/callrecord/res/values/config.xml | 20 - .../res/values-mcc234-mnc15-en-rGB/config.xml | 89 - .../res/values-mcc234-mnc15-en-rIN/config.xml | 89 - .../res/res/values-mcc234-mnc15/config.xml | 89 - .../res/values-mcc262-mnc02-en-rGB/config.xml | 89 - .../res/values-mcc262-mnc02-en-rIN/config.xml | 89 - .../res/res/values-mcc262-mnc02/config.xml | 89 - .../res/values-mcc262-mnc04-en-rGB/config.xml | 89 - .../res/values-mcc262-mnc04-en-rIN/config.xml | 89 - .../res/res/values-mcc262-mnc04/config.xml | 89 - .../res/values-mcc262-mnc09-en-rGB/config.xml | 89 - .../res/values-mcc262-mnc09-en-rIN/config.xml | 89 - .../res/res/values-mcc262-mnc09/config.xml | 89 - .../res/res/values-mcc310-mnc004/config.xml | 36 - .../res/res/values-mcc310-mnc120/config.xml | 37 - .../res/res/values-mcc310-mnc260/config.xml | 36 - .../res/res/values-mcc310-mnc410/config.xml | 36 - .../res/res/values-mcc311-mnc480/config.xml | 45 - .../res/res/values-mcc312-mnc530/config.xml | 37 - .../res/res/values-mcc313-mnc100/config.xml | 56 - .../res/res/values-mcc454-mnc03/config.xml | 34 - .../res/res/values-mcc454-mnc04/config.xml | 34 - .../res/res/values-mcc455-mnc02/config.xml | 34 - .../res/res/values-mcc455-mnc07/config.xml | 34 - .../res/res/values-mcc460-mnc03/config.xml | 37 - .../res/res/values-mcc460-mnc11/config.xml | 37 - .../base/core/res/res/values/config.xml | 677 ---- .../base/core/res/res/xml/power_profile.xml | 167 - .../SystemUI/res/values-sw372dp/dimens.xml | 20 - .../packages/SystemUI/res/values/config.xml | 25 - .../packages/SystemUI/res/values/dimens.xml | 24 - .../res/values/config.xml | 26 - .../apps/Settings/res/values/config.xml | 26 - .../apps/Settings/res/values/dimens.xml | 19 - .../packages/apps/Snap/res/values/config.xml | 27 - .../services/Telephony/res/values/config.xml | 41 - parts/Android.mk | 35 - parts/AndroidManifest.xml | 60 - parts/proguard.flags | 3 - parts/res/color/switch_bar_bg.xml | 20 - parts/res/drawable/switchbar_background.xml | 20 - parts/res/layout/doze.xml | 28 - parts/res/layout/switch_bar.xml | 49 - parts/res/values-night/colors.xml | 21 - parts/res/values/colors.xml | 22 - parts/res/values/strings.xml | 22 - parts/res/values/styles.xml | 73 - parts/res/xml/doze_settings.xml | 63 - .../settings/BootCompletedReceiver.java | 37 - .../lineageos/settings/doze/DozeService.java | 108 - .../settings/doze/DozeSettingsActivity.java | 34 - .../settings/doze/DozeSettingsFragment.java | 208 -- .../lineageos/settings/doze/DozeUtils.java | 150 - .../settings/doze/MovementSensor.java | 94 - .../lineageos/settings/doze/PickupSensor.java | 110 - .../settings/doze/ProximitySensor.java | 107 - proprietary-files.txt | 1355 +------ releasetools.py | 38 - rootdir/Android.mk | 218 -- rootdir/bin/init.class_main.sh | 162 - rootdir/bin/init.crda.sh | 35 - rootdir/bin/init.mdm.sh | 34 - rootdir/bin/init.qcom.class_core.sh | 216 -- rootdir/bin/init.qcom.coex.sh | 115 - rootdir/bin/init.qcom.crashdata.sh | 48 - rootdir/bin/init.qcom.early_boot.sh | 449 --- rootdir/bin/init.qcom.efs.sync.sh | 35 - rootdir/bin/init.qcom.post_boot.sh | 58 - rootdir/bin/init.qcom.sdio.sh | 78 - rootdir/bin/init.qcom.sensors.sh | 45 - rootdir/bin/init.qcom.sh | 458 --- rootdir/bin/init.qcom.usb.sh | 244 -- rootdir/bin/init.qti.fm.sh | 70 - rootdir/bin/init.qti.ims.sh | 57 - rootdir/etc/fstab.qcom | 57 - rootdir/etc/init.lenovo.common.rc | 42 - rootdir/etc/init.lenovo.rc | 52 - rootdir/etc/init.lenovo.usb.configfs.rc | 55 - rootdir/etc/init.msm.usb.configfs.rc | 1393 -------- rootdir/etc/init.qcom.factory.rc | 255 -- rootdir/etc/init.qcom.performance.rc | 204 -- rootdir/etc/init.qcom.rc | 1047 ------ rootdir/etc/init.qcom.usb.rc | 1671 --------- rootdir/etc/init.recovery.qcom.rc | 60 - rootdir/etc/init.target.rc | 170 - rootdir/ueventd.rc | 391 -- rro_overlays/WifiOverlay/Android.bp | 7 - rro_overlays/WifiOverlay/AndroidManifest.xml | 27 - .../WifiOverlay/res/values/config.xml | 69 - seccomp_policy/codec2.vendor.base.policy | 73 - seccomp_policy/codec2.vendor.ext.policy | 9 - seccomp_policy/mediacodec.policy | 19 - sepolicy/vendor/file.te | 1 - sepolicy/vendor/file_contexts | 6 - sepolicy/vendor/hal_fod_lenovo_zippo.te | 5 - sepolicy/vendor/hal_power.te | 2 - sepolicy/vendor/init.te | 5 - setup-makefiles.sh | 33 +- system.prop | 85 - vendor.prop | 124 - wifi/WCNSS_qcom_cfg.ini | 628 ---- wifi/p2p_supplicant_overlay.conf | 4 - wifi/wpa_supplicant_overlay.conf | 11 - 168 files changed, 78 insertions(+), 34223 deletions(-) delete mode 100644 Android.bp delete mode 100644 audio/audio_effects.xml delete mode 100644 audio/audio_io_policy.conf delete mode 100644 audio/audio_platform_info.xml delete mode 100644 audio/audio_policy_configuration.xml delete mode 100644 audio/audio_policy_configuration_a2dp_offload_disabled.xml delete mode 100644 audio/audio_tuning_mixer.txt delete mode 100644 audio/audio_tuning_mixer_tavil.txt delete mode 100644 audio/graphite_ipc_platform_info.xml delete mode 100644 audio/mixer_paths_pahu.xml delete mode 100644 audio/mixer_paths_tavil.xml delete mode 100644 audio/sound_trigger_mixer_paths.xml delete mode 100644 audio/sound_trigger_mixer_paths_wcd9340.xml delete mode 100644 audio/sound_trigger_mixer_paths_wcd9340_qrd.xml delete mode 100644 audio/sound_trigger_platform_info.xml delete mode 100644 bluetooth/include/bdroid_buildcfg.h delete mode 100644 compatibility_matrix.xml delete mode 100644 config.fs delete mode 100644 configs/gps/apdr.conf delete mode 100644 configs/gps/flp.conf delete mode 100644 configs/gps/gps.conf delete mode 100644 configs/gps/izat.conf delete mode 100644 configs/gps/lowi.conf delete mode 100644 configs/gps/sap.conf delete mode 100644 configs/gps/xtwifi.conf delete mode 100644 configs/msm_irqbalance.conf delete mode 100644 configs/public.libraries.txt delete mode 100644 configs/sec_config delete mode 100644 fod/Android.bp delete mode 100644 fod/FingerprintInscreen.cpp delete mode 100644 fod/FingerprintInscreen.h delete mode 100644 fod/service.cpp delete mode 100644 fod/vendor.lineage.biometrics.fingerprint.inscreen@1.0-service.lenovo_zippo.rc delete mode 100644 framework_manifest.xml delete mode 100644 interfaces/Android.bp delete mode 100644 interfaces/extend/service/2.0/Android.bp delete mode 100644 interfaces/extend/service/2.0/IGoodixFPExtendService.hal delete mode 100644 interfaces/extend/service/2.0/types.hal delete mode 100755 interfaces/update-makefiles.sh delete mode 100644 keylayout/gpio-keys.kl delete mode 100644 keylayout/slip-cover.kl delete mode 100644 libhidl/Android.mk delete mode 100644 lights/Android.bp delete mode 100644 lights/Light.cpp delete mode 100644 lights/Light.h delete mode 100644 lights/android.hardware.light@2.0-service.lenovo_zippo.rc delete mode 100644 lights/service.cpp create mode 100755 lineage.dependencies delete mode 100644 manifest.xml delete mode 100644 media/media_codecs.xml delete mode 100644 media/media_codecs_c2.xml delete mode 100644 media/media_codecs_performance.xml delete mode 100644 media/media_codecs_vendor_audio.xml delete mode 100755 media/media_profiles.xml delete mode 100755 media/media_profiles_V1_0.xml delete mode 100644 media/media_profiles_vendor.xml delete mode 100644 media/system_properties.xml delete mode 100644 odm.prop delete mode 100644 overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml delete mode 100644 overlay-lineage/packages/apps/Dialer/java/com/android/dialer/callrecord/res/values/config.xml delete mode 100644 overlay/frameworks/base/core/res/res/values-mcc234-mnc15-en-rGB/config.xml delete mode 100644 overlay/frameworks/base/core/res/res/values-mcc234-mnc15-en-rIN/config.xml delete mode 100644 overlay/frameworks/base/core/res/res/values-mcc234-mnc15/config.xml delete mode 100644 overlay/frameworks/base/core/res/res/values-mcc262-mnc02-en-rGB/config.xml delete mode 100644 overlay/frameworks/base/core/res/res/values-mcc262-mnc02-en-rIN/config.xml delete mode 100644 overlay/frameworks/base/core/res/res/values-mcc262-mnc02/config.xml delete mode 100644 overlay/frameworks/base/core/res/res/values-mcc262-mnc04-en-rGB/config.xml delete mode 100644 overlay/frameworks/base/core/res/res/values-mcc262-mnc04-en-rIN/config.xml delete mode 100644 overlay/frameworks/base/core/res/res/values-mcc262-mnc04/config.xml delete mode 100644 overlay/frameworks/base/core/res/res/values-mcc262-mnc09-en-rGB/config.xml delete mode 100644 overlay/frameworks/base/core/res/res/values-mcc262-mnc09-en-rIN/config.xml delete mode 100644 overlay/frameworks/base/core/res/res/values-mcc262-mnc09/config.xml delete mode 100644 overlay/frameworks/base/core/res/res/values-mcc310-mnc004/config.xml delete mode 100644 overlay/frameworks/base/core/res/res/values-mcc310-mnc120/config.xml delete mode 100644 overlay/frameworks/base/core/res/res/values-mcc310-mnc260/config.xml delete mode 100644 overlay/frameworks/base/core/res/res/values-mcc310-mnc410/config.xml delete mode 100644 overlay/frameworks/base/core/res/res/values-mcc311-mnc480/config.xml delete mode 100644 overlay/frameworks/base/core/res/res/values-mcc312-mnc530/config.xml delete mode 100644 overlay/frameworks/base/core/res/res/values-mcc313-mnc100/config.xml delete mode 100755 overlay/frameworks/base/core/res/res/values-mcc454-mnc03/config.xml delete mode 100755 overlay/frameworks/base/core/res/res/values-mcc454-mnc04/config.xml delete mode 100755 overlay/frameworks/base/core/res/res/values-mcc455-mnc02/config.xml delete mode 100755 overlay/frameworks/base/core/res/res/values-mcc455-mnc07/config.xml delete mode 100755 overlay/frameworks/base/core/res/res/values-mcc460-mnc03/config.xml delete mode 100755 overlay/frameworks/base/core/res/res/values-mcc460-mnc11/config.xml delete mode 100644 overlay/frameworks/base/core/res/res/values/config.xml delete mode 100644 overlay/frameworks/base/core/res/res/xml/power_profile.xml delete mode 100644 overlay/frameworks/base/packages/SystemUI/res/values-sw372dp/dimens.xml delete mode 100644 overlay/frameworks/base/packages/SystemUI/res/values/config.xml delete mode 100644 overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml delete mode 100644 overlay/packages/apps/CellBroadcastReceiver/res/values/config.xml delete mode 100644 overlay/packages/apps/Settings/res/values/config.xml delete mode 100644 overlay/packages/apps/Settings/res/values/dimens.xml delete mode 100644 overlay/packages/apps/Snap/res/values/config.xml delete mode 100644 overlay/packages/services/Telephony/res/values/config.xml delete mode 100644 parts/Android.mk delete mode 100644 parts/AndroidManifest.xml delete mode 100644 parts/proguard.flags delete mode 100644 parts/res/color/switch_bar_bg.xml delete mode 100644 parts/res/drawable/switchbar_background.xml delete mode 100644 parts/res/layout/doze.xml delete mode 100644 parts/res/layout/switch_bar.xml delete mode 100644 parts/res/values-night/colors.xml delete mode 100644 parts/res/values/colors.xml delete mode 100644 parts/res/values/strings.xml delete mode 100644 parts/res/values/styles.xml delete mode 100644 parts/res/xml/doze_settings.xml delete mode 100644 parts/src/org/lineageos/settings/BootCompletedReceiver.java delete mode 100644 parts/src/org/lineageos/settings/doze/DozeService.java delete mode 100644 parts/src/org/lineageos/settings/doze/DozeSettingsActivity.java delete mode 100644 parts/src/org/lineageos/settings/doze/DozeSettingsFragment.java delete mode 100644 parts/src/org/lineageos/settings/doze/DozeUtils.java delete mode 100644 parts/src/org/lineageos/settings/doze/MovementSensor.java delete mode 100644 parts/src/org/lineageos/settings/doze/PickupSensor.java delete mode 100644 parts/src/org/lineageos/settings/doze/ProximitySensor.java delete mode 100644 releasetools.py delete mode 100644 rootdir/Android.mk delete mode 100644 rootdir/bin/init.class_main.sh delete mode 100644 rootdir/bin/init.crda.sh delete mode 100644 rootdir/bin/init.mdm.sh delete mode 100644 rootdir/bin/init.qcom.class_core.sh delete mode 100644 rootdir/bin/init.qcom.coex.sh delete mode 100644 rootdir/bin/init.qcom.crashdata.sh delete mode 100644 rootdir/bin/init.qcom.early_boot.sh delete mode 100644 rootdir/bin/init.qcom.efs.sync.sh delete mode 100644 rootdir/bin/init.qcom.post_boot.sh delete mode 100644 rootdir/bin/init.qcom.sdio.sh delete mode 100644 rootdir/bin/init.qcom.sensors.sh delete mode 100644 rootdir/bin/init.qcom.sh delete mode 100644 rootdir/bin/init.qcom.usb.sh delete mode 100755 rootdir/bin/init.qti.fm.sh delete mode 100644 rootdir/bin/init.qti.ims.sh delete mode 100644 rootdir/etc/fstab.qcom delete mode 100644 rootdir/etc/init.lenovo.common.rc delete mode 100644 rootdir/etc/init.lenovo.rc delete mode 100644 rootdir/etc/init.lenovo.usb.configfs.rc delete mode 100644 rootdir/etc/init.msm.usb.configfs.rc delete mode 100644 rootdir/etc/init.qcom.factory.rc delete mode 100644 rootdir/etc/init.qcom.performance.rc delete mode 100644 rootdir/etc/init.qcom.rc delete mode 100644 rootdir/etc/init.qcom.usb.rc delete mode 100644 rootdir/etc/init.recovery.qcom.rc delete mode 100644 rootdir/etc/init.target.rc delete mode 100644 rootdir/ueventd.rc delete mode 100644 rro_overlays/WifiOverlay/Android.bp delete mode 100644 rro_overlays/WifiOverlay/AndroidManifest.xml delete mode 100644 rro_overlays/WifiOverlay/res/values/config.xml delete mode 100644 seccomp_policy/codec2.vendor.base.policy delete mode 100644 seccomp_policy/codec2.vendor.ext.policy delete mode 100644 seccomp_policy/mediacodec.policy delete mode 100644 sepolicy/vendor/file.te delete mode 100644 sepolicy/vendor/file_contexts delete mode 100644 sepolicy/vendor/hal_fod_lenovo_zippo.te delete mode 100644 sepolicy/vendor/hal_power.te delete mode 100644 sepolicy/vendor/init.te delete mode 100644 system.prop delete mode 100644 vendor.prop delete mode 100644 wifi/WCNSS_qcom_cfg.ini delete mode 100644 wifi/p2p_supplicant_overlay.conf delete mode 100644 wifi/wpa_supplicant_overlay.conf diff --git a/Android.bp b/Android.bp deleted file mode 100644 index 347ce1c..0000000 --- a/Android.bp +++ /dev/null @@ -1,3 +0,0 @@ -soong_namespace { -} - diff --git a/Android.mk b/Android.mk index a648c6a..d865422 100644 --- a/Android.mk +++ b/Android.mk @@ -1,99 +1,11 @@ # -# Copyright (C) 2019 The LineageOS Project +# Copyright (C) 2019-2021 The LineageOS Project # # SPDX-License-Identifier: Apache-2.0 # LOCAL_PATH := $(call my-dir) -ifneq ($(filter zippo,$(TARGET_DEVICE)),) +ifeq ($(TARGET_DEVICE),zippo) include $(call all-makefiles-under,$(LOCAL_PATH)) - -include $(CLEAR_VARS) - -# A/B builds require us to create the mount points at compile time. -# Just creating it for all cases since it does not hurt. -FIRMWARE_MOUNT_POINT := $(TARGET_OUT_VENDOR)/firmware_mnt -$(FIRMWARE_MOUNT_POINT): $(LOCAL_INSTALLED_MODULE) - @echo "Creating $(FIRMWARE_MOUNT_POINT)" - @mkdir -p $(TARGET_OUT_VENDOR)/firmware_mnt - -BT_FIRMWARE_MOUNT_POINT := $(TARGET_OUT_VENDOR)/bt_firmware -$(BT_FIRMWARE_MOUNT_POINT): $(LOCAL_INSTALLED_MODULE) - @echo "Creating $(BT_FIRMWARE_MOUNT_POINT)" - @mkdir -p $(TARGET_OUT_VENDOR)/bt_firmware - -DSP_MOUNT_POINT := $(TARGET_OUT_VENDOR)/dsp -$(DSP_MOUNT_POINT): $(LOCAL_INSTALLED_MODULE) - @echo "Creating $(DSP_MOUNT_POINT)" - @mkdir -p $(TARGET_OUT_VENDOR)/dsp - -ALL_DEFAULT_INSTALLED_MODULES += $(FIRMWARE_MOUNT_POINT) $(BT_FIRMWARE_MOUNT_POINT) $(DSP_MOUNT_POINT) - -RFS_MSM_ADSP_SYMLINKS := $(TARGET_OUT_VENDOR)/rfs/msm/adsp/ -$(RFS_MSM_ADSP_SYMLINKS): $(LOCAL_INSTALLED_MODULE) - @echo "Creating RFS MSM ADSP folder structure: $@" - @rm -rf $@/* - @mkdir -p $(dir $@)/readonly/vendor - $(hide) ln -sf /data/vendor/tombstones/rfs/lpass $@/ramdumps - $(hide) ln -sf /mnt/vendor/persist/rfs/msm/adsp $@/readwrite - $(hide) ln -sf /mnt/vendor/persist/rfs/shared $@/shared - $(hide) ln -sf /mnt/vendor/persist/hlos_rfs/shared $@/hlos - $(hide) ln -sf /vendor/firmware_mnt $@/readonly/firmware - $(hide) ln -sf /vendor/firmware $@/readonly/vendor/firmware - -RFS_MSM_CDSP_SYMLINKS := $(TARGET_OUT_VENDOR)/rfs/msm/cdsp/ -$(RFS_MSM_CDSP_SYMLINKS): $(LOCAL_INSTALLED_MODULE) - @echo "Creating RFS MSM CDSP folder structure: $@" - @rm -rf $@/* - @mkdir -p $(dir $@)/readonly/vendor - $(hide) ln -sf /data/vendor/tombstones/rfs/cdsp $@/ramdumps - $(hide) ln -sf /mnt/vendor/persist/rfs/msm/cdsp $@/readwrite - $(hide) ln -sf /mnt/vendor/persist/rfs/shared $@/shared - $(hide) ln -sf /mnt/vendor/persist/hlos_rfs/shared $@/hlos - $(hide) ln -sf /vendor/firmware_mnt $@/readonly/firmware - $(hide) ln -sf /vendor/firmware $@/readonly/vendor/firmware - -RFS_MSM_MPSS_SYMLINKS := $(TARGET_OUT_VENDOR)/rfs/msm/mpss/ -$(RFS_MSM_MPSS_SYMLINKS): $(LOCAL_INSTALLED_MODULE) - @echo "Creating RFS MSM MPSS folder structure: $@" - @rm -rf $@/* - @mkdir -p $(dir $@)/readonly/vendor - $(hide) ln -sf /data/vendor/tombstones/rfs/modem $@/ramdumps - $(hide) ln -sf /mnt/vendor/persist/rfs/msm/mpss $@/readwrite - $(hide) ln -sf /mnt/vendor/persist/rfs/shared $@/shared - $(hide) ln -sf /mnt/vendor/persist/hlos_rfs/shared $@/hlos - $(hide) ln -sf /vendor/firmware_mnt $@/readonly/firmware - $(hide) ln -sf /vendor/firmware $@/readonly/vendor/firmware - -RFS_MSM_SLPI_SYMLINKS := $(TARGET_OUT_VENDOR)/rfs/msm/slpi/ -$(RFS_MSM_SLPI_SYMLINKS): $(LOCAL_INSTALLED_MODULE) - @echo "Creating RFS MSM SLPI folder structure: $@" - @rm -rf $@/* - @mkdir -p $(dir $@)/readonly/vendor - $(hide) ln -sf /data/vendor/tombstones/rfs/slpi $@/ramdumps - $(hide) ln -sf /mnt/vendor/persist/rfs/msm/slpi $@/readwrite - $(hide) ln -sf /mnt/vendor/persist/rfs/shared $@/shared - $(hide) ln -sf /mnt/vendor/persist/hlos_rfs/shared $@/hlos - $(hide) ln -sf /vendor/firmware_mnt $@/readonly/firmware - $(hide) ln -sf /vendor/firmware $@/readonly/vendor/firmware - -ALL_DEFAULT_INSTALLED_MODULES += $(RFS_MSM_ADSP_SYMLINKS) $(RFS_MSM_CDSP_SYMLINKS) $(RFS_MSM_MPSS_SYMLINKS) $(RFS_MSM_SLPI_SYMLINKS) - -WCNSS_INI_SYMLINK := $(TARGET_OUT_VENDOR)/firmware/wlan/qca_cld/WCNSS_qcom_cfg.ini -$(WCNSS_INI_SYMLINK): $(LOCAL_INSTALLED_MODULE) - @echo "WCNSS config ini link: $@" - @mkdir -p $(dir $@) - @rm -rf $@ - $(hide) ln -sf /vendor/etc/wifi/$(notdir $@) $@ - -WCNSS_MAC_SYMLINK := $(TARGET_OUT_VENDOR)/firmware/wlan/qca_cld/wlan_mac.bin -$(WCNSS_MAC_SYMLINK): $(LOCAL_INSTALLED_MODULE) - @echo "WCNSS MAC bin link: $@" - @mkdir -p $(dir $@) - @rm -rf $@ - $(hide) ln -sf /mnt/vendor/persist/$(notdir $@) $@ - -ALL_DEFAULT_INSTALLED_MODULES += $(WCNSS_INI_SYMLINK) $(WCNSS_MAC_SYMLINK) - endif diff --git a/AndroidProducts.mk b/AndroidProducts.mk index 0ce6ebf..4fb6982 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -1,5 +1,5 @@ # -# Copyright (C) 2019 The LineageOS Project +# Copyright (C) 2019-2021 The LineageOS Project # # SPDX-License-Identifier: Apache-2.0 # diff --git a/BoardConfig.mk b/BoardConfig.mk index 6777321..3f44f8f 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -1,207 +1,23 @@ -# Copyright (C) 2019 The LineageOS Project +# Copyright (C) 2019-2021 The LineageOS Project # # SPDX-License-Identifier: Apache-2.0 # +-include device/lenovo/sm8150-common/BoardConfigCommon.mk BOARD_VENDOR := lenovo -BUILD_BROKEN_DUP_RULES := true DEVICE_PATH := device/lenovo/zippo -# Architecture -TARGET_ARCH := arm64 -TARGET_ARCH_VARIANT := armv8-2a -TARGET_CPU_ABI := arm64-v8a -TARGET_CPU_ABI2 := -TARGET_CPU_VARIANT := generic -TARGET_CPU_VARIANT_RUNTIME := kryo385 - -TARGET_2ND_ARCH := arm -TARGET_2ND_ARCH_VARIANT := armv8-2a -TARGET_2ND_CPU_ABI := armeabi-v7a -TARGET_2ND_CPU_ABI2 := armeabi -TARGET_2ND_CPU_VARIANT := cortex-a9 -TARGET_2ND_CPU_VARIANT_RUNTIME := kryo385 - -TARGET_USES_64_BIT_BINDER := true - # Assert TARGET_OTA_ASSERT_DEVICE := zippo -# Bootloader -TARGET_BOOTLOADER_BOARD_NAME := msmnile -TARGET_NO_BOOTLOADER := true - # Kernel -BOARD_BOOTIMG_HEADER_VERSION := 1 -BOARD_MKBOOTIMG_ARGS := --header_version $(BOARD_BOOTIMG_HEADER_VERSION) -BOARD_KERNEL_BASE := 0x00000000 -BOARD_KERNEL_CMDLINE := console=ttyMSM0,115200n8 earlycon=msm_geni_serial,0xa90000 androidboot.hardware=qcom androidboot.console=ttyMSM0 androidboot.memcg=1 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 service_locator.enable=1 swiotlb=2048 loop.max_part=7 androidboot.usbcontroller=a600000.dwc3 -BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive -BOARD_KERNEL_IMAGE_NAME := Image-dtb -BOARD_KERNEL_PAGESIZE := 4096 -BOARD_KERNEL_TAGS_OFFSET := 0x00000100 -BOARD_RAMDISK_OFFSET := 0x01000000 -TARGET_KERNEL_ARCH := arm64 -BOARD_KERNEL_SEPARATED_DTBO := true ifeq ($(TARGET_PREBUILT_KERNEL),) TARGET_KERNEL_CONFIG := lineage_zippo_defconfig TARGET_KERNEL_CLANG_COMPILE := true TARGET_KERNEL_SOURCE := kernel/lenovo/sm8150 endif -# Platform -BOARD_USES_QCOM_HARDWARE := true -QCOM_BOARD_PLATFORMS += msmnile -TARGET_BOARD_PLATFORM := msmnile -TARGET_BOARD_PLATFORM_GPU := qcom-adreno640 - -# FM -BOARD_HAVE_QCOM_FM := true - -# ANT+ -BOARD_ANT_WIRELESS_DEVICE := "qualcomm-hidl" - -# APEX -DEXPREOPT_GENERATE_APEX_IMAGE := true - -# Audio -AUDIO_FEATURE_ENABLED_AAC_ADTS_OFFLOAD := true -AUDIO_FEATURE_ENABLED_AUDIOSPHERE := true -AUDIO_FEATURE_ENABLED_EXTN_FORMATS := true -AUDIO_FEATURE_ENABLED_HDMI_SPK := true -AUDIO_FEATURE_ENABLED_INSTANCE_ID := true -AUDIO_FEATURE_ENABLED_PCM_OFFLOAD := true -AUDIO_FEATURE_ENABLED_PCM_OFFLOAD_24 := true -AUDIO_FEATURE_ENABLED_PROXY_DEVICE := true -TARGET_PROVIDES_AUDIO_EXTNS := true -USE_CUSTOM_AUDIO_POLICY := 1 -USE_XML_AUDIO_POLICY_CONF := 1 - -USE_XML_AUDIO_POLICY_CONF := 1 - -# Bluetooth -BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(DEVICE_PATH)/bluetooth/include - -# Camera -TARGET_USES_QTI_CAMERA_DEVICE := true - -# Charger Mode -BOARD_CHARGER_ENABLE_SUSPEND := true - -# Dex -ifeq ($(HOST_OS),linux) - ifneq ($(TARGET_BUILD_VARIANT),eng) - WITH_DEXPREOPT ?= true - endif -endif -WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY ?= true - -# Display -TARGET_USES_ION := true -TARGET_USES_NEW_ION_API := true -USE_OPENGL_RENDERER := true -TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS := true -MAX_VIRTUAL_DISPLAY_DIMENSION := 4096 -NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 -TARGET_USES_HWC2 := true -TARGET_HAS_HDR_DISPLAY := true -TARGET_HAS_WIDE_COLOR_DISPLAY := true -TARGET_USES_DISPLAY_RENDER_INTENTS := true -TARGET_USES_DRM_PP := true -TARGET_USES_COLOR_METADATA := true -TARGET_USES_GRALLOC4 := true - -MAX_EGL_CACHE_KEY_SIZE := 12*1024 -MAX_EGL_CACHE_SIZE := 2048*1024 - -# DRM -TARGET_ENABLE_MEDIADRM_64 := true - -# Filesystem -TARGET_FS_CONFIG_GEN := $(DEVICE_PATH)/config.fs - -# HIDL -DEVICE_FRAMEWORK_MANIFEST_FILE := $(DEVICE_PATH)/framework_manifest.xml -DEVICE_MANIFEST_FILE := $(DEVICE_PATH)/manifest.xml -DEVICE_MATRIX_FILE := $(DEVICE_PATH)/compatibility_matrix.xml - -# Keystore -TARGET_PROVIDES_KEYMASTER := true - -# Partitions -BOARD_BOOTIMAGE_PARTITION_SIZE := 100663296 -BOARD_BUILD_SYSTEM_ROOT_IMAGE := true -BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 -BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456 -BOARD_DTBOIMG_PARTITION_SIZE := 25165824 -BOARD_FLASH_BLOCK_SIZE := 262144 # (BOARD_KERNEL_PAGESIZE * 64) -BOARD_RECOVERYIMAGE_PARTITION_SIZE := 100663296 -BOARD_SYSTEMIMAGE_PARTITION_SIZE := 5368709120 -BOARD_USERDATAIMAGE_PARTITION_SIZE := 57453555712 -BOARD_VENDORIMAGE_PARTITION_SIZE := 1073741824 -BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4 -BOARD_ROOT_EXTRA_FOLDERS := metadata -TARGET_COPY_OUT_VENDOR := vendor -TARGET_USERIMAGES_USE_EXT4 := true -TARGET_USERIMAGES_USE_F2FS := true -TARGET_USES_MKE2FS := true - -# Properties -TARGET_ODM_PROP += $(DEVICE_PATH)/odm.prop -TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop -TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop - -# Recovery -TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888" -TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/fstab.qcom - -# Releasetools -TARGET_RELEASETOOLS_EXTENSIONS := $(DEVICE_PATH) - -# RIL -ENABLE_VENDOR_RIL_SERVICE := true -TARGET_USES_PRE_UPLINK_FEATURES_NETMGRD := true - -# Sepolicy -include device/qcom/sepolicy_vndr/SEPolicy.mk - -BOARD_PLAT_PRIVATE_SEPOLICY_DIR += $(DEVICE_PATH)/sepolicy/private -BOARD_PLAT_PUBLIC_SEPOLICY_DIR += $(DEVICE_PATH)/sepolicy/public -BOARD_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor - -# Power -TARGET_USES_INTERACTION_BOOST := true -TARGET_TAP_TO_WAKE_NODE := "/sys/devices/virtual/touch/tp_dev/gesture_on" - -# Verified Boot -BOARD_AVB_ENABLE := true -ifeq ($(BOARD_AVB_ENABLE), true) - BOARD_AVB_RECOVERY_KEY_PATH := external/avb/test/data/testkey_rsa4096.pem - BOARD_AVB_RECOVERY_ALGORITHM := SHA256_RSA4096 - BOARD_AVB_RECOVERY_ROLLBACK_INDEX := 1 - BOARD_AVB_RECOVERY_ROLLBACK_INDEX_LOCATION := 1 - BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --flag 2 -endif - -# WiFi -BOARD_WLAN_DEVICE := qcwcn -BOARD_HOSTAPD_DRIVER := NL80211 -BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE) -BOARD_WPA_SUPPLICANT_DRIVER := NL80211 -BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE) -QC_WIFI_HIDL_FEATURE_DUAL_AP := true -DISABLE_EAP_PROXY := true -PRODUCT_VENDOR_MOVE_ENABLED := true -WIFI_DRIVER_DEFAULT := qca_cld3 -WIFI_DRIVER_STATE_CTRL_PARAM := "/dev/wlan" -WIFI_DRIVER_STATE_OFF := "OFF" -WIFI_DRIVER_STATE_ON := "ON" -WIFI_HIDL_FEATURE_AWARE := true -WIFI_HIDL_FEATURE_DUAL_INTERFACE := true -WIFI_HIDL_UNIFIED_SUPPLICANT_SERVICE_RC_ENTRY := true -WPA_SUPPLICANT_VERSION := VER_0_8_X - # Inherit from the proprietary version -include vendor/lenovo/zippo/BoardConfigVendor.mk diff --git a/audio/audio_effects.xml b/audio/audio_effects.xml deleted file mode 100644 index 15adc92..0000000 --- a/audio/audio_effects.xml +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/audio/audio_io_policy.conf b/audio/audio_io_policy.conf deleted file mode 100644 index b583a1e..0000000 --- a/audio/audio_io_policy.conf +++ /dev/null @@ -1,112 +0,0 @@ -# List of profiles for the output device session where stream is routed. -# A stream opened with the inputs attributes which match the "flags" and -# "formats" as specified in the profile is routed to a device at -# sample rate specified under "sampling_rates" and bit width under -# "bit_width" and the topology extracted from the acdb data against -# the "app_type". -# -# the flags and formats are specified using the strings corresponding to -# enums in audio.h and audio_policy.h. They are concatenated with "|" -# without space or "\n". -# the flags and formats should match the ones in "audio_policy.conf" - -outputs { - default { - flags AUDIO_OUTPUT_FLAG_PRIMARY - formats AUDIO_FORMAT_PCM_16_BIT - sampling_rates 48000 - bit_width 16 - app_type 69937 - } - proaudio { - flags AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_RAW - formats AUDIO_FORMAT_PCM_16_BIT - sampling_rates 48000 - bit_width 16 - app_type 69943 - } - voip_rx { - flags AUDIO_OUTPUT_FLAG_VOIP_RX|AUDIO_OUTPUT_FLAG_DIRECT - formats AUDIO_FORMAT_PCM_16_BIT - sampling_rates 8000|16000|32000|48000 - bit_width 16 - app_type 69946 - } - deep_buffer { - flags AUDIO_OUTPUT_FLAG_DEEP_BUFFER - formats AUDIO_FORMAT_PCM_16_BIT - sampling_rates 48000 - bit_width 16 - app_type 69936 - } - direct_pcm_16 { - flags AUDIO_OUTPUT_FLAG_DIRECT - formats AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_8_24_BIT|AUDIO_FORMAT_PCM_32_BIT - sampling_rates 44100|48000|88200|96000|176400|192000 - bit_width 16 - app_type 69936 - } - direct_pcm_24 { - flags AUDIO_OUTPUT_FLAG_DIRECT - formats AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_8_24_BIT|AUDIO_FORMAT_PCM_32_BIT - sampling_rates 44100|48000|88200|96000|176400|192000|352800|384000 - bit_width 24 - app_type 69940 - } - direct_pcm_32 { - flags AUDIO_OUTPUT_FLAG_DIRECT - formats AUDIO_FORMAT_PCM_32_BIT - sampling_rates 44100|48000|88200|96000|176400|192000|352800|384000 - bit_width 32 - app_type 69942 - } - compress_passthrough { - flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING|AUDIO_OUTPUT_FLAG_COMPRESS_PASSTHROUGH - formats AUDIO_FORMAT_DTS|AUDIO_FORMAT_DTS_HD|AUDIO_FORMAT_DSD - sampling_rates 32000|44100|48000|88200|96000|176400|192000|352800 - bit_width 16 - app_type 69941 - } - compress_offload_16 { - flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING - formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_PCM_16_BIT_OFFLOAD|AUDIO_FORMAT_PCM_24_BIT_OFFLOAD|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_ALAC|AUDIO_FORMAT_APE|AUDIO_FORMAT_AAC_LC|AUDIO_FORMAT_AAC_HE_V1|AUDIO_FORMAT_AAC_HE_V2|AUDIO_FORMAT_WMA|AUDIO_FORMAT_WMA_PRO|AUDIO_FORMAT_VORBIS|AUDIO_FORMAT_AAC_ADTS_LC|AUDIO_FORMAT_AAC_ADTS_HE_V1|AUDIO_FORMAT_AAC_ADTS_HE_V2 - sampling_rates 44100|48000|88200|96000|176400|192000 - bit_width 16 - app_type 69936 - } - compress_offload_24 { - flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING - formats AUDIO_FORMAT_PCM_24_BIT_OFFLOAD|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_ALAC|AUDIO_FORMAT_APE|AUDIO_FORMAT_VORBIS|AUDIO_FORMAT_WMA|AUDIO_FORMAT_WMA_PRO - sampling_rates 44100|48000|88200|96000|176400|192000 - bit_width 24 - app_type 69940 - } -} - -inputs { - primary { - formats AUDIO_FORMAT_PCM_16_BIT - sampling_rates 8000|16000|32000|44100|48000|88200|96000|176400|192000 - bit_width 16 - app_type 69938 - } - record_24bit { - formats AUDIO_FORMAT_PCM_16_BIT - sampling_rates 8000|16000|32000|44100|48000|88200|96000|176400|192000 - bit_width 16 - app_type 69938 - } - record_32bit { - formats AUDIO_FORMAT_PCM_32_BIT|AUDIO_FORMAT_PCM_FLOAT - sampling_rates 44100|48000|88200|96000|176400|192000 - bit_width 32 - app_type 69949 - } - record_unprocessed { - profile record_unprocessed - formats AUDIO_FORMAT_PCM_24_BIT_PACKED - sampling_rates 16000|48000 - bit_width 24 - app_type 69942 - } -} diff --git a/audio/audio_platform_info.xml b/audio/audio_platform_info.xml deleted file mode 100644 index ae2ff95..0000000 --- a/audio/audio_platform_info.xml +++ /dev/null @@ -1,520 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/audio/audio_policy_configuration.xml b/audio/audio_policy_configuration.xml deleted file mode 100644 index 88707bb..0000000 --- a/audio/audio_policy_configuration.xml +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - - - - - - - - - - - Speaker - Speaker Safe - Earpiece - Telephony Tx - Built-In Mic - Built-In Back Mic - Telephony Rx - - Speaker - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/audio/audio_policy_configuration_a2dp_offload_disabled.xml b/audio/audio_policy_configuration_a2dp_offload_disabled.xml deleted file mode 100644 index 9b2ed32..0000000 --- a/audio/audio_policy_configuration_a2dp_offload_disabled.xml +++ /dev/null @@ -1,337 +0,0 @@ - - - - - - - - - - - - - - - - - Earpiece - Speaker - Telephony Tx - Built-In Mic - Built-In Back Mic - FM Tuner - Telephony Rx - - Speaker - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/audio/audio_tuning_mixer.txt b/audio/audio_tuning_mixer.txt deleted file mode 100644 index 6c1c864..0000000 --- a/audio/audio_tuning_mixer.txt +++ /dev/null @@ -1,193 +0,0 @@ -#ANC_TEST_P_PATH_MIC_STEREO Capture -acdb_dev_id:85 -!Capture -Txdevice:0 - -enable -AIF1_CAP Mixer SLIM TX7:1 -AIF1_CAP Mixer SLIM TX8:1 -CDC_IF TX7 MUX:DEC7 -ADC MUX7:DMIC -DMIC MUX7:DMIC4 -CDC_IF TX8 MUX:DEC8 -ADC MUX8:DMIC -DMIC MUX8:DMIC0 -SLIM_0_TX Channels:Two -MultiMedia1 Mixer SLIM_0_TX:1 - -disable -MultiMedia1 Mixer SLIM_0_TX:0 -AIF1_CAP Mixer SLIM TX7:0 -AIF1_CAP Mixer SLIM TX8:0 -CDC_IF TX7 MUX:ZERO -CDC_IF TX8 MUX:ZERO -DMIC MUX7:ZERO -DMIC MUX8:ZERO - -#ANC_TEST_S_PATH_MIC_STEREO Capture -acdb_dev_id:88 -!Capture -Txdevice:0 - -enable -AIF1_CAP Mixer SLIM TX7:1 -AIF1_CAP Mixer SLIM TX8:1 -CDC_IF TX7 MUX:DEC7 -ADC MUX7:ANC_FB_TUNE1 -ADC MUX10:DMIC -DMIC MUX10:DMIC0 -CDC_IF TX8 MUX:DEC8 -ADC MUX8:ANC_FB_TUNE2 -ADC MUX12:DMIC -DMIC MUX12:DMIC0 -ANC0 FB MUX:ANC_IN_EAR_SPKR -ANC OUT EAR SPKR Enable Switch:1 -SLIM_0_TX Channels:Two -MultiMedia1 Mixer SLIM_0_TX:1 - -disable -MultiMedia1 Mixer SLIM_0_TX:0 -AIF1_CAP Mixer SLIM TX7:0 -AIF1_CAP Mixer SLIM TX8:0 -CDC_IF TX7 MUX:ZERO -CDC_IF TX8 MUX:ZERO -ADC MUX7:DMIC -ADC MUX8:DMIC -DMIC MUX10:ZERO -DMIC MUX12:ZERO -ANC0 FB MUX:ZERO -ANC OUT EAR SPKR Enable Switch:0 - - -#ANC_TEST_E_PATH_MIC_STEREO Capture -acdb_dev_id:91 -!Capture -Txdevice:0 - -enable -AIF1_CAP Mixer SLIM TX7:1 -AIF1_CAP Mixer SLIM TX8:1 -CDC_IF TX7 MUX:DEC7 -ADC MUX7:ANC_FB_TUNE1 -ADC MUX10:DMIC -DMIC MUX10:DMIC4 -CDC_IF TX8 MUX:DEC8 -ADC MUX8:ANC_FB_TUNE2 -ADC MUX12:DMIC -DMIC MUX12:DMIC4 -ANC0 FB MUX:ANC_IN_EAR_SPKR -ANC OUT EAR SPKR Enable Switch:1 -SLIM_0_TX Channels:Two -MultiMedia1 Mixer SLIM_0_TX:1 - -disable -MultiMedia1 Mixer SLIM_0_TX:0 -AIF1_CAP Mixer SLIM TX7:0 -AIF1_CAP Mixer SLIM TX8:0 -CDC_IF TX7 MUX:ZERO -CDC_IF TX8 MUX:ZERO -ADC MUX7:DMIC -ADC MUX8:DMIC -DMIC MUX10:ZERO -DMIC MUX12:ZERO -ANC0 FB MUX:ZERO -ANC OUT EAR SPKR Enable Switch:0 - - -#ANC_TEST_S_PATH_HANDSET_SPKR_ANC_MONO -acdb_dev_id:86 -!Playback -Rxdevice:0 - -enable -ANC Function:ON -SLIM RX0 MUX:AIF1_PB -SLIM_0_RX Channels:One -RX INT7_1 MIX1 INP0:RX0 -SpkrLeft SWR DAC_Port Switch:1 -ANC Slot:7 -ANC OUT EAR SPKR Enable Switch:1 -ANC SPKR PA Enable Switch:1 -SpkrLeft WSA PA Gain:G_6_DB -SLIMBUS_0_RX Audio Mixer MultiMedia1:1 - -disable -SLIMBUS_0_RX Audio Mixer MultiMedia1:0 -SpkrLeft WSA PA Gain:G_0_DB -ANC SPKR PA Enable Switch:0 -ANC OUT EAR SPKR Enable Switch:0 -SpkrLeft SWR DAC_Port Switch:0 -ANC Slot:0 -SLIM RX0 MUX:ZERO -RX INT7_1 MIX1 INP0:ZERO -ANC Function:OFF - -#ANC_TEST_E_PATH_HANDSET_SPKR_ANC_MONO -acdb_dev_id:89 -!Playback -Rxdevice:0 - -enable -ANC Function:ON -SLIM RX0 MUX:AIF1_PB -SLIM_0_RX Channels:One -RX INT7_1 MIX1 INP0:RX0 -SpkrLeft SWR DAC_Port Switch:1 -ANC Slot:8 -ANC OUT EAR SPKR Enable Switch:1 -ANC SPKR PA Enable Switch:1 -SpkrLeft WSA PA Gain:G_6_DB -SLIMBUS_0_RX Audio Mixer MultiMedia1:1 - -disable -SLIMBUS_0_RX Audio Mixer MultiMedia1:0 -SpkrLeft WSA PA Gain:G_0_DB -ANC SPKR PA Enable Switch:0 -ANC OUT EAR SPKR Enable Switch:0 -SpkrLeft SWR DAC_Port Switch:0 -ANC Slot:0 -SLIM RX0 MUX:ZERO -RX INT7_1 MIX1 INP0:ZERO -ANC Function:OFF - -#RAS_TEST_SPKR_PHONE_SPKR_STEREO -acdb_dev_id:136 -!Playback -Rxdevice:0 - -enable -SLIM RX0 MUX:AIF1_PB -SLIM RX1 MUX:AIF1_PB -CDC_IF RX0 MUX:SLIM RX0 -CDC_IF RX1 MUX:SLIM RX1 -SLIM_0_RX Channels:Two -RX INT7_1 MIX1 INP0:RX0 -RX INT8_1 MIX1 INP0:RX1 -COMP7 Switch:1 -COMP8 Switch:1 -SpkrLeft COMP Switch:1 -SpkrRight COMP Switch:1 -SpkrLeft BOOST Switch:1 -SpkrRight BOOST Switch:1 -SpkrLeft VISENSE Switch:1 -SpkrRight VISENSE Switch:1 -SpkrLeft SWR DAC_Port Switch:1 -SpkrRight SWR DAC_Port Switch:1 -SLIMBUS_0_RX Audio Mixer MultiMedia1:1 - -disable -SLIM RX0 MUX:ZERO -SLIM RX1 MUX:ZERO -RX INT7_1 MIX1 INP0:ZERO -RX INT8_1 MIX1 INP0:ZERO -COMP7 Switch:0 -COMP8 Switch:0 -SpkrLeft COMP Switch:0 -SpkrRight COMP Switch:0 -SpkrLeft BOOST Switch:0 -SpkrRight BOOST Switch:0 -SpkrLeft VISENSE Switch:0 -SpkrRight VISENSE Switch:0 -SpkrLeft SWR DAC_Port Switch:0 -SpkrRight SWR DAC_Port Switch:0 -SLIMBUS_0_RX Audio Mixer MultiMedia1:0 diff --git a/audio/audio_tuning_mixer_tavil.txt b/audio/audio_tuning_mixer_tavil.txt deleted file mode 100644 index 6c1c864..0000000 --- a/audio/audio_tuning_mixer_tavil.txt +++ /dev/null @@ -1,193 +0,0 @@ -#ANC_TEST_P_PATH_MIC_STEREO Capture -acdb_dev_id:85 -!Capture -Txdevice:0 - -enable -AIF1_CAP Mixer SLIM TX7:1 -AIF1_CAP Mixer SLIM TX8:1 -CDC_IF TX7 MUX:DEC7 -ADC MUX7:DMIC -DMIC MUX7:DMIC4 -CDC_IF TX8 MUX:DEC8 -ADC MUX8:DMIC -DMIC MUX8:DMIC0 -SLIM_0_TX Channels:Two -MultiMedia1 Mixer SLIM_0_TX:1 - -disable -MultiMedia1 Mixer SLIM_0_TX:0 -AIF1_CAP Mixer SLIM TX7:0 -AIF1_CAP Mixer SLIM TX8:0 -CDC_IF TX7 MUX:ZERO -CDC_IF TX8 MUX:ZERO -DMIC MUX7:ZERO -DMIC MUX8:ZERO - -#ANC_TEST_S_PATH_MIC_STEREO Capture -acdb_dev_id:88 -!Capture -Txdevice:0 - -enable -AIF1_CAP Mixer SLIM TX7:1 -AIF1_CAP Mixer SLIM TX8:1 -CDC_IF TX7 MUX:DEC7 -ADC MUX7:ANC_FB_TUNE1 -ADC MUX10:DMIC -DMIC MUX10:DMIC0 -CDC_IF TX8 MUX:DEC8 -ADC MUX8:ANC_FB_TUNE2 -ADC MUX12:DMIC -DMIC MUX12:DMIC0 -ANC0 FB MUX:ANC_IN_EAR_SPKR -ANC OUT EAR SPKR Enable Switch:1 -SLIM_0_TX Channels:Two -MultiMedia1 Mixer SLIM_0_TX:1 - -disable -MultiMedia1 Mixer SLIM_0_TX:0 -AIF1_CAP Mixer SLIM TX7:0 -AIF1_CAP Mixer SLIM TX8:0 -CDC_IF TX7 MUX:ZERO -CDC_IF TX8 MUX:ZERO -ADC MUX7:DMIC -ADC MUX8:DMIC -DMIC MUX10:ZERO -DMIC MUX12:ZERO -ANC0 FB MUX:ZERO -ANC OUT EAR SPKR Enable Switch:0 - - -#ANC_TEST_E_PATH_MIC_STEREO Capture -acdb_dev_id:91 -!Capture -Txdevice:0 - -enable -AIF1_CAP Mixer SLIM TX7:1 -AIF1_CAP Mixer SLIM TX8:1 -CDC_IF TX7 MUX:DEC7 -ADC MUX7:ANC_FB_TUNE1 -ADC MUX10:DMIC -DMIC MUX10:DMIC4 -CDC_IF TX8 MUX:DEC8 -ADC MUX8:ANC_FB_TUNE2 -ADC MUX12:DMIC -DMIC MUX12:DMIC4 -ANC0 FB MUX:ANC_IN_EAR_SPKR -ANC OUT EAR SPKR Enable Switch:1 -SLIM_0_TX Channels:Two -MultiMedia1 Mixer SLIM_0_TX:1 - -disable -MultiMedia1 Mixer SLIM_0_TX:0 -AIF1_CAP Mixer SLIM TX7:0 -AIF1_CAP Mixer SLIM TX8:0 -CDC_IF TX7 MUX:ZERO -CDC_IF TX8 MUX:ZERO -ADC MUX7:DMIC -ADC MUX8:DMIC -DMIC MUX10:ZERO -DMIC MUX12:ZERO -ANC0 FB MUX:ZERO -ANC OUT EAR SPKR Enable Switch:0 - - -#ANC_TEST_S_PATH_HANDSET_SPKR_ANC_MONO -acdb_dev_id:86 -!Playback -Rxdevice:0 - -enable -ANC Function:ON -SLIM RX0 MUX:AIF1_PB -SLIM_0_RX Channels:One -RX INT7_1 MIX1 INP0:RX0 -SpkrLeft SWR DAC_Port Switch:1 -ANC Slot:7 -ANC OUT EAR SPKR Enable Switch:1 -ANC SPKR PA Enable Switch:1 -SpkrLeft WSA PA Gain:G_6_DB -SLIMBUS_0_RX Audio Mixer MultiMedia1:1 - -disable -SLIMBUS_0_RX Audio Mixer MultiMedia1:0 -SpkrLeft WSA PA Gain:G_0_DB -ANC SPKR PA Enable Switch:0 -ANC OUT EAR SPKR Enable Switch:0 -SpkrLeft SWR DAC_Port Switch:0 -ANC Slot:0 -SLIM RX0 MUX:ZERO -RX INT7_1 MIX1 INP0:ZERO -ANC Function:OFF - -#ANC_TEST_E_PATH_HANDSET_SPKR_ANC_MONO -acdb_dev_id:89 -!Playback -Rxdevice:0 - -enable -ANC Function:ON -SLIM RX0 MUX:AIF1_PB -SLIM_0_RX Channels:One -RX INT7_1 MIX1 INP0:RX0 -SpkrLeft SWR DAC_Port Switch:1 -ANC Slot:8 -ANC OUT EAR SPKR Enable Switch:1 -ANC SPKR PA Enable Switch:1 -SpkrLeft WSA PA Gain:G_6_DB -SLIMBUS_0_RX Audio Mixer MultiMedia1:1 - -disable -SLIMBUS_0_RX Audio Mixer MultiMedia1:0 -SpkrLeft WSA PA Gain:G_0_DB -ANC SPKR PA Enable Switch:0 -ANC OUT EAR SPKR Enable Switch:0 -SpkrLeft SWR DAC_Port Switch:0 -ANC Slot:0 -SLIM RX0 MUX:ZERO -RX INT7_1 MIX1 INP0:ZERO -ANC Function:OFF - -#RAS_TEST_SPKR_PHONE_SPKR_STEREO -acdb_dev_id:136 -!Playback -Rxdevice:0 - -enable -SLIM RX0 MUX:AIF1_PB -SLIM RX1 MUX:AIF1_PB -CDC_IF RX0 MUX:SLIM RX0 -CDC_IF RX1 MUX:SLIM RX1 -SLIM_0_RX Channels:Two -RX INT7_1 MIX1 INP0:RX0 -RX INT8_1 MIX1 INP0:RX1 -COMP7 Switch:1 -COMP8 Switch:1 -SpkrLeft COMP Switch:1 -SpkrRight COMP Switch:1 -SpkrLeft BOOST Switch:1 -SpkrRight BOOST Switch:1 -SpkrLeft VISENSE Switch:1 -SpkrRight VISENSE Switch:1 -SpkrLeft SWR DAC_Port Switch:1 -SpkrRight SWR DAC_Port Switch:1 -SLIMBUS_0_RX Audio Mixer MultiMedia1:1 - -disable -SLIM RX0 MUX:ZERO -SLIM RX1 MUX:ZERO -RX INT7_1 MIX1 INP0:ZERO -RX INT8_1 MIX1 INP0:ZERO -COMP7 Switch:0 -COMP8 Switch:0 -SpkrLeft COMP Switch:0 -SpkrRight COMP Switch:0 -SpkrLeft BOOST Switch:0 -SpkrRight BOOST Switch:0 -SpkrLeft VISENSE Switch:0 -SpkrRight VISENSE Switch:0 -SpkrLeft SWR DAC_Port Switch:0 -SpkrRight SWR DAC_Port Switch:0 -SLIMBUS_0_RX Audio Mixer MultiMedia1:0 diff --git a/audio/graphite_ipc_platform_info.xml b/audio/graphite_ipc_platform_info.xml deleted file mode 100644 index 15655fc..0000000 --- a/audio/graphite_ipc_platform_info.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/audio/mixer_paths_pahu.xml b/audio/mixer_paths_pahu.xml deleted file mode 100644 index 68e5317..0000000 --- a/audio/mixer_paths_pahu.xml +++ /dev/null @@ -1,2597 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/audio/mixer_paths_tavil.xml b/audio/mixer_paths_tavil.xml deleted file mode 100644 index e53a331..0000000 --- a/audio/mixer_paths_tavil.xml +++ /dev/null @@ -1,3165 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/audio/sound_trigger_mixer_paths.xml b/audio/sound_trigger_mixer_paths.xml deleted file mode 100644 index 28cd4db..0000000 --- a/audio/sound_trigger_mixer_paths.xml +++ /dev/null @@ -1,332 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/audio/sound_trigger_mixer_paths_wcd9340.xml b/audio/sound_trigger_mixer_paths_wcd9340.xml deleted file mode 100644 index f32ee2e..0000000 --- a/audio/sound_trigger_mixer_paths_wcd9340.xml +++ /dev/null @@ -1,395 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/audio/sound_trigger_mixer_paths_wcd9340_qrd.xml b/audio/sound_trigger_mixer_paths_wcd9340_qrd.xml deleted file mode 100644 index 0a7c780..0000000 --- a/audio/sound_trigger_mixer_paths_wcd9340_qrd.xml +++ /dev/null @@ -1,395 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/audio/sound_trigger_platform_info.xml b/audio/sound_trigger_platform_info.xml deleted file mode 100644 index 7d5e81f..0000000 --- a/audio/sound_trigger_platform_info.xml +++ /dev/null @@ -1,368 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bluetooth/include/bdroid_buildcfg.h b/bluetooth/include/bdroid_buildcfg.h deleted file mode 100644 index c14932d..0000000 --- a/bluetooth/include/bdroid_buildcfg.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * - * Copyright (c) 2013, The Linux Foundation. All rights reserved. - * Not a Contribution, Apache license notifications and license are retained - * for attribution purposes only. - * - * Copyright (C) 2012 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef _BDROID_BUILDCFG_H -#define _BDROID_BUILDCFG_H -// Disables read remote device feature -#define MAX_ACL_CONNECTIONS 16 -#define MAX_L2CAP_CHANNELS 16 -#define BLE_VND_INCLUDED TRUE -// skips conn update at conn completion -#define BT_CLEAN_TURN_ON_DISABLED 1 - -/* Increasing SEPs to 12 from 6 to support SHO/MCast i.e. two streams per codec */ -#define AVDT_NUM_SEPS 12 -#endif diff --git a/compatibility_matrix.xml b/compatibility_matrix.xml deleted file mode 100644 index a0f03b7..0000000 --- a/compatibility_matrix.xml +++ /dev/null @@ -1,66 +0,0 @@ - - - android.frameworks.schedulerservice - 1.0 - - ISchedulingPolicyService - default - - - - android.frameworks.sensorservice - 1.0 - - ISensorManager - default - - - - android.hidl.allocator - 1.0 - - IAllocator - ashmem - - - - android.hidl.manager - 1.0 - - IServiceManager - default - - - - android.hidl.memory - 1.0 - - IMapper - ashmem - - - - android.hidl.token - 1.0 - - ITokenManager - default - - - - android.system.wifi.keystore - 1.0 - - IKeystore - default - - - - vendor.qti.hardware.sigma_miracast - 1.0 - - Isigma_miracast - sigmahal - - - diff --git a/config.fs b/config.fs deleted file mode 100644 index 6065ff3..0000000 --- a/config.fs +++ /dev/null @@ -1,128 +0,0 @@ -[AID_VENDOR_QTI_DIAG] -value:2901 - -[AID_VENDOR_QDSS] -value:2902 - -[AID_VENDOR_RFS] -value:2903 - -[AID_VENDOR_RFS_SHARED] -value:2904 - -[AID_VENDOR_ADPL_ODL] -value:2905 - -[AID_VENDOR_QRTR] -value:2906 - -[AID_VENDOR_THERMAL] -value:2907 - -[vendor/bin/wcnss_filter] -mode: 0755 -user: AID_BLUETOOTH -group: AID_BLUETOOTH -caps: BLOCK_SUSPEND - -[vendor/bin/hw/android.hardware.bluetooth@1.0-service-qti] -mode: 0755 -user: AID_BLUETOOTH -group: AID_BLUETOOTH -caps: BLOCK_SUSPEND NET_ADMIN - -[system/bin/cnss-daemon] -mode: 0755 -user: AID_BLUETOOTH -group: AID_BLUETOOTH -caps: NET_BIND_SERVICE - -[vendor/bin/pm-service] -mode: 0755 -user: AID_SYSTEM -group: AID_SYSTEM -caps: NET_BIND_SERVICE - -[system/bin/pm-service] -mode: 0755 -user: AID_SYSTEM -group: AID_SYSTEM -caps: NET_BIND_SERVICE - -[vendor/bin/pd-mapper] -mode: 0755 -user: AID_SYSTEM -group: AID_SYSTEM -caps: NET_BIND_SERVICE - -[system/bin/pd-mapper] -mode: 0755 -user: AID_SYSTEM -group: AID_SYSTEM -caps: NET_BIND_SERVICE - -[vendor/bin/imsdatadaemon] -mode: 0755 -user: AID_SYSTEM -group: AID_SYSTEM -caps: NET_BIND_SERVICE - -[vendor/bin/ims_rtp_daemon] -mode: 0755 -user: AID_SYSTEM -group: AID_RADIO -caps: NET_BIND_SERVICE - -[vendor/bin/imsrcsd] -mode: 0755 -user: AID_RADIO -group: AID_RADIO -caps: NET_BIND_SERVICE BLOCK_SUSPEND WAKE_ALARM - -[vendor/bin/cnd] -mode: 0755 -user: AID_SYSTEM -group: AID_SYSTEM -caps: NET_BIND_SERVICE BLOCK_SUSPEND NET_ADMIN - -[vendor/bin/slim_daemon] -mode: 0755 -user: AID_GPS -group: AID_GPS -caps: NET_BIND_SERVICE - -[vendor/bin/loc_launcher] -mode: 0755 -user: AID_GPS -group: AID_GPS -caps: SETUID SETGID - -[vendor/bin/xtwifi-client] -mode: 0755 -user: AID_GPS -group: AID_GPS -caps: NET_BIND_SERVICE BLOCK_SUSPEND WAKE_ALARM - -[vendor/bin/sensors.qti] -mode: 0755 -user: AID_SYSTEM -group: AID_SYSTEM -caps: NET_BIND_SERVICE - -[vendor/firmware_mnt/image/*] -mode: 0771 -user: AID_SYSTEM -group: AID_SYSTEM -caps: 0 - -[persist/] -mode: 0771 -user: AID_SYSTEM -group: AID_SYSTEM -caps: 0 - -[dsp/] -mode: 0771 -user: AID_MEDIA -group: AID_MEDIA -caps: 0 diff --git a/configs/gps/apdr.conf b/configs/gps/apdr.conf deleted file mode 100644 index ce5ba78..0000000 --- a/configs/gps/apdr.conf +++ /dev/null @@ -1,205 +0,0 @@ -# AP DR SENSOR Configuration file -# -# SENSOR_SERVICE options are one of below -# accel,gyro,vehicle_accel,vehicle_gyro,pedometer,vehicle_odometry,accel_temp, -# gyro_temp,baro,mag_calib,mag_uncalib,amd,rmd. -# -# SENSOR_PROVIDER options is one of -- default,native,ssc,samlite. -# -# SENSOR_RATE = 1~100 (Hz) -# -# SENSOR_SAMPLES = 1~N -# -# SENSOR_STATISTIC_ENABLED -# bit 0: Diag Print Enabled -# bit 1: Adb Print Enabled -# SENSOR_STATISTIC_PRINT_COUNT -# Skip Number of Print -# -# QDR_DYNAMIC_LOADING = 1~3 -# Configure QDR library to be loaded -# 1: QDR3 -# 2: QDR2-GYRO -# 3: QDR2-DWT -# -# - - -###################################### -# # -# Default Configuration # -# (GNSS only,QDR Disabled) # -# # -# For QDR enablement, comment # -# this section and enabled # -# either QDR3 OR # -# QDR2-DWT OR QDR2-Gyro related # -# configuration section in below. # -# # -###################################### - -SENSOR_SERVICE = accel -SENSOR_PROVIDER = native -SENSOR_RATE = 100 -SENSOR_SAMPLES = 1 - -SENSOR_SERVICE = gyro -SENSOR_PROVIDER = native -SENSOR_RATE = 100 -SENSOR_SAMPLES = 1 - -SENSOR_SERVICE = vehicle_gear -SENSOR_PROVIDER = native -SENSOR_RATE = 100 -SENSOR_SAMPLES = 1 - - -###################################### -# # -# QDR3 Configuration # -# # -# For QDR3, # -# comment default configuration above# -# and # -# uncomment below configuration # -# settings. # -# # -###################################### -# -#SENSOR_SERVICE = accel -#SENSOR_PROVIDER = native -#SENSOR_RATE = 10 -#SENSOR_SAMPLES = 10 -# -#SENSOR_SERVICE = vehicle_speed -#SENSOR_PROVIDER = native -#SENSOR_RATE = 100 -#SENSOR_SAMPLES = 1 -# -#SENSOR_SERVICE = gyro -#SENSOR_PROVIDER = native -#SENSOR_RATE = 10 -#SENSOR_SAMPLES = 10 -# -#SENSOR_SERVICE = vehicle_gear -#SENSOR_PROVIDER = native -#SENSOR_RATE = 100 -#SENSOR_SAMPLES = 1 -# -# -##Enable/disable sensor data flashback feature -#QDR_FLASHBACK_ENABLED = 0 -##Configure QDR library to be loaded 1: QDR3 2: QDR2-GYRO 3: QDR2-DWS -#QDR_DYNAMIC_LOADING = 1 -##Enable/disable sensor data batching feature -#QDR_BATCHING_ENABLED = 2 -##Reporting offset before PPS boundary -#QDR_REPORTING_OFFSET = 0 -##Sensor dispatch threshold declaration -#QDR_SENSDISPATCH_MS = 30 -# - -###################################### -# # -# QDR2-DWT Configuration # -# # -# For QDR2-DWT, # -# comment default configuration above# -# and # -# uncomment below configuration # -# settings. # -# # -###################################### -# -#SENSOR_SERVICE = vehicle_speed -#SENSOR_PROVIDER = native -#SENSOR_RATE = 100 -#SENSOR_SAMPLES = 1 -#SENSOR_STATISTIC_ENABLED = 3 -#SENSOR_STATISTIC_PRINT_COUNT = 50 -# -#SENSOR_SERVICE = vehicle_dws -#SENSOR_PROVIDER = native -#SENSOR_RATE = 100 -#SENSOR_SAMPLES = 1 -#SENSOR_STATISTIC_ENABLED = 3 -#SENSOR_STATISTIC_PRINT_COUNT = 50 -# -#SENSOR_SERVICE = vehicle_gear -#SENSOR_PROVIDER = native -#SENSOR_RATE = 100 -#SENSOR_SAMPLES = 1 -#SENSOR_STATISTIC_ENABLED = 3 -#SENSOR_STATISTIC_PRINT_COUNT = 50 -# -#GNSS_POS_STATISTIC_ENABLED = 3 -#GNSS_POS_STATISTIC_PRNTCNT = 10 -#GNSS_MSR_STATISTIC_ENABLED = 3 -#GNSS_MSR_STATISTIC_PRNTCNT = 10 -# -##Enable/disable sensor data flashback feature -#QDR_FLASHBACK_ENABLED = 0 -##Configure QDR library to be loaded 1: QDR3 2: QDR2-GYRO 3: QDR2-DWS -#QDR_DYNAMIC_LOADING = 3 -##Enable/disable sensor data batching feature -#QDR_BATCHING_ENABLED = 0 -##Reporting offset before PPS boundary -#QDR_REPORTING_OFFSET = 0 -##Sensor dispatch threshold declaration -#QDR_SENSDISPATCH_MS = 30 -##QDR_ENABLE_QG shall be set as 1 -#QDR_ENABLE_QG = 1 -##Select Wheel set (E.g.: Front two wheels, Rear two wheels OR All four wheels) -##To be used for differential wheel tick OR speed service. -##This configuration is applicable when QDR_CAN_TYPE configured as -##ODO_DWS(3) or ODO_DWT(2). -##Value "0": Use Front two wheels -##Value "1": Use Rear two wheels -##Value "2": Use All four wheels -#QG_DRIVE_WHEEL_FW_RW_AW = 2 -##Max Wheel tick value above which wheel tick rolls over -##This configuration is applicable when QDR_CAN_TYPE configured as ODO_DWT(2) -#QG_DWT_MAX_WHEEL_TICK_COUNT = 255.0 -##Configure Wheel constant for DWT based below equation -##(2 * pi * WHEEL_RADIUS / Pulses Per revolution) -##This configuration is applicable when QDR_CAN_TYPE configured as ODO_DWT(2) -#QG_DWT_WHEEL_CONSTANT = 0.044 - -###################################### -# # -# QDR2-GYRO Configuration # -# # -# For QDR2-GYRO, # -# comment default configuration above# -# and # -# uncomment below configuration # -# settings. # -# # -###################################### -# -#SENSOR_SERVICE = vehicle_speed -#SENSOR_PROVIDER = native -#SENSOR_RATE = 100 -#SENSOR_SAMPLES = 1 -# -#SENSOR_SERVICE = vehicle_gyro -#SENSOR_PROVIDER = native -#SENSOR_RATE = 100 -#SENSOR_SAMPLES = 1 -# -#SENSOR_SERVICE = vehicle_gear -#SENSOR_PROVIDER = native -#SENSOR_RATE = 100 -#SENSOR_SAMPLES = 1 -# -##Enable/disable sensor data flashback feature -#QDR_FLASHBACK_ENABLED = 0 -##Configure QDR library to be loaded 1: QDR3 2: QDR2-GYRO 3: QDR2-DWS -#QDR_DYNAMIC_LOADING = 2 -##Enable/disable sensor data batching feature -#QDR_BATCHING_ENABLED = 0 -##Reporting offset before PPS boundary -#QDR_REPORTING_OFFSET = 0 -##Sensor dispatch threshold declaration -#QDR_SENSDISPATCH_MS = 30 -# diff --git a/configs/gps/flp.conf b/configs/gps/flp.conf deleted file mode 100644 index 65d54d3..0000000 --- a/configs/gps/flp.conf +++ /dev/null @@ -1,60 +0,0 @@ -################################### -##### FLP settings ##### -################################### - -################################### -# FLP BATCH SIZE -################################### -# The number of batched locations -# requested to modem. The desired number -# defined below may not be satisfied, as -# the modem can only return the number -# of batched locations that can be allocated, -# which is limited by memory. The default -# batch size defined as 20 as below. -BATCH_SIZE=20 - -################################### -# FLP OUTDOOR TRIP BATCH SIZE -################################### -# The number of batched locations -# requested to modem for outdoor -# trip batching. The desired number -# defined below may not be satisfied, as -# the modem can only return the number -# of batched locations that can be allocated, -# which is limited by memory. The default -# trip batch size defined as 600 as below. -OUTDOOR_TRIP_BATCH_SIZE=600 - -################################### -# FLP BATCHING SESSION TIMEOUT -################################### -# Duration with which batch session timeout -# happens in milliseconds. If not specified -# or set to zero, batching session timeout -# defaults to 20 seconds by the modem. -# BATCH_SESSION_TIMEOUT=20000 - -################################### -# FLP BATCHING ACCURACY -################################### -# Set to one of the defined values below -# to define the accuracy of batching. -# If not specified, accuracy defaults -# to LOW. -# FLP BATCHING ACCURACY values: -# Low accuracy = 0 -# Medium accuracy = 1 -# High accuracy = 2 -ACCURACY=1 - -#################################### -# By default if network fixes are not sensor assisted -# these fixes must be dropped. This parameter adds an exception -# for targets where there is no PDR and we still want to -# report out network fixes -# 0: MUST NOT ALLOW NETWORK FIXES -# 1: ALLOW NETWORK FIXES -#################################### -ALLOW_NETWORK_FIXES = 0 diff --git a/configs/gps/gps.conf b/configs/gps/gps.conf deleted file mode 100644 index 37b67d9..0000000 --- a/configs/gps/gps.conf +++ /dev/null @@ -1,289 +0,0 @@ -#Version check for XTRA -#DISABLE = 0 -#AUTO = 1 -#XTRA2 = 2 -#XTRA3 = 3 -XTRA_VERSION_CHECK=0 - -# Error Estimate -# _SET = 1 -# _CLEAR = 0 -ERR_ESTIMATE=0 - -#NTP server -NTP_SERVER=time.izatcloud.net - -#XTRA CA path -XTRA_CA_PATH=/usr/lib/ssl/certs - -# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info -# 4 - Debug, 5 - Verbose -# If DEBUG_LEVEL is commented, Android's logging levels will be used -DEBUG_LEVEL = 3 - -# Intermediate position report, 1=enable, 0=disable -INTERMEDIATE_POS=0 - -# supl version 1.0 -SUPL_VER=0x10000 - -# Emergency SUPL, 1=enable, 0=disable -#SUPL_ES=1 - -#Choose PDN for Emergency SUPL -#1 - Use emergency PDN -#0 - Use regular SUPL PDN for Emergency SUPL -#USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=0 - -#SUPL_MODE is a bit mask set in config.xml per carrier by default. -#If it is uncommented here, this value will overwrite the value from -#config.xml. -#MSA=0X2 -#MSB=0X1 -#SUPL_MODE= - -# GPS Capabilities bit mask -# SCHEDULING = 0x01 -# MSB = 0x02 -# MSA = 0x04 -# ON_DEMAND_TIME = 0x10 -# default = ON_DEMAND_TIME | MSA | MSB | SCHEDULING -CAPABILITIES=0x17 - -# Accuracy threshold for intermediate positions -# less accurate positions are ignored, 0 for passing all positions -# ACCURACY_THRES=5000 - -################################ -##### AGPS server settings ##### -################################ - -# FOR SUPL SUPPORT, set the following -# SUPL_HOST=supl.host.com or IP -# SUPL_PORT=1234 - -# FOR MO SUPL SUPPORT, set the following -# MO_SUPL_HOST=supl.host.com or IP -# MO_SUPL_PORT=1234 - -# FOR C2K PDE SUPPORT, set the following -# C2K_HOST=c2k.pde.com or IP -# C2K_PORT=1234 - -# Bitmask of slots that are available -# for write/install to, where 1s indicate writable, -# and the default value is 0 where no slots -# are writable. For example, AGPS_CERT_WRITABLE_MASK -# of b1000001010 makes 3 slots available -# and the remaining 7 slots unwritable. -#AGPS_CERT_WRITABLE_MASK=0 - -#################################### -# LTE Positioning Profile Settings -#################################### -# 0: Enable RRLP on LTE(Default) -# 1: Enable LPP_User_Plane on LTE -# 2: Enable LPP_Control_Plane -# 3: Enable both LPP_User_Plane and LPP_Control_Plane -LPP_PROFILE = 2 - -#################################### -#Datum Type -#################################### -# 0: WGS-84 -# 1: PZ-90 -DATUM_TYPE = 0 - -################################ -# EXTRA SETTINGS -################################ -# NMEA provider (1=Modem Processor, 0=Application Processor) -NMEA_PROVIDER=0 -# Mark if it is a SGLTE target (1=SGLTE, 0=nonSGLTE) -SGLTE_TARGET=0 - -################################################## -# Select Positioning Protocol on A-GLONASS system -################################################## -# 0x1: RRC CPlane -# 0x2: RRLP UPlane -# 0x4: LLP Uplane -A_GLONASS_POS_PROTOCOL_SELECT = 0 - -################################################## -# Select technology for LPPe Control Plane -################################################## -# 0x1: DBH for LPPe CP -# 0x2: WLAN AP Measurements for LPPe CP -# 0x4: SRN AP measurement for CP -# 0x8: Sensor Barometer Measurement LPPe CP -LPPE_CP_TECHNOLOGY = 0 - -################################################## -# Select technology for LPPe User Plane -################################################## -# 0x1: DBH for LPPe UP -# 0x2: WLAN AP Measurements for LPPe UP -# 0x4: SRN AP measurement for UP -# 0x8: Sensor Barometer Measurement LPPe UP -LPPE_UP_TECHNOLOGY = 0 - -################################################## -# AGPS_CONFIG_INJECT -################################################## -# enable/disable injection of AGPS configurations: -# SUPL_VER -# SUPL_HOST -# SUPL_PORT -# MO_SUPL_HOST -# MO_SUPL_PORT -# C2K_HOST -# C2K_PORT -# LPP_PROFILE -# A_GLONASS_POS_PROTOCOL_SELECT -# 0: disable -# 1: enable -AGPS_CONFIG_INJECT = 1 - -################################################## -# GNSS settings for automotive use cases -# Configurations in following section are -# specific to automotive use cases, others -# please do not change, keep the default values -################################################## - -# AP Coarse Timestamp Uncertainty -################################################## -# default : 10 -# AP time stamp uncertainty, until GNSS receiver -# is able to acquire better timing information -AP_TIMESTAMP_UNCERTAINTY = 10 - -################################################## -# QDR engine availability status -################################################## -# 0 : NO QDR (default) -# 1 : QDR enabled -# This settings enables QDR Configuration for -# automotive use case, if enabled then -# DR_AP_Service needs to be enabled in izat.conf -#EXTERNAL_DR_ENABLED = 0 - -##################################### -# DR_SYNC Pulse Availability -##################################### -# 0 : DR_SYNC pulse not available (default) -# 1 : DR_SYNC pulse available -# This configuration enables the driver to make use -# of PPS events generated by DR_SYNC pulse -# Standard Linux PPS driver needs to be enabled -DR_SYNC_ENABLED = 0 - -##################################### -# PPS Device name -##################################### -PPS_DEVICENAME = /dev/pps0 - -##################################### -# Ignore PPS at Startup and after long outage -##################################### -IGNORE_PPS_PULSE_COUNT = 1 - -##################################### -# Long GNSS RF outage in seconds -##################################### -GNSS_OUTAGE_DURATION = 10 - -##################################### -# AP Clock Accuracy -##################################### -# Quality of APPS processor clock (in PPM). -# Value specified is used for calculation of -# APPS time stamp uncertainty -AP_CLOCK_PPM = 100 - -##################################### -# MAX ms difference to detect missing pulse -##################################### -# Specifies time threshold in ms to validate any missing PPS pulses -MISSING_PULSE_TIME_DELTA = 900 - -##################################### -# Propagation time uncertainty -##################################### -# This settings enables time uncertainty propagation -# logic incase of missing PPS pulse -PROPAGATION_TIME_UNCERTAINTY = 1 - -####################################### -# APN / IP Type Configuration -# APN and IP Type to use for setting -# up WWAN call. -# Use below values for IP Type: -# v4 = 4 -# v6 = 6 -# v4v6 = 10 -####################################### -# INTERNET_APN = abc.xyz -# INTERNET_IP_TYPE = 4 -# SUPL_APN = abc.xyz -# SUPL_IP_TYPE = 4 - -##################################### -# Modem type -##################################### -# This setting configures modem type -# (external=0 or internal=1) -# comment out the next line to vote -# for the first modem in the list -MODEM_TYPE = 1 - -################################################## -# CONSTRAINED TIME UNCERTAINTY MODE -################################################## -# 0 : disabled (default) -# 1 : enabled -# This setting enables GPS engine to keep its time -# uncertainty below the specified constraint -#CONSTRAINED_TIME_UNCERTAINTY_ENABLED = 0 - -# If constrained time uncertainty mode is enabled, -# this setting specifies the time uncertainty -# threshold that gps engine need to maintain. -# In unit of milli-seconds. -# Default is 0.0 meaning that modem default value -# of time uncertainty threshold will be used. -#CONSTRAINED_TIME_UNCERTAINTY_THRESHOLD = 0.0 - -# If constrained time uncertainty mode is enabled, -# this setting specifies the power budget that -# gps engine is allowed to spend to maintain the time -# uncertainty. -# Default is 0 meaning that GPS engine is not constained -# by power budget and can spend as much power as needed. -# In unit of 0.1 milli watt second. -#CONSTRAINED_TIME_UNCERTAINTY_ENERGY_BUDGET = 0 - -################################################## -# POSITION ASSISTED CLOCK ESTIMATOR -################################################## -# 0 : disabled (default) -# 1 : enabled -# This setting enables GPS engine to estimate clock -# bias and drift when the signal from at least 1 -# SV is available and the UE’s position is known by -# other position engines. -#POSITION_ASSISTED_CLOCK_ESTIMATOR_ENABLED = 0 - -##################################### -# proxyAppPackageName -##################################### -# This is a string that is sent to the framework -# in nfwNotifyCb callback -PROXY_APP_PACKAGE_NAME = com.google.android.carrierlocation - -##################################### -# CP_MTLR_ES -##################################### -# CP MTLR ES, 1=enable, 0=disable -CP_MTLR_ES=0 diff --git a/configs/gps/izat.conf b/configs/gps/izat.conf deleted file mode 100644 index d1c6a82..0000000 --- a/configs/gps/izat.conf +++ /dev/null @@ -1,247 +0,0 @@ -######################################### -# Log verbosity control for izat modules -######################################### -# OFF = 0, ERROR = 1, WARNING = 2, INFO = 3, DEBUG = 4, VERBOSE = 5 -IZAT_DEBUG_LEVEL = 2 - -################################################## -# Select WIFI Wait Timeout value in seconds for SUPL -################################################## -WIFI_WAIT_TIMEOUT_SELECT = 0 - -################################################## -# Time interval of injecting SRN scan data to modem -# time in seconds. -# Note: recommended value is between 1-5 sec -################################################## -LPPE_SRN_DATA_SCAN_INJECT_TIME=2 - -################################ -# NLP Settings -################################ -# NLP_MODE 1: OSNLP Only, 2: QNP Only, 3: Combo, 4: QNP preferred -# For Automotive products, please use NLP_MODE = 4 only. -# NLP_TOLERANCE_TIME_FIRST: Time in ms used in Combo mode -# to determine how much Tolerance for first position -# NLP_TOLERANCE_TIME_AFTER: Time in ms used in Combo mode -# to determine how much Tolerance for positions after first -# NLP_THRESHOLD: Sets how many failures needed before -# switching preferred NLP in Combo mode -# NLP_ACCURACY_MULTIPLE: Determines how far off the accuracy -# must be, in multiples, between two NLP location reports to -# be considered much worse accuracy. Used in switching logic -# NLP COMBO MODE USES QNP WITH NO EULA CONSENT: Determines -# whether or not to still send network location requests to -# QNP when the EULA is not consented to by the user. QNP can -# still return ZPP locations or injected locations even -# without EULA consent, but the uncertainty can be high. -# QNP preferred mode prefers QNP when there is EULA consent, -# otherwise OSNLP is used. -NLP_MODE = 1 -NLP_MODE_EMERGENCY = 2 -NLP_TOLERANCE_TIME_FIRST = 5000 -NLP_TOLERANCE_TIME_AFTER = 20000 -NLP_THRESHOLD = 3 -NLP_ACCURACY_MULTIPLE = 2 -NLP_COMBO_MODE_USES_QNP_WITH_NO_EULA_CONSENT = 1 - -######################################### -# NLP PACKAGE SETTINGS -######################################### -# OSNLP_PACKAGE: name of default NLP package -OSNLP_PACKAGE = com.google.android.gms -# REGION_OSNLP_PACKAGE: -# This value will be used as alternative -# for particular region where default NLP is not functional. -#REGION_OSNLP_PACKAGE = - -################################### -# GEOFENCE SERVICES -################################### -# If set to one of the defined values below, it will override -# the responsiveness for geofence services, which implements -# the Proximity Alert API. If not set to a value defined below, -# which is default, it will not override the responsivness. -# The geofence HAL API is unaffected by this value. -# GEOFENCE_SERVICES_RESPONSIVENESS_OVERRIDE Values: -# 1: LOW responsiveness -# 2: MEDIUM responsiveness -# 3: HIGH responsiveness -GEOFENCE_SERVICES_RESPONSIVENESS_OVERRIDE = 0 - -##################################### -#GTP Opt-In app -##################################### - -#GTP privacy policy version url -#https support is required -GTP_PRIVACY_VERSION_URL = https://info.izatcloud.net/privacy/version.html - -#GTP privacy policy version download retry interval -#unit is second. default is 86400 -GTP_PRIVACY_RETRY_INTERVAL = 86400 - -##################################### -# IZAT PREMIUM FEATURE SETTINGS -##################################### -#Possible states of a feature: -#DISABLED -#BASIC -#PREMIUM - -#GTP_MODE valid modes: -# DISABLED -# LEGACY_WWAN -# SDK (WWAN not available for Modems before LocTech 10.0) -GTP_MODE=DISABLED - -#GTP_WAA valid modes: -# DISABLED -# BASIC -GTP_WAA=DISABLED - -#SAP valid modes: -# DISABLED -# BASIC -# PREMIUM -# MODEM_DEFAULT -SAP=MODEM_DEFAULT - -#FREE_WIFI_SCAN_INJECT valid modes: -#DISABLED -#BASIC -FREE_WIFI_SCAN_INJECT=BASIC - -#SUPL_WIFI valid modes: -#DISABLED -#BASIC -SUPL_WIFI=BASIC - -#WIFI_SUPPLICANT_INFO valid modes: -#DISABLED -#BASIC -WIFI_SUPPLICANT_INFO=BASIC - -##################################### -# Location process launcher settings -##################################### - -# DO NOT MODIFY -# Modifying below attributes without -# caution can have serious implications. - -#Values for PROCESS_STATE: -# ENABLED -# DISABLED - -#PROCESS_NAME -# Name of the executable file. - -#FEATURE MASKS: -# GTP-WIFI 0X03 -# GTP-MP-CELL 0xc00 -# GTP-WAA 0x100 -# SAP 0Xc0 -# ODCPI 0x1000 -# FREE_WIFI_SCAN_INJECT 0x2000 -# SUPL_WIFI 0x4000 -# WIFI_SUPPLICANT_INFO 0x8000 - -#Values for PLATFORMS can be: -#1. Any valid values obtained from ro.board.platform separated by single space. For example: msm8960 msm8226 -#2. 'all' or 'all exclude' -> for All platforms -#3. 'all exclude XXXX' -> All platforms exclude XXXX. For example: all exclude msm8937 - -#Values for BASEBAND can be: -#1. Any valid values obtained from ro.baseband separated by single space. For example: sglte sglte2 -#2. 'all' or 'all exclude' -> for all basebands -#3. 'all exclude XXXX' -> All basebands exclude XXXX. For example: all exclude sglte -PROCESS_NAME=lowi-server -PROCESS_ARGUMENT= -PROCESS_STATE=ENABLED -PROCESS_GROUPS=gps wifi inet oem_2901 -PREMIUM_FEATURE=0 -IZAT_FEATURE_MASK=0xf303 -PLATFORMS=all -BASEBAND=all -HARDWARE_TYPE=all -VENDOR_ENHANCED_PROCESS=0 - -PROCESS_NAME=xtwifi-inet-agent -PROCESS_ARGUMENT= -PROCESS_STATE=DISABLED -PROCESS_GROUPS=inet gps -PREMIUM_FEATURE=1 -IZAT_FEATURE_MASK=0xc03 -PLATFORMS=all -BASEBAND=all -HARDWARE_TYPE=all -VENDOR_ENHANCED_PROCESS=1 - -PROCESS_NAME=xtwifi-client -PROCESS_ARGUMENT= -PROCESS_STATE=DISABLED -PROCESS_GROUPS=wifi inet gps system oem_2904 -PREMIUM_FEATURE=1 -IZAT_FEATURE_MASK=0xd03 -PLATFORMS=all -BASEBAND=all -HARDWARE_TYPE=all -VENDOR_ENHANCED_PROCESS=1 - -PROCESS_NAME=slim_daemon -PROCESS_ARGUMENT= -PROCESS_STATE=DISABLED -PROCESS_GROUPS=gps oem_2901 can plugdev diag sensors -PREMIUM_FEATURE=1 -IZAT_FEATURE_MASK=0xf0 -PLATFORMS=all -BASEBAND=all -HARDWARE_TYPE=all -VENDOR_ENHANCED_PROCESS=1 - -PROCESS_NAME=xtra-daemon -PROCESS_ARGUMENT= -PROCESS_STATE=ENABLED -PROCESS_GROUPS=inet gps system -PREMIUM_FEATURE=0 -IZAT_FEATURE_MASK=0 -PLATFORMS=all -BASEBAND=all -HARDWARE_TYPE=all -VENDOR_ENHANCED_PROCESS=0 - -######################################## -# Engine Service which host DRE module # -# To enable DRE engine service, change # -# PROCESS_STATE=ENABLED # -######################################## -PROCESS_NAME=engine-service -PROCESS_ARGUMENT=DRE-INT libloc_epDr.so -PROCESS_STATE=DISABLED -PROCESS_GROUPS=gps diag inet qwes oem_2901 system -PREMIUM_FEATURE=0 -IZAT_FEATURE_MASK=0 -PLATFORMS=all -BASEBAND=all -HARDWARE_TYPE=all -VENDOR_ENHANCED_PROCESS=1 - -######################################## -# Engine Service which host PPE module # -# To enable PPE engine service, change # -# PROCESS_STATE=ENABLED # -# and update process arugements # -# with PPE library name # -#PROCESS_ARGUMENT=PPE libepsimulator.so# -######################################## -PROCESS_NAME=engine-service -PROCESS_ARGUMENT=PPE libepsimulator.so -PROCESS_STATE=DISABLED -PROCESS_GROUPS=gps diag inet oem_2901 -PREMIUM_FEATURE=0 -IZAT_FEATURE_MASK=0 -PLATFORMS=all -BASEBAND=all -HARDWARE_TYPE=all -VENDOR_ENHANCED_PROCESS=1 diff --git a/configs/gps/lowi.conf b/configs/gps/lowi.conf deleted file mode 100644 index 5006b59..0000000 --- a/configs/gps/lowi.conf +++ /dev/null @@ -1,27 +0,0 @@ -#*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====* -# -# LOWI Config file -# -# GENERAL DESCRIPTION -# This file contains the config params for LOWI -# -# Copyright (c) 2019 Qualcomm Technologies, Inc. -# All Rights Reserved. -# Confidential and Proprietary - Qualcomm Technologies, Inc. -# -# 2012-2013 Qualcomm Atheros, Inc. -# All Rights Reserved. -# Qualcomm Atheros Confidential and Proprietary. -# -# Export of this technology or software is regulated by the U.S. Government. -# Diversion contrary to U.S. law prohibited. -#=============================================================================*/ - -# X86 ONLY - UBUNTU: -# Copy this file in the same directory where the executable is - -# Log level -# EL_LOG_OFF = 0, EL_ERROR = 1, EL_WARNING = 2, EL_INFO = 3, EL_DEBUG = 4, EL_VERBOSE = 5, EL_LOG_ALL = 100 -LOWI_LOG_LEVEL = 3 -LOWI_USE_LOWI_LP = 0 - diff --git a/configs/gps/sap.conf b/configs/gps/sap.conf deleted file mode 100644 index 0f71794..0000000 --- a/configs/gps/sap.conf +++ /dev/null @@ -1,161 +0,0 @@ -################################ -# Sensor Settings -################################ -#The following parameters are optional. -#Internal defaults support MEMS sensors -#native to most handset devices. -#Device specific sensor characterization -#for improved performance is possible as -#described in SAP application notes. -#GYRO_BIAS_RANDOM_WALK= -#ACCEL_RANDOM_WALK_SPECTRAL_DENSITY= -#ANGLE_RANDOM_WALK_SPECTRAL_DENSITY= -#RATE_RANDOM_WALK_SPECTRAL_DENSITY= -#VELOCITY_RANDOM_WALK_SPECTRAL_DENSITY= - -# Sensor Sampling Rate Parameters for Low-Data Rate Filter (should be greater than 0) -# used in loc_eng_reinit -SENSOR_ACCEL_BATCHES_PER_SEC=2 -SENSOR_ACCEL_SAMPLES_PER_BATCH=5 -SENSOR_GYRO_BATCHES_PER_SEC=2 -SENSOR_GYRO_SAMPLES_PER_BATCH=5 -# Sensor Sampling Rate Parameters for High-Data Rate Filter (should be greater than 0) -SENSOR_ACCEL_BATCHES_PER_SEC_HIGH=4 -SENSOR_ACCEL_SAMPLES_PER_BATCH_HIGH=25 -SENSOR_GYRO_BATCHES_PER_SEC_HIGH=4 -SENSOR_GYRO_SAMPLES_PER_BATCH_HIGH=25 - -# Sensor Control Mode (0=AUTO, 1=FORCE_ON, 2=MODEM_DEFAULT) -# used in loc_eng_reinit -SENSOR_CONTROL_MODE=2 - -# Bit mask used to define which sensor algorithms are used. -# Setting each bit has the following definition: -# 0x1 - DISABLE_INS_POSITIONING_FILTER -# 0x0 - ENABLE_INS_POSITIONING_FILTER -SENSOR_ALGORITHM_CONFIG_MASK=0x0 - -#Vehicle Network Provider configuration - -#Service configuration strings -#The number before colon in VN_X items defines version of the format of the rest of the string -#VN_ACCEL_CFG=0:5 -#VN_GYRO_CFG=0:5.5 -#VN_ODOMETRY_CFG=0:2,4.5 - -################################################ -# QDR3 configurations # -################################################ -VN_SPEED_CFG=1:131,5,8,1,2,3,1,1,9,2,14,2 -VN_GEAR_CFG=1:422,20,4,0,4,1,9,0,1,2,3,4,5,6,7,8 - -################################################ -# QDR2-Gyro configurations # -################################################ -#VN_GYRO_CFG=1:555,0,1,0,0,0,0,-6.5,6.6066,-6.5,-1.00,2,6.607,6.6068,0,0,16,0.0002,0,16,0.0002,0,16,0.0002 -#VN_SPEED_CFG=1:555,0,0,1,2,1,0.01,0,56,8,48,8 -#VN_GEAR_CFG=1:555,16,4,0,1,1,9,0,1,2,3,4,5,6,7,8 - -################################################ -# QDR2-DWT configurations # -################################################ -#VN_SPEED_CFG=1:555,22,1,2,1,1,1,0,8,8,23,1,2,0,1,0,8,8,23,1 -#VN_GEAR_CFG=1:555,12,4,16,14,16,8,1,2,3,4,5,6,7,8 -#VN_DWS_CFG=1:555,0,0,1,3,1,1,0,0,8,0,0,8,8,0,0,16,8,0,0,24,8,0,0 -#VN_GYRO_CFG=1:555,40,16,1.0,40,16,1.0,40,16,1.0 - -##################################################################################### -# VNW service batching configuration strings # -# VNW provider will initialize default type as Time based batching # -# Each service batch value is configured to be 100 # -# VN_ACCEL_CFG_BATCH_VALUE will be treated as time in Ms if VN_CFG_BATCH_TYPE # -# is set to time based batching # -# VN_ACCEL_CFG_BATCH_VALUE will be treated as sample count if VN_CFG_BATCH_TYPE # -# is set to count based batching # -# Uncomment and update batch time /sample count as per selected batching type # -##################################################################################### -# Batching type -# 1 - Time based (default) -# 2 - Count based -#VN_CFG_BATCH_TYPE=1 - -#Vehicle Accel batching value, it can either accept time in milli seconds or sample count -#VN_ACCEL_CFG_BATCH_VALUE=100 - -#Vehicle Gyro batching value, it can either accept time in milli seconds or sample count -#VN_GYRO_CFG_BATCH_VALUE=100 - -#Vehicle Odo batching value, it can either accept time in milli seconds or sample count -#VN_ODOMETRY_CFG_BATCH_VALUE=100 - -#Vehicle Speed batching value, it can either accept time in milli seconds or sample count -#VN_SPEED_CFG_BATCH_VALUE=100 - -#Vehicle Gear batching value, it can either accept time in milli seconds or sample count -#VN_GEAR_CFG_BATCH_VALUE=100 - -#Vehicle DWS batching value, it can either accept time in milli seconds or sample count -#VN_DWS_CFG_BATCH_VALUE=100 -#################################################################################### - -#Procesors clock ratio: AP and CAN bus microcontroller -################################################ -# QDR3 configurations # -################################################ -VN_PROC_CLOCK_RATIO=1.0 - -################################################ -# QDR2-DWT OR QDR2-Gyro configurations # -################################################ -#VN_PROC_CLOCK_RATIO = 1.0 - -# Time source used by Sensor HAL -# Setting this value controls accuracy of location sensor services. -# 0 - Unknown -# 1 - CLOCK_BOOTTIME -# 2 - CLOCK_MONOTONIC -# 3 - CLOCK_REALTIME -# 4 - CLOCK_BOOTTIME using Alarm timer interface -NDK_PROVIDER_TIME_SOURCE=1 - -# Sensor Batching Configuration -# 0 - Time based -# 1 - Fixed count based -# 2 - Variable count based -COUNT_BASED_BATCHING=1 -SYNC_ONCE=0 - -#Sensor HAL Provider Configuration HAL Library name including path -################################################ -# # -# Configuration for BMI 160 Sensor # -# # -################################################ -SENSOR_TYPE=2 -SENSOR_HAL_LIB_PATH=/usr/lib/libbmi160sensors.so.1 - -################################################ -# # -# Configuration for ASM330 Sensor # -# # -################################################ -#SENSOR_TYPE=1 -#SENSOR_HAL_LIB_PATH=/usr/lib/libasm330sensors.so.1 - - -################################################ -# # -# Configuration for IAM20680 Sensor # -# # -################################################ -#SENSOR_TYPE=3 -#SENSOR_HAL_LIB_PATH=/usr/lib/libiam20680sensors.so.1 - - -################################################ -# # -# Configuration for SMI130 Sensor # -# # -################################################ -#SENSOR_TYPE=4 -#SENSOR_HAL_LIB_PATH=/usr/lib/libsmi130sensors.so.1 diff --git a/configs/gps/xtwifi.conf b/configs/gps/xtwifi.conf deleted file mode 100644 index 5d7df9e..0000000 --- a/configs/gps/xtwifi.conf +++ /dev/null @@ -1,78 +0,0 @@ -#GTP AP Project client core config file -# -#GENERAL DESCRIPTION -#This is used by client core -# -#Copyright (c) 2012-2014 Qualcomm Atheros, Inc. -#All Rights Reserved. -#Qualcomm Atheros Confidential and Proprietary. -# -#Copyright (c) 2017 Qualcomm Technologies, Inc. -#All Rights Reserved. -#Confidential and Proprietary - Qualcomm Technologies, Inc. - -############################################################################## -# non-IOT devices configuration items # -# For non-IOT devices, configure below configuration items # -# according to the app note: 80-NK218-1 and remove the configuration items # -# in section of "IOT devices configuration items". # -############################################################################## - -# ASN URI v2 to be used by some GTP AP modules that -# need to run with ASN URI v2 protocol. -XT_SERVER_ROOT_URL = https://gtp1.izatcloud.net:443/uds/v2 - -# ASN URI v3 to be used by GTP AP modules that -# can support ASN URI v3 protocol. -XT_SERVER_ROOT_URL_V3 = https://gtp1.izatcloud.net:443/uds/v3 - -# size, in bytes, of the cache on device -SIZE_BYTE_TOTAL_CACHE = 5000000 - -############################################################################## -# IOT devices configuration items # -# For IOT devices, configure below configuration items # -# according to the app note and remove the configuration items in section of # -# "non-IOT devices configuration items". # -############################################################################## - -# ASN URI v3 to be used by GTP AP modules that -# can support ASN URI v3 protocol. -# XT_SERVER_ROOT_URL_V3 = https://gtpma1.izatcloud.net:443/uds/v3 - -# 3: Wi-Fi APDB injection via Izat SDK. GTP server is not accessed -# for any GTP requests, instead notification is sent to Izat SDK. -# WiFi crowdsourcing module is disabled. -# 4: Wi-Fi APDB injection via Izat SDK. GTP server is not accessed -# for any GTP requests, instead notification is sent to Izat SDK. -# WiFi crowdsourcing module is active, also accessed via Izat SDK. -# GTP_AP_MODE = 4 - -# 1: MP cell features relies on GTP AP for either download or upload -# 0: MP cell features does not rely on GTP AP -# GTP_AP_NEEDED_BY_MP_CELL = 1 - -############################################################################## -# Configuration items applicable to all devices # -############################################################################## - -# Log verbosity control for most of the GTP WiFi system, including native and -# Java componenets -# OFF = 0, ERROR = 1, WARNING = 2, INFO = 3, DEBUG = 4, VERBOSE = 5, ALL = 100 -DEBUG_GLOBAL_LOG_LEVEL = 2 - -# this is used at the server side to distinguish uploads from different maker/model -# default "Qualcomm" -OEM_ID_IN_REQUEST_TO_SERVER = "Qualcomm" - -# this is used at the server side to distinguish uploads from different maker/model -# default "UNKNOWN" -MODEL_ID_IN_REQUEST_TO_SERVER = "UNKNOWN" - -############################################################################## -# Qualcomm Network Location Provider config # -############################################################################## - -# Accuracy Threshold for NLP position. Position exceeds thsi threshold will be filtered out. -# Default is 25000 meters. -LARGE_ACCURACY_THRESHOLD_TO_FILTER_NLP_POSITION = 25000 diff --git a/configs/msm_irqbalance.conf b/configs/msm_irqbalance.conf deleted file mode 100644 index 8689e05..0000000 --- a/configs/msm_irqbalance.conf +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright (c) 2017, 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 "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. -# -# - -PRIO=1,1,1,1,0,0,0,0 -#arch_timer, arm-pmu, arch_mem_timer -IGNORED_IRQ=19,21,39 diff --git a/configs/public.libraries.txt b/configs/public.libraries.txt deleted file mode 100644 index 0fd8b24..0000000 --- a/configs/public.libraries.txt +++ /dev/null @@ -1,14 +0,0 @@ -libqti-perfd-client.so -libadsprpc.so -libcdsprpc.so -libsdsprpc.so -libfastcvopt.so -liblistenjni.so -liblistensoundmodel2.so -libOpenCL.so -libnpu.so -libhta_controller.so -libhta_hexagon_runtime.so -libprotobuf-cpp-full.so -libprotobuf-cpp-lite.so -unnhal-acc-hta.so diff --git a/configs/sec_config b/configs/sec_config deleted file mode 100644 index 4825eb2..0000000 --- a/configs/sec_config +++ /dev/null @@ -1,331 +0,0 @@ -/* IPC Security Config */ -/* :: */ -16:4294967295:1000:1021:1026 -/* :: */ -75:4294967295:1000:1001:3006 -/* :: */ -56:4294967295:1021 -/* Allow SS CTL service to be used by system and net_raw processes */ -43:4294967295:1000:3004 -/* :: */ -71:4294967295:1001 -/* :: */ -50:4294967295:1001 -/* QMI-SLIM service permitted to gps and net_raw */ -55:4294967295:1021 -/* Allow Sensor services to be used by sensor process */ -256:4294967295:1000:1006:1013:1021:1047:3011 -257:4294967295:1000:1006:1013:1021:1047:3011 -258:4294967295:1000:1006:1013:1021:1047:3011 -259:4294967295:1000:1006:1013:1021:1047:3011 -260:4294967295:1000:1006:1013:1021:1047:3011 -261:4294967295:1000:1006:1013:1021:1047:3011 -262:4294967295:1000:1006:1013:1021:1047:3011 -263:4294967295:1000:1006:1013:1021:1047:3011 -264:4294967295:1000:1006:1013:1021:1047:3011 -265:4294967295:1000:1006:1013:1021:1047:3011 -266:4294967295:1000:1006:1013:1021:1047:3011 -267:4294967295:1000:1006:1013:1021:1047:3011 -268:4294967295:1000:1006:1013:1021:1047:3011 -269:4294967295:1000:1006:1013:1021:1047:3011 -270:4294967295:1000:1006:1013:1021:1047:3011 -271:4294967295:1000:1006:1013:1021:1047:3011 -272:4294967295:1000:1006:1013:1021:1047:3011 -273:4294967295:1000:1006:1013:1021:1047:3011 -274:4294967295:1000:1006:1013:1021:1047:3011 -275:4294967295:1000:1006:1013:1021:1047:3011 -276:4294967295:1000:1006:1013:1021:1047:3011 -277:4294967295:1000:1006:1013:1021:1047:3011 -278:4294967295:1000:1006:1013:1021:1047:3011 -279:4294967295:1000:1006:1013:1021:1047:3011 -280:4294967295:1000:1006:1013:1021:1047:3011 -281:4294967295:1000:1006:1013:1021:1047:3011 -282:4294967295:1000:1006:1013:1021:1047:3011 -283:4294967295:1000:1006:1013:1021:1047:3011 -284:4294967295:1000:1006:1013:1021:1047:3011 -285:4294967295:1000:1006:1013:1021:1047:3011 -286:4294967295:1000:1006:1013:1021:1047:3011 -287:4294967295:1000:1006:1013:1021:1047:3011 -288:4294967295:1000:1006:1013:1021:1047:3011 -289:4294967295:1000:1006:1013:1021:1047:3011 -290:4294967295:1000:1006:1013:1021:1047:3011 -291:4294967295:1000:1006:1013:1021:1047:3011 -292:4294967295:1000:1006:1013:1021:1047:3011 -293:4294967295:1000:1006:1013:1021:1047:3011 -294:4294967295:1000:1006:1013:1021:1047:3011 -295:4294967295:1000:1006:1013:1021:1047:3011 -296:4294967295:1000:1006:1013:1021:1047:3011 -297:4294967295:1000:1006:1013:1021:1047:3011 -298:4294967295:1000:1006:1013:1021:1047:3011 -299:4294967295:1000:1006:1013:1021:1047:3011 -300:4294967295:1000:1006:1013:1021:1047:3011 -301:4294967295:1000:1006:1013:1021:1047:3011 -302:4294967295:1000:1006:1013:1021:1047:3011 -303:4294967295:1000:1006:1013:1021:1047:3011 -304:4294967295:1000:1006:1013:1021:1047:3011 -305:4294967295:1000:1006:1013:1021:1047:3011 -306:4294967295:1000:1006:1013:1021:1047:3011 -307:4294967295:1000:1006:1013:1021:1047:3011 -308:4294967295:1000:1006:1013:1021:1047:3011 -309:4294967295:1000:1006:1013:1021:1047:3011 -310:4294967295:1000:1006:1013:1021:1047:3011 -311:4294967295:1000:1006:1013:1021:1047:3011 -312:4294967295:1000:1006:1013:1021:1047:3011 -313:4294967295:1000:1006:1013:1021:1047:3011 -314:4294967295:1000:1006:1013:1021:1047:3011 -315:4294967295:1000:1006:1013:1021:1047:3011 -316:4294967295:1000:1006:1013:1021:1047:3011 -317:4294967295:1000:1006:1013:1021:1047:3011 -318:4294967295:1000:1006:1013:1021:1047:3011 -319:4294967295:1000:1006:1013:1021:1047:3011 -320:4294967295:1000:1006:1013:1021:1047:3011 -321:4294967295:1000:1006:1013:1021:1047:3011 -322:4294967295:1000:1006:1013:1021:1047:3011 -323:4294967295:1000:1006:1013:1021:1047:3011 -324:4294967295:1000:1006:1013:1021:1047:3011 -325:4294967295:1000:1006:1013:1021:1047:3011 -326:4294967295:1000:1006:1013:1021:1047:3011 -327:4294967295:1000:1006:1013:1021:1047:3011 -328:4294967295:1000:1006:1013:1021:1047:3011 -329:4294967295:1000:1006:1013:1021:1047:3011 -330:4294967295:1000:1006:1013:1021:1047:3011 -331:4294967295:1000:1006:1013:1021:1047:3011 -332:4294967295:1000:1006:1013:1021:1047:3011 -333:4294967295:1000:1006:1013:1021:1047:3011 -334:4294967295:1000:1006:1013:1021:1047:3011 -335:4294967295:1000:1006:1013:1021:1047:3011 -336:4294967295:1000:1006:1013:1021:1047:3011 -337:4294967295:1000:1006:1013:1021:1047:3011 -338:4294967295:1000:1006:1013:1021:1047:3011 -339:4294967295:1000:1006:1013:1021:1047:3011 -340:4294967295:1000:1006:1013:1021:1047:3011 -341:4294967295:1000:1006:1013:1021:1047:3011 -342:4294967295:1000:1006:1013:1021:1047:3011 -343:4294967295:1000:1006:1013:1021:1047:3011 -344:4294967295:1000:1006:1013:1021:1047:3011 -345:4294967295:1000:1006:1013:1021:1047:3011 -346:4294967295:1000:1006:1013:1021:1047:3011 -347:4294967295:1000:1006:1013:1021:1047:3011 -348:4294967295:1000:1006:1013:1021:1047:3011 -349:4294967295:1000:1006:1013:1021:1047:3011 -350:4294967295:1000:1006:1013:1021:1047:3011 -351:4294967295:1000:1006:1013:1021:1047:3011 -352:4294967295:1000:1006:1013:1021:1047:3011 -353:4294967295:1000:1006:1013:1021:1047:3011 -354:4294967295:1000:1006:1013:1021:1047:3011 -355:4294967295:1000:1006:1013:1021:1047:3011 -356:4294967295:1000:1006:1013:1021:1047:3011 -357:4294967295:1000:1006:1013:1021:1047:3011 -358:4294967295:1000:1006:1013:1021:1047:3011 -359:4294967295:1000:1006:1013:1021:1047:3011 -360:4294967295:1000:1006:1013:1021:1047:3011 -361:4294967295:1000:1006:1013:1021:1047:3011 -362:4294967295:1000:1006:1013:1021:1047:3011 -363:4294967295:1000:1006:1013:1021:1047:3011 -364:4294967295:1000:1006:1013:1021:1047:3011 -365:4294967295:1000:1006:1013:1021:1047:3011 -366:4294967295:1000:1006:1013:1021:1047:3011 -367:4294967295:1000:1006:1013:1021:1047:3011 -368:4294967295:1000:1006:1013:1021:1047:3011 -369:4294967295:1000:1006:1013:1021:1047:3011 -370:4294967295:1000:1006:1013:1021:1047:3011 -371:4294967295:1000:1006:1013:1021:1047:3011 -372:4294967295:1000:1006:1013:1021:1047:3011 -373:4294967295:1000:1006:1013:1021:1047:3011 -374:4294967295:1000:1006:1013:1021:1047:3011 -375:4294967295:1000:1006:1013:1021:1047:3011 -376:4294967295:1000:1006:1013:1021:1047:3011 -377:4294967295:1000:1006:1013:1021:1047:3011 -378:4294967295:1000:1006:1013:1021:1047:3011 -379:4294967295:1000:1006:1013:1021:1047:3011 -380:4294967295:1000:1006:1013:1021:1047:3011 -381:4294967295:1000:1006:1013:1021:1047:3011 -382:4294967295:1000:1006:1013:1021:1047:3011 -383:4294967295:1000:1006:1013:1021:1047:3011 -384:4294967295:1000:1006:1013:1021:1047:3011 -385:4294967295:1000:1006:1013:1021:1047:3011 -386:4294967295:1000:1006:1013:1021:1047:3011 -387:4294967295:1000:1006:1013:1021:1047:3011 -388:4294967295:1000:1006:1013:1021:1047:3011 -389:4294967295:1000:1006:1013:1021:1047:3011 -390:4294967295:1000:1006:1013:1021:1047:3011 -391:4294967295:1000:1006:1013:1021:1047:3011 -392:4294967295:1000:1006:1013:1021:1047:3011 -393:4294967295:1000:1006:1013:1021:1047:3011 -394:4294967295:1000:1006:1013:1021:1047:3011 -395:4294967295:1000:1006:1013:1021:1047:3011 -396:4294967295:1000:1006:1013:1021:1047:3011 -397:4294967295:1000:1006:1013:1021:1047:3011 -398:4294967295:1000:1006:1013:1021:1047:3011 -399:4294967295:1000:1006:1013:1021:1047:3011 -400:4294967295:1000:1006:1013:1021:1047:3011 -401:4294967295:1000:1006:1013:1021:1047:3011 -402:4294967295:1000:1006:1013:1021:1047:3011 -403:4294967295:1000:1006:1013:1021:1047:3011 -404:4294967295:1000:1006:1013:1021:1047:3011 -405:4294967295:1000:1006:1013:1021:1047:3011 -406:4294967295:1000:1006:1013:1021:1047:3011 -407:4294967295:1000:1006:1013:1021:1047:3011 -408:4294967295:1000:1006:1013:1021:1047:3011 -409:4294967295:1000:1006:1013:1021:1047:3011 -410:4294967295:1000:1006:1013:1021:1047:3011 -411:4294967295:1000:1006:1013:1021:1047:3011 -412:4294967295:1000:1006:1013:1021:1047:3011 -413:4294967295:1000:1006:1013:1021:1047:3011 -414:4294967295:1000:1006:1013:1021:1047:3011 -415:4294967295:1000:1006:1013:1021:1047:3011 -416:4294967295:1000:1006:1013:1021:1047:3011 -417:4294967295:1000:1006:1013:1021:1047:3011 -418:4294967295:1000:1006:1013:1021:1047:3011 -419:4294967295:1000:1006:1013:1021:1047:3011 -420:4294967295:1000:1006:1013:1021:1047:3011 -421:4294967295:1000:1006:1013:1021:1047:3011 -422:4294967295:1000:1006:1013:1021:1047:3011 -423:4294967295:1000:1006:1013:1021:1047:3011 -424:4294967295:1000:1006:1013:1021:1047:3011 -425:4294967295:1000:1006:1013:1021:1047:3011 -426:4294967295:1000:1006:1013:1021:1047:3011 -427:4294967295:1000:1006:1013:1021:1047:3011 -428:4294967295:1000:1006:1013:1021:1047:3011 -429:4294967295:1000:1006:1013:1021:1047:3011 -430:4294967295:1000:1006:1013:1021:1047:3011 -431:4294967295:1000:1006:1013:1021:1047:3011 -432:4294967295:1000:1006:1013:1021:1047:3011 -433:4294967295:1000:1006:1013:1021:1047:3011 -434:4294967295:1000:1006:1013:1021:1047:3011 -435:4294967295:1000:1006:1013:1021:1047:3011 -436:4294967295:1000:1006:1013:1021:1047:3011 -437:4294967295:1000:1006:1013:1021:1047:3011 -438:4294967295:1000:1006:1013:1021:1047:3011 -439:4294967295:1000:1006:1013:1021:1047:3011 -440:4294967295:1000:1006:1013:1021:1047:3011 -441:4294967295:1000:1006:1013:1021:1047:3011 -442:4294967295:1000:1006:1013:1021:1047:3011 -443:4294967295:1000:1006:1013:1021:1047:3011 -444:4294967295:1000:1006:1013:1021:1047:3011 -445:4294967295:1000:1006:1013:1021:1047:3011 -446:4294967295:1000:1006:1013:1021:1047:3011 -447:4294967295:1000:1006:1013:1021:1047:3011 -448:4294967295:1000:1006:1013:1021:1047:3011 -449:4294967295:1000:1006:1013:1021:1047:3011 -450:4294967295:1000:1006:1013:1021:1047:3011 -451:4294967295:1000:1006:1013:1021:1047:3011 -452:4294967295:1000:1006:1013:1021:1047:3011 -453:4294967295:1000:1006:1013:1021:1047:3011 -454:4294967295:1000:1006:1013:1021:1047:3011 -455:4294967295:1000:1006:1013:1021:1047:3011 -456:4294967295:1000:1006:1013:1021:1047:3011 -457:4294967295:1000:1006:1013:1021:1047:3011 -458:4294967295:1000:1006:1013:1021:1047:3011 -459:4294967295:1000:1006:1013:1021:1047:3011 -460:4294967295:1000:1006:1013:1021:1047:3011 -461:4294967295:1000:1006:1013:1021:1047:3011 -462:4294967295:1000:1006:1013:1021:1047:3011 -463:4294967295:1000:1006:1013:1021:1047:3011 -464:4294967295:1000:1006:1013:1021:1047:3011 -465:4294967295:1000:1006:1013:1021:1047:3011 -466:4294967295:1000:1006:1013:1021:1047:3011 -467:4294967295:1000:1006:1013:1021:1047:3011 -468:4294967295:1000:1006:1013:1021:1047:3011 -469:4294967295:1000:1006:1013:1021:1047:3011 -470:4294967295:1000:1006:1013:1021:1047:3011 -471:4294967295:1000:1006:1013:1021:1047:3011 -472:4294967295:1000:1006:1013:1021:1047:3011 -473:4294967295:1000:1006:1013:1021:1047:3011 -474:4294967295:1000:1006:1013:1021:1047:3011 -475:4294967295:1000:1006:1013:1021:1047:3011 -476:4294967295:1000:1006:1013:1021:1047:3011 -477:4294967295:1000:1006:1013:1021:1047:3011 -478:4294967295:1000:1006:1013:1021:1047:3011 -479:4294967295:1000:1006:1013:1021:1047:3011 -480:4294967295:1000:1006:1013:1021:1047:3011 -481:4294967295:1000:1006:1013:1021:1047:3011 -482:4294967295:1000:1006:1013:1021:1047:3011 -483:4294967295:1000:1006:1013:1021:1047:3011 -484:4294967295:1000:1006:1013:1021:1047:3011 -485:4294967295:1000:1006:1013:1021:1047:3011 -486:4294967295:1000:1006:1013:1021:1047:3011 -487:4294967295:1000:1006:1013:1021:1047:3011 -488:4294967295:1000:1006:1013:1021:1047:3011 -489:4294967295:1000:1006:1013:1021:1047:3011 -490:4294967295:1000:1006:1013:1021:1047:3011 -491:4294967295:1000:1006:1013:1021:1047:3011 -492:4294967295:1000:1006:1013:1021:1047:3011 -493:4294967295:1000:1006:1013:1021:1047:3011 -494:4294967295:1000:1006:1013:1021:1047:3011 -495:4294967295:1000:1006:1013:1021:1047:3011 -496:4294967295:1000:1006:1013:1021:1047:3011 -497:4294967295:1000:1006:1013:1021:1047:3011 -498:4294967295:1000:1006:1013:1021:1047:3011 -499:4294967295:1000:1006:1013:1021:1047:3011 -500:4294967295:1000:1006:1013:1021:1047:3011 -501:4294967295:1000:1006:1013:1021:1047:3011 -502:4294967295:1000:1006:1013:1021:1047:3011 -503:4294967295:1000:1006:1013:1021:1047:3011 -504:4294967295:1000:1006:1013:1021:1047:3011 -505:4294967295:1000:1006:1013:1021:1047:3011 -506:4294967295:1000:1006:1013:1021:1047:3011 -507:4294967295:1000:1006:1013:1021:1047:3011 -508:4294967295:1000:1006:1013:1021:1047:3011 -509:4294967295:1000:1006:1013:1021:1047:3011 -510:4294967295:1000:1006:1013:1021:1047:3011 -511:4294967295:1000:1006:1013:1021:1047:3011 -/* Allow RCS service to aquire net_raw permission */ -18:4294967295:1001:3004 -/* Allow RCS service to communicate to IMS QMI Priv Svc*/ -77:4294967295:1001:3003 -/* Allow SSGQMIGD to communicate to SSGCCS service*/ -76:4294967295:1001 -/* Allow cnd to accquire netbind */ -18:4294967295:1000:3003 -/* Allow QMID service to aquire net_raw permission */ -3:4294967295:1001:1021:3004 -2:4294967295:1000:1001:3004 -42:4294967295:1001:3004 -18:4294967295:1001:3004 -9:4294967295:1001:3004 -1:4294967295:1001:3004:1000 -4:4294967295:1001:3004 -7:4294967295:1001:3004 -8:4294967295:1001:3004:1000 -68:4294967295:1001:3004 -/* DPM */ -47:4294967295:1001:3004 -/* Allow communication to some QMI services with radio privilages */ -/* Format is :: */ -/* PBM */ -12:4294967295:1001 -/* WMS */ -5:4294967295:1001 -/* IMS VT */ -32:4294967295:1001 -/* IMSP */ -31:4294967295:1001 -/* PDC */ -36:4294967295:1001 -/* SAR */ -17:4294967295:1001 -/* RFRPE */ -41:4294967295:1001 -/*UIM*/ -11:4294967295:1001 -/*CAT*/ -10:4294967295:1001 -/*IMSA*/ -33:4294967295:1001 -/* CSVT */ -29:4294967295:1001 -/*SERVREG_NOTIF*/ -64:4294967295:1001 -66:4294967295:1001 -73:4294967295:1001 -/*LTE*/ -70:4294967295:1001 -/* Allow Data dpmd to access QMI DFS */ -48:4294967295:1000:3004 -/* DIAG */ -4097:4294967295:2002:2950:3009:2901 -/* :: */ -69:4294967295:1000 -/* :: */ -57:4294967295:1000 diff --git a/device.mk b/device.mk index 2068c57..f6066fa 100644 --- a/device.mk +++ b/device.mk @@ -1,405 +1,11 @@ # -# Copyright (C) 2019 The LineageOS Project +# Copyright (C) 2019-2021 The LineageOS Project # # SPDX-License-Identifier: Apache-2.0 # -# Inherit from those products. Most specific first. -$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) -$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) -$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk) - -# Setup dalvik vm configs -$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk) - # Get non-open-source specific aspects $(call inherit-product-if-exists, vendor/lenovo/zippo/zippo-vendor.mk) -# Boot animation -TARGET_SCREEN_HEIGHT := 2340 -TARGET_SCREEN_WIDTH := 1080 - -# Overlays -DEVICE_PACKAGE_OVERLAYS += \ - $(LOCAL_PATH)/overlay \ - $(LOCAL_PATH)/overlay-lineage - -PRODUCT_ENFORCE_RRO_TARGETS := * -PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += \ - $(LOCAL_PATH)/overlay-lineage/lineage-sdk \ - $(LOCAL_PATH)/overlay-lineage/packages/apps/Snap - -# Device uses high-density artwork where available -PRODUCT_AAPT_CONFIG := normal -PRODUCT_AAPT_PREF_CONFIG := xxhdpi - -# Permissions -PRODUCT_COPY_FILES += \ - external/ant-wireless/antradio-library/com.dsi.ant.antradio_library.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.dsi.ant.antradio_library.xml \ - frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \ - frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \ - frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \ - frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \ - frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \ - frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \ - frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \ - frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \ - frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \ - frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \ - frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \ - frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \ - frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \ - frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \ - frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \ - frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml \ - frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \ - frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \ - frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \ - frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ - frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \ - frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \ - frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute.xml \ - frameworks/native/data/etc/android.hardware.vulkan.level-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level.xml \ - frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version.xml \ - frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \ - frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \ - frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \ - frameworks/native/data/etc/android.hardware.wifi.aware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.aware.xml \ - frameworks/native/data/etc/android.hardware.wifi.rtt.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.rtt.xml \ - frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml \ - frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml \ - vendor/lineage/config/permissions/vendor.lineage.biometrics.fingerprint.inscreen.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/vendor.lineage.biometrics.fingerprint.inscreen.xml - -# AID/fs configs -PRODUCT_PACKAGES += \ - fs_config_files - -# ANT+ -PRODUCT_PACKAGES += \ - AntHalService \ - com.dsi.ant.antradio_library - -# Audio -PRODUCT_PACKAGES += \ - android.hardware.audio@2.0-service \ - android.hardware.audio@6.0-impl \ - android.hardware.audio.effect@6.0-impl \ - android.hardware.bluetooth.audio@2.0-impl \ - audio.a2dp.default \ - audio.bluetooth.default \ - audio.r_submix.default \ - audio.usb.default \ - libaudio-resampler \ - libqcompostprocbundle \ - libqcomvisualizer \ - libqcomvoiceprocessing \ - libqcomvoiceprocessingdescriptors \ - libvolumelistener \ - libtinycompress \ - tinymix - -PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \ - $(LOCAL_PATH)/audio/audio_io_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_io_policy.conf \ - $(LOCAL_PATH)/audio/mixer_paths_pahu.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_pahu.xml \ - $(LOCAL_PATH)/audio/mixer_paths_tavil.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tavil.xml \ - $(LOCAL_PATH)/audio/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \ - $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \ - $(LOCAL_PATH)/audio/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \ - $(LOCAL_PATH)/audio/audio_tuning_mixer.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer.txt \ - $(LOCAL_PATH)/audio/audio_tuning_mixer_tavil.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer_tavil.txt \ - $(LOCAL_PATH)/audio/graphite_ipc_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/graphite_ipc_platform_info.xml \ - $(LOCAL_PATH)/audio/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths.xml \ - $(LOCAL_PATH)/audio/sound_trigger_mixer_paths_wcd9340.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths_wcd9340.xml \ - $(LOCAL_PATH)/audio/sound_trigger_mixer_paths_wcd9340_qrd.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths_wcd9340_qrd.xml \ - $(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml - -PRODUCT_COPY_FILES += \ - frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration.xml \ - frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ - frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:/$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \ - frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \ - frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \ - frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml \ - -# Bluetooth -PRODUCT_PACKAGES += \ - libbthost_if \ - libldacBT_dec \ - vendor.qti.hardware.bluetooth_audio@2.0.vendor - -# Camera -PRODUCT_PACKAGES += \ - android.frameworks.displayservice@1.0 \ - libdng_sdk \ - libgui_vendor \ - libxml2 \ - Snap - -PRODUCT_COPY_FILES += \ - prebuilts/vndk/v29/arm64/arch-arm64-armv8-a/shared/vndk-sp/libc++.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libc++.so - -# Device init scripts -PRODUCT_PACKAGES += \ - fstab.qcom \ - init.class_main.sh \ - init.crda.sh \ - init.mdm.sh \ - init.qcom.class_core.sh \ - init.qcom.coex.sh \ - init.qcom.crashdata.sh \ - init.qcom.early_boot.sh \ - init.qcom.efs.sync.sh \ - init.qcom.post_boot.sh \ - init.qcom.sdio.sh \ - init.qcom.sensors.sh \ - init.qcom.sh \ - init.qcom.usb.sh \ - init.qti.fm.sh \ - init.qti.ims.sh \ - init.lenovo.common.rc \ - init.lenovo.rc \ - init.lenovo.usb.configfs.rc \ - init.msm.usb.configfs.rc \ - init.qcom.factory.rc \ - init.qcom.rc \ - init.qcom.usb.rc \ - init.recovery.qcom.rc \ - init.target.rc \ - init.qcom.performance.rc \ - ueventd.qcom.rc - -# Device-specific settings -PRODUCT_PACKAGES += \ - LenovoParts - -# Display -PRODUCT_PACKAGES += \ - android.hardware.graphics.composer@2.4-impl \ - android.hardware.graphics.composer@2.4-service \ - android.hardware.graphics.mapper@3.0-impl-qti-display \ - android.hardware.graphics.mapper@4.0-impl-qti-display \ - android.hardware.memtrack@1.0-impl \ - android.hardware.memtrack@1.0-service \ - gralloc.msmnile \ - hwcomposer.msmnile \ - libdisplayconfig.qti \ - libdisplayconfig.qti.vendor \ - libdisplaydebug \ - libqdMetaData \ - libqdMetaData.system \ - libqdutils \ - libtinyxml \ - libvulkan \ - memtrack.msmnile \ - vendor.display.config@2.0.vendor \ - vendor.qti.hardware.display.allocator-service \ - vendor.qti.hardware.display.mapper@3.0.vendor \ - vendor.qti.hardware.display.mapper@4.0.vendor - -# DRM -PRODUCT_PACKAGES += \ - android.hardware.drm@1.3-service.clearkey - -# Fingerprint -PRODUCT_PACKAGES += \ - vendor.lineage.biometrics.fingerprint.inscreen@1.0-service.lenovo_zippo - -# FM -PRODUCT_PACKAGES += \ - FM2 \ - libqcomfm_jni \ - qcom.fmradio - -# GPS -PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/configs/gps/apdr.conf:$(TARGET_COPY_OUT_VENDOR)/etc/apdr.conf \ - $(LOCAL_PATH)/configs/gps/flp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/flp.conf \ - $(LOCAL_PATH)/configs/gps/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf \ - $(LOCAL_PATH)/configs/gps/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \ - $(LOCAL_PATH)/configs/gps/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \ - $(LOCAL_PATH)/configs/gps/sap.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sap.conf \ - $(LOCAL_PATH)/configs/gps/xtwifi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/xtwifi.conf - -# Health -PRODUCT_PACKAGES += \ - android.hardware.health@2.0-service - -# HIDL -PRODUCT_PACKAGES += \ - android.hidl.base@1.0 \ - android.hidl.base@1.0_system \ - android.hidl.manager@1.0 \ - android.hidl.manager@1.0_system \ - libhwbinder \ - libhwbinder.vendor - -# Input -PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \ - $(LOCAL_PATH)/keylayout/slip-cover.kl:system/usr/keylayout/slip-cover.kl - -# IPA -PRODUCT_PACKAGES += \ - ipacm \ - IPACM_cfg.xml - -# IRQ balance -PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/configs/msm_irqbalance.conf:$(TARGET_COPY_OUT_VENDOR)/etc/msm_irqbalance.conf - -# IRSC -PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/configs/sec_config:$(TARGET_COPY_OUT_VENDOR)/etc/sec_config - -# Lights -PRODUCT_PACKAGES += \ - android.hardware.light@2.0-service.lenovo_zippo - -# LiveDisplay -PRODUCT_PACKAGES += \ - vendor.lineage.livedisplay@2.0-service-sdm - -# Media -PRODUCT_PACKAGES += \ - libavservices_minijail_vendor \ - libc2dcolorconvert \ - libcodec2_hidl@1.0.vendor \ - libcodec2_vndk.vendor \ - libOmxAacEnc \ - libOmxAmrEnc \ - libOmxCore \ - libOmxEvrcEnc \ - libOmxG711Enc \ - libOmxQcelp13Enc \ - libOmxVdec \ - libOmxVenc \ - libOmxVidcCommon \ - libstagefrighthw - -PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ - $(LOCAL_PATH)/media/media_codecs_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2.xml \ - $(LOCAL_PATH)/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \ - $(LOCAL_PATH)/media/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml \ - $(LOCAL_PATH)/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \ - $(LOCAL_PATH)/media/media_profiles_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml \ - $(LOCAL_PATH)/media/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles.xml \ - $(LOCAL_PATH)/media/system_properties.xml:$(TARGET_COPY_OUT_VENDOR)/etc/system_properties.xml - -PRODUCT_COPY_FILES += \ - frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \ - frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \ - frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \ - frameworks/av/media/libstagefright/data/media_codecs_google_video_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_le.xml - -# Native Public Libraries -PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt - -# Net -PRODUCT_PACKAGES += \ - netutils-wrapper-1.0 - -# Perf -PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/configs/perf/perfboostsconfig.xml:$(TARGET_COPY_OUT_PRODUCT)/vendor_overlay/$(PRODUCT_TARGET_VNDK_VERSION)/etc/perf/perfboostsconfig.xml - -# Power -PRODUCT_PACKAGES += \ - android.hardware.power@1.2-service-qti - -# QMI -PRODUCT_PACKAGES += \ - libjson \ - libqti_vndfwk_detect \ - libqti_vndfwk_detect.vendor - -# RCS -PRODUCT_PACKAGES += \ - rcs_service_aidl \ - rcs_service_aidl.xml \ - rcs_service_api \ - rcs_service_api.xml - -# RenderScript -PRODUCT_PACKAGES += \ - android.hardware.renderscript@1.0-impl - -# RIL -PRODUCT_PACKAGES += \ - android.hardware.radio@1.2 \ - android.hardware.radio.config@1.0 \ - android.hardware.secure_element@1.0 \ - libprotobuf-cpp-full \ - libril \ - librilutils \ - librmnetctl \ - libxml2 - -PRODUCT_PACKAGES += \ - libprotobuf-cpp-lite-vendorcompat \ - libprotobuf-cpp-full-vendorcompat \ - -# Seccomp policy -PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/seccomp_policy/codec2.vendor.base.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/codec2.vendor.base.policy \ - $(LOCAL_PATH)/seccomp_policy/codec2.vendor.ext.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/codec2.vendor.ext.policy \ - $(LOCAL_PATH)/seccomp_policy/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy - -# Soong namespaces -PRODUCT_SOONG_NAMESPACES += \ - $(LOCAL_PATH) - -# Telephony -PRODUCT_PACKAGES += \ - ims-ext-common \ - ims_ext_common.xml \ - qti-telephony-hidl-wrapper \ - qti_telephony_hidl_wrapper.xml \ - qti-telephony-utils \ - qti_telephony_utils.xml \ - telephony-ext - -PRODUCT_BOOT_JARS += \ - telephony-ext - -# TextClassifier -PRODUCT_PACKAGES += \ - textclassifier.bundle1 - -# Thermal -PRODUCT_PACKAGES += \ - android.hardware.thermal@1.0-impl \ - android.hardware.thermal@1.0-service \ - thermal.msmnile - -# USB -PRODUCT_PACKAGES += \ - android.hardware.usb@1.0-service - -# Vibrator -PRODUCT_PACKAGES += \ - vendor.qti.hardware.vibrator.service - -# WiFi -PRODUCT_PACKAGES += \ - android.hardware.wifi@1.0-service-lazy \ - hostapd \ - libwifi-hal-qcom \ - libwpa_client \ - WifiOverlay \ - wpa_supplicant \ - wpa_supplicant.conf - -PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf \ - $(LOCAL_PATH)/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \ - $(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/WCNSS_qcom_cfg.ini - -# WiFi Display -PRODUCT_PACKAGES += \ - libnl - -PRODUCT_BOOT_JARS += \ - WfdCommon +# sm8150-common +$(call inherit-product, device/lenovo/sm8150-common/common.mk) diff --git a/extract-files.sh b/extract-files.sh index 749f89a..1043f50 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -1,67 +1,21 @@ #!/bin/bash # # Copyright (C) 2016 The CyanogenMod Project -# Copyright (C) 2017-2020 The LineageOS Project +# Copyright (C) 2017-2021 The LineageOS Project # # SPDX-License-Identifier: Apache-2.0 # +# If we're being sourced by the common script that we called, +# stop right here. No need to go down the rabbit hole. +if [ "${BASH_SOURCE[0]}" != "${0}" ]; then + return +fi + set -e -DEVICE=zippo -VENDOR=lenovo - -# Load extract_utils and do some sanity checks -MY_DIR="${BASH_SOURCE%/*}" -if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi - -ANDROID_ROOT="${MY_DIR}/../../.." - -HELPER="${ANDROID_ROOT}/tools/extract-utils/extract_utils.sh" -if [ ! -f "${HELPER}" ]; then - echo "Unable to find helper script at ${HELPER}" - exit 1 -fi -source "${HELPER}" - -# Default to sanitizing the vendor folder before extraction -CLEAN_VENDOR=true -SECTION= -KANG= - -while [ "$1" != "" ]; do - case "$1" in - -n | --no-cleanup ) CLEAN_VENDOR=false - ;; - -k | --kang) KANG="--kang" - ;; - -s | --section ) shift - SECTION="$1" - CLEAN_VENDOR=false - ;; - * ) SRC="$1" - ;; - esac - shift -done - -if [ -z "${SRC}" ]; then - SRC=adb -fi - -function blob_fixup() { - case "${1}" in - # Fix xml version - product/etc/permissions/vendor.qti.hardware.data.connection-V1.0-java.xml | product/etc/permissions/vendor.qti.hardware.data.connection-V1.1-java.xml) - sed -i 's|xml version="2.0"|xml version="1.0"|g' "${2}" - ;; - esac -} - -# Initialize the helper -setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false "${CLEAN_VENDOR}" - -extract "${MY_DIR}/proprietary-files.txt" "${SRC}" ${KANG} --section "${SECTION}" - -"${MY_DIR}/setup-makefiles.sh" +export DEVICE=zippo +export DEVICE_COMMON=sm8150-common +export VENDOR=lenovo +"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@" \ No newline at end of file diff --git a/fod/Android.bp b/fod/Android.bp deleted file mode 100644 index d2036a0..0000000 --- a/fod/Android.bp +++ /dev/null @@ -1,32 +0,0 @@ -// -// Copyright (C) 2019 The LineageOS Project -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -cc_binary { - relative_install_path: "hw", - defaults: ["hidl_defaults"], - name: "vendor.lineage.biometrics.fingerprint.inscreen@1.0-service.lenovo_zippo", - init_rc: ["vendor.lineage.biometrics.fingerprint.inscreen@1.0-service.lenovo_zippo.rc"], - srcs: ["service.cpp", "FingerprintInscreen.cpp"], - vendor: true, - shared_libs: [ - "libbase", - "libhardware", - "libhidlbase", - "liblog", - "libutils", - "vendor.lineage.biometrics.fingerprint.inscreen@1.0", - "vendor.goodix.extend.service@2.0", - ], -} diff --git a/fod/FingerprintInscreen.cpp b/fod/FingerprintInscreen.cpp deleted file mode 100644 index b472a0d..0000000 --- a/fod/FingerprintInscreen.cpp +++ /dev/null @@ -1,152 +0,0 @@ -/* - * Copyright (C) 2019 The LineageOS Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#define LOG_TAG "FingerprintInscreenService" - -#include "FingerprintInscreen.h" - -#include -#include -#include -#include -#include - -#define CMD_FINGERPRINT_EVENT 10 - -#define HBM_ENABLE_PATH "/sys/class/backlight/panel0-hbm/brightness" - -namespace vendor { -namespace lineage { -namespace biometrics { -namespace fingerprint { -namespace inscreen { -namespace V1_0 { -namespace implementation { - -/* - * Write value to path and close file. - */ -template -static void set(const std::string& path, const T& value) { - std::ofstream file(path); - file << value; - LOG(INFO) << "wrote path: " << path << ", value: " << value << "\n"; -} - -template -static T get(const std::string& path, const T& def) { - std::ifstream file(path); - T result; - - file >> result; - return file.fail() ? def : result; -} - -FingerprintInscreen::FingerprintInscreen() { - this->mVendorFpService = IGoodixFPExtendService::getService(); -} - -Return FingerprintInscreen::onStartEnroll() { - this->mVendorFpService->goodixExtendCommand(CMD_FINGERPRINT_EVENT, 1); - return Void(); -} - -Return FingerprintInscreen::onFinishEnroll() { - set(HBM_ENABLE_PATH, 0); - return Void(); -} - -Return FingerprintInscreen::onPress() { - this->mVendorFpService->goodixExtendCommand(CMD_FINGERPRINT_EVENT, 1); - set(HBM_ENABLE_PATH, 1); - - return Void(); -} - -Return FingerprintInscreen::onRelease() { - this->mVendorFpService->goodixExtendCommand(CMD_FINGERPRINT_EVENT, 0); - set(HBM_ENABLE_PATH, 0); - - return Void(); -} - -Return FingerprintInscreen::onShowFODView() { - return Void(); -} - -Return FingerprintInscreen::onHideFODView() { - return Void(); -} - -Return FingerprintInscreen::handleAcquired(int32_t acquiredInfo, int32_t vendorCode) { - LOG(ERROR) << "acquiredInfo: " << acquiredInfo << ", vendorCode: " << vendorCode << "\n"; - return false; -} - -Return FingerprintInscreen::handleError(int32_t error, int32_t vendorCode) { - LOG(ERROR) << "error: " << error << ", vendorCode: " << vendorCode << "\n"; - return false; -} - -Return FingerprintInscreen::setLongPressEnabled(bool) { - return Void(); -} - -Return FingerprintInscreen::getDimAmount(int32_t brightness) { - float alpha; - int realBrightness = brightness * 2047 / 255; - - if (realBrightness > 500) { - alpha = 1.0 - pow(realBrightness / 2047.0 * 430.0 / 600.0, 0.455); - } else { - alpha = 1.0 - pow(realBrightness / 1680.0, 0.455); - } - - return 255 * alpha; -} - -Return FingerprintInscreen::shouldBoostBrightness() { - return false; -} - -Return FingerprintInscreen::setCallback(const sp& callback) { - { - std::lock_guard _lock(mCallbackLock); - mCallback = callback; - } - - return Void(); -} - -Return FingerprintInscreen::getPositionX() { - return 450; -} - -Return FingerprintInscreen::getPositionY() { - return 1916; -} - -Return FingerprintInscreen::getSize() { - return 178; -} - -} // namespace implementation -} // namespace V1_0 -} // namespace inscreen -} // namespace fingerprint -} // namespace biometrics -} // namespace lineage -} // namespace vendor diff --git a/fod/FingerprintInscreen.h b/fod/FingerprintInscreen.h deleted file mode 100644 index c0359c0..0000000 --- a/fod/FingerprintInscreen.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (C) 2019 The LineageOS Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -#ifndef VENDOR_LINEAGE_BIOMETRICS_FINGERPRINT_INSCREEN_V1_0_FINGERPRINTINSCREEN_H -#define VENDOR_LINEAGE_BIOMETRICS_FINGERPRINT_INSCREEN_V1_0_FINGERPRINTINSCREEN_H - -#include -#include - -namespace vendor { -namespace lineage { -namespace biometrics { -namespace fingerprint { -namespace inscreen { -namespace V1_0 { -namespace implementation { - -using ::android::sp; -using ::android::hardware::Return; -using ::android::hardware::Void; -using ::vendor::goodix::extend::service::V2_0::IGoodixFPExtendService; - -class FingerprintInscreen : public IFingerprintInscreen { - public: - FingerprintInscreen(); - - Return onStartEnroll() override; - Return onFinishEnroll() override; - Return onPress() override; - Return onRelease() override; - Return onShowFODView() override; - Return onHideFODView() override; - Return handleAcquired(int32_t acquiredInfo, int32_t vendorCode) override; - Return handleError(int32_t error, int32_t vendorCode) override; - Return setLongPressEnabled(bool enabled) override; - Return getDimAmount(int32_t cur_brightness) override; - Return shouldBoostBrightness() override; - Return setCallback(const sp& callback) override; - Return getPositionX() override; - Return getPositionY() override; - Return getSize() override; - - private: - sp mVendorFpService; - - std::mutex mCallbackLock; - sp mCallback; -}; - -} // namespace implementation -} // namespace V1_0 -} // namespace inscreen -} // namespace fingerprint -} // namespace biometrics -} // namespace lineage -} // namespace vendor - -#endif // VENDOR_LINEAGE_BIOMETRICS_FINGERPRINT_INSCREEN_V1_0_FINGERPRINTINSCREEN_H diff --git a/fod/service.cpp b/fod/service.cpp deleted file mode 100644 index d98aece..0000000 --- a/fod/service.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (C) 2019 The LineageOS Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#define LOG_TAG "lineage.biometrics.fingerprint.inscreen@1.0-service.lenovo_zippo" - -#include -#include - -#include "FingerprintInscreen.h" - -using android::hardware::configureRpcThreadpool; -using android::hardware::joinRpcThreadpool; - -using vendor::lineage::biometrics::fingerprint::inscreen::V1_0::IFingerprintInscreen; -using vendor::lineage::biometrics::fingerprint::inscreen::V1_0::implementation::FingerprintInscreen; - -using android::OK; -using android::status_t; - -int main() { - android::sp service = new FingerprintInscreen(); - - configureRpcThreadpool(1, true); - - status_t status = service->registerAsService(); - if (status != OK) { - LOG(ERROR) << "Cannot register FOD HAL service."; - return 1; - } - - LOG(INFO) << "FOD HAL service ready."; - - joinRpcThreadpool(); - - LOG(ERROR) << "FOD HAL service failed to join thread pool."; - return 1; -} diff --git a/fod/vendor.lineage.biometrics.fingerprint.inscreen@1.0-service.lenovo_zippo.rc b/fod/vendor.lineage.biometrics.fingerprint.inscreen@1.0-service.lenovo_zippo.rc deleted file mode 100644 index 911c4c5..0000000 --- a/fod/vendor.lineage.biometrics.fingerprint.inscreen@1.0-service.lenovo_zippo.rc +++ /dev/null @@ -1,10 +0,0 @@ -on init - chown system system /sys/class/backlight/panel0-hbm/brightness - chmod 0660 /sys/class/backlight/panel0-hbm/brightness - -service fingerprint-inscreen-1-0 /vendor/bin/hw/vendor.lineage.biometrics.fingerprint.inscreen@1.0-service.lenovo_zippo - interface vendor.lineage.biometrics.fingerprint.inscreen@1.0::IFingerprintInscreen default - class hal - user system - group system - shutdown critical diff --git a/framework_manifest.xml b/framework_manifest.xml deleted file mode 100644 index 0806439..0000000 --- a/framework_manifest.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - vendor.lineage.biometrics.fingerprint.inscreen - hwbinder - 1.0 - - IFingerprintInscreen - default - - - diff --git a/interfaces/Android.bp b/interfaces/Android.bp deleted file mode 100644 index 402fe6e..0000000 --- a/interfaces/Android.bp +++ /dev/null @@ -1,4 +0,0 @@ -hidl_package_root { - name: "vendor.goodix", - path: "device/lenovo/zippo/interfaces", -} diff --git a/interfaces/extend/service/2.0/Android.bp b/interfaces/extend/service/2.0/Android.bp deleted file mode 100644 index 4934d35..0000000 --- a/interfaces/extend/service/2.0/Android.bp +++ /dev/null @@ -1,16 +0,0 @@ -// This file is autogenerated by hidl-gen -Landroidbp. - -hidl_interface { - name: "vendor.goodix.extend.service@2.0", - root: "vendor.goodix", - srcs: [ - "types.hal", - "IGoodixFPExtendService.hal", - ], - interfaces: [ - "android.hidl.base@1.0", - ], - types: [ - ], - gen_java: true, -} diff --git a/interfaces/extend/service/2.0/IGoodixFPExtendService.hal b/interfaces/extend/service/2.0/IGoodixFPExtendService.hal deleted file mode 100644 index 8fbcca7..0000000 --- a/interfaces/extend/service/2.0/IGoodixFPExtendService.hal +++ /dev/null @@ -1,5 +0,0 @@ -package vendor.goodix.extend.service@2.0; - -interface IGoodixFPExtendService { - goodixExtendCommand (int32_t cmd, int32_t param) generates (int32_t debugErrno); -}; diff --git a/interfaces/extend/service/2.0/types.hal b/interfaces/extend/service/2.0/types.hal deleted file mode 100644 index 68721a1..0000000 --- a/interfaces/extend/service/2.0/types.hal +++ /dev/null @@ -1 +0,0 @@ -package vendor.goodix.extend.service@2.0; diff --git a/interfaces/update-makefiles.sh b/interfaces/update-makefiles.sh deleted file mode 100755 index d4779de..0000000 --- a/interfaces/update-makefiles.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -source $ANDROID_BUILD_TOP/system/tools/hidl/update-makefiles-helper.sh - -do_makefiles_update \ -"vendor.goodix:device/lenovo/zippo/interfaces" diff --git a/keylayout/gpio-keys.kl b/keylayout/gpio-keys.kl deleted file mode 100644 index 7d5afc3..0000000 --- a/keylayout/gpio-keys.kl +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright (c) 2013, 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 "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. - -key 115 VOLUME_UP -key 114 VOLUME_DOWN -key 102 HOME -key 528 FOCUS -key 766 CAMERA diff --git a/keylayout/slip-cover.kl b/keylayout/slip-cover.kl deleted file mode 100644 index 29c6860..0000000 --- a/keylayout/slip-cover.kl +++ /dev/null @@ -1,15 +0,0 @@ -# Notice: -# 1. The name of this "xxx.kl" file is "slip-cover". -# MUST Keep the name same as what defined in [kernel/drivers/input/misc/hall_switch.c]. -# { -# input_dev->name = "slip-cover"; -# } -# 2. MUST Keep the value(ScanCode) same as what used in [kernel/drivers/input/misc/hall_switch.c]. -# { -# input_event(hall_data->input_dev, EV_KEY, KEY_SPORT, 1); // "KEY_SPORT" is "220" which is defined in [input.h] -# input_event(hall_data->input_dev, EV_KEY, KEY_SHOP, 1); // "KEY_SHOP" is "221" which is defined in [input.h] -# } -# Reuse the "hall_switch.c" source code. - -key 220 SLIP_COVER_OPEN -key 221 SLIP_COVER_CLOSE diff --git a/libhidl/Android.mk b/libhidl/Android.mk deleted file mode 100644 index 9d405a4..0000000 --- a/libhidl/Android.mk +++ /dev/null @@ -1,46 +0,0 @@ -# -# Copyright (C) 2017 The LineageOS Project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -include $(CLEAR_VARS) -LOCAL_SHARED_LIBRARIES := libhidltransport -LOCAL_MODULE := android.hidl.base@1.0 -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := SHARED_LIBRARIES -LOCAL_VENDOR_MODULE := true -include $(BUILD_SHARED_LIBRARY) - -include $(CLEAR_VARS) -LOCAL_SHARED_LIBRARIES := libhidltransport -LOCAL_MODULE := android.hidl.manager@1.0 -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := SHARED_LIBRARIES -LOCAL_VENDOR_MODULE := true -include $(BUILD_SHARED_LIBRARY) - -include $(CLEAR_VARS) -LOCAL_SHARED_LIBRARIES := libhidltransport -LOCAL_MODULE := android.hidl.base@1.0_system -LOCAL_INSTALLED_MODULE_STEM := android.hidl.base@1.0.so -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := SHARED_LIBRARIES -include $(BUILD_SHARED_LIBRARY) - -include $(CLEAR_VARS) -LOCAL_SHARED_LIBRARIES := libhidltransport -LOCAL_MODULE := android.hidl.manager@1.0_system -LOCAL_INSTALLED_MODULE_STEM := android.hidl.manager@1.0.so -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := SHARED_LIBRARIES -include $(BUILD_SHARED_LIBRARY) diff --git a/lights/Android.bp b/lights/Android.bp deleted file mode 100644 index 6446de1..0000000 --- a/lights/Android.bp +++ /dev/null @@ -1,31 +0,0 @@ -// -// Copyright (C) 2018 The LineageOS Project -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -cc_binary { - relative_install_path: "hw", - defaults: ["hidl_defaults"], - name: "android.hardware.light@2.0-service.lenovo_zippo", - init_rc: ["android.hardware.light@2.0-service.lenovo_zippo.rc"], - srcs: ["service.cpp", "Light.cpp"], - shared_libs: [ - "libbase", - "libhardware", - "libhidlbase", - "liblog", - "libutils", - "android.hardware.light@2.0", - ], - proprietary: true, -} diff --git a/lights/Light.cpp b/lights/Light.cpp deleted file mode 100644 index 2288cfd..0000000 --- a/lights/Light.cpp +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Copyright (C) 2014, 2017-2018 The Linux Foundation. All rights reserved. - * Not a contribution - * Copyright (C) 2008 The Android Open Source Project - * Copyright (C) 2018 The LineageOS Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#define LOG_TAG "LightsService" - -#include "Light.h" -#include -#include -#include - -namespace android { -namespace hardware { -namespace light { -namespace V2_0 { -namespace implementation { - -/* - * Write value to path and close file. - */ -template -static void set(const std::string& path, const T& value) { - std::ofstream file(path); - file << value; -} - -template -static T get(const std::string& path, const T& def) { - std::ifstream file(path); - T result; - - file >> result; - return file.fail() ? def : result; -} - -static int rgbToBrightness(const LightState& state) { - int color = state.color & 0x00ffffff; - return ((77 * ((color >> 16) & 0x00ff)) - + (150 * ((color >> 8) & 0x00ff)) - + (29 * (color & 0x00ff))) >> 8; -} - -Light::Light() { - mLights.emplace(Type::BACKLIGHT, std::bind(&Light::handleBacklight, this, std::placeholders::_1)); -} - -void Light::handleBacklight(const LightState& state) { - int maxBrightness = get("/sys/class/backlight/panel0-backlight/max_brightness", -1); - if (maxBrightness < 0) { - maxBrightness = 255; - } - int sentBrightness = rgbToBrightness(state); - int brightness = sentBrightness * maxBrightness / 255; - LOG(DEBUG) << "Writing backlight brightness " << brightness - << " (orig " << sentBrightness << ")"; - set("/sys/class/backlight/panel0-backlight/brightness", brightness); -} - -Return Light::setLight(Type type, const LightState& state) { - auto it = mLights.find(type); - - if (it == mLights.end()) { - return Status::LIGHT_NOT_SUPPORTED; - } - - /* - * Lock global mutex until light state is updated. - */ - std::lock_guard lock(mLock); - - it->second(state); - - return Status::SUCCESS; -} - -Return Light::getSupportedTypes(getSupportedTypes_cb _hidl_cb) { - std::vector types; - - for (auto const& light : mLights) { - types.push_back(light.first); - } - - _hidl_cb(types); - - return Void(); -} - -} // namespace implementation -} // namespace V2_0 -} // namespace light -} // namespace hardware -} // namespace android diff --git a/lights/Light.h b/lights/Light.h deleted file mode 100644 index d0f03a5..0000000 --- a/lights/Light.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2018 The LineageOS Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -#ifndef ANDROID_HARDWARE_LIGHT_V2_0_LIGHT_H -#define ANDROID_HARDWARE_LIGHT_V2_0_LIGHT_H - -#include -#include -#include -#include -#include - -namespace android { -namespace hardware { -namespace light { -namespace V2_0 { -namespace implementation { - -using ::android::hardware::Return; -using ::android::hardware::Void; -using ::android::hardware::hidl_vec; -using ::android::hardware::light::V2_0::ILight; -using ::android::hardware::light::V2_0::LightState; -using ::android::hardware::light::V2_0::Status; -using ::android::hardware::light::V2_0::Type; - -class Light : public ILight { - public: - Light(); - - Return setLight(Type type, const LightState& state) override; - Return getSupportedTypes(getSupportedTypes_cb _hidl_cb) override; - - private: - void handleBacklight(const LightState& state); - - std::mutex mLock; - std::unordered_map> mLights; -}; - -} // namespace implementation -} // namespace V2_0 -} // namespace light -} // namespace hardware -} // namespace android - -#endif // ANDROID_HARDWARE_LIGHT_V2_0_LIGHT_H diff --git a/lights/android.hardware.light@2.0-service.lenovo_zippo.rc b/lights/android.hardware.light@2.0-service.lenovo_zippo.rc deleted file mode 100644 index a0a03f3..0000000 --- a/lights/android.hardware.light@2.0-service.lenovo_zippo.rc +++ /dev/null @@ -1,7 +0,0 @@ -service vendor.light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service.lenovo_zippo - interface android.hardware.light@2.0::ILight default - class hal - user system - group system graphics - # shutting off lights while powering-off - shutdown critical diff --git a/lights/service.cpp b/lights/service.cpp deleted file mode 100644 index 70865df..0000000 --- a/lights/service.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2018 The LineageOS Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#define LOG_TAG "android.hardware.light@2.0-service.lenovo_zippo" - -#include -#include - -#include "Light.h" - -using android::hardware::configureRpcThreadpool; -using android::hardware::joinRpcThreadpool; - -using android::hardware::light::V2_0::ILight; -using android::hardware::light::V2_0::implementation::Light; - -using android::OK; -using android::status_t; - -int main() { - android::sp service = new Light(); - - configureRpcThreadpool(1, true); - - status_t status = service->registerAsService(); - if (status != OK) { - LOG(ERROR) << "Cannot register Light HAL service."; - return 1; - } - - LOG(INFO) << "Light HAL service ready."; - - joinRpcThreadpool(); - - LOG(ERROR) << "Light HAL service failed to join thread pool."; - return 1; -} diff --git a/lineage.dependencies b/lineage.dependencies new file mode 100755 index 0000000..d57e64d --- /dev/null +++ b/lineage.dependencies @@ -0,0 +1,6 @@ +[ + { + "repository": "android_device_lenovo_sm8150-common", + "target_path": "device/lenovo/sm8150-common" + } +] diff --git a/lineage_zippo.mk b/lineage_zippo.mk index e29da33..a4e2ac2 100644 --- a/lineage_zippo.mk +++ b/lineage_zippo.mk @@ -16,11 +16,11 @@ PRODUCT_MANUFACTURER := Lenovo PRODUCT_MODEL := Lenovo Z6 Pro PRODUCT_NAME := lineage_zippo -BUILD_FINGERPRINT := "Lenovo/zippo/zippo:10/QKQ1.190825.002/11.5.229_200114:user/release-keys" +PRODUCT_GMS_CLIENTID_BASE := android-lenovo PRODUCT_BUILD_PROP_OVERRIDES += \ - PRIVATE_BUILD_DESC="zippo-user 10 QKQ1.190825.002 11.5.229_200114 release-keys" \ + PRIVATE_BUILD_DESC="zippo_row-user 9 PKQ1.190110.001 11.0.405_191210 release-keys" \ PRODUCT_NAME="zippo" \ TARGET_DEVICE="zippo" -PRODUCT_GMS_CLIENTID_BASE := android-lenovo +BUILD_FINGERPRINT := "Lenovo/zippo_row/zippo:9/PKQ1.190110.001/11.0.405_191210:user/release-keys" diff --git a/manifest.xml b/manifest.xml deleted file mode 100644 index bc9a548..0000000 --- a/manifest.xml +++ /dev/null @@ -1,764 +0,0 @@ - - - android.hardware.audio - hwbinder - 6.0 - - IDevicesFactory - default - - @5.0::IDevicesFactory/default - - - android.hardware.audio.effect - hwbinder - 6.0 - - IEffectsFactory - default - - @5.0::IEffectsFactory/default - - - android.hardware.biometrics.fingerprint - hwbinder - 2.1 - - IBiometricsFingerprint - default - - @2.1::IBiometricsFingerprint/default - - - android.hardware.bluetooth - hwbinder - 1.0 - - IBluetoothHci - default - - @1.0::IBluetoothHci/default - - - android.hardware.bluetooth.audio - hwbinder - 2.0 - - IBluetoothAudioProvidersFactory - default - - @2.0::IBluetoothAudioProvidersFactory/default - - - android.hardware.camera.provider - hwbinder - 2.4 - - ICameraProvider - legacy/0 - - @2.4::ICameraProvider/legacy/0 - - - android.hardware.configstore - hwbinder - 1.1 - - ISurfaceFlingerConfigs - default - - @1.1::ISurfaceFlingerConfigs/default - - - android.hardware.drm - hwbinder - @1.3::ICryptoFactory/wfdhdcp - @1.3::IDrmFactory/wfdhdcp - - - android.hardware.gatekeeper - hwbinder - 1.0 - - IGatekeeper - default - - @1.0::IGatekeeper/default - - - android.hardware.gnss - hwbinder - 1.1 - - IGnss - default - - @1.0::IGnss/gnss_vendor - @1.1::IGnss/default - - - android.hardware.gnss - hwbinder - 2.0 - - IGnss - default - - @1.0::IGnss/gnss_vendor - @2.0::IGnss/default - - - android.hardware.health - hwbinder - 2.0 - - IHealth - default - - @2.0::IHealth/default - - - android.hardware.keymaster - hwbinder - 4.0 - - IKeymasterDevice - default - - @4.0::IKeymasterDevice/default - - - android.hardware.light - hwbinder - 2.0 - - ILight - default - - @2.0::ILight/default - - - android.hardware.media.c2 - hwbinder - 1.0 - - IComponentStore - default - - @1.0::IComponentStore/default - - - android.hardware.media.omx - hwbinder - 1.0 - - IOmx - default - - - IOmxStore - default - - @1.0::IOmx/default - @1.0::IOmxStore/default - - - android.hardware.memtrack - hwbinder - 1.0 - - IMemtrack - default - - @1.0::IMemtrack/default - - - android.hardware.neuralnetworks - hwbinder - 1.2 - - IDevice - qti-default - qti-dsp - qti-gpu - qti-hta - - @1.2::IDevice/qti-default - @1.2::IDevice/qti-dsp - @1.2::IDevice/qti-gpu - @1.2::IDevice/qti-hta - - - android.hardware.power - hwbinder - 1.2 - - IPower - default - - @1.2::IPower/default - - - android.hardware.radio - hwbinder - @1.2::ISap/slot1 - @1.2::ISap/slot2 - @1.4::IRadio/slot1 - @1.4::IRadio/slot2 - - - android.hardware.radio.config - hwbinder - 1.1 - - IRadioConfig - default - - @1.1::IRadioConfig/default - - - android.hardware.renderscript - passthrough - 1.0 - - IDevice - default - - @1.0::IDevice/default - - - android.hardware.secure_element - hwbinder - 1.0 - - ISecureElement - SIM1 - SIM2 - - @1.0::ISecureElement/SIM1 - @1.0::ISecureElement/SIM2 - - - android.hardware.sensors - hwbinder - 2.0 - - ISensors - default - - @2.0::ISensors/default - - - android.hardware.tetheroffload.config - hwbinder - 1.0 - - IOffloadConfig - default - - @1.0::IOffloadConfig/default - - - android.hardware.tetheroffload.control - hwbinder - 1.0 - - IOffloadControl - default - - @1.0::IOffloadControl/default - - - android.hardware.thermal - hwbinder - 1.0 - - IThermal - default - - @1.0::IThermal/default - - - com.qualcomm.qti.dpm.api - hwbinder - 1.0 - - IdpmQmi - dpmQmiService - - - - com.qualcomm.qti.imscmservice - hwbinder - 2.2 - - IImsCmService - qti.ims.connectionmanagerservice - - - - com.qualcomm.qti.uceservice - hwbinder - 2.1 - - IUceService - com.qualcomm.qti.uceservice - - @2.1::IUceService/com.qualcomm.qti.uceservice - - - vendor.goodix.extend.service - hwbinder - 2.0 - - IGoodixFPExtendService - default - - @2.0::IGoodixFPExtendService/default - - - vendor.goodix.hardware.biometrics.fingerprint - hwbinder - 2.1 - - IGoodixFingerprintDaemon - default - - @2.1::IGoodixFingerprintDaemon/default - - - vendor.lineage.livedisplay - hwbinder - 2.0 - - IDisplayModes - default - - - IPictureAdjustment - default - - - - vendor.qti.data.factory - hwbinder - 2.0 - - IFactory - default - - @2.0::IFactory/default - - - vendor.qti.esepowermanager - hwbinder - 1.0 - - IEsePowerManager - default - - @1.0::IEsePowerManager/default - - - vendor.qti.gnss - hwbinder - 1.2 - - ILocHidlGnss - gnss_vendor - - @1.2::ILocHidlGnss/gnss_vendor - - - vendor.qti.gnss - hwbinder - 2.1 - - ILocHidlGnss - gnss_vendor - - @2.1::ILocHidlGnss/gnss_vendor - - - vendor.qti.gnss - hwbinder - 3.0 - - ILocHidlGnss - gnss_vendor - - @3.0::ILocHidlGnss/gnss_vendor - - - vendor.qti.hardware.alarm - hwbinder - 1.0 - - IAlarm - default - - @1.0::IAlarm/default - - - vendor.qti.hardware.audiohalext - hwbinder - 1.0 - - IAudioHalExt - default - - @1.0::IAudioHalExt/default - - - vendor.qti.hardware.bluetooth_sar - hwbinder - 1.0 - - IBluetoothSar - default - - @1.0::IBluetoothSar/default - - - vendor.qti.hardware.capabilityconfigstore - hwbinder - 1.0 - - ICapabilityConfigStore - default - - @1.0::ICapabilityConfigStore/default - - - vendor.qti.hardware.cryptfshw - hwbinder - 1.0 - - ICryptfsHw - default - - @1.0::ICryptfsHw/default - - - vendor.qti.hardware.cvp - hwbinder - 1.0 - - ICvp - cvphalservice - - @1.0::ICvp/cvphalservice - - - vendor.qti.hardware.data.connection - hwbinder - 1.1 - - IDataConnection - slot1 - slot2 - - @1.1::IDataConnection/slot1 - @1.1::IDataConnection/slot2 - - - vendor.qti.hardware.data.iwlan - hwbinder - 1.0 - - IIWlan - slot1 - slot2 - - @1.0::IIWlan/slot1 - @1.0::IIWlan/slot2 - - - vendor.qti.hardware.factory - hwbinder - 1.1 - - IFactory - default - - @1.1::IFactory/default - - - vendor.qti.hardware.iop - hwbinder - 2.0 - - IIop - default - - @2.0::IIop/default - - - vendor.qti.hardware.fm - hwbinder - 1.0 - - IFmHci - default - - - - vendor.qti.hardware.perf - hwbinder - 2.0 - - IPerf - default - - @2.0::IPerf/default - - - vendor.qti.hardware.qteeconnector - hwbinder - 1.0 - - IAppConnector - default - - - IGPAppConnector - default - - @1.0::IAppConnector/default - @1.0::IGPAppConnector/default - - - vendor.qti.hardware.radio.am - hwbinder - 1.0 - - IQcRilAudio - slot1 - slot2 - - @1.0::IQcRilAudio/slot1 - @1.0::IQcRilAudio/slot2 - - - vendor.qti.hardware.radio.ims - hwbinder - 1.5 - - IImsRadio - imsradio0 - imsradio1 - - @1.5::IImsRadio/imsradio0 - @1.5::IImsRadio/imsradio1 - - - vendor.qti.hardware.radio.lpa - hwbinder - 1.0 - - IUimLpa - UimLpa0 - UimLpa1 - - @1.0::IUimLpa/UimLpa0 - @1.0::IUimLpa/UimLpa1 - - - vendor.qti.hardware.radio.qcrilhook - hwbinder - 1.0 - - IQtiOemHook - oemhook0 - oemhook1 - - @1.0::IQtiOemHook/oemhook0 - @1.0::IQtiOemHook/oemhook1 - - - vendor.qti.hardware.radio.qtiradio - hwbinder - 1.0 - - IQtiRadio - slot1 - slot2 - - @1.0::IQtiRadio/slot1 - @1.0::IQtiRadio/slot2 - - - vendor.qti.hardware.radio.qtiradio - hwbinder - 2.3 - - IQtiRadio - slot1 - slot2 - - @2.3::IQtiRadio/slot1 - @2.3::IQtiRadio/slot2 - - - vendor.qti.hardware.radio.uim - hwbinder - 1.2 - - IUim - Uim0 - Uim1 - - @1.2::IUim/Uim0 - @1.2::IUim/Uim1 - - - vendor.qti.hardware.radio.uim_remote_client - hwbinder - 1.0 - - IUimRemoteServiceClient - uimRemoteClient0 - uimRemoteClient1 - - @1.0::IUimRemoteServiceClient/uimRemoteClient0 - @1.0::IUimRemoteServiceClient/uimRemoteClient1 - - - vendor.qti.hardware.radio.uim_remote_server - hwbinder - 1.0 - - IUimRemoteServiceServer - uimRemoteServer0 - uimRemoteServer1 - - @1.0::IUimRemoteServiceServer/uimRemoteServer0 - @1.0::IUimRemoteServiceServer/uimRemoteServer1 - - - vendor.qti.hardware.scve.objecttracker - hwbinder - 1.0 - - IObjectTracker - objectTracker - - @1.0::IObjectTracker/objectTracker - - - vendor.qti.hardware.scve.panorama - hwbinder - 1.0 - - IPanoramaStitching - panoStitching - - - IPanoramaTracking - panoTracking - - @1.0::IPanoramaStitching/panoStitching - @1.0::IPanoramaTracking/panoTracking - - - vendor.qti.hardware.sensorscalibrate - hwbinder - 1.0 - - ISensorsCalibrate - default - - @1.0::ISensorsCalibrate/default - - - vendor.qti.hardware.soter - hwbinder - 1.0 - - ISoter - default - - @1.0::ISoter/default - - - vendor.qti.hardware.tui_comm - hwbinder - 1.0 - - ITuiComm - default - - @1.0::ITuiComm/default - - - vendor.qti.hardware.vpp - hwbinder - 1.3 - - IHidlVppService - vppService - - @1.3::IHidlVppService/vppService - - - vendor.qti.hardware.wifidisplaysession - hwbinder - 1.0 - - IWifiDisplaySession - wifidisplaysession - - - IWifiDisplaySessionAudioTrack - wifidisplaysessionaudiotrack - - - IWifiDisplaySessionImageTrack - wifidisplaysessionimagetrack - - - IWifiDisplaySessionVideoTrack - wifidisplaysessionvideotrack - - - - vendor.qti.ims.callinfo - hwbinder - 1.0 - - IService - default - - @1.0::IService/default - - - vendor.qti.imsrtpservice - hwbinder - 2.1 - - IRTPService - imsrtpservice - - @2.1::IRTPService/imsrtpservice - - - vendor.qti.power.pasrmanager - hwbinder - 1.0 - - IPasrManager - default - - @1.0::IPasrManager/default - - - vendor.zui.hardware.ifaa - hwbinder - 1.0 - - IIFAADevice - default - - @1.0::IIFAADevice/default - - diff --git a/media/media_codecs.xml b/media/media_codecs.xml deleted file mode 100644 index 50ded3a..0000000 --- a/media/media_codecs.xml +++ /dev/null @@ -1,481 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/media/media_codecs_c2.xml b/media/media_codecs_c2.xml deleted file mode 100644 index 1399fa8..0000000 --- a/media/media_codecs_c2.xml +++ /dev/null @@ -1,293 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/media/media_codecs_performance.xml b/media/media_codecs_performance.xml deleted file mode 100644 index 240486f..0000000 --- a/media/media_codecs_performance.xml +++ /dev/null @@ -1,217 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/media/media_codecs_vendor_audio.xml b/media/media_codecs_vendor_audio.xml deleted file mode 100644 index 0cd3294..0000000 --- a/media/media_codecs_vendor_audio.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - diff --git a/media/media_profiles.xml b/media/media_profiles.xml deleted file mode 100755 index a42f605..0000000 --- a/media/media_profiles.xml +++ /dev/null @@ -1,2316 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/media/media_profiles_V1_0.xml b/media/media_profiles_V1_0.xml deleted file mode 100755 index a42f605..0000000 --- a/media/media_profiles_V1_0.xml +++ /dev/null @@ -1,2316 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/media/media_profiles_vendor.xml b/media/media_profiles_vendor.xml deleted file mode 100644 index f0945cc..0000000 --- a/media/media_profiles_vendor.xml +++ /dev/null @@ -1,1427 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/media/system_properties.xml b/media/system_properties.xml deleted file mode 100644 index f029c0d..0000000 --- a/media/system_properties.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/odm.prop b/odm.prop deleted file mode 100644 index eb28967..0000000 --- a/odm.prop +++ /dev/null @@ -1,46 +0,0 @@ -# Audio -vendor.audio.feature.a2dp_offload.enable=true -vendor.audio.feature.afe_proxy.enable=true -vendor.audio.feature.anc_headset.enable=true -vendor.audio.feature.battery_listener.enable=true -vendor.audio.feature.compr_cap.enable=false -vendor.audio.feature.compress_in.enable=true -vendor.audio.feature.compress_meta_data.enable=true -vendor.audio.feature.compr_voip.enable=false -vendor.audio.feature.concurrent_capture.enable=false -vendor.audio.feature.custom_stereo.enable=true -vendor.audio.feature.display_port.enable=true -vendor.audio.feature.dsm_feedback.enable=false -vendor.audio.feature.dynamic_ecns.enable=true -vendor.audio.feature.ext_hw_plugin.enable=true -vendor.audio.feature.external_dsp.enable=false -vendor.audio.feature.external_speaker.enable=false -vendor.audio.feature.external_speaker_tfa.enable=false -vendor.audio.feature.fluence.enable=true -vendor.audio.feature.fm.enable=true -vendor.audio.feature.hdmi_edid.enable=true -vendor.audio.feature.hdmi_passthrough.enable=true -vendor.audio.feature.hfp.enable=true -vendor.audio.feature.hifi_audio.enable=false -vendor.audio.feature.hwdep_cal.enable=false -vendor.audio.feature.incall_music.enable=true -vendor.audio.feature.multi_voice_session.enable=true -vendor.audio.feature.keep_alive.enable=true -vendor.audio.feature.kpi_optimize.enable=true -vendor.audio.feature.maxx_audio.enable=false -vendor.audio.feature.ras.enable=true -vendor.audio.feature.record_play_concurency.enable=false -vendor.audio.feature.src_trkn.enable=true -vendor.audio.feature.spkr_prot.enable=true -vendor.audio.feature.ssrec.enable=true -vendor.audio.feature.usb_offload.enable=true -vendor.audio.feature.usb_offload_burst_mode.enable=true -vendor.audio.feature.usb_offload_sidetone_volume.enable=false -vendor.audio.feature.deepbuffer_as_primary.enable=false -vendor.audio.feature.vbat.enable=true -vendor.audio.feature.wsa.enable=false -vendor.audio.feature.audiozoom.enable=false -vendor.audio.feature.snd_mon.enable=true - -# QC framework value-adds -ro.vendor.qti.va_odm.support=1 diff --git a/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml b/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml deleted file mode 100644 index 0a5f9f7..0000000 --- a/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - - - 43 - - - - 308203e1308202c9a0030201020209008048d69df79e3274300d06092a864886f70d01010b0500308186310b300906035504061302434e310b300906035504080c02424a3115301306035504070c0c4265696a696e672056696577310f300d060355040a0c064c454e4f564f310f300d060355040b0c064d6f62696c65310f300d06035504030c064c454e4f564f3120301e06092a864886f70d01090116116c656e6f766f406c656e6f766f2e636f6d301e170d3138303130343031313630365a170d3435303532323031313630365a308186310b300906035504061302434e310b300906035504080c02424a3115301306035504070c0c4265696a696e672056696577310f300d060355040a0c064c454e4f564f310f300d060355040b0c064d6f62696c65310f300d06035504030c064c454e4f564f3120301e06092a864886f70d01090116116c656e6f766f406c656e6f766f2e636f6d30820122300d06092a864886f70d01010105000382010f003082010a0282010100d41b9cff129f6bba58d91de03a10a5b0f386939879c1930a51e1c838d1b8a93ff45afde0faeabfa6c169c44e7b8a23b3891192f930868a3d6dc14df5675cc1554eb25d33f60597092df8a82d27cdf25437001677d574f5685acdff9e85ff9bf21e7440de5b98109492ba5466ebf9fcd814b8d0124bfef998c84c7b3178f3937c6333849dd4036963ce4b27d304d4ccdd90d29d7fa60a254c9a033a5b2f64fc79eab166b1a008a01459874e426368700181d5d611c74ca11064bb20cf5475232579d1d799ffb9d293859562ddb3b70df54cc5762db4414d6a43beacb5d54380189b2dda7a0940189ff9edf74da9c624d62ff8561d90f57eeba060f0c68f4abb210203010001a350304e301d0603551d0e04160414c34a6547eeccafd25ed357ea0ff29beebb5535c0301f0603551d23041830168014c34a6547eeccafd25ed357ea0ff29beebb5535c0300c0603551d13040530030101ff300d06092a864886f70d01010b050003820101009de7d35d241f83b8b3788e0dd664f3cf0d9048a31b6322b5cc3dc0e74392636266a69491315af1cd9e72689cedaa1e7560f668f2658f7e4c51b7280d603a6494b23f2680a43ab8112fc15377fc86de50f999a02daab121605a6ceb8e6abfacb52a766d970fa5dea3fd2aebbc0d48863e2b72b65870f1df25fe1e9671d79decce042d100dc4922b793133c4e16bdaf5be82534e6c2803f5dc92aae2955e1bb97830949e4c4fa9ec42c33e2c4c4e5702c8bb079519587d47b99b8bce2d289e89ef94298568bd8ea235788614a80c41002f65d2a792a6a9377a819fcfaf1c25b282588bc3f67c30e8aee8ab4c7c39b2db58c91a8e5a132d02881b082797ab7dbefe - - - - true - diff --git a/overlay-lineage/packages/apps/Dialer/java/com/android/dialer/callrecord/res/values/config.xml b/overlay-lineage/packages/apps/Dialer/java/com/android/dialer/callrecord/res/values/config.xml deleted file mode 100644 index da46c31..0000000 --- a/overlay-lineage/packages/apps/Dialer/java/com/android/dialer/callrecord/res/values/config.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - true - 4 - diff --git a/overlay/frameworks/base/core/res/res/values-mcc234-mnc15-en-rGB/config.xml b/overlay/frameworks/base/core/res/res/values-mcc234-mnc15-en-rGB/config.xml deleted file mode 100644 index 4629b03..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc234-mnc15-en-rGB/config.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - - diff --git a/overlay/frameworks/base/core/res/res/values-mcc234-mnc15-en-rIN/config.xml b/overlay/frameworks/base/core/res/res/values-mcc234-mnc15-en-rIN/config.xml deleted file mode 100644 index 4629b03..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc234-mnc15-en-rIN/config.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - - diff --git a/overlay/frameworks/base/core/res/res/values-mcc234-mnc15/config.xml b/overlay/frameworks/base/core/res/res/values-mcc234-mnc15/config.xml deleted file mode 100644 index 4629b03..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc234-mnc15/config.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - - diff --git a/overlay/frameworks/base/core/res/res/values-mcc262-mnc02-en-rGB/config.xml b/overlay/frameworks/base/core/res/res/values-mcc262-mnc02-en-rGB/config.xml deleted file mode 100644 index 4629b03..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc262-mnc02-en-rGB/config.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - - diff --git a/overlay/frameworks/base/core/res/res/values-mcc262-mnc02-en-rIN/config.xml b/overlay/frameworks/base/core/res/res/values-mcc262-mnc02-en-rIN/config.xml deleted file mode 100644 index 4629b03..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc262-mnc02-en-rIN/config.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - - diff --git a/overlay/frameworks/base/core/res/res/values-mcc262-mnc02/config.xml b/overlay/frameworks/base/core/res/res/values-mcc262-mnc02/config.xml deleted file mode 100644 index 4629b03..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc262-mnc02/config.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - - diff --git a/overlay/frameworks/base/core/res/res/values-mcc262-mnc04-en-rGB/config.xml b/overlay/frameworks/base/core/res/res/values-mcc262-mnc04-en-rGB/config.xml deleted file mode 100644 index 4629b03..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc262-mnc04-en-rGB/config.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - - diff --git a/overlay/frameworks/base/core/res/res/values-mcc262-mnc04-en-rIN/config.xml b/overlay/frameworks/base/core/res/res/values-mcc262-mnc04-en-rIN/config.xml deleted file mode 100644 index 4629b03..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc262-mnc04-en-rIN/config.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - - diff --git a/overlay/frameworks/base/core/res/res/values-mcc262-mnc04/config.xml b/overlay/frameworks/base/core/res/res/values-mcc262-mnc04/config.xml deleted file mode 100644 index 4629b03..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc262-mnc04/config.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - - diff --git a/overlay/frameworks/base/core/res/res/values-mcc262-mnc09-en-rGB/config.xml b/overlay/frameworks/base/core/res/res/values-mcc262-mnc09-en-rGB/config.xml deleted file mode 100644 index 4629b03..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc262-mnc09-en-rGB/config.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - - diff --git a/overlay/frameworks/base/core/res/res/values-mcc262-mnc09-en-rIN/config.xml b/overlay/frameworks/base/core/res/res/values-mcc262-mnc09-en-rIN/config.xml deleted file mode 100644 index 4629b03..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc262-mnc09-en-rIN/config.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - - diff --git a/overlay/frameworks/base/core/res/res/values-mcc262-mnc09/config.xml b/overlay/frameworks/base/core/res/res/values-mcc262-mnc09/config.xml deleted file mode 100644 index 4629b03..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc262-mnc09/config.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - - - - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - - diff --git a/overlay/frameworks/base/core/res/res/values-mcc310-mnc004/config.xml b/overlay/frameworks/base/core/res/res/values-mcc310-mnc004/config.xml deleted file mode 100644 index 1597995..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc310-mnc004/config.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - 6 - diff --git a/overlay/frameworks/base/core/res/res/values-mcc310-mnc120/config.xml b/overlay/frameworks/base/core/res/res/values-mcc310-mnc120/config.xml deleted file mode 100644 index 1d381b7..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc310-mnc120/config.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - 6 - - diff --git a/overlay/frameworks/base/core/res/res/values-mcc310-mnc260/config.xml b/overlay/frameworks/base/core/res/res/values-mcc310-mnc260/config.xml deleted file mode 100644 index 7bd009b..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc310-mnc260/config.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - 3 - diff --git a/overlay/frameworks/base/core/res/res/values-mcc310-mnc410/config.xml b/overlay/frameworks/base/core/res/res/values-mcc310-mnc410/config.xml deleted file mode 100644 index 7bd009b..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc310-mnc410/config.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - 3 - diff --git a/overlay/frameworks/base/core/res/res/values-mcc311-mnc480/config.xml b/overlay/frameworks/base/core/res/res/values-mcc311-mnc480/config.xml deleted file mode 100644 index cdc4181..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc311-mnc480/config.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - true - - - 6 - - - diff --git a/overlay/frameworks/base/core/res/res/values-mcc312-mnc530/config.xml b/overlay/frameworks/base/core/res/res/values-mcc312-mnc530/config.xml deleted file mode 100644 index b85dcf6..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc312-mnc530/config.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - "0" - "00" - "*2" - - diff --git a/overlay/frameworks/base/core/res/res/values-mcc313-mnc100/config.xml b/overlay/frameworks/base/core/res/res/values-mcc313-mnc100/config.xml deleted file mode 100644 index 3bdaa06..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc313-mnc100/config.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - "0" - "00" - "*0" - "*1" - "*2" - "*3" - "*4" - "*5" - "*6" - "*7" - "*8" - "*9" - "#0" - "#1" - "#2" - "#3" - "#4" - "#5" - "#6" - "#7" - "#8" - "#9" - - diff --git a/overlay/frameworks/base/core/res/res/values-mcc454-mnc03/config.xml b/overlay/frameworks/base/core/res/res/values-mcc454-mnc03/config.xml deleted file mode 100755 index 8c0a045..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc454-mnc03/config.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - true - diff --git a/overlay/frameworks/base/core/res/res/values-mcc454-mnc04/config.xml b/overlay/frameworks/base/core/res/res/values-mcc454-mnc04/config.xml deleted file mode 100755 index 8c0a045..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc454-mnc04/config.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - true - diff --git a/overlay/frameworks/base/core/res/res/values-mcc455-mnc02/config.xml b/overlay/frameworks/base/core/res/res/values-mcc455-mnc02/config.xml deleted file mode 100755 index 8c0a045..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc455-mnc02/config.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - true - diff --git a/overlay/frameworks/base/core/res/res/values-mcc455-mnc07/config.xml b/overlay/frameworks/base/core/res/res/values-mcc455-mnc07/config.xml deleted file mode 100755 index 8c0a045..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc455-mnc07/config.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - true - diff --git a/overlay/frameworks/base/core/res/res/values-mcc460-mnc03/config.xml b/overlay/frameworks/base/core/res/res/values-mcc460-mnc03/config.xml deleted file mode 100755 index 4632f47..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc460-mnc03/config.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - 6 - true - diff --git a/overlay/frameworks/base/core/res/res/values-mcc460-mnc11/config.xml b/overlay/frameworks/base/core/res/res/values-mcc460-mnc11/config.xml deleted file mode 100755 index 4632f47..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc460-mnc11/config.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - 6 - true - diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml deleted file mode 100644 index ae6c663..0000000 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ /dev/null @@ -1,677 +0,0 @@ - - - - - - - - /system/framework/arm64/boot.oat - /system/framework/arm/boot.oat - /system/framework/oat/arm64/services.odex - /system/framework/oat/arm/services.odex - /system/framework/arm64/boot-framework.oat - /system/framework/arm/boot-framework.oat - /system/framework/arm64/boot-core-libart.oat - /system/framework/arm/boot-core-libart.oat - /system/lib64/libRScpp.so - /system/lib64/libRS.so - /system/lib64/libRS_internal.so - /system/lib64/libbcinfo.so - /system/lib64/libRSDriver.so - /system/lib64/libRSCpuRef.so - /system/lib64/libblas.so - - - - true - - - true - - true - - - - true - - - true - - - true - - - true - - - true - - - true - - - true - - - true - - - - "usb\\d" - "rndis\\d" - - - - - softap0 - wlan0 - - - - - "bnep\\d" - "bt-pan" - - - - - - 1 - 7 - 0 - 5 - - - - - "p2p\\d" - - - - - - 192.168.42.2 - 192.168.42.254 - 192.168.43.2 - 192.168.43.254 - 192.168.44.2 - 192.168.44.254 - 192.168.45.2 - 192.168.45.254 - 192.168.46.2 - 192.168.46.254 - 192.168.47.2 - 192.168.47.254 - 192.168.48.2 - 192.168.48.254 - 192.168.49.2 - 192.168.49.254 - 192.168.50.2 - 192.168.50.254 - 192.168.51.2 - 192.168.51.254 - - - - - - "1,1" - "0,1" - "7,1" - "9,1" - - - - - - - - "wifi,1,1,1,-1,true" - "mobile,0,0,0,-1,true" - "mobile_mms,2,0,4,60000,true" - "mobile_supl,3,0,2,60000,true" - "mobile_dun,4,0,2,60000,true" - "mobile_hipri,5,0,3,60000,true" - "mobile_fota,10,0,2,60000,true" - "mobile_ims,11,0,2,60000,true" - "mobile_cbs,12,0,2,60000,true" - "mobile_ia,14,0,2,-1,true" - "bluetooth,7,7,2,-1,true" - "ethernet,9,9,9,-1,true" - "mobile_emergency,15,0,5,-1,true - - - - - 5gnr:2097152,6291456,16777216,512000,2097152,8388608 - lte:2097152,4194304,8388608,262144,524288,1048576 - lte_ca:4096,6291456,12582912,4096,1048576,2097152 - umts:4094,87380,1220608,4096,16384,1220608 - hspa:4094,87380,1220608,4096,16384,1220608 - hsupa:4094,87380,1220608,4096,16384,1220608 - hsdpa:4094,87380,1220608,4096,16384,1220608 - hspap:4094,87380,1220608,4096,16384,1220608 - edge:4093,26280,35040,4096,16384,35040 - gprs:4092,8760,11680,4096,8760,11680 - evdo:4094,87380,524288,4096,16384,262144 - - - - 5000 - - - 151 - - - - 0 - 1 - 3 - 256 - 257 - 258 - 259 - 260 - 261 - 262 - 263 - 264 - 265 - - - true - true - - - 590 - - - - 1000 - 1000 - 500 - 300 - 100 - - - - - 800 - 800 - 400 - 200 - 200 - - - - - 3 - 20 - 132 - 362 - - - - - 1 - 11 - 35 - 60 - 70 - 80 - 100 - 120 - 140 - 160 - 180 - 240 - 255 - - - - - 3 - 23 - 74 - 127 - 148 - 166 - 210 - 252 - 297 - 340 - 386 - 517 - 549 - - - - 2000 - 5000 - - - true - - - false - - - true - - - true - - - - true - - - true - - - true - - - false - - - 20.000004% - - - 300% - - - 3800 - - - - 3 - 20 - 39 - 59 - 99 - 132 - 230 - 296 - 362 - 474 - 625 - 724 - 987 - 1316 - 2303 - - - - - 3 - 25 - 85 - 85 - 85 - 85 - 110 - 140 - 180 - 210 - 250 - 280 - 320 - 340 - 360 - 549 - - - - 10 - - - 102 - - - - 86 - 255 - 79 - - - - 1 - - - 255 - - - Android-Mms/2.0 - - - http://www.google.com/oha/rdf/ua-profile-kila.xml - - - true - - - true - - - com.android.systemui/com.android.systemui.doze.DozeService - - - 17 - - - true - - - true - - - true - - - true - - - true - - - true - - - true - - - org.codeaurora.ims - - - true - - - false - - - true - - - 2 - - - - 0 - 10 - 20 - 30 - - - - true - - - true - - - true - - - true - - - true - - - true - - - true - - - true - - - true - - - false - - - 25dp - - - 24dp - - - M -50,0 L -50,75 L 50,75 L 50,0 Z - - - true - - - 108px - - - 118px - - - 46px - - 48px - - - true - - - vendor.qti.iwlan - - - vendor.qti.iwlan - - - vendor.qti.iwlan - - - 64 - - diff --git a/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/overlay/frameworks/base/core/res/res/xml/power_profile.xml deleted file mode 100644 index 4d124a9..0000000 --- a/overlay/frameworks/base/core/res/res/xml/power_profile.xml +++ /dev/null @@ -1,167 +0,0 @@ - - - 4000 - - 4 - 3 - 1 - - 6.957 - 2.855 - 17.757 - 6.478 - 6.141 - 6.141 - - 300000 - 403200 - 499200 - 576000 - 672000 - 768000 - 844800 - 940800 - 1036800 - 1113600 - 1209600 - 1305600 - 1382400 - 1478400 - 1555200 - 1632000 - 1708800 - 1785600 - - - 710400 - 825600 - 940800 - 1056000 - 1171200 - 1286400 - 1401600 - 1497600 - 1612800 - 1708800 - 1804800 - 1920000 - 2016000 - 2131200 - 2227200 - 2323200 - 2419200 - - - 825600 - 940800 - 1056000 - 1171200 - 1286400 - 1401600 - 1497600 - 1612800 - 1708800 - 1804800 - 1920000 - 2016000 - 2131200 - 2227200 - 2323200 - 2419200 - 2534400 - 2649600 - 2745600 - 2841600 - - - 2 - 4 - 6 - 8 - 11 - 13 - 15 - 17 - 20 - 22 - 25 - 28 - 30 - 33 - 35 - 36 - 38 - 40 - - - 36 - 51 - 69 - 84 - 97 - 116 - 131 - 147 - 164 - 177 - 196 - 211 - 237 - 254 - 277 - 286 - 301 - - - 56 - 71 - 97 - 114 - 127 - 146 - 161 - 177 - 194 - 217 - 236 - 251 - 277 - 294 - 317 - 336 - 361 - 397 - 426 - 451 - - 152.118 - 532.322 - 275.816 - 831.870 - 21.29 - 74.758 - 2 - 140 - 260 - 3700 - 0 - 3 - 150 - - 150 - 180 - 230 - 300 - 390 - - 3700 - - 49 - 8 - - 3700 - 0.01 - 9 - 7 - 3300 - \ No newline at end of file diff --git a/overlay/frameworks/base/packages/SystemUI/res/values-sw372dp/dimens.xml b/overlay/frameworks/base/packages/SystemUI/res/values-sw372dp/dimens.xml deleted file mode 100644 index 09e69d9..0000000 --- a/overlay/frameworks/base/packages/SystemUI/res/values-sw372dp/dimens.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - 14dp - diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml deleted file mode 100644 index 1bcf9f4..0000000 --- a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - true - - - #00ffff - - - true - diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml b/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml deleted file mode 100644 index b5e9d73..0000000 --- a/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - 12dp - 4dp - - - 1dp - diff --git a/overlay/packages/apps/CellBroadcastReceiver/res/values/config.xml b/overlay/packages/apps/CellBroadcastReceiver/res/values/config.xml deleted file mode 100644 index 976723f..0000000 --- a/overlay/packages/apps/CellBroadcastReceiver/res/values/config.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - true - - - true - - - true - diff --git a/overlay/packages/apps/Settings/res/values/config.xml b/overlay/packages/apps/Settings/res/values/config.xml deleted file mode 100644 index f2ac97b..0000000 --- a/overlay/packages/apps/Settings/res/values/config.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - 1 - - - org.lineageos.settings/org.lineageos.settings.doze.DozeSettingsActivity - diff --git a/overlay/packages/apps/Settings/res/values/dimens.xml b/overlay/packages/apps/Settings/res/values/dimens.xml deleted file mode 100644 index db53a7c..0000000 --- a/overlay/packages/apps/Settings/res/values/dimens.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - 78% - diff --git a/overlay/packages/apps/Snap/res/values/config.xml b/overlay/packages/apps/Snap/res/values/config.xml deleted file mode 100644 index 044a095..0000000 --- a/overlay/packages/apps/Snap/res/values/config.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - true - - - false - - - false - diff --git a/overlay/packages/services/Telephony/res/values/config.xml b/overlay/packages/services/Telephony/res/values/config.xml deleted file mode 100644 index c269e3d..0000000 --- a/overlay/packages/services/Telephony/res/values/config.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - true - - - true - - - org.codeaurora.ims - - - com.android.service.ims - - - true - - - true - diff --git a/parts/Android.mk b/parts/Android.mk deleted file mode 100644 index 271d58a..0000000 --- a/parts/Android.mk +++ /dev/null @@ -1,35 +0,0 @@ -# -# Copyright (C) 2017-2019 The LineageOS Project -# -# SPDX-License-Identifier: Apache-2.0 -# - -LOCAL_PATH := $(call my-dir) - -include $(CLEAR_VARS) - -LOCAL_MODULE_TAGS := optional - -LOCAL_SRC_FILES := $(call all-java-files-under, src) - -LOCAL_PACKAGE_NAME := LenovoParts -LOCAL_CERTIFICATE := platform -LOCAL_PRIVATE_PLATFORM_APIS := true -LOCAL_PRIVILEGED_MODULE := true -LOCAL_PRODUCT_MODULE := true - -LOCAL_USE_AAPT2 := true - -LOCAL_STATIC_ANDROID_LIBRARIES := \ - androidx.core_core \ - androidx.preference_preference - -LOCAL_RESOURCE_DIR := \ - $(LOCAL_PATH)/res \ - $(TOP)/packages/resources/devicesettings/res - -LOCAL_PROGUARD_FLAG_FILES := proguard.flags - -include frameworks/base/packages/SettingsLib/common.mk - -include $(BUILD_PACKAGE) diff --git a/parts/AndroidManifest.xml b/parts/AndroidManifest.xml deleted file mode 100644 index 1319f5b..0000000 --- a/parts/AndroidManifest.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/parts/proguard.flags b/parts/proguard.flags deleted file mode 100644 index f6d7a5b..0000000 --- a/parts/proguard.flags +++ /dev/null @@ -1,3 +0,0 @@ --keep class org.lineageos.settings.doze.* { - *; -} diff --git a/parts/res/color/switch_bar_bg.xml b/parts/res/color/switch_bar_bg.xml deleted file mode 100644 index ca13e3c..0000000 --- a/parts/res/color/switch_bar_bg.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - diff --git a/parts/res/drawable/switchbar_background.xml b/parts/res/drawable/switchbar_background.xml deleted file mode 100644 index f210707..0000000 --- a/parts/res/drawable/switchbar_background.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - diff --git a/parts/res/layout/doze.xml b/parts/res/layout/doze.xml deleted file mode 100644 index 941cdf6..0000000 --- a/parts/res/layout/doze.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - diff --git a/parts/res/layout/switch_bar.xml b/parts/res/layout/switch_bar.xml deleted file mode 100644 index 1bf6f6c..0000000 --- a/parts/res/layout/switch_bar.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - diff --git a/parts/res/values-night/colors.xml b/parts/res/values-night/colors.xml deleted file mode 100644 index 8a58df8..0000000 --- a/parts/res/values-night/colors.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - #82000000 - @android:color/black - - diff --git a/parts/res/values/colors.xml b/parts/res/values/colors.xml deleted file mode 100644 index 564b3ea..0000000 --- a/parts/res/values/colors.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - @*android:color/material_grey_600 - #BFFFFFFF - @android:color/white - - diff --git a/parts/res/values/strings.xml b/parts/res/values/strings.xml deleted file mode 100644 index ecb85cf..0000000 --- a/parts/res/values/strings.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - Smart Wake - Pulse notifications on slight motion of device and wake screen when picked up - diff --git a/parts/res/values/styles.xml b/parts/res/values/styles.xml deleted file mode 100644 index e98b9f6..0000000 --- a/parts/res/values/styles.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/parts/res/xml/doze_settings.xml b/parts/res/xml/doze_settings.xml deleted file mode 100644 index 0e087bc..0000000 --- a/parts/res/xml/doze_settings.xml +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/parts/src/org/lineageos/settings/BootCompletedReceiver.java b/parts/src/org/lineageos/settings/BootCompletedReceiver.java deleted file mode 100644 index d44d70b..0000000 --- a/parts/src/org/lineageos/settings/BootCompletedReceiver.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2015 The CyanogenMod Project - * 2017-2019 The LineageOS Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.lineageos.settings; - -import android.content.BroadcastReceiver; -import android.content.Context; -import android.content.Intent; -import android.util.Log; - -import org.lineageos.settings.doze.DozeUtils; - -public class BootCompletedReceiver extends BroadcastReceiver { - - private static final boolean DEBUG = false; - private static final String TAG = "LenovoParts"; - - @Override - public void onReceive(final Context context, Intent intent) { - if (DEBUG) Log.d(TAG, "Received boot completed intent"); - DozeUtils.checkDozeService(context); - } -} diff --git a/parts/src/org/lineageos/settings/doze/DozeService.java b/parts/src/org/lineageos/settings/doze/DozeService.java deleted file mode 100644 index 016bd56..0000000 --- a/parts/src/org/lineageos/settings/doze/DozeService.java +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (C) 2015 The CyanogenMod Project - * 2017-2018 The LineageOS Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.lineageos.settings.doze; - -import android.app.Service; -import android.content.BroadcastReceiver; -import android.content.Context; -import android.content.Intent; -import android.content.IntentFilter; -import android.os.IBinder; -import android.util.Log; - -public class DozeService extends Service { - private static final String TAG = "DozeService"; - private static final boolean DEBUG = false; - - private ProximitySensor mProximitySensor; - private PickupSensor mPickupSensor; - private MovementSensor mMovementSensor; - - @Override - public void onCreate() { - if (DEBUG) Log.d(TAG, "Creating service"); - mProximitySensor = new ProximitySensor(this); - mPickupSensor = new PickupSensor(this); - mMovementSensor = new MovementSensor(this); - - IntentFilter screenStateFilter = new IntentFilter(); - screenStateFilter.addAction(Intent.ACTION_SCREEN_ON); - screenStateFilter.addAction(Intent.ACTION_SCREEN_OFF); - registerReceiver(mScreenStateReceiver, screenStateFilter); - } - - @Override - public int onStartCommand(Intent intent, int flags, int startId) { - if (DEBUG) Log.d(TAG, "Starting service"); - return START_STICKY; - } - - @Override - public void onDestroy() { - if (DEBUG) Log.d(TAG, "Destroying service"); - super.onDestroy(); - this.unregisterReceiver(mScreenStateReceiver); - mProximitySensor.disable(); - mPickupSensor.disable(); - mMovementSensor.disable(); - } - - @Override - public IBinder onBind(Intent intent) { - return null; - } - - private void onDisplayOn() { - if (DEBUG) Log.d(TAG, "Display on"); - if (DozeUtils.isPickUpEnabled(this)) { - mPickupSensor.disable(); - } - if (DozeUtils.isSmartWakeEnabled(this)) { - mMovementSensor.disable(); - } - if (DozeUtils.isHandwaveGestureEnabled(this) || - DozeUtils.isPocketGestureEnabled(this)) { - mProximitySensor.disable(); - } - } - - private void onDisplayOff() { - if (DEBUG) Log.d(TAG, "Display off"); - if (DozeUtils.isPickUpEnabled(this)) { - mPickupSensor.enable(); - } - if (DozeUtils.isSmartWakeEnabled(this) && DozeUtils.isPickUpEnabled(this)) { - mMovementSensor.enable(); - } - if (DozeUtils.isHandwaveGestureEnabled(this) || - DozeUtils.isPocketGestureEnabled(this)) { - mProximitySensor.enable(); - } - } - - private BroadcastReceiver mScreenStateReceiver = new BroadcastReceiver() { - @Override - public void onReceive(Context context, Intent intent) { - if (intent.getAction().equals(Intent.ACTION_SCREEN_ON)) { - onDisplayOn(); - } else if (intent.getAction().equals(Intent.ACTION_SCREEN_OFF)) { - onDisplayOff(); - } - } - }; -} diff --git a/parts/src/org/lineageos/settings/doze/DozeSettingsActivity.java b/parts/src/org/lineageos/settings/doze/DozeSettingsActivity.java deleted file mode 100644 index 1591b2c..0000000 --- a/parts/src/org/lineageos/settings/doze/DozeSettingsActivity.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (C) 2015-2016 The CyanogenMod Project - * 2017 The LineageOS Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.lineageos.settings.doze; - -import android.os.Bundle; -import android.preference.PreferenceActivity; - -public class DozeSettingsActivity extends PreferenceActivity { - - private static final String TAG_DOZE = "doze"; - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - - getFragmentManager().beginTransaction().replace(android.R.id.content, - new DozeSettingsFragment(), TAG_DOZE).commit(); - } -} diff --git a/parts/src/org/lineageos/settings/doze/DozeSettingsFragment.java b/parts/src/org/lineageos/settings/doze/DozeSettingsFragment.java deleted file mode 100644 index bb09a6a..0000000 --- a/parts/src/org/lineageos/settings/doze/DozeSettingsFragment.java +++ /dev/null @@ -1,208 +0,0 @@ -/* - * Copyright (C) 2015 The CyanogenMod Project - * 2017-2019 The LineageOS Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.lineageos.settings.doze; - -import android.app.ActionBar; -import android.app.Activity; -import android.app.AlertDialog; -import android.app.Dialog; -import android.app.DialogFragment; -import android.content.Context; -import android.content.DialogInterface; -import android.content.SharedPreferences; -import android.os.Bundle; -import android.os.Handler; -import android.view.LayoutInflater; -import android.view.MenuItem; -import android.view.View; -import android.view.ViewGroup; -import android.widget.CompoundButton; -import android.widget.Switch; -import android.widget.TextView; -import androidx.preference.Preference; -import androidx.preference.Preference.OnPreferenceChangeListener; -import androidx.preference.PreferenceCategory; -import androidx.preference.PreferenceFragment; -import androidx.preference.SwitchPreference; - -import org.lineageos.settings.R; - -public class DozeSettingsFragment extends PreferenceFragment implements OnPreferenceChangeListener, - CompoundButton.OnCheckedChangeListener { - - private TextView mTextView; - private View mSwitchBar; - - private SwitchPreference mAlwaysOnDisplayPreference; - - private SwitchPreference mPickUpPreference; - private SwitchPreference mSmartWakePreference; - private SwitchPreference mHandwavePreference; - private SwitchPreference mPocketPreference; - - private Handler mHandler = new Handler(); - - @Override - public void onCreatePreferences(Bundle savedInstanceState, String rootKey) { - addPreferencesFromResource(R.xml.doze_settings); - final ActionBar actionBar = getActivity().getActionBar(); - actionBar.setDisplayHomeAsUpEnabled(true); - - SharedPreferences prefs = getActivity().getSharedPreferences("doze_settings", - Activity.MODE_PRIVATE); - if (savedInstanceState == null && !prefs.getBoolean("first_help_shown", false)) { - showHelp(); - } - - boolean dozeEnabled = DozeUtils.isDozeEnabled(getActivity()); - - mAlwaysOnDisplayPreference = (SwitchPreference) findPreference(DozeUtils.ALWAYS_ON_DISPLAY); - mAlwaysOnDisplayPreference.setEnabled(dozeEnabled); - mAlwaysOnDisplayPreference.setChecked(DozeUtils.isAlwaysOnEnabled(getActivity())); - mAlwaysOnDisplayPreference.setOnPreferenceChangeListener(this); - - PreferenceCategory pickupSensorCategory = (PreferenceCategory) getPreferenceScreen(). - findPreference(DozeUtils.CATEG_PICKUP_SENSOR); - PreferenceCategory proximitySensorCategory = (PreferenceCategory) getPreferenceScreen(). - findPreference(DozeUtils.CATEG_PROX_SENSOR); - - mPickUpPreference = (SwitchPreference) findPreference(DozeUtils.GESTURE_PICK_UP_KEY); - mPickUpPreference.setEnabled(dozeEnabled); - mPickUpPreference.setOnPreferenceChangeListener(this); - - mSmartWakePreference = (SwitchPreference) findPreference(DozeUtils.GESTURE_SMART_WAKE_KEY); - mSmartWakePreference.setEnabled(dozeEnabled); - mSmartWakePreference.setOnPreferenceChangeListener(this); - - mHandwavePreference = (SwitchPreference) findPreference(DozeUtils.GESTURE_HAND_WAVE_KEY); - mHandwavePreference.setEnabled(dozeEnabled); - mHandwavePreference.setOnPreferenceChangeListener(this); - - mPocketPreference = (SwitchPreference) findPreference(DozeUtils.GESTURE_POCKET_KEY); - mPocketPreference.setEnabled(dozeEnabled); - mPocketPreference.setOnPreferenceChangeListener(this); - - // Hide proximity sensor related features if the device doesn't support them - if (!DozeUtils.getProxCheckBeforePulse(getActivity())) { - getPreferenceScreen().removePreference(proximitySensorCategory); - } - - // Hide AOD if not supported and set all its dependents otherwise - if (!DozeUtils.alwaysOnDisplayAvailable(getActivity())) { - getPreferenceScreen().removePreference(mAlwaysOnDisplayPreference); - } else { - pickupSensorCategory.setDependency(DozeUtils.ALWAYS_ON_DISPLAY); - proximitySensorCategory.setDependency(DozeUtils.ALWAYS_ON_DISPLAY); - mSmartWakePreference.setDependency(DozeUtils.GESTURE_PICK_UP_KEY); - } - } - - @Override - public View onCreateView(LayoutInflater inflater, ViewGroup container, - Bundle savedInstanceState) { - final View view = LayoutInflater.from(getContext()).inflate(R.layout.doze, - container, false); - ((ViewGroup) view).addView(super.onCreateView(inflater, container, savedInstanceState)); - return view; - } - - @Override - public void onViewCreated(View view, Bundle savedInstanceState) { - super.onViewCreated(view, savedInstanceState); - - boolean dozeEnabled = DozeUtils.isDozeEnabled(getActivity()); - - mTextView = view.findViewById(R.id.switch_text); - mTextView.setText(getString(dozeEnabled ? - R.string.switch_bar_on : R.string.switch_bar_off)); - - mSwitchBar = view.findViewById(R.id.switch_bar); - Switch switchWidget = mSwitchBar.findViewById(android.R.id.switch_widget); - switchWidget.setChecked(dozeEnabled); - switchWidget.setOnCheckedChangeListener(this); - mSwitchBar.setActivated(dozeEnabled); - mSwitchBar.setOnClickListener(v -> { - switchWidget.setChecked(!switchWidget.isChecked()); - mSwitchBar.setActivated(switchWidget.isChecked()); - }); - } - - @Override - public boolean onPreferenceChange(Preference preference, Object newValue) { - if (DozeUtils.ALWAYS_ON_DISPLAY.equals(preference.getKey())) { - DozeUtils.enableAlwaysOn(getActivity(), (Boolean) newValue); - } - - mHandler.post(() -> DozeUtils.checkDozeService(getActivity())); - - return true; - } - - @Override - public void onCheckedChanged(CompoundButton compoundButton, boolean isChecked) { - DozeUtils.enableDoze(getActivity(), isChecked); - DozeUtils.checkDozeService(getActivity()); - - mTextView.setText(getString(isChecked ? R.string.switch_bar_on : R.string.switch_bar_off)); - mSwitchBar.setActivated(isChecked); - - if (!isChecked) { - DozeUtils.enableAlwaysOn(getActivity(), false); - mAlwaysOnDisplayPreference.setChecked(false); - } - mAlwaysOnDisplayPreference.setEnabled(isChecked); - - mPickUpPreference.setEnabled(isChecked); - mHandwavePreference.setEnabled(isChecked); - mPocketPreference.setEnabled(isChecked); - mSmartWakePreference.setEnabled(isChecked); - } - - @Override - public boolean onOptionsItemSelected(MenuItem item) { - if (item.getItemId() == android.R.id.home) { - getActivity().onBackPressed(); - return true; - } - return false; - } - - private static class HelpDialogFragment extends DialogFragment { - @Override - public Dialog onCreateDialog(Bundle savedInstanceState) { - return new AlertDialog.Builder(getActivity()) - .setTitle(R.string.doze_settings_help_title) - .setMessage(R.string.doze_settings_help_text) - .setNegativeButton(R.string.dialog_ok, (dialog, which) -> dialog.cancel()) - .create(); - } - - @Override - public void onCancel(DialogInterface dialog) { - getActivity().getSharedPreferences("doze_settings", Activity.MODE_PRIVATE) - .edit() - .putBoolean("first_help_shown", true) - .commit(); - } - } - - private void showHelp() { - HelpDialogFragment fragment = new HelpDialogFragment(); - fragment.show(getFragmentManager(), "help_dialog"); - } -} diff --git a/parts/src/org/lineageos/settings/doze/DozeUtils.java b/parts/src/org/lineageos/settings/doze/DozeUtils.java deleted file mode 100644 index 0ded999..0000000 --- a/parts/src/org/lineageos/settings/doze/DozeUtils.java +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Copyright (C) 2015 The CyanogenMod Project - * 2017-2019 The LineageOS Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.lineageos.settings.doze; - -import android.content.Context; -import android.content.Intent; -import android.content.pm.PackageManager; -import android.hardware.display.AmbientDisplayConfiguration; -import android.hardware.Sensor; -import android.hardware.SensorManager; -import android.os.UserHandle; -import android.provider.Settings; -import android.util.Log; -import androidx.preference.PreferenceManager; - -import static android.provider.Settings.Secure.DOZE_ALWAYS_ON; -import static android.provider.Settings.Secure.DOZE_ENABLED; - -public final class DozeUtils { - - private static final String TAG = "DozeUtils"; - private static final boolean DEBUG = false; - - private static final String DOZE_INTENT = "com.android.systemui.doze.pulse"; - - protected static final String ALWAYS_ON_DISPLAY = "always_on_display"; - - protected static final String CATEG_PICKUP_SENSOR = "pickup_sensor"; - protected static final String CATEG_PROX_SENSOR = "proximity_sensor"; - - protected static final String GESTURE_PICK_UP_KEY = "gesture_pick_up"; - protected static final String GESTURE_SMART_WAKE_KEY = "gesture_smart_wake"; - protected static final String GESTURE_HAND_WAVE_KEY = "gesture_hand_wave"; - protected static final String GESTURE_POCKET_KEY = "gesture_pocket"; - - public static void startService(Context context) { - if (DEBUG) Log.d(TAG, "Starting service"); - context.startServiceAsUser(new Intent(context, DozeService.class), - UserHandle.CURRENT); - } - - protected static void stopService(Context context) { - if (DEBUG) Log.d(TAG, "Stopping service"); - context.stopServiceAsUser(new Intent(context, DozeService.class), - UserHandle.CURRENT); - } - - public static void checkDozeService(Context context) { - if (isDozeEnabled(context) && !isAlwaysOnEnabled(context) && sensorsEnabled(context)) { - startService(context); - } else { - stopService(context); - } - } - - protected static boolean getProxCheckBeforePulse(Context context) { - try { - Context con = context.createPackageContext("com.android.systemui", 0); - int id = con.getResources().getIdentifier("doze_proximity_check_before_pulse", - "bool", "com.android.systemui"); - return con.getResources().getBoolean(id); - } catch (PackageManager.NameNotFoundException e) { - return false; - } - } - - protected static boolean enableDoze(Context context, boolean enable) { - return Settings.Secure.putInt(context.getContentResolver(), - DOZE_ENABLED, enable ? 1 : 0); - } - - public static boolean isDozeEnabled(Context context) { - return Settings.Secure.getInt(context.getContentResolver(), - DOZE_ENABLED, 1) != 0; - } - - protected static void launchDozePulse(Context context) { - if (DEBUG) Log.d(TAG, "Launch doze pulse"); - context.sendBroadcastAsUser(new Intent(DOZE_INTENT), - new UserHandle(UserHandle.USER_CURRENT)); - } - - protected static boolean enableAlwaysOn(Context context, boolean enable) { - return Settings.Secure.putIntForUser(context.getContentResolver(), - DOZE_ALWAYS_ON, enable ? 1 : 0, UserHandle.USER_CURRENT); - } - - protected static boolean isAlwaysOnEnabled(Context context) { - final boolean enabledByDefault = context.getResources() - .getBoolean(com.android.internal.R.bool.config_dozeAlwaysOnEnabled); - - return Settings.Secure.getIntForUser(context.getContentResolver(), - DOZE_ALWAYS_ON, alwaysOnDisplayAvailable(context) && enabledByDefault ? 1 : 0, - UserHandle.USER_CURRENT) != 0; - } - - protected static boolean alwaysOnDisplayAvailable(Context context) { - return new AmbientDisplayConfiguration(context).alwaysOnAvailable(); - } - - protected static boolean isGestureEnabled(Context context, String gesture) { - return PreferenceManager.getDefaultSharedPreferences(context) - .getBoolean(gesture, false); - } - - protected static boolean isPickUpEnabled(Context context) { - return isGestureEnabled(context, GESTURE_PICK_UP_KEY); - } - - protected static boolean isSmartWakeEnabled(Context context) { - return isGestureEnabled(context, GESTURE_SMART_WAKE_KEY); - } - - protected static boolean isHandwaveGestureEnabled(Context context) { - return isGestureEnabled(context, GESTURE_HAND_WAVE_KEY); - } - - protected static boolean isPocketGestureEnabled(Context context) { - return isGestureEnabled(context, GESTURE_POCKET_KEY); - } - - public static boolean sensorsEnabled(Context context) { - return isPickUpEnabled(context) || isHandwaveGestureEnabled(context) - || isPocketGestureEnabled(context); - } - - protected static Sensor getSensor(SensorManager sm, String type) { - for (Sensor sensor : sm.getSensorList(Sensor.TYPE_ALL)) { - if (type.equals(sensor.getStringType())) { - return sensor; - } - } - return null; - } -} diff --git a/parts/src/org/lineageos/settings/doze/MovementSensor.java b/parts/src/org/lineageos/settings/doze/MovementSensor.java deleted file mode 100644 index 10bf88c..0000000 --- a/parts/src/org/lineageos/settings/doze/MovementSensor.java +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright (C) 2015 The CyanogenMod Project - * 2017-2018 The LineageOS Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.lineageos.settings.doze; - -import android.content.Context; -import android.hardware.Sensor; -import android.hardware.SensorEvent; -import android.hardware.SensorEventListener; -import android.hardware.SensorManager; -import android.os.SystemClock; -import android.util.Log; - -import java.util.concurrent.ExecutorService; -import java.util.concurrent.Executors; -import java.util.concurrent.Future; - -public class MovementSensor implements SensorEventListener { - - private static final boolean DEBUG = false; - private static final String TAG = "MovementSensor"; - - private static final int MIN_PULSE_INTERVAL_MS = 2000; - - private SensorManager mSensorManager; - private Sensor mSensor; - private Context mContext; - private ExecutorService mExecutorService; - - private long mEntryTimestamp; - - public MovementSensor(Context context) { - mContext = context; - mSensorManager = mContext.getSystemService(SensorManager.class); - mSensor = DozeUtils.getSensor(mSensorManager, "com.lenovo.sensor.movement"); - mExecutorService = Executors.newSingleThreadExecutor(); - } - - private Future submit(Runnable runnable) { - return mExecutorService.submit(runnable); - } - - @Override - public void onSensorChanged(SensorEvent event) { - if (DEBUG) Log.d(TAG, "Got sensor event: " + event.values[0]); - - long delta = SystemClock.elapsedRealtime() - mEntryTimestamp; - - if (delta < MIN_PULSE_INTERVAL_MS) { - return; - } - - mEntryTimestamp = SystemClock.elapsedRealtime(); - - if (event.values[0] == 2) { - DozeUtils.launchDozePulse(mContext); - } - } - - @Override - public void onAccuracyChanged(Sensor sensor, int accuracy) { - /* Empty */ - } - - protected void enable() { - if (DEBUG) Log.d(TAG, "Enabling"); - submit(() -> { - mEntryTimestamp = SystemClock.elapsedRealtime(); - mSensorManager.registerListener(this, mSensor, - SensorManager.SENSOR_DELAY_NORMAL); - }); - } - - protected void disable() { - if (DEBUG) Log.d(TAG, "Disabling"); - submit(() -> { - mSensorManager.unregisterListener(this, mSensor); - }); - } -} diff --git a/parts/src/org/lineageos/settings/doze/PickupSensor.java b/parts/src/org/lineageos/settings/doze/PickupSensor.java deleted file mode 100644 index b5a687b..0000000 --- a/parts/src/org/lineageos/settings/doze/PickupSensor.java +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright (C) 2015 The CyanogenMod Project - * 2017-2018 The LineageOS Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.lineageos.settings.doze; - -import android.content.Context; -import android.hardware.Sensor; -import android.hardware.SensorEvent; -import android.hardware.SensorEventListener; -import android.hardware.SensorManager; -import android.os.PowerManager; -import android.os.PowerManager.WakeLock; -import android.os.SystemClock; -import android.util.Log; - -import java.util.concurrent.ExecutorService; -import java.util.concurrent.Executors; -import java.util.concurrent.Future; - -public class PickupSensor implements SensorEventListener { - - private static final boolean DEBUG = false; - private static final String TAG = "PickupSensor"; - - private static final int MIN_PULSE_INTERVAL_MS = 750; - private static final int WAKELOCK_TIMEOUT_MS = 300; - - private SensorManager mSensorManager; - private Sensor mSensor; - private Context mContext; - private ExecutorService mExecutorService; - private PowerManager mPowerManager; - private WakeLock mWakeLock; - - private long mEntryTimestamp; - - public PickupSensor(Context context) { - mContext = context; - mSensorManager = mContext.getSystemService(SensorManager.class); - mSensor = DozeUtils.getSensor(mSensorManager, "com.lenovo.sensor.pickup"); - mPowerManager = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); - mWakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); - mExecutorService = Executors.newSingleThreadExecutor(); - } - - private Future submit(Runnable runnable) { - return mExecutorService.submit(runnable); - } - - @Override - public void onSensorChanged(SensorEvent event) { - boolean isSmartWake = DozeUtils.isSmartWakeEnabled(mContext); - - if (DEBUG) Log.d(TAG, "Got sensor event: " + event.values[0]); - - if (!isSmartWake) { - long delta = SystemClock.elapsedRealtime() - mEntryTimestamp; - if (delta < MIN_PULSE_INTERVAL_MS) { - return; - } - } - - mEntryTimestamp = SystemClock.elapsedRealtime(); - - if (event.values[0] == 1) { - if (isSmartWake) { - mWakeLock.acquire(WAKELOCK_TIMEOUT_MS); - mPowerManager.wakeUp(SystemClock.uptimeMillis(), - PowerManager.WAKE_REASON_GESTURE, TAG); - } else { - DozeUtils.launchDozePulse(mContext); - } - } - } - - @Override - public void onAccuracyChanged(Sensor sensor, int accuracy) { - /* Empty */ - } - - protected void enable() { - if (DEBUG) Log.d(TAG, "Enabling"); - submit(() -> { - mSensorManager.registerListener(this, mSensor, - SensorManager.SENSOR_DELAY_NORMAL); - mEntryTimestamp = SystemClock.elapsedRealtime(); - }); - } - - protected void disable() { - if (DEBUG) Log.d(TAG, "Disabling"); - submit(() -> { - mSensorManager.unregisterListener(this, mSensor); - }); - } -} diff --git a/parts/src/org/lineageos/settings/doze/ProximitySensor.java b/parts/src/org/lineageos/settings/doze/ProximitySensor.java deleted file mode 100644 index 52bd0b5..0000000 --- a/parts/src/org/lineageos/settings/doze/ProximitySensor.java +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Copyright (C) 2015 The CyanogenMod Project - * 2017-2018 The LineageOS Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.lineageos.settings.doze; - -import android.content.Context; -import android.hardware.Sensor; -import android.hardware.SensorEvent; -import android.hardware.SensorEventListener; -import android.hardware.SensorManager; -import android.util.Log; - -import java.util.concurrent.ExecutorService; -import java.util.concurrent.Executors; -import java.util.concurrent.Future; - -public class ProximitySensor implements SensorEventListener { - - private static final boolean DEBUG = false; - private static final String TAG = "ProximitySensor"; - - // Maximum time for the hand to cover the sensor: 1s - private static final int HANDWAVE_MAX_DELTA_NS = 1000 * 1000 * 1000; - - // Minimum time until the device is considered to have been in the pocket: 2s - private static final int POCKET_MIN_DELTA_NS = 2000 * 1000 * 1000; - - private SensorManager mSensorManager; - private Sensor mSensor; - private Context mContext; - private ExecutorService mExecutorService; - - private boolean mSawNear = false; - private long mInPocketTime = 0; - - public ProximitySensor(Context context) { - mContext = context; - mSensorManager = mContext.getSystemService(SensorManager.class); - mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY, false); - mExecutorService = Executors.newSingleThreadExecutor(); - } - - private Future submit(Runnable runnable) { - return mExecutorService.submit(runnable); - } - - @Override - public void onSensorChanged(SensorEvent event) { - boolean isNear = event.values[0] < mSensor.getMaximumRange(); - if (mSawNear && !isNear) { - if (shouldPulse(event.timestamp)) { - DozeUtils.launchDozePulse(mContext); - } - } else { - mInPocketTime = event.timestamp; - } - mSawNear = isNear; - } - - private boolean shouldPulse(long timestamp) { - long delta = timestamp - mInPocketTime; - - if (DozeUtils.isHandwaveGestureEnabled(mContext) && - DozeUtils.isPocketGestureEnabled(mContext)) { - return true; - } else if (DozeUtils.isHandwaveGestureEnabled(mContext)) { - return delta < HANDWAVE_MAX_DELTA_NS; - } else if (DozeUtils.isPocketGestureEnabled(mContext)) { - return delta >= POCKET_MIN_DELTA_NS; - } - return false; - } - - @Override - public void onAccuracyChanged(Sensor sensor, int accuracy) { - /* Empty */ - } - - protected void enable() { - if (DEBUG) Log.d(TAG, "Enabling"); - submit(() -> { - mSensorManager.registerListener(this, mSensor, - SensorManager.SENSOR_DELAY_NORMAL); - }); - } - - protected void disable() { - if (DEBUG) Log.d(TAG, "Disabling"); - submit(() -> { - mSensorManager.unregisterListener(this, mSensor); - }); - } -} diff --git a/proprietary-files.txt b/proprietary-files.txt index eea08b9..489ec57 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -1,175 +1,28 @@ # All unpinned blobs below are extracted from L78051_SECURE_USER_11.5.381_ST_200603 -# ACDB data -vendor/etc/acdbdata/adsp_avs_config.acdb -vendor/etc/acdbdata/CDP/CDP_Bluetooth_cal.acdb -vendor/etc/acdbdata/CDP/CDP_Codec_cal.acdb -vendor/etc/acdbdata/CDP/CDP_General_cal.acdb -vendor/etc/acdbdata/CDP/CDP_Global_cal.acdb -vendor/etc/acdbdata/CDP/CDP_Handset_cal.acdb -vendor/etc/acdbdata/CDP/CDP_Hdmi_cal.acdb -vendor/etc/acdbdata/CDP/CDP_Headset_cal.acdb -vendor/etc/acdbdata/CDP/CDP_Speaker_cal.acdb -vendor/etc/acdbdata/CDP/CDP_workspaceFile.qwsp -vendor/etc/acdbdata/MTP/MTP_Bluetooth_cal.acdb -vendor/etc/acdbdata/MTP/MTP_Codec_cal.acdb -vendor/etc/acdbdata/MTP/MTP_General_cal.acdb -vendor/etc/acdbdata/MTP/MTP_Global_cal.acdb -vendor/etc/acdbdata/MTP/MTP_Handset_cal.acdb -vendor/etc/acdbdata/MTP/MTP_Hdmi_cal.acdb -vendor/etc/acdbdata/MTP/MTP_Headset_cal.acdb -vendor/etc/acdbdata/MTP/MTP_Speaker_cal.acdb -vendor/etc/acdbdata/MTP/MTP_workspaceFile.qwsp -vendor/etc/acdbdata/QRD/QRD_Bluetooth_cal.acdb -vendor/etc/acdbdata/QRD/QRD_Codec_cal.acdb -vendor/etc/acdbdata/QRD/QRD_General_cal.acdb -vendor/etc/acdbdata/QRD/QRD_Global_cal.acdb -vendor/etc/acdbdata/QRD/QRD_Handset_cal.acdb -vendor/etc/acdbdata/QRD/QRD_Hdmi_cal.acdb -vendor/etc/acdbdata/QRD/QRD_Headset_cal.acdb -vendor/etc/acdbdata/QRD/QRD_Speaker_cal.acdb -vendor/etc/acdbdata/QRD/QRD_workspaceFile.qwsp - -# ADSP -vendor/bin/adsprpcd -vendor/etc/init/vendor.qti.adsprpc-service.rc -vendor/lib/libadsp_default_listener.so -vendor/lib/libadsprpc.so -vendor/lib/libmdsprpc.so -vendor/lib/libsdsprpc.so -vendor/lib64/libadsp_default_listener.so -vendor/lib64/libadsprpc.so -vendor/lib64/libmdsprpc.so - -# ADSP Modules -vendor/lib/rfsa/adsp/capi_v2_aptX_Classic.so -vendor/lib/rfsa/adsp/capi_v2_aptX_HD.so -vendor/lib/rfsa/adsp/libapps_mem_heap.so -vendor/lib/rfsa/adsp/libcamera_nn_skel.so -vendor/lib/rfsa/adsp/libcvpdsp_skel.so -vendor/lib/rfsa/adsp/libdsp_streamer_add_constant.so -vendor/lib/rfsa/adsp/libdsp_streamer_binning.so -vendor/lib/rfsa/adsp/libdsp_streamer_skel.so -vendor/lib/rfsa/adsp/libdspCV_skel.so -vendor/lib/rfsa/adsp/libfastcvadsp.so -vendor/lib/rfsa/adsp/libfastcvdsp_skel.so -vendor/lib/rfsa/adsp/libhexagon_nn_skel.so -vendor/lib/rfsa/adsp/libscveBlobDescriptor_skel.so -vendor/lib/rfsa/adsp/libscveObjectSegmentation_skel.so -vendor/lib/rfsa/adsp/libscveT2T_skel.so -vendor/lib/rfsa/adsp/libsns_device_mode_skel.so -vendor/lib/rfsa/adsp/libsns_low_lat_stream_skel.so -vendor/lib/rfsa/adsp/libVC1Dec.so -vendor/lib/rfsa/adsp/libVC1DecDsp_skel.so - -# Alarm --product/app/PowerOffAlarm/PowerOffAlarm.apk -product/framework/vendor.qti.hardware.alarm-V1.0-java.jar -vendor/bin/hw/vendor.qti.hardware.alarm@1.0-service -vendor/bin/power_off_alarm -vendor/etc/init/vendor.qti.hardware.alarm@1.0-service.rc -vendor/lib64/hw/vendor.qti.hardware.alarm@1.0-impl.so -vendor/lib64/vendor.qti.hardware.alarm@1.0.so - -# ANT+ (system) -product/lib/com.qualcomm.qti.ant@1.0.so -product/lib64/com.qualcomm.qti.ant@1.0.so --system/lib/libantradio.so --system/lib64/libantradio.so - -# ANT+ (vendor) -vendor/lib/hw/com.qualcomm.qti.ant@1.0-impl.so -vendor/lib/com.qualcomm.qti.ant@1.0.so -vendor/lib64/hw/com.qualcomm.qti.ant@1.0-impl.so -vendor/lib64/com.qualcomm.qti.ant@1.0.so - -# Audio -vendor/lib/btaudio_offload_if.so -vendor/lib/hw/audio.bluetooth_qti.default.so -vendor/lib/hw/audio.primary.msmnile.so -vendor/lib/hw/vendor.qti.hardware.audiohalext@1.0-impl.so -vendor/lib/hw/vendor.qti.hardware.bluetooth_audio@2.0-impl.so -vendor/lib/hw/vendor.qti.hardware.bluetooth_sar@1.0-impl.so -vendor/lib/soundfx/libasphere.so -vendor/lib/soundfx/libqcbassboost.so -vendor/lib/soundfx/libqcreverb.so -vendor/lib/soundfx/libqcvirt.so -vendor/lib/soundfx/libshoebox.so -vendor/lib/soundfx/libswdap.so -vendor/lib/libacdb-fts.so -vendor/lib/libacdbloader.so -vendor/lib/libacdbrtac.so -vendor/lib/libadiertac.so -vendor/lib/libadm.so -vendor/lib/libaudcal.so -vendor/lib/libaudio_log_utils.so -vendor/lib/libaudioalsa.so -vendor/lib/libaudioconfigstore.so -vendor/lib/libaudioparsers.so -vendor/lib/libbluetooth_audio_session_qti.so -vendor/lib/libclimax.so -vendor/lib/libdapparamstorage.so -vendor/lib/libdrc.so -vendor/lib/libqtigef.so -vendor/lib/libsurround_3mic_proc.so -vendor/lib/vendor.qti.hardware.audiohalext@1.0.so -vendor/lib/vendor.qti.hardware.bluetooth_sar@1.0.so -vendor/lib64/btaudio_offload_if.so -vendor/lib64/hw/audio.bluetooth_qti.default.so -vendor/lib64/hw/audio.primary.msmnile.so -vendor/lib64/hw/vendor.qti.hardware.audiohalext@1.0-impl.so -vendor/lib64/hw/vendor.qti.hardware.bluetooth_audio@2.0-impl.so -vendor/lib64/hw/vendor.qti.hardware.bluetooth_sar@1.0-impl.so -vendor/lib64/soundfx/libasphere.so -vendor/lib64/soundfx/libqcbassboost.so -vendor/lib64/soundfx/libqcreverb.so -vendor/lib64/soundfx/libqcvirt.so -vendor/lib64/soundfx/libshoebox.so -vendor/lib64/soundfx/libswdap.so -vendor/lib64/libacdb-fts.so -vendor/lib64/libacdbloader.so -vendor/lib64/libacdbrtac.so -vendor/lib64/libadiertac.so -vendor/lib64/libaudcal.so -vendor/lib64/libaudio_log_utils.so -vendor/lib64/libaudioalsa.so -vendor/lib64/libaudioconfigstore.so -vendor/lib64/libaudioparsers.so -vendor/lib64/libbluetooth_audio_session_qti.so -vendor/lib64/libclimax.so -vendor/lib64/libdapparamstorage.so -vendor/lib64/libqtigef.so -vendor/lib64/vendor.qti.hardware.audiohalext@1.0.so -vendor/lib64/vendor.qti.hardware.bluetooth_sar@1.0.so - # Audio amplifier firmware vendor/firmware/mono.cnt vendor/firmware/tfa98xx.cnt -# Bluetooth -vendor/bin/hw/android.hardware.bluetooth@1.0-service-qti -vendor/etc/init/android.hardware.bluetooth@1.0-service-qti.rc -vendor/lib/hw/android.hardware.bluetooth@1.0-impl-qti.so -vendor/lib/com.qualcomm.qti.bluetooth_audio@1.0.so -vendor/lib/liba2dpoffload.so -vendor/lib/libbt-hidlclient.so -vendor/lib/libbthost_if.so -vendor/lib/libbtnv.so -vendor/lib64/hw/android.hardware.bluetooth@1.0-impl-qti.so -vendor/lib64/liba2dpoffload.so -vendor/lib64/libbt-hidlclient.so -vendor/lib64/libbthost_if.so -vendor/lib64/libbtnv.so -vendor/lib64/vendor.qti.hardware.btconfigstore@1.0.so - -# Bluetooth (aptX) - from crosshatch-user 10 QP1A.190711.020 5800535 release-keys -product/lib64/libaptX_encoder.so|df1c89d7af1bb35808d5fe3496b04ba066c10cbc -product/lib64/libaptXHD_encoder.so|e13fa70c97caaa24d061678bdee608eb8850a69e - # Camera -vendor/bin/hw/android.hardware.camera.provider@2.4-service_64 vendor/bin/vl53l1_daemon_main +vendor/bin/hw/android.hardware.camera.provider@2.4-service_64 vendor/etc/init/android.hardware.camera.provider@2.4-service_64.rc +vendor/lib/camera/com.qti.sensor.ov02c20.so +vendor/lib/camera/com.qti.sensor.ov16885.so +vendor/lib/camera/com.qti.sensor.ov8856.so +vendor/lib/camera/com.qti.sensor.s5kgd1.so +vendor/lib/camera/com.qti.sensor.s5kgm1.so +vendor/lib/camera/com.qti.sensormodule.ofilm_ov02c20.bin +vendor/lib/camera/com.qti.sensormodule.ofilm_ov16885.bin +vendor/lib/camera/com.qti.sensormodule.ofilm_ov8856.bin +vendor/lib/camera/com.qti.sensormodule.ofilm_s5kgd1.bin +vendor/lib/camera/com.qti.sensormodule.ofilm_s5kgm1.bin +vendor/lib/camera/com.qti.tuned.ofilm_ov02c20.bin +vendor/lib/camera/com.qti.tuned.ofilm_ov16885.bin +vendor/lib/camera/com.qti.tuned.ofilm_ov8856.bin +vendor/lib/camera/com.qti.tuned.ofilm_s5kgd1.bin +vendor/lib/camera/com.qti.tuned.ofilm_s5kgm1.bin vendor/lib/camera/components/com.arcsoft.node.capturebokeh.so vendor/lib/camera/components/com.arcsoft.node.realtimebokeh.so vendor/lib/camera/components/com.arcsoft.node.smoothtransition.so @@ -209,23 +62,6 @@ vendor/lib/camera/components/com.qtistatic.stats.pdlib.so vendor/lib/camera/components/com.vidhance.node.eis.so vendor/lib/camera/components/com.vidhance.stats.aec_dmbr.so vendor/lib/camera/components/libdepthmapwrapper.so -vendor/lib/camera/com.qti.sensor.ov02c20.so -vendor/lib/camera/com.qti.sensor.ov16885.so -vendor/lib/camera/com.qti.sensor.ov8856.so -vendor/lib/camera/com.qti.sensor.s5kgd1.so -vendor/lib/camera/com.qti.sensor.s5kgm1.so -vendor/lib/camera/com.qti.sensormodule.ofilm_ov02c20.bin -vendor/lib/camera/com.qti.sensormodule.ofilm_ov16885.bin -vendor/lib/camera/com.qti.sensormodule.ofilm_ov8856.bin -vendor/lib/camera/com.qti.sensormodule.ofilm_s5kgd1.bin -vendor/lib/camera/com.qti.sensormodule.ofilm_s5kgm1.bin -vendor/lib/camera/com.qti.tuned.ofilm_ov02c20.bin -vendor/lib/camera/com.qti.tuned.ofilm_ov16885.bin -vendor/lib/camera/com.qti.tuned.ofilm_ov8856.bin -vendor/lib/camera/com.qti.tuned.ofilm_s5kgd1.bin -vendor/lib/camera/com.qti.tuned.ofilm_s5kgm1.bin -vendor/lib/android.hardware.camera.provider@2.4-external.so -vendor/lib/android.hardware.camera.provider@2.4-legacy.so vendor/lib/camera/fdconfigpreview.bin vendor/lib/camera/fdconfigpreviewlite.bin vendor/lib/camera/fdconfigvideo.bin @@ -233,6 +69,8 @@ vendor/lib/camera/fdconfigvideolite.bin vendor/lib/hw/android.hardware.camera.provider@2.4-impl.so vendor/lib/hw/camera.qcom.so vendor/lib/hw/com.qti.chi.override.so +vendor/lib/android.hardware.camera.provider@2.4-external.so +vendor/lib/android.hardware.camera.provider@2.4-legacy.so vendor/lib/libcamera_nn_stub.so vendor/lib/libcamxfdalgov7.so vendor/lib/libcamxfdalgov8.so @@ -244,11 +82,10 @@ vendor/lib/libcom.qti.chinodeutils.so vendor/lib/libdualcam_optical_zoom_control.so vendor/lib/libdualcam_video_optical_zoom.so vendor/lib/libmpbase.so +vendor/lib/libsnsapi.so vendor/lib/libsns_device_mode_stub.so vendor/lib/libsns_fastRPC_util.so vendor/lib/libsns_low_lat_stream_stub.so -vendor/lib/libsnsapi.so -vendor/lib/libsnsdiaglog.so vendor/lib/libswregistrationalgo.so vendor/lib/libswvdec.so vendor/lib/libvideoutils.so @@ -256,6 +93,24 @@ vendor/lib/libvidhance.so vendor/lib/libvl53l1_daemon.so vendor/lib/libwatermarkutils.so vendor/lib/vendor.qti.hardware.camera.device@1.0.so +vendor/lib64/camera/com.qti.sensor.ov02c20.so +vendor/lib64/camera/com.qti.sensor.ov16885.so +vendor/lib64/camera/com.qti.sensor.ov8856.so +vendor/lib64/camera/com.qti.sensor.s5kgd1.so +vendor/lib64/camera/com.qti.sensor.s5kgm1.so +vendor/lib64/camera/com.qti.sensormodule.ofilm_ov02c20.bin +vendor/lib64/camera/com.qti.sensormodule.ofilm_ov16885.bin +vendor/lib64/camera/com.qti.sensormodule.ofilm_ov8856.bin +vendor/lib64/camera/com.qti.sensormodule.ofilm_s5kgd1.bin +vendor/lib64/camera/com.qti.sensormodule.ofilm_s5kgm1.bin +vendor/lib64/camera/com.qti.sm_cts.ofilm_s5kgd1.bin +vendor/lib64/camera/com.qti.tuned.cts_ofilm_s5kgd1.bin +vendor/lib64/camera/com.qti.tuned.cts_ofilm_s5kgm1.bin +vendor/lib64/camera/com.qti.tuned.ofilm_ov02c20.bin +vendor/lib64/camera/com.qti.tuned.ofilm_ov16885.bin +vendor/lib64/camera/com.qti.tuned.ofilm_ov8856.bin +vendor/lib64/camera/com.qti.tuned.ofilm_s5kgd1.bin +vendor/lib64/camera/com.qti.tuned.ofilm_s5kgm1.bin vendor/lib64/camera/components/com.arcsoft.node.capturebokeh.so vendor/lib64/camera/components/com.arcsoft.node.realtimebokeh.so vendor/lib64/camera/components/com.arcsoft.node.smoothtransition.so @@ -297,26 +152,6 @@ vendor/lib64/camera/components/com.qtistatic.stats.pdlib.so vendor/lib64/camera/components/com.vidhance.node.eis.so vendor/lib64/camera/components/com.vidhance.stats.aec_dmbr.so vendor/lib64/camera/components/libdepthmapwrapper.so -vendor/lib64/camera/com.qti.sensor.ov02c20.so -vendor/lib64/camera/com.qti.sensor.ov16885.so -vendor/lib64/camera/com.qti.sensor.ov8856.so -vendor/lib64/camera/com.qti.sensor.s5kgd1.so -vendor/lib64/camera/com.qti.sensor.s5kgm1.so -vendor/lib64/camera/com.qti.sensormodule.ofilm_ov02c20.bin -vendor/lib64/camera/com.qti.sensormodule.ofilm_ov16885.bin -vendor/lib64/camera/com.qti.sensormodule.ofilm_ov8856.bin -vendor/lib64/camera/com.qti.sensormodule.ofilm_s5kgd1.bin -vendor/lib64/camera/com.qti.sensormodule.ofilm_s5kgm1.bin -vendor/lib64/camera/com.qti.sm_cts.ofilm_s5kgd1.bin -vendor/lib64/camera/com.qti.tuned.cts_ofilm_s5kgd1.bin -vendor/lib64/camera/com.qti.tuned.cts_ofilm_s5kgm1.bin -vendor/lib64/camera/com.qti.tuned.ofilm_ov02c20.bin -vendor/lib64/camera/com.qti.tuned.ofilm_ov16885.bin -vendor/lib64/camera/com.qti.tuned.ofilm_ov8856.bin -vendor/lib64/camera/com.qti.tuned.ofilm_s5kgd1.bin -vendor/lib64/camera/com.qti.tuned.ofilm_s5kgm1.bin -vendor/lib64/android.hardware.camera.provider@2.4-external.so -vendor/lib64/android.hardware.camera.provider@2.4-legacy.so vendor/lib64/camera/fdconfigpreview.bin vendor/lib64/camera/fdconfigpreviewlite.bin vendor/lib64/camera/fdconfigvideo.bin @@ -324,6 +159,8 @@ vendor/lib64/camera/fdconfigvideolite.bin vendor/lib64/hw/android.hardware.camera.provider@2.4-impl.so vendor/lib64/hw/camera.qcom.so vendor/lib64/hw/com.qti.chi.override.so +vendor/lib64/android.hardware.camera.provider@2.4-external.so +vendor/lib64/android.hardware.camera.provider@2.4-legacy.so vendor/lib64/libc++_shared.so vendor/lib64/libcamera_nn_stub.so vendor/lib64/libcamxfdalgov7.so @@ -351,11 +188,10 @@ vendor/lib64/libsnpe_dsp_v65_domains_v2_skel.so vendor/lib64/libsnpe_dsp_v66_domains_v2_skel.so vendor/lib64/libSNPE_G.so vendor/lib64/libsnpe_loader.so +vendor/lib64/libsnsapi.so vendor/lib64/libsns_device_mode_stub.so vendor/lib64/libsns_fastRPC_util.so vendor/lib64/libsns_low_lat_stream_stub.so -vendor/lib64/libsnsapi.so -vendor/lib64/libsnsdiaglog.so vendor/lib64/libswregistrationalgo.so vendor/lib64/libswvdec.so vendor/lib64/libsymphony-cpu.so @@ -366,16 +202,16 @@ vendor/lib64/libvl53l1_daemon.so vendor/lib64/libwatermarkutils.so vendor/lib64/vendor.qti.hardware.camera.device@1.0.so -# Camera Arcsoft +# Camera-arcsoft vendor/lib/libarcsoft_dualcam_refocus.so vendor/lib64/libarcsoft_dualcam_refocus.so -# Camera Configs +# Camera-configs vendor/etc/camera/camxoverridesettings.txt vendor/etc/camera/camxoverridesettings_for_cts.txt vendor/etc/camera/vidhance_calibration -# Camera Device +# Camera-device vendor/lib/camera.device@1.0-impl.so vendor/lib/camera.device@3.2-impl.so vendor/lib/camera.device@3.3-impl.so @@ -391,10 +227,10 @@ vendor/lib64/camera.device@3.4-impl.so vendor/lib64/camera.device@3.5-external-impl.so vendor/lib64/camera.device@3.5-impl.so -# Camera Firmware +# Camera-firmware vendor/firmware/CAMERA_ICP.elf -# Camera Sensors +# Camera-sensors vendor/lib/libmmcamera_faceproc.so vendor/lib/libmmcamera_faceproc2.so vendor/lib64/libmmcamera_faceproc.so @@ -403,1104 +239,3 @@ vendor/lib64/libmmcamera_faceproc2.so # Camera TOF sensor vendor/lib/hw/sensors.hal.tof.so vendor/lib64/hw/sensors.hal.tof.so - -# CDSP -vendor/bin/cdsprpcd -vendor/lib/libcdsp_default_listener.so -vendor/lib/libcdsprpc.so -vendor/lib64/libcdsp_default_listener.so -vendor/lib64/libcdsprpc.so -vendor/lib64/libsdsprpc.so - -# Charger -vendor/bin/hvdcp_opti - -# CNE -product/framework/com.quicinc.cne.api-V1.1-java.jar -product/framework/com.quicinc.cne.constants-V1.0-java.jar -product/framework/com.quicinc.cne.constants-V2.0-java.jar -product/framework/com.quicinc.cne.constants-V2.1-java.jar -product/framework/vendor.qti.data.factory-V1.0-java.jar -product/framework/vendor.qti.data.factory-V2.0-java.jar -product/framework/vendor.qti.hardware.data.dynamicdds-V1.0-java.jar -product/framework/vendor.qti.hardware.data.qmi-V1.0-java.jar --vendor/app/CneApp/CneApp.apk -vendor/bin/cnd -vendor/etc/cne/wqeclient/ATT/ATT_profile1.xml -vendor/etc/cne/wqeclient/ATT/ATT_profile2.xml -vendor/etc/cne/wqeclient/ATT/ATT_profile3.xml -vendor/etc/cne/wqeclient/ATT/ATT_profile4.xml -vendor/etc/cne/wqeclient/ATT/ATT_profile5.xml -vendor/etc/cne/wqeclient/ATT/ATT_profile6.xml -vendor/etc/cne/wqeclient/ROW/ROW_profile1.xml -vendor/etc/cne/wqeclient/ROW/ROW_profile15.xml -vendor/etc/cne/wqeclient/ROW/ROW_profile16.xml -vendor/etc/cne/wqeclient/ROW/ROW_profile17.xml -vendor/etc/cne/wqeclient/ROW/ROW_profile18.xml -vendor/etc/cne/wqeclient/ROW/ROW_profile19.xml -vendor/etc/cne/wqeclient/ROW/ROW_profile2.xml -vendor/etc/cne/wqeclient/ROW/ROW_profile20.xml -vendor/etc/cne/wqeclient/ROW/ROW_profile21.xml -vendor/etc/cne/wqeclient/ROW/ROW_profile3.xml -vendor/etc/cne/wqeclient/ROW/ROW_profile32.xml -vendor/etc/cne/wqeclient/ROW/ROW_profile4.xml -vendor/etc/cne/wqeclient/ROW/ROW_profile5.xml -vendor/etc/cne/wqeclient/ROW/ROW_profile6.xml -vendor/etc/cne/wqeclient/ROW/ROW_profile7.xml -vendor/etc/cne/wqeclient/VZW/VZW_profile1.xml -vendor/etc/cne/wqeclient/VZW/VZW_profile2.xml -vendor/etc/cne/wqeclient/VZW/VZW_profile3.xml -vendor/etc/cne/wqeclient/VZW/VZW_profile4.xml -vendor/etc/cne/wqeclient/VZW/VZW_profile5.xml -vendor/etc/cne/wqeclient/VZW/VZW_profile6.xml -vendor/etc/init/cnd.rc -vendor/lib/libcne.so -vendor/lib/libcneapiclient.so -vendor/lib/libcneoplookup.so -vendor/lib/libcneqmiutils.so -vendor/lib/libwms.so -vendor/lib/libwqe.so -vendor/lib/libxml.so -vendor/lib/vendor.qti.data.factory@2.0.so -vendor/lib/vendor.qti.hardware.data.dynamicdds@1.0.so -vendor/lib/vendor.qti.hardware.data.qmi@1.0.so -vendor/lib64/libcne.so -vendor/lib64/libcneapiclient.so -vendor/lib64/libcneoplookup.so -vendor/lib64/libcneqmiutils.so -vendor/lib64/libwms.so -vendor/lib64/libwqe.so -vendor/lib64/libxml.so -vendor/lib64/vendor.qti.data.factory@2.0.so -vendor/lib64/vendor.qti.hardware.data.dynamicdds@1.0.so -vendor/lib64/vendor.qti.hardware.data.qmi@1.0.so - -# ConfigStore --product/framework/vendor.qti.hardware.capabilityconfigstore-V1.0-java.jar -vendor/bin/hw/vendor.qti.hardware.capabilityconfigstore@1.0-service -vendor/etc/init/vendor.qti.hardware.capabilityconfigstore@1.0-service.rc -vendor/lib/hw/vendor.qti.hardware.capabilityconfigstore@1.0-impl.so -vendor/lib64/hw/vendor.qti.hardware.capabilityconfigstore@1.0-impl.so - -# CVP -vendor/bin/hw/vendor.qti.hardware.cvp@1.0-service -vendor/etc/init/vendor.qti.hardware.cvp@1.0-service.rc -vendor/lib/hw/vendor.qti.hardware.cvp@1.0-impl.so -vendor/lib/libcvp.so -vendor/lib/libcvp_common.so -vendor/lib/libcvp_stub.so -vendor/lib/vendor.qti.hardware.cvp@1.0.so -vendor/lib64/hw/vendor.qti.hardware.cvp@1.0-impl.so -vendor/lib64/libcvp.so -vendor/lib64/libcvp_common.so -vendor/lib64/libcvp_stub.so -vendor/lib64/vendor.qti.hardware.cvp@1.0-halimpl.so -vendor/lib64/vendor.qti.hardware.cvp@1.0.so - -# Display - from nx627j - qssi_NX627J-user-11-RKQ1.200826.002-nubia.20201029.204053-release-keys -vendor/lib64/libdisp-aba.so|d904572dedd19e88053c3352d2a24c666362b23b -vendor/lib64/libdisplayqos.so|3e95c6aedbfca5132ef75365e0a45a32c79b1fd6 -vendor/lib64/libdpps.so|d90c23d4563ee0da74bf5e08d8ef016eaafb692b -vendor/lib64/libhdr_tm.so|9977b4ccb6667d990210c1ac980e55325f7e7a50 -vendor/lib64/libqseed3.so|a449d79b912415f542509874b43338b27795a1c3 -vendor/lib64/libsdedrm.so|582910d21139781ad9e414c35207584f51e035e2 -vendor/lib64/libsdm-color.so|b2bcf2c205b501024407ed5c216d2b290688bd64 -vendor/lib64/libsdm-colormgr-algo.so|6d17546d7822803700dc21968f75069d1b7392b1 -vendor/lib64/libsdm-diag.so|3d5c311d7d5d842e5a75e9ae3f9f70ceb00cd1cf -vendor/lib64/libsdm-disp-vndapis.so|42f536763a2f91dcbae5b4b7214e652283c389d6 -vendor/lib64/libsdmextension.so|0aed8ab6ecf878ae57ecba4b8a9bfb0d184ab5f7 -vendor/lib64/libtinyxml2_1.so|621dbc8e3d0529b9ee35393698de82ea006ca7fa - -# Display calibration data -vendor/etc/qdcm_calib_data_Dual_nt35597_cmd_mode_dsi_truly_panel_without_DSC.xml.xml -vendor/etc/qdcm_calib_data_Dual_nt35597_video_mode_dsi_truly_panel_without_DSC.xml.xml -vendor/etc/qdcm_calib_data_Dual_Sharp_WQHD_cmd_mode_dsi_panel.xml -vendor/etc/qdcm_calib_data_Dual_Sharp_wqhd_video_mode_dsi_panel.xml -vendor/etc/qdcm_calib_data_hx83112a_video_mode_dsi_truly_panel.xml -vendor/etc/qdcm_calib_data_mipi_mot_cmd_smd_1080p_639.xml -vendor/etc/qdcm_calib_data_nt35597_cmd_mode_dsi_truly_panel_with_DSC.xml -vendor/etc/qdcm_calib_data_nt35597_video_mode_dsi_truly_panel_with_DSC.xml -vendor/etc/qdcm_calib_data_nt35695b_truly_fhd_command_mode_dsi_panel.xml -vendor/etc/qdcm_calib_data_nt35695b_truly_fhd_video_mode_dsi_panel.xml -vendor/etc/qdcm_calib_data_nt36672_truly_fhd_video_mode_dsi_panel.xml -vendor/etc/qdcm_calib_data_nt37700_cmd_mode_dsi_tianma_panel_with_DSC_xxx.xml -vendor/etc/qdcm_calib_data_rm69299_amoled_fhd+_video_mode_dsi_visionox_panel.xml -vendor/etc/qdcm_calib_data_sharp_1080p_cmd_mode_dsi_panel.xml -vendor/etc/qdcm_calib_data_Sharp_4k_cmd_mode_dsc_dsi_panel.xml -vendor/etc/qdcm_calib_data_Sharp_4k_video_mode_dsc_dsi_panel.xml -vendor/etc/qdcm_calib_data_sw43404_amoled_boe_fhd+_panel_with_DSC.xml -vendor/etc/qdcm_calib_data_sw43404_amoled_cmd_mode_dsi_boe_panel_with_DSC.xml -vendor/etc/qdcm_calib_data_sw43404_amoled_video_mode_dsi_boe_panel_with_DSC.xml -vendor/etc/qdcm_calib_data_td4328_cmd_mode_dsi_truly_panel.xml -vendor/etc/qdcm_calib_data_td4328_video_mode_dsi_truly_panel.xml -vendor/etc/qdcm_calib_data_td4330_cmd_mode_dsi_truly_panel.xml -vendor/etc/qdcm_calib_data_td4330_video_mode_dsi_truly_panel.xml - -# DPM -product/bin/dpmd -product/etc/dpm/dpm.conf -product/etc/init/dpmd.rc -product/etc/permissions/com.qti.dpmframework.xml -product/etc/permissions/dpmapi.xml -product/framework/com.qti.dpmframework.jar -product/framework/dpmapi.jar -product/lib/com.qualcomm.qti.dpm.api@1.0.so -product/lib/libdpmctmgr.so -product/lib/libdpmfdmgr.so -product/lib/libdpmtcm.so -product/lib64/com.qualcomm.qti.dpm.api@1.0.so -product/lib64/libdpmctmgr.so -product/lib64/libdpmfdmgr.so -product/lib64/libdpmtcm.so --product/priv-app/dpmserviceapp/dpmserviceapp.apk -system/framework/tcmclient.jar -vendor/bin/dpmQmiMgr -vendor/etc/init/dpmQmiMgr.rc -vendor/lib/com.qualcomm.qti.dpm.api@1.0.so -vendor/lib/libdpmqmihal.so -vendor/lib64/com.qualcomm.qti.dpm.api@1.0.so -vendor/lib64/libdpmqmihal.so - -# DPM - from oneplus8 - qssi-user-11-RP1A.201005.001-2009051300-release-keys -system_ext/lib/libdpmframework.so|168e2ec57d888575512f3d0f9b78eaf08b607158 -system_ext/lib64/libdpmframework.so|67ebd736333ae7158632735e3db06a4f9664f6a6 - -# DRM -vendor/bin/qseecomd -vendor/etc/gpfspath_oem_config.xml -vendor/etc/init/qseecomd.rc -vendor/lib/mediadrm/libwvdrmengine.so -vendor/lib/libbase64.so -vendor/lib/libcpion.so -vendor/lib/libdrmfs.so -vendor/lib/libdrmtime.so -vendor/lib/libGPreqcancel.so -vendor/lib/libGPreqcancel_svc.so -vendor/lib/libhdcpsrm.so -vendor/lib/libops.so -vendor/lib/libqisl.so -vendor/lib/libQSEEComAPI.so -vendor/lib/librmp.so -vendor/lib/librpmb.so -vendor/lib/libsecureui.so -vendor/lib/libsecureui_svcsock.so -vendor/lib/libSecureUILib.so -vendor/lib/libspl.so -vendor/lib/libssd.so -vendor/lib/libStDrvInt.so -vendor/lib/libtzdrmgenprov.so -vendor/lib64/mediadrm/libwvdrmengine.so -vendor/lib64/libbase64.so -vendor/lib64/libcpion.so -vendor/lib64/libdrmfs.so -vendor/lib64/libdrmtime.so -vendor/lib64/libGPreqcancel.so -vendor/lib64/libGPreqcancel_svc.so -vendor/lib64/libhdcpsrm.so -vendor/lib64/libops.so -vendor/lib64/libqisl.so -vendor/lib64/libQSEEComAPI.so -vendor/lib64/librmp.so -vendor/lib64/librpmb.so -vendor/lib64/libsecureui.so -vendor/lib64/libsecureui_svcsock.so -vendor/lib64/libSecureUILib.so -vendor/lib64/libspl.so -vendor/lib64/libssd.so -vendor/lib64/libStDrvInt.so -vendor/lib64/libtzdrmgenprov.so - -# DRM - from sunfish RP1A.200720.010 -vendor/bin/hw/android.hardware.drm@1.3-service.widevine|75103a18355966370895526dc9afb6adff4b755b -vendor/etc/init/android.hardware.drm@1.3-service.widevine.rc|c35e1a6f9a6faff19064a81e07c4be82ceaf4bb5 -vendor/lib64/libwvhidl.so|68d257f6c4b409f71f80c231789d9951f71308a8 --vendor/etc/vintf/manifest/manifest_android.hardware.drm@1.3-service.widevine.xml|ebebcf8f367641480cf7d512fc06e6ab777527be - -# ESE-Powermanager -vendor/bin/hw/vendor.qti.esepowermanager@1.0-service -vendor/etc/init/vendor.qti.esepowermanager@1.0-service.rc -vendor/lib/hw/vendor.qti.esepowermanager@1.0-impl.so -vendor/lib/vendor.qti.esepowermanager@1.0.so -vendor/lib64/hw/vendor.qti.esepowermanager@1.0-impl.so -vendor/lib64/vendor.qti.esepowermanager@1.0.so - -# Fingerprint -vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service -vendor/etc/init/android.hardware.biometrics.fingerprint@2.1-service.rc -vendor/firmware/goodix_cfg_group.bin -vendor/firmware/goodix_firmware.bin -vendor/lib/vendor.qti.hardware.fingerprint@1.0.so -vendor/lib64/hw/fingerprint.default.so -vendor/lib64/libgf_hal.so -vendor/lib64/libvendor.goodix.hardware.biometrics.fingerprint@2.1.so -vendor/lib64/vendor.goodix.extend.service@2.0.so -vendor/lib64/vendor.qti.hardware.fingerprint@1.0.so - -# FM --product/lib/vendor.qti.hardware.fm@1.0.so --product/lib64/vendor.qti.hardware.fm@1.0.so -system/lib/fm_helium.so -system/lib/libfm-hci.so -system/lib64/fm_helium.so -system/lib64/libfm-hci.so -vendor/bin/fm_qsoc_patches -vendor/lib/hw/vendor.qti.hardware.fm@1.0-impl.so -vendor/lib/vendor.qti.hardware.fm@1.0.so -vendor/lib64/hw/vendor.qti.hardware.fm@1.0-impl.so -vendor/lib64/vendor.qti.hardware.fm@1.0.so - -# Gatekeeper -vendor/bin/hw/android.hardware.gatekeeper@1.0-service-qti -vendor/etc/init/android.hardware.gatekeeper@1.0-service-qti.rc -vendor/lib/hw/android.hardware.gatekeeper@1.0-impl-qti.so -vendor/lib64/hw/android.hardware.gatekeeper@1.0-impl-qti.so - -# GPS -vendor/bin/hw/android.hardware.gnss@2.0-service-qti -vendor/bin/garden_app -vendor/bin/loc_launcher -vendor/bin/lowi-server -vendor/bin/mlid -vendor/bin/slim_daemon -vendor/bin/xtra-daemon -vendor/bin/xtwifi-client -vendor/bin/xtwifi-inet-agent -vendor/etc/init/android.hardware.gnss@2.0-service-qti.rc --vendor/etc/vintf/manifest/android.hardware.gnss@2.0-service-qti.xml --vendor/etc/vintf/manifest/vendor.qti.gnss@3.0-service.xml -vendor/etc/cacert_location.pem -vendor/etc/xtra_root_cert.pem -vendor/lib/hw/android.hardware.gnss@2.0-impl-qti.so -vendor/lib/hw/vendor.qti.gnss@3.0-impl.so -vendor/lib/libbatching.so -vendor/lib/libgarden.so -vendor/lib/libgeofencing.so -vendor/lib/libgnss.so -vendor/lib/libgnsspps.so -vendor/lib/libgps.utils.so -vendor/lib/libizat_client_api.so -vendor/lib/libizat_core.so -vendor/lib/libloc_core.so -vendor/lib/liblocation_api.so -vendor/lib/libslimclient.so -vendor/lib/vendor.qti.gnss@3.0-service.so -vendor/lib64/hw/android.hardware.gnss@2.0-impl-qti.so -vendor/lib64/hw/vendor.qti.gnss@3.0-impl.so -vendor/lib64/libbatching.so -vendor/lib64/libdataitems.so -vendor/lib64/libgarden.so -vendor/lib64/libgarden_haltests_e2e.so -vendor/lib64/libgdtap.so -vendor/lib64/libgeofencing.so -vendor/lib64/libgnss.so -vendor/lib64/libgnsspps.so -vendor/lib64/libgps.utils.so -vendor/lib64/libizat_client_api.so -vendor/lib64/libizat_core.so -vendor/lib64/liblbs_core.so -vendor/lib64/libloc_api_v02.so -vendor/lib64/libloc_core.so -vendor/lib64/libloc_socket.so -vendor/lib64/liblocation_api.so -vendor/lib64/liblocationservice.so -vendor/lib64/liblocationservice_glue.so -vendor/lib64/liblowi_client.so -vendor/lib64/liblowi_wifihal.so -vendor/lib64/libslimclient.so -vendor/lib64/libxtadapter.so -vendor/lib64/vendor.qti.gnss@3.0-service.so - -# Graphics -vendor/lib/egl/eglSubDriverAndroid.so -vendor/lib/egl/libEGL_adreno.so -vendor/lib/egl/libGLESv1_CM_adreno.so -vendor/lib/egl/libGLESv2_adreno.so -vendor/lib/egl/libq3dtools_adreno.so -vendor/lib/egl/libq3dtools_esx.so -vendor/lib/egl/libQTapGLES.so -vendor/lib/hw/vulkan.msmnile.so -vendor/lib/libadreno_utils.so -vendor/lib/libC2D2.so -vendor/lib/libc2d30_bltlib.so -vendor/lib/libCB.so -vendor/lib/libgsl.so -vendor/lib/libllvm-glnext.so -vendor/lib/libllvm-qcom.so -vendor/lib/libOpenCL.so -vendor/lib64/egl/eglSubDriverAndroid.so -vendor/lib64/egl/libEGL_adreno.so -vendor/lib64/egl/libGLESv1_CM_adreno.so -vendor/lib64/egl/libGLESv2_adreno.so -vendor/lib64/egl/libq3dtools_adreno.so -vendor/lib64/egl/libq3dtools_esx.so -vendor/lib64/egl/libQTapGLES.so -vendor/lib64/hw/vulkan.msmnile.so -vendor/lib64/libadreno_utils.so -vendor/lib64/libC2D2.so -vendor/lib64/libc2d30_bltlib.so -vendor/lib64/libCB.so -vendor/lib64/libgsl.so -vendor/lib64/libllvm-glnext.so -vendor/lib64/libllvm-qcom.so -vendor/lib64/libOpenCL.so - -# Graphics firmware -vendor/firmware/a630_gmu.bin -vendor/firmware/a630_sqe.fw -vendor/firmware/a640_gmu.bin -vendor/firmware/a640_zap.b00 -vendor/firmware/a640_zap.b01 -vendor/firmware/a640_zap.b02 -vendor/firmware/a640_zap.elf -vendor/firmware/a640_zap.mdt -vendor/firmware/leia_pfp_470.fw -vendor/firmware/leia_pm4_470.fw - -# HBTP -vendor/etc/hbtp/hbtpcfg_sdm855_801s_4k.dat -vendor/etc/hbtp/loader.cfg -vendor/etc/hbtp/qtc801s.bin -vendor/lib/libhbtpclient.so -vendor/lib/libhbtpdsp.so -vendor/lib/libhbtpfrmwk.so -vendor/lib64/libhbtpclient.so -vendor/lib64/libhbtpdsp.so -vendor/lib64/libhbtpfrmwk.so - -# Input -system/etc/excluded-input-devices.xml - -# IO Prefetcher -vendor/bin/hw/vendor.qti.hardware.iop@2.0-service -vendor/etc/init/vendor.qti.hardware.iop@2.0-service.rc -vendor/lib/hw/vendor.qti.hardware.iop@2.0-impl.so -vendor/lib/libqti-iopd-client.so -vendor/lib/libqti-iopd.so -vendor/lib/vendor.qti.hardware.iop@1.0.so -vendor/lib/vendor.qti.hardware.iop@2.0.so -vendor/lib64/hw/vendor.qti.hardware.iop@2.0-impl.so -vendor/lib64/libqti-iopd-client.so -vendor/lib64/libqti-iopd.so -vendor/lib64/vendor.qti.hardware.iop@1.0.so -vendor/lib64/vendor.qti.hardware.iop@2.0.so - -# IPA Firmware -vendor/firmware/ipa_fws.b00 -vendor/firmware/ipa_fws.b01 -vendor/firmware/ipa_fws.b02 -vendor/firmware/ipa_fws.b03 -vendor/firmware/ipa_fws.b04 -vendor/firmware/ipa_fws.elf -vendor/firmware/ipa_fws.mdt -vendor/firmware/ipa_uc.b00 -vendor/firmware/ipa_uc.b01 -vendor/firmware/ipa_uc.b02 -vendor/firmware/ipa_uc.elf -vendor/firmware/ipa_uc.mdt - -# Keystore -vendor/bin/hw/android.hardware.keymaster@3.0-service-qti -vendor/bin/hw/android.hardware.keymaster@4.0-service-qti -vendor/bin/hw/android.hardware.keymaster@4.0-strongbox-service-qti -vendor/etc/init/android.hardware.keymaster@4.0-service-qti.rc -vendor/lib/hw/android.hardware.keymaster@3.0-impl-qti.so -vendor/lib/libkeymasterdeviceutils.so -vendor/lib/libkeymasterprovision.so -vendor/lib/libkeymasterutils.so -vendor/lib/libqtikeymaster4.so -vendor/lib/libspcom.so -vendor/lib64/hw/android.hardware.keymaster@3.0-impl-qti.so -vendor/lib64/libkeymasterdeviceutils.so -vendor/lib64/libkeymasterprovision.so -vendor/lib64/libkeymasterutils.so -vendor/lib64/libqtikeymaster4.so -vendor/lib64/libspcom.so - -# Latency -product/framework/vendor.qti.hardware.data.latency-V1.0-java.jar -product/framework/vendor.qti.latency-V2.0-java.jar -product/lib/vendor.qti.hardware.data.latency@1.0.so -product/lib/vendor.qti.latency@2.0.so -product/lib64/vendor.qti.hardware.data.latency@1.0.so -product/lib64/vendor.qti.latency@2.0.so -vendor/lib/vendor.qti.hardware.data.latency@1.0.so -vendor/lib/vendor.qti.latency@2.0.so -vendor/lib64/vendor.qti.hardware.data.latency@1.0.so -vendor/lib64/vendor.qti.latency@2.0.so - -# Listen -vendor/lib/libadpcmdec.so -vendor/lib/libcapiv2svacnn.so -vendor/lib/libcapiv2vop.so -vendor/lib/libgcs-calwrapper.so -vendor/lib/libgcs-ipc.so -vendor/lib/libgcs-osal.so -vendor/lib/libgcs.so -vendor/lib/liblistensoundmodel2.so -vendor/lib/libmulawdec.so -vendor/lib/libjnihelper.so -vendor/lib64/libcapiv2svacnn.so -vendor/lib64/libcapiv2vop.so -vendor/lib64/libgcs-calwrapper.so -vendor/lib64/libgcs-ipc.so -vendor/lib64/libgcs-osal.so -vendor/lib64/libgcs.so -vendor/lib64/liblistensoundmodel2.so -vendor/lib64/libmulawdec.so -vendor/lib64/libjnihelper.so - -# Media -product/lib/vendor.qti.hardware.vpp@1.1.so -product/lib64/vendor.qti.hardware.vpp@1.1.so -system/lib/libFileMux.so -system/lib/libmmosal.so -system/lib/libOmxMux.so -system/lib64/libFileMux.so -system/lib64/libmmosal.so -system/lib64/libOmxMux.so -vendor/bin/hw/vendor.qti.media.c2@1.0-service -vendor/bin/vppservice -vendor/etc/configstore/vpp.configstore.xml -vendor/etc/init/vendor.qti.media.c2@1.0-service.rc -vendor/etc/init/vppservice.rc -vendor/lib/libAlacSwDec.so -vendor/lib/libApeSwDec.so -vendor/lib/libdsd2pcm.so -vendor/lib/libFlacSwDec.so -vendor/lib/libI420colorconvert.so -vendor/lib/libmm-color-convertor.so -vendor/lib/libmmosal_proprietary.so -vendor/lib/libmmparser_lite_proprietary.so -vendor/lib/libMpeg4SwEncoder.so -vendor/lib/libOmxAacDec.so -vendor/lib/libOmxAlacDec.so -vendor/lib/libOmxAlacDecSw.so -vendor/lib/libOmxAmrDec.so -vendor/lib/libOmxAmrwbplusDec.so -vendor/lib/libOmxApeDec.so -vendor/lib/libOmxApeDecSw.so -vendor/lib/libOmxDsdDec.so -vendor/lib/libOmxEvrcDec.so -vendor/lib/libOmxG711Dec.so -vendor/lib/libOmxMux_proprietary.so -vendor/lib/libOmxQcelp13Dec.so -vendor/lib/libOmxSwVdec.so -vendor/lib/libOmxSwVencMpeg4.so -vendor/lib/libOmxVideoDSMode.so -vendor/lib/libOmxVpp.so -vendor/lib/libOmxWmaDec.so -vendor/lib/libqcbor.so -vendor/lib/libstagefright_soft_ac4dec.so -vendor/lib/libstagefright_soft_ddpdec.so -vendor/lib/libstagefright_soft_qtiflacdec.so -vendor/lib/libvppclient.so -vendor/lib/libvpphcp.so -vendor/lib/libvpphvx.so -vendor/lib/libvpplibrary.so -vendor/lib/libvpptestutils.so -vendor/lib/vendor.qti.hardware.vpp@1.1.so -vendor/lib/vendor.qti.hardware.vpp@1.2.so -vendor/lib/vendor.qti.hardware.vpp@1.3.so -vendor/lib64/libAlacSwDec.so -vendor/lib64/libApeSwDec.so -vendor/lib64/libFlacSwDec.so -vendor/lib64/libI420colorconvert.so -vendor/lib64/libmm-color-convertor.so -vendor/lib64/libmmosal_proprietary.so -vendor/lib64/libmmparser_lite_proprietary.so -vendor/lib64/libMpeg4SwEncoder.so -vendor/lib64/libOmxAacDec.so -vendor/lib64/libOmxAlacDec.so -vendor/lib64/libOmxAlacDecSw.so -vendor/lib64/libOmxAmrDec.so -vendor/lib64/libOmxAmrwbplusDec.so -vendor/lib64/libOmxApeDec.so -vendor/lib64/libOmxApeDecSw.so -vendor/lib64/libOmxEvrcDec.so -vendor/lib64/libOmxG711Dec.so -vendor/lib64/libOmxQcelp13Dec.so -vendor/lib64/libOmxSwVdec.so -vendor/lib64/libOmxSwVencMpeg4.so -vendor/lib64/libOmxVpp.so -vendor/lib64/libOmxWmaDec.so -vendor/lib64/libstagefright_soft_qtiflacdec.so -vendor/lib64/libvppclient.so -vendor/lib64/libvpphcp.so -vendor/lib64/libvpphvx.so -vendor/lib64/libvpplibrary.so -vendor/lib64/libvpptestutils.so -vendor/lib64/vendor.qti.hardware.vpp@1.1.so -vendor/lib64/vendor.qti.hardware.vpp@1.2.so -vendor/lib64/vendor.qti.hardware.vpp@1.3.so - -# Media - from coral - coral-user-11-RP1A.200720.009-6720564-release-keys -vendor/lib/libmedia_ecoservice.so|5abf4c780196b5945ca701fd30a8f64ed47f4fdd -vendor/lib/libqcodec2.so|c163e469736259078b3e7909373f52ea4bc60657 -vendor/lib64/libmedia_ecoservice.so|3ea4a8a5b7bc0b14496d62695f9c67277e150017 -vendor/lib64/libqcodec2.so|992757f9809b798fea033e0bdafe08ad6f7814c3 - -# Neural-networks -vendor/bin/hw/android.hardware.neuralnetworks@1.2-service-qti -vendor/etc/init/android.hardware.neuralnetworks@1.2-service-qti.rc -vendor/lib64/libhexagon_nn_stub.so -vendor/lib64/unnhal-acc-adreno.so -vendor/lib64/unnhal-acc-common.so -vendor/lib64/unnhal-acc-hta.so -vendor/lib64/unnhal-acc-hvx.so - -# Perf --vendor/app/pasrservice/pasrservice.apk -vendor/bin/hw/vendor.qti.hardware.perf@2.0-service -vendor/bin/hw/vendor.qti.power.pasrmanager@1.0-service -vendor/bin/msm_irqbalance -vendor/etc/init/vendor.qti.hardware.perf@2.0-service.rc -vendor/etc/init/vendor.qti.power.pasrmanager@1.0-service.rc -vendor/etc/lm/AppClassifierFeature.xml -vendor/etc/perf/commonresourceconfigs.xml -vendor/etc/perf/perfboostsconfig.xml -vendor/etc/perf/perfconfigstore.xml -vendor/etc/perf/targetconfig.xml -vendor/etc/perf/targetresourceconfigs.xml -vendor/etc/powerhint.xml -vendor/lib/hw/vendor.qti.power.pasrmanager@1.0-impl.so -vendor/lib/libperfconfig.so -vendor/lib/libperfgluelayer.so -vendor/lib/libqti-perfd-client.so -vendor/lib/libqti-perfd.so -vendor/lib/libqti-util.so -vendor/lib/libqti-utils.so -vendor/lib/vendor.qti.hardware.perf@2.0.so -vendor/lib64/hw/vendor.qti.power.pasrmanager@1.0-impl.so -vendor/lib64/libadaptlaunch.so -vendor/lib64/libappclassifier.so -vendor/lib64/libgameoptfeature.so -vendor/lib64/liblearningmodule.so -vendor/lib64/libmeters-ns.so -vendor/lib64/libmeters.so -vendor/lib64/libperfconfig.so -vendor/lib64/libperfgluelayer.so -vendor/lib64/libqti-perfd-client.so -vendor/lib64/libqti-perfd.so -vendor/lib64/libqti-util.so -vendor/lib64/libqti-utils.so -vendor/lib64/vendor.qti.hardware.perf@2.0.so -vendor/lib64/vendor.qti.power.pasrmanager@1.0.so - -# Peripheral manager -vendor/bin/pm-proxy -vendor/bin/pm-service -vendor/lib/libperipheral_client.so -vendor/lib64/libperipheral_client.so - -# Qualcomm Hardware Factory -vendor/bin/hw/vendor.qti.hardware.factory@1.0-service -vendor/etc/init/vendor.qti.hardware.factory@1.0-service.rc -vendor/etc/permissions/vendor.qti.hardware.factory.xml -vendor/lib64/vendor.qti.hardware.factory@1.0.so -vendor/lib64/vendor.qti.hardware.factory@1.1.so - -# Qualcomm MSM Interface -system/etc/permissions/qti_permissions.xml -vendor/bin/irsc_util -vendor/bin/pd-mapper -vendor/lib/libdiag.so -vendor/lib/libdsutils.so -vendor/lib/libidl.so -vendor/lib/libminkdescriptor.so -vendor/lib/libqcci_legacy.so -vendor/lib/libqdi.so -vendor/lib/libqdp.so -vendor/lib/libqmi.so -vendor/lib/libqmi_cci.so -vendor/lib/libqmi_client_helper.so -vendor/lib/libqmi_client_qmux.so -vendor/lib/libqmi_common_so.so -vendor/lib/libqmi_csi.so -vendor/lib/libqmi_encdec.so -vendor/lib/libqmiservices.so -vendor/lib64/libdiag.so -vendor/lib64/libdsutils.so -vendor/lib64/libidl.so -vendor/lib64/libminkdescriptor.so -vendor/lib64/libqcci_legacy.so -vendor/lib64/libqdi.so -vendor/lib64/libqdp.so -vendor/lib64/libqmi.so -vendor/lib64/libqmi_cci.so -vendor/lib64/libqmi_client_helper.so -vendor/lib64/libqmi_client_qmux.so -vendor/lib64/libqmi_common_so.so -vendor/lib64/libqmi_csi.so -vendor/lib64/libqmi_encdec.so -vendor/lib64/libqmiservices.so - -# Qualcomm Trusted Execution Environment -vendor/bin/hw/vendor.qti.hardware.qteeconnector@1.0-service -vendor/etc/init/vendor.qti.hardware.qteeconnector@1.0-service.rc -vendor/lib/hw/vendor.qti.hardware.qteeconnector@1.0-impl.so -vendor/lib/libGPQTEEC_vendor.so -vendor/lib/libGPTEE_vendor.so -vendor/lib/libQTEEConnector_vendor.so -vendor/lib/vendor.qti.hardware.qteeconnector@1.0.so -vendor/lib64/hw/vendor.qti.hardware.qteeconnector@1.0-impl.so -vendor/lib64/libGPQTEEC_vendor.so -vendor/lib64/libGPTEE_vendor.so -vendor/lib64/libQTEEConnector_vendor.so -vendor/lib64/vendor.qti.hardware.qteeconnector@1.0.so - -# Radio --product/app/atfwd/atfwd.apk --product/app/QtiTelephonyService/QtiTelephonyService.apk -product/etc/permissions/embms.xml -product/etc/permissions/qcrilhook.xml -product/etc/permissions/telephonyservice.xml -product/etc/permissions/telephony_product_privapp-permissions-qti.xml -product/framework/embmslibrary.jar -product/framework/qcrilhook.jar -product/framework/QtiTelephonyServicelibrary.jar --product/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk -system/etc/permissions/privapp-permissions-qti.xml -system/etc/sysconfig/qti_whitelist.xml --vendor/app/IWlanService/IWlanService.apk -vendor/bin/hw/qcrild -vendor/bin/adpl -vendor/bin/ATFWD-daemon -vendor/bin/diag_mdlog -vendor/bin/ipacm-diag -vendor/bin/netmgrd -vendor/bin/port-bridge -vendor/bin/qrtr-cfg -vendor/bin/qrtr-ns -vendor/bin/qti -vendor/bin/rmt_storage -vendor/bin/tftp_server -vendor/etc/data/dsi_config.xml -vendor/etc/data/netmgr_config.xml -vendor/etc/init/netmgrd.rc -vendor/etc/init/qcrild.rc -vendor/etc/init/ipa_fws.rc -vendor/etc/init/ipacm-diag.rc -vendor/etc/init/port-bridge.rc -vendor/etc/init/dataadpl.rc -vendor/etc/init/dataqti.rc -vendor/etc/init/init-qcril-data.rc -vendor/lib/lib-rtpcommon.so -vendor/lib/lib-rtpcore.so -vendor/lib/lib-rtpsl.so -vendor/lib/lib-siputility.so -vendor/lib/lib-uceservice.so -vendor/lib/libmdmdetect.so -vendor/lib/libnlnetmgr.so -vendor/lib/qtibus.so -vendor/lib/qtimutex.so -vendor/lib/qcrild_librilutils.so -vendor/lib64/libconfigdb.so -vendor/lib64/libdsi_netctrl.so -vendor/lib64/liblqe.so -vendor/lib64/libmdmdetect.so -vendor/lib64/libnetmgr.so -vendor/lib64/libnetmgr_common.so -vendor/lib64/libnetmgr_nr_fusion.so -vendor/lib64/libnetmgr_rmnet_ext.so -vendor/lib64/libnlnetmgr.so -vendor/lib64/libpdmapper.so -vendor/lib64/libpdnotifier.so -vendor/lib64/libqcmaputils.so -vendor/lib64/libqcrilFramework.so -vendor/lib64/libqcbor.so -vendor/lib64/libqcrildatactl.so -vendor/lib64/libqdma_file_agent.so -vendor/lib64/libqmi_csvt_srvc.so -vendor/lib64/libqsap_sdk.so -vendor/lib64/libqrtr.so -vendor/lib64/libqsocket.so -vendor/lib64/libril-qc-hal-qmi.so -vendor/lib64/libril-qc-ltedirectdisc.so -vendor/lib64/libril-qc-qmi-1.so -vendor/lib64/libril-qc-radioconfig.so -vendor/lib64/libril-qcril-hook-oem.so -vendor/lib64/librilqmiservices.so -vendor/lib64/libsettings.so -vendor/lib64/libsystem_health_mon.so -vendor/lib64/qcrild_librilutils.so -vendor/lib64/qtibus.so -vendor/lib64/qtimutex.so -vendor/lib64/vendor.qti.hardware.data.cne.internal.api@1.0.so -vendor/lib64/vendor.qti.hardware.data.cne.internal.constants@1.0.so -vendor/lib64/vendor.qti.hardware.data.cne.internal.server@1.0.so -vendor/lib64/vendor.qti.hardware.data.connection@1.0.so -vendor/lib64/vendor.qti.hardware.data.connection@1.1.so -vendor/lib64/vendor.qti.hardware.data.iwlan@1.0.so -vendor/lib64/vendor.qti.hardware.radio.am@1.0.so -vendor/lib64/vendor.qti.hardware.radio.atcmdfwd@1.0.so -vendor/lib64/vendor.qti.hardware.radio.lpa@1.0.so -vendor/lib64/vendor.qti.hardware.radio.qcrilhook@1.0.so -vendor/lib64/vendor.qti.hardware.radio.qtiradio@1.0.so -vendor/lib64/vendor.qti.hardware.radio.qtiradio@2.0.so -vendor/lib64/vendor.qti.hardware.radio.qtiradio@2.1.so -vendor/lib64/vendor.qti.hardware.radio.qtiradio@2.2.so -vendor/lib64/vendor.qti.hardware.radio.qtiradio@2.3.so -vendor/lib64/vendor.qti.hardware.radio.uim@1.0.so -vendor/lib64/vendor.qti.hardware.radio.uim@1.1.so -vendor/lib64/vendor.qti.hardware.radio.uim@1.2.so -vendor/lib64/vendor.qti.hardware.radio.uim_remote_client@1.0.so -vendor/lib64/vendor.qti.hardware.radio.uim_remote_client@1.1.so -vendor/lib64/vendor.qti.hardware.radio.uim_remote_server@1.0.so -vendor/radio/qcril_database/qcril.db -vendor/radio/qcril_database/upgrade/0_initial.sql -vendor/radio/qcril_database/upgrade/1_version_intro.sql -vendor/radio/qcril_database/upgrade/2_version_add_wps_config.sql -vendor/radio/qcril_database/upgrade/3_version_update_wps_config.sql -vendor/radio/qcril_database/upgrade/4_version_update_ecc_table.sql - -# Radio - IMS --product/app/uceShimService/uceShimService.apk -product/etc/permissions/com.qualcomm.qti.imscmservice-V2.0-java.xml -product/etc/permissions/com.qualcomm.qti.imscmservice-V2.1-java.xml -product/etc/permissions/com.qualcomm.qti.imscmservice-V2.2-java.xml -product/etc/permissions/vendor.qti.hardware.data.connection-V1.0-java.xml -product/etc/permissions/vendor.qti.hardware.data.connection-V1.1-java.xml -product/framework/com.qualcomm.qti.imscmservice-V2.0-java.jar -product/framework/com.qualcomm.qti.imscmservice-V2.1-java.jar -product/framework/com.qualcomm.qti.imscmservice-V2.2-java.jar -product/lib/com.qualcomm.qti.imscmservice@1.0.so -product/lib/com.qualcomm.qti.imscmservice@2.0.so -product/lib/com.qualcomm.qti.imscmservice@2.1.so -product/lib/com.qualcomm.qti.imscmservice@2.2.so -product/lib/com.qualcomm.qti.uceservice@2.0.so -product/lib/lib-imsvideocodec.so -product/lib/lib-imsvt.so -product/lib/lib-imsvtextutils.so -product/lib/lib-imsvtutils.so -product/lib/libimscamera_jni.so -product/lib/libimsmedia_jni.so -product/lib/vendor.qti.hardware.radio.ims@1.0.so -product/lib/vendor.qti.hardware.radio.ims@1.1.so -product/lib/vendor.qti.hardware.radio.ims@1.2.so -product/lib/vendor.qti.hardware.radio.ims@1.3.so -product/lib/vendor.qti.hardware.radio.ims@1.4.so -product/lib/vendor.qti.ims.callinfo@1.0.so -product/lib/vendor.qti.ims.rcsconfig@1.0.so -product/lib/vendor.qti.imsrtpservice@2.0.so -product/lib/vendor.qti.imsrtpservice@2.1.so -product/lib64/com.qualcomm.qti.imscmservice@1.0.so -product/lib64/com.qualcomm.qti.imscmservice@2.0.so -product/lib64/com.qualcomm.qti.imscmservice@2.1.so -product/lib64/com.qualcomm.qti.imscmservice@2.2.so -product/lib64/com.qualcomm.qti.uceservice@2.0.so -product/lib64/lib-imsvideocodec.so -product/lib64/lib-imsvt.so -product/lib64/lib-imsvtextutils.so -product/lib64/lib-imsvtutils.so -product/lib64/libimscamera_jni.so -product/lib64/libimsmedia_jni.so -product/lib64/vendor.qti.hardware.radio.ims@1.0.so -product/lib64/vendor.qti.hardware.radio.ims@1.1.so -product/lib64/vendor.qti.hardware.radio.ims@1.2.so -product/lib64/vendor.qti.hardware.radio.ims@1.3.so -product/lib64/vendor.qti.hardware.radio.ims@1.4.so -product/lib64/vendor.qti.ims.callinfo@1.0.so -product/lib64/vendor.qti.ims.rcsconfig@1.0.so -product/lib64/vendor.qti.imsrtpservice@2.0.so -product/lib64/vendor.qti.imsrtpservice@2.1.so --product/priv-app/ims/ims.apk|da04e0fe234c87599b9877efcd87b546f8879b52 -system/etc/permissions/com.qualcomm.qti.imscmservice.xml -system/lib/libdiag_system.so -system/lib/libmmrtpdecoder.so -system/lib/libmmrtpencoder.so -system/lib64/libdiag_system.so -system/lib64/libmmrtpdecoder.so -system/lib64/libmmrtpencoder.so -vendor/bin/ims_rtp_daemon -vendor/bin/imsdatadaemon -vendor/bin/imsqmidaemon -vendor/bin/imsrcsd -vendor/etc/init/ims_rtp_daemon.rc -vendor/etc/init/imsdatadaemon.rc -vendor/etc/init/imsqmidaemon.rc -vendor/etc/init/imsrcsd.rc -vendor/lib/com.qualcomm.qti.imscmservice@1.0.so -vendor/lib/com.qualcomm.qti.imscmservice@2.0.so -vendor/lib/com.qualcomm.qti.imscmservice@2.1.so -vendor/lib/com.qualcomm.qti.imscmservice@2.2.so -vendor/lib/com.qualcomm.qti.uceservice@2.0.so -vendor/lib/com.qualcomm.qti.uceservice@2.1.so -vendor/lib/lib-imscmservice.so -vendor/lib/lib-imsdpl.so -vendor/lib/lib-imsqimf.so -vendor/lib/lib-imsrcs-v2.so -vendor/lib/lib-imsrcsbaseimpl.so -vendor/lib/lib-imsvtcore.so -vendor/lib/lib-imsxml.so -vendor/lib/librcc.so -vendor/lib/vendor.qti.imsrtpservice@2.0.so -vendor/lib/vendor.qti.imsrtpservice@2.1.so -vendor/lib64/com.qualcomm.qti.imscmservice@1.0.so -vendor/lib64/com.qualcomm.qti.imscmservice@2.0.so -vendor/lib64/com.qualcomm.qti.imscmservice@2.1.so -vendor/lib64/com.qualcomm.qti.imscmservice@2.2.so -vendor/lib64/com.qualcomm.qti.uceservice@2.0.so -vendor/lib64/com.qualcomm.qti.uceservice@2.1.so -vendor/lib64/lib-imscmservice.so -vendor/lib64/lib-imsdpl.so -vendor/lib64/lib-imsqimf.so -vendor/lib64/lib-imsrcs-v2.so -vendor/lib64/lib-imsrcsbaseimpl.so -vendor/lib64/lib-imsvtcore.so -vendor/lib64/lib-imsxml.so -vendor/lib64/lib-rtpcommon.so -vendor/lib64/lib-rtpcore.so -vendor/lib64/lib-rtpsl.so -vendor/lib64/lib-siputility.so -vendor/lib64/lib-uceservice.so -vendor/lib64/librcc.so -vendor/lib64/vendor.qti.hardware.radio.ims@1.0.so -vendor/lib64/vendor.qti.hardware.radio.ims@1.1.so -vendor/lib64/vendor.qti.hardware.radio.ims@1.2.so -vendor/lib64/vendor.qti.hardware.radio.ims@1.3.so -vendor/lib64/vendor.qti.hardware.radio.ims@1.4.so -vendor/lib64/vendor.qti.hardware.radio.ims@1.5.so -vendor/lib64/vendor.qti.hardware.radio.ims@1.6.so -vendor/lib64/vendor.qti.ims.callinfo@1.0.so -vendor/lib64/vendor.qti.ims.rcsconfig@1.0.so -vendor/lib64/vendor.qti.imsrtpservice@2.0.so -vendor/lib64/vendor.qti.imsrtpservice@2.1-service-Impl.so -vendor/lib64/vendor.qti.imsrtpservice@2.1.so - -# Sensors -vendor/bin/hw/vendor.qti.hardware.sensorscalibrate@1.0-service -vendor/bin/sensors.qti -vendor/bin/sscrpcd -vendor/etc/init/vendor.qti.hardware.sensorscalibrate@1.0-service.rc -vendor/etc/permissions/vendor-qti-hardware-sensorscalibrate.xml -vendor/etc/sensors/hals.conf -vendor/lib/hw/vendor.qti.hardware.sensorscalibrate@1.0-impl.so -vendor/lib/libsensorcal.so -vendor/lib/libsensorslog.so -vendor/lib/libssc.so -vendor/lib/sensors.ssc.so -vendor/lib/libsnsdiaglog.so -vendor/lib/libssc_default_listener.so -vendor/lib/vendor.qti.hardware.sensorscalibrate@1.0.so -vendor/lib64/hw/vendor.qti.hardware.sensorscalibrate@1.0-impl.so -vendor/lib64/libsensorcal.so -vendor/lib64/libsensorslog.so -vendor/lib64/libssc.so -vendor/lib64/sensors.ssc.so -vendor/lib64/libsnsdiaglog.so -vendor/lib64/libssc_default_listener.so -vendor/lib64/vendor.qti.hardware.sensorscalibrate@1.0.so - -# Sensor configs -vendor/etc/sensors/config/ak991x_dri_0.json -vendor/etc/sensors/config/icm4x6xx_0.json -vendor/etc/sensors/config/mn26xxx_0.json -vendor/etc/sensors/config/mn58xxx_0.json -vendor/etc/sensors/config/msmnile_ak991x_0_zippo.json -vendor/etc/sensors/config/msmnile_icm4x6xx_0_zippo.json -vendor/etc/sensors/config/msmnile_irq.json -vendor/etc/sensors/config/msmnile_mn26xxx_0.json -vendor/etc/sensors/config/msmnile_mn58xxx_0.json -vendor/etc/sensors/config/msmnile_power_0.json -vendor/etc/sensors/config/sns_amd.json -vendor/etc/sensors/config/sns_amd_sw_disabled.json -vendor/etc/sensors/config/sns_amd_sw_enabled.json -vendor/etc/sensors/config/sns_aont.json -vendor/etc/sensors/config/sns_basic_gestures.json -vendor/etc/sensors/config/sns_bring_to_ear.json -vendor/etc/sensors/config/sns_ccd.json -vendor/etc/sensors/config/sns_ccd_v2_walk.json -vendor/etc/sensors/config/sns_ccd_v3_walk.json -vendor/etc/sensors/config/sns_cm.json -vendor/etc/sensors/config/sns_dae.json -vendor/etc/sensors/config/sns_device_orient.json -vendor/etc/sensors/config/sns_diag_filter.json -vendor/etc/sensors/config/sns_distance_bound.json -vendor/etc/sensors/config/sns_dpc.json -vendor/etc/sensors/config/sns_facing.json -vendor/etc/sensors/config/sns_fmv.json -vendor/etc/sensors/config/sns_geomag_rv.json -vendor/etc/sensors/config/sns_gyro_cal.json -vendor/etc/sensors/config/sns_heart_rate.json -vendor/etc/sensors/config/sns_mag_cal.json -vendor/etc/sensors/config/sns_mag_cal_legacy.json -vendor/etc/sensors/config/sns_multishake.json -vendor/etc/sensors/config/sns_pedometer.json -vendor/etc/sensors/config/sns_rmd.json -vendor/etc/sensors/config/sns_rotv.json -vendor/etc/sensors/config/sns_smd.json -vendor/etc/sensors/config/sns_tilt.json -vendor/etc/sensors/config/sns_tilt_sw_disabled.json -vendor/etc/sensors/config/sns_tilt_sw_enabled.json -vendor/etc/sensors/config/sns_tilt_to_wake.json -vendor/etc/sensors/config/sns_wrist_pedo.json -vendor/etc/sensors/sns_reg_config - -# Sensors HAL -system/lib/android.hardware.sensors@1.0.so -system/lib/android.hardware.sensors@2.0.so -system/lib64/android.hardware.sensors@1.0.so -system/lib64/android.hardware.sensors@2.0.so -vendor/bin/hw/android.hardware.sensors@2.0-service -vendor/etc/init/android.hardware.sensors@2.0-service.rc -vendor/lib/android.hardware.sensors@2.0-impl.so -vendor/lib64/android.hardware.sensors@2.0-impl.so - -# Snapdragon Computer Vision Engine -product/lib/vendor.qti.hardware.scve.objecttracker@1.0-adapter-helper.so -product/lib/vendor.qti.hardware.scve.objecttracker@1.0.so -product/lib/vendor.qti.hardware.scve.panorama@1.0-adapter-helper.so -product/lib/vendor.qti.hardware.scve.panorama@1.0.so -product/lib64/vendor.qti.hardware.scve.objecttracker@1.0-adapter-helper.so -product/lib64/vendor.qti.hardware.scve.objecttracker@1.0.so -product/lib64/vendor.qti.hardware.scve.panorama@1.0-adapter-helper.so -product/lib64/vendor.qti.hardware.scve.panorama@1.0.so -vendor/bin/hw/vendor.qti.hardware.scve.objecttracker@1.0-service -vendor/bin/hw/vendor.qti.hardware.scve.panorama@1.0-service -vendor/etc/init/vendor.qti.hardware.scve.objecttracker@1.0-service.rc -vendor/etc/init/vendor.qti.hardware.scve.panorama@1.0-service.rc -vendor/lib/hw/vendor.qti.hardware.scve.objecttracker@1.0-impl.so -vendor/lib/hw/vendor.qti.hardware.scve.panorama@1.0-impl.so -vendor/lib/libfastcvdsp_stub.so -vendor/lib/libfastcvopt.so -vendor/lib/libscveBlobDescriptor.so -vendor/lib/libscveCommon.so -vendor/lib/libscveCommon_stub.so -vendor/lib/libscveObjectSegmentation.so -vendor/lib/libscveObjectTracker.so -vendor/lib/libscvePanorama.so -vendor/lib/vendor.qti.hardware.scve.objecttracker@1.0-halimpl.so -vendor/lib/vendor.qti.hardware.scve.objecttracker@1.0.so -vendor/lib/vendor.qti.hardware.scve.panorama@1.0-halimpl.so -vendor/lib/vendor.qti.hardware.scve.panorama@1.0.so -vendor/lib64/hw/vendor.qti.hardware.scve.objecttracker@1.0-impl.so -vendor/lib64/hw/vendor.qti.hardware.scve.panorama@1.0-impl.so -vendor/lib64/libfastcvdsp_stub.so -vendor/lib64/libfastcvopt.so -vendor/lib64/libscveBlobDescriptor.so -vendor/lib64/libscveCommon.so -vendor/lib64/libscveCommon_stub.so -vendor/lib64/libscveObjectSegmentation.so -vendor/lib64/libscveObjectTracker.so -vendor/lib64/libscvePanorama.so -vendor/lib64/vendor.qti.hardware.scve.objecttracker@1.0.so -vendor/lib64/vendor.qti.hardware.scve.panorama@1.0.so - -# Soter -product/framework/vendor.qti.hardware.soter-V1.0-java.jar -product/lib64/vendor.qti.hardware.soter@1.0.so --system/app/SoterService/SoterService.apk -vendor/bin/hw/vendor.qti.hardware.soter@1.0-service -vendor/etc/init/vendor.qti.hardware.soter@1.0-service.rc -vendor/lib64/hw/vendor.qti.hardware.soter@1.0-impl.so -vendor/lib64/vendor.qti.hardware.soter@1.0.so - -# Thermal -vendor/bin/thermal-engine -vendor/etc/thermal-engine.conf -vendor/lib/libthermalclient.so -vendor/lib64/libthermalclient.so - -# Time services --vendor/app/TimeService/TimeService.apk;PRESIGNED -vendor/bin/time_daemon -vendor/lib64/libtime_genoff.so - -# Trusted User Interface -vendor/bin/hw/vendor.qti.hardware.tui_comm@1.0-service-qti -vendor/etc/init/vendor.qti.hardware.tui_comm@1.0-service-qti.rc -vendor/lib/vendor.qti.hardware.tui_comm@1.0.so -vendor/lib64/vendor.qti.hardware.tui_comm@1.0.so - -# WiFi -vendor/bin/cnss-daemon -vendor/etc/wifi/aoa_cldb_falcon.bin -vendor/etc/wifi/aoa_cldb_swl14.bin -vendor/lib/libaoa.so -vendor/lib64/libaoa.so - -# WiFi firmware -vendor/firmware/bdwlan_zippo.bin - -# WiFi Display - from qssi_NX627J-user-11-RKQ1.200826.002-nubia.20201029.204053-release-keys -system_ext/bin/wfdservice|91f6e2d58de9354a694d3b3da6e6d224dd7e47c1 -system_ext/etc/init/wfdservice.rc|aab7aecb01c359fd521c99957c4d5bfd16a8dfae -system_ext/lib/libmmosal.so|175c890c965a14043777000cd2cfc20264b04810 -system_ext/lib/libmmparser_lite.so|1812793df6a1bb43cad27ea019f384b61564fcd0 -system_ext/lib/libmmrtpdecoder.so|e50c35366bd428ac29e8a828cfd6b22aa08a0a55 -system_ext/lib/libmmrtpencoder.so|5614934db1f7302b91abf5ed123132b346b24038 -system_ext/lib/libwfdclient.so|7bf903d0e977431e4f86cfcfe840999d10deefbe -system_ext/lib/libwfdcommonutils.so|f6aabfd8ef7c661e84812216edf6092b125250ae -system_ext/lib/libwfdmminterface.so|afa080acc6a3e342ff644b021e8b76a42f5bbe2b -system_ext/lib/libwfdmmsink.so|d93149b2341a66126a59e162be726a2068ea2474 -system_ext/lib/libwfdrtsp.so|51121e273a69cf7a4c9de3ed51f4922fe60f74e3 -system_ext/lib/libwfdsinksm.so|6020e560c4c111a6755013fe89228d6217c3861f -system_ext/lib/libwfduibcinterface.so|a4e34e4c2fa1f7a5af56113c8483626662948e05 -system_ext/lib/libwfduibcsink.so|e0e290869138a80bb809e591cb3a33735466138b -system_ext/lib/libwfduibcsinkinterface.so|cf19cfc1080c2ea8125b95256d043436ecd651c4 -system_ext/lib/libwfduibcsrc.so|1c0f49a5a6313552535ec55b0a4245b3f9556573 -system_ext/lib/libwfduibcsrcinterface.so|1a39040b4257407cc35a54e4c98362840af4c0d3 -system_ext/lib/vendor.qti.hardware.wifidisplaysession@1.0.so|48815a18144f60747555bb93650726206c54323f -system_ext/lib64/libmmosal.so|24aa480c4f96b5db5c46bf1fa0d1d90a607f0120 -system_ext/lib64/libmmparser_lite.so|3012efd40d54974c1cb191083bf492b512a831f4 -system_ext/lib64/libmmrtpdecoder.so|5f468a1a97b28fa5212205e57b849605d5cb6b10 -system_ext/lib64/libmmrtpencoder.so|42b99f85469607c6c03d3701885e5f198305b971 -system_ext/lib64/libwfdclient.so|10a9765d53018a9dd95f1e2ed331fbe3cf1ab746 -system_ext/lib64/libwfdcommonutils.so|90727e49b05fd1176aed7cfadf65934563572b75 -system_ext/lib64/libwfdmminterface.so|5a47d276642b360e9dd476dc904ea733e0073cf9 -system_ext/lib64/libwfdmmsink.so|998cbc30cbacfda59e332832878a9077757847e4 -system_ext/lib64/libwfdrtsp.so|2619c654aade078e2024074071cf3093a58aabd7 -system_ext/lib64/libwfdsinksm.so|bdd43d9eb6b5a9c896658cdf28665441f1360bdb -system_ext/lib64/libwfduibcinterface.so|63aa1dfda67601419aeee9ee3ffdb2e51e6baae2 -system_ext/lib64/libwfduibcsink.so|a6cc8e4cb5135a28e1e17e3abe2da2b67daf70a8 -system_ext/lib64/libwfduibcsinkinterface.so|86477d60d65229e83046a9d60f984a6c8d3cede5 -system_ext/lib64/libwfduibcsrc.so|f15233e28b2c6faf2272be393e9068898b64bd6b -system_ext/lib64/libwfduibcsrcinterface.so|b95ff44eeca6d7823acb296bb9a9b15c2a272dfb -system_ext/lib64/vendor.qti.hardware.wifidisplaysession@1.0.so|6810d41bb161d6fd1ea74317ecf7924a44eeb8f6 --system/framework/WfdCommon.jar|aa7470dd5ccb2e2c695fd54c3aff01d21e2d7472 -vendor/bin/wfdvndservice|1a8d7363ef8e1d1c9b719d4d55762f17fcc3a5f9 -vendor/bin/wifidisplayhalservice|6d3d6471959dcd32100a0748518b93ad748399f8 -vendor/etc/init/com.qualcomm.qti.wifidisplayhal@1.0-service.rc|576ce4393b7746b77a230745aa9e9ee3bd31b17d -vendor/etc/init/wfdvndservice.rc|42e28fb8e0bf00620d7b9939b5bd3164ca671033 -vendor/etc/seccomp_policy/wfdhdcphalservice.policy|a489ab323be4be2df3de9f84a6b5e6cef924f4c4 -vendor/etc/seccomp_policy/wfdvndservice.policy|b46f0c22a1f9b65c6750205e161c0a3f84ac716b -vendor/etc/seccomp_policy/wifidisplayhalservice.policy|f113f27e0e301a18baf0ade08c23071a27c7dc52 -vendor/etc/wfdconfig.xml|9e13371f7ae509cc0bbb3f2ace93c5ea5d87bf0f -vendor/lib/libFileMux_proprietary.so|34d6727b02f1a7898e58451769a9db1151d4b872 -vendor/lib/libmmosal.so|bc3378f26f668c3060174a6abc8e7a640dd9730d -vendor/lib/libmmrtpdecoder_proprietary.so|6961014e8c6bf6d239248e2eb00abab1f94591c2 -vendor/lib/libmmrtpencoder_proprietary.so|bb9b24108645b146045b3116d94b9a5ee7f99897 -vendor/lib/libwfdaac_vendor.so|dd6c4da4eeecfc69f87a48b2628cd4738ada3e5d -vendor/lib/libwfdcodecv4l2_proprietary.so|44cee5801d543df39823c03305fda4da391efd5e -vendor/lib/libwfdcommonutils_proprietary.so|4db21e26ee963db622ffcfe65cda1684a84f6749 -vendor/lib/libwfdconfigutils_proprietary.so|f132f05a7a589298c69b45f90bffe6e8c676590f -vendor/lib/libwfddisplayconfig_proprietary.so|d7b1377155ff575fbd804a6daf146f80b815f463 -vendor/lib/libwfdmminterface_proprietary.so|0228a54c958bf190564e3e870853f50a8119cf27 -vendor/lib/libwfdmmservice_proprietary.so|d9d9543bdbda52ad1a8fdadd6ffc357e54bc7325 -vendor/lib/libwfdmmsrc_proprietary.so|86286361416d00f25bbfba0d86ab814c32fec15c -vendor/lib/libwfdrtsp_proprietary.so|98fb4e5d3d4910d6ebf0ee4178fd718df9bf8029 -vendor/lib/libwfdsessionmodule.so|74cc04948b26e448da39f570595aa0f12c97f0ca -vendor/lib/libwfdsourcesession_proprietary.so|5ec4b16536d582edc53a709caf346e77a9604187 -vendor/lib/libwfdsourcesm_proprietary.so|a7a27f917bc5ee6bb5f496d41b042fd357c9f010 -vendor/lib/libwfduibcinterface_proprietary.so|3ad20d7a34bf4190ee8958f5d3dd94c0a55d061a -vendor/lib/libwfduibcsink_proprietary.so|4b85d0c9bdfa5bba547d1d520a1aa87b5d96c4a4 -vendor/lib/libwfduibcsinkinterface_proprietary.so|e791008b56b50711ff918a5f541c2e7c263d2da3 -vendor/lib/libwfduibcsrc_proprietary.so|d32641921507bded7af884e8d66ab6ba66ede054 -vendor/lib/libwfduibcsrcinterface_proprietary.so|0512c6ae4e9356f4c923913f1d1cadb5c804cab7 -vendor/lib/libwfdutils_proprietary.so|083ecf4bd940f4574ae39319c4e310c5fc78be76 -vendor/lib/vendor.qti.hardware.wifidisplaysession@1.0.so|fdec0b67d1900c354bb47eb311ae318e420baa19 -vendor/lib/vendor.qti.hardware.wifidisplaysessionl@1.0-halimpl.so|0d10d27ad15c67e4721ef1ba47ac8ada480a6610 - -# WiFi Display - HDCP - from qssi_NX627J-user-11-RKQ1.200826.002-nubia.20201029.204053-release-keys -vendor/bin/wfdhdcphalservice|047b81f6902ec29606dc72443dc74b58e83153b2 -vendor/etc/init/android.hardware.drm@1.1-service.wfdhdcp.rc|c266f08783a17f6583e3f22c85e55b0c200442ea -vendor/lib64/libhdcp1prov.so|d8d58cbf3e28dec36fb205d585c1fda3f3029d3b -vendor/lib64/libhdcp2p2prov.so|60e33d628d3d2f0c9c3f33526d971e2a8256cea0 -vendor/lib64/libmm-hdcpmgr.so|3956d47a9a519e3ccb263dc92cdba2363820ab6a -vendor/lib64/libwfdhdcpcp.so|cf7fc0f87ab5be744bf2565608528f654d7b0f94 -vendor/lib/libhdcp1prov.so|e838dfa6fb80c175ec61f6ced5b5617fcc1bd31a -vendor/lib/libhdcp2p2prov.so|dd1a01872f6c35126bf5e2e3699d2ae861e7ae38 -vendor/lib/libmm-hdcpmgr.so|f3a68aff6a051231b580303e2f875f3ca44f21aa -vendor/lib/libwfdhdcpcp.so|496c3223b53521bc37bcda5d12bd192c54525c53 -vendor/lib/libwfdhdcpservice_proprietary.so|c86b5f45cb38b0787a551a0fe0d226be24005ea9 -vendor/lib/libwfdmodulehdcpsession.so|4a737bad7ce87eb550f17ea9864bfe596636f1ec diff --git a/releasetools.py b/releasetools.py deleted file mode 100644 index 7ebc92c..0000000 --- a/releasetools.py +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright (C) 2009 The Android Open Source Project -# Copyright (C) 2019 The Mokee Open Source Project -# Copyright (C) 2019 The LineageOS Open Source Project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -import common -import re - -def FullOTA_InstallEnd(info): - OTA_InstallEnd(info) - return - -def IncrementalOTA_InstallEnd(info): - OTA_InstallEnd(info) - return - -def AddImage(info, basename, dest): - name = basename - data = info.input_zip.read("IMAGES/" + basename) - common.ZipWriteStr(info.output_zip, name, data) - info.script.AppendExtra('package_extract_file("%s", "%s");' % (name, dest)) - -def OTA_InstallEnd(info): - info.script.Print("Patching firmware images...") - AddImage(info, "vbmeta.img", "/dev/block/bootdevice/by-name/vbmeta") - AddImage(info, "dtbo.img", "/dev/block/bootdevice/by-name/dtbo") - return diff --git a/rootdir/Android.mk b/rootdir/Android.mk deleted file mode 100644 index b82ba17..0000000 --- a/rootdir/Android.mk +++ /dev/null @@ -1,218 +0,0 @@ -LOCAL_PATH := $(call my-dir) - -include $(CLEAR_VARS) -LOCAL_MODULE := fstab.qcom -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := etc/fstab.qcom -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC) -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := init.class_main.sh -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := bin/init.class_main.sh -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES) -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := init.crda.sh -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := bin/init.crda.sh -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES) -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := init.mdm.sh -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := bin/init.mdm.sh -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES) -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := init.qcom.class_core.sh -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := bin/init.qcom.class_core.sh -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES) -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := init.qcom.coex.sh -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := bin/init.qcom.coex.sh -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES) -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := init.qcom.crashdata.sh -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := bin/init.qcom.crashdata.sh -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES) -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := init.qcom.early_boot.sh -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := bin/init.qcom.early_boot.sh -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES) -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := init.qcom.efs.sync.sh -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := bin/init.qcom.efs.sync.sh -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES) -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := init.qcom.sdio.sh -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := bin/init.qcom.sdio.sh -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES) -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := init.qcom.sensors.sh -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := bin/init.qcom.sensors.sh -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES) -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := init.qcom.post_boot.sh -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := bin/init.qcom.post_boot.sh -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES) -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := init.qcom.sh -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := bin/init.qcom.sh -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES) -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := init.qcom.usb.sh -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := bin/init.qcom.usb.sh -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES) -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := init.qti.fm.sh -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := bin/init.qti.fm.sh -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES) -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := init.qti.ims.sh -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := bin/init.qti.ims.sh -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES) -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := init.lenovo.common.rc -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := etc/init.lenovo.common.rc -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := init.lenovo.rc -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := etc/init.lenovo.rc -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := init.lenovo.usb.configfs.rc -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := etc/init.lenovo.usb.configfs.rc -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := init.msm.usb.configfs.rc -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := etc/init.msm.usb.configfs.rc -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := init.qcom.factory.rc -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := etc/init.qcom.factory.rc -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := init.qcom.rc -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := etc/init.qcom.rc -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := init.qcom.usb.rc -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := etc/init.qcom.usb.rc -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := init.recovery.qcom.rc -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := etc/init.recovery.qcom.rc -LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT) -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := init.target.rc -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := etc/init.target.rc -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := init.qcom.performance.rc -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := etc/init.qcom.performance.rc -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := ueventd.qcom.rc -LOCAL_MODULE_STEM := ueventd.rc -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := ueventd.rc -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR) -include $(BUILD_PREBUILT) diff --git a/rootdir/bin/init.class_main.sh b/rootdir/bin/init.class_main.sh deleted file mode 100644 index 00c5a28..0000000 --- a/rootdir/bin/init.class_main.sh +++ /dev/null @@ -1,162 +0,0 @@ -#! /vendor/bin/sh - -# Copyright (c) 2013-2014, 2019 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. -# - -# -# start ril-daemon only for targets on which radio is present -# -baseband=`getprop ro.baseband` -sgltecsfb=`getprop persist.vendor.radio.sglte_csfb` -datamode=`getprop persist.vendor.data.mode` -rild_status=`getprop init.svc.ril-daemon` -vendor_rild_status=`getprop init.svc.vendor.ril-daemon` - -case "$baseband" in - "apq" | "sda" | "qcs" ) - setprop ro.vendor.radio.noril yes - if [ -n "$rild_status" ] || [ -n "$vendor_rild_status" ]; then - stop ril-daemon - stop vendor.ril-daemon - fi -esac - -case "$baseband" in - "msm" | "csfb" | "svlte2a" | "mdm" | "mdm2" | "sglte" | "sglte2" | "dsda2" | "unknown" | "dsda3" | "sdm" | "sdx" | "sm6") - - if [ -f /vendor/firmware_mnt/verinfo/ver_info.txt ]; then - modem=`cat /vendor/firmware_mnt/verinfo/ver_info.txt | - sed -n 's/^[^:]*modem[^:]*:[[:blank:]]*//p' | - sed 's/.*MPSS.\(.*\)/\1/g' | cut -d \. -f 1` - # Check if this is AT 3.0 or below. If so, start ril-daemon - if [ "$modem" = "AT" ]; then - version=`cat /vendor/firmware_mnt/verinfo/ver_info.txt | - sed -n 's/^[^:]*modem[^:]*:[[:blank:]]*//p' | - sed 's/.*AT.\(.*\)/\1/g' | cut -d \- -f 1` - if [ ! -z $version ]; then - if [ "$version" \< "3.1" ]; then - # For OTA targets, ril-daemon will be defined and for new vendor.ril-daemon - # To keep this script agnostic,start both of them as only valid one will start. - start ril-daemon - start vendor.ril-daemon - fi - fi - # For older than TA 3.0 start ril-daemon - elif [ "$modem" = "TA" ]; then - version=`cat /vendor/firmware_mnt/verinfo/ver_info.txt | - sed -n 's/^[^:]*modem[^:]*:[[:blank:]]*//p' | - sed 's/.*TA.\(.*\)/\1/g' | cut -d \- -f 1` - if [ ! -z $version ]; then - if [ "$version" \< "3.0" ]; then - # For OTA targets, ril-daemon will be defined and for new vendor.ril-daemon - # To keep this script agnostic,start both of them as only valid one will start. - start ril-daemon - start vendor.ril-daemon - fi - fi - # For older than JO 3.2 start ril-daemon - elif [ "$modem" = "JO" ]; then - version=`cat /vendor/firmware_mnt/verinfo/ver_info.txt | - sed -n 's/^[^:]*modem[^:]*:[[:blank:]]*//p' | - sed 's/.*JO.\(.*\)/\1/g' | cut -d \- -f 1` - if [ ! -z $version ]; then - if [ "$version" \< "3.2" ]; then - # For OTA targets, ril-daemon will be defined and for new vendor.ril-daemon - # To keep this script agnostic,start both of them as only valid one will start. - start ril-daemon - start vendor.ril-daemon - fi - fi - else - start ril-daemon - start vendor.ril-daemon - fi - fi - - # Get ril-daemon status again to ensure that we have latest info - rild_status=`getprop init.svc.ril-daemon` - vendor_rild_status=`getprop init.svc.vendor.ril-daemon` - - if [[ -z "$rild_status" || "$rild_status" = "stopped" ]] && [[ -z "$vendor_rild_status" || "$vendor_rild_status" = "stopped" ]]; then - start vendor.qcrild - fi - case "$baseband" in - "svlte2a" | "csfb") - start qmiproxy - ;; - "sglte" | "sglte2" ) - if [ "x$sgltecsfb" != "xtrue" ]; then - start qmiproxy - else - setprop persist.vendor.radio.voice.modem.index 0 - fi - ;; - esac - - multisim=`getprop persist.radio.multisim.config` - - if [ "$multisim" = "dsds" ] || [ "$multisim" = "dsda" ]; then - if [[ -z "$rild_status" || "$rild_status" = "stopped" ]] && [[ -z "$vendor_rild_status" || "$vendor_rild_status" = "stopped" ]]; then - start vendor.qcrild2 - else - start vendor.ril-daemon2 - fi - elif [ "$multisim" = "tsts" ]; then - if [[ -z "$rild_status" || "$rild_status" = "stopped" ]] && [[ -z "$vendor_rild_status" || "$vendor_rild_status" = "stopped" ]]; then - start vendor.qcrild2 - start vendor.qcrild3 - else - start vendor.ril-daemon2 - start vendor.ril-daemon3 - fi - fi - - case "$datamode" in - "tethered") - start vendor.dataqti - start vendor.dataadpl - ;; - "concurrent") - start vendor.dataqti - start vendor.dataadpl - ;; - *) - ;; - esac -esac - -# -# Allow persistent faking of bms -# User needs to set fake bms charge in persist.vendor.bms.fake_batt_capacity -# -fake_batt_capacity=`getprop persist.vendor.bms.fake_batt_capacity` -case "$fake_batt_capacity" in - "") ;; #Do nothing here - * ) - echo "$fake_batt_capacity" > /sys/class/power_supply/battery/capacity - ;; -esac diff --git a/rootdir/bin/init.crda.sh b/rootdir/bin/init.crda.sh deleted file mode 100644 index 4264789..0000000 --- a/rootdir/bin/init.crda.sh +++ /dev/null @@ -1,35 +0,0 @@ -#! /vendor/bin/sh - -# Copyright (c) 2012, 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. -# - -country=`getprop wlan.crda.country` -# crda takes input in COUNTRY environment variable -if [ $country != "" ] -then -COUNTRY="$country" /system/bin/crda -fi diff --git a/rootdir/bin/init.mdm.sh b/rootdir/bin/init.mdm.sh deleted file mode 100644 index 3ed7ed5..0000000 --- a/rootdir/bin/init.mdm.sh +++ /dev/null @@ -1,34 +0,0 @@ -#! /vendor/bin/sh - -# Copyright (c) 2013, 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 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. -# - -baseband=`getprop ro.baseband` -if [ "$baseband" = "mdm" ] || [ "$baseband" = "mdm2" ]; then - start vendor.mdm_helper -fi - diff --git a/rootdir/bin/init.qcom.class_core.sh b/rootdir/bin/init.qcom.class_core.sh deleted file mode 100644 index 8f8265d..0000000 --- a/rootdir/bin/init.qcom.class_core.sh +++ /dev/null @@ -1,216 +0,0 @@ -#!/vendor/bin/sh - -# Copyright (c) 2012-2013, 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. -# - -# Set platform variables -target=`getprop ro.board.platform` -if [ -f /sys/devices/soc0/hw_platform ]; then - soc_hwplatform=`cat /sys/devices/soc0/hw_platform` 2> /dev/null -else - soc_hwplatform=`cat /sys/devices/system/soc/soc0/hw_platform` 2> /dev/null -fi -if [ -f /sys/devices/soc0/soc_id ]; then - soc_hwid=`cat /sys/devices/soc0/soc_id` 2> /dev/null -else - soc_hwid=`cat /sys/devices/system/soc/soc0/id` 2> /dev/null -fi -if [ -f /sys/devices/soc0/platform_version ]; then - soc_hwver=`cat /sys/devices/soc0/platform_version` 2> /dev/null -else - soc_hwver=`cat /sys/devices/system/soc/soc0/platform_version` 2> /dev/null -fi - - -# Dynamic Memory Managment (DMM) provides a sys file system to the userspace -# that can be used to plug in/out memory that has been configured as unstable. -# This unstable memory can be in Active or In-Active State. -# Each of which the userspace can request by writing to a sys file. -# -# ro.dev.dmm = 1; Indicates that DMM is enabled in the Android User Space. This -# property is set in the Android system properties file. -# -# If ro.dev.dmm.dpd.start_address is set here then the target has a memory -# configuration that supports DynamicMemoryManagement. -init_DMM() -{ - block=-1 - - case "$target" in - "msm7630_surf" | "msm7630_1x" | "msm7630_fusion" | "msm8960") - ;; - *) - return - ;; - esac - - mem="/sys/devices/system/memory" - op=`cat $mem/movable_start_bytes` - case "$op" in - "0") - log -p i -t DMM DMM Disabled. movable_start_bytes not set: $op - ;; - - "$mem/movable_start_bytes: No such file or directory ") - log -p i -t DMM DMM Disabled. movable_start_bytes does not exist: $op - ;; - - *) - log -p i -t DMM DMM available. movable_start_bytes at $op - movable_start_bytes=0x`cat $mem/movable_start_bytes` - block_size_bytes=0x`cat $mem/block_size_bytes` - block=$((#${movable_start_bytes}/${block_size_bytes})) - - chown -h system.system $mem/memory$block/state - chown -h system.system $mem/probe - chown -h system.system $mem/active - chown -h system.system $mem/remove - - case "$target" in - "msm7630_surf" | "msm7630_1x" | "msm7630_fusion") - echo $movable_start_bytes > $mem/probe - case "$?" in - "0") - log -p i -t DMM $movable_start_bytes to physical hotplug succeeded. - ;; - *) - log -p e -t DMM $movable_start_bytes to physical hotplug failed. - return - ;; - esac - - echo online > $mem/memory$block/state - case "$?" in - "0") - log -p i -t DMM \'echo online\' to logical hotplug succeeded. - ;; - *) - log -p e -t DMM \'echo online\' to logical hotplug failed. - return - ;; - esac - ;; - esac - - setprop ro.dev.dmm.dpd.start_address $movable_start_bytes - setprop ro.dev.dmm.dpd.block $block - ;; - esac - - case "$target" in - "msm8960") - return - ;; - esac - - # For 7X30 targets: - # ro.dev.dmm.dpd.start_address is set when the target has a 2x256Mb memory - # configuration. This is also used to indicate that the target is capable of - # setting EBI-1 to Deep Power Down or Self Refresh. - op=`cat $mem/low_power_memory_start_bytes` - case "$op" in - "0") - log -p i -t DMM Self-Refresh-Only Disabled. low_power_memory_start_bytes not set:$op - ;; - "$mem/low_power_memory_start_bytes No such file or directory ") - log -p i -t DMM Self-Refresh-Only Disabled. low_power_memory_start_bytes does not exist:$op - ;; - *) - log -p i -t DMM Self-Refresh-Only available. low_power_memory_start_bytes at $op - ;; - esac -} - -# -# For controlling console and shell on console on 8960 - perist.serial.enable 8960 -# On other target use default ro.debuggable property. -# -serial=`getprop persist.serial.enable` -dserial=`getprop ro.debuggable` -case "$target" in - "msm8960") - case "$serial" in - "0") - echo 0 > /sys/devices/platform/msm_serial_hsl.0/console - ;; - "1") - echo 1 > /sys/devices/platform/msm_serial_hsl.0/console - start console - ;; - *) - case "$dserial" in - "1") - start console - ;; - esac - ;; - esac - ;; - - "msm8610" | "msm8974" | "msm8226") - case "$serial" in - "0") - echo 0 > /sys/devices/f991f000.serial/console - ;; - "1") - echo 1 > /sys/devices/f991f000.serial/console - start console - ;; - *) - case "$dserial" in - "1") - start console - ;; - esac - ;; - esac - ;; - *) - case "$dserial" in - "1") - start console - ;; - esac - ;; -esac - -case "$target" in - "msm7630_surf" | "msm7630_1x" | "msm7630_fusion") - insmod /system/lib/modules/ss_mfcinit.ko - insmod /system/lib/modules/ss_vencoder.ko - insmod /system/lib/modules/ss_vdecoder.ko - chmod -h 0666 /dev/ss_mfc_reg - chmod -h 0666 /dev/ss_vdec - chmod -h 0666 /dev/ss_venc - - init_DMM - ;; - - "msm8960") - init_DMM - ;; -esac diff --git a/rootdir/bin/init.qcom.coex.sh b/rootdir/bin/init.qcom.coex.sh deleted file mode 100644 index a9a22f1..0000000 --- a/rootdir/bin/init.qcom.coex.sh +++ /dev/null @@ -1,115 +0,0 @@ -#! /vendor/bin/sh - -# Copyright (c) 2009-2010, 2012, 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. - -LOG_TAG="qcom-bt-wlan-coex" -LOG_NAME="${0}:" - -coex_pid="" -ath_wlan_supported=`getprop wlan.driver.ath` - -loge () -{ - /system/bin/log -t $LOG_TAG -p e "$LOG_NAME $@" -} - -logi () -{ - /system/bin/log -t $LOG_TAG -p i "$LOG_NAME $@" -} - -failed () -{ - loge "$1: exit code $2" - exit $2 -} - -start_coex () -{ - case "$ath_wlan_supported" in - "2") - echo "ATH WLAN Chip ID AR6004 is enabled" - /system/bin/abtfilt -d -z -n -m -a -w wlan0 & - ;; - "1") - echo "ATH WLAN Chip ID is enabled" - # Must have -d -z -n -v -s -w wlan0 parameters for atheros btfilter. - /system/bin/abtfilt -d -z -n -v -q -s -w wlan0 & - ;; - "0") - echo "WCN WLAN Chip ID is enabled" - # Must have -o turned on to avoid daemon (otherwise we cannot get pid) - /system/bin/btwlancoex -o $opt_flags & - ;; - *) - echo "NO WLAN Chip ID is enabled, so enabling ATH as default" - # Must have -d -z -n -v -s -w wlan0 parameters for atheros btfilter. - /system/bin/abtfilt -d -z -n -v -q -s -w wlan0 & - ;; - esac - coex_pid=$! - logi "start_coex: pid = $coex_pid" -} - -kill_coex () -{ - logi "kill_coex: pid = $coex_pid" - kill -TERM $coex_pid - # this shell doesn't exit now -- wait returns for normal exit -} - -# mimic coex options parsing -- maybe a waste of effort -USAGE="${0} [-o] [-c] [-r] [-i] [-h]" - -while getopts "ocrih" f -do - case $f in - o | c | r | i | h) opt_flags="$opt_flags -$f" ;; - \?) echo $USAGE; exit 1;; - esac -done - -# init does SIGTERM on ctl.stop for service -trap "kill_coex" TERM INT - -#Selectively start coex module -target=`getprop ro.board.platform` - -if [ "$target" == "msm8960" ] && [ "$ath_wlan_supported" != "2" ]; then - logi "btwlancoex/abtfilt is not needed" -else - # Build settings may not produce the coex executable - if ls /system/bin/btwlancoex || ls /system/bin/abtfilt - then - start_coex - wait $coex_pid - logi "Coex stopped" - else - logi "btwlancoex/abtfilt not available" - fi -fi -exit 0 diff --git a/rootdir/bin/init.qcom.crashdata.sh b/rootdir/bin/init.qcom.crashdata.sh deleted file mode 100644 index 59cf68d..0000000 --- a/rootdir/bin/init.qcom.crashdata.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/vendor/bin/sh -# Copyright (c) 2017, 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 "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. -# - -abnormalcnt="persist.vendor.crash.cnt" - -abnormal_cnt=`getprop $abnormalcnt` -crash_detect=`getprop persist.vendor.crash.detect` - -if [ "$abnormal_cnt" = "" ] -then -setprop $abnormalcnt 0 -fi - -if [ "$crash_detect" = "true" ] -then -abnormal_cnt=`expr $abnormal_cnt + 1` -setprop $abnormalcnt $abnormal_cnt -elif [ "$crash_detect" = "false" ];then -setprop persist.vendor.crash.detect true -else -setprop persist.vendor.crash.detect true -fi diff --git a/rootdir/bin/init.qcom.early_boot.sh b/rootdir/bin/init.qcom.early_boot.sh deleted file mode 100644 index 0fb0108..0000000 --- a/rootdir/bin/init.qcom.early_boot.sh +++ /dev/null @@ -1,449 +0,0 @@ -#! /vendor/bin/sh - -# Copyright (c) 2012-2013,2016,2018,2019 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. -# - -export PATH=/vendor/bin - -# Set platform variables -if [ -f /sys/devices/soc0/hw_platform ]; then - soc_hwplatform=`cat /sys/devices/soc0/hw_platform` 2> /dev/null -else - soc_hwplatform=`cat /sys/devices/system/soc/soc0/hw_platform` 2> /dev/null -fi -if [ -f /sys/devices/soc0/soc_id ]; then - soc_hwid=`cat /sys/devices/soc0/soc_id` 2> /dev/null -else - soc_hwid=`cat /sys/devices/system/soc/soc0/id` 2> /dev/null -fi -if [ -f /sys/devices/soc0/platform_version ]; then - soc_hwver=`cat /sys/devices/soc0/platform_version` 2> /dev/null -else - soc_hwver=`cat /sys/devices/system/soc/soc0/platform_version` 2> /dev/null -fi - -if [ -f /sys/class/drm/card0-DSI-1/modes ]; then - echo "detect" > /sys/class/drm/card0-DSI-1/status - mode_file=/sys/class/drm/card0-DSI-1/modes - while read line; do - fb_width=${line%%x*}; - break; - done < $mode_file -elif [ -f /sys/class/graphics/fb0/virtual_size ]; then - res=`cat /sys/class/graphics/fb0/virtual_size` 2> /dev/null - fb_width=${res%,*} -fi - -log -t BOOT -p i "MSM target '$1', SoC '$soc_hwplatform', HwID '$soc_hwid', SoC ver '$soc_hwver'" - -#For drm based display driver -vbfile=/sys/module/drm/parameters/vblankoffdelay -if [ -w $vbfile ]; then - echo -1 > $vbfile -else - log -t DRM_BOOT -p w "file: '$vbfile' or perms doesn't exist" -fi - -function set_density_by_fb() { - #put default density based on width - if [ -z $fb_width ]; then - setprop vendor.display.lcd_density 320 - else - if [ $fb_width -ge 1600 ]; then - setprop vendor.display.lcd_density 640 - elif [ $fb_width -ge 1440 ]; then - setprop vendor.display.lcd_density 560 - elif [ $fb_width -ge 1080 ]; then - setprop vendor.display.lcd_density 480 - elif [ $fb_width -ge 720 ]; then - setprop vendor.display.lcd_density 320 #for 720X1280 resolution - elif [ $fb_width -ge 480 ]; then - setprop vendor.display.lcd_density 240 #for 480X854 QRD resolution - else - setprop vendor.display.lcd_density 160 - fi - fi -} - -target=`getprop ro.board.platform` -case "$target" in - "msm7630_surf" | "msm7630_1x" | "msm7630_fusion") - case "$soc_hwplatform" in - "FFA" | "SVLTE_FFA") - # linking to surf_keypad_qwerty.kcm.bin instead of surf_keypad_numeric.kcm.bin so that - # the UI keyboard works fine. - ln -s /system/usr/keychars/surf_keypad_qwerty.kcm.bin /system/usr/keychars/surf_keypad.kcm.bin - ;; - "Fluid") - setprop vendor.display.lcd_density 240 - setprop qcom.bt.dev_power_class 2 - ;; - *) - ln -s /system/usr/keychars/surf_keypad_qwerty.kcm.bin /system/usr/keychars/surf_keypad.kcm.bin - ;; - esac - ;; - "sm6150") - case "$soc_hwplatform" in - "ADP") - setprop vendor.display.lcd_density 160 - ;; - esac - case "$soc_hwid" in - 365|366) - sku_ver=`cat /sys/devices/platform/soc/aa00000.qcom,vidc1/sku_version` 2> /dev/null - setprop vendor.media.target.version 1 - if [ $sku_ver -eq 1 ]; then - setprop vendor.media.target.version 2 - fi - ;; - 355|369|377|384) - setprop vendor.chre.enabled 0 - ;; - *) - esac - ;; - "msm8660") - case "$soc_hwplatform" in - "Fluid") - setprop vendor.display.lcd_density 240 - ;; - "Dragon") - setprop ro.sound.alsa "WM8903" - ;; - esac - ;; - - "msm8960") - # lcd density is write-once. Hence the separate switch case - case "$soc_hwplatform" in - "Liquid") - if [ "$soc_hwver" == "196608" ]; then # version 0x30000 is 3D sku - setprop ro.sf.hwrotation 90 - fi - - setprop vendor.display.lcd_density 160 - ;; - "MTP") - setprop vendor.display.lcd_density 240 - ;; - *) - case "$soc_hwid" in - "109") - setprop vendor.display.lcd_density 160 - ;; - *) - setprop vendor.display.lcd_density 240 - ;; - esac - ;; - esac - - #Set up composition type based on the target - case "$soc_hwid" in - 87) - #8960 - setprop debug.composition.type dyn - ;; - 153|154|155|156|157|138) - #8064 V2 PRIME | 8930AB | 8630AB | 8230AB | 8030AB | 8960AB - setprop debug.composition.type c2d - ;; - *) - esac - ;; - - "msm8974") - case "$soc_hwplatform" in - "Liquid") - setprop vendor.display.lcd_density 160 - # Liquid do not have hardware navigation keys, so enable - # Android sw navigation bar - setprop ro.hw.nav_keys 0 - ;; - "Dragon") - setprop vendor.display.lcd_density 240 - ;; - *) - setprop vendor.display.lcd_density 320 - ;; - esac - ;; - - "msm8226") - case "$soc_hwplatform" in - *) - setprop vendor.display.lcd_density 320 - ;; - esac - ;; - - "msm8610" | "apq8084" | "mpq8092") - case "$soc_hwplatform" in - *) - setprop vendor.display.lcd_density 240 - ;; - esac - ;; - "apq8084") - case "$soc_hwplatform" in - "Liquid") - setprop vendor.display.lcd_density 320 - # Liquid do not have hardware navigation keys, so enable - # Android sw navigation bar - setprop ro.hw.nav_keys 0 - ;; - "SBC") - setprop vendor.display.lcd_density 200 - # SBC do not have hardware navigation keys, so enable - # Android sw navigation bar - setprop qemu.hw.mainkeys 0 - ;; - *) - setprop vendor.display.lcd_density 480 - ;; - esac - ;; - "msm8996") - case "$soc_hwplatform" in - "Dragon") - setprop vendor.display.lcd_density 240 - setprop qemu.hw.mainkeys 0 - ;; - "ADP") - setprop vendor.display.lcd_density 160 - setprop qemu.hw.mainkeys 0 - ;; - "SBC") - setprop vendor.display.lcd_density 240 - setprop qemu.hw.mainkeys 0 - ;; - *) - setprop vendor.display.lcd_density 560 - ;; - esac - ;; - "msm8937" | "msm8940") - # Set vendor.opengles.version based on chip id. - # MSM8937 and MSM8940 variants supports OpenGLES 3.1 - # 196608 is decimal for 0x30000 to report version 3.0 - # 196609 is decimal for 0x30001 to report version 3.1 - # 196610 is decimal for 0x30002 to report version 3.2 - case "$soc_hwid" in - 294|295|296|297|298|313|353|354|363|364) - setprop vendor.opengles.version 196610 - if [ $soc_hwid = 354 ] - then - setprop vendor.media.target.version 1 - log -t BOOT -p i "SDM429 early_boot prop set for: HwID '$soc_hwid'" - fi - ;; - 303|307|308|309|320) - # Vulkan is not supported for 8917 variants - setprop vendor.opengles.version 196608 - setprop persist.graphics.vulkan.disable true - ;; - *) - setprop vendor.opengles.version 196608 - ;; - esac - ;; - "msm8909") - case "$soc_hwplatform" in - *) - setprop persist.graphics.vulkan.disable true - ;; - esac - ;; - "msm8998" | "apq8098_latv") - case "$soc_hwplatform" in - *) - setprop vendor.display.lcd_density 560 - ;; - esac - ;; - "sdm845") - case "$soc_hwplatform" in - *) - if [ $fb_width -le 1600 ]; then - setprop vendor.display.lcd_density 560 - else - setprop vendor.display.lcd_density 640 - fi - ;; - esac - ;; - "msmnile") - case "$soc_hwplatform" in - *) - if [ $fb_width -le 1600 ]; then - setprop vendor.display.lcd_density 560 - else - setprop vendor.display.lcd_density 640 - fi - ;; - esac - ;; - "kona") - case "$soc_hwplatform" in - *) - if [ $fb_width -le 1600 ]; then - setprop vendor.display.lcd_density 560 - else - setprop vendor.display.lcd_density 640 - fi - ;; - esac - ;; - "lito") - case "$soc_hwplatform" in - *) - sku_ver=`cat /sys/devices/platform/soc/aa00000.qcom,vidc1/sku_version` 2> /dev/null - if [ $sku_ver -eq 1 ]; then - setprop vendor.media.target.version 1 - fi - ;; - esac - ;; - "sdm710" | "msmpeafowl") - case "$soc_hwplatform" in - *) - sku_ver=`cat /sys/devices/platform/soc/aa00000.qcom,vidc1/sku_version` 2> /dev/null - if [ $sku_ver -eq 1 ]; then - setprop vendor.media.target.version 1 - fi - ;; - esac - ;; - "msm8953") - cap_ver = 1 - if [ -e "/sys/devices/platform/soc/1d00000.qcom,vidc/capability_version" ]; then - cap_ver=`cat /sys/devices/platform/soc/1d00000.qcom,vidc/capability_version` 2> /dev/null - else - cap_ver=`cat /sys/devices/soc/1d00000.qcom,vidc/capability_version` 2> /dev/null - fi - - if [ $cap_ver -eq 1 ]; then - setprop vendor.media.target.version 1 - fi - ;; - #Set property to differentiate SDM660 & SDM455 - #SOC ID for SDM455 is 385 - "sdm660") - case "$soc_hwid" in - 385) - setprop vendor.media.target.version 1 - esac - ;; -esac - -baseband=`getprop ro.baseband` -#enable atfwd daemon all targets except sda, apq, qcs -case "$baseband" in - "apq" | "sda" | "qcs" ) - setprop persist.vendor.radio.atfwd.start false;; - *) - setprop persist.vendor.radio.atfwd.start true;; -esac - -#set default lcd density -#Since lcd density has read only -#property, it will not overwrite previous set -#property if any target is setting forcefully. -set_density_by_fb - - -# set Lilliput LCD density for ADP -product=`getprop ro.build.product` - -case "$product" in - "msmnile_au") - setprop vendor.display.lcd_density 160 - echo 902400000 > /sys/class/devfreq/soc:qcom,cpu0-cpu-l3-lat/min_freq - echo 1612800000 > /sys/class/devfreq/soc:qcom,cpu0-cpu-l3-lat/max_freq - echo 902400000 > /sys/class/devfreq/soc:qcom,cpu4-cpu-l3-lat/min_freq - echo 1612800000 > /sys/class/devfreq/soc:qcom,cpu4-cpu-l3-lat/max_freq - ;; - *) - ;; -esac -case "$product" in - "sm6150_au") - setprop vendor.display.lcd_density 160 - ;; - *) - ;; -esac -# Setup display nodes & permissions -# HDMI can be fb1 or fb2 -# Loop through the sysfs nodes and determine -# the HDMI(dtv panel) - -function set_perms() { - #Usage set_perms - chown -h $2 $1 - chmod $3 $1 -} - -# check for the type of driver FB or DRM -fb_driver=/sys/class/graphics/fb0 -if [ -e "$fb_driver" ] -then - # check for mdp caps - file=/sys/class/graphics/fb0/mdp/caps - if [ -f "$file" ] - then - setprop vendor.gralloc.disable_ubwc 1 - cat $file | while read line; do - case "$line" in - *"ubwc"*) - setprop vendor.gralloc.enable_fb_ubwc 1 - setprop vendor.gralloc.disable_ubwc 0 - esac - done - fi -else - set_perms /sys/devices/virtual/hdcp/msm_hdcp/min_level_change system.graphics 0660 -fi - -# allow system_graphics group to access pmic secure_mode node -set_perms /sys/class/lcd_bias/secure_mode system.graphics 0660 -set_perms /sys/class/leds/wled/secure_mode system.graphics 0660 - -boot_reason=`cat /proc/sys/kernel/boot_reason` -reboot_reason=`getprop ro.boot.alarmboot` -if [ "$boot_reason" = "3" ] || [ "$reboot_reason" = "true" ]; then - setprop ro.vendor.alarm_boot true -else - setprop ro.vendor.alarm_boot false -fi - -# copy GPU frequencies to vendor property -if [ -f /sys/class/kgsl/kgsl-3d0/gpu_available_frequencies ]; then - gpu_freq=`cat /sys/class/kgsl/kgsl-3d0/gpu_available_frequencies` 2> /dev/null - setprop vendor.gpu.available_frequencies "$gpu_freq" -fi diff --git a/rootdir/bin/init.qcom.efs.sync.sh b/rootdir/bin/init.qcom.efs.sync.sh deleted file mode 100644 index 5e7bfa1..0000000 --- a/rootdir/bin/init.qcom.efs.sync.sh +++ /dev/null @@ -1,35 +0,0 @@ -#! /vendor/bin/sh - -# Copyright (c) 2012, 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 "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. -# -# - -PATH=/system/bin:$PATH -export PATH -cat /sys/devices/platform/rs300000a7.65536/force_sync -cat /sys/devices/platform/rs300100a7.65536/force_sync diff --git a/rootdir/bin/init.qcom.post_boot.sh b/rootdir/bin/init.qcom.post_boot.sh deleted file mode 100644 index 04df034..0000000 --- a/rootdir/bin/init.qcom.post_boot.sh +++ /dev/null @@ -1,58 +0,0 @@ -#! /vendor/bin/sh - -# Copyright (c) 2012-2013, 2016-2019, 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` - -# Post-setup services -case "$target" in - "msmnile" ) - setprop vendor.post_boot.parsed 1 - ;; -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 - -# Parse misc partition path and set property -misc_link=$(ls -l /dev/block/bootdevice/by-name/misc) -real_path=${misc_link##*>} -setprop persist.vendor.mmi.misc_dev_path $real_path diff --git a/rootdir/bin/init.qcom.sdio.sh b/rootdir/bin/init.qcom.sdio.sh deleted file mode 100644 index df77745..0000000 --- a/rootdir/bin/init.qcom.sdio.sh +++ /dev/null @@ -1,78 +0,0 @@ -#! /vendor/bin/sh - -# Copyright (c) 2010, 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 "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. -# - -# For successful WLAN card detection, WLAN needs SDIO polling turned on. -# This script can be used to turn on/off SDIO polling on appropriate -# SDIO slot on the MSM target (e.g. slot 3 on 7x30 surf). - -arg=$1 -target=`getprop ro.board.platform` - -case "$target" in - "msm7627_6x") - echo 1 > /sys/devices/platform/msm_sdcc.1/polling - echo 1 > /sys/devices/platform/msm_sdcc.2/polling - ;; - - "msm7627_ffa") - echo 1 > /sys/devices/platform/msm_sdcc.2/polling - ;; - - "msm7627_surf") - echo 1 > /sys/devices/platform/msm_sdcc.1/polling - echo 1 > /sys/devices/platform/msm_sdcc.2/polling - ;; - - "msm7627a") - echo 1 > /sys/devices/platform/msm_sdcc.2/polling - ;; - - "msm7630_surf") - echo 1 > /sys/devices/platform/msm_sdcc.3/polling - ;; - - "msm7630_1x") - echo 1 > /sys/devices/platform/msm_sdcc.3/polling - ;; - - "msm7630_fusion") - echo 1 > /sys/devices/platform/msm_sdcc.3/polling - ;; - - "msm8660") - echo 1 > /sys/devices/platform/msm_sdcc.4/polling - ;; - - "msm8660_csfb") - echo 1 > /sys/devices/platform/msm_sdcc.4/polling - ;; -esac - -exit 0 diff --git a/rootdir/bin/init.qcom.sensors.sh b/rootdir/bin/init.qcom.sensors.sh deleted file mode 100644 index daf7de2..0000000 --- a/rootdir/bin/init.qcom.sensors.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/vendor/bin/sh -# Copyright (c) 2015,2018 The Linux Foundation. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the name of The Linux Foundation nor -# the names of its contributors may be used to endorse or promote -# products derived from this software without specific prior written -# permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -# -# Function to start sensors for SSC enabled platforms -# -start_sensors() -{ - - chmod -h 664 /persist/sensors/sensors_settings - chown -h -R system.system /persist/sensors - start vendor.sensors.qti - - # Only for SLPI - if [ -c /dev/msm_dsps -o -c /dev/sensors ] ; then - start vendor.sensors - fi -} - -start_sensors diff --git a/rootdir/bin/init.qcom.sh b/rootdir/bin/init.qcom.sh deleted file mode 100644 index 37d2572..0000000 --- a/rootdir/bin/init.qcom.sh +++ /dev/null @@ -1,458 +0,0 @@ -#! /vendor/bin/sh - -# Copyright (c) 2009-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` -low_ram=`getprop ro.config.low_ram` -if [ -f /sys/devices/soc0/soc_id ]; then - platformid=`cat /sys/devices/soc0/soc_id` -else - platformid=`cat /sys/devices/system/soc/soc0/id` -fi - -start_battery_monitor() -{ - if ls /sys/bus/spmi/devices/qpnp-bms-*/fcc_data ; then - chown -h root.system /sys/module/pm8921_bms/parameters/* - chown -h root.system /sys/module/qpnp_bms/parameters/* - chown -h root.system /sys/bus/spmi/devices/qpnp-bms-*/fcc_data - chown -h root.system /sys/bus/spmi/devices/qpnp-bms-*/fcc_temp - chown -h root.system /sys/bus/spmi/devices/qpnp-bms-*/fcc_chgcyl - chmod 0660 /sys/module/qpnp_bms/parameters/* - chmod 0660 /sys/module/pm8921_bms/parameters/* - mkdir -p /data/bms - chown -h root.system /data/bms - chmod 0770 /data/bms - start battery_monitor - fi -} - -start_charger_monitor() -{ - if ls /sys/module/qpnp_charger/parameters/charger_monitor; then - chown -h root.system /sys/module/qpnp_charger/parameters/* - chown -h root.system /sys/class/power_supply/battery/input_current_max - chown -h root.system /sys/class/power_supply/battery/input_current_trim - chown -h root.system /sys/class/power_supply/battery/input_current_settled - chown -h root.system /sys/class/power_supply/battery/voltage_min - chmod 0664 /sys/class/power_supply/battery/input_current_max - chmod 0664 /sys/class/power_supply/battery/input_current_trim - chmod 0664 /sys/class/power_supply/battery/input_current_settled - chmod 0664 /sys/class/power_supply/battery/voltage_min - chmod 0664 /sys/module/qpnp_charger/parameters/charger_monitor - start charger_monitor - fi -} - -start_vm_bms() -{ - if [ -e /dev/vm_bms ]; then - chown -h root.system /sys/class/power_supply/bms/current_now - chown -h root.system /sys/class/power_supply/bms/voltage_ocv - chmod 0664 /sys/class/power_supply/bms/current_now - chmod 0664 /sys/class/power_supply/bms/voltage_ocv - start vm_bms - fi -} - -start_msm_irqbalance_8939() -{ - if [ -f /vendor/bin/msm_irqbalance ]; then - case "$platformid" in - "239" | "293" | "294" | "295" | "304" | "313" | "353" | "354") - start vendor.msm_irqbalance;; - "349" | "350" ) - start vendor.msm_irqbal_lb;; - esac - fi -} - -start_msm_irqbalance_msmnile() -{ - if [ -f /vendor/bin/msm_irqbalance ]; then - start vendor.msm_irqbalance - fi -} - -start_msm_irqbalance_kona() -{ - if [ -f /vendor/bin/msm_irqbalance ]; then - start vendor.msm_irqbalance - fi -} - -start_msm_irqbalance_lito() -{ - if [ -f /vendor/bin/msm_irqbalance ]; then - start vendor.msm_irqbalance - fi -} - -start_msm_irqbalance_atoll() -{ - if [ -f /vendor/bin/msm_irqbalance ]; then - start vendor.msm_irqbalance - fi -} - -start_msm_irqbalance() -{ - if [ -f /vendor/bin/msm_irqbalance ]; then - case "$platformid" in - "317" | "321" | "324" | "325" | "326" | "336" | "345" | "346" | "360" | "393") - start vendor.msm_irqbalance;; - "318" | "327" | "385") - start vendor.msm_irqbl_sdm630;; - esac - fi -} - -baseband=`getprop ro.baseband` -echo 1 > /proc/sys/net/ipv6/conf/default/accept_ra_defrtr - -case "$baseband" in - "svlte2a") - start bridgemgrd - ;; -esac - -case "$target" in - "msm7630_surf" | "msm7630_1x" | "msm7630_fusion") - if [ -f /sys/devices/soc0/hw_platform ]; then - value=`cat /sys/devices/soc0/hw_platform` - else - value=`cat /sys/devices/system/soc/soc0/hw_platform` - fi - case "$value" in - "Fluid") - start profiler_daemon;; - esac - ;; - "msm8660" ) - if [ -f /sys/devices/soc0/hw_platform ]; then - platformvalue=`cat /sys/devices/soc0/hw_platform` - else - platformvalue=`cat /sys/devices/system/soc/soc0/hw_platform` - fi - case "$platformvalue" in - "Fluid") - start profiler_daemon;; - esac - ;; - "msm8960") - case "$baseband" in - "msm") - start_battery_monitor;; - esac - - if [ -f /sys/devices/soc0/hw_platform ]; then - platformvalue=`cat /sys/devices/soc0/hw_platform` - else - platformvalue=`cat /sys/devices/system/soc/soc0/hw_platform` - fi - case "$platformvalue" in - "Fluid") - start profiler_daemon;; - "Liquid") - start profiler_daemon;; - esac - ;; - "msm8974") - platformvalue=`cat /sys/devices/soc0/hw_platform` - case "$platformvalue" in - "Fluid") - start profiler_daemon;; - "Liquid") - start profiler_daemon;; - esac - case "$baseband" in - "msm") - start_battery_monitor - ;; - esac - start_charger_monitor - ;; - "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 - - case "$soc_id" in - "317" | "324" | "325" | "326" | "318" | "327" ) - case "$hw_platform" in - "Surf") - setprop qemu.hw.mainkeys 0 - ;; - "MTP") - setprop qemu.hw.mainkeys 0 - ;; - "RCM") - setprop qemu.hw.mainkeys 0 - ;; - "QRD") - setprop qemu.hw.mainkeys 0 - ;; - esac - ;; - esac - start_msm_irqbalance - ;; - "apq8084") - platformvalue=`cat /sys/devices/soc0/hw_platform` - case "$platformvalue" in - "Fluid") - start profiler_daemon;; - "Liquid") - start profiler_daemon;; - esac - ;; - "msm8226") - start_charger_monitor - ;; - "msm8610") - start_charger_monitor - ;; - "msm8916") - start_vm_bms - start_msm_irqbalance_8939 - 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/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") - setprop qemu.hw.mainkeys 0 - ;; - esac - ;; - "MTP") - case "$platform_subtype_id" in - "3") - setprop qemu.hw.mainkeys 0 - ;; - esac - ;; - esac - ;; - esac - ;; - "msm8994" | "msm8992" | "msm8998" | "apq8098_latv" | "sdm845" | "sdm710" | "qcs605" | "sm6150") - start_msm_irqbalance - ;; - "msm8996") - if [ -f /sys/devices/soc0/hw_platform ]; then - hw_platform=`cat /sys/devices/soc0/hw_platform` - fi - case "$hw_platform" in - "MTP" | "CDP") - #Loop through the sysfs nodes and determine the correct sysfs to change the permission and ownership. - for count in 0 1 2 3 4 5 6 7 8 9 10 - do - dir="/sys/devices/soc/75ba000.i2c/i2c-12/12-0020/input/input"$count - if [ -d "$dir" ]; then - chmod 0660 $dir/secure_touch_enable - chmod 0440 $dir/secure_touch - chown system.drmrpc $dir/secure_touch_enable - chown system.drmrpc $dir/secure_touch - break - fi - done - ;; - esac - ;; - "msm8909") - start_vm_bms - ;; - "msmnile") - start_msm_irqbalance_msmnile - ;; - "kona") - start_msm_irqbalance_kona - ;; - "lito") - start_msm_irqbalance_lito - ;; - "atoll") - start_msm_irqbalance_atoll - ;; - "msm8937") - start_msm_irqbalance_8939 - 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 [ "$low_ram" != "true" ]; then - case "$soc_id" in - "294" | "295" | "303" | "307" | "308" | "309" | "313" | "320" | "353" | "354" | "363" | "364") - case "$hw_platform" in - "Surf") - setprop qemu.hw.mainkeys 0 - ;; - "MTP") - setprop qemu.hw.mainkeys 0 - ;; - "RCM") - setprop qemu.hw.mainkeys 0 - ;; - "QRD") - setprop qemu.hw.mainkeys 0 - ;; - esac - ;; - esac - fi - ;; - "msm8953") - start_msm_irqbalance_8939 - 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" | "338" | "351" | "349" | "350" ) - case "$hw_platform" in - "Surf") - setprop qemu.hw.mainkeys 0 - ;; - "MTP") - setprop qemu.hw.mainkeys 0 - ;; - "RCM") - setprop qemu.hw.mainkeys 0 - ;; - "QRD") - setprop qemu.hw.mainkeys 0 - ;; - esac - ;; - esac - ;; - "sdm710") - 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 - "336" | "337" | "347" | "360" | "393" ) - case "$hw_platform" in - "Surf") - setprop qemu.hw.mainkeys 0 - ;; - "MTP") - setprop qemu.hw.mainkeys 0 - ;; - "RCM") - setprop qemu.hw.mainkeys 0 - ;; - "QRD") - setprop qemu.hw.mainkeys 0 - ;; - esac - ;; - esac - ;; -esac - -# -# Make modem config folder and copy firmware config to that folder for RIL -# -if [ -f /data/vendor/modem_config/ver_info.txt ]; then - prev_version_info=`cat /data/vendor/modem_config/ver_info.txt` -else - prev_version_info="" -fi - -cur_version_info=`cat /vendor/firmware_mnt/verinfo/ver_info.txt` -if [ ! -f /vendor/firmware_mnt/verinfo/ver_info.txt -o "$prev_version_info" != "$cur_version_info" ]; then - # add W for group recursively before delete - chmod g+w -R /data/vendor/modem_config/* - rm -rf /data/vendor/modem_config/* - # preserve the read only mode for all subdir and files - cp --preserve=m -dr /vendor/firmware_mnt/image/modem_pr/mcfg/configs/* /data/vendor/modem_config - cp --preserve=m -d /vendor/firmware_mnt/verinfo/ver_info.txt /data/vendor/modem_config/ - cp --preserve=m -d /vendor/firmware_mnt/image/modem_pr/mbn_ota.txt /data/vendor/modem_config/ - # the group must be root, otherwise this script could not add "W" for group recursively - chown -hR radio.root /data/vendor/modem_config/* -fi -chmod g-w /data/vendor/modem_config -setprop ro.vendor.ril.mbn_copy_completed 1 - -#check build variant for printk logging -#current default minimum boot-time-default -buildvariant=`getprop ro.build.type` -case "$buildvariant" in - "userdebug" | "eng") - #set default loglevel to KERN_INFO - echo "6 6 1 7" > /proc/sys/kernel/printk - ;; - *) - #set default loglevel to KERN_WARNING - echo "4 4 1 4" > /proc/sys/kernel/printk - ;; -esac diff --git a/rootdir/bin/init.qcom.usb.sh b/rootdir/bin/init.qcom.usb.sh deleted file mode 100644 index f21e111..0000000 --- a/rootdir/bin/init.qcom.usb.sh +++ /dev/null @@ -1,244 +0,0 @@ -#!/vendor/bin/sh -# Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided -# with the distribution. -# * Neither the name of The Linux Foundation nor the names of its -# contributors may be used to endorse or promote products derived -# from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED "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. -# -# - -# Set platform variables -soc_hwplatform=`cat /sys/devices/soc0/hw_platform 2> /dev/null` -soc_machine=`cat /sys/devices/soc0/machine 2> /dev/null` -soc_machine=${soc_machine:0:2} -soc_id=`cat /sys/devices/soc0/soc_id 2> /dev/null` - -# -# Check ESOC for external modem -# -# Note: currently only a single MDM/SDX is supported -# -esoc_name=`cat /sys/bus/esoc/devices/esoc0/esoc_name 2> /dev/null` - -target=`getprop ro.board.platform` - -if [ -f /sys/class/android_usb/f_mass_storage/lun/nofua ]; then - echo 1 > /sys/class/android_usb/f_mass_storage/lun/nofua -fi - -# -# Override USB default composition -# -# If USB persist config not set, set default configuration -build_type=`getprop ro.build.type` -if [ "$(getprop persist.vendor.usb.config)" == "" -a \ - "$(getprop init.svc.vendor.usb-gadget-hal-1-0)" != "running" ]; then - if [ "$esoc_name" != "" ]; then - setprop persist.vendor.usb.config diag,diag_mdm,qdss,qdss_mdm,serial_cdev,dpl,rmnet,adb - else - case "$(getprop ro.baseband)" in - "apq") - setprop persist.vendor.usb.config diag,adb - ;; - *) - case "$soc_hwplatform" in - "Dragon" | "SBC") - setprop persist.vendor.usb.config diag,adb - ;; - *) - case "$soc_machine" in - "SA") - setprop persist.vendor.usb.config diag,adb - ;; - *) - case "$target" in - "msm8996") - setprop persist.vendor.usb.config diag,serial_cdev,serial_tty,rmnet_ipa,mass_storage,adb - ;; - "msm8909") - setprop persist.vendor.usb.config diag,serial_smd,rmnet_qti_bam,adb - ;; - "msm8937") - if [ -d /config/usb_gadget ]; then - setprop persist.vendor.usb.config diag,serial_cdev,rmnet,dpl,adb - else - case "$soc_id" in - "313" | "320") - setprop persist.vendor.usb.config diag,serial_smd,rmnet_ipa,adb - ;; - *) - setprop persist.vendor.usb.config diag,serial_smd,rmnet_qti_bam,adb - ;; - esac - fi - ;; - "msm8953") - if [ -d /config/usb_gadget ]; then - setprop persist.vendor.usb.config diag,serial_cdev,rmnet,dpl,adb - else - setprop persist.vendor.usb.config diag,serial_smd,rmnet_ipa,adb - fi - ;; - "msm8998" | "sdm660" | "apq8098_latv") - setprop persist.vendor.usb.config diag,serial_cdev,rmnet,adb - ;; - "sdm845" | "sdm710") - setprop persist.vendor.usb.config diag,serial_cdev,rmnet,dpl,adb - ;; - "msmnile" | "sm6150" | "trinket" | "lito") - if [ "$build_type" != "user" ]; then - setprop persist.vendor.usb.config diag,serial_cdev,rmnet,dpl,qdss,adb - fi - ;; - *) - setprop persist.vendor.usb.config diag,adb - ;; - esac - ;; - esac - ;; - esac - ;; - esac - fi -fi - -# Start peripheral mode on primary USB controllers for Automotive platforms -case "$soc_machine" in - "SA") - if [ -f /sys/bus/platform/devices/a600000.ssusb/mode ]; then - default_mode=`cat /sys/bus/platform/devices/a600000.ssusb/mode` - case "$default_mode" in - "none") - echo peripheral > /sys/bus/platform/devices/a600000.ssusb/mode - ;; - esac - fi - ;; -esac - -# set rndis transport to BAM2BAM_IPA for 8920 and 8940 -if [ "$target" == "msm8937" ]; then - if [ ! -d /config/usb_gadget ]; then - case "$soc_id" in - "313" | "320") - echo BAM2BAM_IPA > /sys/class/android_usb/android0/f_rndis_qc/rndis_transports - ;; - *) - ;; - esac - fi -fi - -# check configfs is mounted or not -if [ -d /config/usb_gadget ]; then - # Chip-serial is used for unique MSM identification in Product string - product_usb=`cat /config/usb_gadget/g1/strings/0x409/product` 2> /dev/null - if [ "$product_usb" == "" ]; then - msm_serial=`cat /sys/devices/soc0/serial_number`; - msm_serial_hex=`printf %08X $msm_serial` - machine_type=`cat /sys/devices/soc0/machine` - product_string="$machine_type-$soc_hwplatform _SN:$msm_serial_hex" - echo "$product_string" > /config/usb_gadget/g1/strings/0x409/product - fi - # ADB requires valid iSerialNumber; if ro.serialno is missing, use dummy - serialnumber=`cat /config/usb_gadget/g1/strings/0x409/serialnumber 2> /dev/null` - if [ "$serialnumber" == "" ]; then - serialno=1234567 - echo $serialno > /config/usb_gadget/g1/strings/0x409/serialnumber - fi - setprop vendor.usb.configfs 1 -fi - -# -# Initialize RNDIS Diag option. If unset, set it to 'none'. -# -diag_extra=`getprop persist.vendor.usb.config.extra` -if [ "$diag_extra" == "" ]; then - setprop persist.vendor.usb.config.extra none -fi - -# enable rps cpus on msm8937 target -setprop vendor.usb.rps_mask 0 -case "$soc_id" in - "294" | "295" | "353" | "354") - setprop vendor.usb.rps_mask 40 - ;; -esac - -# -# Initialize UVC conifguration. -# -if [ -d /config/usb_gadget/g1/functions/uvc.0 ]; then - cd /config/usb_gadget/g1/functions/uvc.0 - - echo 3072 > streaming_maxpacket - echo 1 > streaming_maxburst - mkdir control/header/h - ln -s control/header/h control/class/fs/ - ln -s control/header/h control/class/ss - - mkdir -p streaming/uncompressed/u/360p - echo "666666\n1000000\n5000000\n" > streaming/uncompressed/u/360p/dwFrameInterval - - mkdir -p streaming/uncompressed/u/720p - echo 1280 > streaming/uncompressed/u/720p/wWidth - echo 720 > streaming/uncompressed/u/720p/wWidth - echo 29491200 > streaming/uncompressed/u/720p/dwMinBitRate - echo 29491200 > streaming/uncompressed/u/720p/dwMaxBitRate - echo 1843200 > streaming/uncompressed/u/720p/dwMaxVideoFrameBufferSize - echo 5000000 > streaming/uncompressed/u/720p/dwDefaultFrameInterval - echo "5000000\n" > streaming/uncompressed/u/720p/dwFrameInterval - - mkdir -p streaming/mjpeg/m/360p - echo "666666\n1000000\n5000000\n" > streaming/mjpeg/m/360p/dwFrameInterval - - mkdir -p streaming/mjpeg/m/720p - echo 1280 > streaming/mjpeg/m/720p/wWidth - echo 720 > streaming/mjpeg/m/720p/wWidth - echo 29491200 > streaming/mjpeg/m/720p/dwMinBitRate - echo 29491200 > streaming/mjpeg/m/720p/dwMaxBitRate - echo 1843200 > streaming/mjpeg/m/720p/dwMaxVideoFrameBufferSize - echo 5000000 > streaming/mjpeg/m/720p/dwDefaultFrameInterval - echo "5000000\n" > streaming/mjpeg/m/720p/dwFrameInterval - - echo 0x04 > /config/usb_gadget/g1/functions/uvc.0/streaming/mjpeg/m/bmaControls - - mkdir -p streaming/h264/h/960p - echo 1920 > streaming/h264/h/960p/wWidth - echo 960 > streaming/h264/h/960p/wWidth - echo 40 > streaming/h264/h/960p/bLevelIDC - echo "333667\n" > streaming/h264/h/960p/dwFrameInterval - - mkdir -p streaming/h264/h/1920p - echo "333667\n" > streaming/h264/h/1920p/dwFrameInterval - - mkdir streaming/header/h - ln -s streaming/uncompressed/u streaming/header/h - ln -s streaming/mjpeg/m streaming/header/h - ln -s streaming/h264/h streaming/header/h - ln -s streaming/header/h streaming/class/fs/ - ln -s streaming/header/h streaming/class/hs/ - ln -s streaming/header/h streaming/class/ss/ -fi diff --git a/rootdir/bin/init.qti.fm.sh b/rootdir/bin/init.qti.fm.sh deleted file mode 100755 index 9c73685..0000000 --- a/rootdir/bin/init.qti.fm.sh +++ /dev/null @@ -1,70 +0,0 @@ -#!/vendor/bin/sh -# Copyright (c) 2019 Qualcomm Technologies, Inc. -# All Rights Reserved. -# Confidential and Proprietary - Qualcomm Technologies, Inc. -# -# Copyright (c) 2009-2011, 2015, 2017 The Linux Foundation. All rights reserved. -# - -setprop vendor.hw.fm.init 0 - -mode=`getprop vendor.hw.fm.mode` -version=199217 - -LOG_TAG="qti-fm" -LOG_NAME="${0}:" - -loge () -{ - /vendor/bin/log -t $LOG_TAG -p e "$LOG_NAME $@" -} - -logi () -{ - /vendor/bin/log -t $LOG_TAG -p i "$LOG_NAME $@" -} - -failed () -{ - loge "$1: exit code $2" - exit $2 -} - -logi "In FM shell Script" -logi "mode: $mode" -logi "Version : $version" - -#$fm_qsoc_patches -# -case $mode in - "normal") - logi "inserting the radio transport module" - echo 1 > /sys/module/radio_iris_transport/parameters/fmsmd_set - /vendor/bin/fm_qsoc_patches $version 0 - ;; - "wa_enable") - /vendor/bin/fm_qsoc_patches $version 1 - ;; - "wa_disable") - /vendor/bin/fm_qsoc_patches $version 2 - ;; - *) - logi "Shell: Default case" - /vendor/bin/fm_qsoc_patches $version 0 - ;; -esac - -exit_code_fm_qsoc_patches=$? - -case $exit_code_fm_qsoc_patches in - 0) - logi "FM QSoC calibration and firmware download succeeded" - ;; - *) - failed "FM QSoC firmware download and/or calibration failed" $exit_code_fm_qsoc_patches - ;; -esac - -setprop vendor.hw.fm.init 1 - -exit 0 diff --git a/rootdir/bin/init.qti.ims.sh b/rootdir/bin/init.qti.ims.sh deleted file mode 100644 index 26cd396..0000000 --- a/rootdir/bin/init.qti.ims.sh +++ /dev/null @@ -1,57 +0,0 @@ -#! /vendor/bin/sh - -# Copyright (c) 2014, 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 "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. -# -# - -dir0=/data -trigger_file=$dir0/ims_disabled -ims_disabled=`getprop persist.vendor.ims.disabled` -target=`getprop ro.build.product` - -#if [ ! -e $trigger_file ]; then -# for future use in doing conditional debugging -#else -# -#fi -echo "$ims_disabled" -echo "$target" - -if [ "$ims_disabled" = "0" ]; then - echo "ims will be enabled" - setprop vendor.service.qti.ims.enabled 1 - exit -fi - -if [ "$ims_disabled" = "1" ] || [ "$target" = "msm8909_512" ]; then - echo "ims is disabled" - setprop vendor.service.qti.ims.enabled 0 -else - echo "ims is enabled" - setprop vendor.service.qti.ims.enabled 1 -fi diff --git a/rootdir/etc/fstab.qcom b/rootdir/etc/fstab.qcom deleted file mode 100644 index 01cff42..0000000 --- a/rootdir/etc/fstab.qcom +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright (c) 2018, The Linux Foundation. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided -# with the distribution. -# * Neither the name of The Linux Foundation nor the names of its -# contributors may be used to endorse or promote products derived -# from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED "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. - -# Android fstab file. -# The filesystem that contains the filesystem checker binary (typically /system) cannot -# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK - -# -/dev/block/bootdevice/by-name/system / ext4 ro,barrier=1,discard wait,avb -/dev/block/bootdevice/by-name/vendor /vendor ext4 ro,barrier=1 wait,recoveryonly -/dev/block/bootdevice/by-name/cache /cache ext4 nosuid,noatime,nodev,barrier=1 wait -/dev/block/bootdevice/by-name/cache /cache f2fs nosuid,noatime,nodev,fsync_mode=nobarrier wait -/dev/block/bootdevice/by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard wait,formattable -/dev/block/bootdevice/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=1,noauto_da_alloc,discard latemount,wait,check,fileencryption=ice,keydirectory=/metadata/vold/metadata_encryption,quota,reservedsize=128M -/dev/block/bootdevice/by-name/userdata /data f2fs noatime,nosuid,nodev,fsync_mode=nobarrier,discard latemount,wait,check,fileencryption=ice,keydirectory=/metadata/vold/metadata_encryption,quota,formattable,reservedsize=128M -/dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 noatime,nosuid,nodev,barrier=1 wait - -/dev/block/bootdevice/by-name/modem /vendor/firmware_mnt vfat ro,shortname=lower,uid=0,gid=1000,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait -/dev/block/bootdevice/by-name/dsp /vendor/dsp ext4 ro,nosuid,nodev,barrier=1 wait -/dev/block/bootdevice/by-name/bluetooth /vendor/bt_firmware vfat ro,shortname=lower,uid=1002,gid=3002,dmask=227,fmask=337,context=u:object_r:bt_firmware_file:s0 wait - -# Removable storage -/devices/platform/soc/8804000.sdhci/mmc_host* auto auto defaults wait,voldmanaged=sdcard1:auto -/devices/platform/soc/1da4000.ufshc_card/host* auto auto defaults wait,voldmanaged=sdcard1:auto -/devices/platform/soc/a600000.ssusb/a600000.dwc3/xhci-hcd.*.auto* /storage/usbotg vfat nosuid,nodev wait,voldmanaged=usbotg:auto - -# Need to have this entry in here even though the mount point itself is no longer needed. -# The update_engine code looks for this entry in order to determine the boot device address -# and fails if it does not find it. -/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults -/dev/block/bootdevice/by-name/boot /boot emmc defaults defaults -/dev/block/bootdevice/by-name/recovery /recovery emmc defaults defaults -/dev/block/zram0 none swap defaults zramsize=2147483648,max_comp_streams=8 diff --git a/rootdir/etc/init.lenovo.common.rc b/rootdir/etc/init.lenovo.common.rc deleted file mode 100644 index 8a9d947..0000000 --- a/rootdir/etc/init.lenovo.common.rc +++ /dev/null @@ -1,42 +0,0 @@ -#common config for all projects. - -on post-fs - # Set dm-verity property for system partition - verity_update_state - -on post-fs-data - mkdir /data/vendor/sensors 0777 system system - -# add charger_monitor -service vendor.hvdcp_opti /vendor/bin/hvdcp_opti - class main - user root - group system wakelock - -on charger - start vendor.hvdcp_opti - -# open hvdcp, vin and pps logs -on boot - setprop persist.vendor.cp.log_level 1 - setprop persist.vendor.hvdcp.log_level 1 - setprop persist.vendor.pps.log_level 1 - setprop persist.vendor.vin.log_level 1 - setprop persist.vendor.hvdcp.log_level 1 - setprop persist.vendor.pps.log_level 1 - -# for charge - setprop persist.vendor.chg.max_volt_mv 9000 - -#modify for enable diag -on property:sys.diag.enable=1 - setprop sys.usb.config ${ro.usb.firstboot.config} - -on property:ro.boot.adbon=true - setprop persist.sys.usb.config mtp,adb - -on property:sys.charging_bl=enable - write /sys/class/backlight/panel0-backlight/brightness 255 - -on property:sys.charging_bl=disable - write /sys/class/backlight/panel0-backlight/brightness 0 diff --git a/rootdir/etc/init.lenovo.rc b/rootdir/etc/init.lenovo.rc deleted file mode 100644 index ab82cec..0000000 --- a/rootdir/etc/init.lenovo.rc +++ /dev/null @@ -1,52 +0,0 @@ -on post-fs - #goodix - chown system system /dev/goodix_fp - chmod 666 /dev/goodix_fp - chown system system /sys/class/dsi_hbm/hbm/enable - chown system system /sys/class/backlight/panel0-hbm/brightness - chown audioserver audio /sys/bus/i2c/devices/2-0034/reg - chown audioserver audio /sys/bus/i2c/devices/2-0034/rw - -on init -#added touch gesture wake node permission - chown system /sys/devices/virtual/touch/tp_dev/gesture_on - -# Add factest service -service factest /vendor/bin/factest - class main - user root - group root system vendor_qti_diag sdcard_rw cache drmrpc - -service rfs_for_fac /vendor/bin/rfs_for_fac - class main - user vendor_rfs - group root system vendor_rfs - oneshot - -on boot - start factest -# factest end - -# add for secure touch feature -on boot - chmod 0660 /sys/devices/platform/soc/a84000.i2c/i2c-3/3-005d/secure_touch_enable - chmod 0440 /sys/devices/platform/soc/a84000.i2c/i2c-3/3-005d/secure_touch - mkdir /mnt/vendor/persist/factory 0775 system system - -on early-init - insmod /vendor/lib/modules/audio_tfa9874.ko - -#camera tof -service vl53l1_daemon_main /vendor/bin/vl53l1_daemon_main - class late_start - user root - group root - socket vl53l1_daemon stream 660 root system - -# for battery and thermal -on boot - chmod 666 /sys/class/power_supply/battery/user_charge_op - chmod 666 /sys/class/power_supply/battery/user_charge_soc - -on boot - mkdir /mnt/vendor/persist/tof 0775 system system diff --git a/rootdir/etc/init.lenovo.usb.configfs.rc b/rootdir/etc/init.lenovo.usb.configfs.rc deleted file mode 100644 index 2f7c002..0000000 --- a/rootdir/etc/init.lenovo.usb.configfs.rc +++ /dev/null @@ -1,55 +0,0 @@ -# Lenovo USB config compositions - -on property:sys.usb.config=charge && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 17EF - write /sys/class/android_usb/android0/idProduct 7B8F - write /sys/class/android_usb/android0/functions mass_storage - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=charge && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "Lenovo Charger Only" - write /config/usb_gadget/g1/idVendor 0x17EF - write /config/usb_gadget/g1/idProduct 0x7B8F - symlink /config/usb_gadget/g1/functions/mtp.gs0 /config/usb_gadget/g1/configs/b.1/f1 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=charger_storage && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "Lenovo Charger Only" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x17EF - write /config/usb_gadget/g1/idProduct 0x7B8F - symlink /config/usb_gadget/g1/functions/mass_storage.0 /config/usb_gadget/g1/configs/b.1/f1 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/idVendor 0x17EF - write /config/usb_gadget/g1/idProduct 0x7B8E - -on property:sys.usb.config=mtp && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/idVendor 0x17EF - write /config/usb_gadget/g1/idProduct 0x7B76 - -on property:sys.usb.config=mtp,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/idVendor 0x17EF - write /config/usb_gadget/g1/idProduct 0x7B77 - -on property:sys.usb.config=ptp && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/idVendor 0x17EF - write /config/usb_gadget/g1/idProduct 0x7B78 - -on property:sys.usb.config=ptp,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/idVendor 0x17EF - write /config/usb_gadget/g1/idProduct 0x7B79 diff --git a/rootdir/etc/init.msm.usb.configfs.rc b/rootdir/etc/init.msm.usb.configfs.rc deleted file mode 100644 index 78c48c7..0000000 --- a/rootdir/etc/init.msm.usb.configfs.rc +++ /dev/null @@ -1,1393 +0,0 @@ -# Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided -# with the distribution. -# * Neither the name of The Linux Foundation nor the names of its -# contributors may be used to endorse or promote products derived -# from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED "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. -# - -# USB compositions -on property:sys.usb.config=none && property:sys.usb.configfs=1 - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - -on property:sys.usb.config=mass_storage && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "msc" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0xF000 - symlink /config/usb_gadget/g1/functions/mass_storage.0 /config/usb_gadget/g1/configs/b.1/f1 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=mass_storage,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=mass_storage,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "adb_msc" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x9015 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/mass_storage.0 /config/usb_gadget/g1/configs/b.1/f2 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_adb" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x901D - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f2 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x900E - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_cdev,rmnet,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,serial_cdev,rmnet,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "Default composition" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x9091 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f3 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f4 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_cdev,rmnet && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "Default comp without ADB" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x9092 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f3 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:vendor.usb.tethering=true - write /sys/class/net/rndis0/queues/rx-0/rps_cpus ${vendor.usb.rps_mask} - -on property:sys.usb.config=rndis - setprop sys.usb.config rndis,${persist.vendor.usb.config.extra} - -on property:sys.usb.config=rndis,none && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0xF00E - symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state rndis - -on property:sys.usb.config=rndis,sec && property:sys.usb.configfs=1 - write /config/usb_gadget/g2/configs/b.1/strings/0x409/configuration "rndis" - rm /config/usb_gadget/g2/configs/b.1/f1 - write /config/usb_gadget/g2/idVendor 0x05C6 - write /config/usb_gadget/g2/idProduct 0xF00E - symlink /config/usb_gadget/g2/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g2/configs/b.1/f1 - write /config/usb_gadget/g2/UDC ${persist.vendor.usb.controller.secondary} - setprop sys.usb.state rndis - -on property:sys.usb.config=rndis,adb - setprop sys.usb.config rndis,${persist.vendor.usb.config.extra},adb - -on property:sys.usb.config=rndis,none,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=rndis,none,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_adb" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x9024 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f2 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state rndis,adb - -on property:sys.usb.config=rndis,diag && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_diag" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x902C - symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f2 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state rndis - -on property:sys.usb.config=rndis,diag,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=rndis,diag,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_diag_adb" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x902D - symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f3 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state rndis,adb - -on property:sys.usb.config=rndis,serial_cdev && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_dun" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90B3 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f2 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state rndis - -on property:sys.usb.config=rndis,serial_cdev,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=rndis,serial_cdev,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_dun_adb" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90B4 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f3 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state rndis,adb - -on property:sys.usb.config=rndis,serial_cdev,diag && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_dun_diag" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90B5 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f3 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=rndis,serial_cdev,diag,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=rndis,serial_cdev,diag,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_dun_diag" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90B6 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f3 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f4 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=mtp,diag && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "mtp_diag" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x901B - symlink /config/usb_gadget/g1/functions/mtp.gs0 /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f2 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=mtp,diag,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=mtp,diag,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "mtp_diag_adb" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x903A - symlink /config/usb_gadget/g1/functions/mtp.gs0 /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f3 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,qdss && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_qdss" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x904A - write /config/usb_gadget/g1/functions/qdss.${vendor.usb.qdss.inst.name}/enable_debug_inface 1 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/qdss.${vendor.usb.qdss.inst.name} /config/usb_gadget/g1/configs/b.1/f2 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,qdss,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,qdss,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_qdss_adb" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x9060 - write /config/usb_gadget/g1/functions/qdss.${vendor.usb.qdss.inst.name}/enable_debug_inface 1 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/qdss.${vendor.usb.qdss.inst.name} /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f3 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,qdss,rmnet && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_qdss_rmnet" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x9083 - write /config/usb_gadget/g1/functions/qdss.${vendor.usb.qdss.inst.name}/enable_debug_inface 1 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/qdss.${vendor.usb.qdss.inst.name} /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f3 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,qdss,rmnet,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,qdss,rmnet,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_qdss_rmnet_adb" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x9084 - write /config/usb_gadget/g1/functions/qdss.${vendor.usb.qdss.inst.name}/enable_debug_inface 1 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/qdss.${vendor.usb.qdss.inst.name} /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f3 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f4 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=rndis,diag,qdss && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_diag_qdss" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x9081 - write /config/usb_gadget/g1/functions/qdss.${vendor.usb.qdss.inst.name}/enable_debug_inface 1 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/qdss.${vendor.usb.qdss.inst.name} /config/usb_gadget/g1/configs/b.1/f3 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=rndis,diag,qdss,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=rndis,diag,qdss,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_diag_qdss_adb" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x9082 - write /config/usb_gadget/g1/functions/qdss.${vendor.usb.qdss.inst.name}/enable_debug_inface 1 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/qdss.${vendor.usb.qdss.inst.name} /config/usb_gadget/g1/configs/b.1/f3 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f4 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=ncm && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "ncm" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0xA4A1 - symlink /config/usb_gadget/g1/functions/ncm.0 /config/usb_gadget/g1/configs/b.1/f1 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=ncm,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=ncm,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "ncm_adb" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x908C - symlink /config/usb_gadget/g1/functions/ncm.0 /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f2 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_cdev && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_dun" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x9004 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f2 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,adb,serial_cdev && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,adb,serial_cdev && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_adb_dun" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x901f - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f3 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_cdev,rmnet,dpl && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_dun_rmnet_dpl" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90b7 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f3 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f4 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_cdev,rmnet,dpl,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,serial_cdev,rmnet,dpl,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_dun_rmnet_dpl_adb" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90b8 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f3 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f4 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f5 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=rndis,diag,dpl && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_diag_dpl" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90bf - symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f3 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state rndis - -on property:sys.usb.config=rndis,diag,dpl,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=rndis,diag,dpl,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_diag_dpl_adb" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90c0 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f3 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f4 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state rndis,adb - -on property:sys.usb.config=ccid && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "ccid" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90CE - symlink /config/usb_gadget/g1/functions/ccid.ccid /config/usb_gadget/g1/configs/b.1/f1 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=ccid,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=ccid,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "ccid_adb" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90CF - symlink /config/usb_gadget/g1/functions/ccid.ccid /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f2 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=ccid,diag && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "ccid_diag" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90D0 - symlink /config/usb_gadget/g1/functions/ccid.ccid /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f2 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=ccid,diag,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=ccid,diag,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "ccid_diag_adb" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90D1 - symlink /config/usb_gadget/g1/functions/ccid.ccid /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f3 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_cdev,rmnet,ccid && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_dun_rmnet_ccid" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90D2 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f3 - symlink /config/usb_gadget/g1/functions/ccid.ccid /config/usb_gadget/g1/configs/b.1/f4 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_cdev,rmnet,ccid,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,serial_cdev,rmnet,ccid,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_dun_rmnet_ccid_adb" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90D3 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f3 - symlink /config/usb_gadget/g1/functions/ccid.ccid /config/usb_gadget/g1/configs/b.1/f4 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f5 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_mdm,qdss,qdss_mdm,serial_cdev,serial_cdev_mdm,rmnet && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_diag_mdm,qdss_qdss_mdm_dun_dun_mdm_rmnet" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90D7 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/diag.diag_mdm /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f3 - symlink /config/usb_gadget/g1/functions/qdss.qdss_mdm /config/usb_gadget/g1/configs/b.1/f4 - symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f5 - symlink /config/usb_gadget/g1/functions/cser.dun.2 /config/usb_gadget/g1/configs/b.1/f6 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f7 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_mdm,qdss,qdss_mdm,serial_cdev,serial_cdev_mdm,rmnet,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,diag_mdm,qdss,qdss_mdm,serial_cdev,serial_cdev_mdm,rmnet,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_diag_mdm,qdss_qdss_mdm_dun_dun_mdm_rmnet_adb" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90D8 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/diag.diag_mdm /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f3 - symlink /config/usb_gadget/g1/functions/qdss.qdss_mdm /config/usb_gadget/g1/configs/b.1/f4 - symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f5 - symlink /config/usb_gadget/g1/functions/cser.dun.2 /config/usb_gadget/g1/configs/b.1/f6 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f7 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f8 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_mdm,qdss,qdss_mdm,serial_cdev,serial_cdev_mdm,dpl,rmnet && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_diag_mdm,qdss_qdss_mdm_dun_dun_mdm_dpl_rmnet" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90DD - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/diag.diag_mdm /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f3 - symlink /config/usb_gadget/g1/functions/qdss.qdss_mdm /config/usb_gadget/g1/configs/b.1/f4 - symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f5 - symlink /config/usb_gadget/g1/functions/cser.dun.2 /config/usb_gadget/g1/configs/b.1/f6 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f7 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f8 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_mdm,qdss,qdss_mdm,serial_cdev,serial_cdev_mdm,dpl,rmnet,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,diag_mdm,qdss,qdss_mdm,serial_cdev,serial_cdev_mdm,dpl,rmnet,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_diag_mdm,qdss_qdss_mdm_dun_dun_mdm_dpl_rmnet_adb" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90DE - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/diag.diag_mdm /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f3 - symlink /config/usb_gadget/g1/functions/qdss.qdss_mdm /config/usb_gadget/g1/configs/b.1/f4 - symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f5 - symlink /config/usb_gadget/g1/functions/cser.dun.2 /config/usb_gadget/g1/configs/b.1/f6 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f7 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f8 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_cdev,rmnet,dpl,qdss && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_dun_rmnet_dpl_qdss" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90DC - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f3 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f4 - symlink /config/usb_gadget/g1/functions/qdss.${vendor.usb.qdss.inst.name} /config/usb_gadget/g1/configs/b.1/f5 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_cdev,rmnet,dpl,qdss,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,serial_cdev,rmnet,dpl,qdss,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_dun_rmnet_dpl_qdss_adb" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90DB - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f3 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f4 - symlink /config/usb_gadget/g1/functions/qdss.${vendor.usb.qdss.inst.name} /config/usb_gadget/g1/configs/b.1/f5 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f6 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,uac2,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,uac2,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_uac2_adb" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90CA - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/uac2.0 /config/usb_gadget/g1/configs/b.1/f3 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,uac2 && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_uac2" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x901C - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/uac2.0 /config/usb_gadget/g1/configs/b.1/f2 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,uvc,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,uvc,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_uvc_adb" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90CB - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/uvc.0 /config/usb_gadget/g1/configs/b.1/f3 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,uvc && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_uvc" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90DF - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/uvc.0 /config/usb_gadget/g1/configs/b.1/f2 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,uac2,uvc,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,uac2,uvc,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_uac2_uvc_adb" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90CC - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/uac2.0 /config/usb_gadget/g1/configs/b.1/f3 - symlink /config/usb_gadget/g1/functions/uvc.0 /config/usb_gadget/g1/configs/b.1/f4 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,uac2,uvc && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_uac2_uvc" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90E0 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/uac2.0 /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/uvc.0 /config/usb_gadget/g1/configs/b.1/f3 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,diag_mdm,qdss,qdss_mdm,serial_cdev,dpl,rmnet && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_diag_mdm_qdss_qdss_mdm_dun_dpl_rmnet" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90E4 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/diag.diag_mdm /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f3 - symlink /config/usb_gadget/g1/functions/qdss.qdss_mdm /config/usb_gadget/g1/configs/b.1/f4 - symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f5 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f6 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f7 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_mdm,qdss,qdss_mdm,serial_cdev,dpl,rmnet,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,diag_mdm,qdss,qdss_mdm,serial_cdev,dpl,rmnet,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_diag_mdm_qdss_qdss_mdm_dun_dpl_rmnet_adb" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90E5 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/diag.diag_mdm /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f3 - symlink /config/usb_gadget/g1/functions/qdss.qdss_mdm /config/usb_gadget/g1/configs/b.1/f4 - symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f5 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f6 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f7 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f8 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=rndis,diag,diag_mdm,qdss,qdss_mdm,serial_cdev,dpl && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_diag_diag_mdm_qdss_qdss_mdm_dun_dpl" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90E6 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/diag.diag_mdm /config/usb_gadget/g1/configs/b.1/f3 - symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f4 - symlink /config/usb_gadget/g1/functions/qdss.qdss_mdm /config/usb_gadget/g1/configs/b.1/f5 - symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f6 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f7 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state rndis - -on property:sys.usb.config=rndis,diag,diag_mdm,qdss,qdss_mdm,serial_cdev,dpl,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=rndis,diag,diag_mdm,qdss,qdss_mdm,serial_cdev,dpl,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_diag_diag_mdm_qdss_qdss_mdm_dun_dpl_adb" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90E7 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/diag.diag_mdm /config/usb_gadget/g1/configs/b.1/f3 - symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f4 - symlink /config/usb_gadget/g1/functions/qdss.qdss_mdm /config/usb_gadget/g1/configs/b.1/f5 - symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f6 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f7 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f8 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state rndis,adb - -on property:sys.usb.config=diag,diag_mdm,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,diag_mdm,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_diag_mdm_adb" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90D9 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/diag.diag_mdm /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f3 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,diag_mdm,diag_mdm2,qdss,qdss_mdm,serial_cdev,dpl,rmnet && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_diag_mdm_diag_mdm2_qdss_qdss_mdm_dun_dpl_rmnet" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90F6 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/diag.diag_mdm /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/diag.diag_mdm2 /config/usb_gadget/g1/configs/b.1/f3 - symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f4 - symlink /config/usb_gadget/g1/functions/qdss.qdss_mdm /config/usb_gadget/g1/configs/b.1/f5 - symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f6 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f7 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f8 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_mdm,diag_mdm2,qdss,qdss_mdm,serial_cdev,dpl,rmnet,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,diag_mdm,diag_mdm2,qdss,qdss_mdm,serial_cdev,dpl,rmnet,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_diag_mdm_diag_mdm2_qdss_qdss_mdm_dun_dpl_rmnet_adb" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90F7 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/diag.diag_mdm /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/diag.diag_mdm2 /config/usb_gadget/g1/configs/b.1/f3 - symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f4 - symlink /config/usb_gadget/g1/functions/qdss.qdss_mdm /config/usb_gadget/g1/configs/b.1/f5 - symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f6 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f7 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.rmnet.inst.name} /config/usb_gadget/g1/configs/b.1/f8 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=rndis,diag,diag_mdm,diag_mdm2,qdss,qdss_mdm,serial_cdev,dpl && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_diag_diag_mdm_diag_mdm2_qdss_qdss_mdm_dun_dpl" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90F8 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/diag.diag_mdm /config/usb_gadget/g1/configs/b.1/f3 - symlink /config/usb_gadget/g1/functions/diag.diag_mdm2 /config/usb_gadget/g1/configs/b.1/f4 - symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f5 - symlink /config/usb_gadget/g1/functions/qdss.qdss_mdm /config/usb_gadget/g1/configs/b.1/f6 - symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f7 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f8 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state rndis - -on property:sys.usb.config=rndis,diag,diag_mdm,diag_mdm2,qdss,qdss_mdm,serial_cdev,dpl,adb && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=rndis,diag,diag_mdm,diag_mdm2,qdss,qdss_mdm,serial_cdev,dpl,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "rndis_diag_diag_mdm_diag_mdm2_qdss_qdss_mdm_dun_dpl_adb" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x90F9 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rndis.func.name}.rndis /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/diag.diag_mdm /config/usb_gadget/g1/configs/b.1/f3 - symlink /config/usb_gadget/g1/functions/diag.diag_mdm2 /config/usb_gadget/g1/configs/b.1/f4 - symlink /config/usb_gadget/g1/functions/qdss.qdss /config/usb_gadget/g1/configs/b.1/f5 - symlink /config/usb_gadget/g1/functions/qdss.qdss_mdm /config/usb_gadget/g1/configs/b.1/f6 - symlink /config/usb_gadget/g1/functions/cser.dun.0 /config/usb_gadget/g1/configs/b.1/f7 - symlink /config/usb_gadget/g1/functions/${vendor.usb.rmnet.func.name}.${vendor.usb.dpl.inst.name} /config/usb_gadget/g1/configs/b.1/f8 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state rndis,adb - -on property:sys.usb.config=diag,diag_mdm,ccid && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_diag_mdm_ccid" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x9045 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/diag.diag_mdm /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/ccid.ccid /config/usb_gadget/g1/configs/b.1/f3 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_mdm,adb,ccid && property:sys.usb.configfs=1 - start adbd - -on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,diag_mdm,adb,ccid && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "diag_diag_mdm_adb_ccid" - rm /config/usb_gadget/g1/configs/b.1/f1 - rm /config/usb_gadget/g1/configs/b.1/f2 - rm /config/usb_gadget/g1/configs/b.1/f3 - rm /config/usb_gadget/g1/configs/b.1/f4 - rm /config/usb_gadget/g1/configs/b.1/f5 - rm /config/usb_gadget/g1/configs/b.1/f6 - rm /config/usb_gadget/g1/configs/b.1/f7 - rm /config/usb_gadget/g1/configs/b.1/f8 - rm /config/usb_gadget/g1/configs/b.1/f9 - write /config/usb_gadget/g1/idVendor 0x05C6 - write /config/usb_gadget/g1/idProduct 0x9044 - symlink /config/usb_gadget/g1/functions/diag.diag /config/usb_gadget/g1/configs/b.1/f1 - symlink /config/usb_gadget/g1/functions/diag.diag_mdm /config/usb_gadget/g1/configs/b.1/f2 - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f3 - symlink /config/usb_gadget/g1/functions/ccid.ccid /config/usb_gadget/g1/configs/b.1/f4 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/idVendor 0x18d1 - write /config/usb_gadget/g1/idProduct 0x4ee7 - -on property:sys.usb.config=mtp && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/idVendor 0x18d1 - write /config/usb_gadget/g1/idProduct 0x4ee1 - -on property:sys.usb.config=mtp,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/idVendor 0x18d1 - write /config/usb_gadget/g1/idProduct 0x4ee2 - -on property:sys.usb.config=ptp && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/idVendor 0x18d1 - write /config/usb_gadget/g1/idProduct 0x4ee5 - -on property:sys.usb.config=ptp,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/idVendor 0x18d1 - write /config/usb_gadget/g1/idProduct 0x4ee6 - -on property:sys.usb.config=accessory && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/idVendor 0x18d1 - write /config/usb_gadget/g1/idProduct 0x2d00 - -on property:sys.usb.config=accessory,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/idVendor 0x18d1 - write /config/usb_gadget/g1/idProduct 0x2d01 - -on property:sys.usb.config=audio_source && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/idVendor 0x18d1 - write /config/usb_gadget/g1/idProduct 0x2d02 - -on property:sys.usb.config=audio_source,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/idVendor 0x18d1 - write /config/usb_gadget/g1/idProduct 0x2d03 - -on property:sys.usb.config=accessory,audio_source && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/idVendor 0x18d1 - write /config/usb_gadget/g1/idProduct 0x2d04 - -on property:sys.usb.config=accessory,audio_source,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/idVendor 0x18d1 - write /config/usb_gadget/g1/idProduct 0x2d05 - -on property:sys.usb.config=midi && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/idVendor 0x18d1 - write /config/usb_gadget/g1/idProduct 0x4ee8 - -on property:sys.usb.config=midi,adb && property:sys.usb.configfs=1 - write /config/usb_gadget/g1/idVendor 0x18d1 - write /config/usb_gadget/g1/idProduct 0x4ee9 - -on property:vendor.usb.eud=1 - write /config/usb_gadget/g1/configs/b.1/MaxPower 1 - write /sys/module/eud/parameters/enable 1 - write /sys/kernel/debug/pmic-votable/USB_ICL/force_active 1 - write /sys/kernel/debug/pmic-votable/USB_ICL/force_val 500 - -on property:vendor.usb.eud=0 - write /sys/kernel/debug/pmic-votable/USB_ICL/force_active 0 - write /sys/kernel/debug/pmic-votable/USB_ICL/force_val 0 - write /config/usb_gadget/g1/configs/b.1/MaxPower 0 - write /sys/module/eud/parameters/enable 0 diff --git a/rootdir/etc/init.qcom.factory.rc b/rootdir/etc/init.qcom.factory.rc deleted file mode 100644 index 6c490e4..0000000 --- a/rootdir/etc/init.qcom.factory.rc +++ /dev/null @@ -1,255 +0,0 @@ -# -# Copyright (c) 2009-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. -# - -# Define fastmmi -service fastmmi /system/bin/mmi - user root - group root - disabled - -service vendor.mmid /vendor/bin/mmid - user root - group root - disabled - -service mmi_diag /system/bin/mmi_diag - class main - user root - group root oem_2901 - disabled - -on property:vendor.sys.boot_mode=ffbm - write ${persist.vendor.mmi.misc_dev_path} "ffbm-01" - -on property:vendor.sys.boot_mode=qmmi - write ${persist.vendor.mmi.misc_dev_path} "ffbm-02" - -on property:vendor.sys.boot_mode=normal - write ${persist.vendor.mmi.misc_dev_path} "normal" - -# Creating a scratch storage on /data for factory testing. -on factory-fs && property:ro.bootmode=ffbm-00 - mount tmpfs tmpfs /data - -on factory-fs && property:ro.bootmode=ffbm-01 - mount tmpfs tmpfs /data - -# aligned the usb port with system standard, otherwise if only diag be added -# Then in QMMI mode, the whole Andoid be booted, but due to the ro.bootmode is -# not normal/unknow, then when it apply the default funcs, it will turn to MTP -# which cause the diag/Wwan/modem port all be lost in qmmi mode. Details: -# UsbDeviceManager.java---->getDefaultFunctions and trySetEnabledFunctions -on property:persist.vendor.usb.config=* - setprop persist.sys.usb.ffbm-02.func ${persist.vendor.usb.config} - -on mmi && property:ro.bootmode=ffbm-00 - # ======================================================== - # This is FFBM only settings. - # ======================================================== - #mkdir for factory data files. - mkdir /mnt/vendor/persist/FTM_AP 0750 system system - - start fastmmi - # start qcom-post-boot to set the misc partition path property value - start qcom-post-boot - start mmi_diag - -on mmi && property:ro.bootmode=ffbm-01 - # ======================================================== - # This is FFBM only settings. - # ======================================================== - #mkdir for factory data files. - mkdir /mnt/vendor/persist/FTM_AP 0750 system system - - start fastmmi - ## start qcom-post-boot to set the misc partition path property value - start qcom-post-boot - start mmi_diag - -on property:persist.vendor.usb.config=* && property:ro.bootmode=ffbm-00 - setprop sys.usb.config ${persist.vendor.usb.config} - -on property:persist.vendor.usb.config=* && property:ro.bootmode=ffbm-01 - setprop sys.usb.config ${persist.vendor.usb.config} - -on property:persist.vendor.usb.config=* && property:ro.bootmode=ffbm-02 - setprop sys.usb.config ${persist.vendor.usb.config} - -on ffbm - trigger early-fs - trigger factory-fs - trigger fs - trigger post-fs - - # Mount fstab in init.{$device}.rc by mount_all with '--late' parameter - # to only mount entries with 'latemount'. This is needed if '--early' is - # specified in the previous mount_all command on the fs stage. - # With /system mounted and properties form /system + /factory available, - # some services can be started. - trigger late-fs - - # Now we can mount /data. File encryption requires keymaster to decrypt - # /data, which in turn can only be loaded when system properties are present. - trigger post-fs-data - - # Now we can start zygote for devices with file based encryption - trigger zygote-start - - # Load persist properties and override properties (if enabled) from /data. - trigger load_persist_props_action - - # Remove a file to wake up anything waiting for firmware. - trigger firmware_mounts_complete - - trigger early-boot - trigger boot - trigger mmi - - -# ======================================================== -# Start for audio TC -# ======================================================== - -service vendor.audio_tc53 /vendor/bin/mm-audio-ftm -tc 53 - user audio - group audio - disabled - oneshot - - -service vendor.audio_tc51 /vendor/bin/mm-audio-ftm -tc 51 - user audio - group audio - disabled - oneshot - -service vendor.audio_tc56 /vendor/bin/mm-audio-ftm -tc 56 - user audio - group audio - disabled - oneshot - -service vendor.audio_tc222 /vendor/bin/mm-audio-ftm -tc 222 - user audio - group audio - disabled - oneshot - -service vendor.audio_tc228 /vendor/bin/mm-audio-ftm -tc 228 - user audio - group audio - disabled - oneshot - -service vendor.audio_tc229 /vendor/bin/mm-audio-ftm -tc 229 - user audio - group audio - disabled - oneshot - -service vendor.audio_tc230 /vendor/bin/mm-audio-ftm -tc 230 - user audio - group audio - disabled - oneshot - -service vendor.audio_tc225 /vendor/bin/mm-audio-ftm -tc 225 - user audio - group audio - disabled - oneshot - -service vendor.audio_tc246 /vendor/bin/mm-audio-ftm -tc 246 - user audio - group audio - disabled - oneshot - -service vendor.audio_tc247 /vendor/bin/mm-audio-ftm -tc 247 - user audio - group audio - disabled - oneshot - -service vendor.audio_tc250 /vendor/bin/mm-audio-ftm -tc 250 - user audio - group audio - disabled - oneshot - -service vendor.audio_tc251 /vendor/bin/mm-audio-ftm -tc 251 - user audio - group audio - disabled - oneshot - -service vendor.audio_tc252 /vendor/bin/mm-audio-ftm -tc 252 - user audio - group audio - disabled - oneshot - -service vendor.audio_tc253 /vendor/bin/mm-audio-ftm -tc 253 - user audio - group audio - disabled - oneshot - -service vendor.audio_tc11 /vendor/bin/mm-audio-ftm -tc 11 -file /data/vendor/audio/ftm_headset_mic_record.wav - user audio - group audio - disabled - oneshot - -service vendor.audio_tc101 /vendor/bin/mm-audio-ftm -tc 101 -file /data/vendor/audio/ftm_mic1_record.wav - user audio - group audio - disabled - oneshot - -service vendor.audio_tc102 /vendor/bin/mm-audio-ftm -tc 102 -file /data/vendor/audio/ftm_mic2_record.wav - user audio - group audio - disabled - oneshot - -service vendor.audio_tc103 /vendor/bin/mm-audio-ftm -tc 103 -file /data/vendor/audio/ftm_mic3_record.wav - user audio - group audio - disabled - oneshot - -service vendor.audio_tc104 /vendor/bin/mm-audio-ftm -tc 104 -file /data/vendor/audio/ftm_mic4_record.wav - user audio - group audio - disabled - oneshot - -# ======================================================== -# End for audio TC -# ======================================================== diff --git a/rootdir/etc/init.qcom.performance.rc b/rootdir/etc/init.qcom.performance.rc deleted file mode 100644 index e7fd099..0000000 --- a/rootdir/etc/init.qcom.performance.rc +++ /dev/null @@ -1,204 +0,0 @@ -on early-init - # Disable EAS - write /sys/kernel/debug/sched_features NO_ENERGY_AWARE - -on init - # Boot time fs tuning - write /sys/block/sda/queue/iosched/slice_idle 0 - write /sys/block/sda/queue/read_ahead_kb 2048 - write /sys/block/sda/queue/nr_requests 256 - write /sys/block/sde/queue/scheduler cfq - write /sys/block/sde/queue/iosched/slice_idle 0 - write /sys/block/sde/queue/read_ahead_kb 2048 - write /sys/block/sde/queue/nr_requests 256 - write /sys/block/sdf/queue/scheduler cfq - write /sys/block/sdf/queue/iosched/slice_idle 0 - write /sys/block/sdf/queue/read_ahead_kb 2048 - write /sys/block/sdf/queue/nr_requests 256 - write /sys/block/dm-0/queue/read_ahead_kb 2048 - write /sys/block/dm-1/queue/read_ahead_kb 2048 - write /sys/block/dm-2/queue/read_ahead_kb 2048 - write /sys/block/dm-3/queue/read_ahead_kb 2048 - write /sys/block/dm-4/queue/read_ahead_kb 2048 - write /sys/block/dm-5/queue/read_ahead_kb 2048 - write /sys/block/dm-6/queue/read_ahead_kb 2048 - - # Disable UFS powersaving - write /sys/devices/platform/soc/${ro.boot.bootdevice}/clkgate_enable 0 - - # Disable powersaving - write /sys/module/lpm_levels/parameters/sleep_disabled 1 - - # configure governor settings for little cluster - write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor schedutil - - # configure governor settings for big cluster - write /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor schedutil - - # configure governor settings for big big CPU - write /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor schedutil - - # ZRAM setup - write /sys/block/zram0/comp_algorithm lz4 - write /proc/sys/vm/page-cluster 0 - - # set default schedTune value for foreground/top-app - write /dev/stune/foreground/schedtune.prefer_idle 1 - write /dev/stune/top-app/schedtune.boost 10 - write /dev/stune/top-app/schedtune.prefer_idle 1 - - # create a cpuset for camera-specific processes - mkdir /dev/cpuset/camera-daemon - write /dev/cpuset/camera-daemon/cpus 0-7 - write /dev/cpuset/camera-daemon/mems 0 - chown system system /dev/cpuset/camera-daemon - chown system system /dev/cpuset/camera-daemon/tasks - chmod 0664 /dev/cpuset/camera-daemon/tasks - - # create an stune group for camera-specific processes - mkdir /dev/stune/camera-daemon - write /dev/stune/camera-daemon/schedtune.prefer_idle 1 - write /dev/stune/camera-daemon/schedtune.boost 0 - chown system system /dev/stune/camera-daemon - chown system system /dev/stune/camera-daemon/tasks - chmod 0664 /dev/stune/camera-daemon/tasks - -on property:sys.boot_completed=1 - - # Runtime fs tuning - write /sys/block/sda/queue/read_ahead_kb 128 - write /sys/block/sda/queue/nr_requests 128 - write /sys/block/sde/queue/read_ahead_kb 128 - write /sys/block/sde/queue/nr_requests 128 - write /sys/block/sdf/queue/read_ahead_kb 128 - write /sys/block/sdf/queue/nr_requests 128 - write /sys/block/dm-0/queue/read_ahead_kb 128 - write /sys/block/dm-1/queue/read_ahead_kb 128 - write /sys/block/dm-2/queue/read_ahead_kb 128 - write /sys/block/dm-3/queue/read_ahead_kb 128 - write /sys/block/dm-4/queue/read_ahead_kb 128 - write /sys/block/dm-5/queue/read_ahead_kb 128 - write /sys/block/dm-6/queue/read_ahead_kb 128 - write /sys/block/dm-7/queue/read_ahead_kb 128 - - # Enable powersaving - write /sys/module/lpm_levels/parameters/sleep_disabled 0 - - # Enable UFS powersaving - write /sys/devices/platform/soc/${ro.boot.bootdevice}/clkgate_enable 1 - - # Enable EAS - write /sys/kernel/debug/sched_features ENERGY_AWARE - - #Enable PowerHAL hint processing - setprop vendor.powerhal.init 1 - - # Enable bus-dcvs - write /sys/devices/platform/soc/soc:qcom,cpu-cpu-llcc-bw/devfreq/soc:qcom,cpu-cpu-llcc-bw/governor bw_hwmon - write /sys/devices/platform/soc/soc:qcom,cpu-cpu-llcc-bw/devfreq/soc:qcom,cpu-cpu-llcc-bw/polling_interval 40 - write /sys/devices/platform/soc/soc:qcom,cpu-cpu-llcc-bw/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/mbps_zones "2288 4577 7110 9155 12298 14236 15258" - write /sys/devices/platform/soc/soc:qcom,cpu-cpu-llcc-bw/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/sample_ms 4 - write /sys/devices/platform/soc/soc:qcom,cpu-cpu-llcc-bw/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/io_percent 50 - write /sys/devices/platform/soc/soc:qcom,cpu-cpu-llcc-bw/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/hist_memory 20 - write /sys/devices/platform/soc/soc:qcom,cpu-cpu-llcc-bw/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/hyst_length 10 - write /sys/devices/platform/soc/soc:qcom,cpu-cpu-llcc-bw/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/down_thres 30 - write /sys/devices/platform/soc/soc:qcom,cpu-cpu-llcc-bw/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/guard_band_mbps 0 - write /sys/devices/platform/soc/soc:qcom,cpu-cpu-llcc-bw/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/up_scale 250 - write /sys/devices/platform/soc/soc:qcom,cpu-cpu-llcc-bw/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/idle_mbps 1600 - write /sys/devices/platform/soc/soc:qcom,cpu-cpu-llcc-bw/devfreq/soc:qcom,cpu-cpu-llcc-bw/max_freq 14236 - - write /sys/devices/platform/soc/soc:qcom,cpu-llcc-ddr-bw/devfreq/soc:qcom,cpu-llcc-ddr-bw/governor bw_hwmon - write /sys/devices/platform/soc/soc:qcom,cpu-llcc-ddr-bw/devfreq/soc:qcom,cpu-llcc-ddr-bw/polling_interval 40 - write /sys/devices/platform/soc/soc:qcom,cpu-llcc-ddr-bw/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/mbps_zones "1720 2929 3879 5931 6881 7980" - write /sys/devices/platform/soc/soc:qcom,cpu-llcc-ddr-bw/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/sample_ms 4 - write /sys/devices/platform/soc/soc:qcom,cpu-llcc-ddr-bw/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/io_percent 80 - write /sys/devices/platform/soc/soc:qcom,cpu-llcc-ddr-bw/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/hist_memory 20 - write /sys/devices/platform/soc/soc:qcom,cpu-llcc-ddr-bw/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/hyst_length 10 - write /sys/devices/platform/soc/soc:qcom,cpu-llcc-ddr-bw/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/down_thres 30 - write /sys/devices/platform/soc/soc:qcom,cpu-llcc-ddr-bw/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/guard_band_mbps 0 - write /sys/devices/platform/soc/soc:qcom,cpu-llcc-ddr-bw/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/up_scale 250 - write /sys/devices/platform/soc/soc:qcom,cpu-llcc-ddr-bw/devfreq/soc:qcom,cpu-llcc-ddr-bw/bw_hwmon/idle_mbps 1600 - write /sys/devices/platform/soc/soc:qcom,cpu-llcc-ddr-bw/devfreq/soc:qcom,cpu-llcc-ddr-bw/max_freq 6881 - - write /sys/devices/virtual/npu/msm_npu/pwr 1 - write /sys/devices/platform/soc/soc:qcom,npu-npu-ddr-bw/devfreq/soc:qcom,npu-npu-ddr-bw/governor bw_hwmon - write /sys/devices/platform/soc/soc:qcom,npu-npu-ddr-bw/devfreq/soc:qcom,npu-npu-ddr-bw/polling_interval 40 - write /sys/devices/platform/soc/soc:qcom,npu-npu-ddr-bw/devfreq/soc:qcom,npu-npu-ddr-bw/bw_hwmon/mbps_zones "1720 2929 3879 5931 6881 7980" - write /sys/devices/platform/soc/soc:qcom,npu-npu-ddr-bw/devfreq/soc:qcom,npu-npu-ddr-bw/bw_hwmon/sample_ms 4 - write /sys/devices/platform/soc/soc:qcom,npu-npu-ddr-bw/devfreq/soc:qcom,npu-npu-ddr-bw/bw_hwmon/io_percent 80 - write /sys/devices/platform/soc/soc:qcom,npu-npu-ddr-bw/devfreq/soc:qcom,npu-npu-ddr-bw/bw_hwmon/hist_memory 20 - write /sys/devices/platform/soc/soc:qcom,npu-npu-ddr-bw/devfreq/soc:qcom,npu-npu-ddr-bw/bw_hwmon/hyst_length 6 - write /sys/devices/platform/soc/soc:qcom,npu-npu-ddr-bw/devfreq/soc:qcom,npu-npu-ddr-bw/bw_hwmon/down_thres 30 - write /sys/devices/platform/soc/soc:qcom,npu-npu-ddr-bw/devfreq/soc:qcom,npu-npu-ddr-bw/bw_hwmon/guard_band_mbps 0 - write /sys/devices/platform/soc/soc:qcom,npu-npu-ddr-bw/devfreq/soc:qcom,npu-npu-ddr-bw/bw_hwmon/up_scale 250 - write /sys/devices/platform/soc/soc:qcom,npu-npu-ddr-bw/devfreq/soc:qcom,npu-npu-ddr-bw/bw_hwmon/idle_mbps 0 - write /sys/devices/virtual/npu/msm_npu/pwr 0 - - #Enable mem_latency governor for L3, LLCC, and DDR scaling - write /sys/devices/platform/soc/soc:qcom,cpu0-cpu-llcc-lat/devfreq/soc:qcom,cpu0-cpu-llcc-lat/governor mem_latency - write /sys/devices/platform/soc/soc:qcom,cpu0-cpu-llcc-lat/devfreq/soc:qcom,cpu0-cpu-llcc-lat/polling_interval 10 - write /sys/devices/platform/soc/soc:qcom,cpu0-cpu-llcc-lat/devfreq/soc:qcom,cpu0-cpu-llcc-lat/mem_latency/ratio_ceil 400 - - write /sys/devices/platform/soc/soc:qcom,cpu0-cpu-l3-lat/devfreq/soc:qcom,cpu0-cpu-l3-lat/governor mem_latency - write /sys/devices/platform/soc/soc:qcom,cpu0-cpu-l3-lat/devfreq/soc:qcom,cpu0-cpu-l3-lat/polling_interval 10 - write /sys/devices/platform/soc/soc:qcom,cpu0-cpu-l3-lat/devfreq/soc:qcom,cpu0-cpu-l3-lat/mem_latency/ratio_ceil 400 - - write /sys/devices/platform/soc/soc:qcom,cpu0-llcc-ddr-lat/devfreq/soc:qcom,cpu0-llcc-ddr-lat/governor mem_latency - write /sys/devices/platform/soc/soc:qcom,cpu0-llcc-ddr-lat/devfreq/soc:qcom,cpu0-llcc-ddr-lat/polling_interval 10 - write /sys/devices/platform/soc/soc:qcom,cpu0-llcc-ddr-lat/devfreq/soc:qcom,cpu0-llcc-ddr-lat/mem_latency/ratio_ceil 400 - - write /sys/devices/platform/soc/soc:qcom,cpu4-cpu-llcc-lat/devfreq/soc:qcom,cpu4-cpu-llcc-lat/governor mem_latency - write /sys/devices/platform/soc/soc:qcom,cpu4-cpu-llcc-lat/devfreq/soc:qcom,cpu4-cpu-llcc-lat/polling_interval 10 - write /sys/devices/platform/soc/soc:qcom,cpu4-cpu-llcc-lat/devfreq/soc:qcom,cpu4-cpu-llcc-lat/mem_latency/ratio_ceil 400 - - write /sys/devices/platform/soc/soc:qcom,cpu4-cpu-l3-lat/devfreq/soc:qcom,cpu4-cpu-l3-lat/governor mem_latency - write /sys/devices/platform/soc/soc:qcom,cpu4-cpu-l3-lat/devfreq/soc:qcom,cpu4-cpu-l3-lat/polling_interval 10 - #Gold L3 ratio ceil is 4000 - write /sys/devices/platform/soc/soc:qcom,cpu4-cpu-l3-lat/devfreq/soc:qcom,cpu4-cpu-l3-lat/mem_latency/ratio_ceil 4000 - - write /sys/devices/platform/soc/soc:qcom,cpu7-cpu-l3-lat/devfreq/soc:qcom,cpu7-cpu-l3-lat/governor mem_latency - write /sys/devices/platform/soc/soc:qcom,cpu7-cpu-l3-lat/devfreq/soc:qcom,cpu7-cpu-l3-lat/polling_interval 10 - #Gold+ L3 ratio ceil is 20000 - write /sys/devices/platform/soc/soc:qcom,cpu7-cpu-l3-lat/devfreq/soc:qcom,cpu7-cpu-l3-lat/mem_latency/ratio_ceil 20000 - - write /sys/devices/platform/soc/soc:qcom,cpu4-llcc-ddr-lat/devfreq/soc:qcom,cpu4-llcc-ddr-lat/governor mem_latency - write /sys/devices/platform/soc/soc:qcom,cpu4-llcc-ddr-lat/devfreq/soc:qcom,cpu4-llcc-ddr-lat/polling_interval 10 - write /sys/devices/platform/soc/soc:qcom,cpu4-llcc-ddr-lat/devfreq/soc:qcom,cpu4-llcc-ddr-lat/mem_latency/ratio_ceil 400 - - #Enable userspace governor for L3 cdsp nodes - write /sys/devices/platform/soc/soc:qcom,cdsp-cdsp-l3-lat/devfreq/soc:qcom,cdsp-cdsp-l3-lat/governor cdspl3 - - #Enable compute governor for gold latfloor - write /sys/devices/platform/soc/soc:qcom,cpu4-cpu-ddr-latfloor/devfreq/soc:qcom,cpu4-cpu-ddr-latfloor/governor compute - write /sys/devices/platform/soc/soc:qcom,cpu4-cpu-ddr-latfloor/devfreq/soc:qcom,cpu4-cpu-ddr-latfloor/polling_interval 10 - - # F2FS tuning: issue discard commands up to 128MB - write /sys/block/dm-7/queue/discard_max_bytes 134217728 - - # Back to default VM settings - write /proc/sys/vm/dirty_expire_centisecs 3000 - write /proc/sys/vm/dirty_background_ratio 10 - - # Block layer tuning: discard chunk size up to 128MB - # Otherwise, contiguous discards can be merged - write /sys/block/sda/queue/discard_max_bytes 134217728 - - # Enable ZRAM on boot_complete - rm /data/unencrypted/zram_swap - swapon_all /vendor/etc/fstab.qcom - write /proc/sys/vm/swappiness 100 - - # Setup runtime cpusets - write /dev/cpuset/top-app/cpus 0-7 - write /dev/cpuset/foreground/cpus 0-3,5-6 - write /dev/cpuset/background/cpus 0-1 - write /dev/cpuset/system-background/cpus 0-3 - write /dev/cpuset/restricted/cpus 0-3 - - # Setup runtime blkio - # value for group_idle is us - write /dev/blkio/blkio.weight 1000 - write /dev/blkio/background/blkio.weight 200 - write /dev/blkio/blkio.group_idle 2000 - write /dev/blkio/background/blkio.group_idle 0 - diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc deleted file mode 100644 index 6c80f62..0000000 --- a/rootdir/etc/init.qcom.rc +++ /dev/null @@ -1,1047 +0,0 @@ -# Copyright (c) 2009-2012, 2014-2019, 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. -# - -import /vendor/etc/init/hw/init.qcom.usb.rc -import /vendor/etc/init/hw/init.msm.usb.configfs.rc -import /vendor/etc/init/hw/init.qcom.test.rc -import /vendor/etc/init/hw/init.target.rc -import /vendor/etc/init/hw/init.qcom.factory.rc -import /vendor/etc/init/hw/init.lenovo.rc -import /vendor/etc/init/hw/init.lenovo.usb.configfs.rc -import /vendor/etc/init/hw/init.lenovo.common.rc -import /vendor/etc/init/hw/init.qcom.performance.rc - -on early-init - mount debugfs debugfs /sys/kernel/debug - chmod 0755 /sys/kernel/debug - - # create symlink for vendor mount points - symlink /vendor/firmware_mnt /firmware - symlink /vendor/bt_firmware /bt_firmware - symlink /vendor/dsp /dsp - - # Change ownership of hw_recovery related nodes - chown system graphics /sys/kernel/debug/dri/0/debug/dump - chown system graphics /sys/kernel/debug/dri/0/debug/recovery_reg - chown system graphics /sys/kernel/debug/dri/0/debug/recovery_dbgbus - chown system graphics /sys/kernel/debug/dri/0/debug/recovery_vbif_dbgbus - - chown root system /dev/kmsg - chmod 0620 /dev/kmsg - -on init - - # Support legacy paths - symlink /sdcard /mnt/sdcard - symlink /sdcard /storage/sdcard0 - - # Create cgroup mount point for memory - mkdir /sys/fs/cgroup/memory/bg 0750 root system - write /sys/fs/cgroup/memory/bg/memory.swappiness 140 - write /sys/fs/cgroup/memory/bg/memory.move_charge_at_immigrate 1 - chown root system /sys/fs/cgroup/memory/bg/tasks - chmod 0660 /sys/fs/cgroup/memory/bg/tasks - -on post-fs - chmod 0755 /sys/kernel/debug/tracing - -on early-boot - # set RLIMIT_MEMLOCK to 64MB - setrlimit 8 67108864 67108864 - # Allow subsystem (modem etc) debugging - write /sys/kernel/boot_adsp/boot 1 - write /sys/kernel/boot_cdsp/boot 1 - write /sys/devices/virtual/npu/msm_npu/boot 1 - write /sys/kernel/boot_slpi/boot 1 - write /sys/devices/virtual/cvp/cvp/boot 1 - exec u:r:vendor_qti_init_shell:s0 -- /vendor/bin/init.qcom.early_boot.sh - exec u:r:vendor_qti_init_shell:s0 -- /vendor/bin/init.qti.can.sh - - # for backward compatibility - chown system system /persist/sensors - chown system system /persist/sensors/registry - chown system system /persist/sensors/registry/registry - chown system system /persist/sensors/registry/registry/sensors_registry - chown system system /persist/sensors/sensors_settings - chown system system /persist/sensors/registry/config - chmod 0664 /persist/sensors/sensors_settings - - chown system system /mnt/vendor/persist/sensors - chown system system /mnt/vendor/persist/sensors/sns.reg - chown system system /mnt/vendor/persist/sensors/sensors_list.txt - chown system system /mnt/vendor/persist/sensors/registry - chown system system /mnt/vendor/persist/sensors/registry/registry - chown system system /mnt/vendor/persist/sensors/registry/registry/sensors_registry - chown system system /mnt/vendor/persist/sensors/sensors_settings - chown system system /mnt/vendor/persist/sensors/registry/sns_reg_config - chown system system /mnt/vendor/persist/sensors/registry/sns_reg_version - chown system system /mnt/vendor/persist/sensors/registry/config - chmod 0664 /mnt/vendor/persist/sensors/sensors_settings - - chown system system /mnt/vendor/persist/data/pfm/licenses - chmod 0775 /mnt/vendor/persist/data/pfm/licenses - -on boot - chown bluetooth bluetooth /sys/module/bluetooth_power/parameters/power - chown bluetooth net_bt /sys/class/rfkill/rfkill0/type - chown bluetooth net_bt /sys/class/rfkill/rfkill0/state - chown bluetooth bluetooth /proc/bluetooth/sleep/proto - chown bluetooth bluetooth /sys/module/hci_uart/parameters/ath_lpm - chown bluetooth bluetooth /sys/module/hci_uart/parameters/ath_btwrite - chown system system /sys/module/sco/parameters/disable_esco - chown bluetooth bluetooth /sys/module/hci_smd/parameters/hcismd_set - chown system system /sys/module/msm_core/parameters/polling_interval - chown system system /sys/module/msm_core/parameters/disabled - chown system system /sys/kernel/debug/msm_core/enable - chown system system /sys/kernel/debug/msm_core/ptable - chown system system /sys/kernel/boot_slpi/ssr - chown system system /sys/module/radio_iris_transport/parameters/fmsmd_set - chmod 0660 /sys/module/bluetooth_power/parameters/power - chmod 0660 /sys/module/hci_smd/parameters/hcismd_set - chmod 0660 /sys/module/radio_iris_transport/parameters/fmsmd_set - chmod 0660 /sys/class/rfkill/rfkill0/state - chmod 0660 /proc/bluetooth/sleep/proto - chown bluetooth net_bt /dev/ttyHS0 - chmod 0660 /sys/module/hci_uart/parameters/ath_lpm - chmod 0660 /sys/module/hci_uart/parameters/ath_btwrite - chmod 0660 /dev/ttyHS0 - chown bluetooth bluetooth /sys/devices/platform/msm_serial_hs.0/clock - chmod 0660 /sys/devices/platform/msm_serial_hs.0/clock - - chmod 0660 /dev/ttyHS2 - chown bluetooth bluetooth /dev/ttyHS2 - - chown bluetooth net_bt /sys/class/rfkill/rfkill0/device/extldo - chmod 0660 /sys/class/rfkill/rfkill0/device/extldo - - # This location is used by QCRIL to host UNIX domain - # socket files used for internal IPC within QCRIL - # modules - mkdir /dev/socket/qmux_radio 0770 radio radio - chmod 2770 /dev/socket/qmux_radio - - mkdir /persist/drm 0770 system system - mkdir /persist/bluetooth 0770 bluetooth bluetooth - mkdir /persist/misc 0770 system system - mkdir /persist/alarm 0770 system system - mkdir /mnt/vendor/persist/time 0770 system system - mkdir /mnt/vendor/persist/secnvm 0770 system system - mkdir /mnt/vendor/persist/iar_db 0770 system system - mkdir /mnt/vendor/spunvm 0770 system system - - setprop wifi.interface wlan0 - - setprop ro.telephony.call_ring.multiple false - - #enable camera read sensors data - setprop persist.camera.gyro.disable 0 - - #Remove SUID bit for iproute2 ip tool - chmod 0755 /system/bin/ip - - - chmod 0444 /sys/devices/platform/msm_hsusb/gadget/usb_state - - setprop net.tcp.2g_init_rwnd 10 - - # To prevent out of order acknowledgements from making - # connection tracking to treat them as not belonging to - # the connection they belong to. - # Otherwise, a weird issue happens in which some long - # connections on high-throughput links get dropped when - # an ack packet comes out of order - write /proc/sys/net/netfilter/nf_conntrack_tcp_be_liberal 1 - - # Set the console loglevel to < KERN_INFO - # Set the default message loglevel to KERN_INFO - write /proc/sys/kernel/printk "6 6 1 7" - - # Allow access for CCID command/response timeout configuration - chown system system /sys/module/ccid_bridge/parameters/bulk_msg_timeout - - # Allow access to emmc rawdump block partition and dload sysfs node - chown root system /dev/block/bootdevice/by-name/rawdump - chmod 0660 /dev/block/bootdevice/by-name/rawdump - chown root system /sys/kernel/dload/emmc_dload - chmod 0660 /sys/kernel/dload/emmc_dload - chown root system /dev/block/bootdevice/by-name/ramdump - chmod 0660 /dev/block/bootdevice/by-name/ramdump - chown root system /sys/kernel/dload/dload_mode - chmod 0660 /sys/kernel/dload/dload_mode - - chown system system /sys/class/backlight/panel0-backlight/brightness - chown system system /sys/class/backlight/panel0-backlight/max_brightness - chown system system /sys/class/backlight/panel1-backlight/brightness - chown system system /sys/class/backlight/panel1-backlight/max_brightness - - # Allow access to sensors device attributes - chown system system /sys/class/sensors/MPU6050-accel/enable - chown system system /sys/class/sensors/MPU6050-accel/poll_delay - chown system system /sys/class/sensors/MPU6050-gyro/enable - chown system system /sys/class/sensors/MPU6050-gyro/poll_delay - chown system system /sys/class/sensors/apds9930-light/enable - chown system system /sys/class/sensors/apds9930-light/poll_delay - chown system system /sys/class/sensors/apds9930-proximity/enable - chown system system /sys/class/sensors/apds9930-proximity/poll_delay - - # Create directory used for display - # for backward compatibility - mkdir /persist/display 0770 system graphics - mkdir /mnt/vendor/persist/display 0770 system graphics - - # Create vpp directory - mkdir /mnt/vendor/persist/vpp 0770 media media - - - # Create hvdcp_opti directory - mkdir /mnt/vendor/persist/hvdcp_opti 0770 root system - - #sensors log dir - mkdir /data/vendor/sensors - chown system system /data/vendor/sensors - -# msm specific files that need to be created on /data -on post-fs-data - mkdir /data/vendor/misc 01771 system system - - # Create directory used for dump collection - mkdir /data/vendor/ssrdump 0770 root system - - # Create directory used by display clients - mkdir /data/vendor/display 0770 system graphics - - # Change lm related dirs - mkdir /data/vendor/lm 0700 root root - - # Create directory used by media clients - mkdir /data/vendor/media 0770 mediacodec media - - # Create /data/vendor/tzstorage directory for SFS listener - mkdir /data/vendor/tzstorage 0770 system system - - # Create directory for apps access via QTEEConnector - mkdir /data/vendor/qtee 0770 system system - - #Create folder of camera - mkdir /data/vendor/camera 0777 camera camera - - - #Create directory for tftp - mkdir /data/vendor/tombstones 0771 system system - mkdir /data/vendor/tombstones/rfs 0771 system system - - mkdir /data/vendor/ramdump 0771 root system - mkdir /data/vendor/bluetooth 0770 bluetooth bluetooth - mkdir /data/vendor/ramdump/bluetooth 0770 bluetooth bluetooth - - # Create the directories used by the Wireless subsystem - mkdir /data/vendor/wifi 0770 wifi wifi - mkdir /data/vendor/wifi/sockets 0770 wifi wifi - mkdir /data/vendor/wifi/hostapd 0770 wifi wifi - mkdir /data/vendor/wifi/hostapd/ctrl 0770 wifi wifi - mkdir /data/vendor/wifi/wpa_supplicant 0770 wifi wifi - mkdir /data/vendor/wifi/wpa 0770 wifi wifi - mkdir /data/vendor/wifi/wpa/sockets 0770 wifi wifi - - # Create the directories used by CnE subsystem - mkdir /data/vendor/connectivity 0771 radio radio - chown radio radio /data/vendor/connectivity - - # Create directory used by audio subsystem - mkdir /data/vendor/audio 0770 audio audio - - # Create directory for audio delta files - mkdir /data/vendor/audio/acdbdata 0770 media audio - mkdir /data/vendor/audio/acdbdata/delta 0770 media audio - - # Create directory for radio - mkdir /data/vendor/radio 0770 system radio - rm /data/vendor/radio/shmbus - - # Create directory for modem_config - mkdir /data/vendor/modem_config 0570 radio root - - # Mounting of persist is moved to 'on emmc-fs' and 'on fs' sections - # We chown/chmod /persist again so because mount is run as root + defaults - chown root system /persist - chmod 0771 /persist - chown system system /persist/WCNSS_qcom_wlan_nv.bin - chmod 0664 /sys/devices/platform/msm_sdcc.1/polling - chmod 0664 /sys/devices/platform/msm_sdcc.2/polling - chmod 0664 /sys/devices/platform/msm_sdcc.3/polling - chmod 0664 /sys/devices/platform/msm_sdcc.4/polling - - # Chown polling nodes as needed from UI running on system server - chown system system /sys/devices/platform/msm_sdcc.1/polling - chown system system /sys/devices/platform/msm_sdcc.2/polling - chown system system /sys/devices/platform/msm_sdcc.3/polling - chown system system /sys/devices/platform/msm_sdcc.4/polling - - #Create the symlink to qcn wpa_supplicant folder for ar6000 wpa_supplicant - #symlink /data/misc/wifi/wpa_supplicant /data/system/wpa_supplicant - - #Create directories for Location services - mkdir /data/vendor/location 0770 gps gps - mkdir /data/vendor/location/mq 0770 gps gps - mkdir /data/vendor/location/xtwifi 0770 gps gps - mkdir /dev/socket/location 0770 gps gps - mkdir /dev/socket/location/mq 0770 gps gps - mkdir /dev/socket/location/xtra 0770 gps gps - - #Create directories for wifihal services - mkdir /dev/socket/wifihal 0770 wifi wifi - chmod 2770 /dev/socket/wifihal - - # Create /data/time folder for time-services - mkdir /data/vendor/time/ 0700 system system - - # Create /data/vendor/diag_logs folder for on-device-logging - mkdir /data/vendor/diag_mdlog 0777 system system - - setprop vold.post_fs_data_done 1 - - #Create a folder for SRS to be able to create a usercfg file - #mkdir /data/data/media 0770 media media - - #Create FM dir for patchdownloader - mkdir /data/vendor/fm 0770 system system - chmod 0770 /data/vendor/fm - - #Create PERFD deamon related dirs - mkdir /data/vendor/perfd 0770 root system - chmod 2770 /data/vendor/perfd - rm /data/vendor/perfd/default_values - - mkdir /data/vendor/secure_element 0777 system system - - #Create IOP deamon related dirs - mkdir /data/vendor/iop 0700 root system - - # Mark the copy complete flag to not completed - write /data/vendor/radio/copy_complete 0 - chown radio radio /data/vendor/radio/copy_complete - chmod 0660 /data/vendor/radio/copy_complete - - # copy prebuilt qcril.db files always - copy /vendor/radio/qcril_database/qcril.db /data/vendor/radio/qcril_prebuilt.db - chown radio radio /data/vendor/radio/qcril_prebuilt.db - chmod 0660 /data/vendor/radio/qcril_prebuilt.db - # File flags for prebuilt ril db file - write /data/vendor/radio/prebuilt_db_support 1 - chown radio radio /data/vendor/radio/prebuilt_db_support - chmod 0400 /data/vendor/radio/prebuilt_db_support - write /data/vendor/radio/db_check_done 0 - chown radio radio /data/vendor/radio/db_check_done - chmod 0660 /data/vendor/radio/db_check_done - - # qti-logkit data - mkdir /data/vendor/qti-logkit/ 0771 system system - mkdir /data/vendor/qti-logkit/shared-privileged/ 2770 system system - mkdir /data/vendor/qti-logkit/shared-public/ 2770 system diag - mkdir /data/vendor/qti-logkit/socket-privileged/ 2770 system system - mkdir /data/vendor/qti-logkit/socket-public/ 2750 system diag - mkdir /data/vendor/qti-logkit/logdata/ 2750 system shell - - #Create SWAP related dirs - mkdir /data/vendor/swap 0770 root system - chmod 2770 /data/vendor/swap - - # Create vpp directory - mkdir /data/vendor/vpp 0770 media media - - #Create dir for TUI - mkdir /data/vendor/tui 0700 system drmrpc - - #Start move time data to /data/vendor once post-fs-data done - start vendor.move_time_data - -service nqnfcinfo /system/vendor/bin/nqnfcinfo - class late_start - group nfc - user system - oneshot - -service iop /system/vendor/bin/iop - class main - user root - group root - disabled - socket iop seqpacket 0666 root system - -service qcomsysd /system/vendor/bin/qcom-system-daemon - class main - user root - group root diag oem_2901 - disabled - -on property:persist.vendor.qcomsysd.enabled=1 - enable qcomsysd - -on property:persist.vendor.qcomsysd.enabled=0 - stop qcomsysd - -service vendor.ssr_setup /system/vendor/bin/ssr_setup - oneshot - disabled - -service vendor.ss_ramdump /system/vendor/bin/subsystem_ramdump - class main - user system - group system - disabled - -on property:ro.vendor.iocgrp.config=1 - mkdir /dev/blkio - mount cgroup none /dev/blkio blkio - chown system system /dev/blkio - chown system system /dev/blkio/tasks - chmod 0664 /dev/blkio/tasks - mkdir /dev/blkio/bg 0755 system system - chown system system /dev/blkio/bg/tasks - chmod 0664 /dev/blkio/bg/tasks - write /dev/blkio/blkio.weight 1000 - write /dev/blkio/bg/blkio.weight 100 - -on property:persist.sys.ssr.enable_debug=* - write /sys/module/subsystem_restart/parameters/enable_debug ${persist.sys.ssr.enable_debug} - -on property:persist.sys.mba_boot_timeout=* - write /sys/module/pil_msa/parameters/pbl_mba_boot_timeout_ms ${persist.sys.mba_boot_timeout} - -on property:persist.sys.modem_auth_timeout=* - write /sys/module/pil_msa/parameters/modem_auth_timeout_ms ${persist.sys.modem_auth_timeout} - -on property:persist.sys.pil_proxy_timeout=* - write /sys/module/peripheral_loader/parameters/proxy_timeout_ms ${persist.sys.pil_proxy_timeout} - -on property:persist.vendor.ssr.restart_level=* - start vendor.ssr_setup - -on property:persist.vendor.ssr.enable_ramdumps=1 - write /sys/module/subsystem_restart/parameters/enable_ramdumps 1 - mkdir /data/vendor/ramdump_ssr 770 system system - start vendor.ss_ramdump - -on property:persist.vendor.ssr.enable_ramdumps=0 - write /sys/module/subsystem_restart/parameters/enable_ramdumps 0 - -on property:persist.vendor.sys.rawdump_copy=1 - write /sys/kernel/dload/emmc_dload 1 - -on property:persist.vendor.sys.rawdump_copy=0 - write /sys/kernel/dload/emmc_dload 0 - -on property:sys.boot_completed=1 - write /dev/kmsg "Boot completed " - #WDSP FW boot sysfs node used by STHAL - chown media audio /sys/kernel/wdsp0/boot - chown media audio /sys/kernel/wcd_cpe0/fw_name - -on property:persist.vendor.radio.atfwd.start=false - stop vendor.atfwd - -on property:vendor.radio.atfwd.start=false - stop vendor.atfwd - -# corefile limit -on property:persist.debug.trace=1 - mkdir /data/core 0777 root root - write /proc/sys/kernel/core_pattern "/data/core/%E.%p.%e" - -on property:init.svc.wpa_supplicant=stopped - stop dhcpcd - -on property:vendor.bluetooth.dun.status=running - start vendor.bt-dun - -on property:vendor.bluetooth.dun.status=stopped - stop vendor.bt-dun - -on property:ro.bluetooth.ftm_enabled=true - start ftmd - -on property:vendor.bluetooth.startbtsnoop=true - start vendor.btsnoop - -on property:vendor.bluetooth.startbtsnoop=false - stop vendor.btsnoop - -on property:vendor.bluetooth.startbtlogger=true - start vendor.bt_logger - -on property:vendor.bluetooth.startbtlogger=false - stop vendor.bt_logger - -on property:vendor.media.target.version=* - setprop vendor.sys.media.target.version ${vendor.media.target.version} - -service qcom-c_core-sh /vendor/bin/init.qcom.class_core.sh - class core - user root - oneshot - -service qcom-c_main-sh /vendor/bin/init.class_main.sh - class main - user root - oneshot - -on property:vold.decrypt=trigger_restart_framework - start qcom-c_main-sh - start wcnss-service - -on property:persist.env.fastdorm.enabled=true - setprop persist.radio.data_no_toggle 1 - -service vendor.qrtr-ns /vendor/bin/qrtr-ns -f - class core - user vendor_qrtr - group vendor_qrtr - capabilities NET_BIND_SERVICE - -service irsc_util /vendor/bin/irsc_util "/vendor/etc/sec_config" - class core - user root - oneshot - -service vendor.rmt_storage /vendor/bin/rmt_storage - class core - user root - shutdown critical - ioprio rt 0 - -service vendor.tftp_server /vendor/bin/tftp_server - class core - user root - -on property:vendor.wc_transport.start_hci=true - start vendor.start_hci_filter - -on property:vendor.wc_transport.start_hci=false - stop vendor.start_hci_filter - -service vendor.start_hci_filter /system/vendor/bin/wcnss_filter - class late_start - user bluetooth - group bluetooth diag system wakelock - seclabel u:r:bluetooth:s0 - disabled - -service vendor.bt-dun /system/bin/dun-server /dev/smd7 /dev/rfcomm0 - class late_start - user bluetooth - group bluetooth net_bt_admin inet - disabled - oneshot - -service vendor.btsnoop /system/bin/btsnoop - user bluetooth - group bluetooth net_bt_admin sdcard_rw sdcard_r media_rw - class late_start - disabled - oneshot - -service vendor.bt_logger /system/bin/bt_logger - user bluetooth - group bluetooth net_bt_admin sdcard_rw sdcard_r media_rw - class late_start - disabled - oneshot - -service ftmd /system/bin/logwrapper /system/bin/ftmdaemon - class late_start - user root - group bluetooth net_bt_admin misc diag net_bt - disabled - oneshot - -service qmiproxy /system/bin/qmiproxy - class main - user radio - group radio diag - disabled - -service vendor.sensors /vendor/bin/sscrpcd sensorspd - class early_hal - user system - group system - -service vendor.sensors.qti /vendor/bin/sensors.qti - class core - user system - group system - disabled - -# Adjust socket buffer to enlarge TCP receive window for high bandwidth -# but only if ro.data.large_tcp_window_size property is set. -on property:ro.data.large_tcp_window_size=true - write /proc/sys/net/ipv4/tcp_adv_win_scale 2 - -on property:sys.sysctl.tcp_adv_win_scale=* - write /proc/sys/net/ipv4/tcp_adv_win_scale ${sys.sysctl.tcp_adv_win_scale} - -# Data Migration -service vendor.move_wifi_data /system/bin/move_wifi_data.sh - class main - user wifi - group wifi - disabled - oneshot - -service dhcpcd_wlan0 /system/bin/dhcpcd -ABKLG - class late_start - disabled - oneshot - -service dhcpcd_bond0 /system/bin/dhcpcd -ABKLG - class late_start - disabled - oneshot - -service dhcpcd_p2p /system/bin/dhcpcd -ABKLG - class late_start - disabled - oneshot - -service iprenew_wlan0 /system/bin/dhcpcd -n - class late_start - disabled - oneshot - -service iprenew_bond0 /system/bin/dhcpcd -n - class late_start - disabled - oneshot - -service iprenew_p2p /system/bin/dhcpcd -n - class late_start - disabled - oneshot - -service ptt_socket_app /system/vendor/bin/ptt_socket_app -d - class main - user wifi - group wifi system inet net_admin - capabilities NET_ADMIN - oneshot - -service ptt_ffbm /system/vendor/bin/ptt_socket_app -f -d - user root - group root - disabled - oneshot - -service wifi_ftmd /system/vendor/bin/wifi_ftmd - user system - group system inet net_admin - socket wififtmd_server dgram 0660 system system - disabled - oneshot - -on property:vendor.wifi.ftmd.load=true - insmod /system/lib/modules/pronto/pronto_wlan.ko con_mode=5 - -service cnss-daemon /system/vendor/bin/cnss-daemon -n -l - class late_start - user system - group system inet net_admin wifi - capabilities NET_ADMIN - -on property:sys.shutdown.requested=* - write /sys/kernel/shutdown_wlan/shutdown 1 - stop cnss-daemon - -service dhcpcd_bt-pan /system/bin/dhcpcd -BKLG - class late_start - disabled - oneshot - -service iprenew_bt-pan /system/bin/dhcpcd -n - class late_start - disabled - oneshot - -# service ssgqmigd /vendor/bin/ssgqmigd -# class late_start -# user radio -# group radio gps system -# socket ssgqmig seqpacket 0660 radio inet - -# service ssgtzd /vendor/bin/ssgtzd -# class late_start -# user system -# group system -# socket ssgtzd stream 0660 system inet - -service mlid /vendor/bin/mlid - class late_start - user gps - group gps - socket mlid stream 0666 gps gps - -service loc_launcher /system/vendor/bin/loc_launcher - class late_start - user gps - group gps - -on property:crypto.driver.load=1 - insmod /system/lib/modules/qce.ko - insmod /system/lib/modules/qcedev.ko - -service drmdiag /system/vendor/bin/drmdiagapp - class late_start - user root - disabled - oneshot - -on property:drmdiag.load=1 - start drmdiag - -on property:drmdiag.load=0 - stop drmdiag - -service qcom-sh /vendor/bin/init.qcom.sh - class late_start - user root - group root system radio - oneshot - -service vendor-sensor-sh /vendor/bin/init.qcom.sensors.sh - class core - user root - oneshot - -service crashdata-sh /vendor/bin/init.qcom.crashdata.sh - class late_start - user root - oneshot - -service qcom-post-boot /vendor/bin/init.qcom.post_boot.sh - class late_start - user root - group root system wakelock graphics - disabled - oneshot - -service qti-testscripts /system/bin/sh /system/etc/init.qcom.testscripts.sh - class late_start - user root - disabled - oneshot - seclabel u:r:qti-testscripts:s0 - -service wifi-sdio-on /vendor/bin/init.qcom.sdio.sh - class late_start - group wifi inet - disabled - oneshot - -service wifi-crda /vendor/bin/init.crda.sh - class late_start - user root - disabled - oneshot - -on property:sys.boot_completed=1 - start qcom-post-boot - start qti-testscripts - -on property:ro.vendor.ril.mbn_copy_completed=1 - write /data/vendor/radio/copy_complete 1 - -service qvop-daemon /vendor/bin/qvop-daemon - class late_start - user system - group system drmrpc - -service vendor.atfwd /vendor/bin/ATFWD-daemon - class late_start - user system - group system radio - -service ims_regmanager /system/vendor/bin/exe-ims-regmanagerprocessnative - class late_start - group net_bt_admin inet radio wifi - disabled - -on property:persist.ims.regmanager.mode=1 - start ims_regmanager - -on property:ro.data.large_tcp_window_size=true - # Adjust socket buffer to enlarge TCP receive window for high bandwidth (e.g. DO-RevB) - write /proc/sys/net/ipv4/tcp_adv_win_scale 2 - -service battery_monitor /system/bin/battery_monitor - user system - group system - disabled - -service vendor.ril-daemon2 /vendor/bin/hw/rild -c 2 - class main - user radio - disabled - group radio cache inet misc audio sdcard_r sdcard_rw diag oem_2901 log - capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW - -service vendor.ril-daemon3 /vendor/bin/hw/rild -c 3 - class main - user radio - disabled - group radio cache inet misc audio sdcard_r sdcard_rw diag oem_2901 log - capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW - -service profiler_daemon /system/bin/profiler_daemon - class late_start - user root - group root - disabled - -service charger /system/bin/charger - class charger - user system - group system graphics input - seclabel u:r:charger:s0 - -service vendor.ssr_diag /system/vendor/bin/ssr_diag - class late_start - user system - group system - disabled - -service hvdcp /system/bin/hvdcp - class core - user root - disabled - -on property:persist.usb.hvdcp.detect=true - start hvdcp - -on property:persist.usb.hvdcp.detect=false - stop hvdcp - -service charger_monitor /system/bin/charger_monitor - user root - group root - disabled - -service qbcharger /charger -m 1 - disabled - oneshot - -on property:sys.qbcharger.enable=true - start qbcharger - -on property:sys.qbcharger.enable=false - stop qbcharger - -service diag_mdlog_start /system/vendor/bin/diag_mdlog - class late_start - user shell - group system oem_2901 sdcard_rw sdcard_r media_rw - disabled - oneshot - -service diag_mdlog_stop /system/vendor/bin/diag_mdlog -k - class late_start - user shell - group system oem_2901 sdcard_rw sdcard_r media_rw - disabled - oneshot - -service qlogd /system/xbin/qlogd - socket qlogd stream 0662 system system - class main - disabled -on property:persist.sys.qlogd=1 - start qlogd -on property:persist.sys.qlogd=0 - stop qlogd - -service vm_bms /vendor/bin/vm_bms - user root - group root - disabled - -service vendor.msm_irqbalance /vendor/bin/msm_irqbalance -f /system/vendor/etc/msm_irqbalance.conf - class core - user root - group root - disabled - -service vendor.msm_irqbal_lb /vendor/bin/msm_irqbalance -f /system/vendor/etc/msm_irqbalance_little_big.conf - class core - user root - group root - disabled - -service vendor.msm_irqbl_sdm630 /vendor/bin/msm_irqbalance -f /system/vendor/etc/msm_irqbalance_sdm630.conf - class core - user root - group root - disabled - -# service for USERDEBUG -service vendor.LKCore-dbg /vendor/bin/LKCore - class late_start - oneshot - disabled - user root - group root system log diag net_raw - -# service for USER -service vendor.LKCore-rel /vendor/bin/LKCore - class late_start - oneshot - disabled - user system - group system log diag - -service qseeproxydaemon /system/vendor/bin/qseeproxydaemon - class late_start - user system - group system - -service esepmdaemon /system/vendor/bin/esepmdaemon - class core - user system - group nfc - -on charger - setprop persist.sys.usb.config mass_storage - start qcom-post-boot - -#add poweroffhandler -service poweroffhandler /system/vendor/bin/poweroffhandler - class core - user media - group graphics audio - disabled - oneshot - -on property:vendor.display.lcd_density=* - setprop ro.sf.lcd_density ${vendor.display.lcd_density} - -# Logcat dump daemon, dumps logs to logdump partition -service logdumpd /system/bin/logcat -b all -v threadtime -D -w /dev/block/bootdevice/by-name/logdump - class core - writepid /dev/cpuset/system-background/tasks - seclabel u:r:logdumpd:s0 - disabled - -# Logdumpd is enabled only for userdebug non-perf build -on property:ro.logdumpd.enabled=1 - start logdumpd - -service time_daemon /vendor/bin/time_daemon - class main - user system - group system - capabilities SYS_TIME - -# Set vendor-ril lib path based on Meta version -on property:vendor.rild.libpath=* - setprop rild.libpath ${vendor.rild.libpath} - -on property:ro.vendor.radio.noril=* - setprop ro.radio.noril ${ro.vendor.radio.noril} - -service seemp_healthd /vendor/bin/seemp_healthd - class late_start - user system - group system - -service vendor.power_off_alarm /vendor/bin/power_off_alarm - class core - group system - disabled - oneshot - -# shenqi-framework, wangwq14, start vendor.power_off_alarm when shutdown charging. -on property:debug.shutdown_charging=1 - start vendor.power_off_alarm - -service vendor.move_time_data /system/bin/move_time_data.sh - class main - user system - group system - disabled - oneshot - -#service vendor.hbtp /vendor/bin/hbtp_daemon -# class main -# user system -# group system -# capabilities SYS_NICE -# disabled - -#service chre /vendor/bin/chre -# class late_start -# user system -# group system -# socket chre seqpacket 0660 root system -# shutdown critical - -on property:vendor.chre.enabled=0 - stop chre - -service bugreport /system/bin/dumpstate -d -p -B -z -o /data/user_de/0/com.android.shell/files/bugreports/bugreport - class main - disabled - oneshot - keycodes 114 115 116 - -#Set GPU Opengles version -on property:vendor.opengles.version=* - setprop ro.opengles.version ${vendor.opengles.version} - -#Set gpu available frequencies property -on property:vendor.gpu.available_frequencies=* - setprop ro.vendor.gpu.available_frequencies ${vendor.gpu.available_frequencies} - -service vendor.audio-hal-2-0 /vendor/bin/hw/android.hardware.audio@2.0-service - override - class hal - user audioserver - # media gid needed for /dev/fm (radio) and for /data/misc/media (tee) - group audio camera drmrpc inet media mediadrm net_bt net_bt_admin net_bw_acct oem_2901 wakelock - capabilities BLOCK_SUSPEND - ioprio rt 4 - writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks - # audioflinger restarts itself when it loses connection with the hal - # and its .rc file has an "onrestart restart audio-hal" rule, thus - # an additional auto-restart from the init process isn't needed. - oneshot - interface android.hardware.audio@5.0::IDevicesFactory default - interface android.hardware.audio@4.0::IDevicesFactory default - interface android.hardware.audio@2.0::IDevicesFactory default - -service vendor.contexthub-hal-1-0 /vendor/bin/hw/android.hardware.contexthub@1.0-service - override - class hal - interface android.hardware.contexthub@1.0::IContexthub default - user system - group system - disabled diff --git a/rootdir/etc/init.qcom.usb.rc b/rootdir/etc/init.qcom.usb.rc deleted file mode 100644 index ef5a07d..0000000 --- a/rootdir/etc/init.qcom.usb.rc +++ /dev/null @@ -1,1671 +0,0 @@ -# Copyright (c) 2011-2016, 2018-2019 The Linux Foundation. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the name of The Linux Foundation nor -# the names of its contributors may be used to endorse or promote -# products derived from this software without specific prior written -# permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -on charger - mkdir /dev/usb-ffs 0770 shell shell - mkdir /dev/usb-ffs/adb 0770 shell shell - mount configfs none /config - mkdir /config/usb_gadget/g1 0770 shell shell - mkdir /config/usb_gadget/g1/strings/0x409 0770 - write /config/usb_gadget/g1/bcdUSB 0x0200 - write /config/usb_gadget/g1/os_desc/use 1 - write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno} - write /config/usb_gadget/g1/strings/0x409/manufacturer ${ro.product.manufacturer} - write /config/usb_gadget/g1/strings/0x409/product ${ro.product.model} - mkdir /config/usb_gadget/g1/functions/mass_storage.0 - mkdir /config/usb_gadget/g1/functions/ffs.adb - mkdir /config/usb_gadget/g1/configs/b.1 0770 shell shell - mkdir /config/usb_gadget/g1/configs/b.1/strings/0x409 0770 shell shell - write /config/usb_gadget/g1/os_desc/b_vendor_code 0x1 - symlink /config/usb_gadget/g1/configs/b.1 /config/usb_gadget/g1/os_desc/b.1 - mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000 - write /sys/class/android_usb/android0/f_ffs/aliases adb - enable vendor.qcom-usb-sh - start vendor.qcom-usb-sh - setprop sys.usb.config mass_storage - -on boot - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - mount configfs none /config - mkdir /config/usb_gadget/g1 0770 - mkdir /config/usb_gadget/g2 0770 - mkdir /config/usb_gadget/g1/strings/0x409 0770 - mkdir /config/usb_gadget/g2/strings/0x409 0770 - write /config/usb_gadget/g1/bcdUSB 0x0200 - write /config/usb_gadget/g2/bcdUSB 0x0200 - write /config/usb_gadget/g1/os_desc/use 1 - write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno} - write /config/usb_gadget/g2/strings/0x409/serialnumber ${ro.serialno} - write /config/usb_gadget/g1/strings/0x409/manufacturer ${ro.product.manufacturer} - write /config/usb_gadget/g2/strings/0x409/manufacturer ${ro.product.manufacturer} - write /config/usb_gadget/g1/strings/0x409/product ${ro.product.model} - write /config/usb_gadget/g2/strings/0x409/product ${ro.product.model} - mkdir /config/usb_gadget/g1/functions/mass_storage.0 - mkdir /config/usb_gadget/g1/functions/mtp.gs0 - mkdir /config/usb_gadget/g1/functions/ptp.gs1 - mkdir /config/usb_gadget/g1/functions/accessory.gs2 - mkdir /config/usb_gadget/g1/functions/audio_source.gs3 - mkdir /config/usb_gadget/g1/functions/midi.gs5 - mkdir /config/usb_gadget/g1/functions/ffs.adb - mkdir /config/usb_gadget/g1/functions/diag.diag - mkdir /config/usb_gadget/g1/functions/diag.diag_mdm - mkdir /config/usb_gadget/g1/functions/diag.diag_mdm2 - mkdir /config/usb_gadget/g1/functions/cser.dun.0 - mkdir /config/usb_gadget/g1/functions/cser.nmea.1 - mkdir /config/usb_gadget/g1/functions/cser.dun.2 - mkdir /config/usb_gadget/g1/functions/gsi.rmnet - mkdir /config/usb_gadget/g1/functions/gsi.rndis - mkdir /config/usb_gadget/g1/functions/gsi.dpl - mkdir /config/usb_gadget/g1/functions/qdss.qdss - mkdir /config/usb_gadget/g1/functions/qdss.qdss_mdm - mkdir /config/usb_gadget/g1/functions/rndis_bam.rndis - mkdir /config/usb_gadget/g1/functions/rndis.rndis - mkdir /config/usb_gadget/g1/functions/rmnet_bam.rmnet - mkdir /config/usb_gadget/g1/functions/rmnet_bam.dpl - mkdir /config/usb_gadget/g1/functions/rmnet_bam.rmnet_bam_dmux - mkdir /config/usb_gadget/g1/functions/rmnet_bam.dpl_bam_dmux - mkdir /config/usb_gadget/g1/functions/ncm.0 - mkdir /config/usb_gadget/g1/functions/ccid.ccid - mkdir /config/usb_gadget/g1/functions/uac2.0 - mkdir /config/usb_gadget/g1/functions/uvc.0 - mkdir /config/usb_gadget/g1/configs/b.1 0770 - mkdir /config/usb_gadget/g2/configs/b.1 0770 - mkdir /config/usb_gadget/g1/configs/b.1/strings/0x409 0770 - mkdir /config/usb_gadget/g2/configs/b.1/strings/0x409 0770 - write /config/usb_gadget/g1/os_desc/b_vendor_code 0x1 - write /config/usb_gadget/g1/os_desc/qw_sign "MSFT100" - symlink /config/usb_gadget/g1/configs/b.1 /config/usb_gadget/g1/os_desc/b.1 - mkdir /dev/usb-ffs 0775 shell system - mkdir /dev/usb-ffs/adb 0770 shell system - mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=1000,rmode=0770,fmode=0660 - write /sys/class/android_usb/android0/f_ffs/aliases adb - setprop sys.mtp.device_type 2 - setprop vendor.usb.controller ${sys.usb.controller} - setprop sys.usb.mtp.device_type 3 - enable vendor.qcom-usb-sh - -service vendor.qcom-usb-sh /vendor/bin/init.qcom.usb.sh - class core - user root - oneshot - disabled - -on property:persist.vendor.usb.config=* - setprop persist.sys.usb.config ${persist.vendor.usb.config} - -on boot && property:ro.boot.usbconfigfs=true - setprop sys.usb.configfs 1 - -on property:vendor.usb.configfs=1 && property:sys.usb.configfs=0 - setprop sys.usb.configfs 1 - -# Following are the parameters required for usb functionality. They provide configurable options like -# product_id/vendor id and allows specifying required functions: -# -# Required parameters: -# -# /sys/class/android_usb/android0/enable: Enables/disables usb composition -# Value: 0 (disable), 1 (enable) -# -# /sys/class/android_usb/android0/idVendor: Stores Vendor ID -# Value: 05c6 (Vendor id for Qualcomm Inc) -# -# /sys/class/android_usb/android0/idProduct: Stores Product id corresponding to usb composition -# Value: 0x9xxx for composite interface, 0xFxxx for single interface -# -# /sys/class/android_usb/android0/f_diag/clients: Stores name of clients representing a diag interface. -# Value: Passed one per interface. e.g. diag[,diag_mdm, diag_qsc, diag_mdm2] -# -# /sys/class/android_usb/android0/functions: Stores name of the function drivers used in usb composition. -# Value: Passed one per function driver. e.g. diag[,adb] -# -#Optional parameters: -# -# /sys/class/android_usb/android0/f_serial/transports: Stores type of underlying transports used to -# communicate to serial interface. -# Value: Passed one per interface. One value represents control and data transport together. -# e.g. smd[,sdio,tty,hsic] -# Only required if serial interface is present. -# -# /sys/class/android_usb/android0/f_serial/transport_names: Stores name of the underlying transports -# used to communicate to serial interface. This is used to distinguish between more than one interface -# using same transport type. -# Value: Passed one per interface. One value represents control and data transport together. -# e.g. serial_hsic[,serial_hsusb] -# Only required for transport type hsic, optional for other transport types. -# -# /sys/class/android_usb/android0/f_rmnet/transports: Stores type of underlying transports used to -# communicate to rmnet interface. -# Value: Passed two per interface as control, data transport type pair. -# e.g. smd,bam[,hsuart,hsuart] -# Only required if rmnet interface is present. -# -# /sys/class/android_usb/android0/f_rmnet/transport_names: Stores name of the underlying transports -# used to communicate to rmnet interface. This is used to distinguish between more than one interface -# using same transport type. -# Value: Passed one per interface. One value represents control and data transport together. -# e.g. rmnet_hsic[,rmnet_hsusb] -# Only required for transport type hsic, optional for other transport types. - -# USB compositions -on property:sys.usb.config=diag,serial_tty,serial_smd && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9002 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports tty,smd - write /sys/class/android_usb/android0/functions diag,serial - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_tty,serial_smd,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9020 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports smd,tty - write /sys/class/android_usb/android0/functions diag,adb,serial - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 901D - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/functions diag,adb - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 900E - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/functions diag - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_smd,rmnet_bam,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9091 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports smd - write /sys/class/android_usb/android0/f_rmnet/transports smd,bam - write /sys/class/android_usb/android0/functions diag,serial,rmnet,adb - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_smd,rmnet_qti_bam,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9091 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports smd - write /sys/class/android_usb/android0/f_rmnet/transports qti,bam - write /sys/class/android_usb/android0/functions diag,serial,rmnet,adb - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_smd,rmnet_bam && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9092 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports smd - write /sys/class/android_usb/android0/f_rmnet/transports smd,bam - write /sys/class/android_usb/android0/functions diag,serial,rmnet - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_smd,rmnet_qti_bam && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9092 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports smd - write /sys/class/android_usb/android0/f_rmnet/transports qti,bam - write /sys/class/android_usb/android0/functions diag,serial,rmnet - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_cdev,serial_tty,rmnet_ipa,mass_storage,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9025 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports char_bridge,tty - write /sys/class/android_usb/android0/f_rmnet/transports qti,bam2bam_ipa - write /sys/class/android_usb/android0/functions diag,adb,serial,rmnet,mass_storage - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_cdev,serial_tty,rmnet_ipa,mass_storage && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9026 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports char_bridge,tty - write /sys/class/android_usb/android0/f_rmnet/transports qti,bam2bam_ipa - write /sys/class/android_usb/android0/functions diag,serial,rmnet,mass_storage - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_bam,mass_storage,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9025 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports smd,tty - write /sys/class/android_usb/android0/f_rmnet/transports smd,bam - write /sys/class/android_usb/android0/functions diag,adb,serial,rmnet,mass_storage - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,acm_smd,acm_tty,rmnet_bam,mass_storage,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 903D - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_acm/acm_transports smd,tty - write /sys/class/android_usb/android0/f_rmnet/transports smd,bam - write /sys/class/android_usb/android0/functions diag,adb,acm,rmnet,mass_storage - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_bam,mass_storage && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9026 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports smd,tty - write /sys/class/android_usb/android0/f_rmnet/transports smd,bam - write /sys/class/android_usb/android0/functions diag,serial,rmnet,mass_storage - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,acm_smd,acm_tty,rmnet_bam,mass_storage && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 903E - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_acm/acm_transports smd,tty - write /sys/class/android_usb/android0/f_rmnet/transports smd,bam - write /sys/class/android_usb/android0/functions diag,serial,rmnet,mass_storage - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_mdm,serial_sdio,serial_smd,rmnet_smd_sdio,mass_storage,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9037 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/f_serial/transports sdio,smd - write /sys/class/android_usb/android0/functions diag,adb,serial,rmnet_smd_sdio,mass_storage - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_mdm,acm_sdio,acm_smd,rmnet_smd_sdio,mass_storage,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 903B - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/f_acm/acm_transports sdio,smd - write /sys/class/android_usb/android0/functions diag,adb,acm,rmnet_smd_sdio,mass_storage - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_mdm,serial_sdio,serial_smd,rmnet_smd_sdio,mass_storage && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9038 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/f_serial/transports sdio,smd - write /sys/class/android_usb/android0/functions diag,serial,rmnet_smd_sdio,mass_storage - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_mdm,acm_sdio,acm_smd,rmnet_smd_sdio,mass_storage && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 903C - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/f_acm/acm_transports sdio,smd - write /sys/class/android_usb/android0/functions diag,acm,rmnet_smd_sdio,mass_storage - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_mdm,serial_sdio,serial_tty,rmnet_sdio,mass_storage,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9031 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/f_serial/transports sdio,tty - write /sys/class/android_usb/android0/functions diag,adb,serial,rmnet_sdio,mass_storage - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_mdm,acm_sdio,acm_tty,rmnet_sdio,mass_storage,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 903B - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/f_acm/acm_transports sdio,tty - write /sys/class/android_usb/android0/functions diag,adb,acm,rmnet_sdio,mass_storage - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_mdm,serial_sdio,serial_tty,rmnet_sdio,mass_storage && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9032 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/f_serial/transports sdio,tty - write /sys/class/android_usb/android0/functions diag,serial,rmnet_sdio,mass_storage - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_mdm,acm_sdio,acm_tty,rmnet_sdio,mass_storage && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 903C - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/f_acm/acm_transports sdio,tty - write /sys/class/android_usb/android0/functions diag,acm,rmnet_sdio,mass_storage - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_tty,serial_tty,rmnet_smd,mass_storage,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9025 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports tty,tty - write /sys/class/android_usb/android0/functions diag,adb,serial,rmnet_smd,mass_storage - write /sys/class/android_usb/android0/enable 1 - start adbd - start vendor.port-bridge - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,acm_tty,acm_tty,rmnet_smd,mass_storage,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 903D - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_acm/acm_transports tty,tty - write /sys/class/android_usb/android0/functions diag,adb,acm,rmnet_smd,mass_storage - write /sys/class/android_usb/android0/enable 1 - start adbd - start vendor.port-bridge - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_tty,serial_tty,rmnet_smd,mass_storage && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9026 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports tty,tty - write /sys/class/android_usb/android0/functions diag,serial,rmnet_smd,mass_storage - write /sys/class/android_usb/android0/enable 1 - start vendor.port-bridge - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,acm_tty,acm_tty,rmnet_smd,mass_storage && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 903E - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_acm/acm_transports tty,tty - write /sys/class/android_usb/android0/functions diag,serial,rmnet_smd,mass_storage - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_smd,mass_storage,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9025 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports smd,tty - write /sys/class/android_usb/android0/functions diag,adb,serial,rmnet_smd,mass_storage - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,acm_smd,acm_tty,rmnet_smd,mass_storage,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 903D - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_acm/acm_transports smd,tty - write /sys/class/android_usb/android0/functions diag,adb,acm,rmnet_smd,mass_storage - write /sys/class/android_usb/android0/enable 1 - start adbd - start vendor.port-bridge - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_smd,mass_storage && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9026 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports smd,tty - write /sys/class/android_usb/android0/functions diag,serial,rmnet_smd,mass_storage - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,acm_smd,acm_tty,rmnet_smd,mass_storage && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 903E - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_acm/acm_transports smd,tty - write /sys/class/android_usb/android0/functions diag,serial,rmnet_smd,mass_storage - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -# RmNet using USB BAM to IPA BAM -on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_ipa,mass_storage,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9025 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports smd,tty - write /sys/class/android_usb/android0/f_rmnet/transports qti,bam2bam_ipa - write /sys/class/android_usb/android0/functions diag,adb,serial,rmnet,mass_storage - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_ipa,mass_storage && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9026 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports smd,tty - write /sys/class/android_usb/android0/f_rmnet/transports qti,bam2bam_ipa - write /sys/class/android_usb/android0/functions diag,serial,rmnet,mass_storage - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_smd,rmnet_ipa,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9091 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports smd - write /sys/class/android_usb/android0/f_rmnet/transports qti,bam2bam_ipa - write /sys/class/android_usb/android0/functions diag,serial,rmnet,adb - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_smd,rmnet_ipa && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9092 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports smd - write /sys/class/android_usb/android0/f_rmnet/transports qti,bam2bam_ipa - write /sys/class/android_usb/android0/functions diag,serial,rmnet - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -# Fusion 3 composition -on property:sys.usb.config=diag,serial_hsic,serial_tty,rmnet_hsic,mass_storage,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9025 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports hsic,tty - write /sys/class/android_usb/android0/f_serial/transport_names serial_hsic - write /sys/class/android_usb/android0/f_rmnet/transports hsic,hsic - write /sys/class/android_usb/android0/f_rmnet/transport_names rmnet_hsic - write /sys/class/android_usb/android0/functions diag,adb,serial,rmnet,mass_storage - write /sys/module/mdm_bridge/parameters/rx_rmnet_buffer_size 16384 - write /sys/module/mdm_bridge/parameters/max_rx_urbs 20 - write /sys/module/g_android/parameters/ghsic_data_rx_req_size 16384 - write /sys/module/g_android/parameters/ghsic_data_rmnet_rx_q_size 20 - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -# Fusion 3 composition with diag_mdm and adb -on property:sys.usb.config=diag,diag_mdm,serial_hsic,serial_tty,rmnet_hsic,mass_storage,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9031 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/f_serial/transports hsic,tty - write /sys/class/android_usb/android0/f_serial/transport_names serial_hsic - write /sys/class/android_usb/android0/f_rmnet/transports hsic,hsic - write /sys/class/android_usb/android0/f_rmnet/transport_names rmnet_hsic - write /sys/class/android_usb/android0/functions diag,adb,serial,rmnet,mass_storage - write /sys/module/mdm_bridge/parameters/rx_rmnet_buffer_size 16384 - write /sys/module/mdm_bridge/parameters/max_rx_urbs 20 - write /sys/module/g_android/parameters/ghsic_data_rx_req_size 16384 - write /sys/module/g_android/parameters/ghsic_data_rmnet_rx_q_size 20 - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -# Fusion 3 composition with diag_mdm -on property:sys.usb.config=diag,diag_mdm,serial_hsic,serial_tty,rmnet_hsic,mass_storage && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9032 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/f_serial/transports hsic,tty - write /sys/class/android_usb/android0/f_serial/transport_names serial_hsic - write /sys/class/android_usb/android0/f_rmnet/transports hsic,hsic - write /sys/class/android_usb/android0/f_rmnet/transport_names rmnet_hsic - write /sys/class/android_usb/android0/functions diag,serial,rmnet,mass_storage - write /sys/module/mdm_bridge/parameters/rx_rmnet_buffer_size 16384 - write /sys/module/mdm_bridge/parameters/max_rx_urbs 20 - write /sys/module/g_android/parameters/ghsic_data_rx_req_size 16384 - write /sys/module/g_android/parameters/ghsic_data_rmnet_rx_q_size 20 - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -# Fusion 3 DSDA composition with adb -on property:sys.usb.config=diag,diag_mdm,diag_qsc,serial_hsic,serial_hsuart,rmnet_hsic,rmnet_hsuart,mass_storage,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9065 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm,diag_qsc - write /sys/class/android_usb/android0/f_serial/transports hsic,hsuart - write /sys/class/android_usb/android0/f_serial/transport_names serial_hsic,serial_hsuart - write /sys/class/android_usb/android0/f_rmnet/transports hsic,hsic,hsuart,hsuart - write /sys/class/android_usb/android0/f_rmnet/transport_names rmnet_hsic,rmnet_hsuart - write /sys/class/android_usb/android0/functions diag,adb,serial,rmnet,mass_storage - write /sys/module/mdm_bridge/parameters/rx_rmnet_buffer_size 16384 - write /sys/module/mdm_bridge/parameters/max_rx_urbs 20 - write /sys/module/g_android/parameters/ghsic_data_rx_req_size 16384 - write /sys/module/g_android/parameters/ghsic_data_rmnet_rx_q_size 20 - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -# Fusion 3 DSDA composition without adb -on property:sys.usb.config=diag,diag_mdm,diag_qsc,serial_hsic,serial_hsuart,rmnet_hsic,rmnet_hsuart,mass_storage && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9066 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm,diag_qsc - write /sys/class/android_usb/android0/f_serial/transports hsic,hsuart - write /sys/class/android_usb/android0/f_serial/transport_names serial_hsic,serial_hsuart - write /sys/class/android_usb/android0/f_rmnet/transports hsic,hsic,hsuart,hsuart - write /sys/class/android_usb/android0/f_rmnet/transport_names rmnet_hsic,rmnet_hsuart - write /sys/class/android_usb/android0/functions diag,serial,rmnet,mass_storage - write /sys/module/mdm_bridge/parameters/rx_rmnet_buffer_size 16384 - write /sys/module/mdm_bridge/parameters/max_rx_urbs 20 - write /sys/module/g_android/parameters/ghsic_data_rx_req_size 16384 - write /sys/module/g_android/parameters/ghsic_data_rmnet_rx_q_size 20 - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -# Fusion 3 DSDA2 composition with adb -on property:sys.usb.config=diag,diag_mdm,diag_mdm2,serial_hsic,serial_hsusb,rmnet_hsic,rmnet_hsusb,mass_storage,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9065 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm,diag_mdm2 - write /sys/class/android_usb/android0/f_serial/transports hsic,hsic - write /sys/class/android_usb/android0/f_serial/transport_names serial_hsic,serial_hsusb - write /sys/class/android_usb/android0/f_rmnet/transports hsic,hsic,hsic,hsic - write /sys/class/android_usb/android0/f_rmnet/transport_names rmnet_hsic,rmnet_hsusb - write /sys/class/android_usb/android0/functions diag,adb,serial,rmnet,mass_storage - write /sys/module/mdm_bridge/parameters/rx_rmnet_buffer_size 16384 - write /sys/module/mdm_bridge/parameters/max_rx_urbs 20 - write /sys/module/g_android/parameters/ghsic_data_rx_req_size 16384 - write /sys/module/g_android/parameters/ghsic_data_rmnet_rx_q_size 20 - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -# Fusion 3 DSDA2 composition without adb -on property:sys.usb.config=diag,diag_mdm,diag_mdm2,serial_hsic,serial_hsusb,rmnet_hsic,rmnet_hsusb,mass_storage && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9066 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm,diag_mdm2 - write /sys/class/android_usb/android0/f_serial/transports hsic,hsic - write /sys/class/android_usb/android0/f_serial/transport_names serial_hsic,serial_hsusb - write /sys/class/android_usb/android0/f_rmnet/transports hsic,hsic,hsic,hsic - write /sys/class/android_usb/android0/f_rmnet/transport_names rmnet_hsic,rmnet_hsusb - write /sys/class/android_usb/android0/functions diag,serial,rmnet,mass_storage - write /sys/module/mdm_bridge/parameters/rx_rmnet_buffer_size 16384 - write /sys/module/mdm_bridge/parameters/max_rx_urbs 20 - write /sys/module/g_android/parameters/ghsic_data_rx_req_size 16384 - write /sys/module/g_android/parameters/ghsic_data_rmnet_rx_q_size 20 - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -# Fusion PCIe composition with diag_mdm and adb -# Serial & RmNet bridged in userspace with tty and qti/ether -on property:sys.usb.config=diag,diag_mdm,serial_tty,rmnet_qti_ether,mass_storage,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9035 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/f_serial/transports tty - write /sys/class/android_usb/android0/f_rmnet/transports qti,ether - write /sys/class/android_usb/android0/functions diag,adb,serial,rmnet,mass_storage - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -# Fusion PCIe composition with diag_mdm -# Serial & RmNet bridged in userspace with tty and qti/ether -on property:sys.usb.config=diag,diag_mdm,serial_hsic,rmnet_hsic,mass_storage && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9036 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/f_serial/transports tty - write /sys/class/android_usb/android0/f_rmnet/transports qti,ether - write /sys/class/android_usb/android0/functions diag,serial,rmnet,mass_storage - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -# Fusion HSIC/PCIe Hybrid composition with diag_mdm and adb -# RmNet is bridged over PCIe using qti,ether ctrl/data transports -on property:sys.usb.config=diag,diag_mdm,serial_hsic,rmnet_qti_ether,mass_storage,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9035 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/f_serial/transports hsic - write /sys/class/android_usb/android0/f_serial/transport_names serial_hsic - write /sys/class/android_usb/android0/f_rmnet/transports qti,ether - write /sys/class/android_usb/android0/functions diag,adb,serial,rmnet,mass_storage - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -# Fusion HSIC/PCIe Hybrid composition with diag_mdm -# RmNet is bridged over PCIe using qti,ether ctrl/data transports -on property:sys.usb.config=diag,diag_mdm,serial_hsic,rmnet_hsic,mass_storage && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9036 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/f_serial/transports hsic - write /sys/class/android_usb/android0/f_serial/transport_names serial_hsic - write /sys/class/android_usb/android0/f_rmnet/transports qti,ether - write /sys/class/android_usb/android0/functions diag,serial,rmnet,mass_storage - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -# Fusion PCIe composition with diag_mdm -# Serial & RmNet bridged in userspace with port bridge and qti/ether -on property:sys.usb.config=diag,diag_mdm,serial_cdev,rmnet_qti_ether,mass_storage && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9036 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/f_serial/transports char_bridge - write /sys/class/android_usb/android0/f_rmnet/transports qti,ether - write /sys/class/android_usb/android0/functions diag,serial,rmnet,mass_storage - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_mdm,serial_cdev,rmnet_qti_ether,mass_storage,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9035 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/f_serial/transports char_bridge - write /sys/class/android_usb/android0/f_rmnet/transports qti,ether - write /sys/class/android_usb/android0/functions diag,adb,serial,rmnet,mass_storage - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -# Fusion 2.2 composition with diag_qsc and adb -on property:sys.usb.config=diag,diag_qsc,serial_smd,serial_tty,serial_hsuart,rmnet_hsuart,mass_storage,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9053 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_qsc - write /sys/class/android_usb/android0/f_serial/transports smd,tty,hsuart - write /sys/class/android_usb/android0/f_rmnet/transports smd,bam,hsuart,hsuart - write /sys/class/android_usb/android0/functions diag,adb,serial,rmnet,mass_storage - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -# Fusion 2.2 composition with diag_qsc -on property:sys.usb.config=diag,diag_qsc,serial_smd,serial_tty,serial_hsuart,rmnet_hsuart,mass_storage && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9054 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_qsc - write /sys/class/android_usb/android0/f_serial/transports smd,tty,hsuart - write /sys/class/android_usb/android0/f_rmnet/transports smd,bam,hsuart,hsuart - write /sys/class/android_usb/android0/functions diag,serial,rmnet,mass_storage - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:vendor.usb.tethering=true - write /sys/class/net/rndis0/queues/rx-0/rps_cpus ${vendor.usb.rps_mask} - -on property:sys.usb.config=rndis - setprop sys.usb.config rndis,${persist.vendor.usb.config.extra} - -on property:sys.usb.config=rndis,none && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct F00E - write /sys/class/android_usb/android0/f_rndis/wceis 1 - write /sys/class/android_usb/android0/functions rndis - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state rndis - -on property:sys.usb.config=rndis,adb && property:sys.usb.configfs=0 - setprop sys.usb.config rndis,${persist.vendor.usb.config.extra},adb - -on property:sys.usb.config=rndis,none,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9024 - write /sys/class/android_usb/android0/f_rndis/wceis 1 - write /sys/class/android_usb/android0/functions rndis,adb - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state rndis,adb - -on property:sys.usb.config=rndis,diag && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 902C - write /sys/class/android_usb/android0/f_rndis/wceis 1 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/functions rndis,diag - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state rndis - -on property:sys.usb.config=rndis,diag,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 902D - write /sys/class/android_usb/android0/f_rndis/wceis 1 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/functions rndis,diag,adb - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state rndis,adb - -# DPL is implemented using QDSS -on property:sys.usb.config=rndis,diag,dpl && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90BF - write /sys/class/android_usb/android0/f_rndis/wceis 1 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_qdss/debug_intf 0 - write /sys/class/android_usb/android0/f_qdss/transports qti,bam2bam_ipa - write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam - write /sys/class/android_usb/android0/functions rndis,diag,qdss - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state rndis - -# DPL is implemented using QDSS -on property:sys.usb.config=rndis,diag,dpl,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90C0 - write /sys/class/android_usb/android0/f_rndis/wceis 1 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_qdss/debug_intf 0 - write /sys/class/android_usb/android0/f_qdss/transports qti,bam2bam_ipa - write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam - write /sys/class/android_usb/android0/functions rndis,diag,qdss,adb - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state rndis,adb - -on property:sys.usb.config=rndis,serial_smd && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90B3 - write /sys/class/android_usb/android0/f_rndis/wceis 1 - write /sys/class/android_usb/android0/f_serial/transports smd - write /sys/class/android_usb/android0/functions rndis,serial - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state rndis - -on property:sys.usb.config=rndis,serial_smd,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90B4 - write /sys/class/android_usb/android0/f_rndis/wceis 1 - write /sys/class/android_usb/android0/f_serial/transports smd - write /sys/class/android_usb/android0/functions rndis,serial,adb - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state rndis,adb - -on property:sys.usb.config=rndis,serial_smd,diag && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90B5 - write /sys/class/android_usb/android0/f_rndis/wceis 1 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports smd - write /sys/class/android_usb/android0/functions rndis,serial,diag - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state rndis - -on property:sys.usb.config=rndis,serial_smd,diag,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90B6 - write /sys/class/android_usb/android0/f_rndis/wceis 1 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports smd - write /sys/class/android_usb/android0/functions rndis,serial,diag,adb - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state rndis,adb - -on property:sys.usb.config=rndis,serial_cdev,diag && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90B5 - write /sys/class/android_usb/android0/f_rndis/wceis 1 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports char_bridge - write /sys/class/android_usb/android0/functions rndis,serial,diag - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state rndis - -on property:sys.usb.config=rndis,serial_cdev,diag,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90B6 - write /sys/class/android_usb/android0/f_rndis/wceis 1 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports char_bridge - write /sys/class/android_usb/android0/functions rndis,serial,diag,adb - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state rndis,adb - -on property:sys.usb.config=rndis,diag,diag_mdm && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9041 - write /sys/class/android_usb/android0/f_rndis/wceis 1 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/functions rndis,diag - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state rndis - -on property:sys.usb.config=rndis,diag,diag_mdm,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9042 - write /sys/class/android_usb/android0/f_rndis/wceis 1 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/functions rndis,diag,adb - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state rndis,adb - -on property:sys.usb.config=rndis,diag,diag_mdm,diag_qsc && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9086 - write /sys/class/android_usb/android0/f_rndis/wceis 1 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm,diag_qsc - write /sys/class/android_usb/android0/functions rndis,diag - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state rndis - -on property:sys.usb.config=rndis,diag,diag_mdm,diag_qsc,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9087 - write /sys/class/android_usb/android0/f_rndis/wceis 1 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm,diag_qsc - write /sys/class/android_usb/android0/functions rndis,diag,adb - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state rndis,adb - -on property:sys.usb.config=ptp && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 904D - write /sys/class/android_usb/android0/functions ptp - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=ptp,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 904E - write /sys/class/android_usb/android0/functions ptp,adb - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=mtp && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct F003 - write /sys/class/android_usb/android0/functions mtp - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=mtp,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9039 - write /sys/class/android_usb/android0/functions mtp,adb - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=mtp,diag && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 901B - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/functions mtp,diag - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=mtp,diag,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 903A - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/functions mtp,diag,adb - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=mtp,diag,diag_mdm && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9040 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/functions mtp,diag - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=mtp,diag,diag_mdm,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 903F - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/functions mtp,diag,adb - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=mtp,diag,diag_mdm,diag_qsc && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9088 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm,diag_qsc - write /sys/class/android_usb/android0/functions mtp,diag - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=mtp,diag,diag_mdm,diag_qsc,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9089 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm,diag_qsc - write /sys/class/android_usb/android0/functions mtp,diag,adb - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_mdm,ccid && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9045 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/functions diag,ccid - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_mdm,ccid,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9044 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/functions diag,adb,ccid - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=mass_storage,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9015 - write /sys/class/android_usb/android0/functions adb,mass_storage - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -#Mass-storage only composition -on property:sys.usb.config=mass_storage && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct F000 - write /sys/class/android_usb/android0/functions mass_storage - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,qdss && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 904A - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_qdss/debug_intf 1 - write /sys/class/android_usb/android0/f_qdss/transports bam - write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam - write /sys/class/android_usb/android0/functions diag,qdss - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,qdss,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9060 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_qdss/debug_intf 1 - write /sys/class/android_usb/android0/f_qdss/transports bam - write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam - write /sys/class/android_usb/android0/functions diag,qdss,adb - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_mdm,qdss && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9099 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/f_qdss/debug_intf 1 - write /sys/class/android_usb/android0/f_qdss/transports bam - write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam - write /sys/class/android_usb/android0/functions diag,qdss - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_mdm,qdss,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9098 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/f_qdss/debug_intf 1 - write /sys/class/android_usb/android0/f_qdss/transports bam - write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam - write /sys/class/android_usb/android0/functions diag,qdss,adb - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,qdss,rmnet_bam && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9083 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_rmnet/transports smd,bam - write /sys/class/android_usb/android0/f_qdss/debug_intf 1 - write /sys/class/android_usb/android0/f_qdss/transports bam - write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam - write /sys/class/android_usb/android0/functions diag,qdss,rmnet - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,qdss,rmnet_qti_bam && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9083 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_rmnet/transports qti,bam - write /sys/class/android_usb/android0/f_qdss/debug_intf 1 - write /sys/class/android_usb/android0/f_qdss/transports bam - write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam - write /sys/class/android_usb/android0/functions diag,qdss,rmnet - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,qdss,rmnet_bam,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9084 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_rmnet/transports smd,bam - write /sys/class/android_usb/android0/f_qdss/debug_intf 1 - write /sys/class/android_usb/android0/f_qdss/transports bam - write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam - write /sys/class/android_usb/android0/functions diag,qdss,adb,rmnet - write /sys/module/dwc3/parameters/tx_fifo_resize_enable 1 - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,qdss,rmnet_qti_bam,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9084 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_rmnet/transports qti,bam - write /sys/class/android_usb/android0/f_qdss/debug_intf 1 - write /sys/class/android_usb/android0/f_qdss/transports bam - write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam - write /sys/class/android_usb/android0/functions diag,qdss,adb,rmnet - write /sys/module/dwc3/parameters/tx_fifo_resize_enable 1 - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,qdss,rmnet_ipa && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9083 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_rmnet/transports qti,bam2bam_ipa - write /sys/class/android_usb/android0/f_qdss/debug_intf 1 - write /sys/class/android_usb/android0/f_qdss/transports bam - write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam - write /sys/class/android_usb/android0/functions diag,qdss,rmnet - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,qdss,rmnet_ipa,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9084 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_rmnet/transports qti,bam2bam_ipa - write /sys/class/android_usb/android0/f_qdss/debug_intf 1 - write /sys/class/android_usb/android0/f_qdss/transports bam - write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam - write /sys/class/android_usb/android0/functions diag,qdss,adb,rmnet - write /sys/module/dwc3/parameters/tx_fifo_resize_enable 1 - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_mdm,qdss,rmnet_hsic && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 909B - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/f_rmnet/transports hsic,hsic - write /sys/class/android_usb/android0/f_qdss/debug_intf 1 - write /sys/class/android_usb/android0/f_qdss/transports bam - write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam - write /sys/class/android_usb/android0/functions diag,qdss,rmnet - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_mdm,qdss,rmnet_hsic,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 909A - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/f_rmnet/transports hsic,hsic - write /sys/class/android_usb/android0/f_qdss/debug_intf 1 - write /sys/class/android_usb/android0/f_qdss/transports bam - write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam - write /sys/class/android_usb/android0/functions diag,qdss,adb,rmnet - write /sys/module/dwc3/parameters/tx_fifo_resize_enable 1 - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_mdm,qdss_apq,qdss_mdm,rmnet_hsic && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90A3 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/f_rmnet/transports hsic,hsic - write /sys/class/android_usb/android0/f_qdss/debug_intf 0 - write /sys/class/android_usb/android0/f_qdss/transports bam,hsic - write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam,qdss_hsic - write /sys/class/android_usb/android0/functions diag,qdss,rmnet - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_mdm,qdss_apq,qdss_mdm,rmnet_hsic,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90A2 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/f_rmnet/transports hsic,hsic - write /sys/class/android_usb/android0/f_qdss/debug_intf 0 - write /sys/class/android_usb/android0/f_qdss/transports bam,hsic - write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam,qdss_hsic - write /sys/class/android_usb/android0/functions diag,qdss,adb,rmnet - write /sys/module/dwc3/parameters/tx_fifo_resize_enable 1 - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=rndis,diag,qdss && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9081 - write /sys/class/android_usb/android0/f_rndis/wceis 1 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_qdss/debug_intf 1 - write /sys/class/android_usb/android0/f_qdss/transports bam - write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam - write /sys/class/android_usb/android0/functions rndis,diag,qdss - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=rndis,diag,qdss,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 9082 - write /sys/class/android_usb/android0/f_rndis/wceis 1 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_qdss/debug_intf 1 - write /sys/class/android_usb/android0/f_qdss/transports bam - write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam - write /sys/class/android_usb/android0/functions rndis,diag,qdss,adb - write /sys/module/dwc3/parameters/tx_fifo_resize_enable 1 - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -# same as 9025, plus data packet logging (DPL) using QDSS -on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_ipa,mass_storage,dpl,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90AD - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports smd,tty -# DPL is implemented using QDSS - write /sys/class/android_usb/android0/f_qdss/debug_intf 0 - write /sys/class/android_usb/android0/f_qdss/transports qti,bam2bam_ipa - write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam - write /sys/class/android_usb/android0/f_rmnet/transports qti,bam2bam_ipa - write /sys/class/android_usb/android0/functions diag,adb,serial,rmnet,mass_storage,qdss - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -# same as 9026, plus data packet logging (DPL) -on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_ipa,mass_storage,dpl && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90B0 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports smd,tty -# DPL is implemented using QDSS - write /sys/class/android_usb/android0/f_qdss/debug_intf 0 - write /sys/class/android_usb/android0/f_qdss/transports qti,bam2bam_ipa - write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam - write /sys/class/android_usb/android0/f_rmnet/transports qti,bam2bam_ipa - write /sys/class/android_usb/android0/functions diag,serial,rmnet,mass_storage,qdss - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_cdev,serial_tty,rmnet_ipa,mass_storage,dpl,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90AD - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports char_bridge,tty -# DPL is implemented using QDSS - write /sys/class/android_usb/android0/f_qdss/debug_intf 0 - write /sys/class/android_usb/android0/f_qdss/transports qti,bam2bam_ipa - write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam - write /sys/class/android_usb/android0/f_rmnet/transports qti,bam2bam_ipa - write /sys/class/android_usb/android0/functions diag,adb,serial,rmnet,mass_storage,qdss - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_cdev,serial_tty,rmnet_ipa,mass_storage,dpl && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90B0 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports char_bridge,tty -# DPL is implemented using QDSS - write /sys/class/android_usb/android0/f_qdss/debug_intf 0 - write /sys/class/android_usb/android0/f_qdss/transports qti,bam2bam_ipa - write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam - write /sys/class/android_usb/android0/f_rmnet/transports qti,bam2bam_ipa - write /sys/class/android_usb/android0/functions diag,serial,rmnet,mass_storage,qdss - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=ncm && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 0525 - write /sys/class/android_usb/android0/idProduct A4A1 - write /sys/class/android_usb/android0/functions ncm - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=ncm,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 908C - write /sys/class/android_usb/android0/functions ncm,adb - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=charging && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct F006 - write /sys/class/android_usb/android0/functions charging - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_smd,rmnet_qti_bam,dpl_qti_bam_dmux && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90B7 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports smd - write /sys/class/android_usb/android0/f_rmnet/transports qti,bam - write /sys/class/android_usb/android0/f_qdss/transports qti,bam_dmux - write /sys/class/android_usb/android0/functions diag,serial,rmnet,qdss - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_smd,rmnet_qti_bam,dpl_qti_bam_dmux,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90B8 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports smd - write /sys/class/android_usb/android0/f_rmnet/transports qti,bam - write /sys/class/android_usb/android0/f_qdss/transports qti,bam_dmux - write /sys/class/android_usb/android0/functions diag,serial,rmnet,qdss,adb - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_cnss,serial_smd,serial_tty,rmnet_bam,mass_storage,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90B2 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_cnss - write /sys/class/android_usb/android0/f_serial/transports smd,tty - write /sys/class/android_usb/android0/f_rmnet/transports smd,bam - write /sys/class/android_usb/android0/functions diag,diag_cnss,adb,serial,rmnet,mass_storage - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_cnss,serial_smd,serial_tty,rmnet_bam,mass_storage && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90B3 - write /sys/class/android_usb/android0/f_diag/clients diag,diag_cnss - write /sys/class/android_usb/android0/f_serial/transports smd,tty - write /sys/class/android_usb/android0/f_rmnet/transports smd,bam - write /sys/class/android_usb/android0/functions diag,diag_cnss,serial,rmnet,mass_storage - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=midi && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90BA - write /sys/class/android_usb/android0/functions midi - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=midi,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90BB - write /sys/class/android_usb/android0/functions midi,adb - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_smd,rmnet_ipa,dpl && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90B7 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports smd -# DPL is implemented using QDSS - write /sys/class/android_usb/android0/f_qdss/debug_intf 0 - write /sys/class/android_usb/android0/f_qdss/transports qti,bam2bam_ipa - write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam - write /sys/class/android_usb/android0/f_rmnet/transports qti,bam2bam_ipa - write /sys/class/android_usb/android0/functions diag,serial,rmnet,qdss - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,serial_smd,rmnet_ipa,dpl,adb && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/iSerial ${ro.serialno} - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90B8 - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/f_serial/transports smd -# DPL is implemented using QDSS - write /sys/class/android_usb/android0/f_qdss/debug_intf 0 - write /sys/class/android_usb/android0/f_qdss/transports qti,bam2bam_ipa - write /sys/class/android_usb/android0/f_qdss/transport_names qdss_bam - write /sys/class/android_usb/android0/f_rmnet/transports qti,bam2bam_ipa - write /sys/class/android_usb/android0/functions diag,serial,rmnet,qdss,adb - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_mdm,serial_tty,rmnet_qti_ether,dpl_ether,mass_storage,adb - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90AE - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/f_serial/transports tty - write /sys/class/android_usb/android0/f_rmnet/transports qti,ether - write /sys/class/android_usb/android0/f_qdss/debug_intf 0 - write /sys/class/android_usb/android0/f_qdss/transports qti,ether - write /sys/class/android_usb/android0/f_qdss/transport_names qdss_dpl - write /sys/class/android_usb/android0/functions diag,adb,serial,rmnet,qdss,mass_storage - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,diag_mdm,serial_tty,rmnet_qti_ether,dpl_ether,mass_storage - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90AF - write /sys/class/android_usb/android0/f_diag/clients diag,diag_mdm - write /sys/class/android_usb/android0/f_serial/transports tty - write /sys/class/android_usb/android0/f_rmnet/transports qti,ether - write /sys/class/android_usb/android0/f_qdss/debug_intf 0 - write /sys/class/android_usb/android0/f_qdss/transports qti,ether - write /sys/class/android_usb/android0/f_qdss/transport_names qdss_dpl - write /sys/class/android_usb/android0/functions diag,serial,rmnet,qdss,mass_storage - write /sys/class/android_usb/android0/enable 1 - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,adb,uac2 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90CA - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/functions diag,adb,uac2_func - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,adb,video && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90CB - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/functions diag,adb,video - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - -on property:sys.usb.config=diag,adb,uac2,video && property:sys.usb.configfs=0 - write /sys/class/android_usb/android0/enable 0 - write /sys/class/android_usb/android0/idVendor 05C6 - write /sys/class/android_usb/android0/idProduct 90CC - write /sys/class/android_usb/android0/f_diag/clients diag - write /sys/class/android_usb/android0/functions diag,adb,uac2_func,video - write /sys/class/android_usb/android0/enable 1 - start adbd - setprop sys.usb.state ${sys.usb.config} - diff --git a/rootdir/etc/init.recovery.qcom.rc b/rootdir/etc/init.recovery.qcom.rc deleted file mode 100644 index 71e6ce7..0000000 --- a/rootdir/etc/init.recovery.qcom.rc +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the name of The Linux Foundation nor -# the names of its contributors may be used to endorse or promote -# products derived from this software without specific prior written -# permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -on init - write /sys/class/backlight/panel0-backlight/brightness 200 - - mkdir /config - mount configfs none /config - mkdir /config/usb_gadget/g1 0770 shell shell - write /config/usb_gadget/g1/bcdUSB 0x0200 - write /config/usb_gadget/g1/idVendor 0x18d1 - write /config/usb_gadget/g1/idProduct 0xd001 - mkdir /config/usb_gadget/g1/strings/0x409 0770 shell shell - write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno} - write /config/usb_gadget/g1/strings/0x409/manufacturer ${ro.product.manufacturer} - write /config/usb_gadget/g1/strings/0x409/product ${ro.product.model} - mkdir /config/usb_gadget/g1/functions/ffs.adb - write /config/usb_gadget/g1/os_desc/use 1 - write /config/usb_gadget/g1/os_desc/b_vendor_code 0x1 - write /config/usb_gadget/g1/os_desc/qw_sign "MSFT100" - setprop sys.usb.configfs 1 - -on property:ro.boot.usbcontroller=* - setprop sys.usb.controller ${ro.boot.usbcontroller} - -on property:sys.usb.ffs.ready=1 - mkdir /config/usb_gadget/g1/configs/b.1 0777 shell shell - symlink /config/usb_gadget/g1/configs/b.1 /config/usb_gadget/g1/os_desc/b.1 - mkdir /config/usb_gadget/g1/configs/b.1/strings/0x409 0770 shell shell - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "adb" - symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f1 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - -on fs - wait /dev/block/platform/soc/${ro.boot.bootdevice} - symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice diff --git a/rootdir/etc/init.target.rc b/rootdir/etc/init.target.rc deleted file mode 100644 index 066fc07..0000000 --- a/rootdir/etc/init.target.rc +++ /dev/null @@ -1,170 +0,0 @@ -# Copyright (c) 2013-2019, 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 "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE -# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# - -on early-init - exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules audio_wglink audio_q6_pdr audio_q6_notifier audio_apr audio_adsp_loader audio_q6 audio_native audio_usf audio_pinctrl_wcd audio_swr audio_platform audio_hdmi audio_wcd_spi audio_stub audio_wcd_core audio_wsa881x audio_wcd9360 audio_hdmi audio_machine_msmnile - write /proc/sys/kernel/sched_boost 1 - symlink /data/tombstones /tombstones - -on init - write /sys/module/qpnp_rtc/parameters/poweron_alarm 1 - wait /dev/block/platform/soc/1d84000.ufshc - symlink /dev/block/platform/soc/1d84000.ufshc /dev/block/bootdevice - -on early-fs - start vold - -on fs - start hwservicemanager - mount_all /vendor/etc/fstab.qcom --early - chown root system /mnt/vendor/persist - chmod 0771 /mnt/vendor/persist - restorecon_recursive /mnt/vendor/persist - mkdir /mnt/vendor/persist/data 0700 system system - -on post-fs - # set RLIMIT_MEMLOCK to 64MB - setrlimit 8 67108864 67108864 - -on late-fs - wait_for_prop hwservicemanager.ready true - exec_start wait_for_keymaster - mount_all /vendor/etc/fstab.qcom --late - -on post-fs-data - mkdir /vendor/data/tombstones 0771 system system - mkdir /tombstones/modem 0771 system system - mkdir /tombstones/lpass 0771 system system - mkdir /tombstones/wcnss 0771 system system - mkdir /tombstones/dsps 0771 system system - mkdir /data/vendor/hbtp 0750 system system - mkdir /data/vendor/nnhal 0700 system system - -on early-boot - start vendor.sensors - -on boot - chown system system /sys/kernel/hbtp/display_pwr - chown system system /sys/kernel/qvr_external_sensor/fd - start rmt_storage - start rfs_access - -#USB controller configuration - setprop vendor.usb.rndis.func.name "gsi" - setprop vendor.usb.rmnet.func.name "gsi" - setprop vendor.usb.rmnet.inst.name "rmnet" - setprop vendor.usb.dpl.inst.name "dpl" - setprop vendor.usb.qdss.inst.name "qdss" - setprop vendor.usb.controller a600000.dwc3 - setprop sys.usb.configfs 1 - -on property:vendor.display.lcd_density=560 - setprop dalvik.vm.heapgrowthlimit 256m - -on property:vendor.display.lcd_density=640 - setprop dalvik.vm.heapgrowthlimit 512m - -on boot && property:persist.vendor.usb.controller.default=* - setprop vendor.usb.controller ${persist.vendor.usb.controller.default} - -on property:vendor.usb.controller=* - setprop sys.usb.controller ${vendor.usb.controller} - -#Load WLAN driver - insmod /vendor/lib/modules/qca_cld3_wlan.ko - -#pd-mapper -service vendor.pd_mapper /vendor/bin/pd-mapper - class core - user system - group system - -#Peripheral manager -service vendor.per_mgr /vendor/bin/pm-service - class core - user system - group system - ioprio rt 4 - -service vendor.per_proxy /vendor/bin/pm-proxy - class core - user system - group system - disabled - -on property:init.svc.vendor.per_mgr=running - start vendor.per_proxy - -on property:sys.shutdown.requested=* - stop vendor.per_proxy - -on charger - start vendor.power_off_alarm - setprop sys.usb.controller a600000.dwc3 - setprop sys.usb.configfs 1 - -service vendor.thermal-engine /vendor/bin/thermal-engine - class main - user root - socket thermal-send-client stream 0666 system system - socket thermal-recv-client stream 0660 system system - socket thermal-recv-passive-client stream 0666 system system - socket thermal-send-rule stream 0660 system system - group root system - - -service vendor.lowi /vendor/bin/sscrpcd - class core - user system - group system - -service vendor.mdm_helper /vendor/bin/mdm_helper - class core - group system wakelock - disabled - -service vendor.mdm_launcher /vendor/bin/sh /vendor/bin/init.mdm.sh - class main - oneshot - - -on property:vold.decrypt=trigger_restart_framework - start cnss_diag - -service cnss_diag /system/vendor/bin/cnss_diag -q -f -t HELIUM - class main - user system - group system wifi inet sdcard_rw media_rw diag - oneshot - -service vendor.energy-awareness /vendor/bin/energy-awareness - class main - user system - group system - oneshot diff --git a/rootdir/ueventd.rc b/rootdir/ueventd.rc deleted file mode 100644 index 145113a..0000000 --- a/rootdir/ueventd.rc +++ /dev/null @@ -1,391 +0,0 @@ -# Copyright (c) 2012-2015, 2017-2019, 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. -# - -# Firmware directory Path -# Below macro will be read by uevent and path will -# be added to search path for firmware loading -firmware_directories /vendor/firmware_mnt/image/ - -# the DIAG device node is not world writable/readable. -/dev/diag 0660 system oem_2901 - -/dev/genlock 0666 system system -/dev/wlan 0660 wifi wifi -/dev/kgsl 0666 system system -/dev/kgsl-3d0 0666 system system -/dev/kgsl-2d0 0666 root root -/dev/kgsl-2d1 0666 root root -/dev/ion 0664 system system -/dev/rtc0 0660 system system -/dev/smd0 0660 system system -/dev/smd4 0660 system system -/dev/smd_cxm_qmi 0640 radio radio -/dev/smd5 0660 system system -/dev/smd6 0660 system system -/dev/smd7 0660 bluetooth bluetooth -/dev/ccid_bridge 0660 system system -/dev/ipa 0660 radio radio -/dev/wwan_ioctl 0660 radio radio -/dev/ipaNatTable 0660 radio radio -/dev/rmnet_ctrl 0660 usb usb -/dev/dpl_ctrl 0660 usb usb -/dev/ipa_odl_ctl 0660 radio radio -/dev/ipa_adpl 0660 system oem_2905 -/dev/synx_device 0660 root camera - -#permissions for CSVT -/dev/smd11 0660 radio radio - -#permsissions for BT/FM -/dev/smd2 0660 bluetooth bluetooth -/dev/smd3 0660 bluetooth bluetooth -/dev/btpower 0660 bluetooth system - -#permissions for pta -/dev/pta 0660 system system - -/dev/radio0 0640 system system -/dev/rfcomm0 0660 bluetooth bluetooth -/dev/ttyUSB0 0660 bluetooth bluetooth -/dev/smdcntl0 0640 radio radio -/dev/smdcntl1 0640 radio radio -/dev/smdcntl2 0640 radio radio -/dev/smdcntl3 0640 radio radio -/dev/smdcntl4 0640 radio radio -/dev/smdcntl5 0640 radio radio -/dev/smdcntl6 0640 radio radio -/dev/smdcntl7 0640 radio radio -/dev/smdcntl8 0640 radio radio -/dev/smdcnt_rev0 0640 radio radio -/dev/smdcnt_rev1 0640 radio radio -/dev/smdcnt_rev2 0640 radio radio -/dev/smdcnt_rev3 0640 radio radio -/dev/smdcnt_rev4 0640 radio radio -/dev/smdcnt_rev5 0640 radio radio -/dev/smdcnt_rev6 0640 radio radio -/dev/smdcnt_rev7 0640 radio radio -/dev/smdcnt_rev8 0640 radio radio -/dev/smuxctl32 0640 radio radio -/dev/sdioctl0 0640 radio radio -/dev/sdioctl1 0640 radio radio -/dev/sdioctl2 0640 radio radio -/dev/sdioctl3 0640 radio radio -/dev/sdioctl4 0640 radio radio -/dev/sdioctl5 0640 radio radio -/dev/sdioctl6 0640 radio radio -/dev/sdioctl7 0640 radio radio -/dev/sdioctl8 0640 radio radio -/dev/rmnet_mux_ctrl 0640 radio radio -/dev/hsicctl0 0640 radio radio -/dev/hsicctl1 0640 radio radio -/dev/hsicctl2 0640 radio radio -/dev/hsicctl3 0640 radio radio -/dev/hsicctl4 0640 radio radio -/dev/hsicctl5 0640 radio radio -/dev/hsicctl6 0640 radio radio -/dev/hsicctl7 0640 radio radio -/dev/hsicctl8 0640 radio radio -/dev/hsicctl9 0640 radio radio -/dev/hsicctl10 0640 radio radio -/dev/hsicctl11 0640 radio radio -/dev/hsicctl12 0640 radio radio -/dev/hsicctl13 0640 radio radio -/dev/hsicctl14 0640 radio radio -/dev/hsicctl15 0640 radio radio -/dev/hsicctl16 0640 radio radio -/dev/mhi_*_pipe_14 0640 radio radio -/dev/mhi_*_pipe_16 0640 radio radio -/dev/mhi_*_pipe_32 0640 radio radio -/dev/at_usb0 0640 radio radio -/dev/at_mdm0 0640 radio radio -/dev/video* 0660 system camera -/dev/cvp* 0660 system camera -/dev/media* 0660 system camera -/dev/v4l-subdev* 0660 system camera -/dev/qseecom 0660 system drmrpc -/dev/qce 0660 system drmrpc -/dev/smcinvoke 0660 system drmrpc -/dev/qsee_ipc_irq_spss 0660 system drmrpc -/dev/seemplog 0660 system system -/dev/pft 0660 system drmrpc -/dev/spcom 0660 system system -/dev/spss_utils 0660 system system -/dev/sp_kernel 0660 system system -/dev/sp_ssr 0660 system system -/dev/sp_keymaster 0660 system system -/dev/sec_nvm_* 0660 system system -/dev/cryptoapp 0660 system system -/dev/spdaemon_ssr 0660 system system -/dev/iuicc 0660 system system -/dev/gemini0 0660 system camera -/dev/jpeg0 0660 system camera -/dev/jpeg1 0660 system camera -/dev/jpeg2 0660 system camera -/dev/jpeg3 0660 system camera -/dev/adsprpc-smd 0664 system system -/dev/adsprpc-smd-secure 0644 system system -/dev/system_health_monitor 0644 radio system -/dev/mdss_rotator 0664 system system - -#QDSS -/dev/byte-cntr 0660 system oem_2902 -/dev/mhi_qdss 0660 system oem_2902 -/sys/class/qdss_bridge/mhi_qdss mode 0660 system oem_2902 - -#qg -/dev/qg 0660 system system -/dev/qg_battery 0660 system system - -#qvr -/dev/qvr_external_sensor_ioctl 0660 system system -/sys/kernel/qvr_external_sensor/fd 0660 system system - -# wlan -/dev/wcnss_wlan 0660 system system -/dev/wcnss_ctrl 0660 system system -/sys/devices/soc/a000000.qcom,wcnss-wlan/net/wlan0/queues/rx-* rps_cpus 0660 system system -/sys/devices/soc/a000000.qcom,wcnss-wlan/net/p2p0/queues/rx-* rps_cpus 0660 system system -/dev/spidev0.0 0660 system audio -/dev/msm_camera/* 0660 system camera -/dev/gemini/ 0660 system camera -/dev/mercury0 0660 system camera -/dev/msm_vidc_reg 0660 system audio -/dev/msm_vidc_dec 0660 system audio -/dev/msm_vidc_dec_sec 0660 system audio -/dev/msm_vidc_enc 0660 system audio -/dev/msm_rotator 0660 system system -/dev/hw_random 0600 root root -/dev/sdsprpc-smd 0660 system system - -#permissions for audio -/dev/wcd_dsp0_control 0660 system audio -/dev/wcd-dsp-glink 0660 system audio -/dev/audio_slimslave 0660 system audio -/dev/msm_qcelp 0660 system audio -/dev/msm_evrc 0660 system audio -/dev/msm_wma 0660 system audio -/dev/msm_wmapro 0660 system audio -/dev/msm_alac 0660 system audio -/dev/msm_ape 0660 system audio -/dev/msm_amrnb 0660 system audio -/dev/msm_amrwb 0660 system audio -/dev/msm_amrwbplus 0660 system audio -/dev/msm_aac 0660 system audio -/dev/msm_multi_aac 0660 system audio -/dev/msm_aac_in 0660 system audio -/dev/msm_qcelp_in 0660 system audio -/dev/msm_evrc_in 0660 system audio -/dev/msm_amrnb_in 0660 system audio -/dev/msm_amrwb_in 0660 system audio -/dev/msm_a2dp_in 0660 system audio -/dev/msm_ac3 0660 system audio -/dev/msm_audio_cal 0660 system audio -/dev/msm_hweffects 0660 system audio -/dev/msm_cad 0660 system audio -/dev/msm_fm 0660 system audio -/dev/msm_mvs 0660 system audio -/dev/msm_pcm_lp_dec 0660 system audio -/dev/msm_preproc_ctl 0660 system audio -/dev/msm_rtac 0660 system audio -/dev/msm_voicememo 0660 system audio -/dev/ttyHSL1 0660 system system -/dev/ttyHS1 0660 system system -/dev/mdm 0660 system radio -/sys/devices/virtual/smdpkt/smdcntl* open_timeout 0664 radio radio -/dev/sdio_tty_ciq_00 0660 system system -/dev/tty_sdio_00 0660 system system -/dev/ttyGS0 0660 system system -/dev/i2c-5 0660 media media -/dev/avtimer 0660 system audio -/dev/spidev2.0 0660 system audio - -# DVB devices -/dev/dvb/adapter0/demux* 0440 media media -/dev/dvb/adapter0/dvr* 0660 media media -/dev/dvb/adapter0/video* 0660 media media - -# Broadcast devices -/dev/tsc_mux0 0660 media media -/dev/tsc_ci0 0660 media media - -# sensors -/dev/sensors 0660 system system -/sys/devices/i2c-12/12-* pollrate_ms 0664 system system -/sys/devices/f9925000.i2c/i2c-0/0-* enable 0660 input system -/sys/devices/f9925000.i2c/i2c-0/0-* poll_delay 0660 input system -/sys/devices/soc.0/78b6000.i2c/i2c-0/0-* enable 0660 input system -/sys/devices/soc.0/78b6000.i2c/i2c-0/0-* poll_delay 0660 input system -/sys/devices/soc.0/78b6000.i2c/i2c-0/0-* enable_wakeup 0660 input system -/sys/devices/soc.0/78b6000.i2c/i2c-0/0-* max_latency 0660 input system -/sys/devices/soc.0/78b6000.i2c/i2c-0/0-* flush 0660 input system -/sys/devices/soc.0/78b6000.i2c/i2c-0/0-* calibrate 0660 input system -/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* enable 0660 input system -/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* poll_delay 0660 input system -/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* enable_wakeup 0660 input system -/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* max_latency 0660 input system -/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* flush 0660 input system -/sys/devices/soc.0/78b5000.i2c/i2c-1/1-* calibrate 0660 input system -/sys/devices/virtual/optical_sensors/proximity ps_adc 0660 input system -/sys/devices/virtual/optical_sensors/proximity ps_poll_delay 0660 input system -/sys/devices/virtual/optical_sensors/lightsensor ls_auto 0660 input system -/sys/devices/virtual/optical_sensors/lightsensor ls_poll_delay 0660 input system -/sys/devices/virtual/input/input* poll 0660 input system -/sys/devices/virtual/input/input* pollrate_ms 0660 input system -/sys/devices/soc/78b7000.i2c/i2c-3/3-0020/input/input* secure_touch 0440 system drmrpc -/sys/devices/soc/78b7000.i2c/i2c-3/3-0020/input/input* secure_touch_enable 0660 system drmrpc -/sys/devices/soc/78b7000.i2c/i2c-3/3-0038/input/input* secure_touch 0440 system drmrpc -/sys/devices/soc/78b7000.i2c/i2c-3/3-0038/input/input* secure_touch_enable 0660 system drmrpc -/sys/devices/soc/78b7000.i2c/i2c-3/3-004b/input/input* secure_touch 0440 system drmrpc -/sys/devices/soc/78b7000.i2c/i2c-3/3-004b/input/input* secure_touch_enable 0660 system drmrpc -/sys/devices/soc/c179000.i2c/i2c-5/5-0020/input/input* secure_touch 0440 system drmrpc -/sys/devices/soc/c179000.i2c/i2c-5/5-0020/input/input* secure_touch_enable 0660 system drmrpc -/sys/devices/platform/soc/a98000.i2c/i2c-2/2-0020/input/input* secure_touch 0440 system drmrpc -/sys/devices/platform/soc/a98000.i2c/i2c-2/2-0020/input/input* secure_touch_enable 0660 system drmrpc -/sys/devices/platform/soc/a84000.i2c/i2c-2/2-0020/input/input* secure_touch 0440 system drmrpc -/sys/devices/platform/soc/a84000.i2c/i2c-2/2-0020/input/input* secure_touch_enable 0660 system drmrpc - -# laser sensor access -/sys/devices/virtual/input/input* enable_ps_sensor 0660 system input -/sys/devices/virtual/input/input* set_delay_ms 0660 system input -/sys/devices/virtual/input/input* do_flush 0660 system input - -# vm_bms -/dev/vm_bms 0660 system system -/dev/battery_data 0660 system system - -# wlan -/dev/wcnss_wlan 0660 system system -/dev/wcnss_ctrl 0660 system system -/sys/devices/soc/600000.qcom,pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net/wlan0/queues/rx-* rps_cpus 0660 system system -/sys/devices/soc/600000.qcom,pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net/p2p0/queues/rx-* rps_cpus 0660 system system - -# wigig -/sys/bus/pci/drivers/wil6210* 0000:01:00.0/wil6210/fst_link_loss 0660 wifi wifi -/sys/bus/pci/drivers/wil6210* 0000:01:00.0/wil6210/thermal_throttling 0660 system system -/sys/bus/pci/drivers/wil6210* 0000:01:00.0/wil6210/snr_thresh 0660 wifi wifi -/sys/bus/pci/drivers/wil6210* 0000:01:00.0/net/wigig0/queues/rx-0/rps_cpus 0660 system system -/sys/bus/pci/drivers/wil6210* 0000:01:00.0/net/wigig0/gro_flush_timeout 0660 system system -/sys/devices/virtual/net/bond0 queues/rx-0/rps_cpus 0660 system system - -#nfc permissions -/dev/nfc-nci 0660 nfc nfc -/dev/nq-nci 0660 nfc nfc -/dev/assd 0660 nfc nfc - -# UIO devices -/dev/uio0 0660 system system -/dev/uio1 0660 system system -/dev/uio2 0660 system system - -# SSR devices -/dev/subsys_* 0640 system system - -# Ultrasound device -/dev/usf1 0660 system system - -# Ramdump devices -/dev/ramdump* 0640 system system - -# Fingerprint device -/dev/qbt* 0660 system system -/sys/class/fts/touch_aoi aoi_set 0660 root system -/sys/class/fts/touch_aoi power_set 0660 root system - -#ImproveTouch device -/dev/hbtp_input 0660 system system -/dev/hbtp_vm 0660 system system - -# Add device block for FRP -/dev/block/platform/soc/7824900.sdhci/by-name/config 0600 system system -/dev/block/platform/soc/7464900.sdhci/by-name/frp 0600 system system -/dev/block/platform/soc/624000.ufshc/by-name/frp 0600 system system -/dev/block/platform/soc/1da4000.ufshc/by-name/frp 0600 system system -/dev/block/platform/soc/c0c4000.sdhci/by-name/frp 0600 system system -/dev/block/platform/soc/1d84000.ufshc/by-name/frp 0600 system system -/dev/block/platform/soc/7c4000.sdhci/by-name/frp 0600 system system -/dev/block/platform/soc/4744000.sdhci/by-name/frp 0600 system system -/dev/block/platform/soc/4804000.ufshc/by-name/frp 0600 system system - -# This is temporary while using SD card for initial bring-up -/dev/block/platform/soc/8804000.sdhci/by-name/frp 0600 system system - -# Kmsg device -/dev/kmsg 0620 root system - -# LED class devices -/sys/class/leds/red delay_on 0640 system system -/sys/class/leds/red delay_off 0640 system system -/sys/class/leds/red breath 0640 system system -/sys/class/leds/green delay_on 0640 system system -/sys/class/leds/green delay_off 0640 system system -/sys/class/leds/green breath 0640 system system -/sys/class/leds/blue delay_on 0640 system system -/sys/class/leds/blue delay_off 0640 system system -/sys/class/leds/blue breath 0640 system system - -# NPU device -/dev/msm_npu 0644 system system - -# USB role switch -/sys/class/dual_role_usb/* data_role 0660 system system -/sys/class/dual_role_usb/* power_role 0660 system system -/sys/class/dual_role_usb/* mode 0660 system system - -#Memory Offline -/sys/devices/system/memory/memory* state 0660 system system - -/sys/devices/virtual/hdcp/msm_hdcp min_level_change 0664 system graphics - -# sys-fs display -/sys/class/graphics/fb* hpd 0664 system graphics -/sys/class/graphics/fb* res_info 0664 system graphics -/sys/class/graphics/fb* vendor_name 0664 system graphics -/sys/class/graphics/fb* product_description 0664 system graphics -/sys/class/graphics/fb* video_mode 0664 system graphics -/sys/class/graphics/fb* format_3d 0664 system graphics -/sys/class/graphics/fb* s3d_mode 0664 system graphics -/sys/class/graphics/fb* dynamic_fps 0664 system graphics -/sys/class/graphics/fb* msm_fb_dfps_mode 0664 system graphics -/sys/class/graphics/fb* hdr_stream 0664 system graphics -/sys/class/graphics/fb* cec/enable 0664 system graphics -/sys/class/graphics/fb* cec/logical_addr 0664 system graphics -/sys/class/graphics/fb* cec/rd_msg 0664 system graphics -/sys/class/graphics/fb* pa 0664 system graphics -/sys/class/graphics/fb* cec/wr_msg 0600 system graphics -/sys/class/graphics/fb* hdcp/tp 0664 system graphics -/sys/class/graphics/fb* hdcp2p2/min_level_change 0660 system graphics -/sys/class/graphics/fb* hdmi_audio_cb 0600 audioserver audio - -/sys/class/graphics/fb* lineptr_value 0664 system graphics -/sys/class/graphics/fb* msm_fb_persist_mode 0664 system graphics - -/sys/class/graphics/fb0 idle_time 0664 system graphics -/sys/class/graphics/fb0 dynamic_fps 0664 system graphics -/sys/class/graphics/fb0 dyn_pu 0664 system graphics -/sys/class/graphics/fb0 modes 0664 system graphics -/sys/class/graphics/fb0 mode 0664 system graphics -/sys/class/graphics/fb0 msm_cmd_autorefresh_en 0664 system graphics diff --git a/rro_overlays/WifiOverlay/Android.bp b/rro_overlays/WifiOverlay/Android.bp deleted file mode 100644 index f8c4acf..0000000 --- a/rro_overlays/WifiOverlay/Android.bp +++ /dev/null @@ -1,7 +0,0 @@ -runtime_resource_overlay { - name: "WifiOverlay", - theme: "WifiOverlay", - certificate: "platform", - sdk_version: "current", - proprietary: true -} diff --git a/rro_overlays/WifiOverlay/AndroidManifest.xml b/rro_overlays/WifiOverlay/AndroidManifest.xml deleted file mode 100644 index 3e918ae..0000000 --- a/rro_overlays/WifiOverlay/AndroidManifest.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - diff --git a/rro_overlays/WifiOverlay/res/values/config.xml b/rro_overlays/WifiOverlay/res/values/config.xml deleted file mode 100644 index b2ff4c4..0000000 --- a/rro_overlays/WifiOverlay/res/values/config.xml +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - true - - - true - - - true - - - true - - - 524288,2097152,8388608,262144,524288,4194304 - - - true - - - true - - - true - - - true - - - true - - - true - - - true - - - 32 - - - true - diff --git a/seccomp_policy/codec2.vendor.base.policy b/seccomp_policy/codec2.vendor.base.policy deleted file mode 100644 index d5871d1..0000000 --- a/seccomp_policy/codec2.vendor.base.policy +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright (C) 2018 The Android Open Source Project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Organized by frequency of systemcall - in descending order for -# best performance. -futex: 1 -ioctl: 1 -write: 1 -prctl: 1 -clock_gettime: 1 -getpriority: 1 -read: 1 -close: 1 -writev: 1 -dup: 1 -ppoll: 1 -mmap2: 1 -getrandom: 1 - -# mremap: Ensure |flags| are (MREMAP_MAYMOVE | MREMAP_FIXED) TODO: Once minijail -# parser support for '<' is in this needs to be modified to also prevent -# |old_address| and |new_address| from touching the exception vector page, which -# on ARM is statically loaded at 0xffff 0000. See -# http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0211h/Babfeega.html -# for more details. -mremap: arg3 == 3 -munmap: 1 -mprotect: 1 -madvise: 1 -openat: 1 -sigaltstack: 1 -clone: 1 -setpriority: 1 -getuid32: 1 -fstat64: 1 -fstatfs64: 1 -pread64: 1 -faccessat: 1 -readlinkat: 1 -exit: 1 -rt_sigprocmask: 1 -set_tid_address: 1 -restart_syscall: 1 -exit_group: 1 -rt_sigreturn: 1 -pipe2: 1 -gettimeofday: 1 -sched_yield: 1 -nanosleep: 1 -lseek: 1 -_llseek: 1 -sched_get_priority_max: 1 -sched_get_priority_min: 1 -statfs64: 1 -sched_setscheduler: 1 -fstatat64: 1 -ugetrlimit: 1 -getdents64: 1 -getrandom: 1 - -@include /system/etc/seccomp_policy/crash_dump.arm.policy - diff --git a/seccomp_policy/codec2.vendor.ext.policy b/seccomp_policy/codec2.vendor.ext.policy deleted file mode 100644 index 07b7bf7..0000000 --- a/seccomp_policy/codec2.vendor.ext.policy +++ /dev/null @@ -1,9 +0,0 @@ -# device specific syscalls -pselect6: 1 -eventfd2: 1 -sendto: 1 -recvfrom: 1 -_llseek: 1 -sysinfo: 1 -getcwd: 1 -getdents64: 1 diff --git a/seccomp_policy/mediacodec.policy b/seccomp_policy/mediacodec.policy deleted file mode 100644 index 3bf11a3..0000000 --- a/seccomp_policy/mediacodec.policy +++ /dev/null @@ -1,19 +0,0 @@ -# device specific syscalls -# extension of services/mediacodec/minijail/seccomp_policy/mediacodec-seccomp-arm.policy -pselect6: 1 -eventfd2: 1 -sendto: 1 -recvfrom: 1 -_llseek: 1 -sysinfo: 1 -getcwd: 1 -getdents64: 1 -ARM_cacheflush: 1 -inotify_init1: 1 -inotify_add_watch: 1 -inotify_rm_watch: 1 -uname: 1 -ueventd: 1 -timer_create: 1 -timer_settime: 1 -rt_sigtimedwait: 1 diff --git a/sepolicy/vendor/file.te b/sepolicy/vendor/file.te deleted file mode 100644 index 391ace9..0000000 --- a/sepolicy/vendor/file.te +++ /dev/null @@ -1 +0,0 @@ -type sysfs_tp, fs_type, sysfs_type; diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts deleted file mode 100644 index 90e02e9..0000000 --- a/sepolicy/vendor/file_contexts +++ /dev/null @@ -1,6 +0,0 @@ -# HALs -/(vendor|system/vendor)/bin/hw/android\.hardware\.light@2\.0-service\.lenovo_zippo u:object_r:hal_light_default_exec:s0 -/(vendor|system/vendor)/bin/hw/vendor\.lineage\.biometrics\.fingerprint\.inscreen@1\.0-service\.lenovo_zippo u:object_r:hal_fod_lenovo_zippo_exec:s0 - -# Touch -/sys/devices/virtual/touch/tp_dev/gesture_on u:object_r:sysfs_tp:s0 diff --git a/sepolicy/vendor/hal_fod_lenovo_zippo.te b/sepolicy/vendor/hal_fod_lenovo_zippo.te deleted file mode 100644 index 790e169..0000000 --- a/sepolicy/vendor/hal_fod_lenovo_zippo.te +++ /dev/null @@ -1,5 +0,0 @@ -type hal_fod_lenovo_zippo, domain; -hal_server_domain(hal_fod_lenovo_zippo, hal_lineage_fod) - -type hal_fod_lenovo_zippo_exec, exec_type, vendor_file_type, file_type; -init_daemon_domain(hal_fod_lenovo_zippo) diff --git a/sepolicy/vendor/hal_power.te b/sepolicy/vendor/hal_power.te deleted file mode 100644 index 6e216c5..0000000 --- a/sepolicy/vendor/hal_power.te +++ /dev/null @@ -1,2 +0,0 @@ -r_dir_file(hal_power, sysfs_tp) -allow hal_power sysfs_tp:file write; diff --git a/sepolicy/vendor/init.te b/sepolicy/vendor/init.te deleted file mode 100644 index a0c6f3b..0000000 --- a/sepolicy/vendor/init.te +++ /dev/null @@ -1,5 +0,0 @@ -# Allow init to bind mount over vendor file -allow init vendor_file:file mounton; - -# Allow init to mount vendor configs -allow init vendor_configs_file:dir mounton; diff --git a/setup-makefiles.sh b/setup-makefiles.sh index b3d815a..c311f3d 100755 --- a/setup-makefiles.sh +++ b/setup-makefiles.sh @@ -1,38 +1,15 @@ #!/bin/bash # # Copyright (C) 2016 The CyanogenMod Project -# Copyright (C) 2017-2020 The LineageOS Project +# Copyright (C) 2017-2021 The LineageOS Project # # SPDX-License-Identifier: Apache-2.0 # set -e -DEVICE=zippo -VENDOR=lenovo +export DEVICE=zippo +export DEVICE_COMMON=sm8150-common +export VENDOR=lenovo -INITIAL_COPYRIGHT_YEAR=2019 - -# Load extract_utils and do some sanity checks -MY_DIR="${BASH_SOURCE%/*}" -if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi - -ANDROID_ROOT="${MY_DIR}/../../.." - -HELPER="${ANDROID_ROOT}/tools/extract-utils/extract_utils.sh" -if [ ! -f "${HELPER}" ]; then - echo "Unable to find helper script at ${HELPER}" - exit 1 -fi -source "${HELPER}" - -# Initialize the helper -setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" - -# Copyright headers and guards -write_headers - -write_makefiles "${MY_DIR}/proprietary-files.txt" true - -# Finish -write_footers +"./../../${VENDOR}/${DEVICE_COMMON}/setup-makefiles.sh" "$@" \ No newline at end of file diff --git a/system.prop b/system.prop deleted file mode 100644 index a8a9dbf..0000000 --- a/system.prop +++ /dev/null @@ -1,85 +0,0 @@ -# Audio -audio.sys.noisy.broadcast.delay=600 -audio.sys.offload.pstimeout.secs=3 - -# Bluetooth -persist.vendor.bt.a2dp_offload_cap=sbc-aptx-aptxtws-aptxhd-aac-ldac -persist.vendor.btstack.a2dp_offload_cap=sbc-aptx-aptxtws-aptxhd-aptxadaptive-aac-ldac -persist.vendor.btstack.enable.splita2dp=true -vendor.bluetooth.soc=cherokee - -# Camera -sys.camera.packagename.zui=1 -vendor.camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera,org.lineageos.snap - -# CNE and DPM -persist.vendor.cne.feature=1 -persist.vendor.dpm.feature=1 -persist.vendor.dpm.nsrm.bkg.evt=3955 - -# Data Modules -persist.vendor.data.mode=concurrent -ro.vendor.use_data_netmgrd=true - -# Display -persist.displayfeature.dc_backlight.enable=false -persist.displayfeature.dc_backlight.threshold=610 -persist.fod.modified.dc_status=false -ro.displayfeature.histogram.enable -ro.eyecare.brightness.level=5 -ro.eyecare.brightness.threshold=11 -ro.hist.brightness.threshold=7 -ro.sf.lcd_density=440 -ro.vendor.display.ad.hdr_calib_data=/vendor/etc/hdr_config.cfg -ro.vendor.display.ad.sdr_calib_data=/vendor/etc/sdr_config.cfg -ro.vendor.display.ad=1 -ro.vendor.display.sensortype=2 -ro.xiaomi.bl.poll=true -sys.displayfeature.hbm.enable=true - -# GPS -persist.backup.ntpServer=0.pool.ntp.org - -# Graphics -ro.surface_flinger.supports_background_blur=1 - -# IOP -vendor.iop.enable_prefetch_ofr=0 -vendor.iop.enable_uxe=0 - -# Media -vendor.mm.enable.qcom_parser=63963135 - -# Memory optimizations -ro.vendor.qti.sys.fw.bservice_enable=true - -# Netflix -ro.netflix.bsp_rev=Q855-16947-1 - -# RIL -DEVICE_PROVISIONED=1 -persist.dbg.volte_avail_ovr=1 -persist.dbg.vt_avail_ovr=1 -persist.radio.NO_STAPA=1 -persist.radio.VT_CAM_INTERFACE=1 -persist.sys.fflag.override.settings_network_and_internet_v2=true -persist.vendor.data.iwlan.enable=true -persist.vendor.radio.data_con_rprt=1 -persist.vendor.radio.force_on_dc=true -persist.vendor.radio.redir_party_num=1 -persist.vendor.radio.report_codec=1 -ril.subscription.types=RUIM -rild.libpath=/vendor/lib64/libril-qc-hal-qmi.so -ro.telephony.default_cdma_sub=0 -ro.telephony.default_network=22,22 -telephony.lteOnCdmaDevice=1 - -# RCS -persist.rcs.supported=0 - -# Sensors -persist.vendor.sensors.enable.mag_filter=true - -# Subsystem ramdump -persist.vendor.ssr.enable_ramdumps=0 -persist.vendor.ssr.restart_level=ALL_ENABLE diff --git a/vendor.prop b/vendor.prop deleted file mode 100644 index c2bc41f..0000000 --- a/vendor.prop +++ /dev/null @@ -1,124 +0,0 @@ -# Audio -aaudio.hw_burst_min_usec=2000 -aaudio.mmap_exclusive_policy=2 -aaudio.mmap_policy=2 -af.fast_track_multiplier=1 -audio.deep_buffer.media=true -audio.offload.video=true -persist.vendor.audio.fluence.speaker=false -persist.vendor.audio.fluence.tmic.enabled=false -persist.vendor.audio.fluence.voicecall=true -persist.vendor.audio.fluence.voicecomm=true -persist.vendor.audio.fluence.voicerec=true -persist.vendor.audio.ras.enabled=false -persist.vendor.audio.voicecall.speaker.stereo=true -ro.af.client_heap_size_kbyte=7168 -ro.vendor.audio.sdk.fluencetype=fluence -ro.vendor.audio.sdk.ssr=false -vendor.audio.adm.buffering.ms=2 -vendor.audio.enable.mirrorlink=false -vendor.audio.flac.sw.decoder.24bit=true -vendor.audio.hal.output.suspend.supported=true -vendor.audio.hw.aac.encoder=true -vendor.audio.noisy.broadcast.delayy=600 -vendor.audio.offload.buffer.size.kb=32 -vendor.audio.offload.gapless.enabled=true -vendor.audio.offload.multiaac.enable=true -vendor.audio.offload.multiple.enabled=false -vendor.audio.offload.passthrough=false -vendor.audio.offload.pstimeout.secs=3 -vendor.audio.offload.track.enable=true -vendor.audio.parser.ip.buffer.size=262144 -vendor.audio.safx.pbe.enabled=false -vendor.audio.tunnel.encode=false -vendor.audio.use.sw.alac.decoder=true -vendor.audio.use.sw.ape.decoder=true -vendor.audio.volume.headset.gain.depcal=true -vendor.audio_hal.in_period_size=144 -vendor.audio_hal.period_multiplier=3 -vendor.audio_hal.period_size=192 -vendor.voice.path.for.pcm.voip=true - -# Bluetooth -persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac -persist.bluetooth.a2dp_offload.disabled=false -persist.vendor.bt.aac_frm_ctl.enabled=true -persist.vendor.qcom.bluetooth.a2dp_offload_cap=sbc-aptx-aptxtws-aptxhd-aac-ldac-aptxadaptive -persist.vendor.qcom.bluetooth.aac_frm_ctl.enabled=true -persist.vendor.qcom.bluetooth.enable.splita2dp=true -persist.vendor.qcom.bluetooth.twsp_state.enabled=false -ro.bluetooth.a2dp_offload.supported=true -ro.vendor.bluetooth.wipower=false -vendor.qcom.bluetooth.soc=cherokee - -# Boot -sys.vendor.shutdown.waittime=500 - -# Camera -camera.disable_zsl_mode=1 - -# Crypto -ro.crypto.allow_encrypt_override=true -ro.crypto.volume.filenames_mode=aes-256-cts - -# Display -vendor.display.comp_mask=0 -vendor.display.dataspace_saturation_matrix=1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0 -vendor.display.disable_decimation=1 -vendor.display.disable_excl_rect=0 -vendor.display.disable_hw_recovery_dump=1 -vendor.display.disable_inline_rotator=1 -vendor.display.disable_scaler=0 -vendor.display.disable_ui_3d_tonemap=1 -vendor.display.enable_default_color_mode=1 -vendor.display.enable_null_display=0 -vendor.display.enable_optimize_refresh=1 - -# Fingerprint -persist.vendor.qfp=true - -# FRP -ro.frp.pst=/dev/block/bootdevice/by-name/frp - -# Gatekeeper -vendor.gatekeeper.disable_spu=true - -# Graphics -debug.egl.hw=0 -debug.mdpcomp.logs=0 -debug.sf.hw=0 -persist.sys.sf.color_saturation=1.0 -ro.hardware.egl=adreno -ro.hardware.vulkan=adreno -ro.opengles.version=196610 -vendor.gralloc.disable_ubwc=0 -ro.surface_flinger.has_HDR_display=true -ro.surface_flinger.has_wide_color_display=true - -# Keystore -ro.hardware.keystore_desede=true - -# Media -debug.stagefright.ccodec=1 -debug.stagefright.omx_default_rank.sw-audio=1 -debug.stagefright.omx_default_rank=0 - -# PASR -vendor.power.pasr.enabled=true - -# Perf -ro.vendor.extension_library=libqti-perfd-client.so - -# Qualcomm System Daemon -persist.vendor.qcomsysd.enabled=1 - -# Radio -persist.radio.multisim.config=dsds -persist.vendor.audio.endcall.delay=600 -persist.vendor.radio.apm_sim_not_pwdn=1 -persist.vendor.radio.custom_ecc=1 -persist.vendor.radio.enableadvancedscan=true -persist.vendor.radio.procedure_bytes=SKIP -persist.vendor.radio.rat_on=combine -persist.vendor.radio.sib16_support=1 -vendor.rild.libpath=/vendor/lib64/libril-qc-hal-qmi.so diff --git a/wifi/WCNSS_qcom_cfg.ini b/wifi/WCNSS_qcom_cfg.ini deleted file mode 100644 index e64e146..0000000 --- a/wifi/WCNSS_qcom_cfg.ini +++ /dev/null @@ -1,628 +0,0 @@ -# This file allows user to override the factory -# defaults for the WLAN Driver - -# Enable IMPS or not -gEnableImps=1 - -# Enable BMPS or not -gEnableBmps=1 - -# Phy Mode (auto, b, g, n, etc) -# Valid values are 0-9, with 0 = Auto, 4 = 11n, 9 = 11ac -# 1 = 11abg, 2 = 11b, 3 = 11g, 5 = 11g only, 6 = 11n only -# 7 = 11b only 8 = 11ac only. -gDot11Mode=0 - -# Assigned MAC Addresses - This will be used until NV items are in place -# Each byte of MAC address is represented in Hex format as XX -Intf0MacAddress=000AF58989FF -Intf1MacAddress=000AF58989FE -Intf2MacAddress=000AF58989FD -Intf3MacAddress=000AF58989FC - -# UAPSD service interval for VO,VI, BE, BK traffic -InfraUapsdVoSrvIntv=0 -InfraUapsdViSrvIntv=0 -InfraUapsdBeSrvIntv=0 -InfraUapsdBkSrvIntv=0 - -# Flag to allow STA send AddTspec even when ACM is Off -gAddTSWhenACMIsOff=1 - -# Flags to filter Mcast and Bcast RX packets. -# Value 0: No filtering, 1: Filter all Multicast. -# 2: Filter all Broadcast. 3: Filter all Mcast abd Bcast -McastBcastFilter=3 - -#Flag to enable HostARPOffload feature or not -hostArpOffload=1 - -#Flag to enable HostNSOffload feature or not -hostNSOffload=1 - -# 802.11n Protection flag -gEnableApProt=1 - -#Enable OBSS protection -gEnableApOBSSProt=1 - -#Enable/Disable UAPSD for SoftAP -gEnableApUapsd=1 - -# Fixed Rate -gFixedRate=0 - -# Maximum Tx power -# gTxPowerCap=30 - -# Fragmentation Threshold -# gFragmentationThreshold=2346 - -# RTS threshold -RTSThreshold=2346 - -# CTS2SELF_ENABLED_4_SWRETRIES -gEnableRTSProfiles=33 - -# Intra-BSS forward -gDisableIntraBssFwd=0 - -# WMM Enable/Disable -WmmIsEnabled=0 - -# 802.11d support -g11dSupportEnabled=0 - -# 802.11h support -g11hSupportEnabled=1 - -# DFS Master Capability -gEnableDFSMasterCap=1 - -# ESE Support and fast transition -EseEnabled=0 - -ImplicitQosIsEnabled=0 - -gNeighborScanTimerPeriod=200 -gNeighborLookupThreshold=76 -gNeighborScanChannelMinTime=20 -gNeighborScanChannelMaxTime=30 -gMaxNeighborReqTries=3 - -# Legacy (non-ESE, non-802.11r) Fast Roaming Support -# To enable, set FastRoamEnabled=1 -# To disable, set FastRoamEnabled=0 -FastRoamEnabled=1 - -# Check if the AP to which we are roaming is better than current AP in -# terms of RSSI. Checking is disabled if set to Zero.Otherwise it will -# use this value as to how better the RSSI of the new/roamable AP should -# be for roaming -RoamRssiDiff=5 - -# To enable, set gRoamIntraBand=1 (Roaming within band) -# To disable, set gRoamIntraBand=0 (Roaming across band) -gRoamIntraBand=0 - -# TheCrazyLex@PA Prefer connecting to 5Ghz AP -# even if its RSSI is lower by 3dBm than the 2.4Ghz AP -gRoamPrefer5GHz=1 -gSelect5GHzMargin=3 - -# RSSI threshold offset for 2G to 5G roam -roam_bad_rssi_thresh_offset_2g=0 - -#RSSI threshold for background roam -roam_bg_scan_bad_rssi_thresh=-76 - -#Short Guard Interval Enable/disable -gShortGI20Mhz=1 -gShortGI40Mhz=1 - -#Auto Shutdown Value in seconds. A value of 0 means Auto shutoff is disabled -gAPAutoShutOff=0 - -#Auto Shutdown wlan : Value in Seconds. 0 means disabled. Max 1 day = 86400 sec -gWlanAutoShutdown = 0 - -# Not used. -gApAutoChannelSelection=0 - -#Preferred band (both or 2.4 only or 5 only) -BandCapability=0 - -#Channel Bonding -gChannelBondingMode5GHz=1 - -#Say gGoKeepAlivePeriod(5 seconds) and gGoLinkMonitorPeriod(10 seconds). -#For every 10 seconds DUT send Qos Null frame(i.e., Keep Alive frame if link -#is idle for last 10 seconds.) For both active and power save clients. - -#Power save clients: DUT set TIM bit from 10th second onwards and till client -#honors TIM bit. If doesn't honor for 5 seconds then DUT remove client. - -#Active clients: DUT send Qos Null frame for 10th seconds onwards if it is not -#success still we try on 11th second if not tries on 12th and so on till 15th -#second. Hence before disconnection DUT will send 5 NULL frames. Hence in any -#case DUT will detect client got removed in (10+5) seconds. -#i.e., (gGoKeepAlivePeriod + gGoLinkMonitorPeriod).. - -#gGoLinkMonitorPeriod/ gApLinkMonitorPeriod is period where link is idle and -#it is period where we send NULL frame. -#gApLinkMonitorPeriod = 10 -#gGoLinkMonitorPeriod = 10 - -#gGoKeepAlivePeriod/gApKeepAlivePeriod is time to spend to check whether frame -#are succeed to send or not. Hence total effective detection time is -# (gGoLinkMonitorPeriod + gGoKeepAlivePeriod) / -# (gApLinkMonitorPeriod + gApKeepAlivePeriod) -gGoKeepAlivePeriod = 20 -gApKeepAlivePeriod = 20 - -#Enable Keep alive with non-zero period value -gStaKeepAlivePeriod = 30 - -#If set will start with active scan after driver load, otherwise will start with -#passive scan to find out the domain -gEnableBypass11d=1 - -#If set to 0, will not scan DFS channels -gEnableDFSChnlScan=1 - -# Enable DFS channel roam -# 0: DISABLE, 1: ENABLED_NORMAL, 2: ENABLED_ACTIVE -gAllowDFSChannelRoam=1 - -gVhtChannelWidth=2 - -#Data Inactivity Timeout when in powersave (in ms) -gDataInactivityTimeout=200 - -# Set txchainmask and rxchainmask -# These parameters are used only if gEnable2x2 is 0 -# Valid values are 1,2 -# Set gSetTxChainmask1x1=1 or gSetRxChainmask1x1=1 to select chain0. -# Set gSetTxChainmask1x1=2 or gSetRxChainmask1x1=2 to select chain1. -gSetTxChainmask1x1=1 -gSetRxChainmask1x1=1 - -# Scan Timing Parameters -# gPassiveMaxChannelTime=110 -# gPassiveMinChannelTime=60 -gActiveMaxChannelTime=40 -gActiveMinChannelTime=20 - -#max time for active 2G channel scan. -#if set to zero, gActiveMaxChannelTime is used for 2G channel scan. -active_max_channel_time_2g=0 - -#If set to 0, MCC is not allowed. -gEnableMCCMode=1 - -# MCC to SCC Switch mode: -# 0-Disable -# 1-Enable -# 2-Force SCC if same band, with SAP restart -# 3-Force SCC if same band, without SAP restart by sending (E)CSA -# 4-Force SCC if same band (or) use SAP mandatory channel for DBS, -# without SAP restart by sending (E)CSA -gWlanMccToSccSwitchMode = 3 - -# 1=enable STBC; 0=disable STBC -gEnableRXSTBC=1 - -# 1=enable tx STBC; 0=disable -gEnableTXSTBC=1 - -# 1=enable rx LDPC; 0=disable -gEnableRXLDPC=1 - -#Enable/Disable Tx beamforming -gTxBFEnable=1 - -#Enable/Disable Tx beamformee in SAP mode -gEnableTxBFeeSAP=1 - -# Enable Tx beamforming in VHT20MHz -# Valid values are 0,1. If commented out, the default value is 0. -# 0=disable, 1=enable -gEnableTxBFin20MHz=1 - -#Enable/Disable SU Tx beamformer support. -gEnableTxSUBeamformer=1 - -gEnableFastRoamInConcurrency=1 - -#Maxium Channel time in msec -gMaxMediumTime = 6000 - -# 802.11K support -gRrmEnable=1 - -#Enable Power Save offload -gEnablePowerSaveOffload=4 - -#Enable firmware uart print -gEnablefwprint=0 - -# Firmware log mode -# Valid values are 0,1,2 -# 0=Disable, 1=WMI, 2=DIAG -gEnablefwlog=0 - -# Maximum Receive AMPDU size (VHT only. Valid values: -# 0->8k 1->16k 2->32k 3->64k 4->128k) -gVhtAmpduLenExponent=7 - -# Maximum MPDU length (VHT only. Valid values: -# 0->3895 octets, 1->7991 octets, 2->11454 octets) -gVhtMpduLen=2 - -# Maximum number of wow filters required -#gMaxWoWFilters=22 - -# WOW Enable/Disable. -# 0 - Disable both magic pattern match and pattern byte match. -# 1 - Enable magic pattern match on all interfaces. -# 2 - Enable pattern byte match on all interfaces. -# 3 - Enable both magic pattern and pattern byte match on all interfaces. -# Default value of gEnableWoW is 3. -# gEnableWoW=0 - -# Enable or Disable MCC Adaptive Scheduler at the FW -# 1=Enable (default), 0=Disable -gEnableMCCAdaptiveScheduler=1 - -#Enable or Disable p2p device address administered -isP2pDeviceAddrAdministrated=0 - -# Remove Overlap channel restriction -gEnableOverLapCh=0 - -#Enable VHT on 2.4Ghz -gEnableVhtFor24GHzBand=1 - -#Maximum number of offload peers supported -# gMaxOffloadPeers=2 - -# controlling the following offload patterns -# through ini parameter. Default value is 1 -# to disable set it to zero. ssdp = 0 -# Setup multicast pattern for mDNS 224.0.0.251, -# SSDP 239.255.255.250 and LLMNR 224.0.0.252 -ssdp=0 - -#Enable Memory Deep Sleep -gEnableMemDeepSleep=1 - -# Regulatory Setting; 0=STRICT; 1=CUSTOM -gRegulatoryChangeCountry=1 - -# RA filtering rate limit param, the current value would not -# help if the lifetime in RA is less than 3*60=3min. Then -# we need to change it, though it is uncommon. -# gRAFilterEnable=0 -gRArateLimitInterval=600 - -# Maximum number of concurrent connections -gMaxConcurrentActiveSessions=3 - -# Disable/Enable GreenAP -# 0 to disable, 1 to enable, default: 1 -gEnableGreenAp=1 - -# Disable/Enbale Enhanced Green AP -# 0 to disable, 1 to enable, default: 0 -gEnableEGAP=1 - -# Radar PRI multiplier -gDFSradarMappingPriMultiplier=4 - -gPNOScanSupport=1 - -#Enable/Disable LPASS support -# 0 to disable, 1 to enable -gEnableLpassSupport=1 - -# Whether userspace country code setting shld have priority -gCountryCodePriority=1 - -# Enable(1)/Disable(0) SIFS burst -gEnableSifsBurst=1 - -# Enable or Disable Multi-user MIMO -# 1=Enable (default), 0=Disable -gEnableMuBformee=1 - -# Enable/Disable channel avoidance for SAP in SCC scenario -# 0 - disable -# 1 - enable -gSapSccChanAvoidance=0 - -# Inactivity time (in ms) to end TX Service Period while in IBSS power save mode -gIbssTxSpEndInactivityTime=10 - -# Enable support for TDLS -# 0 - disable -# 1 - enable -gEnableTDLSSupport=1 - -# Enable support for Implicit Trigger of TDLS. That is, wlan driver shall -# initiate TDLS Discovery towards a peer whenever setup criteria (throughput -# and RSSI) is met and then will initiate teardown when teardown criteria -# (idle packet count and RSSI) is met. -# 0 - disable -# 1 - enable -gEnableTDLSImplicitTrigger=1 - -# Enable TDLS External Control. That is, user space application has to -# first configure a peer MAC in wlan driver towards which TDLS is desired. -# Device will establish TDLS only towards those configured peers whenever -# TDLS criteria (throughput and RSSI threshold) is met and teardown TDLS -# when teardown criteria (idle packet count and RSSI) is met. However, -# device will accept TDLS connection if it is initiated from any other peer, -# even if that peer is not configured. -# 0 - disable -# 1 - enable -# For TDLS External Control, Implicit Trigger must also be enabled. -gTDLSExternalControl=1 - -# Enable support for TDLS off-channel operation -# 0 - disable -# 1 - enable -# TDLS off-channel operation will be invoked when there is only one -# TDLS connection. -gEnableTDLSOffChannel=1 - -# Enable or Disable Random MAC (Spoofing) -# 1=Enable (default), 0=Disable -gEnableMacAddrSpoof=1 - -################ Datapath feature set Begin ################ -# Bus bandwidth threshold values in terms of number of packets -gBusBandwidthHighThreshold=2000 -gBusBandwidthMediumThreshold=500 -gBusBandwidthLowThreshold=150 - -# Bus bandwidth compute timeout value in ms -gBusBandwidthComputeInterval=100 - -# VHT Tx/Rx MCS values -# Valid values are 0,1,2. If commented out, the default value is 0. -# 0=MCS0-7, 1=MCS0-8, 2=MCS0-9 -gVhtRxMCS=2 -gVhtTxMCS=2 - -# VHT Tx/Rx MCS values for 2x2 -# Valid values are 0,1,2. If commented out, the default value is 0. -# 0=MCS0-7, 1=MCS0-8, 2=MCS0-9 -gEnable2x2=1 -gVhtRxMCS2x2=2 -gVhtTxMCS2x2=2 - -#IPA config is a bit mask and following are the configurations. -#bit0 IPA Enable -#bit1 IPA PRE Filter enable -#bit2 IPv6 enable -#bit3 IPA Resource Manager (RM) enable -#bit4 IPA Clock scaling enable -#bit5 IPA uC ENABLE -#bit6 IPA uC STA ENABLE -#bit8 IPA Real Time Debugging -gIPAConfig=0x7d -gIPADescSize=800 - -# Enable/Disable RX full reorder offload -gReorderOffloadSupported=1 - -# Enable CE classification -# 1 - enable(default) 0 - disable -gCEClassifyEnable=1 - -# Enable Rx handling options -# Rx_thread=1 RPS=2(default for ROME) NAPI=4(default for ihelium) -rx_mode=5 - -# Enable(Tx) fastpath for data traffic. -# 1 - enable(default) 0 - disable -gEnableFastPath=1 - -# This flag enables IP, TCP and UDP checksum offload -# 1 - enable(default) 0 - disable -gEnableIpTcpUdpChecksumOffload=1 - -# Enable TCP Segmentation Offload -# 1 - enable 0 - disable -TSOEnable=1 - -# Enable Generic Receive Offload -# 1 - enable(default) 0 - disable -GROEnable=1 - -# Enable HT MPDU Density -# 4 for 2 micro sec -ght_mpdu_density=4 - -# Enable flow steering to enable multiple CEs for Rx flows. -# Multiple Rx CEs<==>Multiple Rx IRQs<==>probably different CPUs. -# Parallel Rx paths. -# 1 - enable 0 - disable(default) -gEnableFlowSteering=1 - -# Time in microseconds after which a NAPI poll must yield -ce_service_max_yield_time=500 - -#Maximum number of HTT messages to be processed per NAPI poll -ce_service_max_rx_ind_flush=1 - -# Maximum number of MSDUs the firmware will pack in one HTT_T2H_MSG_TYPE_RX_IN_ORD_PADDR_IND -maxMSDUsPerRxInd=8 - -# Enable NUD tracking feature -# 1 - enable 0 - disable(default) -gEnableNUDTracking=1 - -# Enable PEER UNMAP CONF SUPPORT -# 1 - enable 0 - disable(default) -gEnablePeerUnmapConfSupport=1 - -################ Datapath feature set End ################ - -################ NAN feature set start ################### - -# Enable NAN discovery (NAN 1.0) -# 1 - enable 0 - disable(default) -gEnableNanSupport=1 -# Enable NAN Datapath -genable_nan_datapath=1 - -################ NAN feature set end ##################### - -adaptive_dwell_mode_enabled=1 - -hostscan_adaptive_dwell_mode=1 - -#disable probe request deferral -oce_enable_probe_req_deferral=0 - -adapt_dwell_lpf_weight=80 - -adapt_dwell_wifi_act_threshold=10 - -# Enable pkt log -# 1 - enable, 0 - disable -gEnablePacketLog=1 - -# Force 1x1 for 2.4g SAP, P2P-GC/GO, 2x2 for STA -# gVdevTypeNss_2g=21846 - -# 0: Disable BPF packet filter -# 1: Enable BPF packet filter -gBpfFilterEnable=1 - -gActiveUcBpfMode=1 -gActiveMcBcBpfMode=1 - -# 0: Disable force 1x1 on MTK solution AP -# 1: Enable force 1x1 on MTK solution AP -gForce1x1Exception=0 - -# set modulated DTIM interval -gEnableModulatedDTIM=3 -gMaxLIModulatedDTIM=3 - -# groam_dense_rssi_thresh_offset - Sets dense roam RSSI threshold diff -groam_dense_rssi_thresh_offset=5 - -# Dense traffic threshold in kBps -gtraffic_threshold=50 - -# Set beacon missed count threshold -# if beacon missed counter > gRoamBmissFirstBcnt+gRoamBmissFinalBcnt, -# heartbeat error triggered -gRoamBmissFirstBcnt=10 -gRoamBmissFinalBcnt=20 - -# To enabled/disable PER based roaming in FW -# 0: disabled -# 1: enabled for Rx traffic -# 2: enabled for Tx traffic -# 3: enabled for Tx and Rx traffic -gper_roam_enabled=3 - -# arp_ac_category - ARP access category -# Firmware by default categorizes ARP packets with VOICE TID. -# WME_AC_BE = 0 (Best effort) -# WME_AC_BK = 1 (Background) -# WME_AC_VI = 2 (Video) -# WME_AC_VO = 3 (Voice) -arp_ac_category=0 -# Enable/Disable DTIM Synth -# 1- Enable DTIM Synth -# 0- Disable DTIM Synth -gEnableLPRx=0 - -############################################# -# MAWC related configurations -############################################# - -# MAWCEnabled - Enable/Disable Motion Aided Wireless Connectivity Global -MAWCEnabled=0 - -# mawc_roam_enabled - Enable/Disable MAWC during roaming -mawc_roam_enabled=0 - -# Enable/Disable the Motion Aided Wireless Connectivity -# based NLO using this parameter -mawc_nlo_enabled=0 - -# Enable Packet filters before going into suspend -# will clear those when resume -# bit-0 : drop MAC multicast and IPv4 multicast -# bit-1 : drop MAC unicast and IPv4 multicast -# bit-2 : drop IPv4 broadcast -# bit-3 : drop XID - Exchange station Identification packet -# bit-4 : drop STP - Spanning Tree Protocol -# bit-5 : drop DTP/LLC/CDP -g_enable_packet_filter_bitmap=0 - -#Enable host side recovery -gEnableSelfRecovery=1 - -#enable/disable FT open feature -enable_ftopen=0 - -# This ini is used to allow STA+SAP SCC on LTE coex channel -# 0 - Disallow STA+SAP SCC on LTE coex channel -# 1 - Allow STA+SAP SCC on LTE coex channel -g_sta_sap_scc_on_lte_coex_chan=1 - -# enable/disable GCMP to fix throughput issue -gcmp_enabled=0 - -# Enable/Disable rtt sta mac randomization -enable_rtt_mac_randomization=1 - -# Create another interface during driver load -gEnableConcurrentSTA=wlan1 - -#Enable/Disable SNR monitoring -gEnableSNRMonitoring=1 - -# WLM latency Enable -wlm_latency_enable=1 - -# Set IPA low/med/high bandwidth mbps -gIPALowBandwidthMbps=100 -gIPAMediumBandwidthMbps=400 -gIPAHighBandwidthMbps=800 - -# Enable/Disable force bandwidth voting during IPA suspend -gIPAForceVotingEnable=1 -spectral_disable=1 - -# WLM flags setting for ultralow level, bit9 for BMPS disabled -wlm_latency_flags_ultralow=0xe03 - -#Enable ETSI SRD channels by Xiaomi. Qualcom default value is disable -etsi13_srd_chan_in_master_mode=1 - -#Configures Channel Bonding in 24 GHz -gChannelBondingMode24GHz=1 - -# Allow STA+SAP SCC on DFS channel with master mode support disabled -g_sta_sap_scc_on_dfs_chan=1 - -# Disable wpa3 on 7150 device -sae_enabled=0 - -#Timer waiting for interface up from the upper layer -gInterfaceChangeWait=2000 - -# Enable NAN datapath -genable_nan_datapath=1 - -END - -# Note: Configuration parser would not read anything past the END marker diff --git a/wifi/p2p_supplicant_overlay.conf b/wifi/p2p_supplicant_overlay.conf deleted file mode 100644 index 007cc92..0000000 --- a/wifi/p2p_supplicant_overlay.conf +++ /dev/null @@ -1,4 +0,0 @@ -disable_scan_offload=1 -p2p_no_group_iface=1 -p2p_search_delay=100 -bss_max_count=400 diff --git a/wifi/wpa_supplicant_overlay.conf b/wifi/wpa_supplicant_overlay.conf deleted file mode 100644 index 0a94d83..0000000 --- a/wifi/wpa_supplicant_overlay.conf +++ /dev/null @@ -1,11 +0,0 @@ -disable_scan_offload=1 -p2p_disabled=1 -tdls_external_control=1 -wowlan_triggers=magic_pkt -bss_max_count=400 -interworking=1 -hs20=1 -auto_interworking=0 -bss_no_flush_when_down=1 -driver_param=use_p2p_group_interface=1 -driver_param="no_rrm=1"