Commit graph

266 commits

Author SHA1 Message Date
Max Weffers
f274feb786
clover: light: Move lights hal to sdm660-common 2018-12-31 10:58:05 +01:00
Max Weffers
cb07d4b10d
clover: set havoc maintainer prop 2018-12-28 19:36:37 +01:00
Max Weffers
c5fafd4ae5
clover: mount radio apps like dialer and messaging to dev/null 2018-12-28 14:24:56 +01:00
rcstar6696
5edb4fc7fa clover: media: update and use correct media profiles 2018-12-26 00:01:41 +01:00
rcstar6696
491aad6a19 clover:init: Remove fingerprint feature for mi pad 4 which has no fingerprint 2018-12-25 21:52:45 +01:00
rcstar6696
d69eab2915 clover: reorder device.mk and BoardConfig.mk 2018-12-25 19:24:57 +01:00
rcstar6696
2ab78ba47d clover: rebrand to xiaomi-sdm660 project 2018-12-25 18:26:17 +01:00
Max Weffers
50888520d3
clover: prop: change prefix of props to vendor" 2018-12-23 11:00:22 +01:00
Max Weffers
788d759a8d
clover: update product brand to xiaomi for google play store fix 2018-12-23 10:15:59 +01:00
Max Weffers
f92bdac02c
clover: Update sensor_def_qcomdev.conf based on jasmine pie release 2018-12-22 10:23:01 +01:00
coderzstas
53f28dc43b
clover: move bluetooth config to common 2018-12-22 10:21:43 +01:00
coderzstas
574a616f2c
clover: update hidl manifest for new radio blobs 2018-12-22 10:09:41 +01:00
Max Weffers
a435491baa
clover: Havoc-ify 2018-12-20 13:04:20 +01:00
coderzstas
2daaa7cc77
clover: light: start light service with new vendor.service name 2018-12-18 15:31:48 +01:00
Max Weffers
c5d68678e7
clover: Add missing on boot declaration in init.device 2018-12-17 18:03:44 +01:00
Max Weffers
9ab6a0161e
clover: remove AtFwd hal and update to version 2 of hidl manifest 2018-12-17 16:03:42 +01:00
Max Weffers
a6d447430c
clover: audio: fix include of usb audio config 2018-12-15 09:07:04 +01:00
Max Weffers
d0e1a73c13
Revert "clover: Use voice speaker ACDB id for speaker"
This reverts commit 7c657543be.
2018-12-09 10:31:23 +01:00
Max Weffers
43dbacc9d7
clover: audio: remove double defined bta2dp configs and use aosp configs for it 2018-12-09 10:31:06 +01:00
Max Weffers
3b50159ce0
clover: import init.device.rc instead of the prop import 2018-12-09 10:29:33 +01:00
Max Weffers
65b9cc0354
clover: Add script to extract mac from /persist/wlan_mac.bin 2018-12-06 20:19:42 +01:00
Max Weffers
f1a50f3598
clover: commonize init.rc and init.sh files and move them to sdm660-common 2018-12-03 16:39:27 +01:00
Max Weffers
3dd0b255e2
clover: move sec_config to common repo 2018-12-03 13:21:04 +01:00
Satya Durga Srinivasu Prabhala
a3c0af046d
clover: sec_config: Allow sensors group process to QMI Sensor services
Enable Sensors QMI services for sensors process groups.

CRs-Fixed: 431081

Change-Id: Ibbdb0e07d9497e1809e7ef817e8400d4a9e4f8c1
2018-12-03 13:14:09 +01:00
jkalsi
de1853c044
clover: allow rfs_shared and QDMA QMI service
Change-Id: I2d065eadf051e1bff0c252891a7818e871be6bee
2018-12-03 13:13:15 +01:00
Kineret Berger
87f522ea1d
clover: add tloc daemon to sec_config
in order to communicate with the modem we need permission for IPC router.
adding tloc daemon group (1026) to service 0x10

