Commit Graph

165 Commits

Author SHA1 Message Date
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
Jeongik Cha
4125da4765 sm6375-common: Specify version for aidl_interface explicitly
Bug: 150578172
Test: m
Change-Id: I4a9bf218b92252403e9ebbe8f89b10ee1899283f
Signed-off-by: Sebastiano Barezzi <barezzisebastiano@gmail.com>
2022-09-04 12:59:55 +00:00
Georg Veichtlbauer
b08ee0f4ca sm6375-common: Remove CLANG compile flag
Defaults to true now project-wide.

Change-Id: I1e0ff5adadc889d81c90c816457a72d2621e4b5a
2022-09-04 12:59:55 +00:00
Nolen Johnson
62862416a5 sm6375-common: bluetooth: Disable clean turn on
* This isn't needed anymore.

Change-Id: Ib77e5212099d82bbc07aea6044eb35109faff5cb
2022-09-04 12:59:54 +00:00
Demon000
304f45617c sm6375-common: enable ODM value additions
Change-Id: I597f2ed5f7c7b19c0fbff96b7e610125413fd3c6
2022-09-04 12:59:53 +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
Ramii Ahmed
2cd7756d93 sm6375-common: import bdroid_buildcfg header from CAF
* from LA.UM.9.16.r1-10100-MANNAR.0

Change-Id: I02fb46d7c57ee75abb6bc0ba5321e81682418985
2022-09-04 12:59:51 +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