Commit Graph

196 Commits

Author SHA1 Message Date
Sebastiano Barezzi
65dd214490
sm8250-common: Require opt-in for FOD
Change-Id: I71523b61b47cb2d454d38ba5ba8aeb08e7b93d11
2021-04-25 02:49:48 +02:00
LuK1337
cd09fddfab
sm8250-common: Enable TARGET_QTI_USB_SUPPORTS_AUDIO_ACCESSORY
We can handle analog audio just fine, no need to
inform the user that their device is not supported.

Change-Id: I7dda01e7bd2560e8c782245dea3f3b7519c3b0b6
2021-04-25 00:55:02 +02:00
Sebastiano Barezzi
a520e21b9e
sm8250-common: Build fingerprint HIDL
Change-Id: I2e18fc9891610e6285f29d5d43d6728f6057e65c
2021-04-25 00:26:38 +02:00
Sebastiano Barezzi
dd7ebf7f90
sm8250-common: biometrics: Add fingerprint devices permissions
Change-Id: I1c748b4f4e269bff76aa17af8d407ecb8739ab50
2021-04-25 00:26:38 +02:00
Sebastiano Barezzi
f9e1ba11b8
sm8250-common: biometrics: Wire up Xiaomi FingerprintExtension
Co-authored-by: C457 <android.c357@gmail.com>
Change-Id: Ic94f7b3fd28f7db81695e47f54ce6fa89248bde9
2021-04-25 00:26:38 +02:00
Sebastiano Barezzi
5ac57d355f
sm8250-common: biometrics: Implement custom HAL loading list
Change-Id: Id545287bed468f39738dbaa4c069660047055585
2021-04-24 08:54:27 +02:00
Sebastiano Barezzi
54d643ec3d
sm8250-common: biometrics: Rebrand to Xiaomi SM8250
Change-Id: If1106b9567ec5e138e1404dc49f99d63f7fb6c84
2021-04-22 15:52:30 +02:00
Sebastiano Barezzi
4dc003b74a
sm8250-common: Import AOSP fingerprint HIDL service
Change-Id: I849c9f988aad708ece5746f0b91878d962de351c
2021-04-22 15:17:29 +02:00
Panchajanya1999
b02b30b969
sm8250-common: wifi: Disable WLAN Firmware loggings
Change-Id: I111943a641670ea052f68148103e377771297d77
2021-04-22 15:17:29 +02:00
LuK1337
739dd66e05
sm8250-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: I1f029d7df9a306f411598b0cffc536409cb2ae95
2021-04-22 15:17:29 +02:00
RealSchnedi
4fb85b40f3
sm8250-common: Import some audio props from Coral
* This fixes in-call loudspeaker volume control

Change-Id: I7a97dfd76b930b6c70161aecbf1ac6203f31ecf4
2021-04-22 15:17:29 +02:00
jjpprrrr
355cd33f1e
sm8250-common: props: Enable Seamless Transfer
It allows users to switch between audio output devices by tapping the music
note icon on the notification of a music app

Change-Id: I7c5479976206b3142c27c88b8545d60d1a47da7d
2021-04-22 15:17:29 +02:00
luk1337
56cc5ac2f5
sm8250-common: fod: Update LOG_TAG
Change-Id: I0ce3291f6af18da5fa684304fdff362a93669c7f
2021-04-22 15:17:29 +02:00
Sebastiano Barezzi
b342c72524
sm8250-common: Unset BUILD_BROKEN_DUP_RULES
* Nothing in common tree is duplicated, we can now remove it

Change-Id: I26a7e4b8a6b07b4cf78ee35cfa816ab5d24f0e20
2021-04-22 15:17:29 +02:00
Sebastiano Barezzi
2138cd4d13
sm8250-common: Build touchfeature HIDL lib from source
Change-Id: Ib92a8af07422873dd9667ebfdbb25a4417b1abde
2021-04-22 15:17:29 +02:00
dianlujitao
748d1110ea
sm8250-common: Switch to source built vendor.qti.hardware.perf
* https://review.lineageos.org/c/LineageOS/android_vendor_qcom_opensource_interfaces/+/303909.

Change-Id: I1dc96e4a51c4c81dd847c59a58ec670d89054f64
2021-04-22 15:17:28 +02:00
Sebastiano Barezzi
7b386e476d
sm8250-common: Update rootdir from CAF
* From LA.UM.9.12.r1-11000-SMxx50.0
* Remove Xiaomi's crap while at it