Change-Id: I3ab4a37bbed3fd496a73ffa7d12f908d8d8b8c36
CRs-Fixed: 1106225
2018-12-03 13:12:21 +01:00
Brandon
6ca2a307ef
clover: Data IMS: A new HAL for passing SIP Call info headers to Clients
Desc: Permission to access the QMI and HAL from RCS Daemon

Change-Id: I45d944376179d0f6f6704563ac3da631a3fa9c64
2018-12-03 13:10:37 +01:00
Rohit Rangwani
4b5bb89d4f
clover: Remove NFC data directory creation
Removed NFC data directory creation to fix
vendor_init access denial issue.

NFC data directoty is already being created
by system core init.rc.

Change-Id: I7ebb88dc7b2df988a8af477baa81fe9253030ffb
2018-12-03 13:07:42 +01:00
Sridhar Parasuram
0314f89167
clover: Address dac_override and dac_read_search issues in init.qcom.sh
init.qcom.sh accesses files owned by groups radio, system and hence
the groups have been added.

Change-Id: I535eeaf42f38532ec6de46eb57f3cc0e1d959a47
2018-12-03 13:07:00 +01:00
RAJATH R
c448ab21c9
clover: Create new directory for Bluetooth SoC dump
Create new directory for Bluetooth SoC dump/logs
collection for new Android P dump format

Change-Id: I1257518fa12420a6d8d5bb66f15782ab97582f36
2018-12-03 13:06:15 +01:00
Karthik Gopalan
7e98e89967
clover: Swap disk creation
Create swap disks

CRs-Fixed: 2264866

Change-Id: Id57a4e8d413c7dafb49d073980f10010003f616e
2018-12-03 13:05:14 +01:00
himta ram
ef1d158500
clover: Change /data/misc/fm to /data/vendor/fm
Change-Id: I369e0a858c8fddb4574dad5b54b2a3e0980ea3a6
2018-12-03 13:04:08 +01:00
Zhen Kong
92908f747b
clover: ueventd.qcom.rc: set permissions of /dev/qce device
To support end-to-end DRM content playback with SG List feature,
android.hardware.drm@1.0-service needs to have access permission
to /dev/qce to map & unmap ION buffer virtual address with HW Crypto
Engine. So, set /dev/qce device permission 0660 and let it be
accessible by user "system" and group "drmrpc".

Change-Id: If9c0ed70acc2bb063344692374f51441fe84eff6
2018-12-03 13:00:54 +01:00
Brandon solis
2419848a4b
clover: New HAL for passing RCS configuration to modem
Desc: Permission to access QMI Settings from the Connectivity Daemon

Change-Id: I0fbb2ad5852beceacf5a9529392c750130d498f0
2018-12-03 12:57:21 +01:00
Harikrishnan Hariharan
760dc35328
clover: Start loc_launcher as gps user
Start loc_launcher as gps user and set uid/gid of loc_launcher
to gps and enable SETUID and SETGID caps for loc_launcher, so
that we can start loc_launcher as gps user instead of root and
still have capabilities for SETUID and SETGID. Also remove not
required permissions groups for loc_launcher.

Change-Id: Ie9f1506874b3c3148f9170c8d5db9afd1e70025c
CRs-Fixed: 2192881
2018-12-03 12:54:26 +01:00
Brandon
2a18db24f5
clover: New HAL for passing SIP call info headers to clients
Desc: Permission to access the QMI and HAL from RCS Daemon

Change-Id: I45d944376179d0f6f6704563ac3da631a3fa9c64
2018-12-03 12:50:18 +01:00
Umesh Vats
dbc899f760
clover: Bluetooth: Increase number of SEPs to support SHO/Mcast
Icreased number of SEPs to support SHO/Mcast

Change-Id: I3cfb4e8d4d6969e442406bd095a865d49947151d
2018-12-03 12:46:36 +01:00
Abhimanyu Garg
cca912b85e
clover: Changing iop directory permission
Changing permission for IOP from 0770 to 0700. This is to restrict the
access for iop database file.

