Commit Graph

510 Commits

Author SHA1 Message Date
Kevin F. Haggerty 8a46a39656 msm8976-common: Use kernel exfat
Change-Id: Ifbd2df2abbbfbb0909fd5c5441732072c1e27603
2018-02-26 19:20:55 +01:00
Paul Keith a3186e740e msm8976-common: Transition to TARGET_LD_SHIM_LIBS
* Limits security exposure from shims

 * As a bonus, we no longer need noatsecure
   to make LD_SHIM_LIBS persist through services

Change-Id: I877192422062f3e59c81a7130ad1a2b4be5d1647
2018-02-17 09:34:47 +00:00
LuK1337 af54e51b92 msm8976-common: Restart HIDL camera provider after decryption
* HIDL camera provider starts too early for our 7.0 camera HAL.

Change-Id: Ia757e9d07de26008f426fca582439d68b6d6fecb
2018-02-16 16:37:51 +01:00
LuK1337 28e78fdbb1 msm8976-common: Disable ffmpeg
Change-Id: I4113323228fdfd21506eae005342a10c1de60a49
2018-02-13 11:48:15 +00:00
LuK1337 8cb4e8acff msm8976-common: Disable speaker protection feature
Change-Id: Id3a4b8dabb0307daf1e4ff8edb1ac9142182dabf
2018-02-12 18:05:42 +00:00
LuK1337 7cc79d324b msm8976-common: Remove libmmcamera_cac3_lib.so
* Our new OpenCL doesn't really like it.
2018-02-12 18:34:14 +01:00
LuK1337 61c854e076 msm8976-common: Update graphics stack to O
* OpenCL kept on 7.0 due to crashing camera daemon.
* From kugo-user 8.0.0 OPR1.170623.026
2018-02-12 18:34:14 +01:00
Jesse Hall a0ff78a960 msm8976-common: Declare Vulkan compute level 0 system feature
Bug: 38396207 (VK_KHR_variable_pointers)
Bug: 64982680 (maxPerStageDescriptorStorageBuffers >= 16)
Test: CtsGraphicsTestCases:.VulkanFeaturesTest (ag/2810565)
Change-Id: I61cde61f53f0e9a1c657e6bd6658a4393360b0a6
2018-02-12 18:34:14 +01:00
LuK1337 4d85a068c6 msm8976-common: rootdir: Remove audiod service
* Dropped by Qualcomm in O.

Change-Id: Id1c6e9d475b59b41c0cc4e4633e2ce7faabd19ef
2018-02-12 18:34:14 +01:00
LuK1337 8a6d90945c msm8976-common: Correct charger groups 2018-02-12 18:34:13 +01:00
LuK1337 703ea171cf msm8976-common: rootdir: Remove tabs 2018-02-12 18:34:13 +01:00
LuK1337 b8623ef48f msm8976-common: Move fstab to /vendor
Change-Id: I2e86c3be08d0d4f19a6cf89a931f4a1e6ac12cdf
2018-02-12 18:34:13 +01:00
Abhishek Arpure 653d154f45 msm8976-common: Move uevent.qcom.rc to /vendor
Change-Id: Iab2699bf26ca4402b835d1af8d4493f9b28595d9
2018-02-12 18:34:13 +01:00
Abhishek Arpure 1ea17708fe msm8976-common: Move hardware specific .rc files to /vendor/etc/init/hw
The reason these files are moved to /vendor/etc/init/hw and
not /vendor/etc/init is because 'init' scans the /vendor/etc/init folder
for vendor service .rc fragments to import. That would either result
in duplicate imports or out-of-order imports of these hardware
specific .rc files and that *may* have unintended consequences.

In order to preserve the current import order for MTP, we move all
hardware specific .rc files to /vendor/etc/init/hw which is not
autoscanned by init BUT leave the init.${ro.hardware}.rc (i.e.
init.qcom.rc in this case) in root for 'init' to find.

