Commit graph

66 commits

Author SHA1 Message Date
Arian
e63544314d sm8450-common: audio: Disable hfp
No device ships libhfp_pal on stock, so silence the following error:
08-26 09:13:26.159  1242  1242 E AHAL: AudioExtn: hfp_feature_init: 499: dlopen failed with: dlopen failed: library "/vendor/lib64/libhfp_pal.so" not found

Change-Id: Idf6b6f72f15b792dc5dfc95f24511bfbe54bdc69
2024-08-26 15:32:39 +02:00
Michael Bestas
be3170a5f5 sm8450-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-08-21 18:13:20 +02:00
Arian
e8c91c6d4e sm8450-common: Drop unused battery property
Change-Id: If92210f6f162403f79373d81a232373272c114b8
2024-08-21 13:13:57 +02:00
Arian
eb4e4cf381 sm8450-common: Move more radio properties to vendor
Change-Id: I30f9b369c56a6727e4394034accfec03edd705c8
2024-08-21 13:11:19 +02:00
Demon000
d94ca3c413 sm8450-common: Remove DEVICE_PROVISIONED
Change-Id: I9fb48bf8e5b991b0a3fdbf2546e561375303c703
2024-08-21 13:02:27 +02:00
Adithya R
ca5744198e sm8450-common: overlay: Provide MIUI color mode options
Change-Id: I7faa409bf7069108f5bed64488b2a7c5566cd921
2024-08-21 11:46:30 +02:00
Sungtak Lee
5a3d11af1d sm8450-common: Disable OMX
Bug: 222649162
Test: make
Change-Id: Iaf1046c610804c5bdb3b0f591e9907539534ea06
2024-08-12 16:39:57 +02:00
Yumi Yukimura
aaa391c8f6 sm8450-common: Migrate to QTI USB Gadget 1.2 HIDL
Change-Id: I6adbca2fab9a3fe0477d17f9786166828b786710
2024-08-01 01:08:47 +02:00
Arian
ec8a98e97f sm8450-common: Move to double tap sensor
Change-Id: Ib4803011fefad35c8b7a2d1e2b7d2744b32b13f4
2024-06-09 11:07:59 +02:00
Arian
999f5ead73 sm8450-common: Enable single_tap sensor and set permissions for touch sensors
Change-Id: I777ed71ecc5dc502182567bc7e1166605251af93
2024-06-09 11:07:59 +02:00
LuK1337
880093b16b sm8450-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
2024-03-19 23:22:37 +01:00
Akhil Jaiswal
9215cdbc2e sm8450-common: config: Update sf duration to 15.6 ms
Change-Id: I5e62a45577035b8329026c426ab5b804b498527b
2024-03-19 23:22:37 +01:00
Alex Sarraf
0971d7fb1d sm8450-common: config: Move from phase offsets to work durations
Use work durations instead of phase offsets.

Change-Id: Ic9dc9eb0e297b58ddd436b084d8a2dcb6e834e26
2024-03-19 23:22:37 +01:00
Arian
bba13b580d sm8450-common: Set radio build profile to u-stable
As seen on unicorn V816.0.3.0.ULECNXM

Change-Id: I86d4dfb5e384f986799257e1c670988823712775
2024-03-19 23:22:37 +01:00
Arian
1875e9bedf sm8450-common: Enable radio ecc_cloud
As seen on unicorn V816.0.3.0.ULECNXM

Change-Id: I52272c6060c257895edd6befc4fecede9d511933
2024-03-19 23:22:37 +01:00
Zhen Kong
f2b2c87a82 sm8450-common: Enable TDES support when Keymaster 4.0 is enabled
Add ro.hardware.keystore_desede to property list to pass
CtsSecurityTestCases TDES related tests.

Change-Id: I02e34e93b52f82546dffc2c4f2cce78671885310
2024-03-19 23:22:37 +01:00
Alex Sarraf
14bf8731ea sm8450-common: display: Set debug.sf.auto_latch_unsignaled to 0
Need to explicitly set auto_latch_unsignaled property to
disabled state to keep latch-unsignaled as the default
behavior.

Change-Id: I3856caaf0a68e7e720819f25338d1eb9196f56b0
2024-03-19 23:22:37 +01:00
Edwin Moquete
189e6a3d72 sm8450-common: 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: basamaryan <basam.aryan@gmail.com>
2024-03-19 23:22:37 +01:00
Jayachandran C
ccf482a700 sm8450-common: Move default network property to vendor partition
This fixes GSI image overriding the default value

Bug: 153852350
Test: Manually verified after flashing the GSI image
Change-Id: I78b415862c420c23121ec03d6953814cd628ea9a
2024-03-19 23:22:37 +01:00
David Sehr
6f4d56864e sm8450-common: Enable usage of dex2oat64
Use 64-bit dex2oat for better dexopt time.

Bug: 153380900
Test: boot and install an application
Change-Id: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
(cherry picked from commit 126f03be80f57a8a0411842011152d9381589b78)
Merged-In: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
2024-03-19 23:22:37 +01:00
Alessio Balsini
7a9ef94f78 sm8450-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-03-19 23:22:37 +01:00
Bruno Martins
2d6f07b00c sm8450-common: Move to QTI health AIDL service
The health AIDL HAL service provides functionalities of charger,
therefore system charger at /system/bin/charger is deprecated.
On top of that, QTI health AIDL HAL service enables suspend by
default, the equivalent of setting ro.charger.enable_suspend
for legacy charger.

