Commit graph

676 commits

Author SHA1 Message Date
Srinu Jella
94c97f44d9 msm8937-common: Remove bt config address from execution
- Remove bt config address from execution
  as it is not required.

CRs-Fixed: 2028675
Change-Id: I4a71f5f1ff682cc3bf7753acc22e0f299d06c344
2018-06-29 00:01:58 +08:00
Aditya Bavanari
bd33bea7b6 msm8937-common: init.qcom.rc: Modify permissions for /data/vendor/misc
Modify permissions for /data/vendor/misc to 01771
from 0770 in order to enable audio module
to access the directory.

CRs-Fixed: 2074932
Change-Id: Ibc832cd0ec7c04a99b3fa1e9a554f919e11a149a
2018-06-29 00:01:58 +08:00
Saurabh Srivastava
2887450b59 msm8937-common: Fixing permission for /data/vendor
Removing creation of /data/vendor with system
group access.

CRs-Fixed: 2055140
Change-Id: Ic9fb98ea1420769f2ffa5262fd6e1a82ad848941
2018-06-29 00:01:58 +08:00
Naresh Tanniru
648ee63f82 msm8937-common: rootdir: create /data/vendor folder for audio
- for audio acdb and dump files create /data/vendor folder

Change-Id: If24a072d3686c3740ba36a3d6eb1849b4a769a3b
2018-06-29 00:01:58 +08:00
Prateek Chaubey
b62264b15e msm8937-common: Move audio configs to vendor 2018-06-29 00:01:58 +08:00
Haynes Mathew George
a381801bdd msm8937-common: config: Additional 12k, 24k sample rate support to direct_pcm profile
Add 12k, 24k as supported sample rates

CRs-Fixed: 1073379
Change-Id: I63d7de7fa8b90ecc1c658fdc3c1448814476636e
2018-06-29 00:01:36 +08:00
Aalique Grahame
606875ca51 msm8937-common: configs: Add support for 32/48KHz voip
Add 32/48KHz sampling rates to 8998 config file
and 32KHz sampling rate to 8996 config file to
allow voip applications with 32/48KHz to route to
the voip path

CRs-Fixed: 1065380
Change-Id: I0801f912977d9aed783c33a308288eae422a851b
2018-06-29 00:01:17 +08:00
Dhananjay Kumar
2e4ed5f2d0 msm8937-common: audio: Make direct output independent of DIRECT_PCM flag
- Make direct output independent of flag AUDIO_OUTPUT_FLAG_DIRECT_PCM.
- Remove multi-channel profile as it is redundant with respect to
  direct output profiles.

Original Change-Id: I7f5fef656f1d8796872e4d297da3220c3e69951d
Change-Id: I7bd29678721d0215bd7fcdada4020e6b2ec6c397
2018-06-29 00:00:58 +08:00
Dhananjay Kumar
40871b46b9 msm8937-common: audio: Update policy configuration to fix vts failure
Update default audio_policy_configuration.xml to remove configurations
that are not compatible with aosp system image and are causing vts failures.

Original Change-Id: Iae1f4c72090ef5a0c6472083dce8b0065beb6851
Change-Id: If1b6274a815dbd9b5a9a7dfdbf3fd8043df91446
2018-06-29 00:00:40 +08:00
LuK1337
8ae253ae59 msm8937-common: Update Audio Stack and ADSP to O
* Audio Stack From vince 8.1.0 OPM1.171019.019
 * Listen From TA-1025_00WW 8.1.0 OPR1.170623.026
2018-06-29 00:03:00 +08:00
Prateek Chaubey
1e2e5d0974 msm8937-common: rename aanc_tuning_mixer.txt to audio_tuning_mixer.txt 2018-06-29 00:03:00 +08:00
Bruno Martins
9e01c246b0 msm8937-common: Convert audio_effects.conf to XML
* Based on ecf82951a4

 * Global processor configurations discarded (useless anyway because
   those were related with Dirac effects applied to MUIU shipping apps).

 * Additionally to the same tests done by Google, it was verified that
   with this change "XML effect configuration loaded successfully.",
   while before it showed: "XML effect configuration failed to load.".

Change-Id: I954879274cea4e3f608cbf5c3e0b302ef187050a
2018-06-29 00:03:00 +08:00
Luca Stefani
fd0a268d81 msm8937-common: audio: Fix audio effect libs path
Change-Id: I8f50ea750405ae920ef5a74dda31ca5ac85e3af0
2018-06-29 00:03:00 +08:00
Bruno Martins
e3744f4009 msm8937-common: Move media configs to vendor
Change-Id: Id589520e15ecd2066e6e3d002ee96c9364d25cac
2018-06-29 00:03:00 +08:00
Billchen1977
0f18f9828d msm8937-common: Add btsco playback
* disable sco enhanced commands

Change-Id: I8c24fda21ee4fc49f1edfb64746172638353a23e
2018-06-29 00:03:00 +08:00
Sam
9e4bbcbe3e msm8937-common: overlays: Update for new LED capabilities
*) frameworks/base bool config_intrusiveBatteryLed is no longer
   used so it has been removed.

