Commit graph

197 commits

Author SHA1 Message Date
Max Weffers
38fe2f0836
clover: Fix bt mic while in call with fluence enable 2019-12-30 22:52:37 +01:00
Max Weffers
906bbd45a5
clover: audio: use Both bottom speaker for stereo audio 2019-12-17 17:39:04 +01:00
Max Weffers
da0459f87f
clover: audio: Import missing SND_Devices from MIUI 10
clover-user 8.1.0 OPM1.171019.019 V10.3.2.0.ODJCNXM
2019-12-17 17:25:03 +01:00
Sujin Panicker
c35e8f7825
clover: configs: Add speaker-safe mixer paths to all targets
Add mixer paths for speaker-safe device for sdm845,
sdm710, sdm660, & msm8998 targets.

CRs-Fixed: 2528564
Change-Id: Ie6686682f28075eaca6535e17011fb18477af80b
2019-12-17 17:17:54 +01:00
Prasad Kumpatla
250a93dac7
clover: audio: add mixer controls and be updation in platform_info
For custom_upsampler, add mixer controls and backend updation in
platform info in atoll, kona and steppe.

* fixes Headphones without mic on sdm660

Change-Id: I0c61024c444e9950568797779545f43e7ec3ba1b
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2019-12-12 07:57:21 +01:00
Max Weffers
c19d7bcca1
clover: Bring Audio_platform_info inline with CAF 2019-12-07 19:25:14 +01:00
pranavkapoor001
f382b057f4
clover: Audio: Fix Incall-Mic With Earphones
* E/audio_route(694): unable to find path 'voice-headset

Signed-off-by: pranavkapoor001 <pranavkapoor001@gmail.com>
Signed-off-by: TH779 <tongsj2333@gmail.com>
2019-12-07 14:09:47 +01:00
Aalique Grahame
650eba7be1
clover: configs: Unify audio configuration files
* fixes stereo dual mic
* refering to
https://github.com/LineageOS/android_hardware_qcom_audio/blob/lineage-17.0-caf-msm8998/hal/msm8974/platform.c#L676
and
https://github.com/LineageOS/android_hardware_qcom_audio/blob/lineage-16.0-caf-8998/hal/msm8916/platform.c#L538

CRs-Fixed: 2380934
Change-Id: Id88d0940fd0d720d55cb1ae67098fdedcc0d6935
2019-11-26 13:07:01 +01:00
Max Weffers
400edbb493
clover: Carbon-ify 2019-11-12 15:22:11 +01:00
Max Weffers
c99ef4328f
clover: Move Build fingerprint to common
* set correct Build description
2019-11-02 16:45:45 +01:00
Max Weffers
3b36b4ef0d
clover: remove useless override of product name 2019-11-02 15:23:47 +01:00
Max Weffers
989e3caaa7
clover: Move Audio FX Modules to common 2019-10-30 12:38:16 +01:00
Max Weffers
b7dc1c5d89
clover: Unify Adsp and Adsp Modules blobs 2019-10-30 12:37:50 +01:00
Stylogey
01ebc438b3
clover: overlay: Set a rounded corner radius
* Fixes the path of the assistant animation
2019-10-28 16:49:20 +01:00
UnparallelSKY
9aebc863de clover: Define first api level in the device tree instead in the common tree
All sdm660 xiaomi device didn't launched with oreo-mr1 and it will be easer for add other device (jason, lavender, nitrogen, platina, tulip and whyred) who didn't launched with oreo-mr1 in xiaomi-sdm660 org
2019-10-14 20:02:23 +02:00
Max Weffers
0d72613529
clover: Rename Fingerprint hal to match other Xiaomi Devices 2019-10-05 10:10:27 +02:00
Max Weffers
2727c8285a
clover: move Thermal-engine blobs to common 2019-10-05 09:02:36 +02:00
Max Weffers
b97a117784
clover: audio: Remove unneeded audio_platform_info_extcodec 2019-10-03 17:13:05 +02:00
Max Weffers
347eb232be
clover: audio: move audio policy configuration to common 2019-10-03 17:12:52 +02:00
Sujin Panicker
036b2dec51
clover: audio: Update audio files due 8916 & 8974 platform convergence 2019-10-03 17:12:37 +02:00
Max Weffers
fc541b1c84
clover: move sensors to common 2019-10-03 12:18:52 +02:00
Sujin Panicker
6d6655a7c7
clover: audio: Rename audio_platform_info to audio_platform_info_intcodec
* fixes Audio with new CAF Audio Hals
* refering to
b904fbec49
2019-10-03 12:17:16 +02:00
Rashed Abdel-Tawab
d2adce7434
clover: Remove deprecated vendorsetup.sh
Change-Id: I13d6b98e9520e8f61b261ffdf171c11624303122
2019-10-01 16:37:04 +02:00
Max Weffers
faa4567539
clover: mac: Change path for generate mac out of /mnt/vendor/persist 2019-09-26 11:07:36 +02:00
Dhananjay Kumar
92fa602ce4
clover: configs: Remove surround recording support from audio policy config xml
Remove surround sound recording support from audio policy config xml
as its resulting in CTS failure due to mismatch in channel index support
for record usecase.
Change-Id: Idf50b3f2e71c4209720e79c0248ce74bc1a0edf2
2019-09-26 11:07:36 +02:00
Erfan Abdi
0724652ce7
clover: Setup device soong namespace
Change-Id: I2e9c0ab68a0fe86ba18e3955e2823b87d88e835a
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-09-11 10:26:54 +02:00
Samyak Jain
28322472be
clover: config: Remove 2 instance support for "primary input"
As FM app no longer uses app loopback,
2 instances of "primary input" is not needed

