Commit graph

3897 commits

Author SHA1 Message Date
Edwin Moquete
a86212ccb8
sdm660-common: Allow com.qualcomm.location to run in the background 2021-03-22 18:30:00 +06:00
Bruno Martins
313e2e8d10
sdm660-common: lights: Include VINTF fragment
Change-Id: I436e67ea97511d728881e118cf8cb5b66ab338ed
2021-03-22 18:30:00 +06:00
Ugo Yu
709e0133c2
sdm660-common: Enable BluetoothSar v1.1
Bug: 148950966
Test: Manual
Signed-off-by: sohamxda7 <sensoham135@gmail.com>
2021-03-22 18:30:00 +06:00
OdSazib
105be64c3f
sdm660-common: Downgrade gps hal to LA.UM.9.6.2.r1-03300-89xx.0
This is a combination of 3 commits:
-------------------------------------

* Revert "sdm660-common: Import gps configs from LA.UM.9.6.2.r1-03600-89xx.0"

  This reverts commit 1977da527c.

* Revert "sdm660-common: Checkout gps hal from LA.UM.9.6.2.r1-03600-89xx.0"

  This reverts commit 15d9c83201.

* sdm660-common: Checkout gps config from LA.UM.9.6.2.r1-03300-89xx.0
2021-03-22 13:01:57 +06:00
OdSazib
53931a7bb5
sdm660-common: Downgrade gps blobs to LA.UM.9.6.2.r1-03300-89xx.0 2021-03-22 13:01:57 +06:00
OdSazib
8a564e1ad4
sdm660-common: Build wfd dependency blobs from source
* Avoid manifest entry for old blobs compatibility
* Must use display hal from https://github.com/AOSP-11
2021-03-22 13:01:45 +06:00
OdSazib
6049e1f67f
sdm660-common: Downgrade LA.UM.9.6.2.r1 revision to 03300-89xx.0 2021-03-22 02:47:19 +06:00
OdSazib
0047cdbf79
sdm660-common: Update common tree and adapt changes
* Adjust with wayne-common
* Switch to standalone extract utils from pa
* Update FCM level to 3
* Move IR Blaster to device specific repo

Co-authored-by: Erfan Abdi <erfangplus@gmail.com>
Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Signed-off-by: OdSazib <odsazib@gmail.com>
2021-03-21 23:27:59 +06:00
Dyneteve
dabf68b62a
sdm660-common: Enable AOSP surfaceflinger
* AOSP SurfaceFlinger is smoother than CAF

Signed-off-by: Dyneteve <sound0020@gmail.com>
2021-03-18 07:33:30 +06:00
clarencelol
cb2bb349c8
sdm660-common: rootdir: Add missing max_comp_streams in init
- To align with https://github.com/OdSazib/device_xiaomi_sdm660-common/blob/11/rootdir/etc/fstab.qcom#L14

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
2021-03-18 07:32:54 +06:00
Subhajeet Muhuri
276e5e9077
sdm660-common: Loosen up charging thermal throttling thresholds
Change-Id: I9edc3bda9b1892f77158d01e13d1fa114355088a
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@aosip.dev>
2021-03-17 12:23:04 +06:00
OdSazib
4580d94c55
sdm660-common: Roll back to wayne-thermal
* jasmine thermal leads to:
 - 50% reduction in Geekbench scores for multi-core
 - Problem with rapid charging for higher ambient temperature

These wayne-configs fix the above issues
2021-03-17 12:22:56 +06:00
Vishalcj17
9922a089dd
sdm660-common: rootdir: Set up/down_rate_limit_us as 1000
- In my testing, i faced some CPU Stalls with the old setup. (caused some spikes in jitter and non-consistent hackbench).

- 1000 was perfect in my testing and did not hit over power usage.

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
2021-03-17 01:31:59 +06:00
Panchajanya1999
45193a430f
sdm660-common: wifi: Disable WLAN Firmware loggings
firmware loggings are not at all necessary for general development.

