Commit Graph

89 Commits

Author SHA1 Message Date
Bruno Martins
3a783849fa sm6375-common: Remove QTI BT stack bits
Change-Id: Ice6c2b0735aa7cb4b2e638a794c778883e706c97
2023-01-16 02:54:36 +00:00
Sebastiano Barezzi
6e568f2f0c sm6375-common: Build default health HIDL recovery impl
Change-Id: I9710760a1b7895ed9a0c3da967c4b30ea655bf94
2023-01-16 02:54:36 +00:00
Sebastiano Barezzi
8a71d7d1cc sm6375-common: Remove non-existing or implicitly included IPACM packages
Change-Id: Iae06f09e101b237187638e76a6dd903ecdc2ca4f
2023-01-16 02:54:36 +00:00
Alexander Koskovich
1089a4c2ca sm6375-common: Drop PRODUCT_BUILD_SUPER_PARTITION
* Super image is not generated by a default 'm' build,
   but we at least want it for dist builds.

Change-Id: Ia12a5314632509fcd309d51ddf757efdc37499c3
2023-01-16 02:54:36 +00:00
Etienne Ruffieux
a110e34f25 sm6375-common: Removed audio A2DP from holi.mk
Bug: 220306859
Test: atest
Tag: #feature
Change-Id: I300369d36399ffb558b98bafc2478b872d09faba
2022-09-05 03:15:17 +00:00
kleidione Freitas
c8c47e5e69 sm6375-common: match Soundtrigger HAL version with stock
Signed-off-by: kleidione <kleidione@gmail.com>
Change-Id: If1679d8e5e7f659993c652d94097e18e1d3f3fe9
2022-09-04 23:16:45 +00:00
Sebastiano Barezzi
59a0c45f72 sm6375-common: Move to common Xiaomi fingerprint HIDL
Change-Id: I6c29a831e985ee440c92a98aad8d33f25b9e5b2d
2022-09-04 13:00:30 +00:00
Sebastiano Barezzi
228921a381 sm6375-common: rootdir: Merge all our custom init rc into a single one
Change-Id: I9e4f9fbcc76986a02288a439706affecde25594f
2022-09-04 13:00:29 +00:00
Sebastiano Barezzi
9d80b52b23 sm6375-common: Stop explicitely building netutils-wrapper-1.0
* Built by default

Change-Id: Id6666535bb8d0b84d2d0a8d19411fafa49df3d68
2022-09-04 13:00:28 +00:00
Sebastiano Barezzi
fa42d4466a sm6375-common: Build mtdservice interface lib from source
Change-Id: Ie739f283c4be1b77d57aaee1941ed46957da1d1a
2022-09-04 13:00:27 +00:00
Bruno Martins
2f132fe830 sm6375-common: Switch to source-built mlipay interface
Change-Id: I7daaaffd9fe7a870e42c1d882b52dc93b3231120
2022-09-04 13:00:26 +00:00
Sebastiano Barezzi
c33b3be144 sm6375-common: Move to common IFAAService
Change-Id: I71bfdacc4626d75d56aa12ec384f0f116d6d6ff2
2022-09-04 13:00:25 +00:00
Sebastiano Barezzi
9fb997ec60 sm6375-common: Drop QTI camera device usage
* qcom-camera topic hasn't been ported to 19.1
* Keep building vendor.qti.hardware.camera.device@1.0 interface lib, IMS stack and possibly camera HAL still needs it

Change-Id: I87bcd5b54ad986d5844df50de243fc1a18507198
2022-09-04 13:00:24 +00:00
kubersharma001
36a9303669 sm6375-common: Build vendor variant of libchrome
06-20 17:06:14.489 13542 13542 F linker  : CANNOT LINK EXECUTABLE "/vendor/bin/hw/android.hardware.nfc@1.2-service": library "libchrome.so" not found: needed by /vendor/lib64/ese_client.so in namespace (default)

Change-Id: I96f88c27feea3deeb535eef43533aef4b869734b
2022-09-04 13:00:16 +00:00
Sebastiano Barezzi
0d540c5c7b sm6375-common: Uprev bluetooth audio HIDL impl to 2.1
* We get free LC3 support, isn't it poggers?

Change-Id: I0f1713ee542102374183ef8088bcad62d3859c2f
2022-09-04 13:00:04 +00:00
Albert Wang
b054d177f6 sm6375-common: Update USB HAL to V1.3 implementation
Supports to enable/disable USB data signaling

Bug: 161414036
Test: Pass USB V1.3 HIDL tests
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: Iffe00f8753206fb66cd3ab96cae5aa5ad9c410cd
2022-09-04 13:00:04 +00:00
althafvly
5e2cb360a2 sm6375-common: Inherit launch_with_vendor_ramdisk for vAB
- veux has vendor_boot partition

