Commit Graph

510 Commits

Author SHA1 Message Date
bgcngm 71f503b90d msm8976-common: Address 'LOCAL_MODULE_TAGS := eng debug' deprecation.
Newer AOSP deprecates LOCAL_MODULE_TAGS := eng debug.
We now remove that and instead add the package to
PRODUCT_PACKAGES_ENG or PRODUCT_PACKAGES_DEBUG as applicable.

To ensure that we don't miss out on any package during this switch,
we add these explicitly, even though it might have been already
added under PRODUCT_PACKAGES at some other location.
2020-04-04 13:24:05 +02:00
abdoi94 0e2ce1d572 [DNM] msm8976-common: Make kernel permissive 2020-04-04 13:23:36 +02:00
ripee 790b16d75d Revert "msm8976-common: Add bootloader assert"
This reverts commit 864759e373.
2020-04-04 13:17:00 +02:00
ripee 91da02700a Revert "msm8976-common: Add list of supported TrustZone versions"
This reverts commit 74773f0e3e.
2020-04-04 13:17:00 +02:00
ripee 3bb9965222 Revert "msm8976-common: Add TZ.BF.3.0.3-00071 to trustzone assert"
This reverts commit a4ddd171d2.
2020-04-04 13:17:00 +02:00
ripee 4ad9a59789 Revert "msm8976-common: Add TZ.BF.3.0.3-00074 to trustzone assert"
This reverts commit 9a5ff95ac6.
2020-04-04 13:17:00 +02:00
ripee b2c3193681 Revert "msm8976-common: Add TZ.BF.3.0.3-00077 to trustzone assert"
This reverts commit 8873a33fb8.
2020-04-04 13:17:00 +02:00
ripee 069e183fcb Revert "msm8976-common: Limit size of trustzone assert"
This reverts commit ea3c8721a9.
2020-04-04 13:17:00 +02:00
ripee e9a2845041 Revert "msm8976-common: Add assertions on TrustZone version"
This reverts commit 34842dbf45.
2020-04-04 13:17:00 +02:00
ripee bf560d630e Revert "msm8976-common: Calculate TrustZone size at runtime"
This reverts commit e7edb4e11d.
2020-04-04 13:17:00 +02:00
ripee ab0d370b32 Revert "msm8976-common: recovery: Use project pathmap for recovery"
This reverts commit d5bf5103a2.
2020-04-04 13:17:00 +02:00
ripee 1d1da97260 Revert "msm8976-common: recovery: Update for O"
This reverts commit 938eecdcc6.
2020-04-04 13:17:00 +02:00
ripee 79191485fc Revert "msm8976-common: Fix build of librecovery_updater_samsung"
This reverts commit 00999089ce.
2020-04-04 13:17:00 +02:00
ripee b353f36fa5 Revert "msm8976-common: recovery: Drop pathmap dependency"
This reverts commit 900aee2784.
2020-04-04 13:17:00 +02:00
Bruce Levy d2305a880b msm8976-common: Mark rmt_storage as shutdown critical
rmt_storage should not be automatically killed by Android during
shutdown since it is needed to actually process the peripheral
shutdown

Change-Id: I58a29fe86955f0abad944727bb4208dad89f495d
2019-09-06 20:58:49 +02:00
syphyr ea3c8721a9 msm8976-common: Limit size of trustzone assert
Do not exceed max size of assert string

Change-Id: Icde08bfe5a997a0ba54707fca282bc36d73412c4
2019-08-08 23:47:04 +02:00
syphyr 8873a33fb8 msm8976-common: Add TZ.BF.3.0.3-00077 to trustzone assert
Change-Id: I986b295f4d42354e36184b43b16148c124fce811
2019-08-08 21:46:24 +02:00
syphyr 07bb0522cf msm8976-common: adjust lowmemorykiller settings
Upstream does not use these settings

Fixes: "Revert "lowmemorykiller: adapt to vmpressure""
       "Revert "lowmemorykiller: Introduce sysfs node for ALMK
        and PPR adj threshold"

Change-Id: Ifa2a8b2aaa0ab9c6326ded570ccaf91c2ad5b8e1
2019-07-29 23:47:41 +02:00
Srinivas Girigowda d262e94dcc msm8976-common: Modify DTIM config ini values
Modify gMaxLIModulatedDTIM and gEnableModulatedDTIM.

