Commit graph

3883 commits

Author SHA1 Message Date
OdSazib
5d50c6cf07
sdm660-common: Update some blobs from jasmine V11.0.23.0.QDIMIXM
- Dirac
 - DRM (Widevine)
 - Listen
2021-05-15 07:20:19 +06:00
dianlujitao
4cfd18a6ad
sdm660-common: Switch to Audio HAL v5
All devices use pre-R audio.bluetooth_qti.default.so and platina uses
pre-R audio hal, in which the new set_event_callback API is not
implemented and the audio service will crash due to mismatched struct.

Change-Id: Ia330ac05d84d3dfb3a639458d66a3dc29689e67c
2021-05-15 06:03:01 +06:00
Randall Huang
8a1ef1a3b9
sdm660-common: Enable zram-writeback job
This patch enables zram-writeback job. It will run idle marking
at 60m since the device is boot. After that, it will do first
writeback after 3hour to sweep initiallized cold pages out.
After that, it periodically write out every 24hour.

Bug: 117682284
Bug: 127185055
Test: Confirm with manual testing

Change-Id: I6857c79ca3ce6a3619f4b7e200d7f17a8decd659
2021-05-15 06:03:01 +06:00
Nick C
0d5cde00b2
sdm660-common: rootdir: zRAM tuning 2021-05-15 06:03:01 +06:00
Ivan Vecera
5d95e4db79
sdm660-common: rootdir: do not use absolute value for ZRAM size
Redmi Note 7 has variants with 3GB as well as for 4GB RAM.
So use 50% for ZRAM size instead of current 3GB for both.
Parameter 'max_comp_streams' is obsolete and should not be set.
Kernel currently uses always num of online CPUs.

Change-Id: Ib0157c7b4ba686a9597fd33d268dace4e0171da7
2021-05-15 06:03:01 +06:00
Avinash Nalluri
6ef4460f7f
sdm660-common: Add Device Info hal vendor.qti.hardware.radio.deviceinfo@1.0
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
2021-05-15 06:03:01 +06:00
Martin
ba969f035b
sdm660-common: overlay: Add proper support for 5GHz hotspot 2021-05-15 06:03:01 +06:00
OdSazib
a4f0adc11d
sdm660-common: Remove duplicate wowlan_triggers config 2021-05-15 06:03:01 +06:00
sbwml
8a59a8ca83
sdm660-common: Update Time services blobs from LA.UM.9.2.r1-01800-SDMxx0.0 2021-05-15 06:03:01 +06:00
sbwml
b79e69464f
sdm660-common: Update WFD blobs from LA.UM.9.2.r1-01800-SDMxx0.0 2021-05-15 06:03:01 +06:00
Jabiyeff
1607e1fe49
sdm660-common: Import AdaptLaunch and some other perf
* From LA.UM.8.6.2.r1-08600-89xx.0

Test: Better app launching time

Signed-off-by: Jabiyeff <cebiyevanar@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
2021-04-18 21:59:36 +06:00
dianlujitao
3f8f243eda
sdm660-common: Decommonize touch HAL node permissions
Change-Id: Ic8caabd4a5cf458dfc2c91971247168de28a27ce
2021-04-11 09:29:14 +06:00
dianlujitao
40e44120d9
sdm660-common: Chown light nodes earlier
The hal class is essentially triggered from the boot class, so it's
possible that the HAL starts before the permissions are set, and manual
intervention was added to deal with the issue. However, we can simply
move chown to an earlier stage to avoid playing with the workflow.

Change-Id: I189b247576151f76efaf26b2d266564dc7768fba
2021-04-11 09:29:14 +06:00
Jesse Chan
f39019a41c
sdm660-common: overlay: Set fast charging indicator threshold to 10.8W
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
2021-04-10 14:29:00 +06:00
clarencelol
e2ef86d463
sdm660-common: power-libperfmgr: Add AUDIO_LAUNCH to powerhint
* Eliminate logs spamming "Hint type not present in action: AUDIO_LAUNCH"

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
2021-04-10 14:29:00 +06:00
klozz
18da3fed81
sdm660-common: Configure dext2oat for pre-optimization
As per Android 11 Dalvik configurations

    * dalvik.vm.boot-dex2oat-cpu-set: CPUs running dex2oat threads during boot time
      Use both Silver and GOLD cluster for that
    * dalvik.vm.image-dex2oat-cpu-set to build bootimage use only GOLD cluster
    * dalvik.vm.dex2oat-cpu-set CPUs running dex2oat threads after boot time,this needs to have the same threads as the  boot image compilation