Change-Id: I7d5e941e916bdf221798ca89360e4751d4af322b
2019-09-11 08:27:48 +02:00
Max Weffers
8c348a898e
lineage-ify Mi Pad4 2019-09-11 08:27:04 +02:00
mamarama9904
01b6577f5e clover: move and add PRODUCT_NAME override
if not, device name will be "havoc_clover".
2019-09-02 05:10:13 +02:00
Max Weffers
fa586d1daa
clover: prop: set persist.camera.preview.ubwc to 0
Fixes front cam with beautify enabled
2019-08-25 23:07:15 +02:00
guaiyihu
df889fc605
clover: keylayout: Map Button Jack keylayout to fix headset button controls
* input: sdm660-snd-card Button Jack as 
/devices/soc/soc:sound/sound/card0/input8
Change-Id: I26b4f9dd54856e4b43b9c79c81873641c7b7082b
2019-08-21 10:39:45 +02:00
ix5
00b16d9f08
clover: Remove "eng" from LOCAL_MODULE_TAGS
This has been deprecated for some time and will throw and
error in Android Q
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
Change-Id: I9e4caaa6f401a051e5edd341112dcc01c8f040b7
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-21 09:58:35 +02:00
Luca Stefani
72be253d70
clover: Make Android.mk search recursive
Change-Id: I3a05344f949eae581f1f17cc33b1df475d3e6760
2019-08-21 09:55:31 +02:00
dianlujitao
35102a6467
clover:media: Tweak media profiles
* Remove unsupported profiles in AOSP from media_profiles_vendor.xml:
   - vga
   - 4kdci
   - timelapsevga
   - timelapse4kdci
   - highspeedcif
   - highspeedvga
   - highspeed4kdci
   - qhd
   - 2k
   - timelapseqhd
   - timelapse2k
   - lpcm
   and use it as media_profiles_V1_0.xml
 * Remove never used CAF media_profiles_V1_0.xml.

Change-Id: I8309af0804caf32ab0870a7ad754b8d41dc9b544
2019-08-21 09:52:25 +02:00
Henrique Silva
7dec4c788f
clover: media_profiles: Remove highspeed profiles
* Fix slowmo on MiuiCamera
2019-08-21 09:47:26 +02:00
Max Weffers
20e556d96c
clover: overlay: Delete already defined overlays in common tree 2019-08-20 23:35:45 +02:00
Max Weffers
a92a1f06a6
clover: prop: enable hal3 for old camera blobs 2019-08-20 09:21:22 +02:00
Max Weffers
dfea66618a
clover: build use wayne fingerprint from 10.3.4 to pass safetynet 2019-08-20 09:19:23 +02:00
Max Weffers
6dc81f5c93
clover: recovery: Use toolbox instead of busybox 2019-08-14 09:12:40 +02:00
Max Weffers
0be4289165
clover: device: call new makefiles in common 2019-08-14 09:11:45 +02:00
Max Weffers
2c932aebb6
clover: hidl: move manifest.xml to common 2019-08-14 09:11:05 +02:00
Max Weffers
aabf50b4cf
clover: init: remove libinit from device 2019-08-14 09:10:00 +02:00
Max Weffers
44689a3729
clover: media: move device unrelated media configs to common 2019-08-14 09:09:08 +02:00
Max Weffers
ca56485ac6
clover: audio: move device unrelated audio configs to common 2019-08-14 09:08:07 +02:00
notsyncing
21bdd7d329
clover: Use USB audio policy configuration from AOSP
* This can greatly improve audio quality when an external
   USB DAC is connected.
Change-Id: I4eeaadc9e3dd26fb54dbfa5a1acf3599b3e6b16b
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-07-22 09:12:05 +02:00
Max Weffers
2bad8093e6
clover: prop: move vendor.mm.enable.qcom_parser to sdm660-common 2019-07-13 09:28:58 +02:00
PIPIPIG233666
0a492a7055
clover: audio: Add misound lib to audio effects 2019-07-12 22:39:07 +02:00
PIPIPIG233666
25012c4b77
clover: proprietary: Kang Audio FX modules from perseus V10.3.1.0 2019-07-12 20:12:31 +02:00
Max Weffers
dd8fdd6f3d
clover: Add camera model setup to init
*needed to get device name in taken photos
2019-07-12 19:06:07 +02:00
Max Weffers
cd74eb9331
clover: Use power profile.xml from stock rom 2019-07-10 11:04:57 +02:00