Change-Id: I111943a641670ea052f68148103e377771297d77
2021-03-17 01:28:56 +06:00
OdSazib
0007918f73
Revert "sdm660-common: rootdir: drop wlan driver loading"
This needed for some custom kernels to load the module
This reverts commit b617d231e0.
2021-03-17 01:24:28 +06:00
OdSazib
6166317281
sdm660-common: Build power stats and label it 2021-03-15 12:21:09 +06:00
OdSazib
3ee5aa4512
sdm660-common: Decommonize build.fingerprint 2021-03-11 19:00:03 +06:00
Subhajeet Muhuri
a69c9c42fd
sdm660-common: Add qrtr blobs 2021-03-10 12:37:38 +06:00
Subhajeet Muhuri
d41d782c92
sdm660-common: Include hardware/google/interfaces and hardware/google/pixel
* Required by power-libperfmgr

Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@aosip.dev>
2021-03-10 12:37:38 +06:00
Subhajeet Muhuri
114f2a0905
sdm660-common: Add atrace-hal build rule 2021-03-10 12:37:38 +06:00
Subhajeet Muhuri
7c3beb85c9
sdm660-common: power-libperfmgr: Switch to AIDL Power HAL
hardware/google/pixel/power-libperfmgr from android-11.0.0_r25

SQUASHED:
Revert all HIDL interface and nuke previous changes
Import Pixel libperfmgr AIDL Power HAL
Adapt and rebrand for xiaomi_sdm660
Remove Google-specific display LPM control
Remove Google-specific camera and audio hints
Remove VR hints handling
Remove audio hints handling
Remove dumpstate support
Initialize powerHAL when boot is completed
Add support for tap-to-wake feature control
Add sepolicy rules for power-libperfmgr
Enable power-libperfmgr

Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@aosip.dev>
2021-03-10 12:37:27 +06:00
Manish4586
4aec2ab1c3
sdm660-common: audio: Switch to audio hal v4 2021-03-10 03:50:49 +06:00
OdSazib
d31c630682
sdm660-common: Fix sensorservice 2021-03-10 03:45:52 +06:00
OdSazib
dd81d2e4c1
sdm660-common: init: Override build.fingerprint with multifp 2021-03-09 14:51:56 +06:00
Lucchetto
05e437c22a
sdm660-common: init: Adapt libinit to Android 11
* Remove build.description from common tree as well
2021-03-09 04:49:01 +06:00
OdSazib
1c6c38bcab
sdm660-common: Use default clang set by build/soong 2021-03-08 00:27:43 +06:00
Pig
55c8f248a1
sdm660-common: Shorten wait time for services exit to optimize shutdown time 2021-03-07 01:51:46 +06:00
ElXreno
b617d231e0
sdm660-common: rootdir: drop wlan driver loading
I hope it already present in kernel, so let's drop it.

Signed-off-by: ElXreno <elxreno@gmail.com>
2021-03-07 01:51:46 +06:00
Prerna Kalla
a012e566eb
sdm660-common: rootdir: add permission for /dev/sp_keymaster_ssr
Needed for keymasterd to register spcom server to catch ssr.