Change-Id: I5c344890bc12ee769e2f27369a4151b469271a51
2022-09-04 13:00:03 +00:00
althafvly
d85cfe648d sm6375-common: Inherit vAB makefile from new dir
Change-Id: I10d914c833f460b7b1fab6d357e4b1e255098bac
2022-09-04 13:00:02 +00:00
Timi Rautamäki
364f7b2fa5 sm6375-common: Drop Snap
It's not included in 19.1

Change-Id: Ie3f908234cf7a3d94d33ad0e9d170d3738bb9752
2022-09-04 13:00:01 +00:00
Sebastiano Barezzi
529c3ed7ef sm6375-common: Uprev clearkey DRM HIDL to 1.4
Change-Id: Id0895fee70495913f57bc8408ea433660467a7c7
2022-09-04 12:59:58 +00:00
Sebastiano Barezzi
0b51b43e82 sm6375-common: Build vendor interfaces libraries
Change-Id: I0c8760ff6923c2d2a43ec058554d724ca6600f3c
2022-09-04 12:59:57 +00:00
Albert I
4cd824325b sm6375-common: Set Bluetooth MAC address using persist property
The idea is to allow us to not depend on stock QTI Bluetooth HAL, as MAC
addresses fetched from NVRAM by nv_mac script will be saved as hex-encoded
files. We can decode back saved files to then the Bluetooth one be set using
persist property so it can be read by Bluetooth HAL.

This is loosely based on similar techniques used on Mi 9 and ZenFone Max Pro M2.

Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: I74d07c3c3125a04962c37fe8bfcc8385d1fd3398
2022-09-04 12:59:52 +00:00
dianlujitao
38bb6f24b4 sm6375-common: audio: Enable AOSP bluetooth audio HAL v2
Change-Id: I4d12752ae5fb2829d6612647c8740c84967f5434
2022-09-04 12:59:51 +00:00
Ramii Ahmed
7c305cbdcb sm6375-common: import audio policy configuartion
* From veux_global-user 11 RKQ1.211001.001 V13.0.10.0.RKCMIXM release-keys

Change-Id: Id667a47b433a5491271575c2cbfce06dc6950fe7
2022-09-04 12:59:50 +00:00
Sebastiano Barezzi
a1f94a733b sm6375-common: Build default Trust HIDL
Change-Id: Icfecbd97df7adccc51406ae667fbc3cb10865a5a
2022-09-04 12:59:49 +00:00
Sebastiano Barezzi
a8c5f83656 sm6375-common: Build LiveDisplay HIDL
Change-Id: I6b767fe2269b679438c8fc0c49ceef9110a96a23
2022-09-04 12:59:49 +00:00
dianlujitao
98d44d5d8b sm6375-common: Support Alipay and WeChat fingerprint payment
* IFAA manager is based on OnePlusOSS, but adapted for Xiaomi's mlipay
   interface.

Change-Id: Ied17d6456561bb399e4dd4a868d57a48d2d51db2
2022-09-04 12:59:45 +00:00
Sebastiano Barezzi
6a821ad6b4 sm6375-common: Override HAL service and enable with nfc SKU
Change-Id: I3c33c50b65410a09a0e5529f3c9a94fbf36d8a31
2022-09-04 12:59:42 +00:00
Sebastiano Barezzi
58c1b2b484 sm6375-common: Build android.hidl.base@1.0
Change-Id: I5457ebbadd95e4c43af4f4dd2e1a1413a241d865
2022-09-04 12:59:39 +00:00
Chirayu Desai
e8ffa63dda sm6375-common: rro_overlays: Move CarrierConfig to RRO
Change-Id: Ia57acd244608848f70fdcc30d5694c919db60671
2022-09-04 12:59:38 +00:00
Ramii Ahmed
c8c02f0964 sm6375-common: build WFD packages
Change-Id: Id4e359e75ed70d0688bb234ce1b2bd39466d6a21
2022-09-04 12:59:37 +00:00
Arian
178997bfe1 sm6375-common: Add telephony system-ext privapp permissions
Change-Id: Iaaab0ff52cd22b3095b56501189d55a68cfdc32b
2022-09-04 12:59:37 +00:00
Ramii Ahmed
35b079eaec sm6375-common: Initial AOSP overlays
Change-Id: I89dfab269ca6284f51fa170470228b699eb5e759
2022-09-04 12:59:34 +00:00
TheStrix
155ede9c85 sm6375-common: gps: Disable xtwifi location services
Squashed with:
Author: Michael Bestas <mkbestas@lineageos.org>
Date:   Fri Jan 15 22:14:25 2021 +0200

    sm6375-common: Remove unused gps certificates

    * They are used by xtwifi-inet-agent which we disabled.

    Change-Id: I4fbf6e02276b508a27f320e630ddad3c9aada5a8

