Cosmin Tanislav
4f164b2fd2
sm7325-common: manifest: do not declare secure element support
...
Change-Id: I81b5302cd2afe5dd31923684c0f8eda3b98109f2
2022-10-08 00:09:40 +02:00
Cosmin Tanislav
f65f648212
sm7325-common: remove light hal
...
Change-Id: I5307764a5a04b5a28f940b31759a4552cc75a0a2
2022-10-08 00:09:40 +02:00
Paul Keith
68fa5d283a
sm7325-common: livedisplay: Fix racy init
...
* It turns out moving this to class main doesn't work as well
as some had thought it would, so restore the previous logic
to use class hal, and restart if the backend isn't up yet
Change-Id: Ib8b417d89108dcf80d0d159e8d84e5327944b2a1
2022-10-07 19:38:08 +02:00
Georg Veichtlbauer
855329fc9c
sm7325-common: Drop config_setColorTransformAccelerated
...
It's now enabled by default
Change-Id: I57f059c872fc2ad2fd15e788b1391eeebaff9bde
2022-10-03 14:05:07 -04:00
Edwin Moquete
af62bb3f25
sm7325-common: Switch to legacy sepolicy_vndr
...
Change-Id: I13229c3057bf32c81b0fdace075f0791cb8ad380
2022-09-29 22:21:31 -04:00
SGCMarkus
ca570d271c
sm7325-common: gps: fix logical or in GnssAPIClient
...
Change-Id: I24b76c34e72ffde298c3117361e4aff7d715deb2
2022-09-29 22:21:30 -04:00
SGCMarkus
a0fc1b687c
sm7325-common: update gps to LA.UM.9.14.r1-20000-LAHAINA.QSSI13.0
...
Change-Id: I100b0807cce37b9f3724c74d2f0979a955d1ddd2
2022-09-29 22:21:29 -04:00
SGCMarkus
e7a9456ecd
sm7325-common: update location to LA.UM.9.14.r1-20000-LAHAINA.QSSI13.0
...
Change-Id: I1a8efd6c0bd3649de877a08b193914ba6d3d4304
2022-09-29 22:21:28 -04:00
Michael Bestas
9f3feb2522
sm7325-common: Remove persist.sys.fflag.override.settings_bluetooth_hearing_aid
...
This has been replaced by `bluetooth.profile.asha.central.enabled`
Change-Id: I0bb72ec01a77f790ebeb594e45c695e9a087dc43
2022-09-29 22:21:27 -04:00
Mohammed Mirza Mandayappurath Manzoor
ca42ad08c8
sm7325-common: ueventd: Set permissions for KGSL sysfs node
...
Some KGSL sysfs nodes need to be access controlled. Set proper
permissions for the same.
Change-Id: Idc7e2447d02742074873901c6539f2c6d9d25862
2022-09-29 22:21:26 -04:00
Nate Jiang
6f1cd98b9f
sm7325-common: wifi: Enable set channel on NDP setup
...
Bug: 190354626
Test: build, CtsVerifier
Change-Id: Ieff18b96ec0f24c1c20c40add4e47a532ece8922
2022-09-29 22:21:25 -04:00
Les Lee
1feb54b4ae
sm7325-common: wifi: Configure correct overlay configuration.
...
ag/16564596 will change default value to false.
Configure correct overlay configuration.
Bug: 212488775
Test: manual test & build
Change-Id: Iaf1a0a23dae69fde5995e591a757a8ef5374d5b5
2022-09-29 22:21:24 -04:00
Woody Lin
d757d6a1ad
sm7325-common: Enable zygote critical window
...
Bug: 141948707
Change-Id: I5dc57312118b0f6d95fc9fe164363ec7e15f1b51
2022-09-29 22:21:23 -04:00
Bruno Martins
095c667e44
sm7325-common: Migrate to AIDL ClearKey DRM HAL
...
Change-Id: Iad5cc1176978137c647069197b33f49fb4d98ab2
2022-09-29 22:21:22 -04:00
LuK1337
2bd764b4b7
sm7325-common: Pull appropriate USB props from vendor_product.mk
...
Change-Id: I93b25c5d0989c83d1c8d7b7946a083771febdddd
2022-09-29 22:21:21 -04:00
Bruno Martins
3fc54cfaf5
sm7325-common: Drop component overrides
...
This is no longer needed as of Android 13.
Change-Id: I38435c47c8781678f82014decbbae40dcab0a07b
2022-09-29 22:21:20 -04:00
eorg Veichtlbauer
b9e60887c6
sm7325-common: Move Bluetooth power config away from overlay
...
Same values go to:
- power profile xml for power calculation
- vendor props for the A13 BT stack
Change-Id: I04dbb8736a599c4798223f7e3e317b2fcc873ded
2022-09-29 22:21:19 -04:00
Bruno Martins
c798dca198
sm7325-common: overlay: Remove BT related configs
...
These have been migrated to sysprops in Android 13.
Change-Id: I34c1f6b882a61df6db95523997002512354d875e
2022-09-29 22:21:19 -04:00
Alice Kuo
a5e08a9072
sm7325-common: Disable LE audio related profiles
...
Bug: 231671426
Test: build
Change-Id: I78e2ddfc636a0fa31b977b5f9ba9a7d7bc0f2a26
Merged-In: I78e2ddfc636a0fa31b977b5f9ba9a7d7bc0f2a26
(cherry picked from commit acb0b19b8348a4b9518d2f46b1599f423f620347)
2022-09-29 22:21:18 -04:00
Sal Savage
dc88b6d933
sm7325-common: Use the ?= operator so BT properties can be overridden
...
System properties set with the "=" operator cannot be overriden. This
device is used elsewhere in the system and some of the properties need
to be overridden. The "?=" operator will use the assigned value if no
other values are assigned elsewhere, allowing for overrides.
Bug: 230638462
Test: adb shell getprop | grep bluetooth
Change-Id: Id6cd7901555edafef141bbc1bbd5e06dc3a54d0c
2022-09-29 22:21:17 -04:00
Sal Savage
5abdd4f352
sm7325-common: Set default the Bluetooth class of device
...
The class of device is a string with a list of uint8t values:
90,2,12
The meaning is as follows:
{Service Field, Major class, Minor class}
Service Field: 0x5A -> 90
Bit 17: Networking
Bit 19: Capturing
Bit 20: Object Transfer
Bit 22: Telephony
MAJOR_CLASS: 0x02 -> 2 (Phone)
MINOR_CLASS: 0x0C -> 12 (Smart Phone)
Bug: 217452259
Test: make -j; -- check that bluetooth.device.class_of_device is
correct
Change-Id: I24fd57bacbf6786a26f7079e7a6e9857dbe170d1
2022-09-29 22:21:17 -04:00
Alexander Koskovich
e2f7d31417
sm7325-common: Move BT profiles props to vendor
...
* Makes it GSI compatible
Change-Id: I8f7caf241d508af59c16482e6185c42f23f8a460
2022-09-29 22:21:16 -04:00
Sal Savage
135f390e84
sm7325-common: Update LE Audio profile properties to match spec and implementation
...
Bug: 217448211
Test: atest BluetoothInstrumentationTests
Change-Id: I9312b9b70b51603aca6da6f4081533ab73c1614d
2022-09-29 22:21:15 -04:00
Sal Savage
b93a5b7ce5
sm7325-common: Enable bluetooth profiles with product.prop
...
Bug: 217448211
Test: make -j
Change-Id: Idd7e52b7822915ed61299f1c0b29bf87ca0339fe
2022-09-29 22:21:15 -04:00
Josh Wu
a36404f913
sm7325-common: Switch BtAudio to AIDL
...
Test: m
Bug: 203490261
Change-Id: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
Merged-In: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
2022-09-29 22:21:14 -04:00
Jakub Pawlowski
19dbb0b0d2
sm7325-common: Use bluetooth.audio@2.1
...
bluetooth.audio@2.1 adds new functionalities required for Bluetooth LE
Audio development
Bug: 150670922
Change-Id: Iac2ece0c029a38fef82e81f5ba3ba491163818ef
2022-09-29 22:21:13 -04:00
SGCMarkus
e98449d472
sm7325-common: switch to developer_gsi_keys
...
Change-Id: Iad357bd7dc0b6ae15e381c23a7ddf7b86f50f14e
2022-09-29 22:21:13 -04:00
sb6596
b106d07256
sm7325-common: Decommonize hardware config keys
...
Signed-off-by: sb6596 <shubhamprince111@gmail.com>
Change-Id: Ie0e93de1817c69d214f8a2f0e99a22f24001c55b
2022-09-29 20:06:35 -06:00
Marc Bourgoin
e132be9416
sm7325-common: Drop dubai touch sepolicy
...
I don't currently see a way to modify high touch polling rate...
If in the future a way is found? We can always revert this anyways
but for now it's better to remove it instead of having a placebo
toggle that doesn't do anything.
Change-Id: I192857434edcea470601ab067eb1971c6a97874a
2022-09-29 20:05:44 -06:00
Marc Bourgoin
75dc802330
sm7325-common: Address dubai's DT2W denials
...
Change-Id: I0a0f892185eb98017aafa948d103155780954367
2022-09-25 14:58:33 -06:00
Marc Bourgoin
357641de5b
sm7325-common: Address dubai's Egistec UDFPS selinux denials
...
Change-Id: Ibfd955256d95384bda17ad5404bc269d769ae347
2022-09-25 14:58:33 -06:00
AdarshGrewal
ff204c5db2
sm7325-common: decommonize sensor's hals.conf
...
dubai needs a customized one in order to implement DT2W
Change-Id: I4a3ea00a96606cac3caaaee734382482933ec51a
2022-09-25 14:58:33 -06:00
Nolen Johnson
0d42f55a28
sm7325-common: Opt-out of Lineage charger
...
* We have our own images/animation.
Change-Id: I8ebbe920c1923d47237e1c9bce7aa3959ae37801
2022-09-20 17:46:49 +02:00
Marc Bourgoin
032a78d43f
sm7325-common: Import stock charge_only_mode
...
Change-Id: I3542bac25ac2a161a165c55cbabe93ec75c04ce8
2022-09-20 10:08:57 +02:00
Srinath Sridharan
6ad3cfa8ee
sm7325-common: Set config_sustainedPerformanceModeSupported
...
This config will support the Sustained Performance Mode.
Change-Id: Ic992ea6fd910cf679a940b273c95968f4c60adbb
2022-09-13 15:36:39 -04:00
hpnightowl
d69dcab171
sm7325-common: drop audio.a2dp.default
...
- building from here
https://github.com/LineageOS/android_build/blob/lineage-18.1/target/product/full_base.mk#L35
Change-Id: Ib71c1abd381468ec3621d60e5ca959f738f51168
2022-09-13 15:35:22 -04:00
Marc Bourgoin
42c80202bb
sm7325-common: Add missing system prefix to aptX blobs
...
Change-Id: I56b032544b31d7343501bda8205b6fbecbef04fb
2022-09-06 07:35:29 -06:00
Marc Bourgoin
6c5b1baa76
sm7325-common: Drop liboemcrypto blob
...
Unfortunately even though both berlin and dubai show Widevine L1 status?
It doesn't work. Apps like Netflix fail to load.
logcat shows errors such as:
E WVCdm : [device_files.cpp(1111):RetrieveHashedFile] File does not exist: path = /data/vendor/mediadrm/IDM1013/L1/cert.bin
W WVCdm : [device_files.cpp(144):RetrieveCertificate] Unable to retrieve certificate file
So DRM keys probably got wiped upon bootloader unlock as even stock ROM
this same behavior happens.
Change-Id: I080a52895385e32c774c455c8cc17c3eb6d5b216
2022-09-06 07:35:21 -06:00
dianlujitao
3605aa48b1
sm7325-common: Ensure multisim property gets set at early stage
...
Change-Id: I8066dbd0a466f008ec1ce3144b76922fe1b7e750
2022-09-03 12:27:22 -06:00
Nolen Johnson
a614dab9d5
sm7325-common: Update to S1RGS32.53-18-22-2
...
Change-Id: I3f0e4f51e33073ba902c93981ed7e5c7bad75d38
2022-09-01 17:45:55 -04:00
SGCMarkus
3941b30240
sm7325-common: add back ipa_fws.rc
...
was lost in 22f71828454261019a59ce84b0df52646be01650
Change-Id: I2606c78223779d210dede036f7f5d45510e8fae6
2022-08-28 11:11:58 +02:00
Jimmy Chen
52791ba7c5
sm7325-common: Move WiFi supplicant service definition to dedicated RC
...
Change-Id: I7c448ecb511a738903ebe3702fefdf2cb13c3be3
2022-08-28 10:48:45 +02:00
SGCMarkus
22f7182845
sm7325-common: dont ship ipa firmware
...
A missmatch of ipa firmware and modem is known to have caused
bricked devices in the past. The modem partition itself already
provides the matching ipa firmware, and it will be loaded if
the copy in /venndor/firmware does not exist.
Change-Id: I30344dc7c6230d38d190dd46436451903a3a7582
2022-08-28 10:38:41 +02:00
Daniel Rosenberg
26c6ab6578
sm7325-common: Enable casefolding support on userdata
...
This enables casefolding, which is required for removal of sdcardfs.
Test: Wipe data and boot. lsattr /data/media, check for +F
Bug: 138322712
Change-Id: I020aa6bb9c121e7bda83c07bc9fb37dcfa26702c
2022-08-27 23:42:32 -06:00
Marc Bourgoin
27a8c002ce
sm7325-common: Address dubai's vibrator denials
...
Example:
I auditd : type=1400 audit(0.0:18): avc: denied { open } for comm="vendor.qti.hard" path="/sys/devices/platform/soc/990000.i2c/i2c-1/1-005a/leds/vibrator/activate" dev="sysfs" ino=93558 scontext=u:r:hal_vibrator_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file
Change-Id: Iea46e718f4e2c1ed3b3037dcfecb4536fd47ef2d
2022-08-27 12:01:35 -06:00
Benergy Meenan Ravuri
c84960faef
sm7325-common: gpt-utils: Do fsync after writing partition entries
...
Do fsync after writing partition entries to ensure data
is actually written before rebooting device.
Change-Id: I09659cab247fe280dc608e30a88d912034cbc01a
2022-08-26 04:02:24 -06:00
Marc Bourgoin
219c25e9e1
sm7325-common: Adapt to virtual A/B
...
dubai is virtual A/B where-as berlin is not
Based on the logic from
https://github.com/LineageOS/android_device_xiaomi_sm8250-common
Change-Id: Ibadfd452365c799b290d32fd5afabc046b9f9c41
2022-08-26 04:02:24 -06:00
Marc Bourgoin
1b8366b8c7
sm7325-common: Decommonize some some audio and blobs
...
These audio and blobs differ between what berlin and dubai each have
Change-Id: I30dbfdb8a0872bc439ae0f52d72ba84794b1ca26
2022-08-26 04:02:21 -06:00
SGCMarkus
b07ea4d7ae
sm7325-common: sepolicy: allow init.oem.hw to log into kmsg
...
Change-Id: Ib7c73cd1ff18b800c791c322e4960dd94b9bc702
2022-08-13 19:42:43 +02:00
SGCMarkus
3fcf389bfc
sm7325-common: go enforcing
...
Change-Id: I3f059c797eb9a0dcffa3dc7627c35a3622ecc342
2022-08-12 20:18:49 +02:00