Commit graph

4829 commits

Author SHA1 Message Date
pix106
e78038caae
sdm660-common: join common and ir proprietary-files.txt 2024-05-10 13:57:36 +03:00
pix106
54c4209b40
sdm660-common: Update DPM, Media, QMI, IMS blobs from LA.QSSI.14.0.r1-12000-qssi.0 2024-05-10 13:57:26 +03:00
Jyotiraditya Panda
667bfe89fb
sdm660-common: DeviceSettings: Refactor ClearSpeakerFragment code
- Removed unused imports
 - Proper resource release by using try-finally block
 - Added null checks for MediaPlayer methods
 - Remove audio parameter as its unused

Change-Id: I7dc2ba7baf6e0193e13583a7454da296254d7333
Signed-off-by: Jyotiraditya Panda <jyotiraditya@aospa.co>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2024-05-10 13:57:16 +03:00
Volodymyr Zhdanov
dbb6cddf41
sdm660-common: DeviceSettings: Fix Clear Speaker IllegalStateException
* trace:
  E AndroidRuntime: java.lang.IllegalStateException
  E AndroidRuntime: 	at android.media.MediaPlayer._stop(Native Method)
  E AndroidRuntime: 	at android.media.MediaPlayer.stop(MediaPlayer.java:1397)

* also do small refactoring while at it

Former-commit-id: 98f1335384a6b534becf87ad54333f737de9e15e
Signed-off-by: Joey Huab <joey@evolution-x.org>
2024-05-10 13:57:00 +03:00
Alvin Francis
7b224410e5
sdm660-common: overlay: Do not allow backup of overlays
Change-Id: I3b9c7e603ba619c95293b38bb58dc49f4f8b5974
2024-05-10 13:56:39 +03:00
xboxfanj
45a189e079
sdm660-common: overlay: Move rro packages to vendor partition
In Android 14, prioritization of partitions is emphasized, diverging
from previous versions where priorities were respected universally.
Overlay precedence now plays a critical role, with the following
partition order dictating overlay precedence:

 - system
 - vendor
 - odm
 - oem
 - product
 - system_ext

When multiple overlays contend for the same resources, the order of
overlays becomes crucial. An overlay takes precedence over others if it
has configurations following its own. This prioritization, while
impactful for GSI compatibility, is essential for maintaining order and
functionality.

* (pix106) Only WifiOverlay packages did not have vendor explicitely defined

Change-Id: I8b7568dcc418dbbd1ccb39e2d0dc66504f19fcdd
2024-05-10 13:56:27 +03:00
Martin Liu
3408b8155d
sdm660-common: rootdir: Set readahead_size_kb=128 to partitions
To avoid memory pressure

Bug: 181567573
Test: check readahead size
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I0ef6456a96ef923fe681112560d2f49c514ff529
2024-05-10 13:56:18 +03:00
Edwin Moquete
5120925325
sdm660-common: properties: Disable frame rate override feature
This is enabled by default on U, and it causes apps like
Chrome and YouTube to render the frame rate at 30FPS when
playing some videos.

Change-Id: I649bf03d550c2b9726c7957d15ed09e455d874ec
Signed-off-by: clarencelol <clarencekuiek@proton.me>
Signed-off-by: pix106 <sbordenave@gmail.com>
2024-05-10 13:55:54 +03:00
Sebastiano Barezzi
e0e2d57600
sdm660-common: Use the fragment for QTI vibrator HAL 2024-05-10 13:55:35 +03:00
pix106
ce0f90f70a
sdm660-common: displayconfig: Add brightness ramp rate
This reverts commit c4f9a89b6e.
2024-05-10 13:55:21 +03:00
Martin Štrobl
9de8338285
sdm660-common: Cleanup makefile for EPPE enforcement
Signed-off-by: pix106 <sbordenave@gmail.com>
2024-05-10 13:54:59 +03:00
ahmedhridoy371
d4ae94bfa1
sdm660-common: drop HotwordEnrollment blobs 2024-02-13 10:30:33 +02:00
5df445ca3a
sdm660-common: Rename WifiOverlay -> SDM660WifiOverlay 2024-02-13 10:20:07 +02:00
c12339040e
Revert "sdm660-common: Build graphics.allocator@3.0 and @4.0"
This reverts commit 8f1fbab141.
2024-02-13 10:18:20 +02:00
Duc Le
d86b0b7e89
sdm660-common: rootdir: Bump zram size to 75%
Signed-off-by: pix106 <sbordenave@gmail.com>
2024-02-09 09:55:27 +02:00
pix106
8c0db09a36
Revert "sdm660-common: Use stock poweroff charging animation"
This reverts commit 9492d1fa58.
2024-02-09 09:55:12 +02:00
pix106
1c8b50d7b0
sdm660-common: Audio, ANT+, CNE, DPM, Graphics, IMS, Radio blobs from LA.QSSI.14.0.r1-11100-qssi.0 2024-02-09 09:54:54 +02:00
Alcatraz323
8f534a7b82
sdm660-common: proprietaries: update Audio, AudioFX, ANT+, CNE, DPM, Graphics, IMS, Listen, QMI, Radio blobs
* from LA.QSSI.14.0.r1-10000.01-qssi.0
2024-02-09 09:54:46 +02:00
pix106
47c49a828f
FIX sdm660-common: update asdp, audio, csdp, listen and media from from LA.QSSI.13.0.r1-10000.02-qssi.0 2024-02-09 09:54:31 +02:00
Martin Liu
a662638993
sdm660-common: adjust zram write back policy
The first default zram write back time is 3 hours which
is for go device to quickly save more ram. For Pixel
devices, we have more working set and could bring launch
time impact if we write back too fast. Thus, adjust the
first time write back time to 24 hours which is aligned
with periodic write back time.

