Commit graph

55 commits

Author SHA1 Message Date
LuK1337
fdd6de8d14 dre: Disallow aux cam usage for Telegram / Telegram X
These seem to misbehave when they reach certain camera IDs.

Change-Id: Ib07269215d76a09bf5b305bfb6ae9b84f5c5a7d3
2022-11-06 17:11:02 -06:00
Alexander Koskovich
0edc4e9c42 dre: Drop unused audio properties
* ro.vendor.audio.sdk.ssr: False is default
   vendor.audio.enable.mirrorlink: Unused in AOSP
   vendor.audio.safx.pbe.enabled: False is default

Change-Id: If30194f5bcd4f69edf7ac43fe3725db4fe9b3da1
2022-11-06 17:11:02 -06:00
Alexander Koskovich
f651152569 dre: Move oplus specific properties to /odm
* Easier to track changes if we know everything in
   vendor.prop is from QCOM.

Change-Id: I02e65c4d4e4df344672fb4c04cf7ccace3b07b60
2022-11-06 17:11:02 -06:00
Alexander Koskovich
8a48076979 dre: Disable WiFi Aware & RTT for unsupported target
* Lahaina is supposed to be a supported target, but
   some CTS tests fail. Oplus also disables these in
   OOS.

Change-Id: I5921e0f4ecb2140a5610059bdd16cc6e99d7d725
2022-11-06 17:11:02 -06:00
Pratham Pratap
6dba679fe2 dre: Set sys.usb.mtp.batchcancel for MTP over FFS
* Currently, cancelEvents in MTP will cancel the requests one by
   one, and it will check each response to confirm success or
   failure. However, if kernel usb controller driver got the
   cancel request, the driver will handle all requests in the same
   endpoint so that the second io_cancel in cancelEvents will be
   useless causing the cancelEvents to return error and fail the
   transfer.

 * Fix this by setting sys.usb.mtp.batchcancel for the targets
   using MTP over FFS.

Change-Id: Icea9a2815c79ff710ee887d02e4c99dfe5ad6361
2022-11-06 17:11:02 -06:00
Alexander Koskovich
e34cc81234 dre: Drop vendor.media.vpp.oplus.version
* Used by system_ext/lib64/liboplusstagefright.so
   and Oplus' surfaceflinger, neither of which we
   have.

Change-Id: Id04538d5c7ed3424fbb8aab9031aa929c7e2fe01
2022-11-06 17:11:02 -06:00
Alexander Koskovich
433a1d18eb dre: Drop implied Bluetooth properties
Change-Id: Ibf99eb0a1cfec92b849403db710df3239e1de203
2022-11-06 17:11:02 -06:00
Vishalcj17
e7b7c5a976 dre: Steal SurfaceFlinger offsets from taro
* Before:
   Jitter: 0.6ms
   Total duration: 7.1ms

 * After:
   Jitter: 0.3ms
   Total duration: 6.4ms

Change-Id: I878eb5cd7acb1fa322b28fce61ea59d8bfa47932
2022-10-11 08:31:24 -05:00
Alexander Koskovich
8e8185245e dre: Sync display properties with holi
* Remove properties that aren't referenced anywhere
   and ones where the value is the default.

Change-Id: I0b68179c7d8d32ca5bde0b959e57e2146b8537a3
2022-10-11 08:31:24 -05:00
Alexander Koskovich
426a9e28f5 dre: Remove radio properties where the value is the default
Change-Id: I46a4fd1bc358fa7503a470054e8c6cd14ccfd1c0
2022-10-11 08:31:24 -05:00
Alexander Koskovich
89c8af1e55 dre: Remove ro.com.android.dataroaming override
* build/make/target/product/full_base_telephony.mk
   24:    ro.com.android.dataroaming?=true

 * system_ext/etc/build.prop:ro.com.android.dataroaming=false
   vendor/build.prop:ro.com.android.dataroaming=true

   In QSSI builds the partition priority is: odm, vendor,
   product, system_ext, system.

Change-Id: Ia90d73ce62a156e4b88731cffd4d5f7a6dd795e6
2022-10-11 08:31:24 -05:00
Alexander Koskovich
73bd7212e4 dre: Drop QSPM vendor property
* Only used in system_ext libraries that we don't include.

Change-Id: I5ddcb48558df9b396cf4753aca9044978d3ddcb5
2022-10-11 08:31:24 -05:00
Alexander Koskovich
45d6b0b943 dre: Drop PASR properties
* vendor.power.pasr.enabled is unused and vendor.pasr.activemode.enabled
   is only used on property:vendor.pasr.enabled=true, which isn't the
   case since we disable memory hotplugging kernel.

verify_pasr_support()
{
         if [ -d /sys/kernel/mem-offline ]; then
                setprop vendor.pasr.enabled true
         fi
}

