Fork from pix106's tree
Find a file
Alex Naidis 564ddb664d
sdm660-common: Override readahead to 128KiB after post-boot
* Qualcomm decided to increase the read-ahead value to 512KiB [1].

 * This value resulted in frequent cases where read-ahead
   would be waiting for new I/O requests and thus ending
   up being synchronous rather than asynchronous.

 * As result, the main goal of Qualcomm's patch [1] which
   is to increase throughput ends up in a regression where
   read throughput is significantly lower than it ever
   would be with the recommended [2] read-ahead value.

 * This patch uses our existing loop in ramdisk to set
   the read-ahead value to 128KiB.

[1] https://source.codeaurora.org/quic/la/kernel/msm-4.19/commit/include/linux/mm.h?h=LA.UM.9.12.r1-09000-SMxx50.0&id=25d04e4ceb7c067907901842c223d62973d73a75
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/linux/mm.h?h=v4.19.160#n2397

Change-Id: I1980d904568fe4f1ce7b676452bcc44e4689f02f
Co-authored-by: clarencelol <clarencekuiek@icloud.com>
2021-06-27 22:21:00 +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: config.fs: Add mapping for imsdaemon 2021-06-07 09:21:11 +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: Nuke thermal settings 2021-05-18 05:04:04 +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
libqti-perfd-client sdm660-common: libqti-perfd-client: Remove namespace declaration 2021-06-07 09:22:17 +06:00
libshims sdm660-common: Update RIL from curtana V12.0.1.7.RJWMIXM 2021-06-11 08:33:27 +06:00
light sdm660-common: light: Adapt light HAL for k4.19 2021-06-07 09:21:10 +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: overlay: Use vibration pattern from pixel 2 2021-06-27 22:21:00 +06:00
overlay-awaken sdm660-common: Fix smart-charging 2021-05-28 20:30:28 +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: Update powerhint with available values 2021-06-15 17:32:47 +06:00
properties sdm660-common: Update RIL from curtana V12.0.1.7.RJWMIXM 2021-06-11 08:33:27 +06:00
rootdir sdm660-common: Override readahead to 128KiB after post-boot 2021-06-27 22:21:00 +06:00
rro_overlays sdm660-common: Sign Tether RROs with default cert 2021-01-21 03:26:34 +06:00
seccomp sdm660-common: Update RIL from curtana V12.0.1.7.RJWMIXM 2021-06-11 08:33:27 +06:00
sepolicy sdm660-common: Switch to Thermal 2.0 mock 2021-06-15 21:48:17 +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: Update RIL from curtana V12.0.1.7.RJWMIXM 2021-06-11 08:33:27 +06:00
awaken.dependencies sdm660-common: Required HALs for 4.19 2021-06-07 09:22:17 +06:00
BoardConfigCommon.mk Revert "sdm660-common: Set linker to LLD" 2021-06-15 17:32:47 +06:00
compatibility_matrix.xml sdm660-common: Update gnss entries 2021-03-03 00:01:41 +06:00
extract-files.sh sdm660-common: Patch some wfd blobs 2021-06-18 19:25:53 +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: Downgrade android.hardware.secure_element 2021-06-15 17:32:47 +06:00
proprietary-files.txt sdm660-common: Patch some wfd blobs 2021-06-18 19:25:53 +06:00
README.md sdm660-common: Update common tree and adapt changes 2021-03-21 23:27:59 +06:00
sdm660.mk sdm660-common: Use TARGET_COPY_OUT_SYSTEM instead of system/ 2021-06-27 17:24:10 +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.
#