Fork from pix106's tree
Find a file
–Gareth Kitchen 7a54003bff
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
2021-05-18 05:04:04 +06:00
biometrics sdm660-common: biometrics: keep biometrics in system-background 2020-12-30 22:06:56 +06:00
bluetooth sdm660-common: bluetooth: Disable clean turn on 2021-03-02 23:47:29 +06:00
configs sdm660-common: audio: Update audio configs and enable soundtrigger 2021-05-15 07:20:19 +06:00
data-ipa-cfg-mgr sdm660-common: data-ipa-cfg-mgr: Merge tag 'LA.UM.8.2.r1-06900-sdm660.0' 2020-10-19 11:36:06 +06:00
DeviceDoze sdm660-common: Android.mk -> Android.bp 2021-03-02 23:47:30 +06:00
DeviceSettings sdm660-common: DeviceSettings: Import in-app Dirac 2021-04-10 02:24:09 +06:00
gps sdm660-common: gps: Localise NTP to improve GPS TTFF 2021-05-18 05:04:04 +06: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: Decommonize build.fingerprint 2021-03-11 19:00:03 +06:00
libhidl sdm660-common: libhidl: remove libhidltransport deps 2020-12-13 18:37:00 +06:00
libshims sdm660-common: Add shim for libdpmframework 2020-12-13 18:37:01 +06:00
light sdm660-common: Chown light nodes earlier 2021-04-11 09:29:14 +06:00
org.ifaa.android.manager sdm660-common: org.ifaa.android.manager: Use new UnsupportedAppUsage annotation 2020-12-13 18:27:09 +06:00
overlay sdm660-common: Enable zram-writeback job 2021-05-15 06:03:01 +06:00
overlay-awaken sdm660-common: overlay: Enable smart charging 2021-02-05 22:12:12 +06:00
overlay-lineage sdm660-common: overlay-lineage: Enable call recording 2020-12-30 22:06:56 +06:00
power-libperfmgr sdm660-common: power-libperfmgr: Add AUDIO_LAUNCH to powerhint 2021-04-10 14:29:00 +06:00
properties sdm660-common: props: Refactor all properties 2021-05-18 05:04:03 +06:00
rootdir sdm660-common: rootdir: Clean up init stuffs 2021-05-18 05:04:03 +06:00
rro_overlays sdm660-common: Sign Tether RROs with default cert 2021-01-21 03:26:34 +06:00
seccomp sdm660-common: mediacodec: Allow syscalls needed by OMX component 2019-08-14 10:04:13 +02:00
sepolicy sdm660-common: sepolicy: Rework sepolicy (No more neverallow) 2021-05-18 05:03:51 +06:00
usb sdm660-common: remove libhwbinder/libhidltransport deps from usb 2020-12-13 18:37:01 +06:00
vndk sdm660-common: power-libperfmgr: Switch to AIDL Power HAL 2021-03-10 12:37:27 +06:00
.clang-format sdm660-common: Improve lights HAL 2020-08-12 02:02:37 +06:00
Android.bp sdm660-common: Include hardware/google/interfaces and hardware/google/pixel 2021-03-10 12:37:38 +06:00
Android.mk sdm660-common: apex: Symlink metadata to existing sessions 2021-02-16 18:50:35 +06:00
awaken.dependencies sdm660-common: Use custom R hals for sdm660 2021-05-18 05:04:03 +06:00
BoardConfigCommon.mk sdm660-common: sepolicy: Rework sepolicy (No more neverallow) 2021-05-18 05:03:51 +06:00
compatibility_matrix.xml sdm660-common: Update gnss entries 2021-03-03 00:01:41 +06:00
extract-files.sh sdm660-common: Update common tree and adapt changes 2021-03-21 23:27:59 +06:00
framework_manifest.xml wayne-common: Move AtFwd hal from device to framework manifest. 2019-07-01 16:42:17 +02:00
manifest.xml sdm660-common: audio: Update audio configs and enable soundtrigger 2021-05-15 07:20:19 +06:00
proprietary-files.txt sdm660-common: Update some blobs from jasmine V11.0.23.0.QDIMIXM 2021-05-15 07:20:19 +06:00
README.md sdm660-common: Update common tree and adapt changes 2021-03-21 23:27:59 +06:00
sdm660.mk sdm660-common: props: Refactor all properties 2021-05-18 05:04:03 +06:00
setup-makefiles.sh sdm660-common: Update common tree and adapt changes 2021-03-21 23:27:59 +06:00
update-sha1sums.py sdm660-common: update-sha1sums: Handle line with opts 2020-08-12 02:11:33 +06: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

Notes:

  • Depends on: android_packages_resources_devicesettings from LineageOS
  • Depends on: LA.QSSI.11.0.r1-09100-qssi.0 tag for vendor_codeaurora_telephony
  • Depends on: LA.UM.9.6.2.r1-03600-89xx.0 tag for GPS and WFD

Currently Supported Devices:

  • clover (MI PAD 4 /4 Plus)
  • jason (Redmi Note 3)
  • jasmine_sprout (MI A2)
  • lavender (Redmi Note 7)
  • platina (Mi 8 Lite)
  • tulip (Redmi Note 6 Pro)
  • wayne (MI 6X)
  • whyred (Redmi Note 5)
#
# Copyright (C) 2018 The LineageOS Project
# Copyright (C) 2018-2021 Xiaomi-SDM660 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.
#