Change-Id: I73145cb15bd970eaec3bd96f87a48c44e3115a3b
2022-10-11 08:31:24 -05:00
Alexander Koskovich
13c31dcd58 dre: Drop shutdown wait time property
* Can't find anything that uses it.

Change-Id: I146158a8f37fb888a3ae88e5241ab68f62d69194
2022-10-11 08:31:24 -05:00
Alexander Koskovich
b2de3cc369 dre: Drop vendor camera properties
* Unused, at least for us.

Change-Id: Icf0f599db2ed1d19be2a93f3ee362686333a2792
2022-10-11 08:31:24 -05:00
Alexander Koskovich
5a36ce2a00 dre: Sync audio properties with QSSI & MANNAR
* Remove all values that are assumed false.

Change-Id: I8885cb0af27c66aabdc4b2561e0eef48c60220cd
2022-10-11 08:31:24 -05:00
Alexander Koskovich
a99a36b875 dre: Move properties to their respective partitions
* They don't have permission to be set otherwise.

Change-Id: I63aa83d0ff316c5fe0c90df85f0951c4d3a19e06
2022-10-11 08:31:23 -05:00
Alexander Koskovich
4f1bc6a399 dre: Sync properties with OOS
Change-Id: I7b53d83d9acd46fd91f842f552338952a95f86d3
2022-10-11 08:31:23 -05:00
Albert Tang
aa5a3c68d7 dre: Enable automatic refresh rate switching
Change-Id: Idfed67ca24da746207e911ebb80e5c2e0481b5dc
2022-06-13 10:36:54 -05:00
Albert Tang
0246645893 dre: Move SurfaceFlinger properties to vendor.prop
Change-Id: I6a7aff873e528ad3bcd859547492694de142f605
2022-06-13 10:36:54 -05:00
Albert Tang
2f13abf6d5 dre: Set voice call volume steps to 9
Change-Id: I3ae8d2466aaaa563b2aa10e3675608bc68976591
2022-06-10 22:30:12 -05:00
Alexander Koskovich
845d1950c9 dre: Disable QCOM system daemon
* For factory use only and has real performance costs.

Change-Id: I2d25c28c2ba146fa4464cb49f02ead6a6d787b48
2022-06-10 22:30:12 -05:00
Albert Tang
2e43ab76f9 dre: Sync properties with OOS 11.0.6.0.DE17AA
Change-Id: I5a95e81a3baa4d3b7acd7b538796298565c01dfd
2022-06-06 21:01:30 -05:00
Albert Tang
35633e4a49 dre: Drop ro.gfx.driver
Neither of these exist in stock OOS.

Change-Id: Id37646e1c357b23782606acd6fb17eb5b034c2a2
2022-06-05 18:26:10 -05:00
Albert Tang
620d3be334 dre: Initial device tree conversion and decommonization
Added properties taken from lemonade and modified for dre.

Change-Id: Ibac1a345547184d7dc6e231ce9b867c457d6b576
2022-06-01 22:09:03 -05:00
Alexander Koskovich
1c3cd134a6 sm8350-common: Drop some unused properties
Change-Id: Ice71640f911be4146720d2df6fd2d29a9eb48021
2022-04-13 18:13:43 +01:00
Wilson Sung
04d89ff9cd sm8350-common: Set SOC manufacturer and chipset properties
Bug: 158284209
Bug: 180589452
Change-Id: I9be67a1a78ab1d3b4a0e717fb3381458eb4996da
2022-02-21 20:54:40 +00:00
LuK1337
17656ebff5 sm8350-common: Force DSDS rather than SSSS
This allows users to setprop dsds on a single SIM device without it
getting reset back to ssss on boot.

While this restricts disabling dsds on native dual SIM devices,
doubtfully anyone would actually want to do that.

Change-Id: I72f019c466d23a89f4c3438150b592d21b65b742
2021-06-08 20:01:32 +02:00
P.Adarsh Reddy
3ce0b4aae7 sm8350-common: Enable incremental FS feature.
Change-Id: I23e19b4fd6f65d9abeabb50b7b417db966717ccd
2021-06-06 22:25:22 +02:00
LuK1337
d202951a85 sm8350-common: Sync sensors related props with stock
Change-Id: I9995281b9e61f1dada7dc3369e060bec5ba9f3d5
2021-06-03 18:26:14 +02:00
Manisha Agarwal
13a9ce2716 sm8350-common: a2dp: Support lc3 codec playback
Add support for lc3 codec playback.

Change-Id: I11df956272068b6b7fe0911ce091225dccc4fd18
2021-06-02 18:02:47 +02:00
Bruno Martins
82593d3701 sm8350-common: Explicitly enable dm-default-key volume metadata encryption method
Change-Id: Iabfe4d15ac108fa594df391be728986274e3126e
2021-06-02 01:05:14 +02:00
LuK1337
0ff6496538 sm8350-common: Sync audio props with stock
Change-Id: Icf3bd214c67fa68ba113b55f374dad68a7a60850
2021-06-01 23:23:38 +01:00
Ajender Reddy
9847562161 sm8350-common: Enable vbat monitor feature by default
Change-Id: Ic5e8248bbd7c79553510d0094463607cc316a50e
2021-06-01 23:23:38 +01:00
Sudheer Papothi
14e5d46fab sm8350-common: Add speaker protection v4 configuration
Add speaker protection v4 configuration on lahaina.

