Commit graph

392 commits

Author SHA1 Message Date
RenanQueiroz
d3667b4a3b
msm8226-common: Add triple buffering back
* Fixes tearing
 * Put SF_START_GRAPHICS_ALLOCATOR_SERVICE into a prop

This partially reverts commit cc4e308a68fe57ccba2bd6032a1380bd1dd3c0ac.
2020-01-24 16:01:03 +03:00
Chia-I Wu
3bc809efd9
msm8226-common: switch to IMapper 2.1
Change-Id: I33be48cd40457ceabc24ff5e085fa8ddaa4670e4
2020-01-24 15:56:29 +03:00
Nicolas Geoffray
6275607c04 msm8226-common: Adjust pinned files following runtime module work.
Test: adb shell dumpsys pinner
Bug: 119868597

Change-Id: I44ef66fd56b6bb64b09976561b734a77b09331dd
2020-01-24 15:23:45 +03:00
RenanQueiroz
b4b610fc13 msm8226-common: Add Android Go changes brought in Q 2020-01-24 15:20:46 +03:00
DJABhipHop
34a11ac4cd WIP: Video recording fixed
Video recording fixed on the Tab 4, But there no audio at all & it only Snap can record videos
 ATM
2020-01-22 20:00:01 -05:00
Francescodario Cuzzocrea
1abb19916d msm8226-common: camera: add support for galaxy tab4 devices
Change-Id: I349ff302765a47d4b188d8deb0bfd88959da9c61
2020-01-22 11:55:10 -05:00
RomanDesigner
d602959b23
s3ve3g-common: Fix alarm permission in ueventd.rc 2020-01-19 18:25:49 +03:00
RomanDesigner
88892c76f5
msm8226-common: Fix /dev/alarm permission in init 2020-01-19 18:20:04 +03:00
RomanDesigner
0ea94cc42b
msm8226-common: Delete sepolicy contexts from init.qcom.rc 2020-01-06 16:51:52 +03:00
RomanDesigner
174ab1f5ea
msm8226-common: Add missing separator 2020-01-06 14:59:51 +03:00
RomanDesigner
9b49628cc2
msm8226-common: Add sepolicy type flag 2020-01-06 14:51:48 +03:00
RomanDesigner
631706483c
msm8226-common: sepolicy: Drop unknown sepolicy type 2020-01-05 18:41:48 +03:00
Arne Coucheron
8d18e24346
msm8226-common: manifest: Remove widevine instance
In Q, this looks like it's making the system wait for a
specific widevine service, which we don't have.
Removing this appears to make L3 start working again.

Change-Id: Ib410029519e1d3cb0f0f3a5aa553976b36bca8c3
2020-01-05 14:11:53 +03:00
Couchy
e536679885
msm8226-common: camera: add libnativewindow and libgui libs
These are now needed to access some native buffer headers.
2020-01-05 13:11:28 +03:00
Hai Shalom
7e57ce4586
msm8226-common: Uprev wifi supplicant to 1.2 in init.qcom.rc
Update manifest with hidl 1.2 required for WPA3 and OWE.

Bug: 112195778
Test: Functional tests
2020-01-05 13:08:36 +03:00
Kim Le
1fd4b63df2
msm8226-common: Move fstab to vendor/etc 2020-01-05 13:06:17 +03:00
RomanDesigner
58de415064
msm8226-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.

Signed-off-by: Joshua Primero <jprimero155@gmail.com>
2020-01-05 12:56:38 +03:00
John Stultz
802f5e740f
msm8226-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.

Change-Id: I81ac10edf5ddf9040852a4cb1f0f07c4ca16ef67
2020-01-05 12:50:04 +03:00
RomanDesigner
260468a75f
msm8226-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-01-05 12:48:03 +03:00
padarshr
992b7b00be
msm8226-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.

Change-Id: Id1f94f34e100d616d91292efe514c201f7d24642
2020-01-05 12:35:01 +03:00
Bruno Martins
3b70fbcd31
msm8226-common: Binderize them all
* Switch to binderized HAL services as possible and update
   HIDL manifest accordingly.

 * Following considerations regarding those without any change:

   - Sensors left out of the game because wouldn't work
     otherwise.

Change-Id: Id50291488d655187aa013c51bdd6890dca010564
2020-01-05 12:27:24 +03:00
Arne Coucheron
2da3370a1e
msm8226-common: Add 0x2000U to additional gralloc usage bits
Fixes video playback error.

| Gralloc2: buffer descriptor contains invalid usage bits 0x2000
2020-01-05 12:22:27 +03:00
Hai Shalom
8bd7e0313f
msm8226-common: Uprev Wifi supplicant HAL from 1.1 to 1.2
Update manifest with hidl 1.2 required for WPA3 and OWE.

Bug: 112195778
Test: Functional tests
2020-01-05 12:21:08 +03:00
Michael Bestas
48d58e1210
msm8226-common: Update to power HAL 1.2
Change-Id: Ic58b75f8b7a662914e28cbcc9ffdb2b2a143134b
2020-01-05 12:20:31 +03:00
Lucas Dupin
510233e283
msm8226-common: Disable window rounded corner animations
For graphics performance reasons

Bug: 122347746
Test: visual; swipe up on overview
Change-Id: I7132a252efdada434ac9fce812eccdca94d9c635
2020-01-05 12:17:48 +03:00
John Stultz
b74d196491
msm8226-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.

