From 9521dc3d6c60a32d7b49a476c8bbfe5e2fef9ad8 Mon Sep 17 00:00:00 2001 From: MasterAwesome Date: Thu, 20 Sep 2018 23:04:44 +0530 Subject: [PATCH] sanders: lineage specific changes Signed-off-by: MasterAwesome --- Android.mk | 7 +++++ AndroidProducts.mk | 5 ++-- BoardConfig.mk | 59 ++++++++++++++++-------------------- device.mk | 63 ++++++++++++++++++++------------------- full_sanders.mk | 29 ------------------ lineage.dependencies | 16 ++++------ lineage_sanders.mk | 17 +++++++---- system.prop | 71 +++++++++++++++++++++++++++++++++----------- 8 files changed, 137 insertions(+), 130 deletions(-) delete mode 100644 full_sanders.mk diff --git a/Android.mk b/Android.mk index d25d932e..3497261a 100644 --- a/Android.mk +++ b/Android.mk @@ -146,6 +146,13 @@ $(IMS_SYMLINKS): $(LOCAL_INSTALLED_MODULE) ALL_DEFAULT_INSTALLED_MODULES += $(IMS_SYMLINKS) +NUKE_NOTEPAD := $(TARGET_OUT)/app/Notepadv3Solution +$(NUKE_NOTEPAD): $(LOCAL_INSTALLED_MODULE) + @echo "Removing: $@" + @rm -rf $@ + +ALL_DEFAULT_INSTALLED_MODULES += $(NUKE_NOTEPAD) + include $(call all-makefiles-under,$(LOCAL_PATH)) endif diff --git a/AndroidProducts.mk b/AndroidProducts.mk index bcf68a20..a8214706 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -1,5 +1,5 @@ # -# Copyright (C) 2014 The Android Open-Source Project +# Copyright (C) 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. @@ -12,7 +12,6 @@ # 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. -# PRODUCT_MAKEFILES := \ - $(LOCAL_DIR)/lineage_sanders.mk + $(LOCAL_DIR)/lineage_sanders.mk diff --git a/BoardConfig.mk b/BoardConfig.mk index 0189b896..331a9568 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -22,16 +22,9 @@ TARGET_SPECIFIC_HEADER_PATH := $(DEVICE_PATH)/include BOARD_VENDOR := motorola-qcom -WITH_LINEAGE_CHARGER := false - # AIDs and CAPS TARGET_FS_CONFIG_GEN := $(DEVICE_PATH)/config.fs -# Shim -TARGET_LD_SHIM_LIBS := \ - /system/vendor/bin/adspd|libshim_adsp.so \ - /system/vendor/lib64/libmdmcutback.so|libqsap_shim.so - # Platform TARGET_BOARD_PLATFORM := msm8953 TARGET_BOARD_PLATFORM_GPU := qcom-adreno506 @@ -54,13 +47,16 @@ TARGET_2ND_CPU_ABI2 := armeabi TARGET_2ND_CPU_VARIANT := cortex-a53 TARGET_USES_64_BIT_BINDER := true +DISABLE_DTC_OPTS := true + # Asserts TARGET_OTA_ASSERT_DEVICE := sanders,sanders_retail # GPS -BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := $(TARGET_BOARD_PLATFORM) TARGET_NO_RPC := true USE_DEVICE_SPECIFIC_GPS := true +USING_DEVICE_GPS := true +BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := $(TARGET_BOARD_PLATFORM) # Init TARGET_INIT_VENDOR_LIB := libinit_sanders @@ -80,19 +76,10 @@ TARGET_KERNEL_ARCH := arm64 TARGET_KERNEL_HEADER_ARCH := arm64 TARGET_KERNEL_CONFIG := sanders_defconfig TARGET_KERNEL_SOURCE := kernel/motorola/msm8953 - -# Toolchain -KERNEL_TOOLCHAIN := $(shell pwd)/prebuilts/gcc/$(HOST_OS)-x86/aarch64/aarch64-linux-android-4.9/bin +KERNEL_TOOLCHAIN := $(PWD)/prebuilts/gcc/$(HOST_OS)-x86/aarch64/aarch64-linux-android-4.9/bin TARGET_KERNEL_CROSS_COMPILE_PREFIX := aarch64-linux-androidkernel- - TARGET_USE_SDCLANG := true -#Power -TARGET_HAS_NO_WIFI_STATS := true - -# Thermal -USE_DEVICE_SPECIFIC_THERMAL := true - # Audio AUDIO_FEATURE_ENABLED_ALAC_OFFLOAD := true AUDIO_FEATURE_ENABLED_APE_OFFLOAD := true @@ -140,11 +127,15 @@ BOARD_NO_CHARGER_LED := true WITH_CM_CHARGER := false # DT2W -#TARGET_TAP_TO_WAKE_NODE := "/sys/android_touch/doubletap2wake" +TARGET_TAP_TO_WAKE_NODE := "/sys/android_touch/doubletap2wake" # Crypto TARGET_HW_DISK_ENCRYPTION := true +# Enable dexpreopt to speed boot time +WITH_DEXPREOPT := true +WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY := true + # Display BOARD_USES_ADRENO := true NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 @@ -164,9 +155,6 @@ TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS := true VSYNC_EVENT_PHASE_OFFSET_NS := 2000000 SF_VSYNC_EVENT_PHASE_OFFSET_NS := 6000000 -# exfat -TARGET_EXFAT_DRIVER := exfat - # FM BOARD_HAVE_QCOM_FM := true @@ -189,29 +177,23 @@ BOARD_FLASH_BLOCK_SIZE := 131072 BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 BOARD_BOOTIMAGE_PARTITION_SIZE := 16777216 # 16384 * 1024 mmcblk0p37 BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456 # 262144 * 1024 mmcblk0p52 -BOARD_RECOVERYIMAGE_PARTITION_SIZE := 21073920 # 20580 * 1024 mmcblk0p38 +BOARD_RECOVERYIMAGE_PARTITION_SIZE := 33554432 # 32768 * 1024 mmcblk0p38 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 4294967296 # 4194304 * 1024 mmcblk0p53 BOARD_USERDATAIMAGE_PARTITION_SIZE := 25614597120 # 25014255 * 1024 mmcblk0p54 # Peripheral manager TARGET_PER_MGR_ENABLED := true +# Power +TARGET_HAS_NO_WIFI_STATS := true + # QC flags BOARD_USES_QCOM_HARDWARE := true BOARD_USES_QC_TIME_SERVICES := true -#QTI -TARGET_PROVIDES_QTI_TELEPHONY_JAR := true - -# CAF -TARGET_QCOM_DISPLAY_VARIANT := caf-msm8996 -TARGET_QCOM_AUDIO_VARIANT := caf-msm8996 -TARGET_QCOM_MEDIA_VARIANT := caf-msm8996 -TARGET_QCOM_BLUETOOTH_VARIANT := caf-msm8996 - # Recovery BOARD_HAS_NO_SELECT_BUTTON := true -TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/fstab.qcom +TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/fstab.recovery TARGET_USERIMAGES_USE_EXT4 := true TARGET_USERIMAGES_USE_F2FS := true LZMA_RAMDISK_TARGETS := recovery @@ -220,10 +202,19 @@ LZMA_RAMDISK_TARGETS := recovery TARGET_RELEASETOOLS_EXTENSIONS := $(DEVICE_PATH)/releasetools # SELinux -SELINUX_IGNORE_NEVERALLOWS := true #include device/qcom/sepolicy/sepolicy.mk #BOARD_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy +# Shim +TARGET_LD_SHIM_LIBS := \ + /system/vendor/bin/adspd|libshim_adsp.so \ + /system/vendor/lib64/libmdmcutback.so|libqsap_shim.so + +# Thermal +USE_DEVICE_SPECIFIC_THERMAL := true + +# Use mke2fs to create ext4 images +TARGET_USES_MKE2FS := true # Wifi BOARD_HAS_QCOM_WLAN := true diff --git a/device.mk b/device.mk index 6927f0f7..770034f3 100644 --- a/device.mk +++ b/device.mk @@ -18,8 +18,7 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk) # Overlay DEVICE_PACKAGE_OVERLAYS += \ - $(LOCAL_PATH)/overlay \ - $(LOCAL_PATH)/overlay-lineage + $(LOCAL_PATH)/overlay # These are the hardware-specific features PRODUCT_COPY_FILES += \ @@ -32,7 +31,6 @@ PRODUCT_COPY_FILES += \ 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.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \ - frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \ frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \ frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \ frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \ @@ -49,6 +47,7 @@ PRODUCT_COPY_FILES += \ 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.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level.xml \ frameworks/native/data/etc/android.hardware.vulkan.version-1_0_3.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version.xml \ + frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.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.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \ @@ -61,11 +60,6 @@ PRODUCT_COPY_FILES += \ PRODUCT_AAPT_PREF_CONFIG := xxhdpi PRODUCT_AAPT_CONFIG := normal -# HIDL -PRODUCT_PACKAGES += \ - android.hidl.manager@1.0 \ - android.hidl.base@1.0 - # Audio PRODUCT_PACKAGES += \ audio.primary.msm8953 \ @@ -92,7 +86,6 @@ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/audio/audio_effects.conf:system/vendor/etc/audio_effects.conf \ $(LOCAL_PATH)/audio/audio_policy.conf:system/vendor/etc/audio_policy.conf \ $(LOCAL_PATH)/audio/audio_output_policy.conf:system/vendor/etc/audio_output_policy.conf \ - $(LOCAL_PATH)/audio/audio_platform_info_extcodec.xml:system/vendor/etc/audio_platform_info_extcodec.xml \ $(LOCAL_PATH)/audio/mixer_paths.xml:system/vendor/etc/mixer_paths.xml \ $(LOCAL_PATH)/audio/audio_ext_spkr.conf:system/vendor/etc/audio_ext_spkr.conf \ $(LOCAL_PATH)/audio/audio_platform_info.xml:system/vendor/etc/audio_platform_info.xml \ @@ -101,14 +94,13 @@ PRODUCT_COPY_FILES += \ # Bluetooth PRODUCT_PACKAGES += \ - libbt-vendor \ - android.hardware.bluetooth@1.0-impl \ - android.hardware.bluetooth@1.0-service + libbt-vendor # Camera PRODUCT_PACKAGES += \ libbson \ - Snap \ + Camera2 \ + libgui_vendor \ camera.device@1.0-impl \ camera.device@3.2-impl \ android.hardware.camera.provider@2.4-impl \ @@ -155,6 +147,10 @@ PRODUCT_PACKAGES += \ vendor.display.config@1.0 \ vendor.display.config@1.0_vendor +PRODUCT_PACKAGES += \ + vendor.display.color@1.0-service \ + vendor.display.color@1.0-impl + PRODUCT_PACKAGES += android.hardware.media.omx # RenderScript HAL @@ -197,15 +193,15 @@ PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \ libgnss \ libgnsspps \ - android.hardware.gnss@1.0-impl-qti \ - android.hardware.gnss@1.0-impl \ - android.hardware.gnss@1.0-service-qti + android.hardware.gnss@1.1-impl-qti \ + android.hardware.gnss@1.1-service-qti \ + libqsap_sdk \ + libqsap_shim -# health +# Healthd PRODUCT_PACKAGES += \ - android.hardware.health@1.0-convert \ - android.hardware.health@1.0-impl \ - android.hardware.health@1.0-service + android.hardware.health@2.0-impl \ + android.hardware.health@2.0-service # IRSC PRODUCT_COPY_FILES += \ @@ -264,8 +260,8 @@ PRODUCT_COPY_FILES += \ frameworks/base/nfc-extras/com.android.nfc_extras.xml:system/etc/permissions/com.android.nfc_extras.xml PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/configs/libnfc-brcm.conf:system/etc/libnfc-brcm.conf \ - $(LOCAL_PATH)/configs/libnfc-nxp.conf:system/etc/libnfc-nxp.conf + $(LOCAL_PATH)/configs/libnfc-nci.conf:system/vendor/etc/libnfc-nci.conf \ + $(LOCAL_PATH)/configs/libnfc-nxp.conf:system/vendor/etc/libnfc-nxp.conf # Netutils PRODUCT_PACKAGES += \ @@ -275,14 +271,13 @@ PRODUCT_PACKAGES += \ libandroid_net_32 PRODUCT_PACKAGES += \ + android.hardware.nfc@1.1-service \ libnfc \ - libnfc_jni \ - nfc_nci.msm8953 \ NfcNci \ + SecureElement \ Tag \ TagGoogle \ - com.android.nfc_extras \ - android.hardware.nfc@1.0-impl + com.android.nfc_extras # OMX PRODUCT_PACKAGES += \ @@ -317,7 +312,9 @@ PRODUCT_PACKAGES += \ init.mmi.rc \ init.mmi.usb.rc \ init.qcom.rc \ - ueventd.qcom.rc + +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/rootdir/etc/ueventd.qcom.rc:system/vendor/ueventd.rc # Powerhint configuration file PRODUCT_COPY_FILES += \ @@ -358,8 +355,7 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ android.hardware.sensors@1.0-impl \ - android.hardware.sensors@1.0-service_32 \ - sensorservice_32 + android.hardware.sensors@1.0-service # Shims PRODUCT_PACKAGES += \ @@ -369,9 +365,9 @@ PRODUCT_PACKAGES += \ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/thermal-engine-sanders.conf:system/vendor/etc/thermal-engine.conf -# USB HAL +# USB PRODUCT_PACKAGES += \ - android.hardware.usb@1.0-service + android.hardware.usb@1.0-service.sanders # Vibrator PRODUCT_PACKAGES += \ @@ -422,6 +418,11 @@ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf \ $(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/firmware/wlan/prima/WCNSS_qcom_cfg.ini +# TEMP FIX +PRODUCT_PACKAGES += \ + android.hidl.base@1.0 \ + android.hidl.manager@1.0 + PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0 PRODUCT_GMS_CLIENTID_BASE := android-motorola diff --git a/full_sanders.mk b/full_sanders.mk deleted file mode 100644 index c06256be..00000000 --- a/full_sanders.mk +++ /dev/null @@ -1,29 +0,0 @@ -# -# Copyright (C) 2015 The CyanogenMod 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. -# - -# 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) - -# Inherit from sanders device -$(call inherit-product, device/motorola/sanders/device.mk) - -# Device identifier. This must come after all inclusions -PRODUCT_DEVICE := sanders -PRODUCT_NAME := full_sanders - -# for specific -$(call inherit-product, vendor/motorola/sanders/sanders-vendor.mk) diff --git a/lineage.dependencies b/lineage.dependencies index 561bb883..39860cf5 100644 --- a/lineage.dependencies +++ b/lineage.dependencies @@ -1,22 +1,16 @@ [ { - "repository": "MasterAwesome/android_device_motorola_sanders", - "target_path": "device/motorola/sanders", - "branch": "lineage-15.1" - }, - { - "repository": "MasterAwesome/proprietary_vendor_motorola_sanders", + "repository": "BigTopKrazies/vendor_motorola_sanders", "target_path": "vendor/motorola/sanders", - "branch": "lineage-15.1" + "branch": "9.0" }, { "repository": "GZR-Kernels/kernel_motorola_msm8953_sanders", "target_path": "kernel/motorola/msm8953", - "branch": "8.1-ods" + "branch": "9.0" }, { - "repository": "LineageOS/android_packages_resources_devicesettings", - "target_path": "packages/resources/devicesettings", - "branch": "lineage-15.0" + "repository": "android_packages_resources_devicesettings", + "target_path": "packages/resources/devicesettings" } ] diff --git a/lineage_sanders.mk b/lineage_sanders.mk index a0e7f6cf..dd6f2758 100644 --- a/lineage_sanders.mk +++ b/lineage_sanders.mk @@ -1,22 +1,25 @@ # -# Copyright (C) 2016 The CyanogenMod Project -# Copyright (C) 2017 The LineageOS Project +# Copyright (C) 2015 The CyanogenMod 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 +# 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. - +# # Inherit from those products. Most specific first. -$(call inherit-product, device/motorola/sanders/full_sanders.mk) +$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) +$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) + +# Inherit from sanders device +$(call inherit-product, device/motorola/sanders/device.mk) # Inherit some common CM stuff. $(call inherit-product, vendor/lineage/config/common_full_phone.mk) @@ -24,6 +27,7 @@ $(call inherit-product, vendor/lineage/config/common_full_phone.mk) # Boot animation TARGET_SCREEN_WIDTH := 1080 TARGET_SCREEN_HEIGHT := 1920 +TARGET_BOOT_ANIMATION_RES := 1080 ## Device identifier. This must come after all inclusions PRODUCT_DEVICE := sanders @@ -35,3 +39,6 @@ PRODUCT_SYSTEM_PROPERTY_BLACKLIST := ro.product.model PRODUCT_BUILD_PROP_OVERRIDES += \ PRODUCT_NAME="Moto G5S Plus" + +# for specific +$(call inherit-product, vendor/motorola/sanders/sanders-vendor.mk) diff --git a/system.prop b/system.prop index b980b0e2..cf87c58b 100644 --- a/system.prop +++ b/system.prop @@ -41,11 +41,11 @@ vendor.use.voice.path.for.pcm.voip=false # Bluetooth bluetooth.hfp.client=1 -qcom.bluetooth.soc=smd qcom.bt.le_dev_pwr_class=1 ro.cutoff_voltage_mv=3400 ro.bluetooth.hfp.ver=1.7 ro.qualcomm.bt.hci_transport=smd +vendor.qcom.bluetooth.soc=pronto ro.qualcomm.bluetooth.opp=true ro.qualcomm.bluetooth.hfp=true ro.qualcomm.bluetooth.hsp=true @@ -72,6 +72,9 @@ vendor.vidc.disable.split.mode=1 vendor.vidc.enc.disable.pq=true vendor.vidc.dec.downscalar_width=1920 vendor.vidc.dec.downscalar_height=1088 +media.camera.ts.monotonic=1 +persist.camera.time.monotonic=1 +persist.camera.eis.enable=1 vidc.dec.disable.split.cpu=1 video.disable.ubwc=1 vendor.camera.aux.packagelist=com.motorola.camera2,com.google.android.Pixel2Mod @@ -89,28 +92,40 @@ ro.vendor.qti.core_ctl_max_cpu=4 # Dalvik dalvik.vm.heapgrowthlimit=192m -dalvik.vm.heapstartsize=16m -dalvik.vm.heapsize=512m -dalvik.vm.heaptargetutilization=0.75 -dalvik.vm.heapminfree=4m dalvik.vm.heapmaxfree=8m +dalvik.vm.heapminfree=512k +dalvik.vm.heapsize=384m +dalvik.vm.heapstartsize=8m +dalvik.vm.heaptargetutilization=0.75 # Display -debug.egl.hw=0 -debug.gralloc.enable_fb_ubwc=1 debug.sf.enable_hwc_vds=1 +debug.egl.hw=0 debug.sf.hw=0 debug.sf.latch_unsignaled=1 +persist.hwc.mdpcomp.enable=true dev.pm.dyn_samplingrate=1 -persist.camera.preview.ubwc=0 -persist.camera.video.ubwc=0 -persist.debug.wfd.enable=1 persist.demo.hdmirotationlock=false -persist.hwc.mdpcomp.enable=true ro.opengles.version=196610 -ro.sf.lcd_density=420 +ro.sf.lcd_density=400 +persist.debug.wfd.enable=1 +debug.gralloc.enable_fb_ubwc=1 +persist.camera.preview.ubwc=0 +persist.camera.video.ubwc=0 +persist.hwc.enable_vds=1 +debug.sf.recomputecrop=0 +debug.enable.sglscale=1 + +#Disable Skip Validate sdm.debug.disable_skip_validate=1 +# Display Properties as per treble compliance +vendor.gralloc.enable_fb_ubwc=1 +vendor.display.disable_skip_validate=1 + +# Property to enable display default color mode +vendor.display.enable_default_color_mode=1 + # FM ro.fm.transmitter=false @@ -128,7 +143,6 @@ ro.hwui.text_large_cache_width=2048 ro.hwui.text_large_cache_height=1024 # IMS -persist.vendor.radio.jbims=1 persist.radio.RATE_ADAPT_ENABLE=1 persist.radio.VT_ENABLE=1 persist.radio.VT_HYBRID_ENABLE=1 @@ -215,6 +229,21 @@ ro.telephony.call_ring.multiple=false persist.vendor.radio.eri64_as_home=1 persist.vendor.radio.data_con_rprt=1 +persist.vendor.radio.force_on_dc=true +persist.radio.custom_ecc=1 +persist.radio.data_con_rprt=1 +persist.vendor.radio.data_ltd_sys_ind=1 +persist.radio.data_ltd_sys_ind=1 +persist.vendor.radio.ignore_dom_time=10 +persist.radio.ignore_dom_time=10 +persist.radio.rat_on=combine +persist.radio.is_wps_enabled=true +persist.radio.videopause.mode=1 +persist.radio.sap_silent_pin=1 +persist.radio.always_send_plmn=true +persist.rcs.supported=1 +persist.dbg.ims_volte_enable=1 + ro.use_data_netmgrd=true persist.data.qmi.adb_logmask=0 persist.data.netmgrd.qos.enable=true @@ -232,12 +261,20 @@ persist.data.df.mux_count=8 persist.data.df.iwlan_mux=9 persist.data.df.dev_name=rmnet_usb0 +ro.sys.sdcardfs=false + # Sensors +ro.vendor.sensors.pmd=false +ro.vendor.sensors.sta_detect=true +ro.vendor.sensors.mot_detect=true +ro.vendor.sensors.amd=false +ro.vendor.sensors.rmd=false +ro.vendor.sdk.sensors.gestures=false +ro.vendor.sensors.facing=false +ro.vendor.sensors.scrn_ortn=false +ro.vendor.sensors.pedometer=false +ro.vendor.sensors.glance_approach=false ro.hardware.sensors=sanders -ro.mot.sensors.glance_approach=false - -# SensorService -system_init.startsensorservice=0 #Trim properties ro.vendor.qti.sys.fw.trim_enable_memory=2147483648