Change-Id: I8d1e9e7055bc78ba4c14e395e0880c8ee8d20013
2021-06-01 23:23:38 +01:00
LuK1337
56e0ada962 sm8350-common: Enable display early wakeup
Change-Id: I43b9339763fefe732856db669687eeee4771c740
2021-06-01 23:23:38 +01:00
LuK1337
fd985a1945 sm8350-common: Configure USB MTP over FFS
This is now required for targets using 5.4 kernel and above
because the legacy f_mtp is deprecated.

Change-Id: Ief9d955d6e4159263864bc82beae6dcf6c858ce1
2021-06-01 23:23:38 +01:00
Jack Pham
b5aa70b18d sm8350-common: Configure USB Diag over FFS
On targets where diag-router is used, override the
vendor.usb.diag.func.name property to 'ffs' to
instantiate the Diag function instances to use
F_FS instead of the legacy f_diag driver.

Change-Id: I529a081a0d6988628944a9020b61c061baa877a4
2021-06-01 23:23:38 +01:00
Jaideep Sharma
3590daee0a sm8350-common: Add property for timecheck timeout duration.
Timecheck timeout set to 20sec based on the property
vendor.audio.hal.boot.timeout.ms before system is ready.
It updates to default timeout of 5sec, once the system
is ready.

Change-Id: I651fea37fc7093e196fc2f5e540e6d9447f88b71
2021-06-01 23:23:38 +01:00
Kunlei Zhang
d47fe32f67 sm8350-common: Add feature support to set power mode for voice call
Add support to set power mode for voice call

Change-Id: I052f094c62a25cd75da3c7cca172b85a4f46ced4
2021-06-01 23:23:38 +01:00
Lokesh Gidra
c0ab297b6f sm8350-common: Use 6GB dalvik-heap config
We are currently using 2GB dalvik-heap config.

Bug: 145823510
Test: MPTS
Change-Id: I086d4a5c09634c3c7bd51ec5d08dcaa1551511b4
2021-06-01 23:23:38 +01:00
Bruno Martins
1c1195097b sm8350-common: Bring up DSDS radio
Change-Id: I290532f7a9f3477b0a13f73d6818a16134df1caa
2021-06-01 23:23:38 +01:00
LuK1337
2deb022492 sm8350-common: Use correct FRP block device
Change-Id: I54495530fa383b81efc70e94f4bb46a56a07ef6d
2021-06-01 23:23:38 +01:00
Zhou Song
d8977f9f0e sm8350-common: Add dedicated hearing aid proxy configs
Add hearing aid configs in HAL.

Change-Id: Iaaec0b4d097fca67d35cb1e098c23f51b331837f
2021-06-01 22:29:58 +01:00
Bruno Martins
410e7ff323 sm8350-common: Initial common device tree conversion
Change-Id: I0d7188b3fa82dddf3f9fb9523d716a8f15f46184
2021-06-01 11:12:31 +02:00
Bruno Martins
70bd2661d2 sm8250-common: Ditch rild.libpath prop
This is only needed for AOSP rild services. It's currently
unused since the move to QCRIL.

Change-Id: I5eb4d0bc2d086d5a2f29e3c3f5ee2d8f0220f5f5
2021-06-01 10:23:44 +02:00
LuK1337
ce7f97800c sm8250-common: Decommonize voice call volume steps
Apparently there are issues on non-8T with vol steps set to 9.

Change-Id: Icc8f1dd75c67cf2cc247301ec8606326e4b6f3d5
2021-05-20 09:33:00 +02:00
LuK1337
bb16435fa4 sm8250-common: Relocate volume steps customization to vendor.prop
Change-Id: Ic0d0666de7899dde5afbd1cd40370ccea2837419
2021-05-04 19:45:43 +02:00
LuK1337
c870005d46 fixup! sm8250-common: Set persist.sys.sf.color_mode to DISPLAY_COLOR_MANAGED (0)
* Meant to actually set the native_mode here.

Change-Id: Ie8830d2804df7be2563cbd2ea87a85727a8053f1
2021-02-02 12:59:27 +01:00
LuK1337
5e5a8d31d7 sm8250-common: Set persist.sys.sf.color_mode to DISPLAY_COLOR_MANAGED (0)
* 'Display white balance' only works when color_mode is
  set to something other than the default value
  DISPLAY_COLOR_UNMANAGED (1).

Change-Id: Idaf30a2f2924c461fc0f034f099afaecb5bbf79b
2021-02-02 11:58:29 +01:00