Commit Graph

324 Commits

Author SHA1 Message Date
Ramii Ahmed
b20ca537ae sm6375-common: sepolicy: switch to lineage hal macros for mlipay attribute definition
Change-Id: Ib6bc419b456f7d4d4277eb882e93e03bfff6d020
2022-09-04 13:00:33 +00:00
Ramii Ahmed
9764d3d544 sm6375-common: add missing mlipay sepolicy from Xiaomi-SM8250 tree
up to HEAD:e2aab9679fea15a8ee0bbf5876bbeb140292e29c

Change-Id: Ic68fb82a72954d8eb94314e79733ac71fbaec221
2022-09-04 13:00:32 +00:00
chaptsand
030ba3085f sm6375-common: sepolicy: Allow platform app to find SoterService
* Fix selinux denied of WeChat fingerprint payment

- E SELinux : avc:  denied  { find } for interface=vendor.qti.hardware.soter::ISoter sid=u:r:platform_app:s0:c512,c768 pid=3613 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:vendor_hal_soter_hwservice:s0 tclass=hwservice_manager permissive=0

Issue: https://gitlab.com/LineageOS/issues/android/-/issues/4701

Change-Id: I3176f8e709fb31aec16a31094b78f753d1d16b43
2022-09-04 13:00:31 +00:00
Lais Andrade
5f86c138ed sm6375-common: Set vibrator ramp down duration
Bug: 188431691
Test: manual
Change-Id: Id029afe5c0d6fa59425c4407da56fed69f083bc1
2022-09-04 13:00:31 +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
5ec633b1f6 sm6375-common: Remove TARGET_ENABLE_MEDIADRM_64
* It's only used when building drm@1.0 HIDL

Change-Id: I06412e2dd2bb48d798be4ef6e9a26a17b65277a7
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
kubersharma001
13423d6a9b sm6375-common: Add missing FM blobs
Change-Id: Idd9a4213c2018bb79cb9ef58cae46567f97abcd1
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
90ecc81193 sm6375-common: overlay: adjust values & add missing one's
- ref:
       1. ghostrider-reborn/android_device_xiaomi_lisa
       2. ArrowOS-Devices/android_device_xiaomi_sm8350-common
 - Adjust and cleanup as per veux

Change-Id: I9fc92e55c1af3e3820670523b59f3fb04270bd66
2022-09-04 13:00:23 +00:00
Doctor Strange
ca537b7847 sm6375-common: disable STATE_DOZE
- Our device doesn't support doze
- Fixes AOD flickering issues

Change-Id: I44855e85f7d9e26666a8efb79afc202c69770615
2022-09-04 13:00:22 +00:00
Ramii Ahmed
13d9f91d56 sm6375-common: props: decommmonize surfaceflinger color mode property
Change-Id: I2fb75394344d4a7a16eb683e99432913f72ea91b
2022-09-04 13:00:22 +00:00
kubersharma001
9359758acb sm6375-common: Import missing media props from stock
Change-Id: I6b7d0b928e3d368ce3253f6716f3df6fc628ca02
2022-09-04 13:00:21 +00:00
Andrzej Perczak
d3b65f56d0 sm6375-common: Disable radio redir_party_num feature
Caused incoming caller number not being parsed correctly by Phone app on
VoLTE and VoWiFi. No idea why Xiaomi enabled this ancient prop.

Signed-off-by: Jyotiraditya Panda <jyotiraditya@aospa.co>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Change-Id: Ie3e3459558be2bad2938aee02e1aa25da47ecd31
2022-09-04 13:00:20 +00:00
Nicolas Geoffray
16779d88de sm6375-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: Ifead4354d29b3ce658b2f5771b778a050b0579b5
Merged-In: I6627afc390f8dcacc197680dcc4917e2ac5bc090
2022-09-04 13:00:19 +00:00
kubersharma001
4878b2099d sm6375-common: Remove config_jitzygoteBootImagePinnerServiceFiles list
- obsolete on android-12

Ref: I97738435edd07e8b6770372cd935218c1a9cd984
Change-Id: Ibbc8d35961d919ccdc454ef2043824f38191637e
2022-09-04 13:00:19 +00:00
Ido Ben-Hur
76fa29199f sm6375-common: overlay: Ignore cne in location indicator
Change-Id: I6b1a55860ef933bfaf1f910da3829fd3c3850728
2022-09-04 13:00:18 +00:00
Sebastiano Barezzi
297371448c sm6375-common: Kill console parameters
Change-Id: I69a14e00cfc3291175351259f2d8cbd6b0dc827a
2022-09-04 13:00:17 +00:00
Alexander Koskovich
ac396da515 sm6375-common: Remove virtual framebuffer.
* It's largely for testing purposes and it consumes
   a large amount of memory. If your hardware doesn't
   have graphics then it can be useful, which isn't the
   case for shipped devices.

Change-Id: I2348718ad3afba846498572161fa7e83dd8b7ce9
2022-09-04 13:00:16 +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
hkuang
509fed3481 sm6375-common: Update the transcoding operating rate
Bug: 175231451
Test: CtsMediaTranscodingTestCases:MediaTranscodeManagerTest
Change-Id: Id25ce60b58ab29a8670695c77be20dd53d63981a
2022-09-04 13:00:15 +00:00
kubersharma001
c4b7cc6c9d sm6375-common: Import product props
- V13.0.8.0.RKCMIXM