Change-Id: I30e4daac9b8b1d15c87e01929072b4d4804b6342
2021-03-07 01:51:46 +06:00
orgesified
373e2fc7e2
sdm660-common: sepolicy: Silence logspam
Co-authored-by: Jarl-Penguin <jarlpenguin@outlook.com>
Change-Id: Iea2d0ec097c4e33a038ce05fba801364c2e8a381
2021-03-07 01:51:46 +06:00
Jeferson
2632c4a4b8
sdm660-common: sepolicy: Adress system_server denials
Change-Id: I7ec0ccc4004a7cf74988e7994ec981e064ba0412
2021-03-07 01:49:33 +06:00
Dybios
b6d0521107
sdm660-common: manifest: Fix android.hardware.sensors VINTF
init: Control message: Could not find 'android.frameworks.sensorservice@1.0::ISensorManager/default' for ctl.interface_start from pid: 447 (/system/bin/hwservicemanager)
2021-03-07 01:49:18 +06:00
OdSazib
1977da527c
sdm660-common: Import gps configs from LA.UM.9.6.2.r1-03600-89xx.0 2021-03-06 20:26:06 +06:00
OdSazib
15d9c83201
sdm660-common: Checkout gps hal from LA.UM.9.6.2.r1-03600-89xx.0 2021-03-03 04:02:03 +06:00
OdSazib
3dd5ae7fbb
sdm660-common: Update some blobs from LA.UM.9.6.2.r1-03600-89xx.0
- ESE (product>vendor for proper functionality)
- GPS and Time services
- Some part of Radio and IMS
- WFD, WFD Dependency & WiFi
2021-03-03 04:01:47 +06:00
PIPIPIG233666
8c0971fdfc
sdm660-common: Build new GNSS stack
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
2021-03-03 00:01:41 +06:00
Rajshekar Eashwarappa
c11c921431
sdm660-common: Update gnss entries 2021-03-03 00:01:41 +06:00
OdSazib
5fd6060869
sdm660-common: Checkout gps hal from LA.UM.9.6.2.r1-03300-89xx.0 2021-03-03 00:01:41 +06:00
Shawn Shin
6d41ab23c9
sdm660-common: Add IQccsyshal for device compatibility 2021-03-03 00:00:36 +06:00
clarencelol
1751960372
sdm660-common: Update GPS blos from LA.UM.9.6.2.r1-03600-89xx.0 2021-03-02 23:48:14 +06:00
Danny Lin
aeaf262479
sdm660-common: Don't pin camera app in memory
The default camera app can be *huge* in some cases, e.g. when the app in
question is Google Camera. The system will only pin up to the first 80
MiB of the APK file, as well as the first 80 MiB of its odex. There are
several problems with this:

  - We could easily end up with 160 MiB of camera app files pinned,
    which is a tall order with the ~3.5 GiB of usable RAM that we have
  - The data that gets pinned may not even be the most critical data for
    launching the camera

Let's disable pinning of the camera app to save precious RAM on this
device.

Change-Id: I745e39b6ff212dfaf9213517d2a2be8ff7384e24
2021-03-02 23:47:30 +06:00
ghostrider-reborn
25eb668abc
sdm660-common: Enable QCRIL radio power saving
Signed-off-by: K A R T H I K <karthik.lal558@gmail.com>
Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
2021-03-02 23:47:30 +06:00
clarencelol
3820498cd4
sdm660-common: Android.mk -> Android.bp
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
2021-03-02 23:47:30 +06:00
sbwml
d7334ac1eb
sdm660-common: Set loop max part to 7
loop.max_part must be less than 8, otherwise twrp generates warning with endless loop for apex

Reference: https://source.android.com/devices/tech/ota/apex#required_kernel_configuration_options
2021-03-02 23:47:30 +06:00
OdSazib
245f36f6ed
sdm660-common: Build libavservices_minijail
To eliminate linker error and fix ims_rtp_daemon:
--------------------------------------------------
CANNOT LINK EXECUTABLE "/vendor/bin/ims_rtp_daemon": library "libavservices_minijail.so" not found: needed by main executable
2021-03-02 23:47:30 +06:00
OdSazib
dc3bc748b0
sdm660-common: Set vendor.audio.adm.buffering.ms to 3
Whatever we set, the default maximum value is 3 by the lib itself
2021-03-02 23:47:30 +06:00
sbwml
2f202d0906
sdm660-common: component-override: Enable hfpclient support 2021-03-02 23:47:30 +06:00
Nolen Johnson
deb9ccb9c3
sdm660-common: bluetooth: Disable clean turn on
* This isn't needed anymore.

Change-Id: Ib77e5212099d82bbc07aea6044eb35109faff5cb
2021-03-02 23:47:29 +06:00
Bruno Martins
14d1074a44
sdm660-common: bluetooth: Undef BLUETOOTH_QTI_SW
This was long used to enable QC extended features. Right now,
with a pure AOSP BT stack, this is completely unused. Moreover,
it's enabled by default if devices opt-in for the QTI BT stack.

Change-Id: I0ad604d7a7a502df647676b1afc77d770fa50710
2021-03-02 23:47:29 +06:00
Michael Bestas
b3e57baf6e
sdm660-common: Don't build tinymix
* This tool can be built manually for debugging cases,
  there is no need to ship it in production

Change-Id: I9ab8b076b4bede70c368c198960ceabc68dad65b
2021-03-02 23:47:29 +06:00