Commit graph

34 commits

Author SHA1 Message Date
Tommy Webb
24fbcb1c9f sm6225-common: Specify vendor.usb.controller
Specify this so that USB can be properly brought back online via HAL.

It was already specified in these locations:
- device/motorola/sm6225-common/rootdir/etc/init.target.rc
  But this apparently isn't early enough in the boot process.
- vendor/qcom/opensource/usb/vendor_product.mk
  But this apparently isn't included and doesn't take effect.

As a result, vendor/qcom/opensource/usb/hal/Usb.cpp would use its
fallback value of a600000.dwc3, which is not correct.

Issue: calyxos#2154
Change-Id: I3f10cb8d902281b3cd06e8c2b51bdf60bb57742e
2024-03-22 12:10:00 +00:00
Tommy Webb
4015802443 sm6225-common: Specify vendor.usb.device
Needed to restrict USB properly.

Change-Id: I4fc97c4a0be7a96c89d674bcde613ccf83d1c336
2024-01-10 19:32:49 +00:00
Alessio Balsini
8676a9d3a9
sm6225-common: Use FUSE passthrough by default
Enable the persist.sys.fuse.passthrough.enable flag for the device
configuration to enable the FUSE passthrough feature.
This feature has been enabled on Cuttlefish, Wembley and Redbull devices for
months and no issues have been detected yet.

Bug: 168023149
Test: 'adb shell getprop | grep persist.sys.fuse.passthrough.enable',
    ScopedStorageTest
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: I3f39b02af436f7e508bb70efc702565a667a051c
2024-01-05 11:47:18 +02:00
Michael Bestas
e94986d22b
sm6225-common: Update properties to devon_g T2SN33.73-22-3
Change-Id: I05235b8b3dc739882620b164db12b21a178228d1
2024-01-05 11:41:06 +02:00
Michael Bestas
8994b5f1dd
sm6225-common: Move some properties to system_ext
Change-Id: Id9313e3c4db43a4c1bece7b0a61ebb3aada5c367
2023-11-29 17:03:39 +02:00
Adithya R
2b0a0dd223
sm6225-common: Switch to full IWLAN mode
[basamaryan: This is needed to fix RIL on Android U]

Signed-off-by: basamaryan <basam.aryan@gmail.com>
Change-Id: Ie3fa610f71077b4ee2af1b4d57bd0c30b34f30fa
2023-11-22 19:57:50 +02:00
LuK1337
4b0fcbf205 sm6225-common: Drop SSR services and set SSR restart_level in init.qcom.rc
Change-Id: I32fc08c9ad36b9c8ebfc019fc87a19eece18f0b4
2023-07-26 23:33:02 +05:30
Dhina17
9dc278ccd0 sm6225-common: Re-enable fluence for speaker
First, It was enabled by 10e1bc345d
to sync with CodeLinaro and fixed incall speaker volume control.

Later, It was disabled by a3f3ca2931 again
accidently.

So, re-enable it again.

Change-Id: I0adf0171772f073487cb5e3f71538faf65394039
2023-07-09 22:27:01 +05:30
Michael Bestas
60bdeb52e0
sm6225-common: Add missing aptX offload cap
Change-Id: I9a4d0df0054b7db2d7b7b2bbfc8192c5dab140ed
2023-06-16 21:39:02 +03:00
Michael Bestas
45c190c26d
sm6225-common: Decommonize some fluence props
Change-Id: I715411da6e957235bd46ae0a1ae1174e7fe1a4a3
2023-06-01 16:19:07 +03:00
Bruno Martins
a95b95eb99 sm6225-common: Only ship with disabled A2DP offload configuration
A2DP hardware offload is broken since A13 QPR1 merge.

Change-Id: Idca3373669e28a0afd627daa79ebb0254abb5c74
2023-05-20 03:52:02 +05:30
Michael Bestas
e170a64038
sm6225-common: Match stock ZRAM setup
Change-Id: I60539698fbeb6ba29f96ec6f8e68c778f999d701
2023-05-19 04:20:33 +03:00
Michael Bestas
a4f78a14ef
sm6225-common: Set up dalvik according to stock configuration
Based on init.mmi.product.rc

Change-Id: I5bd4a19a2a880189b9c28780ff343d1b9e508a80
2023-05-19 04:20:33 +03:00
Michael Bestas
8e1d912a3b
sm6225-common: Add FM blobs & build FM
Change-Id: I471a00dff44e8fb90e65b3f506a899e65c94d62f
2023-05-19 04:20:33 +03:00
Michael Bestas
409f677777
sm6225-common: Decommonize some more properties
Change-Id: I308e9a76e5de4282ea6f83fe9b48da1abe85ceee
2023-05-07 01:03:32 +03:00
Michael Bestas
ee4c7c0223
sm6225-common: Decommonize surfaceflinger properties
Change-Id: I4eeacd25083bcbd5d9f5efeaed70eead3818e8de
2023-04-25 03:54:52 +03:00
Michael Bestas
afd5e10120
sm6225-common: Remove persist.demo.hdmirotationlock
It defaults to false