Change-Id: Ic3325595521d4e433d0ce9bada564fc599cf858c
2018-12-03 12:43:49 +01:00
Preetam Singh Ranawat
d7231b5c8a
clover: remove default sampling rate and channel entries for bt a2dp
-Remove default setting of sampling rate to 48K and stereo channel
  for bt a2dp as support for multiple sampling rates and channels
  over a2dp is added and being set from hal.

Change-Id: I8a40182af0d97b31b136a1928cbbe6f728eb950f
2018-12-03 12:38:05 +01:00
Vatsal Bucha
9cca15f526
clover: Update mixer paths for sdm660 internal codec
Internal codec has a direct connection between
ADC1 and AMIC1. Add a switch to prevent default
powering up of AMIC1.

CRs-Fixed: 2058182
Change-Id: If00b3d239655d2ecc77654ab379bbc0bd57e5b0d
2018-12-03 12:36:38 +01:00
Ramjee Singh
66327a222f
clover: separate BT sample rate Rx and Tx backend config
Independent configuration of Rx and Tx backend sample rates
for BT usecases.

Change-Id: Ic2437531dad1e53e866100c4022e4667103f4c92
2018-12-03 12:34:26 +01:00
Md Mansoor Ahmed
786671b446
clover: config: Update keep_alive to support silence playback on
non-hdmi devices

Keep_alive can now handle silence playback on multiple concurrent
devices such as primary output devices as well as HDMI

Change-Id: Icdf22c9d8d1264d463b23c8f54020e792840b73c
Signed-off-by: Md Mansoor Ahmed <mansoor@codeaurora.org>
2018-12-03 12:33:16 +01:00
Ramjee Singh
110a84110e
clover: audio: Add microphone characteristics and snd device mapping
Populate microphone characteristics for supported microphones on
platform. Map input sound devices to specific microphone ids.

Change-Id: I9aab6ef04bb941533261740723ffcf78645d3e1e
2018-12-03 12:32:19 +01:00
Samyak Jain
377f56bc4f
clover: Support 2 instances of "primary input"
No Audio heard in FM Speaker when FM record and FM speaker are on simultaneously

With default values for maxActiveCount and maxOpenCount,
FM app is unable to record and play FM audio on speaker simultaneously
since it uses application loop back(AudioRecord->AudioTrack)
to route FM audio to non-default devices(Speaker)

Add attributes maxActiveCount="2" and maxOpenCount="2" to mixPort "primary input"

CRs-fixed: 2249758
Change-Id: I82a1cb0d5596486d531d5324b91f932f52b07f9e
2018-12-03 12:31:02 +01:00
Mao Jinlong
ff8a4d7393
clover: Change /data/time to /data/vendor/time
Time folder is for time_daemon which is in vendor partition. Vendor
module can't access data in /data for treble limit. So change
/data/time to /data/vendor/time.

Change-Id: If3420ec92fa79f8d7c98a1e20c12f148b0fd7894
2018-12-03 12:29:26 +01:00
Max Weffers
e6002e72b7
clover: use call inherit instead of include 2018-12-03 12:26:45 +01:00
Max Weffers
a4a52dd998
clover: prop: Add missing ACDB Props 2018-11-30 20:33:30 +01:00
GuaiYiHu
b7df175ea3
clover: libinit: Set device specific changes via libinit
Change-Id: I9a2dea3291b76d185d9ecda524a4234b6ed25412
2018-11-29 19:43:42 +01:00
GuaiYiHu
3c6bab5243
clover: libinit: Set product model dynamically
Change-Id: I6ac3931cab7301551098d077a7bb60d3760d8d98
2018-11-29 19:43:42 +01:00
Max Weffers
33d078f66f
clover: rewrite system and vendor prop for clover into one makefile 2018-11-29 19:43:12 +01:00