Commit graph

370 commits

Author SHA1 Message Date
Lukas0610
3ea218a6b7 msm8976-common: lineagehw: Add mDNIe-backed ReadingEnhancement implementation
Change-Id: I88ad232434130382e95f056097cfd1b914211645
2018-06-02 21:17:46 +02:00
LuK1337
e13be46cf4 msm8976-common: sepolicy: Remove BT_QCA6174 sysfs labels
* Labeled in device/qcom/sepolicy @ legacy-common.

Change-Id: Ib857f32cfeb594b092fd72e4545f1cfcf05dc5d2
2018-05-22 15:13:19 +02:00
LuK1337
2f40aa1c30 msm8976-common: sepolicy: Remove unnecessary cache block device label
* Already labelled in device/qcom/sepolicy.

Change-Id: I9302885ec1e2f546dadd3c9aab75cbc1563845cd
2018-04-28 20:31:54 +02:00
Giuseppe Barillari
c9d2148237 msm8976-common: sepolicy: Remove debugfs_rmt rules
* Already present in device/qcom/sepolicy/legacy-common

Change-Id: Ie776556d6c3f64b8e4553990c9507ea0dcf9ca0a
Signed-off-by: Giuseppe Barillari <joe2k01dev@gmail.com>
2018-04-21 13:37:09 +02:00
Sean McCreary
da54607843 msm8976-common: Address timekeep denials
Change-Id: I93f89536ff380127e639d09dfa38e458510aea9a
2018-04-10 06:46:20 -06:00
LuK1337
b15744fd7b msm8976-common: Go back passthrough sensors implementation
* Apparently hwbinder causes issues with adaptive
  brightness. Going back to passthrough seems to fix
  this issue.

Change-Id: I47d60d2d7fb52b5001df8a0d385acddebaa0ec84
2018-04-10 14:07:12 +02:00
Paul Keith
64262acc1d msm8976-common: Set BOARD_CUSTOM_BOOTIMG to true
* This is required to properly apply the changes to the boot
  and recovery images, as well as generating the right
  recovery-from-boot patch file to allow auto updating of recovery

Change-Id: Ifaaead6d68aae115e8fb4b01ee50d09861e5df1c
2018-03-26 02:36:55 +02:00
Bruno Martins
604a950fd3 msm8976-common: Remove non-existing HAL service
Change-Id: I26da013dfa359ec8f184a20bc881558be0144b4a
2018-03-22 15:49:56 +01:00
Michael Bestas
3a418b2310 msm8976-common: Get rid of recovery-only fstab
* Mounting /system partition is handled in kernel now,
   however removing the entry from fstab caused issues building
   the OTA. The workaround was to have a separate fstab, but turns out
   that simply setting the recoveryonly flag does the trick because
   those are then ignored during a normal Android boot.

Change-Id: I2944384d0a1c41bc9f9f51e2e29daff2bed0a0f4
2018-03-10 14:06:55 +01:00
LuK1337
93fd4d8045 msm8976-common: Enable additional mDNIe scenarios
Change-Id: Iab858ab093cde86c63e685f61a721667bd6ec6e9
2018-02-26 19:38:56 +01:00
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