Commit Graph

36 Commits

Author SHA1 Message Date
b4e037ad8e sm6250-common: lights: Rebrand to Xiaomi SM6250
Change-Id: I3c2ec7f68b0d845ea15277e396194409f8ebe216
2021-09-09 18:46:21 +02:00
c755af1f0d sm6250-common: Pull in AOSP lights AIDL
* From ee34a8ce6e

Change-Id: Id83b242a850119c83f1b7b2d9b7a74928a7d5e67
2021-09-09 18:46:21 +02:00
3ccb8d04dd sm6250-common: Build IR HAL from source
Change-Id: I619157582ece00d6fb7adef00182347211716706
2021-09-09 18:46:21 +02:00
278e6e50e7 sm6250-common: Build IPACM libs
Change-Id: Idd968a3ea54f1f7fda1e3579bdbce95b96349d3a
2021-09-09 18:46:20 +02:00
6c8fa8c7bc sm6250-common: Add device input configs and keylayouts
And disable buttons.

Change-Id: If4c7d64f473d97e28652a6c7333be9f20c84b190
2021-09-09 18:46:20 +02:00
97feddb671 sm6250-common: Add basic permission file for HotwordEnrollment
Change-Id: I2986ba3599fe65a8da27649d98d70cd548257aa8
2021-09-09 18:46:20 +02:00
955090199f sm6250-common: Build libhwbinder
* Some libs use it

Change-Id: Ic40f730a4d498725459785b8c33ef7f5e8d0b13b
2021-09-09 18:46:20 +02:00
25560e511b sm6250-common: Build android.hidl.base@1.0
Change-Id: I5457ebbadd95e4c43af4f4dd2e1a1413a241d865
2021-09-09 18:46:20 +02:00
2fffef342c sm6250-common: Build health HIDL
Change-Id: I89c431c7ac87fe878537375cd811606d68f4bb1d
2021-09-09 18:46:19 +02:00
6fae12a724 sm6250-common: Build FM libs
Change-Id: If5d73c3a142f44f3b9af69dbe287c362117c254e
2021-09-09 18:46:19 +02:00
3559a3e6e2 sm6250-common: Build our fingeprint service
Change-Id: I8bd2a730e3fe4ef6b981094a54a2a608ca9113d7
2021-09-09 18:46:19 +02:00
1055cc7da4 sm6250-common: Build fastbootd
Change-Id: I1056d3ed331c1590dce00f980bc78c6a5e23a799
2021-09-09 18:46:18 +02:00
f0c75277aa sm6250-common: Build DRM HIDL
Change-Id: I51a46b9dd23b4de19708ad8ffbfba7f939230238
2021-09-09 18:46:17 +02:00
f42bea25a7 sm6250-common: Disable configstore
* it's finally deprecated in R
* ship disable_configstore because we have API level 29

Change-Id: Iea053348cdabc82a550333b8acf15054290efcd9
2021-09-09 18:46:17 +02:00
e0a9f12805 sm6250-common: Build display stack
Change-Id: I42bdf9aad5f6619469c5e11487b92b1837dd252d
2021-09-09 18:46:17 +02:00
8b18ceac19 sm6250-common: Use component-override to configure Bluetooth
Runtime Resource Overlays (RROs) can no longer change the value of
resources in manifest when read during PackagerParser.

This change uses component-override to enable the service by default.

Remove usages of profile_supported_* from overlays as they no
longer configure the enable state of Bluetooth components.

Bug: 135048762
Test: adb shell pm query-services \
      com.android.bluetooth/.avrcpcontroller.AvrcpControllerService
      adb shell pm query-services \
      com.android.bluetooth/.hid.HidDeviceService
      adb shell pm query-services \
      com.android.bluetooth/.sap.SapService

