Commit Graph

187 Commits

Author SHA1 Message Date
2bd14ebae0 mondrianwifi: Disable the navigation bar 2022-08-20 13:33:41 +02:00
3567a3dd44 mondrianwifi: Remove 4K encoder camera
Not supported by back camera
2022-08-20 13:33:41 +02:00
0a4dd32dc9 mondrianwifi: Disable bluetooth a2dp offload
its enabled by default in 12
2022-08-20 13:33:41 +02:00
4926eb03dc mondrianwifi: remove ADB override
error: found duplicate sysprop assignments:
ro.adb.secure=0
ro.adb.secure=1
error: found duplicate sysprop assignments:
ro.secure=1
ro.secure=0
2022-08-20 13:33:41 +02:00
43ad60efc6 mondrianwifi: use hdpi density recovery
Fix limit size too high
2022-08-20 13:33:41 +02:00
retiredtab-gerrit
e96871ab7a mondrianwifi: get rid of all duplicate manifest.xml entries
Since we changed

DEVICE_MANIFEST_FILE := $(DEVICE_PATH)/manifest.xml

to

DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml

the latter appends the mondrianwifi manifest.xml to the existing msm8974
manifest.  So get rid of all the duplicate entries.
2022-08-20 13:33:41 +02:00
retiredtab-gerrit
414baf3133 mondrianwifi: append to existing manifest.xml from msm8974
Change syntax to += to append mondrianwifi specific manifest.xml onto
existing msm8974 manifest.xml.

With the old :=, it overwrote the msm8974 manifest.xml.
2022-08-20 13:33:41 +02:00
Edwin Wong
56106b383f mondrianwifi: Update clearkey plugin to drm HAL v1.4
Must update to 1.4 because 1.3 fails to work in Android 12.
2022-08-20 13:33:41 +02:00
Kyle Harrison
54b7e7c527 mondrianwifi: Move ueventd.qcom.rc to /vendor/etc
In Android 12, the search path for the ueventd vendor config is now /vendor/etc.
2022-08-20 13:33:41 +02:00
b1d7e819a7 mondrianwifi: Disable APEX compression
Kernel panics on msm-4.9.

Change-Id: I92e39cd979be2cbdf69588c3274dc2dae7a45f78
2022-08-20 13:33:41 +02:00
6717ff249b mondrianwifi: add ro.kernel.ebpf.supported 2022-08-20 13:33:41 +02:00
9a9abae536 mondrianwifi: Use gcc for kernel build
Lineage has switched to clang for kernel builds by default. The
mondrianwifi 4.9 kernel does not build with clang.

Change-Id: Ie00632002a532a7a090d50c1951575c361244f7d
2022-08-20 13:33:41 +02:00
e2bb3937fc Revert "mondrianwifi: remove selinux permissive"
This reverts commit 1e718b46d4.
2022-08-20 13:33:41 +02:00
b4f8006428 mondrianwifi: tune rec main mic volume
Thanks Yxo 6o6uka for testing best values
"the best out-of-the-box experience (natural recording level, no
distortion)"
2022-08-19 10:54:05 +02:00
f3ebb03588 mondrianwifi: disable qmuxd no modem 2022-03-20 10:52:17 +01:00
ef2420ba0b mondrianwifi: Define properties for LMKD
Change-Id: Ie8748a46ce39f3c8c629d8862e767876f0c4c99f
2022-03-19 14:53:16 +01:00
da87b285af mondrianwifi: selinux sensors 2022-03-19 14:53:11 +01:00
f17e7fd6f1 mondrianwifi: restore ring volume 2022-03-15 05:51:02 +01:00
4e417eedef mondrianwifi: use stock wifi conf 2022-03-13 09:53:31 +01:00
13d6404823 mondrianwifi: fix mic voip
set vendor.dedicated.device.for.voip false
2022-03-13 08:09:57 +01:00
7afa5f4c81 mondrianwifi: wifi only 2022-03-13 07:27:55 +01:00
e6f947fb75 mondrianwifi: use stock mixer_paths 2022-03-13 07:27:51 +01:00
1e718b46d4 mondrianwifi: remove selinux permissive 2021-09-03 21:50:20 +02:00
90fb3055a0 mondrianwifi: twrp 2021-08-29 17:29:35 +02:00
cec286b574 mondrianwifi: sepolicy 2021-08-29 16:35:17 +02:00
6a033b4c18 mondrianwifi: touchscreen: Allow capacitive buttons to be disabled 2021-08-27 22:19:17 +02:00
3539f7dad8 mondrianwifi: override updater url 2021-08-27 20:49:08 +02:00
9868f4a698 mondrianwifi: update security patch last update 2021-08-27 17:46:31 +02:00
60e0a7dcb6 mondrianwifi: cleanup inherit from msm8974-common 2021-08-26 17:22:16 +02:00
e60f9bc155 mondrianwifi: remove nfc permission not supported 2021-08-26 17:00:25 +02:00
602b8bdd79 mondrianwifi: Add gatekeeper software HIDL service.
Use the default software implementation of gatekeeper.

Change-Id: Id696752ad78047155cad6a5dafe7ca1b4fe86345
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
2021-08-26 17:00:25 +02:00
65f66db483 mondrianwifi: Remove obsolete dex settings
This block is completely redundant because..
- WITH_DEXPREOPT := true is the default
- WITH_DEXPREOPT_PIC is never read
- DEX_PREOPT_DEFAULT := nostripping has no effect when the
  BOARD_USES_SYSTEM_OTHER_ODEX flag is set to true