Change-Id: I14531da05e2a3a256f734f8de96e1f1969c753f9
2018-02-12 18:34:13 +01:00
LuK1337 c23af6ab13 msm8976-common: Use TARGET_COPY_OUT_VENDOR instead of hardcoded system/vendor 2018-02-12 18:34:13 +01:00
LuK1337 a8fd5e61e0 msm8976-common: Binderize camera & graphics composer 2018-02-12 18:34:13 +01:00
Bruno Martins 022255bfad msm8976-common: Enable interaction boost
* This is no longer done unconditionally because it breaks EAS'ed devices.

Change-Id: I6b93136b77c97014d2ccbe61aad252fc45825050
2018-02-12 18:34:13 +01:00
dianlujitao 0c0ded0bac msm8976-common: Add Lineage power hal to manifest
Change-Id: I03b213310b66be95d779c507dc22f748dc19c366
2018-02-12 18:34:13 +01:00
Rashed Abdel-Tawab 617c5fd71b msm8976-common: Build QTI HIDL power 1.0 HAL
Change-Id: I929a2d3aedf3bfdca962dc34720019d83c7134e1
2018-02-12 18:34:13 +01:00
LuK1337 677e9ebb68 msm8976-common: Kill broadcast radio support
* Our hardware doesn't support it anyway.
2018-02-12 18:34:13 +01:00
LuK1337 f387e6602e msm8976-common: Binderize them all
* Leave out camera and graphics composer as they
  can't be binderized on current blobs.
2018-02-12 18:34:13 +01:00
Bruno Martins 1bb48181f8 msm8976-common: Enable low-power mode on boot complete
Change-Id: I2d6b1acda1bff74fd3c6c005d889213854ef625e
2018-02-12 18:34:13 +01:00
LuK1337 92511715f3 msm8976-common: sec_config: Drop Samsung / our changes
Change-Id: I6daee910a1afed3a0e37e36923dae3d567585184
2018-02-12 18:34:12 +01:00
Jaime A Lopez-Sollano eff79cd317 msm8976-common: PDR: 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-02-12 18:34:12 +01:00
Jiju Kinattingal 0273a2301b msm8976-common: Allow rild to communicate with QMI LTE service
Add IPC security rule to allow rild to communicate
with QMI LTE service

Change-Id: Id5204eb9a66d904313bf64915136aa64bf991809
CRs-Fixed: 1006583
2018-02-12 18:34:12 +01:00
Adnan Reza 3aaace0cba msm8976-common: Allow qmi csvt service to have radio previlage
QMI Circuit Switched Video Telephony

Change-Id: I2a9ff770cf2558cd3807baa1f6ec0dd2351cf6bf
2018-02-12 18:34:12 +01:00
Yuanyuan Liu 69626a3f36 msm8976-common: sec_config: Add security rule for WLPS service
Add security rule for WLPS service, which allows WLPS client to
communicate without net_raw privileges.

Change-Id: I4f382c90838f8994f3df25ee40f7769a52376be5
CRs-Fixed: 1050486
2018-02-12 18:34:12 +01:00
Yuanyuan Liu 912466c7e8 msm8976-common: sec_config: Add security rule for WLFW service
Add security rule for WLFW service, which allows WLFW client to
communicate without net_raw privileges.

Change-Id: I772f1ebf145fb810c81abe93a15adbc32f0b2bd1
CRs-Fixed: 1048891
2018-02-12 18:34:12 +01:00
Rafeeqh Shaik db0bd70cd4 msm8976-common: RILD access to new QMI HTTP service
Grant RILD access to new QMI HTTP service.

Change-Id: I485fb61598fba969306551c96ecec99a9785fc41
CRs-Fixed: 1015264
2018-02-12 18:34:12 +01:00
Mike Cailean 0e74c4c4d7 msm8976-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-02-12 18:34:12 +01:00
Yuanyuan Liu b53207d041 msm8976-common: sec_config: Add system permission for DMS QMI service
Add system permission for DMS as cnss-daemon runs in system group
and uses DMS service.

Change-Id: Iffcf23afc3940a7acf28bb9c9b47648475cc9152
CRs-Fixed: 1067995
2018-02-12 18:34:12 +01:00
Chris Lew 3a2de3a2f7 msm8976-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-02-12 18:34:12 +01:00
Chris Lew 5147f4aee7 msm8976-common: diag: Change access permission for DIAG services to new value
There is a new value for AID_QCOM_DIAG on N builds. This change
updates the IPC security rules to use the new value.