*) Use LIGHTS_BATTERY_LIGHT capability in lineage-sdk instead.

*) Update config_deviceLightCapabilities comments

*) Move bool config_intrusiveNotificationLed out of
   Lineage-specific overlays because it's an AOSP config
2018-06-29 00:03:00 +08:00
Bruno Martins
76f4890660 msm8937-common: lineagehw: Apply LineageOS rebrand
* Adapt to the new Lineage SDK and temporarily disable the import
   of currently non-existing Lineage common classes.

 * Drop never required BOARD_USES_CYANOGEN_HARDWARE flag
   (only required to opt-in for common light HALs).

 * Remove Dead Vibrator HW
2018-06-29 00:03:00 +08:00
Bruno Martins
95186e1512 msm8937-common: overlay-lineage: Apply LineageOS rebrand
Change-Id: Idc537612efe4cf870d6a8164bd04844c1bb40b2b
2018-06-29 00:03:00 +08:00
Uma Mehta
0eefb1bd17 msm8937-common: Adding syscalls for VPP functionality
Adding syscalls inotify_init1 and inotify_add_watch
used by VPP functionality.

Change-Id: I1a867c1168292359f9f76f507eda1c1045324f4a
2018-06-29 00:03:00 +08:00
Uma Mehta
a0b0b9e3e2 msm8937-common: mediacodec: Allow sysinfo and getcwd syscall
Add sysinfo and getcwd syscall to make
operations using gpustats successfull.

Change-Id: Ibaf899904a6a33997eeb696d7a8ee073f29820c1
2018-06-29 00:03:00 +08:00
Praneeth Paladugu
a61001f270 msm8937-common: mediacodec: Allow lseek syscall
Add _lseek syscall to make file operations are successful.

Change-Id: I746bf6a9fd5492a359086f8003a771234337e61d
2018-06-29 00:03:00 +08:00
Praveen Chavan
41699e924b msm8937-common: mediacodec: Allow sendto and recvfrom syscalls
Add sendto and recvfrom syscalls

CRs-Fixed: 1001945
Change-Id: Id4287b742f8c559f4e566a687578abdd100ffe4c
2018-06-29 00:03:00 +08:00
Mahesh Lanka
a6cceef346 msm8937-common: mediaextractor: Allow pread64 and readlinkat syscalls
Add pread64 and readlinkat syscalls.

Change-Id: Ic466e6d401fea5c9b47a9e3abf388cdae1a90f93
2018-06-29 00:03:00 +08:00
Praveen Chavan
ed9c543e46 msm8937-common: mediacodec: Allow select and eventfd syscalls
Add pselect6 and eventfd2 syscalls

Bug: 27654762

Change-Id: I9aba945e50bece5b94f4fd15e44bc84d50a41a0b
2018-06-29 00:03:00 +08:00
LuK1337
1972db5577 msm8937-common: Update media blobs to O-MR1
* From: vince 8.1.0 OPM1.171019.019
2018-06-29 00:03:00 +08:00
LuK1337
9ef260b20d msm8937-common: Update Keystore and Sensors blobs to O-MR1
* From vince 8.1.0 OPM1.171019.019
2018-06-29 00:03:00 +08:00
LuK1337
46456ea372 msm8937-common: Update Gatekeeper blobs to O-MR1
* From: vince 8.1.0 OPM1.171019.019
2018-06-29 00:03:00 +08:00
LuK1337
39c2ef3a25 msm8937-common: Update peripheral manager to O-MR1
* From from vince 8.1.0 OPM1.171019.019
2018-06-29 00:03:00 +08:00
LuK1337
588e53b8b8 msm8937-common: Update DRM&QSEE stack to O-MR1
* From vince 8.1.0 OPM1.171019.019
2018-06-29 00:03:00 +08:00
Paul Keith
0ed3bdd487 msm8937-common: Use QTI HIDL power HAL
Change-Id: I2abf4ca9b0b5a0cb031f12c400a1159962f5e94c
2018-06-29 00:03:00 +08:00
Abhimanyu Garg
81c79c4049 msm8937-common: creating directory path for iop data files
Creating new directory in data/vendor directory to store the IOP data
files.

Change-Id: I8e5cb44125494d87ee8f169e376809d8fbd89205
2018-06-29 00:03:00 +08:00
Varun Garg
a9291ed549 msm8937-common: Remove perfd and update default value file path
Removing the code related to perfd. Update the path for default_value
file to vendor
partition from system.
2018-06-29 00:03:00 +08:00
Bruno Martins
d1f2c50dd8 msm8937-common: Update perf stack to O
* From: TA-1025_00WW 8.1.0 OPR1.170623.026
2018-06-29 00:03:00 +08:00
Dante Russo
4dbde63fbc msm8937-common: Move location files from /data/ to /data/vendor/
Runtime files and sockets used by location modules
are moved to vendor partiion from /data/misc/location
to /data/vendor/location.