Bug: 28106261
Change-Id: Id3ae5d57a52cfc72e19f16cdca044131ffd57ef8
Signed-off-by: Srinivas Girigowda <sgirigow@codeaurora.org>
2019-07-27 22:38:08 +02:00
Alex Naidis 30b15467b2 msm8976-common: wifi: smarter decisions on whether to use a 2- or 5Ghz AP
Implement a smarter system on whether to connect
to the provided 2Ghz or 5Ghz network.

Change-Id: Idd41e3d9a5e2bde3ea9b4873dffc4274d1530324
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2019-07-27 22:38:01 +02:00
Alex Naidis 205aa5b1aa msm8976-common: wifi: set beacon missed count threshold
Setting the beacon missed count threshold
with a difference of 10 to improve stability
of the WIFI connection.

Change-Id: Iea459ead3505bcea1a41f9b0e713957092bf4745
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2019-07-27 22:37:54 +02:00
syphyr db8e9918ab msm8976-common: Adjust link activity timeouts
Change-Id: I6a49222c996f14d6de95db70e83d08b8786360e3
2019-07-27 22:37:08 +02:00
syphyr cb065c796b msm8976-common: Fix max dwell time for passive scan beacon report
Do not excceed two beacon intervals

Change-Id: I0cf91cd577ac36c7e5be87f6163b9f858c6136d3
2019-07-27 22:36:57 +02:00
syphyr c591e3a1b6 msm8976-common: Increase continuous packets dropping threshold
Set to maximum value to prevent kickout.

Change-Id: Ib8953e5723aadfc3544bcc513938b542cdf5a018
2019-07-27 22:36:48 +02:00
LuK1337 a7e7fcdd35 msm8976-common: hal_lineage_livedisplay_default -> hal_lineage_livedisplay_sysfs
Change-Id: If8954290c41913b7453a1cba4d67f7a63d08d2dd
2019-06-16 16:52:22 +02:00
LuK1337 51a2a13e22 msm8976-common: comhal_lineage_livedisplay_default.te -> hal_lineage_livedisplay_default.te
* Dunno how that even happened tbh.

Change-Id: I1b042a79d6ce95a6af906ba00c553e01020b0b73
2019-06-16 16:02:05 +02:00
Kevin F. Haggerty 74c3327190 msm8976-common: Build Samsung LiveDisplay service
Change-Id: I74d38aa0df3179bb00b942135e8ff055aa8a5658
2019-05-24 23:32:30 +02:00
LuK1337 c2e3a7b743 msm8976-common: sepolicy: Remove no longer needed rules
Change-Id: Ib0e310d26d153bf7477110d592e5d18e7042bfad
2019-02-25 17:03:23 +01:00
LuK1337 38786d49b8 Revert "Revert "msm8976-common: Binderize camera & graphics composer""
This reverts commit f10851da4f.

Change-Id: Ia054b3433e8bd3652ad6557180e739a0ea5bd49c
2019-02-25 16:55:49 +01:00
LuK1337 9a5ff95ac6 msm8976-common: Add TZ.BF.3.0.3-00074 to trustzone assert
Change-Id: I54a0e0d2c750ef476959e743bd38a88a930333f1
2019-02-12 19:03:29 +01:00
LuK1337 900aee2784 msm8976-common: recovery: Drop pathmap dependency
* It's unlikely to be merged anyway.

Change-Id: Id6c968ff54d4dc51a45a1f04fe64cade2ae3c464
2019-02-11 11:56:36 +01:00
LuK1337 407b78f2f4 msm8976-common: Disable ANT+ for now
* Theoretically I may revisit it soon (TM)

Change-Id: I9895ef8e10b2e75a4cd4f3a61255eacfb60daa13
2019-01-21 17:00:41 +01:00
LuK1337 f10851da4f Revert "msm8976-common: Binderize camera & graphics composer"
* Since someone was funny enough to label display.qservice
  as 'service' instead of 'vndservice' in legacy qcom sepolicy
  I'm forced to move these back to passthrough ;-;

This reverts commit a8fd5e61e0.