Change-Id: I68a94f8f26b65ab383c37274e4f631227a3c7d5f
Signed-off-by: John Stultz <john.stultz@linaro.org>
2020-01-05 12:17:21 +03:00
Roshan Pius
3680ad07cb
msm8226-common: hostapd(hidl): Uprev to 1.1
Bug: 112705137
Test: Compiles
Change-Id: Ia9b8f8a81ab774540ad8f0f0999a69d14d06d3da
2020-01-05 12:17:03 +03:00
Jong Wook Kim
566f22f28c
msm8226-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
Change-Id: I23f9c6923bebd87ff5b8d92c1c366c62fbfb30b9
2020-01-05 12:16:27 +03:00
Bruno Martins
65e60c96d8
msm8226-common: Switch legacy Wi-Fi service
Change-Id: I4556faa678f348ed27803a5f1615aaced75aa4c0
2020-01-05 12:15:54 +03:00
Anton Hansson
4412a3b04d
msm8226-common: Set cpu runtime variant to krait
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.

Bug: 120773446
Test: bionic benchmarks with and without this change
Change-Id: I766f7bbd9f1fab35991c313da7bfad8563108ef8
2020-01-05 12:14:23 +03:00
Anton Hansson
064b0225ea
msm8226-common: Use generic arch variant
Follow blueline which has not demonstrated any regressions
after switching to a generic arch variant.

Bug: 120773446
Test: make
Change-Id: If64385d968cb923177f74b03a94633f0dbf42fbb
2020-01-05 12:13:51 +03:00
Katz Yamada
52a845523e
msm8226-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-01-05 12:13:14 +03:00
Arne Coucheron
7f16443813
msm8226-common: Complete the removal of f2fs
We previously removed it from fstab, so this isn't relevant anymore.

Change-Id: I5045981d299966e95401f96ac2f0d4eca92e9ba8
2020-01-05 12:03:07 +03:00
Peter Kalauskas
4bbd30cfbd
msm8226-common: Convert IMediaCasService to use vintf_fragments
Bug: 119669996
Test: Run cts CtsMediaTestCases
Change-Id: I0745c3b2d8bb57e7a29585ec33c76ef38affdc6b
2020-01-05 11:55:53 +03:00
Suren Baghdasaryan
7e9aad2a15
msm8226-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-01-05 11:55:06 +03:00
RomanDesigner
8564da0229
msm8226-common: Move optimizations to msm8226.mk 2020-01-05 11:53:08 +03:00
pythonlimited
52b20554e8
msm8226-common: Drop common libinit.
Change-Id: I5ba14bda7b49c5dec294eb4dd3a8d6645bb7e5b7
2020-01-05 11:46:23 +03:00
Francescodario Cuzzocrea
7ed21fcb70 msm8226-common: fix more sepolicy denials
Change-Id: If81bc788428fdbbcd2c16d80f76316082e2c607f
2020-01-04 21:28:02 +01:00
isbon
54973f5b87 msm8226-common : allow sec_touchkey in sepolicy
Change-Id: Id2eeb041f04bb6f3b0919f31d50c9c1279b2e318
2020-01-04 14:57:38 +01:00
Francescodario Cuzzocrea
0b9054f915 msm8226-common: support fingerprint device
Change-Id: Ie1f37be4bff38c4cf343c76d1afc2bce84727c8f
2020-01-03 21:06:50 +01:00
BAProductions
a05beb8092 msm2886-commom: fix more sepolicy denial
Change-Id: Idb55755ced43fa48f12a9a7f1a7f7648f24cbd51
2020-01-03 17:58:59 +01:00
BAProductions
25a6078212 msm8226-common: use regex for brightness path 2020-01-03 17:58:04 +01:00
Francescodario Cuzzocrea
40cf4dda5e msm8226-common: add mdnie path to file_context 2020-01-03 17:57:48 +01:00
Arne Coucheron
5a837b6ab6 overlay: Add config_useSystemClockforRotationSensor
Change-Id: I866e8871f11e6ecfa6b9cfa3a74563009ec45237
2019-12-17 23:11:09 +01:00
Francescodario Cuzzocrea
ffd3e6104b msm8226-common: allow livedisplay to handle screen power reduce
Change-Id: I7294f3449c0566e78f3d291d819fa8acd2294755
2019-12-15 21:16:30 +01:00
Francescodario Cuzzocrea
8296402cb4 msm8226-common: resolve sepolicy denials
Change-Id: Iea4bbd17a420a06d55658a4a52bdcabf14cf4d2c
2019-12-15 18:41:15 +01:00
Francescodario Cuzzocrea
320c019e22 msm8226-common: rootdir: restore secontex of /efs
- also fix file permissions

Change-Id: If94b70a4008fcd1d00ca15e203c37ac8e94211ae
2019-12-15 18:30:17 +01:00
Francescodario Cuzzocrea
ead4fb50ef msm8226-common: selinux: add backlight path for panel and button brightness to file_context
This fixes backlight dimming not working on enforcing builds

Change-Id: Ic0b99ddaa502727ac8e4f34ce2dcf3e3187c060d
2019-10-18 22:07:52 +02:00
pythonlimited
709a208448 msm8226-common: rootdir: correct charger seclabel 2019-10-17 16:13:03 +02:00
PythonLimited
8bc870910c msm8226-common: update and cleanup sepolicy 2019-10-17 16:12:48 +02:00