aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* msm8996-common: Snap: Enable api2Davide Garberi2018-09-27
| | | | | Change-Id: I7fe38ac84b7225adac7164f407da5eae206d5382 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: manifest: Remove iop halDavide Garberi2018-09-27
| | | | | | | * It's not an executable anymore Change-Id: I38ddb73bbd6b3da64e6e4cece3f4242c2d27c362 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: TARGET_HAS_NO_WIFI_STATS -> TARGET_HAS_NO_WLAN_STATS.Cosme Domínguez Díaz2018-09-27
|
* msm8996-common: Doze: Add missing preference listenersBruno Martins2018-09-27
| | | | | | | | * Otherwise, it resulted in Doze service not being activated when enabling one of the features for the first time after a clean installation. Change-Id: I625d9109fb85c970f0e59b1cbcabba7d4375d2f3
* msm8996-common: Doze: Drop useless SDK dependencyBruno Martins2018-09-27
| | | | Change-Id: I74901339740b82b79f36754c7e52894a98020c3d
* msm8996-common: hwcomposer: Delete some propsDavide Garberi2018-09-27
| | | | | Change-Id: I5611b03554194d63755a36f04ec188832279b39b Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Renamed config_dozeAfterScreenOffLucas Dupin2018-09-27
| | | | | | | | New name is config_dozeAfterScreenOffByDefault Bug: 73178121 Change-Id: Icf2123d45b2b4727092103632d1bd6f024161c8a Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Update perf blobs from LA.UM.7.2.r1-04000-sdm660.0Davide Garberi2018-09-27
| | | | | | | | * From Nokia 7 plus * Don't update perf configs because we need 8996 ones Change-Id: I0c074af4b01e2198f3f36084177e3fae6b77e64c Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: property_contexts: Label perf propsDavide Garberi2018-09-26
| | | | | Change-Id: Ib2e08d365f088e07d30df2c5dfc72660ca839d21 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* Make QCamera2 modules build with VNDKJiyong Park2018-09-26
| | | | | | | | | | | | - unistd.h added for close, write, etc. - libsystem_headers, libhardware_headers added because global include path isn't provided when building with vndk Bug: 69526027 Test: mma -j under QCamera2 Change-Id: Id3b59c12a89120cc7e378e873bb663926d3bd45e Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: sepolicy: Address hal_bluetooth_qti denialsDavide Garberi2018-09-26
| | | | | | | * Fixes the bluetooth crashing when activated Change-Id: Ic4c120319cbc5267fd433ca935e51837946000a6 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: skip wait for hwservicemanagerWei Wang2018-09-26
| | | | | | | | | | | | | | Wait for hwservicemanager is no longer needed after this CL: https://android-review.googlesource.com/#/c/356043/ Bug: 36399429 Test: nash boot Signed off by: Nolen Johnson <johnsonnolen@gmail.com> Change-Id: I12c5adab70dc519b5e834eb35262ff73d214978b Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Make sure graphics HAL services started before mounting dataWei Wang2018-09-26
| | | | | | | | | Bug: 36409349 Signed off by: Nolen Johnson <johnsonnolen@gmail.com> Change-Id: I1df0bd7878c7d67d3695ad1644c6b928cee0e323 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Start hwservicemanager earlyChia-I Wu2018-09-26
| | | | | | | Test: builds and boots Bug: 35173320 Change-Id: I9f060904174103a6a145a83cbb4c100728ff6df6
* msm8996-common: start bootanim before mounting data partitionWei Wang2018-09-26
| | | | | | | | | Bug: 30118894 Signed off by: Nolen Johnson <johnsonnolen@gmail.com> Change-Id: If84764e3ce51f467b2dfa867ce28e1e396422d45 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Set Bootanimation to half-resNolen Johnson2018-09-26
| | | | | | * Faster boot, smoother animation Change-Id: I97f27254474442e3299c7b03ea3180528befa06c
* msm8996-common: file_contexts: Label light service correctlyDavide Garberi2018-09-25
| | | | | Change-Id: Ia4fa68909a710a904bd796ab53d486b81ee2238a Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: readmac: Add back a denial fixDavide Garberi2018-09-25
| | | | | | | | * Partial revert of 2bc563eaed5ab7aec72b3bd929739245cf3de4ab * Even if it generates a neverallow this fixes the readmac crash in enforcing Change-Id: Ib108662c17f456fcdea90b9615e2e4f350755059 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Change the MBN copy property prefixSai Kousik Swarna2018-09-25
| | | | | | | | | Changes the prefix of mbn_copy_completed to ro.vendor.ril as there a permission error with current prefix. and due to this MBN OTA is failed. Change-Id: I31a0032aba79177680b7b91363d1d9be97dd9c90 CRs-Fixed: 2261501
* msm8996-common: Fix MBN copy issueHua Liu2018-09-25
| | | | | | | | | | | | DAC_OVERRIDE is disabled for all the vendor init scripts in Android P. This change will grant "group root" the write permission temporarily for deleting/copying operations. System user could not access the MBN files in data partition no longer. Only radio user and root group have read permission after boot up. Change-Id: I9f184da2253dc5896b145c0e52fc3b42da15d9f7
* msm8996-common: Change scripts for copying MBNsHua Liu2018-09-25
| | | | | | | | | | | | | | 1) Using "chmod -h" instead of "chmod" 2) Using "mkdir -m" instread of 2 seperate commands for creating directory and change permission 3) Using "write" command in RC file instead of "echo ...>" in bash 4) Create "data/vendor/modem_config" for storing MBNs, which is read only 5) Remove qcril.db copying in sh file, since this logic is not used anymore Change-Id: Ib9a9e0d32ae529dab3dc0c164062d2887dff4439
* msm8996-common: Address dac_override and dac_read_search issues in init.qcom.shSridhar Parasuram2018-09-25
| | | | | | | init.qcom.sh accesses files owned by groups radio, system and hence the groups have been added. Change-Id: I535eeaf42f38532ec6de46eb57f3cc0e1d959a47
* msm8996-common: sepolicy: Fix persist_file related rulesLuK13372018-09-25
| | | | | | | * It has been renamed to mnt_vendor_file in QCOM sepolicy. Change-Id: If16c6d17635ec746fc01c7309854ccbeb1303339 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Update widevine hal from LA.UM.7.2.r1-04000-sdm660.0Davide Garberi2018-09-25
| | | | | | | * From payton leaked build Change-Id: Ib235fa68b76df45dc660c70f0980db3b7462ff03 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Update graphics stack from LA.UM.7.2.r1-04000-sdm660.0Davide Garberi2018-09-25
| | | | | Change-Id: Id6932f88a2fb4a758ba969ad5f3bd69fd03ec956 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: file_contexts: Label zuk's fingerprint integrationDavide Garberi2018-09-25
| | | | | Change-Id: I1cf339887cedf3ff5bf9a01160f1acc56da5eb93 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: sepolicy: Address some denialsDavide Garberi2018-09-25
| | | | | Change-Id: Id7520ca339db83eeeb8b3e608a44809141e30df3 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: sepolicy: let qseecomd access system filesDemon Singur2018-09-25
| | | | | | | Solves the following denials. denied { read } for name="/" dev="sda17" ino=2 scontext=u:r:tee:s0 tcontext=u:object_r:system_data_file:s0 tclass=dir permissive=0 Change-Id: I767e4e12a6b4d72c0df0ff7cc018a8bcfe5edf18
* msm8996-common: sepolicy: Label persist.camera. propertiesLuK13372018-09-25
| | | | Change-Id: I3e3668d77a7b65fd3572248ba98c980537ad1e25
* msm8996-common: sepolicy: label old doxlat propDemon Singur2018-09-25
| | | | | | | Solves the following denial. denied { set } for property=persist.net.doxlat pid=837 uid=1001 gid=1001 scontext=u:r:netmgrd:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=1 Change-Id: I30db8b7aa6017dfdea1c874f69b7b8b90bcc8800
* msm8996-common: sepolicy: let camera hal access /data/misc filesDemon Singur2018-09-25
| | | | | | | | | | Removed from system_sepolicy, but still needed by our old camera stack. Solves the following denials. denied { search } for pid=717 comm="CAM_AECAWB" name="camera" dev="sda17" ino=3121215 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:camera_data_file:s0 tclass=dir permissive=0 denied { search } for pid=717 comm="CAM_AECAWB" name="camera" dev="sda17" ino=3121215 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:camera_data_file:s0 tclass=dir permissive=0 Change-Id: I497bade68e6a5b2f60cd8ec90a97a81986d971af
* msm8996-common: sepolicy: solve drm hal denialsDemon Singur2018-09-25
| | | | | | | | Solves the following denial. denied { search } for pid=719 comm="HwBinder:719_1" name="mediadrm" dev="sda17" ino=1449985 scontext=u:r:hal_drm_default:s0 tcontext=u:object_r:media_data_file:s0 tclass=dir permissive=0 Change-Id: I068732c69dcb8da08f223359ece5e3e09bcea82e
* msm8996-common: sepolicy: solve vendor_init denialsDemon Singur2018-09-25
| | | | | | | | | | | Solves the following denials. denied { search } for pid=546 comm="init" name="dpm" dev="sda17" ino=1204225 scontext=u:r:vendor_init:s0 tcontext=u:object_r:dpmd_data_file:s0 tclass=dir permissive=0 denied { search } for pid=546 comm="init" name="thermal" dev="sda17" ino=3325953 scontext=u:r:vendor_init:s0 tcontext=u:object_r:thermal_data_file:s0 tclass=dir permissive=0 denied { search } for pid=546 comm="init" name="thermal" dev="sda17" ino=3325953 scontext=u:r:vendor_init:s0 tcontext=u:object_r:thermal_data_file:s0 tclass=dir permissive=0 denied { setattr } for pid=546 comm="init" name="camera" dev="sda17" ino=3121215 scontext=u:r:vendor_init:s0 tcontext=u:object_r:camera_data_file:s0 tclass=dir permissive=0 Change-Id: I824f7c27c9f93630ba7b65252609777197e3a682
* msm8996-common: sepolicy: label old cne data fileDemon Singur2018-09-25
| | | | Change-Id: Id4b05f402da939a3add6be254666132744133c20
* msm8996-common: sepolicy: label old qseecomd ready propDemon Singur2018-09-25
| | | | | | | | | | CAF renamed this prop to vendor.sys.listeners.registered, but our blobs still use the old one, making enforcing boot to stall. Label it. selinux: avc: denied { set } for property=sys.listeners.registered pid=568 uid=1000 gid=1000 scontext=u:r:tee:s0 tcontext=u:object_r:system_prop:s0 tclass=property_service permissive=0 init: Unable to set property 'sys.listeners.registered' to 'true' from uid:1000 gid:1000 pid:568: SELinux permission check failed Change-Id: I43407d89df024b557dd4c06a4ac9d0ec8f37581e
* msm8996-common: rootdir: do not symlink sdcard legacy pathDemon Singur2018-09-25
| | | | | | | Solves the following denial. denied { write } for pid=548 comm="init" name="storage" dev="rootfs" ino=15996 scontext=u:r:vendor_init:s0 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 Change-Id: If246f497bd8384f0fee81469d8d29dcb528d4d4e
* msm8996-common: rootdir: do not create /tombstones symlinkDemon Singur2018-09-25
| | | | | | | Solves the following denial. denied { add_name } for comm="init" name="tombstones" scontext=u:r:vendor_init:s0 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=1 Change-Id: Iff7d85d6f13f8fa0efc4a594bfcefdbb9d8ee3ed
* msm8996-common: ueventd: Don't modify permissions of /dev/hw_randomWang Han2018-09-25
| | | | | | | | | | | | | | | | | | This addresses an underlying problem since /dev/hw_random is used. The issue is that EntropyMixer, which runs in system_server, needs to read from /dev/hw_random, but thanks to our qualcomm ueventd, EntropyMixer can never accress this node, resulting in warnings like this: W EntropyMixer: Failed to add HW RNG output to entropy pool W EntropyMixer: java.io.FileNotFoundException: /dev/hw_random (Permission denied) AOSP ueventd handles this well, so just remove this line to get things back to stage. This issue was never exposed because Google derps the logging here, which is already fixed on Pie. https://android.googlesource.com/platform/frameworks/base/+/c78a463e875d91eae2cf256042fd99d130217c38 Change-Id: I42c9aaa8f57306536e51c0a17febad57a5a77581
* msm8996-common: sepolicy: mark vendor core_data violatorsVol Zhdanov2018-09-25
| | | | Change-Id: I9571f2a3cb82ea0de6ff4e76335ab9454ba66f3d
* msm8996-common: sepolicy: mark thermal files as core_dataVol Zhdanov2018-09-25
| | | | | | They're not under /data/vendor. Change-Id: I63ad040967c985925b05cf139710dc35b33291c5
* msm8996-common: sepolicy: do not use the same label for data and core_dataVol Zhdanov2018-09-25
| | | | | Change-Id: I36ba7dfe4bccae83703f65cd1afb57a8673e5471 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: LineageParts: Drop Control ringtone volume settingDavide Garberi2018-09-25
| | | | | | | * Needed after http://review.lineageos.org/226863 Change-Id: I27aa4b08b3becfbf5c52ef3533eac9ba5cad0702 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Disable sdm rotator downscalerJorim Jaggi2018-09-25
| | | | | | | | | Rotator down scaler is causing additional delays that are better handled by GL composition. Test: Open app, no jank Bug: 73640835 Change-Id: I6ea9baa28acc222afcf365f3bf107149bc8974d9
* msm8996-common: use new hwcomposer propertiesVol Zhdanov2018-09-25
| | | | | Change-Id: Ia2a494aa1a1fb2773c360cc27c2c78cea213f72d Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996: configstore: Uprev configstore (1.0 -> 1.1)Hung-ying Tyan2018-09-25
| | | | | | | Bug: 69691076 Test: Built and tested on walleye Change-Id: I16f06827ef83711c9e29698540ffcec658081fda Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Remove no longer needed Android BlueprintsBruno Martins2018-09-25
| | | | | | | * Soong now finds all Android.bp and Blueprints files in the source tree Change-Id: I2b7b22ecec7efb439d4c20c9d579ed9ceed5b20d Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Don't use marlin wifi firmwareDavide Garberi2018-09-25
| | | | | | | | * Partially reverts commit 597bd261c9ba59b23857807a4ffa65e563cf1d9e. * To work fine needs https://review.lineageos.org/#/c/LineageOS/android_hardware_qcom_power/+/229339/ Change-Id: Ia9f9e12d1362132144faef3b6076317cf8032cd6 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996: wifi: add band switch support for MCC to SCCKe Huang2018-09-25
| | | | | | | | | | | The current qcacld-2.0 driver does not support the MCC to SCC at different band. Then add the band switch support for MCC to SCC. Change-Id: I22ab05b3abaf65c0df0343c3568e1b650acc24ef CRs-Fixed: 2109735 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996: wifi: Add ini parameter of OCB per packet tx statsFerry Zhou2018-09-25
| | | | | | | | | | | | | This debug feature of OCB per packet tx stats needs to turn off the optimization controlled by macro HI_ACS_FLAGS_SDIO_REDUCE_TX_COMPL_SET, which would degrade the throughput performance. So, add an ini parameter to turn off this debug feature as default. Change-Id: I997f4ff74bd037730383a333bbf1140a1028243a CRs-Fixed: 1113905 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996: wifi: Add API to configure the period or ratio between BT and WLANc_zding2018-09-25
| | | | | | | | | | | | | | Add API to configure the period or ratio between BT and WLAN. Several parameters which needed depending on the use case. 1) BT Paging/Page Scan. 2) A2DP. 3) BT Inquiry/Inquiry Scan. 4) Etc. (depends on current implementation of supported use case.) Change-Id: I4cbe8308a66088b48a93c7582d658b655b584553 CRs-Fixed: 970861 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>