Signed-off-by: klozz <klozz@vivaldi.net>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
2021-04-10 14:29:00 +06:00
Harshit Jain
b34509982f
sdm660-common: Update dex2oat config 2021-04-10 14:29:00 +06:00
Adarsh-MR
04dd705288
sdm660-common: configs: wifi: Update hostapd configs path
* softap now expects hostapd configs in /data/vendor/wifi/hostapd
  during hotspot turn on, qsap_sdk copies these configs to
  /data/vendor/wifi/hostapd/

Change-Id: I632a29483cb7b2f5e8d768680afb911fa5f4f357
Signed-off-by: Adarsh-MR <adarshmr1998@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
2021-04-10 14:29:00 +06:00
OdSazib
ef00e5f20b
sdm660-common: DeviceSettings: Import in-app Dirac
- Improve code with reference and split gain category

This reverts commits
- 471da74
- de7135d
- f6c011d

All credit goes to Stylog, this is just revert commits with few improvement

Co-authored-by: clarencelol <clarencekuiek@icloud.com>
2021-04-10 02:24:09 +06:00
Sebastiano Barezzi
973fa8d111
sdm660-common: Fix some camera denials
Change-Id: I172349433946883aa1035e91ab3ab703a96e7912
2021-04-04 12:35:05 +06:00
OdSazib
2c04fe6bde
sdm660-common: Decommmonize cnss-daemon (WiFi) 1/2 2021-04-04 12:35:05 +06:00
StyloGey
69d63ec16d
sdm660-common: Update blobs from LA.UM.8.2.r1-07500-sdm660.0
Change-Id: Ib4a8ce5c3de0fd608b49b138138a027f57009aa3
2021-04-04 12:34:54 +06:00
OdSazib
c7d2cbca99
Revert "sdm660-common: import Hotword Enrollment blobs"
- Useless stuffs which don't work at all

This reverts commit f77adb24dd.
2021-04-03 18:22:51 +06:00
OdSazib
b42fb05f29
rootdir: Disable fbe encryption except A-target/lavender 2021-04-03 18:18:38 +06:00
OdSazib
de7135d040
sdm660-common: DeviceSettings: Access dirac from device-settings
- Split preferences from audio category to avoid removing whole category upon nonexsting single preference
- Previously there were only headphone and microphone gain which were from same kernel driver and it was logical
  to remove the category when one of the preferences does not exist.
2021-04-02 02:42:13 +06:00
etahamad
f6c011d64d
sdm660-common: audio: Add standalone Dirac support 2021-04-02 01:16:05 +06:00
Alex Naidis
5d3d10b559
sdm660-common: wlan: Smarter decisions on whether to use a 2Ghz or 5Ghz AP.
- Implement a smarter system on whether to connect to the provided 2Ghz or 5Ghz network.

Change-Id: Idd41e3d9a5e2bde3ea9b4873dffc4274d1530324
2021-03-31 19:32:40 +06:00
Sultanxda
1de18d5fec
sm660-common: wlan: Relax WiFi re-association RSSI thresholds.
Change-Id: I72bc937d1b9863d61dc96d2ad2ee81f365a3c903
2021-03-31 19:32:40 +06:00
LuK1337
e063a9201c
sm660-common: wlan: Enable DFS channel scanning in P2P search.
- Fixes P2P when connected to 5GHz access point.

Change-Id: Ie94aa06e9b6be9345688a1e10caa9a62b180eb30
2021-03-31 19:32:40 +06:00
Rahul Krishna
9e6a31ceb0
sdm660-common: Disable GPU protected composition
* Causes reboot while trying to play videos on Netflix, HOOQ etc.
2021-03-31 19:32:40 +06:00
Akash
a8fc4e3fd4
sdm660-common: audio: Fix mic issues in apps like WhatsApp 2021-03-31 07:32:26 +06:00
OdSazib
24bb52ba53
sdm660-common: Switch to sdfat driver for exfat
* Switched to latest sdfat 2.4.5 in kernel
2021-03-25 05:59:26 +06:00
nazunamoe
953661eb64
sdm660-common: Update korean translations 2021-03-24 13:14:24 +06:00
OdSazib
507ebf3890
sdm660-common: Switch to wayne thermal blobs
* Required for thermal config
* Compatible with device settings
2021-03-23 01:15:59 +06:00
raiyanbinmohsin
a57bcb17d2
sdm660-common: Update libsdmcolor and libsdmextension
* from LA.UM.8.2.r1-07500-sdm660.0

Fixes night-light when using R display hal
2021-03-22 20:50:53 +06:00
Henrique Silva
79be95ced6
sdm660-common: overlay: Set Google autofill service as default
This service must be trusted, as it can be activated without
explicit consent of the user. If no autofill service with the
specified name exists on the device, autofill will be disabled
by default.

Change-Id: Ib9a8620327dfbafa41063a96f84c3aaaf4ae4899
2021-03-22 18:30:00 +06:00
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