Commit graph

3686 commits

Author SHA1 Message Date
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
Ethan Chen
ce8a29230c
sdm660-common: Remove unnecessary usage of TOPDIR
Change-Id: Iafaa21f49c9ddb1fed21e83948d549f5a74dcfee
2021-03-02 23:47:29 +06:00
Jesse Chan
57f5e4d450
sdm660-common: power-libperfmgr: initialize powerHAL when boot is completed
Change-Id: I801b3aba05ef0be14c7af1969ddf9318c05ef64c
2021-03-02 23:43:22 +06:00
nullbytepl
1e82d9734b
sdm660-common: rootdir: start themed_bootanimation before bootanim 2021-03-02 23:43:22 +06:00
etahamad
e923bda27e
sdm660-common: Move IPA flag to sdm660 make file
to fix error: build/make/core/base_rules.mk:329: error: device/xiaomi/sdm660-common/data-ipa-cfg-mgr/hal: MODULE.TARGET.SHARED_LIBRARIES.liboffloadhal already defined by vendor/qcom/opensource/data-ipa-cfg-mgr/hal.

Signed-off-by: etahamad <220190166@fa-hists.edu.eg>
2021-03-02 23:43:22 +06:00
Dybios
f6b044c52e
sdm660-common: Reduce screenshot delay to 0 2021-03-02 23:43:22 +06:00
PIPIPIG233666
206f51bad0
sm660-common: Create socket for /dev/socket/audio_hw_socket
Change-Id: If4c5b944efb8dde3093ccb7b8f1dca746a02e043
2021-03-02 23:43:22 +06:00
Surabhi Vishnoi
e865b037e8
sdm660-common: Add wowlan_triggers to wpa_supplicant conf
Add 'wowlan_triggers=magic_pkt' to wpa_supplicant_overlay.conf. With
this, wpa_supplicant will tell the linux kernel that the wifi driver
is wowlan capable, and will wakeup the host when a magic packet is
received. Most importantly, the kernel will no longer disconnect wifi
connections before suspending wifi.

CRs-Fixed: 2615975
Change-Id: I3226943940046ad98e4ab410897d4fdcb457ee5a
2021-03-02 23:43:22 +06:00
Martin
1939009ca9
sdm660-common: Decommonize screen density
* Not a good idea when we support multiple devices with different screen densities
2021-03-02 23:43:03 +06:00
Utsav Balar
993f200e32
sdm660-common: init: Remove deprecated property 2021-03-02 23:42:37 +06:00
Martin
a03bdea1fe
sdm660-common: init: Handle fingerprint overrides through init 2021-03-02 23:42:37 +06:00
OdSazib
2228811ec0
sdm660-common: Add wfd dependency blobs
* From LA.UM.9.6.2.r1-03300-89xx.0

To eliminate these errors:
--------------------------
CANNOT LINK EXECUTABLE "/vendor/bin/wifidisplayhalservice": library "libdisplayconfig.qti.so" not found: needed by /vendor/lib/libwfddisplayconfig_proprietary.so in namespace (default)
CANNOT LINK EXECUTABLE "/vendor/bin/wifidisplayhalservice": library "vendor.display.config@2.0.so" not found: needed by /vendor/lib/libwfddisplayconfig_proprietary.so in namespace (default)
2021-03-02 23:42:26 +06:00