Commit Graph

823 Commits

Author SHA1 Message Date
raghavt20
4a67b5eb26 sm6150-common: sepolicy: Label Spi IR node
Change-Id: I550e823b11bbc8e37cffa164a2047d57d8a5499a
Signed-off-by: raghavt20 <raghavt20@aospa.co>
2023-05-18 17:09:45 +05:30
Sebastiano Barezzi
5ef61b13a0 sm6150-common: Go away Megvii
* Nuke Megvii proprietary files and build stub ones from hardware/xiaomi

Change-Id: I53f8f0897b25517741a06c5962c02fe8fda61072
2023-05-18 12:52:52 +02:00
Arian
90aaab2933 sm6150-common: Add lineage dependencies
Change-Id: I7ec06f31eac4e579076e65cc000638749dbfb7d7
2023-05-18 12:43:09 +02:00
Arian
34422f17c8 sm6150-common: Include sdmsteppe-perf_defconfig
Change-Id: I23c9bbdf101f2a4d31c7aeaba7a5cca3716a745d
2023-05-18 12:39:56 +02:00
ad1tyas1ngh
ad8e3baf84
sm6150-common: Fix libGLESv2_adreno.so symlink
Change-Id: I957655c449ff695481de81b128fcf00c0398e055
Signed-off-by: ad1tyas1ngh <adityasingh1768@gmail.com>
Signed-off-by: raghavt20 <raghavt20@aospa.co>
2023-05-10 22:41:30 +04:00
raghavt20
bd277e428a
sm6150-common: Kang libril-qc-hal-qmi.so from Redmi Note 10
From: mojito_global:12/SKQ1.210908.001/V14.0.2.0.SKGMIXM:user/release-keys
Change-Id: If1f1003ed4765831653c3cf90b79a73d3d97deca
Signed-off-by: raghavt20 <raghavt20@aospa.co>
2023-05-10 22:41:29 +04:00
raghavt20
e5ce6d0995
sm6150-common: Decommonize liboemcrypto
Some devices like violet didn't recieve Android 11 update
hence breaks Widevine L1 with liboemcrypto from Sweet[Redmi Note 10 Pro]

Change-Id: I3bfbd76bf9575e72be8d4d61586830198bfcf47a
Signed-off-by: raghavt20 <raghavt20@aospa.co>
2023-05-10 22:41:29 +04:00
Arian
979b46dab0
sm6150-common: Patch ims.apk from sweet V14.0.2.0.TKFMIXM
Patched to remove com.qti.permission.BIND_QTI_IMS_SERVICE and
Landroid/telephony/TelephonyBaseUtilsStub;->isMiuiRom()

Full patch: https://paste.myself5.de/zitiketuto.diff

Change-Id: I1ecff29d7089bffa50d41acb6b55c6d8e36d1d9c
2023-05-10 22:41:07 +04:00
basamaryan
cc603690ad
sm6150-common: Update blobs from sweet V14.0.2.0.TKFMIXM
Change-Id: Ifeab003e6182e09b00dd88d09b69334dc66d1610
2023-05-10 22:40:58 +04:00
Roger Liao
f9aae1686c sm6150-common: Update kernel target level
Updating kernel target level to Android R

checkvintf Error
checkvintf E : files are incompatible:
    Runtime info and framework compatibility matrix are
    incompatible: Kernel FCM version is not specified, but kernel version
    4.19.95 is found. Fix by specifying kernel FCM version in device
checkvintf E : manifest. For example, for a *-r kernel:
checkvintf E : <kernel target-level="5"/>
checkvintf E : INCOMPATIBLE

Bug: 148823278
Change-Id: Ia30013045b0fe15abc859dda503aed790aaeeb76
2023-04-11 15:22:57 +02:00
Arian
3719d185b0 sm6150-common: hidl: Add xiaomi framework compatibility matrix
Change-Id: I6c8e4ecfc6391ea1d59c68ddb43bdca9f6180826
2023-04-11 15:22:06 +02:00
Arian
ca7d835016 sm6150-common: Include qcom and lineage framework compatibility matrix
Change-Id: I12ec7ed7ca6c1b6111f46b2441a2768b23ea85bc
2023-04-11 15:21:35 +02:00
Arian
41d34a2c85 sm6150-common: Unpin RIL blobs from surya
Change-Id: Iebb839ec7fe45504e0aac62c8dd2e4126d131b0d
2023-04-11 15:20:23 +02:00
Arian
d08208285a sm6150-common: Sort proprietary-files.txt
Change-Id: If4c6a47a9bc9efc2c77421f8ba2685cc1a5fb3f6
2023-04-11 15:20:23 +02:00
llololo
849e237ae3 sm6150-common: Remove A2DP input module in audio policy configuration
No Pixel device support A2DP sink functionality.

Bug: 163050296
Test: A2DP related test.
Change-Id: I269220cf29451ea79362fc004fa073713f72fdb2
2023-04-11 15:20:23 +02:00
Arian
535ef6ad80 sm6150-common: Redefine bluetooth a2dp offload capabilities
Drop unsupported aptx codecs and rank aac below aptx

