Commit Graph

874 Commits

Author SHA1 Message Date
Peter Wickenberg fb4ece09ca Uppdatera 'init/init_matisse.cpp' 2023-04-12 20:18:03 +00:00
matteo0026 2726a11900 matisse-common: fix partitions size
Moreover, because of encryption, define a userdata partition smaller of 16 kB (16384 B) than the real one.

Change-Id: I9169b0e0f712e6f78f4245c85d4f18593e0b7852
2021-10-13 20:10:43 +02:00
matteo0026 5aa6439d45 matisse-common: fix brightness bar to get the lowest value
Change-Id: Ic1135bc25399b37f0565559989bfc5d5d439ec6c
2021-08-29 15:46:26 +02:00
matteo0026 f965569a00 Revert "matisse-common: add back time stuff"
This reverts commit 16ed05c138.
2021-06-20 20:13:28 +02:00
Kevin F. Haggerty 1a6034f154 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-28 19:41:59 +02:00
matteo0026 ec103c785b matisse-common: Move display properties to msm8226-common
Change-Id: I5d4c907dacc349ba2c7054b61f6aaf495e8639f2
2021-05-28 19:41:49 +02:00
matteo0026 6119cb909e matisse-common: correct CPU frequencies in power profile 2021-04-29 15:23:42 +02:00
Francescodario Cuzzocrea 45cfce2b0d matisse-common: fix extract script
* this was a leftover of klte conversion

Change-Id: I61d7a53f67ae9ac942e93576f2057e5eb442d1c5
2021-03-31 13:57:48 +02:00
matteo0026 16ed05c138 matisse-common: add back time stuff
TimeKeep isn't good on Tab 4, then add time stuff here
2021-03-31 13:57:38 +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
matteo0026 ef0f6317ed matisse-common: remove unused blobs
Different camera modules blobs and their dependencies aren't needed for us
2021-01-04 11:46:35 +01:00
matteo0026 3adfedac38 matisse-common: update blobs to latest release
Some files have been updated in the past from kmini3g, so reorder them well.
2020-11-29 11:33:16 +01:00
matteo0026 7f8481a04e matisse-common: move callrecord overlay to 3G/LTE variants 2020-11-25 09:52:18 +01:00
matteo0026 ca6018d38a matisse-common: fix brightness bar behaviour
Manual regulation now starts to change from about 5%, which is good, rather than before that started from 60%.
2020-11-13 23:17:36 +01:00
matteo0026 f9ac4c1da8 matisse-common: switch to appropriate AAPT config
In this way, Email and Print Spooler apps work without any issue. No crashes anymore.
2020-11-11 20:54:28 +01:00
DJABhipHop 76359c9fa7 matisse-common: Disable recovery size.
Disable recovery size to avoid the recovery is to big error during the build process
2020-10-11 17:27:59 -04:00
matteo0026 9d8118f53d matisse-common: correct bootanimation height/width 2020-10-11 12:28:27 -04:00
matteo0026 05d48885ec matisse-common: remove what device hasn't 2020-10-11 12:28:22 -04:00
matteo0026 5b582d83e1 matisse-common: fixed offline charging
* Wrong value of user_debug in cmdline prevented to try to boot in offline charging mode
* For charger, tell that we don't have a LED and to disable init blank (with this flag, charging mode showed animation, but didn't allow to show it another time when pressing power button to turn on the screen)
* Set a brightness value for charger. In this way, when power button is pressed, device turns on and shows battery icon correctly.

Conflicts:
	BoardConfigCommon.mk
2020-10-11 12:27:59 -04:00
matteo0026 9cb0da8d73 matisse-common: fix camera lib text relocation warning
W linker  : Warning: "/system/vendor/lib/libmmcamera_faceproc.so" has text relocations and will not work when the app moves to API level 23 or later
2020-09-11 14:07:12 +02:00
matteo0026 5e639b41de matisse-common: remove SND_DEVICE_IN_VOICE_REC_HEADSET_MIC alias
E platform_info: process_device_name: Device SND_DEVICE_IN_VOICE_REC_HEADSET_MIC in platform info xml not found, no alias set!
2020-09-11 00:38:53 +02:00