Commit graph

885 commits

Author SHA1 Message Date
Francescodario Cuzzocrea
cd32394829 matisse-common: kang RIL blobs from kmini3g
Change-Id: I868b053ecb75b534cba824c960ec06ccec3cd77e
2021-06-02 22:25:41 +02:00
Michael Bestas
d622923f40 matisse-common: Switch to standalone extract utils
* Align with templates while we are at it

Change-Id: Ife50623a3d1b8733f5cc76995c982d8950d39ad4
2021-05-28 20:10:44 +02:00
Kevin F. Haggerty
20622f50e1 matisse-common: 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-05-26 22:03:45 +02:00
Bruno Martins
5a9c9ca194 matisse-common: Define shipping FCM version in the manifest
Shipping API level less than 26 corresponds to legacy FCM version.

This addresses the following build warning:

   Warning: Shipping FCM Version is inferred from Shipping API level. Declare Shipping FCM Version in device manifest directly.

Change-Id: Ib230c345ff7deb552597824838b8809ceefbbe8a
2021-05-26 19:01:56 +02:00
matteo0026
ee96b8b34d matisse-common: Move display properties to msm8226-common
Change-Id: I5d4c907dacc349ba2c7054b61f6aaf495e8639f2
2021-05-26 18:56:44 +02:00
matteo0026
d881585894 matisse-common: correct CPU frequencies in power profile 2021-04-29 15:25:14 +02:00
Sarah Chin
655bb03718 matisse-common: libril: Fix OOB vulnerability in setGsm/CdmaSmsBroadcastConfigInfo
Error if length > 25

Test: lunch cf_x86_phone-userdebug && mm
Bug: 144046782
[haggertk: Header update only, code is in msm8226-common]
Change-Id: I18f9745174762a52fc20bfc7273c6b3fd2118da5

Change-Id: Ia6dcbbfe11f8c49e5f7c7949304b86034bb63d35
2021-04-01 21:48:16 +02:00
Francescodario Cuzzocrea
f99cdc89af matisse-common: import msm8226-common namespace to allow libinit building
Change-Id: I7b10c205bf85eade0c6d47eb3aa8f83b697ce768
2021-03-31 22:20:02 +02:00
Lucchetto
c2eb0ef486 matisse-common: Adapt libinit to Android 11
Signed-off-by: Mohammad Hasan Keramat J <ikeramat80@gmail.com>
Change-Id: Ia6b6f753891b639dad4e380bdba6b594faf2a550
2021-03-31 22:19:40 +02:00
Quallenauge
edeacea740 matisse-common: wifi: Disable WPA2 -> WPA3 upgrade.
Our device doesn't simply support sae.

Change-Id: Ibf8b9e363b4677cf2ab9590cc2ea1ba2341e29ca
2021-03-31 22:18:09 +02:00
Jimmy Chen
5eea16202c matisse-common: overlay: p2p: add p2p regex for tethering modes
Bug: 137602441
Test: CtsVerifier - Wi-Fi Direct
Change-Id: I215da71e96348b6bba19d4a3c6fd8c8048ff46d6
2021-03-31 22:17:51 +02:00
Kyle Harrison
e03244f383 matisse-common: overlay: Move tethering overlays
Config overlay values moved from frameworks_base core to
frameworks_base packages/Tethering

https://github.com/LineageOS/android_frameworks_base/blob/lineage-18.0/packages/Tethering/res/values/config.xml

Change-Id: Ia5a8056d6334cd78e79853c0ada4e8873a9669e0
2021-03-31 22:17:21 +02:00
Roshan Pius
d25f411b29 matisse-common: wifi: Move wifi related overlays to new location
Change-Id: I747d0242422b753f4e3007ce6c4bf7f124c52c5e
2021-03-31 22:16:13 +02:00
Ahmed ElArabawy
159dcc2580 matisse-common: Wifi: Replace config_wifi_dual_band_support
As part of the 6GHz band support, there is now more than 2 bands and
hence config_wifi_dual_band_support is misleading.
This commit replaces this config with config_wifi5ghzSupport which is
more reflecting to the device support check.

