Michael Bestas
5cb5a1a942
sm6225-common: Move properties around
...
* Move whatever makes sense to vendor
* Eliminate system.prop
Change-Id: I2fd914463fec036b09ca673dfa2f72ff1992ca87
2023-04-20 19:12:32 +03:00
Michael Bestas
a3f3ca2931
sm6225-common: Update properties
...
* Remove properties that are same as defaults
* Add missing properties from stock
* Correct some properties from stock
Change-Id: I9ee3b8c1760e33b14a1b8a81a99c80ade35cdfd2
2023-04-20 19:12:28 +03:00
Michael Bestas
c8c5c3db01
sm6225-common: Sort properties
...
Change-Id: Ifd699f4be39f62e357621b4d3e892fc9589dd02a
2023-04-20 18:28:20 +03:00
Michael Bestas
a49c8ff4c0
sm6225-common: Remove unused system properties
...
* Move navigation bar/WiFi Display to overlays
* Remove unused blur prop
* Remove atfwd prop that is set in init scripts
Change-Id: Ia946b6391bcb6e12f6700f449d928ea86024c3a3
2023-04-20 04:38:04 +03:00
Michael Bestas
9344cd855c
sm6225-common: Remove deprecated IORAPD properties
...
IORap has been removed
Change-Id: Idcfefc42666195d6af7aeb66897b1d7b54ef9cda
2023-04-20 04:29:26 +03:00
Michael Bestas
718a266c49
sm6225-common: Remove unused media properties
...
Change-Id: I86a074de04b28143c78b7f8339427adb87c63e25
2023-04-20 04:26:11 +03:00
Edwin Moquete
a929343a30
sm6225-common: Remove unused hwui props
...
Change-Id: Ia6f7cdb9aa2a135c078c3d95c5914774be351975
2023-04-20 04:16:52 +03:00
Michael Bestas
91036a08a8
sm6225-common: Get rid of hardware_revisions.sh
...
This is useless for us and requires a bunch of SEPolicy changes.
Change-Id: I760cb419612f0a196a863f6bf1869e11341ab8d3
2023-04-19 20:35:11 +03:00
Michael Bestas
00cf17f1db
sm6225-common: sepolicy: Label init.mmi.boot.sh and resolve denials
...
Change-Id: I78dcfb47e28a20304e64880aeae1876d566d7924
2023-04-19 20:35:11 +03:00
Michael Bestas
458f933282
sm6225-common: init.mmi: Drop setprop ro.vendor.build.fingerprint
...
This doesn't work and it would be wrong if it worked.
Change-Id: I0d4123eb33c3a18eea36e01308df21764e2df3ac
2023-04-19 20:35:11 +03:00
Michael Bestas
28e3cb2afe
sm6225-common: init.oem.hw: Drop set_ro_vendor_incremental
...
Change-Id: Ic4d3d1775c437847f2aaecd87e504ba39bf93ac5
2023-04-19 20:35:11 +03:00
Michael Bestas
a44f1a0a7a
sm6225-common: init.mmi.touch: Drop SELinux permissive check
...
This part of the script causes unnecessary denials to show up when
we are in permissive mode.
Change-Id: I4b1fd469d0f37e8f31c998ee480b51078edd8a99
2023-04-19 20:35:10 +03:00
Michael Bestas
af60676a5a
sm6225-common: Add com.dsi.ant to vintf manifest
...
Fixes:
E HidlServiceManagement: Service com.dsi.ant@1.0::IAnt/default must be in VINTF manifest in order to register/get.
E LegacySupport: Could not register service com.dsi.ant@1.0::IAnt/default (-2147483648).
I android.hardware.bluetooth@1.0-service: Error while registering ANT service: -2147483648
Change-Id: Ifec99544b90dcf11f83e22c0436b89bb1a279e6a
2023-04-19 20:35:10 +03:00
Kevin Jeon
f87caaf5b6
sm6225-common: Update SurfaceFlinger pin on all targets
...
This change replaces the '/system/lib64/libsurfaceflinger.so' pin, as
the file was removed in ag/12524602. The updated pin relies on
go/aog/1552085, as system_service needs read access to SurfaceFlinger.
Bug: 176197656
Test: adb shell dumpsys pinner (coral)
- shows that /system/bin/surfaceflinger is successfully pinned
adb logcat | grep PinnerService (coral)
- no longer shows a file-not-found error in PinnerService
Change-Id: Iae2a96c5fe4b1f5698d21de9970140321d11c460
2023-04-19 20:35:10 +03:00
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