diff options
| author | Alex Tsanis <alextsanisbadlorg@gmail.com> | 2018-01-30 16:20:49 +0000 |
|---|---|---|
| committer | Alex Tsanis <alextsanisbadlorg@gmail.com> | 2018-01-30 16:20:49 +0000 |
| commit | 903f63f318a846e74f87a8f43f0ef91c20e59a79 (patch) | |
| tree | a5d3853774bfc99e5038ce152b66ce5c033880f0 | |
| parent | 9128a215f233b75750c1402a014114eb8097e0bb (diff) | |
| -rw-r--r-- | BoardConfigCommon.mk | 20 | ||||
| -rw-r--r-- | msm8956.mk | 15 | ||||
| -rw-r--r-- | rootdir/etc/init.qcom.sh | 8 | ||||
| -rw-r--r-- | system.prop | 15 |
4 files changed, 9 insertions, 49 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 25587bb..4c38b72 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -113,18 +113,15 @@ WITH_CUSTOM_CHARGER := false # CNE BOARD_USES_QCNE := true -# Dexpreopt -ifeq ($(CARDINAL_RELEASE),true) +# Dex ifeq ($(HOST_OS),linux) -ifneq ($(TARGET_BUILD_VARIANT),eng) -WITH_DEXPREOPT := true -WITH_DEXPREOPT_DEBUG_INFO := false -USE_DEX2OAT_DEBUG := false -DONT_DEXPREOPT_PREBUILTS := true -WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY := true -endif -endif + ifneq ($(TARGET_BUILD_VARIANT),eng) + ifeq ($(WITH_DEXPREOPT),) + WITH_DEXPREOPT := true + endif + endif endif +WITH_DEXPREOPT_BOOT_IMG_ONLY ?= true # Display MAX_VIRTUAL_DISPLAY_DIMENSION := 2048 @@ -142,9 +139,6 @@ NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 SF_VSYNC_EVENT_PHASE_OFFSET_NS := 2000000 VSYNC_EVENT_PHASE_OFFSET_NS := 6000000 -# Encryption -TARGET_HW_DISK_ENCRYPTION := true - # Filesystem BOARD_FLASH_BLOCK_SIZE := 131072 # (BOARD_KERNEL_PAGESIZE * 64) BOARD_BOOTIMAGE_PARTITION_SIZE := 67108864 @@ -29,7 +29,6 @@ PRODUCT_AAPT_CONFIG := normal PRODUCT_AAPT_PREF_CONFIG := xxhdpi # Boot animation -TARGET_BOOTANIMATION_HALF_RES := true TARGET_SCREEN_HEIGHT := 1920 TARGET_SCREEN_WIDTH := 1080 @@ -200,20 +199,6 @@ PRODUCT_PACKAGES += \ android.hardware.health@1.0-service \ android.hardware.health@1.0 -# HWUI -PRODUCT_PROPERTY_OVERRIDES += \ - ro.hwui.texture_cache_size=96 \ - ro.hwui.layer_cache_size=64 \ - ro.hwui.r_buffer_cache_size=12 \ - ro.hwui.path_cache_size=39 \ - ro.hwui.gradient_cache_size=1 \ - ro.hwui.drop_shadow_cache_size=7 \ - ro.hwui.texture_cache_flushrate=0.4 \ - ro.hwui.text_small_cache_width=2048 \ - ro.hwui.text_small_cache_height=2048 \ - ro.hwui.text_large_cache_width=3072 \ - ro.hwui.text_large_cache_height=2048 - # IPA Manager PRODUCT_PACKAGES += \ ipacm \ diff --git a/rootdir/etc/init.qcom.sh b/rootdir/etc/init.qcom.sh index 2cd5e82..5707e5c 100644 --- a/rootdir/etc/init.qcom.sh +++ b/rootdir/etc/init.qcom.sh @@ -119,11 +119,3 @@ if [ -f /system/etc/mbn_ota.txt ] && [ ! -f /data/misc/radio/modem_config/mbn_ot chown radio.radio /data/misc/radio/modem_config/mbn_ota.txt fi echo 1 > /data/misc/radio/copy_complete - -# Zram disk - 512MB size -zram_enable=`getprop ro.config.zram` -if [ "$zram_enable" == "true" ]; then - echo 536870912 > /sys/block/zram0/disksize - mkswap /dev/block/zram0 - swapon /dev/block/zram0 -p 32758 -fi diff --git a/system.prop b/system.prop index 1cc9a95..01b6b64 100644 --- a/system.prop +++ b/system.prop @@ -43,13 +43,8 @@ persist.cne.feature=1 persist.dpm.feature=5 persist.dpm.nsrm.bkg.evt=3955 -# Dex2oat optimisation -# use 6 cores during bootup dex compilation -dalvik.vm.boot-dex2oat-threads=6 -# use 4 cores durning normal dex compilation (app installations) -dalvik.vm.dex2oat-threads=4 -# use 4 cores during boot image dex compilation -dalvik.vm.image-dex2oat-threads=4 +# Dex2oat threads for faster app installation +ro.sys.fw.dex2oat_thread_count=4 # Data modules ro.use_data_netmgrd=true @@ -84,9 +79,6 @@ persist.hwc.downscale_threshold=1.15 ro.opengles.version=196610 ro.sf.lcd_density=480 -# Maintainer -ro.cardinal.maintainer=Aashish T | Adarsh M.R - # Media media.msm8956hw=1 mm.enable.smoothstreaming=true @@ -138,6 +130,3 @@ persist.timed.enable=true # WiFi wifi.interface=wlan0 - -# zram disk -ro.config.zram=true |
