Commit Graph

381 Commits

Author SHA1 Message Date
LuK1337 82d63d1c6b msm8976-common: Remove device/qcom/common from lineage.dependencies
* We aren't building power.$(TARGET_BOARD_PLATFORM)
  therefore there's no reason to sync this repository.

Change-Id: Icc2cff368c05ed3bf68e4c718dbcbcdab42244da
2018-08-15 11:12:59 +02:00
LuK1337 4a56058afb msm8976-common: lineagehw: Update ReadingEnhancement for new API
Change-Id: I8afaa7dfebfe765ef3d670f544344b7dea732ac2
2018-08-10 13:36:15 +02:00
syphyr be2d161200 msm8976-common: Disable wifi firmware and packet logging
The wifi packet logging option has high overhead and several
security issues related to it.  Also, packet logging has issues
when the device goes into low power mode and can cause connectivity
problems when the screen turns off.  It is best to disable it.

Change-Id: Iac7bdb000c0e22ba9930365b6d8477b4c12a3248
2018-07-10 20:59:30 +02:00
LuK1337 f595ccf475 msm8976-common: Use correct ANT+ wireless device
* Stock ROM uses qualcomm-uart instead of vfs-prerelease.

Change-Id: I835763de40d8dcf24d859f29357598fc87ecf9d2
2018-06-24 17:36:46 +02:00
syphyr 7c73e79eda msm8976-common: Use legacy powersave wifi feature
The qcacld Qpower firmware feature may cause tcp resets while
the device is in sleep mode which indirectly causes random
wifi disconnects. Use the legacy powersave option instead.

Change-Id: Ic7f2e5f777fea083cb99ed9f2da7b6261fd953f0
2018-06-14 12:12:38 +02:00
LuK1337 35d8e578c1 msm8976-common: overlay: Remove bnep\\d from tetherable BT interfaces
Change-Id: Iac714d2de9a4d225da6fc3463d3fb99a4bb714a7
2018-06-13 14:19:06 +02:00
LuK1337 189b80f213 msm8976-common: overlay: Add ncm to tetherable USB interfaces
Change-Id: I8d9ed1f322741116a68d507e1e9d486179626bbe
2018-06-13 14:19:06 +02:00
LuK1337 8fcc1971af msm8976-common: Update TARGET_LD_SHIM_LIBS list
Change-Id: I88a3fc8bde7e729b034217caa8159a453de8802c
2018-06-10 14:35:05 +02:00
LuK1337 6b011f9573 msm8976-common: Set vendor security patch level
Change-Id: I5e492dfb8210932ac4883bf2eb4bd749b373d1a9
2018-06-10 11:59:39 +02:00
syphyr 37954d7869 msm8976-common: Remove unused WLAN config
Change-Id: Ibdf90ee8dee990e112bcb103cb88ec2705c383bf
2018-06-08 12:26:21 +02:00
LuK1337 eb0bd0ac80 msm8976-common: overlay: Update config_deviceLightCapabilities comment
Change-Id: I7e1c26cb9215be45793cf1d7995a2df80c8477c1
2018-06-05 21:40:26 +02:00
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