Change-Id: I4fb729fce584450499b55cc7b8815e9768dac846
2019-01-21 16:16:06 +01:00
LuK1337 9b22aa359f msm8976-common: sepolicy: Allow vendor_init to create files in /data/misc/radio
Change-Id: I537ef9612c1b7994510bc8e91e5c09953a56b384
2019-01-19 13:18:48 +01:00
LuK1337 7efa7c4142 msm8976-common: sepolicy: Allow vendor_init to load firmware files
Change-Id: Ic687c9bdc58023b0745fedd23b99811cdb87a325
2019-01-19 13:18:48 +01:00
Tom Cherry 7aa66e91ba msm8976-common: sepolicy: Add restricted permissions to vendor_init
The core SEPolicy for vendor_init is being restricted to the proper
Treble restrictions.  Since this is a legacy device, it is tagged as a
data_between_core_and_vendor_violators and the needed permissions are
added to its device specific vendor_init.te

Bug: 62875318
Test: boot 8976 targets without audits
Change-Id: I13aaa2278e71092d740216d3978dc720afafe8ea
2019-01-19 13:18:48 +01:00
LuK1337 0c5cb53a04 msm8976-common: sepolicy: Address healthd denials
Change-Id: I56f87d9b879d066bd04bea905a0b8df50b56dc33
2019-01-19 13:18:48 +01:00
LuK1337 26e4e5df4a msm8976-common: sepolicy: Address hal_fingerprint_default denials
Change-Id: If0218356eedc43f53d180c2415c777c2b7f8bf10
2019-01-19 13:18:48 +01:00
LuK1337 b0d28dc4c4 msm8976-common: sepolicy: Address camera related denials
Change-Id: If1dea9ad887987b4e4e05aa52d4b2271e4025080
2019-01-19 13:18:48 +01:00
LuK1337 8ae15d9d5d msm8976-common: Switch to regular camera provider impl
Change-Id: If6dd0c24b20e8520c01e72b83a8bc623d14ff518
2019-01-19 13:18:47 +01:00
Demon000 22b76720e4 msm8976-common: camera: Store user pointer and pass it when needed
The new camera interface calls set_callbacks with a pointer
to it's internal CameraDevice and expects following calls to
the callbacks to use that pointer.

Store the pointer in the camera wraper and intercept the
callbacks calls to pass it along.

Change-Id: I99f02484e12a3f72cf1be13f1c724f474a452d7f
2019-01-19 13:18:27 +01:00
LuK1337 dafcd292e6 msm8976-common: sepolicy: Allow timekeep to read since_epoch
Change-Id: I66af18e6c82f8ea6a2951a93e468f2533432b3c7
2019-01-19 12:58:40 +01:00
LuK1337 3c733e2cc6 msm8976-common: sepolicy: Address timekeep denials
Change-Id: I1f6b24c2586106535415a1913d9b6d6841bc8392
2019-01-18 23:22:57 +01:00
Demon Singur 9d3d34ab77 msm8976-common: rootdir: Do not symlink sdcard legacy path
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
2019-01-18 23:22:35 +01:00
Bruno Martins 9b27fadfb2 msm8976-common: Only include legacy QC sepolicy
* This has now turned into a separate repository (maintained only
   for legacy devices, those that never got official Orea updates).

Change-Id: I981b452b697bc3610d7aa97b74ed182c6b70ca30
2019-01-18 23:22:24 +01:00
codeworkx c1d6909b63 msm8976-common: Do not cleanup unused fingerprints
Change-Id: I6095236b31dcc8fb4ae966fde5502df73c53ecb5
2019-01-18 23:20:58 +01:00
LuK1337 3866a7d974 msm8976-common: rootdir: Update camera provider HAL service name
Change-Id: Idc1a1e3da87c6c57e23c5c4cedcd77f4e0da5119
2019-01-11 14:41:26 +01:00
LuK1337 70e7d5daf4 msm8976-common: Drop TARGET_EXFAT_DRIVER flag
* No longer needed.

Change-Id: Icb0df10fece66ee2ded0fe9c4ae329c50b3d2571
2018-12-17 02:52:30 +01:00
LuK1337 381b77f356 msm8976-common: Correct SDK version override for camera HAL service
Change-Id: Ieb854202a1039e61fb995fd54af512e6e75707ec
2018-10-19 11:30:35 +02:00
RAJATH R 52c75ef1c8 msm8976-common: Support for new rules related to vendor props
- Add new bluetooth controller related property.

Change-Id: Ib15d5543bf7d94c900727d89b5cda7c99697f410
2018-10-19 11:09:51 +02:00