Change-Id: I284d254a921b14d1533745611a083f4b5a27d9dc
2021-09-09 18:46:17 +02:00
d0046db961 sm6250-common: Build camera libs
Change-Id: I9b5d730c54018614c8e28a946a1d234663339b0c
2021-09-09 18:46:16 +02:00
ff0b9f08be sm6250-common: Enable AOSP bluetooth audio HAL v2
Change-Id: I4d12752ae5fb2829d6612647c8740c84967f5434
2021-09-09 18:46:16 +02:00
946e762319 sm6250-common: Build bluetooth libs
Change-Id: I999905b2b7a0f7fe8f808e88c7ab428f1d50b263
2021-09-09 18:46:15 +02:00
1df35a84e5 sm6250-common: Copy audiopolicy configs from frameworks/av
Change-Id: If6f654269381e689edb8e242dcb89abef78990eb
2021-09-09 18:46:15 +02:00
1e92dc621b sm6250-common: Import audio configs from LA.UM.9.1.r1-09600-SMxxx0.0
Signed-off-by: Jyotiraditya Panda <jyotiraditya@aospa.co>
Change-Id: Icf78da31480320a6a101d44d841ca128c0aa1a47
2021-09-09 18:46:12 +02:00
3f85485d2d sm6250-common: Build opensource soundtrigger HAL
Change-Id: I956d53a67841a9e1e296de6b73f08ef2efac7470
2021-09-09 18:46:12 +02:00
7723d44913 sm6250-common: Build audio stack
Change-Id: Id1e28604c0c83093e309656a2059c517084984f5
2021-09-09 18:46:12 +02:00
351b5c52aa sm6250-common: Define Soong namespace
Change-Id: Ibea0e8fe5dbc26d8953a9735f0b38cf087805b76
2021-09-09 18:46:11 +02:00
77999ac063 sm6250-common: Clean up rootdir
* Remove unused/duplicated parts
* Make changes to do without other scripts

Co-authored-by: Demon000 <demonsingur@gmail.com>
Change-Id: I8e758337488dc19ecb47ec1b583fba33ef05882d
2021-09-09 18:46:05 +02:00
4a2375f2bc sm6250-common: rootdir: Import rootdir files
* From curtana-user 11 RKQ1.200826.002 V12.0.4.0.RJWMIXM release-keys

Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
Change-Id: Ibcf71853e6d45b4ca6948f5267f2af26bf8b812a
2021-09-09 18:46:05 +02:00
e5bcbf6389 sm6250-common: Add common config.fs AID/fs configuration file
Common config.fs/$TARGET_FS_CONFIG_GEN AID/fs configuration
file for all chipset inheriting from base.mk.

Since legacy device-specific android_filesystem_config.h and
config.fs do not co-exist, temporarily include config.fs only
if legacy file is absent.  Once all legacy, device-specific
files have been deleted, config.fs can be made unconditional.

Change-Id: Ie100d0cd9db808b82d99be7139f0709390c7f3a2
2021-09-09 18:46:04 +02:00
f7ff168a1d sm6250-common: Use 4GB dalvik-heap config
Change-Id: I086d4a5c09634c3c7bd51ec5d08dcaa1551511b4
2021-09-09 18:46:04 +02:00
b02c31e6de sm6250-common: Adding GSI keys
Bug: 112293933
Test: build and checks the keys are installed into ramdisk
Change-Id: I216f3900e9511e0929418af050ff964898d0aea1
2021-09-09 18:46:04 +02:00
27d0288422 sm6250-common: Add updatable_apex.mk
The product abstracts configs that need to be set to support updating of
APEXes.

Bug: 130418467
Test: m
Test: adb shell getprop ro.apex.updatable in Pixel 2 and 3
Test: adb shell /system/apex/com.android.apex.cts.shim.apex exists.
Change-Id: Id5aa944ceba6a6846308f1c18a08af8b3bb38589
2021-09-09 18:46:04 +02:00
51d80eea83 sm6250-common: Enable casefolding support on userdata
This enables casefolding, which is required for removal of sdcardfs.

Test: Wipe data and boot. lsattr /data/media, check for +F
Bug: 138322712
Change-Id: I020aa6bb9c121e7bda83c07bc9fb37dcfa26702c
2021-09-09 18:46:04 +02:00
8da899036a sm6250-common: Initial lineage-sdk overlays
Change-Id: I2aaa0c06b23b40aac120c325ce15fb0992463520
2021-09-09 18:46:03 +02:00
a2f4c15be9 sm6250-common: Initial AOSP overlay
[dereference23: Take values from curtana-user 11 RKQ1.200826.002 V12.0.4.0.RJWMIXM release-keys]
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
Change-Id: I4153efdbd5ac95a32607d8aba1b6bbbdb02765c0
2021-09-09 18:46:02 +02:00
9ba5b04e9e sm6250-common: Enforce RRO for all resource overlays
Bug: 118823052
Test: make
Change-Id: I579d09480c7a482543ea616dd5c493d825bb98b1
2021-09-09 18:46:01 +02:00
11d02d6e69 sm6250-common: Don't build full super image
Change-Id: I39e86181c3b57f614b61b339f0114100477862de
2021-09-09 18:46:01 +02:00
3e433303bf sm6250-common: Inherit proprietary blobs
Change-Id: Ib182c1a70449097e332c1233c7909fc419b65091
2021-09-09 18:46:00 +02:00