Commit Graph

896 Commits

Author SHA1 Message Date
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
Alexander Koskovich
8f17177db9 sm6150-common: Move Bluetooth power overlays to sysprops
* These were moved to sysprops in Android 13.

   976d33062b%5E%21/#F0

Change-Id: I5bff67a15c537e8a47a19f30776fca6bf2c9fbe5
2023-01-27 01:32:59 +00:00
Bruno Martins
6af6f875ca sm6150-common: overlay: Remove BT related configs
These have been migrated to sysprops in Android 13.

Change-Id: I34c1f6b882a61df6db95523997002512354d875e
2023-01-27 01:32:59 +00:00
Alexander Koskovich
2773427200 sm6150-common: Move BT profiles props to vendor
* Makes it GSI compatible

Change-Id: I8f7caf241d508af59c16482e6185c42f23f8a460
2023-01-27 01:32:42 +00:00
Sebastiano Barezzi
442e1a5049 sm6150-common: Remove USE_XML_AUDIO_POLICY_CONF
* Dead since Q, where XML audio policies weren't enforced yet

Change-Id: I302a0ed97964b052176dc3bb0141db1ba85e78c8
2023-01-17 07:02:03 +00:00
Georg Veichtlbauer
386a6ca5ff sm6150-common: Remove AUDIO_FEATURE_ENABLED_PROXY_DEVICE
No-op, configurable during runtime

Change-Id: Ic54209df613570b15fee29c5b4c4053d38028b9b
2023-01-17 07:02:03 +00:00
Bruno Martins
a78d6fb707 sm6150-common: Drop custom APM flag along with no-op audio flags
Custom audio policy manager is hard disabled by CAF
for 2 years now. Remove as well the audio feature flags
that were used to configure it.

Change-Id: Idd34d1cbbdb735d6cf0de3b159c2670bf7ddd1e3
2023-01-17 07:02:03 +00:00
Noonlord
b670e7124d sm6150-common: rootdir: Setup file permissions for fpc
* These are used by courbet/surya/sweet

Change-Id: I605f305ab30fdbc3dd0a3afc6375cd039e5e8117
2023-01-17 07:01:07 +00:00
basamaryan
88e2493867 fixup! sm6150-common: Welcome Redmi Note 10 Pro
Change-Id: I84486f287783041157533d8e35e0d585536bd573
2023-01-17 06:10:54 +00:00
Noonlord
ce1fd1dd7e sm6150-common: Welcome Mi 11 Lite 4G - courbet!
Change-Id: I3f5e0bee2e1e56dec04f97ae043a0de99897884b
2023-01-17 06:10:54 +00:00
Bruno Martins
713a5a4806 sm6150-common: parts: Fix compilation for QPR1 merge
Change-Id: Ifa602ed1ae0734dbda40663770f2e54075bfa208
2022-12-08 22:23:32 +01:00
Arian
e194684060 sm6150-common: Move to legacy-um qcom sepolicy
Change-Id: I9fa72d7c2313c663490c506780ff4c66ad8037a5
2022-11-15 11:20:37 +01:00
LuK1337
9ef008f3d7 sm6150-common: overlay: Configure aux camera for Aperture
Change-Id: I543f078dd4dba30e1b22737d5c22d591e3fb34e6
2022-11-15 11:20:37 +01:00
LuK1337
29e221cac6 sm6150-common: Migrate vendor.camera.aux.packagelist to sdk overlay
Change-Id: Iee884cc98b5fada492b27e8085de98ae08406cf4
2022-11-15 11:20:37 +01:00
Arian
5104523fa7 sm6150-common: udfps: Set fod status based on vendor acquired and cancel
Change-Id: I3477fb7a921555564121e10fc0d710e122dd9d73
2022-11-15 11:20:37 +01:00
Bruno Martins
bb8d9f4905 sm6150-common: sepolicy: Label UDFPS state node
Change-Id: I7a4ca9a3e98e0af90be5aedc88fa1eaa344abb76
2022-11-15 11:20:32 +01:00
Michael Bestas
4e8f1f1f87 sm6150-common: Remove bdroid_buildcfg.h
As of I3c7aed1bdb45db728d319f7d757400e44d232283 the Bluetooth stack
defaults to reasonable defaults that should work for all devices.

Change-Id: I056d63c4c8a2727e384172e964dc0000b6773504
2022-11-14 22:23:43 +01:00
Nolen Johnson
ac80e30dea Revert "sm6150-common: Use LLVM binutils and LLVM integrated assembler"
This reverts commit 816cf6a1cd.