Change-Id: I54c4a00971a42750a4b0809913250f72b0b7c167
2022-09-04 13:00:14 +00:00
Ramii Ahmed
d0b913a0b4 sm6375-common: libinit: Adjust detection prop to better suite xiaomi sm6375 devices
* Xiaomi devices on SM6375 platform use ro.boot.board_id to identify different SKU's, let's mirror miui in that
* but it also hardcodes fingerprints based on region, we can recreate the same effect by using the region prop ro.boot.hwc

Change-Id: I00dd84979db6066ad18bc36b619795de751925f8
2022-09-04 13:00:13 +00:00
kubersharma001
12665a7ea6 sm6375-common: Set audio volume step levels
Change-Id: Ie4f78b6a13cb40cb67ce67f0269c2a94cc900326
2022-09-04 13:00:13 +00:00
kubersharma001
98cc1071e4 sm6375-common: Remove recorder-max-base-layer-fps prop
- not valid

Change-Id: Ib4fa4e0f878402808ce1ea8340df32eb877ef418
2022-09-04 13:00:12 +00:00
Chenyang Zhong
411f99fed7 sm6375-common: audio_policy_configuration: Remove quad mic
Change-Id: Ia29ac831f57bc958b78163090c12e340f3b3b658
2022-09-04 13:00:11 +00:00
Jasmine Cha
d59b987ce9 sm6375-common: audio: correct routing order for voip output
Routing primary output before voip_rx output will cause unexpected
RX/TX path suddenly and unmuted voice stream during when system
plays touch sound and switches path between handset and handsfree.

Bug: 154290829
Test: manual test in VoIP

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ia60802ec887f0dfeaa0f93d151ba2f2c50e0d41d
2022-09-04 13:00:10 +00:00
LuK1337
98341de832 sm6375-common: audio: Disable ULL mode
- Ultra low latency playback is currently broken. Crackling audio
  can be well noticed while playing WhatsApp audio messages or even
  during some games.

- This patch routes all audio that normally used audio-ull-playback
  paths to low-latency-playback paths instead, thus meaning we're
  switching from ULL to LL mode.

Change-Id: I8adf8a67a6151843cff5860f430d87727ad8f4c2
2022-09-04 13:00:10 +00:00
Adithya R
e257e9c5cf sm6375-common: audio: Nuke haptics output from audio policy
- doesnt work and kills alarm audio when vibration is enabled

Change-Id: If8b4de516f60b0a4187b976c8d86b93e58119455
2022-09-04 13:00:09 +00:00
kleidione Freitas
e5900f74b3 sm6375-common: props: Set drm.service.enabled
Signed-off-by: kleidione <kleidione@gmail.com>
Change-Id: Ib9248d9e7101998975567e23dd6092dbef6b7410
2022-09-04 13:00:08 +00:00
kubersharma001
5641983d94 sm6375-common: Set netflix custom property
Change-Id: Ifabc0afcbd93994b3b1f754928a37570e032cc39
2022-09-04 13:00:07 +00:00
Ramii Ahmed
f30b185105 sm6375-common: clean-up & rearrange proprietary-files
Change-Id: Ie5d2024ae626dde7036b8b542697e1d328d14d67
2022-09-04 13:00:07 +00:00
Ramii Ahmed
f2beb6ab85 sm6375-common: FCM: add missing bluetooth audio entry
Change-Id: Id3f85c4cb895851d01fd48a6796a0e761fc505e8
2022-09-04 13:00:06 +00:00
Edwin Moquete
6a4288e605 sm6375-common: Set TARGET_TAP_TO_WAKE_NODE
Change-Id: I971349c0aaf6b11231ce79cd3260dd758bd88a2b
2022-09-04 13:00:05 +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
Michael Wright
255e39c4fa sm6375-common: overlay: Enable haptic text cursor
Support has landed in WebView, so time to turn it on in framework!

Change-Id: I064cf3512928637895932b3405adaec74b1ceed2
2022-09-04 13:00:01 +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
Kevin Jeon
d8b5ea274a sm6375-common: Update SurfaceFlinger pin
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
2022-09-04 13:00:00 +00:00
Nicolas Geoffray
2463dcffcc sm6375-common: Remove odex/oat files from pinner list
Change-Id: Ie42190ebb02dd898f2f4f6ae126db2b0375f5ebd
2022-09-04 12:59:59 +00:00
Wilson Sung
a5717904a5 sm6375-common: Set SOC properties for SM6375
Bug: 158284209
Bug: 180589452
Change-Id: I31ec2aff20a4efb3c502ee5c8c6463e31c892bd5
Signed-off-by: Wilson Sung <wilsonsung@google.com>
2022-09-04 12:59:58 +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
Sebastiano Barezzi
fe96c0f0c1 sm6375-common: BOARD_PLAT_* -> SYSTEM_EXT_*
Change-Id: I8a711202483ae2f0a7892cea577dec24ab71d201
2022-09-04 12:59:56 +00:00