Bug: 166739872
Test: boot
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: If1398bc44db0619cf2e2be87d4813972c0454dba
Signed-off-by: pix106 <sbordenave@gmail.com>
2024-02-09 09:54:06 +02:00
Minchan Kim
ee99b60a37
sdm660-common: Enable zram writeback job scheduler
Bug: 140882488
Change-Id: I5489a7ce7a8d73306a6ecf69f57d338b2b0eaad2
Signed-off-by: Minchan Kim <minchan@google.com>
2024-02-09 09:53:51 +02:00
clarencelol
6048a9b491 sdm660-common: rootdir: Disable zram dedup
* Done via the kernel, forgot the line exists in DT as well

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2024-01-14 17:30:38 +01:00
pix106
7841576d62 sdm660-common: rro_overlay: rename all overlays to avoid conflicts 2024-01-14 17:19:23 +01:00
LuK1337
3e6db0abc2 sdm660-common: rootdir: set swappiness to 60 2024-01-14 17:19:23 +01:00
pix106
67049d9fe6 sdm660-common: DeviceSettings: Thermal profiles french translation 2024-01-14 17:19:23 +01:00
Max Weffers
4c9dac421a sdm660-common: sepolicy: Grant XiaomiParts access to thermal file
Signed-off-by: pix106 <sbordenave@gmail.com>
2024-01-14 17:19:23 +01:00
pix106
2075a54b27 Revert "sdm660-common: DeviceSettings: Nuke thermal settings"
This reverts commit c455b70f97.
2024-01-14 17:19:23 +01:00
Sabar
964f9afff1 sdm660-common: sepolicy: Adjust sepolicy for qti thermal
Co-Authored-By: Clarence K <clarencekuiek@proton.me>
2024-01-14 17:19:23 +01:00
Sabar
cc7186d635 sdm660-common: Switch to QTI Thermal HAL 2024-01-14 17:19:23 +01:00
LuK1337
119e127a3e sdm660-common: sepolicy: isolated_app -> isolated_app_all
Change-Id: I10b09afe41b927875d1f7c37d6fc18b75ae1250a
    Signed-off-by: Immanuel Raj <iamimmanuelraj@gmail.com>
2024-01-14 17:19:23 +01:00
Sabar
eb568ef5cf sdm660-common: folio_daemon: update from wahoo android11-release
Co-Authored-By: Albert Xu <19632674+1582130940@users.noreply.github.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2024-01-14 17:19:23 +01:00
Danny Lin
ad3553044c sdm660-common: Increase 5 GHz network signal tolerance
On devices with cellular data available, I've been experiencing Wi-Fi
dropouts on 5 GHz networks where it disconnects and falls back to
cellular data around a RSSI of -77 dBm. While the Wi-Fi quality may not
be ideal at this signal level, it is still better to stay on it than
switch to cellular data because switching networks can be very
disruptive to the user.

To make matters worse, the signal tends to oscillate around -77 dBm in
my case, which causes it to oscillate between Wi-Fi and cellular data
every few seconds. This causes far more disruptions than staying on weak
Wi-Fi would.

These signal levels were measured empirically on a Pixel 5, but they
should apply to most devices. 2.4 GHz values were found to be more or
less accurate, but 5 GHz networks continued to work past the AOSP
thresholds. The iPhone 6s was also content with these signal levels and
still displayed 2 of 3 signal levels at -77 dBm.

Change-Id: I377be8374955530a5f6c084620460cac87e6a126
Signed-off-by: pix106 <sbordenave@gmail.com>
2024-01-14 17:19:23 +01:00
Alcatraz323
c7ebb79d32 sdm660-common: properties: set ro.boot.wificountrycode to enable the 5g hotspot toggle
* In settings, it called "extends capatibility"
* packages/apps/Settings/src/com/android/settings/wifi/tether/WifiTetherMaximizeCompatibilityPreferenceController.java#L76 private boolean is5GhzBandSupported();