Change-Id: I3514e01860c0fef7b1fb1da2d6302740a89244d2
2023-04-24 18:43:29 +03:00
Pullakavi Srinivas
57a6a46bbc
sm6225-common: hwc: Disable SF composition prediction model.
CRs-Fixed: 3243885
Change-Id: I64f82a25768b561bb343fdb7686b7d6c020d024a
2023-04-24 18:36:50 +03:00
Michael Bestas
33e01f258b
sm6225-common: Set missing audio properties
Change-Id: Idef3be90e146180bec51318f53b2b83c6d7dc36a
2023-04-20 21:39:55 +03:00
Michael Bestas
d24cb26618
sm6225-common: Remove unsupported A2DP offload codecs
These codecs don't work with the AOSP BT stack

Change-Id: If7dd128362480bfd841deab6800f4f36be4990d4
2023-04-20 19:15:58 +03:00
Edwin Moquete
11b9d8ec42
sm6225-common: Re-enable bluetooth AAC frame control
This prop was removed while switching to the AOSP BT stack,
which seems to cause issues with some AAC headphones.

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/5381
Change-Id: I384df444be353475458ab156e4ec09542e23388a
2023-04-20 19:14:51 +03:00
Michael Bestas
dd73d8c021
sm6225-common: Set persist.vendor.qcom.bluetooth.scram.enabled=true
Fixes SBC/AAC A2DP offload

Change-Id: I8b025e3f61e0f8ad951bd98b88d5307f65191730
2023-04-20 19:13:12 +03:00
Michael Bestas
5cb5a1a942
sm6225-common: Move properties around
* Move whatever makes sense to vendor
* Eliminate system.prop

Change-Id: I2fd914463fec036b09ca673dfa2f72ff1992ca87
2023-04-20 19:12:32 +03:00
Michael Bestas
a3f3ca2931
sm6225-common: Update properties
* Remove properties that are same as defaults
* Add missing properties from stock
* Correct some properties from stock

Change-Id: I9ee3b8c1760e33b14a1b8a81a99c80ade35cdfd2
2023-04-20 19:12:28 +03:00
Michael Bestas
c8c5c3db01
sm6225-common: Sort properties
Change-Id: Ifd699f4be39f62e357621b4d3e892fc9589dd02a
2023-04-20 18:28:20 +03:00
Alexander Koskovich
da8595804a
sm6225-common: Move BT profiles props to vendor
* Makes it GSI compatible

Change-Id: I8f7caf241d508af59c16482e6185c42f23f8a460
2023-04-14 05:18:18 +03:00
LuK1337
ffcbe8280d
sm6225-common: Pull appropriate USB props from vendor_product.mk
Change-Id: I93b25c5d0989c83d1c8d7b7946a083771febdddd
2023-04-14 05:07:52 +03:00
Woody Lin
db230330f9
sm6225-common: Enable zygote critical window
Bug: 141948707
Change-Id: I5dc57312118b0f6d95fc9fe164363ec7e15f1b51
2023-04-14 05:05:22 +03:00
Michael Bestas
7e41610385
sm6225-common: Disable ramdumps
This should not be enabled in production builds.
Also resolves SELinux denials.

Change-Id: Idcfe7301a96d5831c61c02e5f5f448cd46a9481b
2023-04-14 05:01:56 +03:00
LuK1337
fad5eb3a61 sm6225-common: Add debug IMS props to workaround CarrierConfig restrictions
We support IMS features on carriers not listed in the CarrierConfig,
so let's use the props to enable it everywhere.

Change-Id: Id3ad71d522a22048f7ad86d89695ad262361632d
2023-04-09 01:09:24 +05:30
Dhina17
10e1bc345d sm6225-common: Update fluence props from CodeLinaro
- Fixes incall speaker volume control.

Change-Id: I35162609a3bbbe6145c4b8165fc8b509798a485c
2023-04-09 01:09:24 +05:30
Dhina17
078d4709ba sm6225-common: Import audio runtime features props from CodeLinaro
Change-Id: Ia1947480cbad2f1e29c0ab9cd13f39d0fecd45cb
2023-04-09 01:09:24 +05:30
Weiyin Jiang
b3e4dc6e03 sm6225-common: add voice multi session property
Add voice multi sessoin property.

CRs-Fixed: 2489604
Change-Id: Ib906db560268a4c9e183747896130522b45d6566
2023-04-09 01:09:24 +05:30
Dhina17
dddfe6b32a sm6225-common: Import initial properties
Change-Id: I589704358b06b08000eac3e638bc628091f9fbb6
2023-03-30 22:51:57 +05:30