Bug: 145936758
Bug: 139354972
Test: Builds and Wifi runs successfully.
Change-Id: I6a1a18965b8020049f9b395ae97b6d84e4f5ae94
2021-03-31 22:14:14 +02:00
Francescodario Cuzzocrea
530e78a275 matisse-common: fix extract script
* this was a leftover of klte conversion

Change-Id: I61d7a53f67ae9ac942e93576f2057e5eb442d1c5
2021-03-31 22:13:46 +02:00
Francescodario Cuzzocrea
52dc8fd7f6 matisse-common: declare IReadingEnhancement for vendor.lineage.livedisplay
* The accessibility node exist and is parsed by isSupported() function.
 * Not declaring it breaks boot on R

Change-Id: If31b3fd4b651b6b69ce0a0c63f982d8436fd629b
2021-03-31 22:13:27 +02:00
Anonymous
1c2d3c7019 matisse-common: sepolicy: Use BOARD_VENDOR_SEPOLICY_DIRS
BOARD_SEPOLICY_DIRS is deprecated.

Change-Id: I50ba8396529fe37fd8724a3ad4f5830f4244b9a3
Signed-off-by: Felix <google@ix5.org>
2021-03-31 22:13:09 +02:00
Bruno Martins
77b36d503b matisse-common: overlay: Add new button brightness config
Change-Id: Ief347416013440c05acbfbc4a389fbc479205298
2021-03-31 22:12:46 +02:00
Arne Coucheron
43ec7cc1ff matisse-common: Use XZ compressed ramdisks
Old LZMA_RAMDISK_TARGETS is deprecated.

Change-Id: I3b9205500bb1777ff0f7caa5a6a61fcacdeb6ad6
2021-03-31 22:12:28 +02:00
matteo0026
157c8a94b6 matisse-common: add back time stuff
TimeKeep isn't good on Tab 4, then add time stuff here
2021-03-31 22:12:13 +02:00
matteo0026
32bc16a609 matisse-common: use libmmcamera_faceproc.so from shamu
Remove text relocations since in this device it never worked and it has been replaced by TARGET_PROCESS_SDK_VERSION_OVERRIDE.
2021-03-21 14:05:27 +01:00
Jason Vidal
abb96a02e0 matisse-common: mixer_paths.xml - low-latency-record
Some apps request the low-latency Tx paths for voip.
eg. Skype on hlte is unable to use the mic as it's
asking for the low-latency-record path.
Adding in the low-latency paths solves this issue.

Change-Id: I0cf30ef334135045e471998b5f0d3ee9f1bfd4ac
2021-03-20 21:25:43 +01:00
matteo0026
e9cbc5821f matisse-common: cleanup mixer_paths
Delete some not existent controls and some duplicates
2021-03-20 17:35:14 +01:00
Pawin Vongmasa
4109a9756e matisse-common: Disable Treble OMX by default.
Test: Manual use of Camera, Movies, Photos and YouTube apps.

Test: With CtsMediaTestCases.apk installed,
adb shell am instrument -e size small -w
'android.media.cts/android.support.test.runner.AndroidJUnitRunner'

Bug: 31399200
Change-Id: I282ae2d830265653e67bc81a3152cd0a338689da
2021-03-14 09:48:38 +01:00
Anton Hansson
6f35c9ee0b matisse-common: Use TARGET_SCREEN_DENSITY
This variable is used to auto-populate the ro.sf.lcd_density as
well as selecting density bucket for resources in recovery.

