Commit graph

45 commits

Author SHA1 Message Date
Anand S
52b5ccd4f3
sm6375-common: Add patches for qcrilNr.db and sql
* Fix it during extraction.
* Since we moved to py extract utils, adding patches does the job.

Change-Id: I7f56ecaac51abb6525c6022d92eac1c285ab0688
2025-02-01 00:38:54 +05:30
Anand S
e006c6600d
sm6375-common: Explicitly override persist.vendor.radio.poweron_opt
Change-Id: I30f05ce600a2396579396a71023472efab988abf
2025-01-19 19:53:54 +05:30
Anand S
53441d57a6
sm6375-common: Set ro.vendor.sensors.prox_for_call to true
* It seems like proximity dies randomly for some users and setting this to true fixes it somehow.
* So let's keep this enabled since it doesn't do any harm and the issue gets fixed as well.

Change-Id: I143adec5333728037b3dff04248e3bfcce02073b
2024-10-24 15:52:40 +05:30
Anand S
6fc17e3472
sm6375-common: Drop custom media volume steps
* Let's use default 15 steps.

Change-Id: I2e05167a73e251ac4c924baa938be5a4e4181610
2024-10-11 20:16:00 +05:30
Zinadin Zidan
4d56580172
sm6375-common: prop: Set false to voice.path.for.pcm.voip calls
* It fixes voip calls mic sound delays while compr_voip enabled.

Signed-off-by: Zinadin Zidan <zidan.roking@gmail.com>
Change-Id: I686a3861834f5e3a12aaa7a03fb07b7de3064ce0
Signed-off-by: Fiqri Ardyansyah <fiqri15072019@gmail.com>
2024-10-01 20:16:00 +05:30
Michael Bestas
5058e9dee2
sm6375-common: Use AOSP default Codec2/OMX ranks
debug.stagefright.ccodec=4
is the default value in frameworks.

debug.stagefright.omx_default_rank=0
was used to rank OMX SW codecs lower than OMX HW codecs
but we have removed all OMX SW codecs now.

Change-Id: Idf55ec02c2c0f4d2fa73f949cffef0d820a54570
2024-10-01 20:16:00 +05:30
Vaisakh Murali
1c66bcebc5
sm6375-common: properties: Use HintManager for HWUI
This will send HWUI timings to HintManager for better CPU scheduling.
Setting a 30% margin for CPU should heavily reduce CPU loads for HWUI and
use GPU for the rest.

Change-Id: I048ae87ac93b729181e5c51f5c72869731ecb058
2024-08-21 20:16:00 +05:30
Edwin Moquete
8c51a6a2e0
sm6375-common: Disable display refresh rate override
This got enabled by default on U, and it causes apps like
Chrome and Youtube to set the refresh rate to 30FPS when
playing some videos.

Change-Id: I649bf03d550c2b9726c7957d15ed09e455d874ec
2024-08-21 20:16:00 +05:30
Adithya R
a4e85ce01a
sm6375-common: Disable COMPRESS_VOIP in BoardConfig
To make VOIP work properly the following has to be set:

AUDIO_FEATURE_ENABLED_COMPRESS_VOIP := false in BoardConfig.mk
vendor.audio.feature.compr_voip.enable=true in vendor.prop

I have no idea why this is but setting either one of them differently results in the mic not working as it should.

Signed-off-by: Ad!thya's avatarAdithya R <gh0strider.2k18.reborn@gmail.com>
Change-Id: Ia0d9c2f7bf8527c15f6a69f60dbfc777e6fa5775
2024-08-18 20:16:00 +05:30
Anand S
a42bde7bc4
sm6375-common: Explicitly set multisim property
* Our family of devices all use dual sim slots. So let's set the prop once and for all.

Change-Id: I68be2c6c65dcc7e114823fe9f93f5444a65f4420
2024-08-16 20:16:00 +05:30
Anand S
cafc1fcde1
sm6375-common: Adjust a2dp offload cap prop with stock
Change-Id: I6a3cb667439a60c64df67ee8bc87361190a6a5c0
2024-08-14 20:16:00 +05:30
Anand S
79d7c8779b
sm6375-common: Fix bluetooth soc props
Change-Id: Ic0e1a64323005b3f1511c6b9ae5c735edb25bbcc
2024-08-14 20:16:00 +05:30
Anand S
64f7547dc9
sm6375-common: Set media.settings.xml
Change-Id: If19a18b2a91e833bab83bf8992bb8f4c5ac5253b
2024-07-28 20:16:00 +05:30
Anand S
db32b03c66
sm6375-common: Disable HDR related props
* We don't use HDR supporting displays on bangkk or fogos.

Change-Id: Ib4890bcf2fe4001876fc84a352b9eab6a199830e
2024-07-16 12:56:42 +05:30
Anand S
b1a9267f76
sm6375-common: Decommonise ro.sf.lcd_density
* Fogos uses ro.sf.lcd_density=280

Change-Id: I9858acc26b1c6f82110958f8088310701eff2978
2024-07-04 12:56:42 +05:30
Anand S
7a96a5062f
sm7325-common => sm6375-common
* All configs updated from fogos U1UG34M.23-82-2 build