Change-Id: I59c23e7974cea1174b0161f31a535fa3afa1e5c9
2024-03-19 23:22:37 +01:00
Arian
17a09cc790 sm8450-common: Cleanup audio properties again
Change-Id: I1750d6a04d02d4a34c0bd18741e7ac31ee2a7c55
2024-03-19 23:22:37 +01:00
Arian
0a00ab82e5 sm8450-common: Remove system wifi properties
Change-Id: I18bcd2dc247d2c7766626ed43b74cb5eabccb72c
2024-03-19 23:22:37 +01:00
Arian
7bfc345a72 sm8450-common: Cleanup wfd properties
Change-Id: Idbcd6fa9d306ffde7c23709e6c43b50baa7081cb
2024-03-19 23:22:37 +01:00
Arian
8b7dde1505 sm8450-common: Don't enable ramdumps
Change-Id: I1d6ecc4f0f8a14f4bbbacdd148276c2aa7f9dec4
2024-03-19 23:22:37 +01:00
Arian
a75e1eb4fa sm8450-common: Drop unused sytem NFC property
Change-Id: I65d9b27b51a4209c7cf2c088e8dc91f39060f304
2024-03-19 23:22:37 +01:00
Arian
14c3ba4b09 sm8450-common: Cleanup media properties
Change-Id: I1a5fc2eff5502e764919375aab0fb38f987a3931
2024-03-19 23:22:37 +01:00
Arian
993d86fb09 sm8450-common: Cleanup system graphics properties
Change-Id: Iac61679b5c7f4ac78b51b09825b1846cdc273413
2024-03-19 23:22:37 +01:00
Arian
84bb690a3b sm8450-common: Update dpm property
Change-Id: I4cd06c478d71ca3878893a9af06bfce884368636
2024-03-19 23:22:37 +01:00
Arian
8683899800 sm8450-common: Drop persist.vendor.radio.hidl_dev_service
Change-Id: I6464fae8104e7bea54cadb81c127409d1e02da34
2024-03-19 23:22:37 +01:00
Arian
804358f3de sm8450-common: Drop zygote critical window property
Change-Id: I9abc3127b20166e67b3e7d51810a78c7fb493b66
2024-03-19 23:22:37 +01:00
Arian
27f632079c sm8450-common: Cleanup wifi properties
Change-Id: I3277816bbbb133cc24951d674f837ea7868bbb77
2024-03-19 23:22:37 +01:00
Arian
7657f46f31 sm8450-common: Cleanup vcb properties
Change-Id: Ic04286d6afb426e7257447fb36771038c532b81e
2024-03-19 23:22:37 +01:00
Arian
4e1ddaa7e9 sm8450-common: Drop default usb config from vendor.prop
Change-Id: I95771674d0fae0a98320e66c4813cdf9def7a464
2024-03-19 23:22:37 +01:00
Arian
23f69dacdb sm8450-common: Cleanup radio properties
Change-Id: I983fb0859dc5ea9494c5e0ec3414307caee1f263
2024-03-19 23:22:37 +01:00
Arian
9bd88168a9 sm8450-common: Drop QSPM property
Change-Id: Ie9778b272e7e1bb60c33c8ac645f40854b395096
2024-03-19 23:22:37 +01:00
Arian
57fba763ac sm8450-common: Drop QFP property
Change-Id: Ia6cda1b7cb227d1af5bcf5d44b85681dbdf26899
2024-03-19 23:22:37 +01:00
Arian
5ce1a28b53 sm8450-common: Don't enable qcomsysd
Change-Id: Id3960daa4a78bc63072c1b7f0a10559ac8e37625
2024-03-19 23:22:37 +01:00
Arian
bb678c7312 sm8450-common: Cleanup perf properties
Change-Id: Ifc8dcca4866321074935bf20a2272545e50e80f4
2024-03-19 23:22:37 +01:00
Arian
2be8dea40c sm8450-common: Drop NFC properties
Change-Id: I30bde55c639a5a794bbcedc5348c698a0ce6ffb0
2024-03-19 23:22:37 +01:00
Arian
84adac3a66 sm8450-common: Drop shutdown waittime property
Change-Id: Ib356a43820e890f998fe3694f8ca3721a895f0cc
2024-03-19 23:22:37 +01:00
Arian
05a2c7043c sm8450-common: Cleanup media properties
init.qti.media sets vendor.mm.enable.qcom_parser already

Change-Id: Idf95637f734806407dc0ca8dff6025e89aafcd30
2024-03-19 23:22:37 +01:00
Arian
800bc6c2bc sm8450-common: Drop LMK properties
Change-Id: I1c5edf6f3eb1934d6f089655908b8d1b8c595056
2024-03-19 23:22:37 +01:00
Arian
30f9ba5316 sm8450-common: Drop miui haptics properties
Change-Id: Ieb822782e4cac857c83b53027a5c64c363ecba0f
2024-03-19 23:22:37 +01:00
Arian
795e1ccb6a sm8450-common: Cleanup graphics properties
Change-Id: Ib3098225bb119aa12f011b0237b45e9da4344d58
2024-03-19 23:22:37 +01:00
Arian
cb9c073858 sm8450-common: Add fm property to bluetooth section
Change-Id: Ibac0f84d82d68175808c3a2986b0bbe4a97a2514
2024-03-19 23:22:37 +01:00
Arian
3f2bef56ac sm8450-common: Drop fingeprint properties
Change-Id: I7d393350c3c3a39dd6f1342203c083b44e54d29b
2024-03-19 23:22:37 +01:00
Arian
00cff6e2c2 sm8450-common: Cleanup display properties
Change-Id: Icf06ba55d34f899994543fd59e28d5d3fdccaca2
2024-03-19 23:22:37 +01:00
Arian
56e18198cf sm8450-common: Cleanup camera properties
Change-Id: Icf8d706b06910cd3af8b076838d56f25bc17d459
2024-03-19 23:22:37 +01:00