aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* msm8996-common: Fix radio SELinux denials.Cosme Domínguez Díaz2018-04-01
| | | | | | | * avc: denied { read } for pid=2288 comm=m.android.phone name=libimsmedia_jni.so dev=sda9 ino=1103 scontext=u:r:radio:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1 * avc: denied { open } for pid=2288 comm=m.android.phone path=/vendor/lib64/libimsmedia_jni.so dev=sda9 ino=1103 scontext=u:r:radio:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1 * avc: denied { getattr } for pid=2288 comm=m.android.phone path=/vendor/lib64/libimsmedia_jni.so dev=sda9 ino=1103 scontext=u:r:radio:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1 * avc: denied { execute } for pid=2288 comm=m.android.phone path=/vendor/lib64/libimsmedia_jni.so dev=sda9 ino=1103 scontext=u:r:radio:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
* msm8996-common: proprietary-files.txt: Move all to vendor.Cosme Domínguez Díaz2018-03-31
| | | | | | * And edit the xml permission files to use /vendor/framework instead of /system/framework. * As I said on the previous commit, we have to pin the linked blobs.
* msm8996-common: Enable QTI camera extensionsBruno Martins2018-03-31
| | | | Change-Id: Ieb35a130a36d2edc3e6b91b29622b478ffd4848c
* msm8996-common: camera: HAL3: Set timestamps in private display metadataRanjith Kagathi Ananda2018-03-31
| | | | | | | | | | | Set the timestamp in display metadata so that clients aware of private_handle such as VT can use this un-modified timestamps. Camera framework is unaware of this timestamp and cannot modify this CRs-Fixed: 1050092 Change-Id: I78668d9981e354b6986caa75dca5721c1901e9b6
* msm8996-common: sepolicy: Move untrusted_app.te to the right place.Cosme Domínguez Díaz2018-03-31
| | | | * I don't know what happened here... xD
* msm8996-common: Move more Qualcomm stuff to vendor.Cosme Domínguez Díaz2018-03-31
| | | | | | | * It fixes audio call in/out on GSI. * Pin the files as there isn't support for move linked apps & frameworks. * We had to edit the permissions xml files to replace /system with /vendor
* msm8996-common: Fix mediaextractor SELinux denial with GSI (Phh-Treble v14).Cosme Domínguez Díaz2018-03-31
| | | | * avc: denied { read } for pid=609 comm="generic" path="/storage/emulated/0/DCIM/Camera/VID_20180331_163634.mp4" dev="fuse" ino=24 scontext=u:r:mediaextractor:s0 tcontext=u:object_r:fuse:s0 tclass=file permissive=0
* msm8996-common: sepolicy: Fix more SELinux denials.Cosme Domínguez Díaz2018-03-31
| | | | * We could probably optimize them more, but for now it's enough.
* msm8996-common: sepolicy: Fix some SELinux denials with perf HALs.Cosme Domínguez Díaz2018-03-31
| | | | * And simplify hal_fingerprint_default.te
* msm8996-common: Move aptX blobs to vendor.Cosme Domínguez Díaz2018-03-30
|
* msm8996-common: Update aptX blobs from marlin OPM1.171019.011 releaseLuK13372018-03-30
| | | | Change-Id: I5ef0c9a6919a0823e0573f623b17c3661457c353
* msm8996-common: sepolicy: Fix mm-qcamerad SELinux denials.Cosme Domínguez Díaz2018-03-29
| | | | | | * avc: denied { read } for pid=694 comm="mm-qcamera-daem" name="name" dev="sysfs" ino=39334 scontext=u:r:mm-qcamerad:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 * avc: denied { open } for pid=686 comm="mm-qcamera-daem" path="/sys/devices/soc/aa4000.qcom,fd/video4linux/video1/name" dev="sysfs" ino=39334 scontext=u:r:mm-qcamerad:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive= * avc: denied { read } for pid=694 comm="mm-qcamera-daem" name="name" dev="sysfs" ino=45837 scontext=u:r:mm-qcamerad:s0 tcontext=u:object_r:sysfs_graphics:s0 tclass=file permissive=0
* label persist partition and grant e2fsck accessJeff Vander Stoep2018-03-29
| | | | | | | | | | persist partition is mounted rw so it should be checked for errors. Bug: 63874026 Test: build and flash, verify persist is correctly labeled and no denials in the log. Change-Id: I9bb57b5ed20bda0f6937d506bf9b9630365abd87
* msm8996-common: sepolicy: Remove /system/vendor paths.Cosme Domínguez Díaz2018-03-29
|
* msm8996-common: sepolicy: Add debug rules for rmt_storageBruno Martins2018-03-29
| | | | Change-Id: Ie0c94ac657127b1653afbbb82b06789dfe34032d
* msm8996-common: libhidl: Switch to Soong build system.Cosme Domínguez Díaz2018-03-29
| | | | | | * And add a copy of android.hidl.base@1.0.so for vendor partition. It allow us to have RIL on GSI without need to hex-edit our blobs.
* msm8996-common: camera: Remove deprecated kernel header dependency path.Cosme Domínguez Díaz2018-03-29
|
* msm8996-common: data-ipa-cfg-mgr: Remove deprecated kernel header dependency ↵Cosme Domínguez Díaz2018-03-29
| | | | path.
* msm8996-common: Unpin bdwlan30.bin and TUI blobs.Cosme Domínguez Díaz2018-03-29
|
* msm8996-common: Move camera xml to vendordavidevinavil2018-03-29
| | | | | and patch libmmcamera2_sensor_modules.so to load it this fix camera on GSI
* msm8996-common: Remove empty files.Cosme Domínguez Díaz2018-03-27
|
* msm8996-common: Fix adsprpcd SELinux denial.Cosme Domínguez Díaz2018-03-26
| | | | * avc: denied { getattr } for pid=4814 comm=mount name=/ dev=sde12 ino=2 scontext=u:r:shell:s0 tcontext=u:object_r:adsprpcd_file:s0 tclass=filesystem permissive=0
* sepolicy: Allow init to write in debugfsArne Coucheron2018-03-26
| | | | | | avc: denied { write } for name="tracing_on" dev="debugfs" ino=3203 scontext=u:r:init:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=0 Change-Id: Ia3258d2d57088efd367d79de1a7d60fcb01a3e6a
* msm8996-common: Move fingerprint.qcom.so to vendor.Cosme Domínguez Díaz2018-03-26
|
* msm8996-common: Restore some OEM edits.Cosme Domínguez Díaz2018-03-26
| | | | | * Partial revert of 6552f3fed81aa21b6db408765a588cd08f51370c with some comments.
* msm8996-common: Add more binderized camera HALs.Cosme Domínguez Díaz2018-03-26
|
* msm8996-common: Back to stock's mm-qcamera-daemonCosme Domínguez Díaz2018-03-26
| | | | * It already use /data/vendor/camera/cam_socket
* msm8996-common: proprietary-files.txt cleanup.Cosme Domínguez Díaz2018-03-26
| | | | | * lib/libtrueportrait.so -> not used. * {lib,lib64}/libdiag_system.so -> duplicated.
* msm8996-common: data-ipa-cfg-mgr: Disable debug for userdebug builds.Cosme Domínguez Díaz2018-03-26
|
* msm8996-common: wifi: Restore previous WiFi offload settingLuK13372018-03-26
| | | | | | | | | * May fix issues with: - Random reboots, - WiFi not letting device deep sleep, - WiFi randomly disconnecting. Change-Id: I6074bf89a20b5bfc3d8bc79e419496498154cd47
* msm8996-common: Fix hal_bluetooth_default SELinux denials:Cosme Domínguez Díaz2018-03-23
| | | | | * avc: denied { connectto } for pid=483 comm=bluetooth@1.0-s path=0062745F736F636B scontext=u:r:hal_bluetooth_default:s0 tcontext=u:r:wcnss_filter:s0 tclass=unix_stream_socket permissive=0 * vc: denied { add_name } for pid=483 comm=bluetooth@1.0-s name=bt_fw_version.txt scontext=u:r:hal_bluetooth_default:s0 tcontext=u:object_r:bluetooth_data_file:s0 tclass=dir permissive=0
* msm8996-common: Switch SELinux to enforcing mode.Cosme Domínguez Díaz2018-03-23
| | | | * It... it works! ^_^
* msm8996-common: Grant system_server access to idc and keylayot dirsAlex Klyubin2018-03-23
| | | | | | | | | | | | | | | system_server is configured to access idc and keylayout files in /vendor/usr/idc and /vendor/usr/keylayout. This explicitly grants this access to system_server, instead of relying on overly broad access granted by hal_client_domain(system_server, ...) macros which is no longer going to grant this overly broad access soon. Test: Modify hal_client_domain to no longer associate hal_x_client with hal_x, observe that there are no violations form system_server trying to read /vendor/usr/idc and /vendor/usr/keylayouts. Bug: 37160141 Change-Id: I136df8713f2f9ff03096e5f6cf35e3e804733040
* msm8996-common: wifi: reduce delay for Runtime PMAlex Naidis2018-03-23
| | | | | | | | | | -> Set the delay to "1500" to improve power efficiency without increasing the chance of a wifi dropout. Change-Id: I3ce0d677471cf956bf69fa084fe3d6380ee2e2c4 Signed-off-by: Alex Naidis <alex.naidis@linux.com> Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Use our own camera socket path.Cosme Domínguez Díaz2018-03-22
| | | | | | | * The path should have the same length as the previous one: /data/misc/camera/cam_socket * Also make the directory for the socket.
* msm8996-common: Regenerate manifest.xml.Cosme Domínguez Díaz2018-03-22
|
* msm8996-common: Fix some SELinux denials.Cosme Domínguez Díaz2018-03-22
|
* msm8996-common: QCamera2: Change socket creation path as part of treble rulesRajshekar Eashwarappa2018-03-22
| | | | | | | | | | | Issue: In Android O,camera_data_file is of type core_data_file_type so qcamera dameon cannot have permission to access this file as part of treble rules. Fix: Created a file called vendor_camera_data_file of type data_file_type at /data/vendor/camera and in mm-camera-interface changing the socket creation path from /data/misc/camera to /data/vendor/camera. Change-Id: I6712cadb90ec9c2d8bdf021f7e7b908c4c58f36f
* msm8996-common: cas: add CAS HAL and allow it to use vndbinderChong Zhang2018-03-22
| | | | | bug: 22804304 Change-Id: I7e189198351c7abf3fc87c441fccccff887d2934
* msm8996-common: Move bdwlan30.bin to vendor.Cosme Domínguez Díaz2018-03-22
|
* msm8996-common: Initial work to enable full treble.Cosme Domínguez Díaz2018-03-22
| | | | | * Remove never-allow rules and enable SELinux permissive for now. * Enable PRODUCT_FULL_TREBLE_OVERRIDE.
* msm8996-common: sepolicy: Set data_file_type for types used in /dataLuK13372018-03-20
| | | | Change-Id: I46669d8c727dce1ca4e28403ca7c24a126d5510f
* msm8996-common: camera: HAL3: Error occurs while unmapping bufferShukla Mradul2018-03-20
| | | | | | | | | | | | | | Issue: STL operation such as erase ,push_back needs to be atomic. List to keep reprocessed meta and buffer is prone to simultaneous access from other part of codes causing STL operations to fail. Fix: Keeping STL operation of list for buffer and meta both in mutex. Change-Id: I8b966ee993a981ae64099093ff131d305f0cca94
* msm8996-common: flash: Returning -ENOSYS error if torch mode not supported.Abhinav Sohane2018-03-20
| | | | | | | | | | | Issue: VTSCameraProviderV2_4Target test case is failing in setTorch mode. Fix: Corrected returned error -ENOSYS (OPERATION_NOT_SUPPROTED) if torch mode is not supported by cameraid CRs-fixed:2091737 Change-Id: I9e9bb764016227fbd6cf036c753ca5aeff8eeb7e
* msm8996-common: camera: Remove AOSP FlagSuman Mukherjee2018-03-20
| | | | | | Removed AOSP flag to enable custom camera Features Change-Id: I58f6bab871625751e2ba2904904e5ceec8180dc2
* msm8996-common: sepolicy: Address init denialsLuK13372018-03-17
| | | | Change-Id: I2a5801dcae70e102e8c7e97b8aeb563cb1de8ac8
* sepolicy: Cleanup permissionsBruno Martins2018-03-16
| | | | | | * Remove unneeded permissions Change-Id: Ie52577eb3cf06e3adb4be9e40016407e451e604d
* msm8996-common: Properly label DSP partitionRashed Abdel-Tawab2018-03-16
| | | | Change-Id: Ia85f5755acf9c88ac45f5ccf9dc9f49e5d130bd5
* msm8996-common: Update IPA-CFG-MGR from upstreamBruno Martins2018-03-16
| | | | | | * Tag: LA.UM.6.6.r1-06700-89xx.0 Change-Id: Ib3962909c52b6170efa14beb652e05506aa254c8
* msm8996-common: Import gps config from ZUI 3.5.261.Cosme Domínguez Díaz2018-03-16
|