Bug: 118676832
Test: adb shell getprop ro.sf.lcd_density
Test: boot into recovery
Change-Id: Ib383d18b61e7a2058a69ae26136aa053fdba4df2
2021-02-15 18:51:19 +01:00
DJABhipHop
d615668921 matisse-common: Clean up audio policy configuration
- Remove FM Tuner are devices don't have one.
- Remove deep_buffer.
2021-01-25 14:32:06 -05:00
Alessandro Astone
748ced628c matisse-common: Shim libperipheral_client.so
* LocSvc_afw: get_geofence_interface, dlopen for libgeofence.so
  failed, error = dlopen failed: cannot locate symbol
  "_ZN7android10IInterface8asBinderEv" referenced by
  "/system/vendor/lib/libperipheral_client.so"...
* vndksupport: Could not load /vendor/lib/hw/flp.default.so from
  default namespace: dlopen failed: cannot locate symbol
  "_ZN7android10IInterface8asBinderEv" referenced by
  "/system/vendor/lib/libperipheral_client.so"....

Change-Id: I4fed5fc23b1721e75e9759c0811b7532c5b68705
2021-01-15 20:03:23 +01:00
matteo0026
7b0c498266 matisse-common: remove TARGET_RECOVERY_DEVICE_MODULES 2021-01-14 18:36:25 +01:00
matteo0026
c2ab6360ca Revert "matisse-common: Disable recovery size."
This reverts commit 76359c9fa7.
2021-01-14 18:35:39 +01:00
Nolen Johnson
b663f3774f matisse-common: Set device soong namespace
Change-Id: I118a3b7a4552ccef219ea1a7c59584d7268614c2
2021-01-14 18:34:46 +01:00
Wei Wang
512d410bb2 matisse-common: Start bootanim before mounting data partition
Bug: 30118894

Signed off by: Nolen Johnson <johnsonnolen@gmail.com>

Change-Id: If84764e3ce51f467b2dfa867ce28e1e396422d45
2021-01-14 18:19:23 +01:00
matteo0026
19d2ae6926 Revert "s3ve3g-common: fstab: Remove f2fs support"
This reverts commit 3620e7924e.
2021-01-14 18:17:49 +01:00
matteo0026
4dcc0c096d Revert "matisse-common: Enable GL comp backpressure"
This reverts commit e615b2311e.
2021-01-14 18:11:41 +01:00
matteo0026
e139b6cdcf Revert "matisse-common: Force set OpenGL render"
This reverts commit c0491efaa2.
2021-01-14 18:00:05 +01:00
Sujin Panicker
f55f940490 matisse-common: configs: Add BT SCO to routes list
- Issue with returning a valid device descriptor
  since BT SCO is not defined in IOProfile.
- With Android-Q changes, first attempt to retrieve device
  descriptor from the avaiable HwModule may fail due to
  address and encoded format conditions.
- Further device descriptor query is based on IOProfile
  with devices defined in audio_policy_configuration.
- This change adds BT SCO to IOProfile.

Change-Id: I52225070e97dd702f965ca5dbb5db9d128df1faf
2021-01-14 17:57:07 +01:00
Kevin F. Haggerty
5c1fccd4cc matisse-common: Move libtime_genoff to msm8226-common
Change-Id: Icf88e0cd5e234b8801471ce6740182162f1218da
2021-01-14 17:54:05 +01:00
Wang Han
0f58b7e043 matisse-common: Drop time service blobs except stock libtime_genoff.so
* All of a sudden, time_genoff connection will fail and sometimes
   block unlocking with password, etc. Stock libtime_genoff.so will
   fix it in most cases, but not all. Drop time service stack to make
   this connection fail at start to workaround the problem. Time
   service is broken on 10 anyway so it is a good trade-off.

Change-Id: I24105becd0b5093ed1460662c4c802e318acad8c
2021-01-14 17:52:02 +01:00
Joshua Primero
aa50a30068 matisse-common: Nuke TARGET_POWERHAL_VARIANT flag
* This should have happened at the same time as
  LineageOS/android_device_samsung_msm8974-common@e955914