CRs-fixed: 2046657
Change-Id: I76da150d7a897bf94b950217587e40c82f2f02c6
2018-06-29 00:03:00 +08:00
Bruno Martins
e3a264221a msm8937-common: Update GPS stack to O-MR1
* From bardock-pro - OPM1.171019.011
2018-06-29 00:03:00 +08:00
Bruno Martins
b3d607b848 msm8937-common: Bump GPS HAL and location API to O-MR1
* QC Tag: LA.UM.6.6.r1-07400-89xx.0
2018-06-29 00:03:00 +08:00
Bruno Martins
c3e39f5caa msm8937-common: Build QTI camera HIDL extension
* This is a dependency for IMS blobs

Change-Id: I58a787e4b4109a643ba64fca0254b347be6e66a2
2018-06-29 00:03:00 +08:00
Rashed Abdel-Tawab
05591ab5c8 msm8937-common: Set IMS to use CodeAurora extension 2018-06-29 00:03:00 +08:00
Vinay Verma
a7e74066ca msm8937-common: Migrate to oem DIAG AID
- Update QTI bin group to oem_2901
- Update /dev/diag group to oem_2901

Change-Id: I5f851ca0e906c40e47733f358918d16de76eb050
2018-06-29 00:03:00 +08:00
Devi Sandeep Endluri V V
18c9881122 msm8937-common: [ims-rcs]: Added wake_alarm capabiltiy
- imsrcsd starts alarm timers hence needs
  WAKE_ALARM capability.

Change-Id: I0e72998bab6b17ca6222e5a931d26275fa784e97
2018-06-29 00:03:00 +08:00
Mike Cailean
17c238d81d msm8937-common: Added BLOCK_SUPSPEND capability for xtwifi-client
Added BLOCK_SUPSPEND capability for
xtwifi-client in order to hold/release
wakelock

Change-Id: I4cf25ebe74c3f180cf2ed486fd51c13500c9bbc2
CRs-fixed: 2089569
2018-06-29 00:03:00 +08:00
Mike Cailean
ae31aaf1b5 msm8937-common: config.fs: Add pd-mapper and xtwifi-client mapping
Set the fs configuration for pd-mapper and xtwifi-client
binaries.

Change-Id: I3fc60005f3bfaaff7d9dbf2ea48bf8638c426950
2018-06-29 00:03:00 +08:00
David Ng
55a7a66d6f msm8937-common: Add common config.fs AID/fs configuration file
Common config.fs/$TARGET_FS_CONFIG_GEN AID/fs configuration
file for all chipset inheriting from base.mk.

Since legacy device-specific android_filesystem_config.h and
config.fs do not co-exist, temporarily include config.fs only
if legacy file is absent.  Once all legacy, device-specific
files have been deleted, config.fs can be made unconditional.

Change-Id: Ie100d0cd9db808b82d99be7139f0709390c7f3a2
2018-06-29 00:03:00 +08:00
Mike Cailean
402369aa2e msm8937-common: Allow QMID service to aquire net_raw permission
Allow QMID service to aquire net_raw permission
for GPS to fix GTP WAA based Cell-id injection

Change-Id: Ibcbf2516d32f46fda358d9ec4db7cd68f6174a11
CRs-fixed: 2093489
2018-06-29 00:03:00 +08:00
Chris Lew
99f70ce247 msm8937-common: sec_config: Add 2901 to IPC Router config
The diag node is moving to oem_2901 group permissions
instead of diag permissions. Update IPC Router security
config to allow diag communication through sockets.

Change-Id: I46411aff66a5e9fd6478924bfa92d575030305ea
2018-06-29 00:03:00 +08:00
Shaikh Shadul
1db16116f2 msm8937-common: sec_config: Remove clients group id from sensors
Do not allow access to sensors services from clients group id 3011.

Change-Id: Iafe88f835af337d8745bc9be410740ed858e14d8
2018-06-29 00:03:00 +08:00
Jaime A Lopez-Sollano
37ea438ec5 msm8937-common: Allow ril to access the locator and notifier services.
In order to be notified of PDR status, ril needs access to the QMI SERVREG_LOG
and QMI_SERVREG_NOTIF services

Change-Id: I99866e34994159578faa8a689b66184ca5d5d99b
2018-06-29 00:03:00 +08:00
Devi Sandeep Endluri V V
bc1d746076 msm8937-common: Add radio group rules to dpmQmiMgr
-dpmQmiMgr permissions are updated with radio group
to communicate with QMUXD socket.

CRs-Fixed: 2183993
Change-Id: I37195ffc6602d009ac4cace6c742484e70a768ec
2018-06-29 00:03:00 +08:00
Devi Sandeep Endluri V V
02af154335 msm8937-common: Start dpmQmiMgr from init script
- Added user and group tag for dpmQmiMgr
- Start the daemon with system privilege.

CRs-Fixed: 2080471
Change-Id: Id3a4a9f849d336e103c3c6897daf34465230b83a
2018-06-29 00:03:00 +08:00
Ayishwarya Narasimhan
d5eee21dab msm8937-common: Explicitly specify uid, gid and groups
needed for cnd

Change-Id: I1b38a2c1296a7524442dcccbbe96219d6ec28f0f
CRs-Fixed: 2063571
2018-06-29 00:03:00 +08:00