diff --git a/BoardConfig.mk b/BoardConfig.mk
index 2e03865..7d0ec10 100755
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -27,7 +27,7 @@ TARGET_SPECIFIC_HEADER_PATH := device/samsung/viennalte/include
TARGET_OTA_ASSERT_DEVICE := viennalte,viennaltexx
-BLOCK_BASED_OTA:= false
+#BLOCK_BASED_OTA:= false
# Bootloader
TARGET_BOOTLOADER_BOARD_NAME := MSM8974
@@ -43,16 +43,6 @@ TARGET_KERNEL_SOURCE := kernel/samsung/viennalte
TARGET_KERNEL_CONFIG := msm8974_sec_defconfig
TARGET_KERNEL_VARIANT_CONFIG := msm8974_sec_viennalteeur_cm_defconfig
-# Shader cache config options
-# Maximum size of the GLES Shaders that can be cached for reuse.
-# Increase the size if shaders of size greater than 12KB are used.
-MAX_EGL_CACHE_KEY_SIZE := 12*1024
-
-# Maximum GLES shader cache size for each app to store the compiled shader
-# binaries. Decrease the size if RAM or Flash Storage size is a limitation
-# of the device.
-MAX_EGL_CACHE_SIZE := 2048*1024
-
# Audio
BOARD_HAVE_NEW_QCOM_CSDCLIENT := true
BOARD_HAVE_SAMSUNG_AUDIO := true
@@ -94,7 +84,9 @@ BOARD_HAVE_BLUETOOTH_BCM := true
# Partitions
BOARD_BOOTIMAGE_PARTITION_SIZE := 10485760
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 13631488
-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2810183680
+# eu size 2810183680
+# us size can be less, reduce system
+BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2700000000
BOARD_USERDATAIMAGE_PARTITION_SIZE := 27847015936
BOARD_FLASH_BLOCK_SIZE := 131072
TARGET_USERIMAGES_USE_EXT4 := true
diff --git a/device.mk b/device.mk
index a12e3ef..5409efc 100755
--- a/device.mk
+++ b/device.mk
@@ -39,7 +39,6 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/audio_platform_info.xml:system/etc/audio_platform_info.xml \
$(LOCAL_PATH)/audio/audio_policy.conf:system/etc/audio_policy.conf \
$(LOCAL_PATH)/audio/mixer_paths.xml:system/etc/mixer_paths.xml \
- $(LOCAL_PATH)/audio/mixer_paths.xml:system/etc/mixer_paths.xml \
$(LOCAL_PATH)/audio/audio_policy.conf:system/etc/audio_policy.conf
# Camera
@@ -151,15 +150,9 @@ PRODUCT_PACKAGES += \
# $(LOCAL_PATH)/configs/p2p_supplicant_overlay.conf:system/etc/wifi/p2p_supplicant_overlay.conf
# Boot animation
+TARGET_BOOTANIMATION_HALF_RES := true
TARGET_SCREEN_WIDTH := 2560
-TARGET_SCREEN_HEIGHT := 1440
-
-# NFC doesn't exist
-
-PRODUCT_COPY_FILES_OVERRIDES += \
- system/etc/permissions/com.android.nfc_extras.xml \
- system/etc/permissions/android.hardware.nfc.xml \
- system/etc/permissions/android.hardware.nfc.hce.xml
+TARGET_SCREEN_HEIGHT := 1600
# Telephony
PRODUCT_COPY_FILES += \
diff --git a/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/overlay/frameworks/base/core/res/res/xml/power_profile.xml
index f96ff5c..a47c9d9 100755
--- a/overlay/frameworks/base/core/res/res/xml/power_profile.xml
+++ b/overlay/frameworks/base/core/res/res/xml/power_profile.xml
@@ -18,19 +18,25 @@
3.4
- 12000000
- 10000000
- 800000
- 500000
- 200000
+ 2265600
+ 1782000
+ 1497600
+ 1190400
+ 960000
+ 729600
+ 422400
+ 300000
- 4
- 577
- 408
- 249
- 148
- 55
+ 399
+ 308
+ 264
+ 190
+ 174
+ 102
+ 72
+ 46
- 9500