CRs-Fixed: 1034114
Change-Id: I191be232fa9f55c2889c65f491ca2096b7f2a19b
2018-02-12 18:34:12 +01:00
Harikrishnan Hariharan a4ebdb9718 msm8976-common: Remove unnecessary net_raw/net_admin from location modules
Remove net_raw/net_admin from groups for service properties
of loc_launcher in init.qcom.rc.  For accessing qmi service
16, location modules need to have the qmi socket to give
permission to gps gid rather than net_raw. Modifies sec_
config for to allow this.

Change-Id: I2c687d3e396a055212951bb3f11534af718acba5
CRs-Fixed: 1026637
2018-02-12 18:34:12 +01:00
Shaikh Shadul b03baaac78 msm8976-common: 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-02-12 18:34:12 +01:00
Mridul Singh f4a3f205a2 msm8976-common: Sensors: Allow access to Sensors services from Cameraserver.
Allow cameraserver group to acess the sensors QMI services.

Change-Id: Icb033f28a4b8f925fadaff49cd8a4f641ea9eb73
2018-02-12 18:34:12 +01:00
Ananda Kishore 39e2d3d9dd msm8976-common: Sensors: Allow access to Sensors services from System Group
Allow members of the System group, specifically the Android
System Server, and QSensorTest, to access the Sensors QMI services

Change-Id: I57d2a487269a2e7751c12f4d330c06531ec59228
2018-02-12 18:34:12 +01:00
LuK1337 71cc7f7a90 msm8976-common: Kill qseeproxydaemon 2018-02-12 18:34:12 +01:00
LuK1337 0b60118cf8 msm8976-common: sepolicy: Remove rules that are now in legacy-common 2018-02-12 18:34:12 +01:00
LuK1337 c6b26d88d7 msm8976-common: Build libsecnativefeature from source 2018-02-12 18:34:12 +01:00
Ziyan 61a4c37735 msm8976-common: ril: add squash of OSS libsecnativefeature
msm8976-common: ril: add open-sourced libsecnativefeature, used by libsec-ril

 Change-Id: I2f487db23b31c63ba919863f393ca37cc9a81191

 libsecnativefeature: fix build with clang

 Change-Id: Ibda3234af2b1184e094913e35cb919a75f972c87

Change-Id: Iaaa06fa527cedce6609a95b21d787c13dda6a30a
2018-02-12 18:34:12 +01:00
LuK1337 2ff56657dd msm8976-common: sepolicy: Sync timekeep rules with SODP 2018-02-12 18:34:12 +01:00
LuK1337 ee0365443e msm8976-common: Timekeep is now in /vendor 2018-02-12 18:34:12 +01:00
Alin Jerpelea 8f9aac337d msm8976-common: init: Remove the timekeep service
the service has been moved to the timekeep git

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2018-02-12 18:34:11 +01:00
Bruno Martins 32345609a6 msm8976-common: Update prefixes for audio system properties
* All vendor-specific properties are required to have vendor prefixes

Change-Id: If899944896a91c647d4111dac79eb25f9611d75c
2018-02-12 18:34:11 +01:00
LuK1337 dfde1bbb16 msm8976-common: sepolicy: Add rules for RIL 2018-02-12 18:34:11 +01:00
LuK1337 d44c7bd9b8 msm8976-common: sepolicy: Allow init to setattr on sysfs symlinks
* Required for sx9310_grip sensor.
2018-02-12 18:34:11 +01:00
LuK1337 a9f7ab090c msm8976-common: Go back to CAF audio policy 2018-02-12 18:34:11 +01:00
LuK1337 4cb91ebb10 msm8976-common: rootdir: Remove unused cnd and dpmd services 2018-02-12 18:34:11 +01:00
LuK1337 650d131066 Revert "msm8976-common: Default OMX service to non-Treble"
This reverts commit a4c0788fb6a1c2342dcbd2427477d89ce758ad4d.
2018-02-12 18:34:11 +01:00