Author: Arian <arian.kulmer@web.de>
Date:   Thu Apr 1 01:09:38 2021 +0200

    sm6375-common: Remove xtwfi-client and xtwifi-inet-agent

    Change-Id: I232fd3b351f0e47b86f7d5d7b2a2bd0f28712d64

Change-Id: I70f39d8d611167f65bb3912590b05f8a8d121c80
2022-09-04 12:59:32 +00:00
Arian
287a8379ba sm6375-common: Build GPS HAL from source and import proprietary configs
Configs from veux V13.0.10.0.RKCMIXM
slim_daemon is disabled in izat.conf, hence drop it.

Change-Id: Ia1ed33f6250b898d149970389befe8033cc8eaf3
2022-09-04 12:59:30 +00:00
Ramii Ahmed
956f4d6883 sm6375-common: Adjust Biometrics HIDL for Xiaomi SM6375
* rename all manifest, init & relative files
* adjust chown's & chmod's to fit holi's fingerprint devices

Change-Id: I409847c845620555b8a9b7035682c2f88f8a60a7
2022-09-04 12:59:28 +00:00
Ramii Ahmed
c819742d8c sm6375-common: Import Biometrics HIDL from Xiaomi SM8250
Change-Id: I6a49ac55c29f3ad688f2c6af494a89bda9e809b3
2022-09-04 12:59:27 +00:00
Ramii Ahmed
9194250c07 sm6375-common: build servicetracker HIDL
Change-Id: I95ff25985705dfcd643379bb9f59e9f3dc41a574
2022-09-04 12:59:24 +00:00
Ramii Ahmed
9e85006452 sm6375-common: build Renderscript HIDL
Change-Id: I8347cb672d5040444b3a8e7e60dcdc10d72d30aa
2022-09-04 12:59:23 +00:00
Ethan Chen
18342ccb70 sm6375-common: Add AOSP RCS packages
Change-Id: Ic16d3b92820d246db73ad70ccaa0f4bc7f50e515
2022-09-04 12:59:22 +00:00
Ryan Mitchell
83c828a030 sm6375-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
2022-09-04 12:59:21 +00:00
Sebastiano Barezzi
50ba62fab5 sm6375-common: Initial lineage-sdk overlays
* Define hardware keys and add fastbootd to advanced reboot

Change-Id: I9d2728eeeef5c72488824670d2a4c2bde5db7d51
2022-09-04 12:59:20 +00:00
Cosmin Tanislav
7000f58e34 sm6375-common: import bootctrl hal and gpt-utils
Change-Id: If4914a4bd12e709f660b2331ce5ca1252201063b
2022-09-04 12:59:16 +00:00
Ramii Ahmed
9de1ac7398 sm6375-common: build QTI thermal HIDL
Change-Id: I03fc9b0af5fafbb67eb4fb8ca779586e39773c04
2022-09-04 12:59:16 +00:00
Ramii Ahmed
0a64aae4b8 sm6375-common: import Wi-Fi overlays from stock
* From veux_global-user 11 RKQ1.211001.001 V13.0.10.0.RKCMIXM release-keys

Change-Id: I6167eaa0d65a895a1f791a029c3e8b970e2983a0
2022-09-04 12:59:14 +00:00
David Ng
26004cfeff sm6375-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
2022-09-04 12:59:10 +00:00
Anton Hansson
3a6ef69502 sm6375-common: Enforce RRO for all resource overlays
Bug: 118823052
Test: make
Change-Id: I579d09480c7a482543ea616dd5c493d825bb98b1
2022-09-04 12:59:07 +00:00
Ramii Ahmed
6965c30887 sm6375-common: import Wi-Fi configs
* From veux_global-user 11 RKQ1.211001.001 V13.0.10.0.RKCMIXM release-keys

Change-Id: I47994739b930c932492c6608935dbaf150bc5bcb
2022-09-04 12:59:06 +00:00
Christian Oder
f3d0bc32cc sm6375-common: Add basic permission file for HotwordEnrollment
Change-Id: I2986ba3599fe65a8da27649d98d70cd548257aa8
2022-09-04 12:59:05 +00:00
Ramii Ahmed
64ce5c964b sm6375-common: import rootdir files
* From veux_global-user 11 RKQ1.211001.001 V13.0.10.0.RKCMIXM release-keys

Change-Id: I862cb3cd3f33f76d7049c5541b96c35ce7b490a9
2022-09-04 12:59:04 +00:00