Test: make
Change-Id: I618a1e395ca1a14555cd50eef1a4f1aa079b553d
2021-08-26 17:00:25 +02:00
d58bd5cef3 mondrianwifi: enable support for freeform windows and picture-in-pic…
…ture

Change-Id: If0a63fc7e8455100128fa25955bb4da485fff873
2021-08-25 20:27:02 +02:00
86d54e4c12 mondrianwifi: Update loader config for media swcodec to 11
* Head at bb8f985d773f63f9e943103cb1faae5bfba8e1e1.

Change-Id: I4fb2bc8e40406b2fd8d6d002330f666b7fe5823e
2021-08-25 20:13:22 +02:00
1d09ecf73e mondrianwifi: wifi: Disable WPA2 -> WPA3 upgrade.
Our device doesn't simply support sae.

Change-Id: Ibf8b9e363b4677cf2ab9590cc2ea1ba2341e29ca
2021-08-25 20:13:22 +02:00
952d2c0fcd mondrianwifi: wifi: Move wifi related overlays to new location
Change-Id: I747d0242422b753f4e3007ce6c4bf7f124c52c5e
2021-08-25 20:13:13 +02:00
965ac43b4d mondrianwifi: Build common legacy gnss hal
Change-Id: I56095b9c3bba065779c90b6aeb61ebfed6af7e77
2021-08-25 19:29:51 +02:00
e18afdf7dd mondrianwifi: enable TARGET_HAS_MEMFD_BACKPORT
Change-Id: I3f729908f822567ff874cf909341c319e2955470
2021-08-25 18:14:03 +02:00
c8c5f50804 mondrianwifi: Drop external camera config
Change-Id: If6e611bbb7897bfbcdba5e381c62348d8d91373c
2021-08-25 16:04:05 +02:00
87aa83a89d mondrianwifi: Don't let builds complete without vendor tree
* There is zero reason to ever build without blobs. We've even seen
  this situation with official builds from our servers. It's always
  better for a build to fail than it is for it to produce something
  that has no chance at working.

Change-Id: I4968795670c91f691e9ecdc0e4af62e16ba3a93a
2021-08-25 15:50:10 +02:00
54dd274635 mondrianwifi: Move supplicant service init to wpa_supplicant
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
2021-08-25 15:47:55 +02:00
b485245b82 mondrianwifi: Import stock Dalvik heap overrides
Change-Id: Ifac6650a874cf982a6e767da92599d4b6230a637
2021-08-25 15:35:43 +02:00
ca4c9a2abf mondrianwifi: Create media_profiles_V1_0.xml
media_profiles_V1_0.xml is created from media_profiles.xml by replacing
the dtd schema inside media_profiles.xml with an external reference to
/system/etc/media_profiles_V1_0.dtd.

Change-Id: I0fbb03603a72d0108a96bfa0f0a4ceb12ef3d430
2021-08-25 13:50:05 +02:00
b778e35273 mondrianwifi: Enable v1.3 clearkey drm plugin
Bug: 139134043
Test: MediaDrmTest
Change-Id: Ie34e59947577988f75fae52d22e3f573f4b92420
Signed-off-by: Arian <arian.kulmer@web.de>
2021-08-25 11:00:17 +02:00
f2648c708e mondrianwifi: Clean up camera wrapper
- Clean up formatting
 - Clean up logging
 - Clean up method calls
 - Staticise all the functions

Change-Id: If14611e9fdd3ee7f83611204ea51d8b004209ad4
2021-08-25 09:47:30 +02:00
ee432f65ae mondrianwifi: Force build scudo free 32 bit variant of libc.
We have issues with camera blobs which doesn't play
well with scudo allocation/deallocation tracking.
Scudo reports corrupted header when stopping a
video recording.
Because we aren't alone with this (also upstream seems
to have trouble with camera modules) use the 32 libc
which is used only by a few components, like camera
and audio.

Because docs states, that libc with the svelte take less RSS,
but is a little bit slower.
https://android.googlesource.com/platform/bionic/+/master/docs/native_allocator.md
This is the reason to not enable this target wide.

Change-Id: Ic0d950817238a227218f59b95e5fd2ffd66e786a
2021-08-25 09:32:32 +02:00
0aef4ba07f mondrianwifi: Build Clearkey 1.2 plugin and update vintf
Also remove the widevine plugin we don't have

Reference:
LineageOS/android_hardware_interfaces@lineage-17.0/drm/1.1/README.md

Change-Id: Ie4ea8d79496ba6181ef6c45b0ce0a993a3e442c4
2021-08-25 08:42:05 +02:00
2960cf34dc mondrianwifi: Set TARGET_DISABLE_POSTRENDER_CLEANUP := true
To fix the bad UI lag we are experiencing.

Change-Id: I3edb25f93c58b87431a1802726f31123200f75d3
2021-08-25 07:57:51 +02:00
a491e98a5d mondrianwifi: disable console 2021-08-24 23:24:47 +02:00
f55c9baae9 mondrianwifi: Drop OVERRIDE_RS_DRIVER
* So, this one from bullhead can cause everything to get janky AF
  every time RenderScript is actually used, and finding one that
  actually loads (no missing symbols) AND actually works well is,
  well, challenging. The device works fine with the normal
  non-adreno driver in AOSP, so let's use that until/unless we find
  an actually working adreno driver.

Change-Id: I4ab19269eb49f5f2aed375d9055d68c1b9835f69
2021-08-24 22:42:56 +02:00