Change-Id: I7808f0bd0d4dc4e30288a3804b482e1a1157a725
2021-01-14 17:24:19 +01:00
Joshua Primero
1ca75069fe Revert "matisse-common: enable text relocations"
* This doesn't exist anymore and replaced by
  TARGET_PROCESS_SDK_VERSION_OVERRIDE

This reverts commit 2de5ba9107.

Change-Id: Ic7b04d485c47cd04ed6780478c992d2b6d5983e0
2021-01-14 17:23:48 +01:00
Adrian DC
e31b5723e1 matisse-common: rootdir: set zram size to 75% of total size
* Reference: https://source.codeaurora.org/quic/la/device/qcom/common/commit/?id=424c031d173f28d7557812f5e1a10acfce03ef71

Change-Id: I327fe65f0e7f03d1937e27b68e640c92d7581b86
2021-01-14 11:17:20 +01:00
Francescodario Cuzzocrea
681c55c4bf matisse-common: remove sys.use_fifo_ui
Change-Id: I21208c0cf0365554a648d2217abeddd83535c21a
2021-01-14 11:16:40 +01:00
Luca Stefani
b16a75c475 matisse-common: Remove deprecated BT props
Change-Id: I7543cb0272039612d2959333610973c81ab68fa6
2021-01-14 11:12:29 +01:00
Tom Cherry
b6a86abf50 matisse-common: Remove ro.hwui.* properties
These have migrated away from properties.

Bug: 73905119
Test: n/a
Change-Id: I83e0942c027defba02a037f9db684d42f5042bb9
We are not calling the make files that are being removed from
frameworks/native, but we might as well remove these props.
Signed-off-by: Tim Clark <tim.clark.82@gmail.com>
https: //android.googlesource.com/platform/frameworks/base/+/642ebea6e14
Signed-off-by: D. Andrei Măceș <andrei@unlegacy-android.org>
2021-01-14 11:12:21 +01:00
Kevin F. Haggerty
9b3734e496 Revert "matisse-common: Engage the SDCLANG"
* The rest of the tree stopped supporting this long ago.

This reverts commit 2b078a3fde.

Change-Id: I7a9804a91ad0a8fd801be72011afee6f1c649365
2021-01-14 11:12:06 +01:00
Kevin F. Haggerty
0d2b8a593a Revert "matisse-common: Add support for TWRP"
* Kind of don't care about it anymore. We have Lineage Recovery

This reverts commit b7d9a63fa5.
This reverts commit d8ff0658d0.

Change-Id: I13e3c02c48138c0ad621b713ae5c7b0a5ec67e22
2021-01-14 11:11:48 +01:00
Nolen Johnson
96934035f7 matisse-common: Drop custom recovery font declaration
* This board flag hasn't been valid since cm-11.0.

Change-Id: Idfb3f41c3b6e6ea1927de576932aebe644e0d1c4
2021-01-14 11:11:34 +01:00
matteo0026
4fcb1d9a9c matisse-common: remove SamsungDoze 2021-01-12 18:38:52 +01:00
LuK1337
69845ae42b matisse-common: init: Override everything ^.^
Change-Id: Ib1946d5876a6567a78c8007d930fc0e34d44a6f6
2021-01-12 18:26:18 +01:00
Kevin F. Haggerty
fb3286f98e matisse-common: libinit: Use commonized gsm_properties functions
Moreover, add wifi_properties, since there are matisse variants without SIM/mobile networks support.

Change-Id: Ie0ce095a726783c1e751db7857c963adb95e67b0
2021-01-12 14:45:55 +01:00
matteo0026
336a9f4d9e matisse-common: update libs from G800HXXU1CRJ1_G800HXEO1CRJ1
Moreover, add 5 needed dependencies libs - dependencies of libmmcamera2_stats_algorithm.so
2021-01-04 11:46:52 +01:00