Nicolas Geoffray
089d6be078
sm6225-common: Remove odex/oat files from pinner list
...
The pinner now asks the runtime for these files.
Test: adb shell dumpsys pinner
Bug: 144773394
Change-Id: I8de2a2935901cbd3eaa50ce2d8aa09f61080ba02
Merged-In: Ie633ea788dab3389a3407ec9a461b5837befca46
2023-04-19 20:35:10 +03:00
dianlujitao
0242b9ef44
sm6225-common: Add missing telephony java libs
...
Change-Id: Ib027cd630b16995e13f4d063fbdd98fbbb04f5c1
2023-04-19 20:35:10 +03:00
Dhina17
80c520fd2e
sm6225-common: Enable wifi display
...
Change-Id: Ie5110f71c61b1ac55410ae28bed911fca6b60d98
2023-04-19 20:35:10 +03:00
Dhina17
82591a2f5b
sm6225-common: Use source built libqsap_sdk lib
...
- It's already being compiled. (bengal.mk#426)
Change-Id: I453eabf49fcef6d90982a34e33a0e3cde46c18ba
2023-04-19 20:35:10 +03:00
Georg Veichtlbauer
0da5a48473
sm6225-common: Remove aptX(HD) encoder shared libs
...
Encoder shared libraries are no longer required as of Android 13 QPR2.
Change-Id: I893a9000070cb2582ada0af91547f5176e6fea84
2023-04-16 13:37:59 +03:00
Michael Bestas
062f7e52c4
sm6225-common: Drop libspeakerbundle lib
...
Change-Id: I6d238b2c36c68232078a3be481213f27166024a3
2023-04-16 13:37:58 +03:00
Rohit
a08f482b21
sm6225-common: Build amplifier HAL
...
Change-Id: I1dbec8a83b8763497b11f2a602c7929b65b26ab7
2023-04-16 13:37:58 +03:00
LuK1337
b5c77053ad
sm6225-common: amplifier: Add (and run) clang-format file
...
Change-Id: Iaa76db2b802de191e5b494fc0ec91988efc13ff5
2023-04-16 13:37:58 +03:00
Alexander Koskovich
d444f1758b
sm6225-common: amplifier: Clean up makefile
...
Change-Id: I416005aec3e4b6a686079d7e4796e5b548ee0e9f
2023-04-16 13:37:58 +03:00
Rohit
41ac68de1e
sm6225-common: amplifier: Rebrand to AW882xx
...
* AW882xx logic was the same as the TFA one anyways
Change-Id: I87cd6aecd88e2a906d6cc7a293510d0a463cb3f8
2023-04-16 13:37:58 +03:00
Pig
6e093e6109
sm6225-common: amplifier: Fix device list initializations
...
Update missing device list initializations.
Reported-by: Signed-off-by: SayanAcharya <rowdysayan99@gmail.com>
Co-authored-by: Signed-off-by: SayanAcharya <rowdysayan99@gmail.com>
Change-Id: Iaa44429e7a2514f882828089355fca1634b79200
2023-04-16 13:37:58 +03:00
PIPIPIG233666
635e13c2cb
sm6225-common: Add custom audio amplifier for TFA amp feedback
...
* Based on observing reverse engineering from davinci stock audio HAL.
* Fixes speaker distortion on high volume.
* Same logic with Smosia, rewritten by me.
Co-authored-by: Smosia <stasenko_nv@nrcki.ru>
Change-Id: I369555a9fcb06065177636b436d2e006c7a0b07d
2023-04-16 13:37:58 +03:00
Michael Bestas
1266db56ca
Revert "sm6225-common: Switch to prebuilt audio HAL"
...
This reverts commit 61223126f7
.
2023-04-16 13:37:57 +03:00
Michael Bestas
e57a75c253
sm6225-common: sepolicy: Label extcon nodes
...
Change-Id: Idc944f15a83f4f1385efce16d7617b57e1dbf3b1
2023-04-16 13:37:57 +03:00
Michael Bestas
b0083807a3
sm6225-common: sepolicy: Remove duplicate sysfs_wakeup nodes
...
Change-Id: I54afb6b48bc97d2c8376b5bdc3e4c924a73a2e68
2023-04-16 13:37:57 +03:00
Mohammad Asaad Akram
6495c38ca5
sm6225-common: Enable asynchronous library events in WPA supplicant
...
Change-Id: I3b028afa54605bd57d9fb5700d792cb9e5e0e76f
2023-04-16 13:37:57 +03:00
Alexander Koskovich
498c8a27e3
sm6225-common: Sort kernel cmdline and additional flags as a list
...
* This allows better readability and eases tracking further changes.
Change-Id: I3a23f7ccb238b5f0e18dfa18080f1ae8ff51109f
2023-04-16 13:37:57 +03:00
Bruno Martins
720e8838d2
sm6225-common: Inherit from QTI FCM
...
Change-Id: I0bdd4d63b60a1e29cdd69e71f7268932a105c16b
2023-04-16 13:37:57 +03:00
Michael Bestas
63ad5d2156
sm6225-common: Remove ro.opengles.version
...
This is set in init scripts
Change-Id: I8cf804050277846659a11e470efa2c7d35f6e688
2023-04-16 13:37:49 +03:00
Michael Bestas
1982480758
sm6225-common: Remove bdroid_buildcfg.h
...
As of I3c7aed1bdb45db728d319f7d757400e44d232283 the Bluetooth stack
defaults to reasonable defaults that should work for all devices.
Change-Id: I056d63c4c8a2727e384172e964dc0000b6773504
2023-04-14 05:22:18 +03:00
Bruno Martins
2e3af9588b
sm6225-common: Remove QTI BT stack bits
...
Change-Id: Ice6c2b0735aa7cb4b2e638a794c778883e706c97
2023-04-14 05:21:41 +03:00
Sal Savage
7fd93c6458
sm6225-common: Replace BTM_DEF_LOCAL_NAME with a sysprop
...
Change-Id: I2c90efac01e61500eb1be23bb0ae6f96c2acdc53
2023-04-14 05:19:11 +03:00
Alexander Koskovich
da8595804a
sm6225-common: Move BT profiles props to vendor
...
* Makes it GSI compatible
Change-Id: I8f7caf241d508af59c16482e6185c42f23f8a460
2023-04-14 05:18:18 +03:00
Nolen Johnson
da5da01b44
sm6225-common: bluetooth: Disable clean turn on
...
* This isn't needed anymore.
Change-Id: Ib77e5212099d82bbc07aea6044eb35109faff5cb
2023-04-14 05:17:16 +03:00
Michael Bestas
18814cf0ce
sm6225-common: Automatically add apk/jar/vintf fragments to PRODUCT_PACKAGES
...
Change-Id: Iaa9d66b0bbdc55f046ee1347cbf83c7eecebb35e
2023-04-14 05:16:04 +03:00
Bruno Martins
a3b781eca8
sm6225-common: overlay: Remove BT related configs
...
These have been migrated to sysprops in Android 13.
Change-Id: I34c1f6b882a61df6db95523997002512354d875e
2023-04-14 05:13:11 +03:00
Edwin Moquete
43039d5ef2
sm6225-common: Switch to legacy sepolicy_vndr
...
Change-Id: I13229c3057bf32c81b0fdace075f0791cb8ad380
2023-04-14 05:10:25 +03:00
LuK1337
ffcbe8280d
sm6225-common: Pull appropriate USB props from vendor_product.mk
...
Change-Id: I93b25c5d0989c83d1c8d7b7946a083771febdddd
2023-04-14 05:07:52 +03:00
Alice Kuo
44402c56d8
sm6225-common: Disable LE audio related profiles
...
Bug: 231671426
Test: build
Change-Id: I78e2ddfc636a0fa31b977b5f9ba9a7d7bc0f2a26
Merged-In: I78e2ddfc636a0fa31b977b5f9ba9a7d7bc0f2a26
(cherry picked from commit acb0b19b8348a4b9518d2f46b1599f423f620347)
2023-04-14 05:07:34 +03:00
Sal Savage
a399d4ed80
sm6225-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
2023-04-14 05:07:13 +03:00
Sal Savage
eb2c6e9743
sm6225-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
2023-04-14 05:06:48 +03:00
Sal Savage
7d26fc869c
sm6225-common: Update LE Audio profile properties to match spec and implementation
...
Bug: 217448211
Test: atest BluetoothInstrumentationTests
Change-Id: I9312b9b70b51603aca6da6f4081533ab73c1614d
2023-04-14 05:06:32 +03:00
Sal Savage
3164d99718
sm6225-common: Enable bluetooth profiles with product.prop
...
Bug: 217448211
Test: make -j
Change-Id: Idd7e52b7822915ed61299f1c0b29bf87ca0339fe
2023-04-14 05:06:07 +03:00
Woody Lin
db230330f9
sm6225-common: Enable zygote critical window
...
Bug: 141948707
Change-Id: I5dc57312118b0f6d95fc9fe164363ec7e15f1b51
2023-04-14 05:05:22 +03:00
Jimmy Chen
c2e0639266
sm6225-common: Move WiFi supplicant service definition to dedicated RC
...
Change-Id: I7c448ecb511a738903ebe3702fefdf2cb13c3be3
2023-04-14 05:04:29 +03:00
Michael Bestas
9fdcb2ad70
Revert "sm6225-common: Switch to QTI bt stack"
...
This reverts commit fabef5d511
.
Change-Id: I836f8c7be80dfe92a5d51e1ed286c91856eaf8f0
2023-04-14 05:01:56 +03:00
Michael Bestas
9b99c020f9
sm6225-common: Add hardware/motorola to lineage.dependencies
...
Change-Id: I4fbbf4d5c2d1f6369d261e01bc5d7b216c9b86e8
2023-04-14 05:01:56 +03:00
Bowgo Tsai
b7daf552c2
sm6225-common: Removing GSI keys
...
Those keys will be embedded into VtsSecurityAvb on host side
instead, to verify the GSI image used on the device.
Bug: 149806769
Test: build and checks those keys are removed from
$OUT/recovery/root/first_stage_ramdisk/avb/
Change-Id: I8a002ba6f1421fb460056ccae6572050bdb0ce3c
2023-04-14 05:01:56 +03:00
Michael Bestas
7e41610385
sm6225-common: Disable ramdumps
...
This should not be enabled in production builds.
Also resolves SELinux denials.
Change-Id: Idcfe7301a96d5831c61c02e5f5f448cd46a9481b
2023-04-14 05:01:56 +03:00
Hridya Valsaraju
a108236cca
sm6225-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-04-14 05:01:50 +03:00
Michael Bestas
122c791486
sm6225-common: init: Drop unused property triggers
...
Resolve SELinux denials.
Change-Id: I457c7ba325ce597cc56bf851236eeb2a00abb074
2023-04-10 19:18:18 +03:00
Alexander Koskovich
9b4c50d809
sm6225-common: init: Don't mount TraceFS twice
...
* AOSP already mounts TraceFS in system init, so mounting it twice
causes SEPolicy denials. See the comments in this change.
https://android-review.googlesource.com/c/platform/system/sepolicy/+/1294195
Change-Id: Ic5d9ac2dbd36e404a93a8d48aa0ea933fd7fa701
2023-04-10 19:18:18 +03:00
Ethan Chen
459eba2f23
sm6225-common: Remove cnss_diag
...
* This is for debug use only
Change-Id: I1977c3495a3467702b87ed6b3428514e15d487c3
2023-04-10 19:18:18 +03:00
Michael Bestas
266042304a
sm6225-common: sepolicy: Allow services log to /dev/kmsg
...
Change-Id: I4d77053acf022e0ca511e8090c3000e64871f27c
2023-04-10 19:18:18 +03:00
Michael Bestas
c870554729
sm6225-common: sepolicy: Resolve vendor_init_touch denials
...
Change-Id: Ia71c46662f12f3939e1a4d51b4ab06101f8cc9b7
2023-04-10 19:18:11 +03:00
Michael Bestas
30d50e935a
sm6225-common: sepolicy: Label ft3519 touchscreen sysfs
...
Change-Id: I9dc2738553f4f7540566f25c7131462d9a45dbf8
2023-04-10 19:18:11 +03:00
Michael Bestas
b4382fcf2e
sm6225-common: sepolicy: Allow GNSS HAL to access ISensorManager
...
Change-Id: Ib3f16ca6e0e848163dd680eeeb8a72a300753ca0
2023-04-10 19:18:11 +03:00
Michael Bestas
7481b43ee2
sm6225-common: sepolicy: Allow rild read mnt_vendor_file dir
...
Change-Id: I099d1ea9e0c690af7e96764852b2122ac8bf6ae9
2023-04-10 19:18:11 +03:00
Michael Bestas
670a0c4143
sm6225-common: sepolicy: Allow NFC HAL set NFC props
...
Change-Id: I8213df668c8ab8184d544f24359c2bcf04cfe85c
2023-04-10 19:18:11 +03:00
Michael Bestas
93fdcc5964
sm6225-common: sepolicy: Label additional power_supply sysfs
...
Change-Id: I275ccf6aa2369baae2e167e6ec33ceb3ef3d53e0
2023-04-10 19:18:02 +03:00