Commit graph

50 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
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
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
Arian
c01f55e3f7 sm8450-common: Clean bluetooth properties up
Change-Id: Ia25a2ade5c5940e87574d6f228f44958bc673c7d
2024-03-19 23:22:37 +01:00
Arian
ae50a6ac27 sm8450-common: Cleanup audio properties
Change-Id: I65ffe03b81b49de60c1708ac6e2486fd6dd5f837
2024-03-19 23:22:37 +01:00
Arian
02aa012f03 sm8450-common: Disable dolby audio and vision features
Change-Id: Ibaa40b9827c01a6cb3b6d1b554430a13226c671e
2024-03-19 23:22:37 +01:00
Arian
f77ee2aefa sm8450-common: Update audio properties from V14.0.11.0.TLECNXM
Change-Id: I7c87b913c7c4ba3fe81db2c1e930c7c8e2395576
2024-03-19 23:22:37 +01:00
Arian
b49c76178f sm8450-common: Drop dolby music blobs
Change-Id: Ibd38c669ea2d721738ac62cc1b00973ea4a6fc19
2024-03-19 23:22:37 +01:00
Arian
5307b2487f sm8450-common: Import missing graphics properties from zeus V14.0.7.0.TLBMIXM
Change-Id: Ie378b87e356c4de38595ec618412889f096dfebe
2024-03-19 23:22:36 +01:00
Woody Lin
3ebc100697 sm8450-common: Enable zygote critical window
Bug: 141948707
Change-Id: I5dc57312118b0f6d95fc9fe164363ec7e15f1b51
2024-03-19 23:22:36 +01:00
Alexander Koskovich
2bdd705077 sm8450-common: Move BT profiles props to vendor
* Makes it GSI compatible

Change-Id: I8f7caf241d508af59c16482e6185c42f23f8a460
2024-03-19 23:22:36 +01:00
Edwin Moquete
4e07d3a7ba sm8450-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-03-19 23:22:36 +01:00
Arian
f964ff2212 sm8450-common: Redefine bluetooth a2dp offload capabilities
Drop unsupported aptx codecs and rank aac below aptx

Change-Id: Ic0c4cefce9f4c39b609490b124230882dec605e9
2024-03-19 23:22:36 +01:00
Arian
e01402faeb sm8450-common: Add properties from stock
Change-Id: Ia18b74e99cb0e62d5274179a42b87d914bd65298
2024-03-19 22:58:04 +01:00