Commit Graph

482 Commits

Author SHA1 Message Date
ripee e474914e6b msm8976-common: Do not create directory for TZ Apps 2020-04-12 11:54:58 +02:00
spyffe 1c2f979274 msm8976-common: Switch to IMapper 2.1 2020-04-05 21:35:27 +02:00
followmsi f7acd762e0 msm8976-common: HWC2: Add properties to revert latching changes
https://android.googlesource.com/platform/frameworks/native/+/c5da271%5E%21/
2020-04-05 21:32:23 +02:00
luk1337 b0f11914d9 msm8976-common: Move to hardware/samsung fingerprint HAL 2020-04-05 14:52:51 +02:00
ripee bb1b84673d msm8976-common: Uprev keymaster to 4.0 2020-04-05 14:52:00 +02:00
ArianK16a 2851c3581c msm8976-common: rootdir: Set usb to mtp on charger
* Otherwise adb will try to start and crash the device
  while offmode charging at a computer.
2020-04-05 14:52:00 +02:00
ripee a0630b1abf msm8976-common: Convert lights HAL into a binderized HAL 2020-04-05 14:52:00 +02:00
arco 8e30e03999 msm8976-common: Add 0x2000U to additional gralloc usage bits
Fixes video playback error.

| Gralloc2: buffer descriptor contains invalid usage bits 0x2000
2020-04-05 14:52:00 +02:00
mikeNG eac97cf9ad msm8976-common: Update to power HAL 1.2 2020-04-05 14:52:00 +02:00
Subbaraman Narayanamurthy 17cb046079 msm8976-common: rootdir: add CAP_SYS_BOOT for charger
Add CAP_SYS_BOOT capability for charger service so that it can
shutdown/reboot the system.
2020-04-04 17:37:13 +02:00
Subbaraman Narayanamurthy 84ba1fbeaa msm8976-common: Change user/group permission for for charger
Make charger binary run as system instead of root. Since it
needs to handle input key events, add input as a supplemental
group in addition to system and graphics.
2020-04-04 17:37:13 +02:00
Subbaraman Narayanamurthy e610027c1f msm8976-common: rootdir: Update charger service path
charger binary is moved to /system/bin. Update it accordingly.
2020-04-04 17:37:13 +02:00
youngguo18 f84502f992 msm8976-common: Uprev Wifi supplicant HAL from 1.1 to 1.2
Update manifest with hidl 1.2 required for WPA3 and OWE.
2020-04-04 17:36:58 +02:00
Jong Wook Kim 99e3b678e0 msm8976-common: Device Manifest Uprev Wifi HAL from 1.2 to 1.3
Move Wifi HAL from 1.2 to 1.3

Bug: 111753174
Test: builds and wifi works
2020-04-04 17:34:38 +02:00
Roshan Pius 36caba610c msm8976-common: hostapd(hidl): Uprev to 1.1 2020-04-04 17:34:07 +02:00
arco 87bfe39e45 msm8976-common: Drop mediaextractor seccomp policy
These syscalls are now allowed by default.

[arco] Also clean mediacodec.policy
2020-04-04 17:32:41 +02:00
elektroschmock ecce5c6cb9 msm8976-common: Convert ConfigStore properties to system properties
Configstore is deprecated since Android 10 due to high memory consumption

Reference:
https://source.android.com/devices/architecture/configuration
2020-04-04 15:22:11 +02:00
Peter Kalauskas afabc732c8 msm8976-common: Convert IMediaCasService to use vintf_fragments
Change-Id: I43366fd9e95b30948aaa97f1cd5ff8b189de6c52
Signed-off-by: abdoi94 <abdoi94.iq@gmail.com>
2020-04-04 13:24:05 +02:00
Anton Hansson 38f7ddeb98 msm8976-common: Use generic arch variant
Follow blueline which has not demonstrated any regressions
after switching to a generic arch variant.
2020-04-04 13:24:05 +02:00
Anton Hansson 1ac7628b9e msm8976-common: Set cpu runtime variant to cortex-a53
This makes bionic and various art tools that compile/runs cpu-specific
code choose the kryo variant at runtime. It does not affect
build-time compilation.
2020-04-04 13:24:05 +02:00
bgcngm b6058f1f8e msm8976-common: sepolicy: Label files under extra root folders
These labels are no longer being set in QC sepolicy.
2020-04-04 13:24:05 +02:00
Diego Wilson e8bae43212 msm8976-common: gps: Move device dependent modules to /vendor
Change-Id: I8229a6e4a9512a03cbc6c9522bb1dc0ce988d1c9
2020-04-04 13:24:05 +02:00
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