Signed-off-by: pix106 <sbordenave@gmail.com>
2024-01-14 17:19:23 +01:00
Alcatraz323
bee7b028c0 sdm660-common: follow kernel ap max count
* gSoftApMaxPeers is not set in WCNSS_qcom-cfg.ini
* As kernel define it default 32 in drivers/staging/qcacld-3.0/components/mlme/dispatcher/inc/cfg_mlme_sap.h, make system settings same

Signed-off-by: pix106 <sbordenave@gmail.com>
2024-01-14 17:19:23 +01:00
Nolen Johnson
25563901ca sdm660-common: Stop building neuralnetworks
* We never should have, slipped in with 13 bringup.

Change-Id: I7940f5144f5a082837cff359a0e9f0e558b73a61
Signed-off-by: pix106 <sbordenave@gmail.com>
2024-01-14 17:19:23 +01:00
pix106
32c332215a sdm660-common: props: Set persist.vendor.qcom.bluetooth.scram.enabled=true
This reverts commit eb07a27752af9daf0b80d7b04ce4cb38d9af832c.
2024-01-14 17:19:23 +01:00
me-cafebabe
44409754f3 sdm660-common: props: Disable Bluetooth APCF Extended features
* Yet another disablement we need, to have bluetooth working properly on A13 (QPR2)

Change-Id: Id3889d6310bac6d417ff2871d5e4a8c513e77354
Signed-off-by: pix106 <sbordenave@gmail.com>
2024-01-14 17:19:23 +01:00
Nolen Johnson
319eec3cee sdm660-common: Drop unecessary Bluetooth flags
* BOARD_HAVE_BLUETOOTH is uneeded.
* BOARD_HAVE_BLUETOOTH_QCOM is only important if
  you build libbt-vendor which we don't.

Change-Id: Ib0465b3c0d5138a70cee6a3c3d5f08dd7ce9aa57
Signed-off-by: pix106 <sbordenave@gmail.com>
2024-01-14 17:19:23 +01:00
pix106
44626d367c Revert "sdm660-common: Ship older libhidlbase.so for fingerprint blobs"
This reverts commit 4ea2d831af3f85911055937cc837540552d6a5c8.
2024-01-14 17:19:23 +01:00
Chenyang Zhong
d19ed7ad06 sdm660-common: sepolicy: allow rild to call qtidataservices_app
avc: denied { call } for comm="DataModule-Loop" scontext=u:r:rild:s0 tcontext=u:r:qtidataservices_app:s0:c221,c256,c512,c768 tclass=binder permissive=0
Change-Id: Ibec0d6e78a823f3a90ec7e166f58dd6b2797db65
Signed-off-by: pix106 <sbordenave@gmail.com>
2024-01-14 17:19:21 +01:00
Adithya R
f907d9c71f sdm660-common: Switch to full IWLAN mode
[basamaryan: This is needed for Android U to fix RIL]

Signed-off-by: basamaryan <basam.aryan@gmail.com>
Change-Id: Ie3fa610f71077b4ee2af1b4d57bd0c30b34f30fa
Signed-off-by: pix106 <sbordenave@gmail.com>
2024-01-14 17:18:54 +01:00
Lucchetto
6a3b5a8c5c sdm660-common: Ship older libhidlbase.so for fingerprint blobs
_ZN7android8hardware7details17gBnConstructorMapE symbol have been removed on Android 13

Signed-off-by: pix106 <sbordenave@gmail.com>
2024-01-14 17:18:54 +01:00
pix106
fbb62f1208 sdm660-common: build libprotobuf-cpp-lite-3.9.1-vendorcompat 2024-01-14 17:18:54 +01:00
pix106
03e68bd566 sdm660-common: build libstdc++_vendor
A14 dropped libstdc++.vendor
2024-01-14 17:18:54 +01:00
adi8900
bb1d6af52a sdm660-common: Switch to Wifi service AIDL
Change-Id: I5a2864b4159b7815eff4dd2f0de02a3dabbacfa5

Signed-off-by: pix106 <sbordenave@gmail.com>
2024-01-14 17:18:54 +01:00
pix106
48d5c1cc61 sdm660-common: folio_daemon: adapt to Android 14
replace ALooper_pollAll with ALooper_pollOnce :

 * Removed in API 34 as ALooper_pollAll can swallow ALooper_wake calls.
 * Use ALooper_pollOnce instead.
2024-01-14 17:18:54 +01:00
pix106
f5a6784000 sdm660-common: fstab_A.qcom: mount system as /system 2024-01-14 17:18:54 +01:00
pix106
ad6391df93 sdm660-common: sepolicy: Drop iorapd_data_file type 2024-01-14 17:18:54 +01:00
pix106
30debb8651 Revert "sdm660-common: sepolicy: Allow system_server to set tethering properties"
This reverts commit 6a0750c77e.
2024-01-14 17:18:54 +01:00
Alcatraz323
c6e458cf31 sdm660-common: sepolicy: don't do anything on untrusted_app
Add untrusted_app_32
2024-01-14 17:18:54 +01:00