Change-Id: I6750c454f2eeec53205c56f033c76443e93b44ed
2024-07-03 12:56:42 +05:30
Marc Bourgoin
8eb885e3eb sm7325-common: Fix property SELinux denials
Some of our properties were in the wrong spot or duplicated into the wrong
spot, so let's fix these denials

Example:
E init    : Do not have permissions to set 'persist.vendor.btstack.aac_frm_ctl.enabled' to 'true' in property file '/vendor/build.prop': SELinux permission check failed

Change-Id: Ifc27e35f7e8ba428d7ea37cfa7220af24100efef
2024-04-30 22:55:50 -06:00
Marc Bourgoin
8aff7f9dad sm7325-common: Don't advertise aptxadaptiver2 support
This isn't supported on AOSP BT stack

Change-Id: I64b42edaf5c252496a3f74767702c0979fa3f32f
2024-04-30 22:40:40 -06:00
Arian
2234edf6af sm7325-common: Redefine bluetooth a2dp offload capabilities
Drop unsupported aptx codecs and rank aac below aptx

Change-Id: Ic0c4cefce9f4c39b609490b124230882dec605e9
2024-04-30 22:40:40 -06:00
Edwin Moquete
c460de4e96 sm7325-common: Remove unused persist.bluetooth.a2dp_offload.cap property
This prop has no effect as of T QPR1.

See: LineageOS/android_packages_modules_Bluetooth@cf25e33

Change-Id: Ic762812dd59429d344ccc55c01bf96b0ffd6dbab
2024-04-26 22:13:51 -06:00
Andrew Hexen
7bbe2cd97f
sm7325-common: vendor.prop: remove media.settings.xml
* Already set dynamically via init and the property here is blocked by sepolicy anyways, but if one were to boot permissive this would point to a non-exist file crashing media.

Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I1951084243b7fa0f697210c353abedbae2ec86a1
2023-08-31 03:24:56 -07:00
AdarshGrewal
be665bac21 sm7325-common: Allow moto camera3 to skip stream size check
Change-Id: I0b42bc0029c068f677f8e52f3d69330e30936ba9
2023-01-04 05:41:02 +01:00
Alexander Koskovich
87b5b34a54 sm7325-common: Drop updatable GPU drivers
* Moto never wrote their own app so QCOM's is just
   a stub and this does nothing.

Change-Id: I0ec61c3b9abfa86368e6c23481d7edf5d8f6a036
2022-10-11 15:28:16 -04:00
AdarshGrewal
72de88d1bf sm7325-common: Move surface_flinger props to vendor.prop
Change-Id: I33e8a1bb0b5c175bd3ef2febe9febcc5e4c31dd5
2022-10-11 15:18:19 -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
Woody Lin
d757d6a1ad sm7325-common: Enable zygote critical window
Bug: 141948707
Change-Id: I5dc57312118b0f6d95fc9fe164363ec7e15f1b51
2022-09-29 22:21:23 -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
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
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
SGCMarkus
f2a8de29f1 sm7325-common: update to S1RG32.53-18-11
Change-Id: I4bea9b6ebe78c4fc87c89405b43bb51467575be5
2022-08-06 21:51:07 +02:00
SGCMarkus
95b667c5b9 sm8250-common -> sm7325-common 2022-03-26 23:16:05 +01:00
SGCMarkus
5404d41486 sm8250-common: set missing opengles prop
Change-Id: I3b0dd5e399138bf14b16c1c633bce912872ca288
2022-03-25 11:54:14 +01:00
SGCMarkus
bc6c1abac1 sm8250-common: set board in device tree, and add more stock props 2022-03-09 22:16:05 +01:00
SGCMarkus
05b741a6db sm8250-common: dont set ro.vendor.hw.dualsim
* this is set by motobox if needed and causes issues on single sim devices
2022-03-06 17:40:10 +01:00
SGCMarkus
ca50a49da4 sm8250-common: use moto way of setting dual sim 2022-02-20 13:04:31 +01:00
SGCMarkus
edd9e6b21e sm8250-common: import audio feature props from nio
from
6aab8124c1/properties.mk
2022-02-20 13:04:31 +01:00
dianlujitao
477f21e5c1 sm8250-common: Enable moto specific VT APIs for ims.apk
Change-Id: I9be06efcb8130efe543099a1d3a147c3c5148f1c
2022-02-19 15:28:33 +01:00
SGCMarkus
e4966ac6e7 sm8250-common: enable qspm service 2022-02-19 15:28:33 +01:00
Arvind Kumar
15bf2f2822 sm8250-common: GRF: Set soc properties
- Set soc model and manufacturer properties

Change-Id: I9ecc1cb75a415f5df147d47234fd9d8b69e1e6b5
2022-02-19 15:28:24 +01:00
SGCMarkus
802309e154 sm8250-common: add missing ril blobs
also build libcodec2_hidl@1.0.vendor and set media.settings.xml
2022-02-19 00:16:43 +01:00
SGCMarkus
a5d0fba9e9 sm8250-common: add ro.vendor.radio.imei.sv prop 2022-02-18 23:23:51 +01:00
SGCMarkus
3155670b6d sm8250-common: add common properties from RRA31.Q3-19-19 2022-02-16 23:30:51 +01:00