diff --git a/Android.mk b/Android.mk index f80d7db..704927c 100644 --- a/Android.mk +++ b/Android.mk @@ -1,4 +1,3 @@ - # # Copyright (C) 2016 The CyanogenMod Project # diff --git a/vendorsetup.sh b/AndroidProducts.mk similarity index 72% rename from vendorsetup.sh rename to AndroidProducts.mk index 94638f1..e667320 100644 --- a/vendorsetup.sh +++ b/AndroidProducts.mk @@ -1,5 +1,5 @@ # -# Copyright 2014 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. @@ -12,6 +12,11 @@ # 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. -# -add_lunch_combo lineage_satsuki-userdebug +PRODUCT_MAKEFILES := \ + $(LOCAL_DIR)/lineage_satsuki.mk + +COMMON_LUNCH_CHOICES := \ + lineage_satsuki-user \ + lineage_satsuki-userdebug \ + lineage_satsuki-eng diff --git a/BoardConfig.mk b/BoardConfig.mk index 6f083bc..aced7e4 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -48,6 +48,9 @@ TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop # Radio BOARD_HAVE_RADIO := true +# Security Patch Level +VENDOR_SECURITY_PATCH := 2017-09-01 + # Wifi WIFI_BUS := PCIE diff --git a/README.md b/README.md index ed99345..3e997d4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Copyright 2016 - The CyanogenMod Project Copyright 2017 - The LineageOS Project -Device configuration for Sony Xperia Z5 Premium +Device configuration for Sony Xperia Z5 ===================================== Basic | Spec Sheet @@ -13,12 +13,12 @@ Memory | 3 GB Shipped Android Version | 5.1.1 Storage | 32 GB MicroSD | Up to 256 GB (dedicated) -Battery | 3430 mAh (non-removable) -Dimensions | 154.4 x 75.8 x 7.8 mm -Display | 2160 x 3840 pixels, 5.5" IPS LCD -Weight | 180 g +Battery | 2900 mAh (non-removable) +Dimensions | 146 x 72 x 7.3 mm +Display | 1080 x 1920 pixels, 5.2" IPS LCD +Weight | 154 g Rear Camera | 23 MP, LED flash Front Camera | 5.1 MP -Release Date | November 2015 +Release Date | October 2015 -![Sony Xperia Z5 Premium](http://cdn2.gsmarena.com/vv/pics/sony/sony-z5-premium1.jpg "Sony Xperia Z5 Premium") +![Sony Xperia Z5](http://cdn2.gsmarena.com/vv/pics/sony/sony-z5-4.jpg "Sony Xperia Z5") diff --git a/audio/mixer_paths.xml b/audio/mixer_paths.xml index f458a0e..0f8ff64 100644 --- a/audio/mixer_paths.xml +++ b/audio/mixer_paths.xml @@ -1515,7 +1515,7 @@ - + @@ -1889,25 +1889,25 @@ - + - + - + - + @@ -1917,22 +1917,22 @@ - + - + - + - + @@ -2500,25 +2500,25 @@ - + - + - + - + diff --git a/configs/dsi_config.xml b/configs/dsi_config.xml index bb5f70b..77d3cb9 100644 --- a/configs/dsi_config.xml +++ b/configs/dsi_config.xml @@ -1,4 +1,5 @@ + + Copyright (C) 2016 The CyanogenMod Project + Copyright (C) 2017 The LineageOS Project - - - - http://uaprof.sonymobile.com/E6853R3211.xml + 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. +--> + - 3700 + 3600 + + + 25 + + + 25 + + + 1 + + + 3600 + + + 185 + + + 390 + + + 3 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 8ee950c..8c7f0d1 100644 --- a/overlay/frameworks/base/core/res/res/xml/power_profile.xml +++ b/overlay/frameworks/base/core/res/res/xml/power_profile.xml @@ -1,23 +1,25 @@ 0 - 89.89 - 0.1 - 0.61 + 27.43 + 48.64 + 1.09 39.93 - 447.69 - 2.19 - 94.22 - 0.1 - 0.1 - 0.1 - 178.62 + 393.25 + 0.97 + 329.74 + 49.42 + 38.79 + 230.86 + 813.49 + 22.17 + 116.89 0.29 153.62 132.21 0.74 9.37 - 51.70 + 48.81 9.01 8.28 @@ -89,7 +91,7 @@ 4 40.36 - 3430 + 2900 .0002 .002 diff --git a/overlay/packages/apps/CarrierConfig/res/xml/vendor.xml b/overlay/packages/apps/CarrierConfig/res/xml/vendor.xml deleted file mode 100644 index ba3e2b5..0000000 --- a/overlay/packages/apps/CarrierConfig/res/xml/vendor.xml +++ /dev/null @@ -1,1356 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - IPV4V6 - IPV4V6 - - - - - - - - - - - - - IPV4V6 - IPV4V6 - - - - - - - - - - - - - - - - - - - - - - IPV4V6 - IPV4V6 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - IPV4V6 - IPV4V6 - - - - - - - - - - - - - - - - - - - - - - - - IPV4V6 - IPV4V6 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - IPV4V6 - IPV4V6 - - - - - - - - - - - IPV4V6 - IPV4V6 - - - - - - - - - - IPV4V6 - IPV4V6 - - - - - - - - - - - - - - IPV4V6 - IPV4V6 - - - - - - - - - - - - - - - - - - - - - - - - IPV4V6 - IPV4V6 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - IPV4V6 - IPV4V6 - - - - - - - - - - - - - - - - - - - - - - - - - - - - IPV4V6 - IPV4V6 - - - - - - - - - - IPV4V6 - IPV4V6 - - - - - - - - - - - - - - - IPV4V6 - IPV4V6 - - - - - - - - - - - - - - - - - - IPV4V6 - IPV4V6 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/overlay/packages/apps/CellBroadcastReceiver/res/values/config.xml b/overlay/packages/apps/CellBroadcastReceiver/res/values/config.xml deleted file mode 100755 index 74a7c9d..0000000 --- a/overlay/packages/apps/CellBroadcastReceiver/res/values/config.xml +++ /dev/null @@ -1,27 +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 index 0c6fb43..9f6192e 100644 --- a/overlay/packages/apps/Settings/res/values/config.xml +++ b/overlay/packages/apps/Settings/res/values/config.xml @@ -1,9 +1,12 @@ - - - - Locate the fingerprint sensor on the side of your phone. - diff --git a/proprietary-files.txt b/proprietary-files.txt index e0e3e66..33613c8 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -11,8 +11,7 @@ etc/acdbdata/Sony/Sony_Speaker_cal.acdb etc/firmware/BCM43xx.hcd # Camera -bin/mm-qcamera-daemon:vendor/bin/mm-qcamera-daemon -lib/hw/camera.msm8994.so:vendor/lib/hw/camera.msm8994.so +bin/mm-qcamera-daemon lib/hw/camera.qcom.so lib/libcamera_clientsemc.so lib/libcammw.so @@ -45,7 +44,6 @@ lib/libsomc_yummyrsc.so lib/libsony_fooddetect.so lib/libsony_naruto.so lib64/libcamera_clientsemc.so -vendor/lib/libchromaflash.so vendor/lib/libfastcvadsp_stub.so vendor/lib/libjpegdhw.so vendor/lib/libjpegdmahw.so @@ -138,13 +136,9 @@ vendor/lib/libmmjpeg.so vendor/lib/libmmqjpeg_codec.so vendor/lib/libmmqjpegdma.so vendor/lib/liboemcamera.so -vendor/lib/liboptizoom.so vendor/lib/libqomx_jpegdec.so vendor/lib/libqomx_jpegenc.so vendor/lib/libqomx_jpegenc_pipe.so -vendor/lib/libseemore.so -vendor/lib/libtrueportrait.so -vendor/lib/libubifocus.so vendor/lib64/libmmcamera2_q3a_core.so vendor/lib64/libmmcamera2_sensor_debug.so vendor/lib64/libmmcamera2_stats_algorithm.so @@ -520,7 +514,7 @@ lib/libsomc_chokoballcmn.so lib/libsomc_chokoballpal.so # DRM -bin/qseecomd:vendor/bin/qseecomd +bin/qseecomd vendor/lib/libQSEEComAPI.so vendor/lib/libdrmfs.so vendor/lib/libdrmtime.so @@ -540,112 +534,13 @@ vendor/lib64/lib-sec-disp.so vendor/lib64/libssd.so vendor/lib64/libStDrvInt.so -# Modem -etc/customization/modem/amss_fs_empty.mbn -etc/customization/modem/amss_fsg_satsuki_a1_austria_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_att_us_tar.mbn -etc/customization/modem/amss_fsg_satsuki_beeline_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_bell_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_bell_tar.mbn -etc/customization/modem/amss_fsg_satsuki_bouygues_france_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_china_mobile_hk_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_china_tar.mbn -etc/customization/modem/amss_fsg_satsuki_cht_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_csl_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_ctm_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_docomo_tar.mbn -etc/customization/modem/amss_fsg_satsuki_ee_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_ee_tar.mbn -etc/customization/modem/amss_fsg_satsuki_ee_vowifi_only_tar.mbn -etc/customization/modem/amss_fsg_satsuki_emt_estonia_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_fareastone_tar.mbn -etc/customization/modem/amss_fsg_satsuki_france_tar.mbn -etc/customization/modem/amss_fsg_satsuki_gteb_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_hutch_austria_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_hutch_austria_tar.mbn -etc/customization/modem/amss_fsg_satsuki_hutch_denmark_tar.mbn -etc/customization/modem/amss_fsg_satsuki_hutch_hk_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_hutch_ireland_tar.mbn -etc/customization/modem/amss_fsg_satsuki_hutch_italy_tar.mbn -etc/customization/modem/amss_fsg_satsuki_hutch_sweden_tar.mbn -etc/customization/modem/amss_fsg_satsuki_hutch_sweden_vowifi_only_tar.mbn -etc/customization/modem/amss_fsg_satsuki_hutch_uk_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_hutch_uk_tar.mbn -etc/customization/modem/amss_fsg_satsuki_hutch_uk_volte_vowifi_tar.mbn -etc/customization/modem/amss_fsg_satsuki_india_tar.mbn -etc/customization/modem/amss_fsg_satsuki_indonesia_tar.mbn -etc/customization/modem/amss_fsg_satsuki_ir51_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_ir51_ir92_ims_gte_tar.mbn -etc/customization/modem/amss_fsg_satsuki_ir51_ir92_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_ir92_ims_gte_tar.mbn -etc/customization/modem/amss_fsg_satsuki_ir92_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_jazztel_tar.mbn -etc/customization/modem/amss_fsg_satsuki_kpn_tar.mbn -etc/customization/modem/amss_fsg_satsuki_m1_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_megafon_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_movistar_tar.mbn -etc/customization/modem/amss_fsg_satsuki_mts_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_orange_france_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_orange_france_pp_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_orange_france_tar.mbn -etc/customization/modem/amss_fsg_satsuki_orange_poland_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_orange_romania_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_orange_spain_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_orange_spain_vowifi_only_tar.mbn -etc/customization/modem/amss_fsg_satsuki_orange_tar.mbn -etc/customization/modem/amss_fsg_satsuki_pccw_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_reliance_jio_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_rogers_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_rogers_tar.mbn -etc/customization/modem/amss_fsg_satsuki_salt_switzerland_vowifi_only_tar.mbn -etc/customization/modem/amss_fsg_satsuki_sfr_france_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_singtel_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_smartone_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_starhub_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_swisscom_switzerland_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_taiwanmobile_tar.mbn -etc/customization/modem/amss_fsg_satsuki_tar.mbn -etc/customization/modem/amss_fsg_satsuki_telcel_tar.mbn -etc/customization/modem/amss_fsg_satsuki_tele2_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_tele2_netherlands_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_telefonica_germany_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_telefonica_germany_tar.mbn -etc/customization/modem/amss_fsg_satsuki_telefonica_spain_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_telefonica_spain_vowifi_only_tar.mbn -etc/customization/modem/amss_fsg_satsuki_telefonica_uk_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_telefonica_uk_tar.mbn -etc/customization/modem/amss_fsg_satsuki_telekom_czech_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_telekom_czech_volte_vowifi_tar.mbn -etc/customization/modem/amss_fsg_satsuki_telekom_germany_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_telekom_germany_volte_vowifi_tar.mbn -etc/customization/modem/amss_fsg_satsuki_telekom_tar.mbn -etc/customization/modem/amss_fsg_satsuki_telenor_norway_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_telenor_norway_volte_vowifi_tar.mbn -etc/customization/modem/amss_fsg_satsuki_telia_norway_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_telia_sweden_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_telstra_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_telstra_tar.mbn -etc/customization/modem/amss_fsg_satsuki_telstra_trial_tar.mbn -etc/customization/modem/amss_fsg_satsuki_tim_italy_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_tim_italy_volte_vilte_tar.mbn -etc/customization/modem/amss_fsg_satsuki_tim_tar.mbn -etc/customization/modem/amss_fsg_satsuki_tmobile_us_tar.mbn -etc/customization/modem/amss_fsg_satsuki_vivo_tar.mbn -etc/customization/modem/amss_fsg_satsuki_vodafone3_tar.mbn -etc/customization/modem/amss_fsg_satsuki_vodafone4_tar.mbn -etc/customization/modem/amss_fsg_satsuki_vodafone5_tar.mbn -etc/customization/modem/amss_fsg_satsuki_vodafone_germany_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_vodafone_nl_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_vodafone_spain_ims_tar.mbn -etc/customization/modem/amss_fsg_satsuki_vodafone_uk_ims_tar.mbn - # NFC lib64/hw/libpn547_fw.so # Sensors etc/sensors/hals.conf:vendor/etc/sensors/hals.conf etc/sensors/sensor_def_qcomdev.conf -bin/sensors.qcom:vendor/bin/sensors.qcom +bin/sensors.qcom vendor/lib/libdataitems.so vendor/lib/libsensor1.so vendor/lib/libsensor_reg.so @@ -682,10 +577,10 @@ etc/firmware/wlan/bcmdhd/fw_bcmdhd_apsta.bin # Fingerprint vendor/firmware/tzfingerprint.mdt -vendor/firmware/tzfingerprint.b00 vendor/firmware/tzfingerprint.b01 vendor/firmware/tzfingerprint.b02 vendor/firmware/tzfingerprint.b03 +vendor/firmware/tzfingerprint.b00 lib/lib_fpc_tac_shared.so lib64/lib_fpc_tac_shared.so lib/hw/fingerprint.msm8994.so diff --git a/system.prop b/system.prop index e2175f9..a4abbe9 100644 --- a/system.prop +++ b/system.prop @@ -1,4 +1,16 @@ -# system.prop for Satsuki +# Dalvik +ro.sys.fw.dex2oatthreadcount=6 +dalvik.vm.boot-dex2oat-threads=6 +dalvik.vm.dex2oat-threads=6 +dalvik.vm.image-dex2oat-threads=6 +dalvik.vm.dex2oat-filter=speed +dalvik.vm.image-dex2oat-filter=speed +dalvik.vm.heapgrowthlimit=256m +dalvik.vm.heapstartsize=8m +dalvik.vm.heapsize=512m +dalvik.vm.heaptargetutilization=0.75 +dalvik.vm.heapminfree=512k +dalvik.vm.heapmaxfree=8m # Display density ro.sf.lcd_density=480