Change-Id: Ic0c4cefce9f4c39b609490b124230882dec605e9
2023-04-11 15:20:23 +02:00
Alexander Martinz
779599957d sm6150-common: Drop aptx blobs
They live within the bluetooth apex now.

Change-Id: I01ef1d665ce05b7ce5b1ee03129ccf3ce6058634
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2023-01-29 21:30:38 +00:00
Arian
a3ee287d54 sm6150-common: audio: Don't advertise aptX TWS in audio policy config
Android 13 QPR1 does not seem to like advertising unsupported codecs here.

Change-Id: I23a7f626a268a0c89199aaa5899df9b812d85ae2
2023-01-29 21:30:37 +00:00
basamaryan
52a5530afe sm6150-common: sepolicy: Label more wakeup nodes
Change-Id: I3fd5d4f44b28b7c0c8bff6adb8d39e9a389b1981
2023-01-27 01:32:59 +00:00
Paul Keith
4560af5d2f sm6150-common: livedisplay: Fix racy init
* It turns out moving this to class main doesn't work as well
  as some had thought it would, so restore the previous logic
  to use class hal, and restart if the backend isn't up yet

Change-Id: Ib8b417d89108dcf80d0d159e8d84e5327944b2a1
2023-01-27 01:32:59 +00:00
Edwin Moquete
5c5679a04e sm6150-common: properties: Remove unused persist.bluetooth.a2dp_offload.cap property
This prop has no effect as of T QPR1.

See: cf25e33147

Change-Id: Ic762812dd59429d344ccc55c01bf96b0ffd6dbab
2023-01-27 01:32:59 +00:00
basamaryan
598ab2e3be sm6150-common: audio: Drop 24 and 32 bit recording support
* This unfortunately causes some applications from Meta
  to record low volume audio in calls and voice messages.

Change-Id: I7e9ea6faa2ddbb5cf5f44bbf5060b41edd7bf1e9
2023-01-27 01:32:59 +00:00
Paras Nagda
f24c8337d7 sm6150-common: media: Fix VTS issue.
Arrange the tag limit and feature in-order.

Change-Id: If8b9e10e56c36e995cbc3f438b4fa113e1cbe806
2023-01-27 01:32:59 +00:00
Malathi Gottam
49549d6cf9 sm6150-common: media: Add swap width and height feature
In case any codec of target supports width & height swap,
then this feature needs to be advertised in media_codecs xml
otherwise newly added strict dimension checks in framework
fail hw codec instantiation considering codec cannot handle
format leading to sw fallback despite codec capability.

Change-Id: Ief2c9d6dc4ee05a6798a58a0427b75e8c0a2dedb
2023-01-27 01:32:59 +00:00
Pullakavi Srinivas
4e3767b961 sm6150-common: hwc: Disable SF composition prediction model.
CRs-Fixed: 3243885
Change-Id: I64f82a25768b561bb343fdb7686b7d6c020d024a
2023-01-27 01:32:59 +00:00
Giovanni Ricca
d172ae494c sm6150-common: gps: Revert PROXY_APP_PACKAGE_NAME OEM change
Change-Id: Ia13ce8d80233a493aa90723a1e974871ddce641b
2023-01-27 01:32:59 +00:00
basamaryan
4c664b8c7e sm6150-common: gps: Update to LA.UM.9.1.r1-13000-SMxxx0.QSSI13.0
Change-Id: I51776c7c5db4e72c58f6dab73e8692a549ec37e8
2023-01-27 01:32:59 +00:00
Tyler Wear
92fe0b3663 sm6150-common: IFactory 2.3
Up IFactory version to 2.3.

Change-Id: I558f96edbf2ecb94d3e0c5126f2c55c3534e4a96
2023-01-27 01:32:59 +00:00
pramod kotreshappa
22d38c36d2 sm6150-common: Bluetooth: Bluetooth Audio HIDL up-rev to 2.1
Change-Id: I396d2a28b8146a7c2018c15fa77452f7011fbac8
2023-01-27 01:32:59 +00:00
pengfeix
b319e820d5 sm6150-common: Uprev ImsRadio version to 1.7
Change-Id: I03f24fd9eac8995ad565218b342503ef7bf3129e
CRs-Fixed: 2855616
2023-01-27 01:32:59 +00:00
Avinash Nalluri
6dd0fc1ad4 sm6150-common: manifest: Update IQtiRadio with v2.6
Change-Id: I37d462028a7a82925b12b0e9f8a16a395a629fa2
CRs-Fixed: 2854788
2023-01-27 01:32:59 +00:00
qiongz
32f927e941 sm6150-common: Uprev QtiRadio version to 2.5
Uprev QtiRadio version to 2.5.