Reason: This is now default globally.
Change-Id: I4cd4c8af67b8463950045d3887752985b3decc61
2022-11-14 22:23:43 +01:00
Arian
543d7ac0ef Revert "sm6150-common: Decommonize cnss-daemon"
Since updating QMI blobs from sweet Android 12 the cnss-daemon
from Android 11 (on devices with no stock Android 12) fails to
get the correct MAC address. Commonize cnss-daemon to fix the
mismatch. Xiaomis cnss-daemon loads device specific custom
bdwlan firmware and fortunately the one from sweet seems to
support all in-house xiaomi sm6150 devices. However it does
not contain the firmware names for longcheer devices (surya).
But since these devices also need an updated cnss-daemon, they
are suggested to apply a patch like this: [1] to mount their
firmware with the default name (bdwlan.bin) in order to not
loose the tuning with sweet cnss-daemon.

This commit also makes cnss-daemon a module, which it wasn't
before the removal.

[1]: 3595347298

This reverts commit 605de37605.

Change-Id: I17d7aa0cf141fc153a12ff3334178ea3e7091873
2022-11-14 22:23:40 +01:00
Arian
3f2881cb07 sm6150-common: Move to common libpiex_shim
Change-Id: I5266fe4b7cfd108c19b493bc2941097777b29f0a
2022-11-14 22:23:25 +01:00
Arian
2a63fa8cff sm6150-common: Improve camera shim
Change-Id: Id11965102d7d5dce50f989c99810cda6a43aa1ec
2022-11-14 22:23:05 +01:00
daniml3
c4f19714f0 sm6150-common: Add GetPreviewImageData shim for camera
Signed-off-by: daniml3 <daniel@danielml.dev>
Change-Id: Iad9d37b992775b6d7b9b52ed4637c70fd13ede7f
2022-08-19 17:28:21 +02:00
Arian
816cf6a1cd sm6150-common: Use LLVM binutils and LLVM integrated assembler
Change-Id: I408c0e1b272af25e8e606e586a9e1d6e7082afba
2022-08-19 17:28:16 +02:00
Jiakai Zhang
c027a3e451 sm6150-common: Preopt SystemUI for AOSP builds.
Bug: 232860596
Test: See no dex2oat invocation on the first boot.
Change-Id: Icc38efb4b702b518caa22a3abfc7c04d6ba1ac2a
2022-08-19 17:28:00 +02:00
Jiakai Zhang
a90cd875ef sm6150-common: Add a system property for System UI compiler filter.
Bug: 227310505
Test: m
Change-Id: I30863fe677a95844f0cf46da98c103c0132c24d3
2022-08-19 17:26:25 +02:00
Alice Kuo
37edd93211 sm6150-common: Disable LE audio related profiles for sunfish
Bug: 231671426
Test: build
Change-Id: I78e2ddfc636a0fa31b977b5f9ba9a7d7bc0f2a26
Merged-In: I78e2ddfc636a0fa31b977b5f9ba9a7d7bc0f2a26
(cherry picked from commit acb0b19b8348a4b9518d2f46b1599f423f620347)
2022-08-19 17:21:36 +02:00
Sal Savage
09b9b46f05 sm6150-common: Use the ?= operator so BT properties can be overridden
System properties set with the "=" operator cannot be overriden. This
device is used elsewhere in the system and some of the properties need
to be overridden. The "?=" operator will use the assigned value if no
other values are assigned elsewhere, allowing for overrides.

Bug: 230638462
Test: adb shell getprop | grep bluetooth
Change-Id: Id6cd7901555edafef141bbc1bbd5e06dc3a54d0c
2022-08-18 14:32:31 +02:00
Sal Savage
c7bf0ce67e sm6150-common: Set default the Bluetooth class of device
The class of device is a string with a list of uint8t values:
90,2,12

The meaning is as follows:
{Service Field, Major class, Minor class}

Service Field: 0x5A -> 90
    Bit 17: Networking
    Bit 19: Capturing
    Bit 20: Object Transfer
    Bit 22: Telephony
MAJOR_CLASS: 0x02 -> 2 (Phone)
MINOR_CLASS: 0x0C -> 12 (Smart Phone)

Bug: 217452259
Test: make -j; -- check that bluetooth.device.class_of_device is
correct

Change-Id: I24fd57bacbf6786a26f7079e7a6e9857dbe170d1
2022-08-18 14:32:31 +02:00