Commit graph

510 commits

Author SHA1 Message Date
ripee
2e1b717760 msm8976-common: Enable debugging hwui profile
* Fixes screen flickering in many apps
2020-10-17 12:24:32 +02:00
Erfan Abdi
f746dd6d30 msm8976-common: Setup device soong namespace 2020-10-08 13:46:22 +02:00
ripee
01014cd2a5
Merge pull request #2 from LineageOS/lineage-16.0
msm8976-common: proprietary-files: Update default source note
2020-10-08 13:44:03 +02:00
syphyr
2d9dd6b391 msm8976-common: proprietary-files: Update default source note
Sources from T813XXS2BSJ3_T813XAC2BSA2_XAC

Change-Id: I07d28010ed55e5f55922093b348f1d9cec357cd9
2020-05-22 01:07:29 +02:00
Wang Han
9d7432ca2a msm8976-common: Extend sphal search paths for media swcodec
* Legacy devices do not have vndk-sp, so we have to add
   /system/{LIB} to sphal search paths to make sure linker
   can find the according libraries successfully.

Change-Id: I95b4b4cc9b187ce2b3a50e4e4d1e4940f36e087d
2020-04-27 23:15:19 +02:00
aviraxp
08ebba53cf msm8976-common: Import and bind mount loader config for media swcodec
* This config needs to be modified for legacy devices. As
   there is no easy way to split it, import it into device
   tree and bind mount it instead.

 * Head at android-10.0.0_r2
   (3ac371484399da6efbd0c835aa461d3326263ab1).
2020-04-27 23:14:55 +02:00
ripee
fd211ae015 msm8976-common: Go back to passthrough camera implementation 2020-04-27 23:12:23 +02:00
npjohnson
603bbe069b msm8976-common: Set sys.usb.ffs.aio_compat in recovery as well 2020-04-27 20:49:03 +02:00
David Ng
288a849491 msm8976-common: Define extra folders in makefile instead of init.qcom.rc
With Android 10, these folders get wiped out unless declared at compile time.
2020-04-22 23:56:40 +02:00
ripee
716572f24a msm8976-common: Add support for Miracasting 2020-04-22 23:28:29 +02:00
Han Wang
26a396efe4 msm8976-common: Adjust pinned files following runtime module work
Test: adb shell dumpsys pinner
2020-04-22 23:28:20 +02:00
ripee
f40d286569 msm8976-common: Remove F2FS 2020-04-22 23:27:39 +02:00
aviraxp
2efb3d7e2e msm8976-common: Kang libperipheral_client.so from crackling MM
* Somehow (likely due to some bionic changes), nougat blob never
  works on Q and causes NPDs in various processes. This lib
  somehow fixes it.
2020-04-22 23:26:45 +02:00
Suren Baghdasaryan
ddf1881ec8 msm8976-common: gps: Add libprocessgroup dependency to set_sched_policy users
Add libprocessgroup dependency required for set_sched_policy function.
Include sched_policy_ctrl.h header which now contains set_sched_policy
definition.

Bug: 111307099
Test: builds, boots

Change-Id: Id90ba4f0782c7a9a620e6bd273813e5a56dbd140
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2020-04-22 23:26:45 +02:00
Pranav Vashi
9fa553206f msm8976-common: overlay: Disable config_cleanupUnusedFingerprints 2020-04-22 23:24:50 +02:00
mohammad92
49fbfaf1d3 msm8976-common: Disable codec2 2020-04-22 23:24:50 +02:00
Tri Vo
526caab0c0 msm8976-common: Move device-specific entries to /vendor/ueventd.rc 2020-04-22 23:24:50 +02:00
Sujin Panicker
f43bf03649 msm8976-common: fix rank of OMX audio codec components
Rank OMX SW audio codecs higher than C2 codecs.
2020-04-22 23:24:50 +02:00
Nirmal Abraham
fb9a008419 msm8976-common: Disable SF Latch Buffer Signaled property 2020-04-22 23:23:30 +02:00
Ady Abraham
0f1f589f2d msm8976-common: Enable GL comp backpressure
Enable backpressure for client composition to avoid jank due to
HWC queue stuffing.

Test: 1. Open Camera
      2. Swipe horizontally to go back to previous app.
2020-04-22 23:23:29 +02:00
arco
c9313c6b6f msm8976-common: Remove config_enabled_lte overlay
This is true by default.
2020-04-22 23:23:02 +02:00
aviraxp
3e4efd36c7 msm8976-common: Remove deprecated ipv6 tethering support
* This is not a thing anymore since N.
2020-04-22 23:23:02 +02:00
bgcngm
76e7066381 msm8976-common: Set shipping API level in the common product makefile
It's not meant to be set as a board config flag. Simply do it by
inheriting the makefile that now also exists for devices launched
with Marshmallow.
2020-04-22 23:23:02 +02:00
Sujin Panicker
c21dab3d1b msm8976-common: media: Update opus omx codec ranking
Update opus omx codec ranking to give c2 implementation
higher priority.
2020-04-22 23:21:40 +02:00
John Stultz
ac522297f7 msm8976-common: Disable nonblocking_ffs to avoid recent crashes with adbd
Recent changes to adbd have enabled nonblocking_ffs by default.

These have seeminly uncovered some bad memory corruption in the
kernel ffs gadget driver on every kernel I've tried so far.

Unfortunately I've not been able to diagnose what is going wrong,
so for now, lets disable the nonblocking_ffs.

We still need to root cause the issue as its a problem even with
the mainline kernel on HiKey, so its likely a generic kernel issue.

Signed-off-by: John Stultz <john.stultz@linaro.org>
2020-04-22 23:20:54 +02:00
Lucas Dupin
97aa3b8823 msm8976-common: Disable window rounded corner animations
For graphics performance reasons
2020-04-22 23:19:47 +02:00
bgcngm
ab74a417b9 msm8976-common: Switch legacy Wi-Fi service 2020-04-22 23:19:25 +02:00
Katz Yamada
1f63b1236c msm8976-common: gps: Fix for buffer overrun crash at copying nmea string
Add zero clearing of allocated nmea buffer to ensure
the nmea string is null terminated.

Change-Id: I78e8b03bc7d0f9b69e1a51356da379a57a647cad
CRs-Fixed: 2041933
2020-04-22 23:18:45 +02:00
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