Change-Id: I05b9ca07f4ec9be475388a225b909c675a2b9959
2021-04-22 15:17:28 +02:00
Sebastiano Barezzi
ea0975ee4a
sm8250-common: Use QTI USB init configs from USB HAL repo
Change-Id: I966d251a2756c9d9e91f621cbc5872448d022de4
2021-04-22 00:48:55 +02:00
Sebastiano Barezzi
82d6a9c205
sm8250-common: Remove unneeded rootdir files
Change-Id: I6d65371667b7b375f9e536bcae2cf62973f60bca
2021-04-22 00:48:54 +02:00
Sebastiano Barezzi
252cb57bb8
sm8250-common: Move SSC sensor script to proprietary-files.txt
Change-Id: Iaf0a7c653b0e8655eddaca9aa869731744006c3f
2021-04-22 00:48:54 +02:00
Sebastiano Barezzi
58ec93f5a8
sm8250-common: Move seccomp policy to proprietary-files.txt
Change-Id: Ic5130a08e873558f694a41414abbd769c1a55ccf
2021-04-22 00:48:54 +02:00
Sebastiano Barezzi
84ab096e95
sm8250-common: Move GPS configs to proprietary-files.txt
Change-Id: Ia5ae3e3d3ccd70366608d365ea167fbe11b3ea04
2021-04-22 00:48:54 +02:00
Danny Baumann
d6767ff446 sm8250-common: Enable call recording
Change-Id: I1b4478b330b13cf5d0fe1ed0d40f43e4b3825f33
2021-04-14 10:10:47 +02:00
Sebastiano Barezzi
bd6d215f11
sm8250-common: Update blobs from lmi V12.2.6.0.RJKMIXM
* From lmi-user 11 RKQ1.200826.002 V12.2.6.0.RJKMIXM release-keys

Change-Id: I5bf78d123397e39c80a56810a83374affe289cc4
2021-04-12 22:55:01 +02:00
Sebastiano Barezzi
263f491c12
fixup! sm8250-common: Update blobs from lmi V12.2.5.0.RJKMIXM
Change-Id: I0f37339ecad5873649509f8d720d107b924aaa4d
2021-04-12 19:36:50 +02:00
Wang Han
6ce1dded34
sm8250-common: Add missing config_intrusiveNotificationLed overlay
Change-Id: I3138140812d85074eca058bcc2c1c69160daaa7c
2021-04-11 22:12:13 +02:00
Sebastiano Barezzi
e034bbae4c
sm8250-common: Update audio props from lmi stock
* From lmi-user 11 RKQ1.200826.002 V12.2.5.0.RJKMIXM release-keys

Change-Id: I4500e4b44c5e36c5ac2aa5c37c96e9ff3b54d047
2021-04-11 20:10:45 +02:00
Sebastiano Barezzi
2887577f80
sm8250-common: Drop displayfeature
Co-authored-by: Ramii Ahmed <ramy@ahmedramy.com>

Change-Id: I78719e1f66aa0bc6df366424e3aeb92433d3d899
2021-04-10 23:45:19 +02:00
Jaideep Sharma
f0064f055d
sm8250-common: provide support for callscreening for kona/lito.
add support for callscreening support in audio_policy_configuration
- add mixer paths related to proxy ports needed in call_screening

Change-Id: Ib0c220fa44c23454e71e772bfa406bd82c06b90d
2021-04-01 01:39:47 +02:00
Lakshman Chaluvaraju
d282ea9cbe
sm8250-common: Enable Mono channel support for voip over audio path
Add changes to support mono channel configuration
for voip over audio path.

Change-Id: Ib454d24a4017d3f91d429d47c52d4f86e5a18e97
2021-04-01 01:39:47 +02:00
Sebastiano Barezzi
88cf7693b2
sm8250-common: audio: Also add Line Out routings
* From instantnoodle

Change-Id: I7ec1a41d422ad1902d1e9c680869d3b53116fabd
2021-04-01 01:39:47 +02:00
Jasmine Cha
092a27da8e
sm8250-common: audio: Add hotword input for hotword mic concurrency
Bug: 126595113
Bug: 129733664
Bug: 133123985
Bug: 130316160

Test:
 (ST: sound trigger, VO: VoIP, PH: phone call,
  NR: media recording, PL: playback music)
 ST->VO (MO/MT),  ST->PH (MO/MT)
 ST->NR->PH (MO/MT), ST->NR->VO (MO/MT)
 ST->PL->PH (MO/MT), ST->PL->VO (MO/MT)
 ST->NR->PL->PH (MO/MT),  ST->NR->PL->VO (MO/MT)

