Fork from pix106's tree
Find a file
Gareth Kitchen 26e9816c98
sdm660-common: gps: Localise NTP to improve GPS TTFF
Testing response times to time.android.com from around the globe reveals
in ms:-

Europe			 <30
Middle East		 <68
North America		<150
Johannesburg		 183
Buenos Aires		 220
Tokyo			 226
Sydney			 276
Hong Kong		 285
Brisbane		 295
Mumbai			 349
Beijing			4691
Shanghai		4906
Russia			 n/a

Whilst time.android.com is NOT used for GPS NTP, North American time servers
are, by specifying north-america.pool.ntp.org as default in the framework,
to align with pixel devices.  I am assuming similar response times to these
servers from around the world.

Great for North America and it appears Europe but it does not address the
global issue. Also, the pool.ntp.org project forbids both hardware and
software vendors from using these default zone names.
http://www.pool.ntp.org/en/vendors.html

It makes sense, therefore, to leverage the ntp.org's existing 'android' vendor
name to make the default ntp server for GPS purposes:
1.android.pool.ntp.org this will return a random but accurate NTP server in
close geopraphic proximity to the device.

Testing on my own build in the UK seems to improve hot and cold TTFF
considerably.

Change-Id: I144af45757efa35b32daf034eece6e046d2bde79
2019-12-02 17:22:37 +01:00
audio sdm660-common: Enable AOSP bluetooth audio HAL v2 2019-12-02 17:22:26 +01:00
biometrics sdm660-common: fingeprint: Add uhid group for fingerprint service 2019-09-16 10:39:53 +02:00
bluetooth sdm660-common: bluetooth: Push and pop PROPERTY_VALUE_MAX in buildcfg header 2019-09-27 17:13:44 +02:00
configs sdm660-common: gps: Localise NTP to improve GPS TTFF 2019-12-02 17:22:37 +01:00
data-ipa-cfg-mgr sdm660-common: data-ipa-cfg-mgr: fix build for Q 2019-11-13 21:44:39 +01:00
doze sdm660-common: doze: Follow Android 10 changes on switchbar 2019-09-27 17:13:44 +02:00
folio_daemon sdm660: Move folio_daemon to system in sepolicy 2019-10-19 20:50:52 +02:00
gps sdm660-common: gps: Add libprocessgroup 2019-09-16 10:39:53 +02:00
idc wayne: Initial bringup 2018-07-13 00:01:25 +00:00
ims sdm660-common: Create system copy of ims-ext-common and add to classpath 2019-10-15 14:59:53 +02:00
init sdm660-common: init: Cleanup init.sdm660 2019-09-27 17:13:45 +02:00
jar-profiles common: Add Speed-Profiled contents of vendor jars. 2019-09-27 17:13:45 +02:00
libhidl wayne-common: libhidl: Remove android.hidl.manager 2019-08-14 10:04:10 +02:00
libshims sdm660-common: Nuke libMiWatermark and replace it with a shim 2019-09-27 17:13:44 +02:00
light sdm660-common: light: Drop unnecessary handled variable in setLight() 2019-08-14 10:04:10 +02:00
org.ifaa.android.manager sdm660-common: org.ifaa.android.manager: switch to blueprint 2019-09-16 10:39:53 +02:00
overlay sdm660: overlay: Don't inject IccPhoneBookInterfaceManager 2019-12-01 10:11:01 +01:00
overlay-lineage sdm660-common: Map color profiles to livedisplay 2019-10-15 10:17:25 +02:00
rootdir sdm660-common: rootdir: Move ims service declarations to their own rc files 2019-12-02 17:22:37 +01:00
seccomp sdm660-common: mediacodec: Allow syscalls needed by OMX component 2019-08-14 10:04:13 +02:00
sensors sdm660-common: sensor: move sensor configuration to device 2019-08-14 10:04:13 +02:00
sepolicy sdm660-common: sepolicy: Allow power off alarm app to set cpuset 2019-12-02 07:57:05 +01:00
usb sdm660-common: Add basic USB HAL that reports no status change 2019-08-15 15:27:20 +02:00
vndk sdm660-common: Fix errors found by prebuilt ELF checker 2019-09-27 17:25:45 +02:00
wifi sdm660-common: wifi: Update etsi_srd_chan_in_master_mode name 2019-11-02 15:03:43 +01:00
XiaomiParts sdm660-common: XiaomiParts: Dont crash if dirac is not initialized 2019-10-19 20:51:48 +02:00
Android.bp sdm660-common: Setup device soong namespace 2019-09-27 17:13:44 +02:00
Android.mk sdm660-common: Update ims_symlinks from Q IMS 2019-12-02 17:22:37 +01:00
BoardConfigCommon.mk sdm660-common: remove compile time feature flags 2019-12-02 17:22:37 +01:00
compatibility_matrix.xml sdm660-common: drop composer and health from compatibility matrix 2019-09-27 17:13:44 +02:00
config.fs sdm660: config.fs: init: Add AID_VENDOR_THERMAL for thermal-engine 2019-11-01 11:45:15 +01:00
extract-files.sh sdm660-common: extract-files: Correct camera shim name 2019-10-31 13:42:46 +00:00
framework_manifest.xml wayne-common: Move AtFwd hal from device to framework manifest. 2019-07-01 16:42:17 +02:00
lineage.dependencies wayne-common: Add missing delimiter in lineage.dependencies 2019-08-14 10:04:10 +02:00
manifest.xml sdm660-common: Version update of IUim HAL to 1.2 2019-12-02 17:22:37 +01:00
properties.mk sdm660: Enable high fps sf early phase offsets 2019-12-02 17:22:37 +01:00
proprietary-files.txt sdm660-common: Update Alarm from LA.UM.8.2.r1-04300-sdm660.0 2019-12-02 17:22:37 +01:00
README.md sdm660-common: Transform into common sdm660 tree 2019-08-14 10:04:10 +02:00
sdm660.mk sdm660-common: Enable AOSP bluetooth audio HAL v2 2019-12-02 17:22:26 +01:00
setup-makefiles.sh sdm660-common: Add support for lavender (Redmi Note 7/7S) 2019-10-31 17:39:23 +00:00
update-sha1sums.py sdm660-common: Add unpinning support to update-sha1sums.py script 2019-09-27 17:13:46 +02:00

This repository contains device configuration for Xiaomi SDM660 devices

Basic Spec Sheet
CPU Quad-core 1.84 GHz Qualcomm Kryo 260 LP
CPU Quad-core 2.20 GHz Qualcomm Kryo 260 HP
Chipset Qualcomm Snapdragon 660, SDM660
GPU Adreno 512
ROM 32/64/128GB
RAM 3/4/6GB
Android 8.1.0

Note: Depends on: android_packages_resources_devicesettings from LineageOS

Currently Supported Devices: wayne (MI 6X), jasmine_sprout (MI A2) and clover (MI PAD 4 /4 Plus)

#
# 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.
# 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.
#