Change-Id: Icd74a9a895ad18ce2cb2c42caf4b746faf05a92c
CRs-Fixed: 2795130
2023-01-27 01:32:59 +00:00
Gary Jian
69285c102b sm6150-common: Upgrade IRadio version to 1.5
Bug: 147070523
Bug: 154066681
Test: manually
Change-Id: I765a0822dabf206391d19037f971a46281758b3f
2023-01-27 01:32:59 +00:00
basamaryan
ad2e46eb0a sm6150-common: Update blobs from sweet V13.0.15.0.SKFMIXM
Change-Id: Icfb3cc584691ed497332f58efbb380f83f22a1ba
2023-01-27 01:32:59 +00:00
Michael Bestas
625fda0bd1 sm6150-common: Automatically add apk/jar/vintf fragments to PRODUCT_PACKAGES
Change-Id: Iaa9d66b0bbdc55f046ee1347cbf83c7eecebb35e
2023-01-27 01:32:59 +00:00
Arian
166966e54b sm6150-common: Add system prefix to proprietary libraries in /system
Change-Id: I9ac038d474d5cbe1f7eb5128d6ea8eea3a82f318
2023-01-27 01:32:59 +00:00
Alexander Koskovich
aee39d4741 sm6150-common: Move ueventd.qcom.rc to /vendor/etc.
* This is the preferred location as of Android 12.

Change-Id: I8c7d2230281b6d8da802bf10f88461289849acaf
2023-01-27 01:32:59 +00:00
Alexander Koskovich
185b3de9b3 sm6150-common: Update telephony package list to LA.QSSI.12.0.r1-05600-qssi.0
Change-Id: Id6fdabd9d5e0df6d23a982e0e39e06a8acff67ef
2023-01-27 01:32:59 +00:00
Hridya Valsaraju
b15c927d19 sm6150-common: Set PRODUCT_SET_DEBUGFS_RESTRICTIONS
Starting with Android R launched devices, debugfs cannot be mounted in
production builds. In order to avoid accidental debugfs dependencies
from creeping in during development with userdebug/eng builds, the
build flag PRODUCT_SET_DEBUGFS_RESTRICTIONS can be set by vendors to
enforce additional debugfs restrictions for userdebug/eng builds. The
same flag will be used to enable sepolicy neveallow statements to
prevent new permissions added for debugfs access.

Test: build, boot
Bug: 184381659
Change-Id: I45e6f20c886d467a215c9466f3a09965ff897d7e
2023-01-27 01:32:59 +00:00
Nate Jiang
3f12bf92c3 sm6150-common: WifiOverlay: Enable set channel on NDP setup
Bug: 190354626
Test: build, CtsVerifier
Change-Id: Ieff18b96ec0f24c1c20c40add4e47a532ece8922
2023-01-27 01:32:59 +00:00
Les Lee
7ba8556969 sm6150-common: WifiOverlay: Configure correct overlay configuration.
ag/16564596 will change default value to false.
Configure correct overlay configuration.

Bug: 212488775
Test: manual test & build
Change-Id: Iaf1a0a23dae69fde5995e591a757a8ef5374d5b5
2023-01-27 01:32:59 +00:00
Robert Shih
552cdd17f1 sm6150-common: Enable AIDL DRM HALs
Bug: 219538389
Test: atest GtsMediaTestCases
Change-Id: Iaf321aabf7f0ef3d86c518982781d95c4a648506
2023-01-27 01:32:59 +00:00
basamaryan
ec6b1f72bb sm6150-common: Build DRM 1.4 to vendor
Change-Id: I1b642a1b0bc032f1e7f174bd072a485a20533fba
2023-01-27 01:32:59 +00:00
Woody Lin
fb622cd0e8 sm6150-common: Enable zygote critical window
Bug: 141948707
Change-Id: I5dc57312118b0f6d95fc9fe164363ec7e15f1b51
2023-01-27 01:32:59 +00:00
Santiago Seifert
f6190cfd7d sm6150-common: Unpin updatable-media from memory
Bug: 214499288
Change-Id: I4823afa45553b9484ad5215d081b0e6635c4b183
Test: Presubmit
2023-01-27 01:32:59 +00:00
Nolen Johnson
4a838e1a9b sm6150-common: AOSP WFD doesn't support protected Wi-Fi Display buffers
Change-Id: I971373b5c57b8591b1bf676849cc511f8a425023
2023-01-27 01:32:59 +00:00
Michael Bestas
f36bb4282b sm6150-common: Move qti_whitelist.xml to /system_ext
Change-Id: Id8617513cfd686b3f6888a89c1b1db196acfb476
2023-01-27 01:32:59 +00:00
Bruno Martins
c86cfcb00b sm6150-common: Deduplicate handheld_core_hardware.xml copy rule
Since Android 10 that this is already done while inheriting from
full_base_telephony.mk.

Change-Id: If533fbf95a9cf9798ddba24955a624d26f550d62
2023-01-27 01:32:59 +00:00
Georg Veichtlbauer
20f459e6e5 sm6150-common: Drop config_setColorTransformAccelerated
It's now enabled by default

Change-Id: I57f059c872fc2ad2fd15e788b1391eeebaff9bde
2023-01-27 01:32:59 +00:00
Bruno Martins
53b6eec2be sm6150-common: Drop component overrides
This is no longer needed as of Android 13.

Change-Id: I38435c47c8781678f82014decbbae40dcab0a07b
2023-01-27 01:32:59 +00:00