Change-Id: I11513994c7a34364de38e00fc8ff999efe3dbb6c
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2021-04-01 01:39:47 +02:00
Sebastiano Barezzi
08732c250c
sm8250-common: Decommonize display calibration data
Change-Id: Id5848074a0e378b6d84a7a6260dff65b43bd2f92
2021-04-01 01:39:47 +02:00
Sebastiano Barezzi
1d10eddb92
sm8250-common: Label /dev/ir_spi
Change-Id: I75f980c424b11583fc097da1481f4c9ee7ba1b79
2021-04-01 01:39:47 +02:00
Sebastiano Barezzi
662e7c6833
sm8250-common: Import libcapiv2svarnn.so
Change-Id: I9cb0191111fe97821f73bbddb6ca0e9e40c34a04
2021-04-01 01:39:47 +02:00
Sebastiano Barezzi
b9978e12fa
sm8250-common: audio: Remove misoundfx
Change-Id: I0a93dbfced55d851d3a7e5b57c1ff9a251777094
2021-03-31 11:39:20 +02:00
Sebastiano Barezzi
c1d245bfbc
sm8250-common: audio: Add missed wired headphones routings
Change-Id: I2789f1a796da8c34d9c8cdf874ec62b3c5261a66
2021-03-31 11:39:20 +02:00
Sebastiano Barezzi
6e848ff338
sm8250-common: Use AOSP A2DP Input config
Change-Id: I654283643c28f2ea087d6bfbda807d1abc7c34af
2021-03-31 11:39:20 +02:00
Sebastiano Barezzi
794b5cc797
sm8250-common: Import recovery init files
* From lmi-user 11 RKQ1.200826.002 V12.2.4.0.RJKMIXM release-keys
2021-03-29 09:29:20 +02:00
Sebastiano Barezzi
c2c941216a
sm8250-common: Initial common sepolicies
* Adapted from xiaomi-sm6150 and xiaomi-sm6250

Co-authored-by: Pig <pig.priv@gmail.com>
Co-authored-by: Zinadin Zidan <zidan.roking@gmail.com>
Co-authored-by: Utsav Balar <utsavbalar1231@gmail.com>
Co-authored-by: Ramii Ahmed <ramy@ahmedramy.com>
Change-Id: Ie64d863d6d36bdebb79d328de9ede5826b1cd486
2021-03-29 08:27:20 +02:00
Sebastiano Barezzi
a7a2424315
sm8250-common: Edit wifi symlinks for CAF qca_cld driver
Change-Id: Ia83f27c125ea2f672a787c15c4cf639f47b21a66
2021-03-28 05:07:07 +02:00
Akhil Narang
c870ec5c7c
sm8250-common: releasetools: flash vbmeta_system as well
Change-Id: I2ecbf573fc7fa14ed7abff615c5353934f56aaee
2021-03-28 05:07:07 +02:00
XiNGRZ
725e027d3d
sm8250-common: releasetools: Ship and update vbmeta image
Change-Id: I8bb4da99945eceae3beab77489e6b9e2a47ab972
2021-03-28 05:07:07 +02:00
XiNGRZ
5aa2996a9d
sm8250-common: releasetools: Add dtbo image to the output zip if present
Change-Id: I8bb4da99945eceae3beab77489e6b9e2a47ab972
2021-03-28 05:07:07 +02:00
Sebastiano Barezzi
5055f65485
sm8250-common: Update rootdir from lmi V12.2.5.0.RJKMIXM
* From lmi-user 11 RKQ1.200826.002 V12.2.5.0.RJKMIXM release-keys

Change-Id: Ia42b7def56f44d8688b3d56b7573ebcef15f188f
2021-03-25 00:34:10 +01:00
Sebastiano Barezzi
47d8a188d6
sm8250-common: Update blobs from lmi V12.2.5.0.RJKMIXM
* From lmi-user 11 RKQ1.200826.002 V12.2.5.0.RJKMIXM release-keys

Change-Id: Ia42b7def56f44d8688b3d56b7573ebcef15f188f
2021-03-25 00:18:49 +01:00
Dan Pasanen
dd1e933e0e
sm8250-common: vibration: Enable config_vibrateOnIconAnimation
* Need those sexy vibes.

Change-Id: If5671135879f6f4069d0ed881b41b0a243890349
2021-03-12 08:42:30 +01:00
Sebastiano Barezzi
7c4982bf5e
sm8250-common: Don't use custom format for RAW10
Change-Id: I8516b17ad33f31eb0abe922646f1d31ea5eba1fa
2021-03-12 08:42:30 +01:00
Sebastiano Barezzi
ef8568548a
Revert "sm8250-common: Use prebuilt gralloc libs"
This reverts commit d333e8805b.

Change-Id: I729c17c656eadc1fcedbfe667a900e74779825a2
2021-03-12 08:42:30 +01:00
Sebastiano Barezzi
b6db17f87d
sm8250-common: Kill console parameters
Change-Id: I69a14e00cfc3291175351259f2d8cbd6b0dc827a
2021-03-12 08:42:30 +01:00