Back to block firmware and clean-up.

This commit is contained in:
Valera 2016-02-12 09:39:34 +03:00
parent 4335523eaf
commit 512154e444
3 changed files with 22 additions and 31 deletions

View File

@ -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

View File

@ -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 += \

View File

@ -18,19 +18,25 @@
<value>3.4</value>
</array>
<array name="cpu.speeds">
<value>12000000</value>
<value>10000000</value>
<value>800000</value>
<value>500000</value>
<value>200000</value>
<value>2265600</value>
<value>1782000</value>
<value>1497600</value>
<value>1190400</value>
<value>960000</value>
<value>729600</value>
<value>422400</value>
<value>300000</value>
</array>
<item name="cpu.idle">4</item>
<array name="cpu.active">
<value>577</value>
<value>408</value>
<value>249</value>
<value>148</value>
<value>55</value>
<value>399</value>
<value>308</value>
<value>264</value>
<value>190</value>
<value>174</value>
<value>102</value>
<value>72</value>
<value>46</value>
</array>
<item name="battery.capacity">9500</item>
<array name="wifi.batchedscan">