Commit graph

816 commits

Author SHA1 Message Date
Francescodario Cuzzocrea
6f82554da3 DNM: hacks 2020-10-02 17:03:31 +02:00
Francescodario Cuzzocrea
845f8df005 why guys, why... 2020-10-02 12:11:50 +02:00
Francescodario Cuzzocrea
516e9d0962 DNM: debug hacks 2020-10-02 11:53:30 +02:00
Nolen Johnson
24a868d7ab matisse-common: Set device soong namespace
Change-Id: I118a3b7a4552ccef219ea1a7c59584d7268614c2
2020-10-02 11:47:11 +02:00
LuK1337
b9fb7d73ad matisse-common: init: Override everything ^.^
Change-Id: Ib1946d5876a6567a78c8007d930fc0e34d44a6f6
2020-10-02 11:45:16 +02:00
dianlujitao
b81b2b20ad matisse-common: libinit: Convert libinit_s3ve3g to blueprint
Change-Id: I990a4d2c68cd51f0043390408c3b128c4bb20900
2020-10-02 11:40:11 +02:00
Francescodario Cuzzocrea
fe23a93de0 matisse-common: fix audio_policy_configuration.xml 2020-10-02 11:38:46 +02:00
Sujin Panicker
80942d7e92 matisse-common: fix rank of OMX audio codec components
Rank OMX SW audio codecs higher than C2 codecs.

Change-Id: I7d03179ebd313d2592512178eeef266b4243f2f0
2020-10-02 11:37:11 +02:00
bohu
9ec6dcd2dc matisse-common: Disable codec2
BUG: 133178866
Change-Id: Ie6698604357adfb7c36d6655ea8a42aecad6b219
2020-10-02 11:36:54 +02:00
Sujin Panicker
d9673f77c5 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
2020-10-02 11:35:51 +02:00
Bruno Martins
f718b98abb matisse-common: Use XML audio policy configuration file
* Switch to audio_policy_configuration.xml instead of using
   the legacy audio_policy.conf.

 * Removed multi-channel profile as it is redundant with respect
   to direct output profiles [1].

[1] https://source.codeaurora.org/quic/la/platform/hardware/qcom/audio/commit/?h=LA.UM.6.5.r1-04300-8x96.0&id=ac3415870d63b18694e49d982e89ccb10dbcb2c3

Change-Id: Ia93e30428ff9e27ae409e685a84fa5a8e406bca0
2020-10-02 11:35:28 +02:00
Kevin F. Haggerty
fe16928597 matisse-common: Move libtime_genoff to msm8226-common
Change-Id: Icf88e0cd5e234b8801471ce6740182162f1218da
2020-10-02 11:35:02 +02:00
Wang Han
cfcfd99c08 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
2020-10-02 11:34:23 +02:00
Alessandro Astone
a84b0210ba 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
2020-10-02 11:33:11 +02:00
Joshua Primero
9d6fafe446 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
2020-10-02 11:32:45 +02:00
Joshua Primero
18011b9238 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
2020-10-02 11:31:31 +02:00
Kevin F. Haggerty
6e7869ef6b matisse-common: Set shipping API level in the Lineage product makefile
Change-Id: I1dc0862a93b3ee2da6673741899f295129f5297c
2020-10-02 11:31:10 +02:00
Bruno Martins
1835b3d8d3 matisse-common: Move fstab to /vendor
Change-Id: Ie1c6cb662f2f54c7c14d3e7d55aedbfbeef5f8a7
2020-10-02 11:30:16 +02:00
Abhishek Arpure
e19ce41cac matisse-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.

Change-Id: I14531da05e2a3a256f734f8de96e1f1969c753f9
2020-10-02 11:29:56 +02:00
Bruno Martins
baebafe563 matisse-common: Remove obsolete RIL variant board flag
There's no CAF variant anymore.

Change-Id: Ief74f8b2aa861b0d16ffab9b52304006008d2444
2020-10-02 11:29:35 +02:00
LuK1337
d2fa444b44 matisse-common: Remove FlipFlap from lineage.dependencies
* Synced by default since LineageOS/android@9bd031c

Change-Id: I822298f856f4d1012f847a8be311310f5e51f2bb
2020-10-02 11:29:16 +02:00
padarshr
b185d4b58e matisse-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: I35bd67c3e7752be5bcd8f8682864062173e92724
2020-10-02 11:29:00 +02:00
Kevin F. Haggerty
7c488db895 matisse-common: proprietary-files: Update default source note
Change-Id: I50328ed0b62c14d09a1a696af976b6f19808d69b
2020-10-02 11:28:29 +02:00
LuK1337
c63ea29b57 matisse-common: Drop TARGET_EXFAT_DRIVER flag
* No longer needed.

Change-Id: Icb0df10fece66ee2ded0fe9c4ae329c50b3d2571
2020-10-02 11:26:46 +02:00
Bruno Martins
aea805e022 matisse-common: libinit: Remove useless platform check
Change-Id: I5723a25c28c82b8776db20e001a8f5bd3cac16ef
2020-09-25 23:11:43 +02:00
Adrian DC
bcedb86cb3 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
2020-09-25 23:09:05 +02:00
Francescodario Cuzzocrea
d500f0fa29 matisse-common: remove sys.use_fifo_ui
Change-Id: I21208c0cf0365554a648d2217abeddd83535c21a
2020-09-25 23:09:05 +02:00
RomanDesigner
41c7b28e2b matisse-common: Use smaller DPI for LOS recovery
Our /recovery partition is very small (10MB), and we can't use xhdpi for recovery. Minimizing recovery's DPI will minimize recovery size, and we will build it.

Change-Id: Iabf0bb4c65a61736c0f65dcb53dbf147c9459613
2020-09-25 23:09:05 +02:00
Arne Coucheron
ed50a6b852 matisse-common: Remove obsolete media props
Change-Id: Id98e0fd1d0ef8831c1248b5f9a70ebdf31048853
2020-09-25 23:08:57 +02:00
Luca Stefani
d7cadbf3a2 matisse-common: Remove deprecated BT props
Change-Id: I7543cb0272039612d2959333610973c81ab68fa6
2020-09-25 22:50:10 +02:00
Tom Cherry
c6885bcce1 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>
2020-09-25 22:49:54 +02:00
Kevin F. Haggerty
77e6be61e0 Revert "matisse-common: Engage the SDCLANG"
* The rest of the tree stopped supporting this long ago.

This reverts commit 2b078a3fde.

Change-Id: I7a9804a91ad0a8fd801be72011afee6f1c649365
2020-09-25 22:45:26 +02:00
Kevin F. Haggerty
30c8ac021c 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
2020-09-25 22:44:28 +02:00
Nolen Johnson
9a8d7f0a0c matisse-common: Drop custom recovery font declaration
* This board flag hasn't been valid since cm-11.0.

Change-Id: Idfb3f41c3b6e6ea1927de576932aebe644e0d1c4
2020-09-25 22:41:34 +02:00
Kevin F. Haggerty
10f2e88a6c matisse-common: rootdir: fstab: Swap order of ext4 and f2fs entries
* f2fs is hot trash and we don't want that as default, esp in recovery

Change-Id: I6cd3bf41e18d5df29b925a94ab865e873020268e
2020-09-25 22:34:33 +02:00
matteo0026
eb6f10613c matisse-common: override bootimage fingerprint too 2020-09-23 21:18:40 +02:00
matteo0026
49a80e4aa8 matisse-common: fix some other sepolicy 2020-09-12 21:51:22 +02:00
matteo0026
564032c3d7 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-12 17:52:24 +02:00
matteo0026
0120ca6f53 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-12 17:52:24 +02:00
matteo0026
fdb3fa3f08 matisse-common: remove duplicate 2020-09-12 17:52:24 +02:00
matteo0026
35ecc58883 matisse-common: use the main mic for camcorder
Stereo mic doesn't work since we don't have 2 or more microphones.
In this way, we can record videos without any problem.
2020-09-12 17:52:24 +02:00
matteo0026
1467925cad matisse-common: split all cores in thermal engine to be readable by the system
* E ThermalEngine: parse_sensor_field: Unknown sensor cpu0-1
* E ThermalEngine: parse_sensor_field: Unknown sensor cpu2-3
2020-09-12 17:52:09 +02:00
matteo0026
28d98441cf matisse-common: move everything to vendor 2020-09-12 17:50:29 +02:00
matteo0026
11a53731d8 matisse-common: delete ro.recents.grid
It's no longer supported in Pie
2020-09-10 23:46:30 +02:00
matteo0026
ec4aa18829 matisse-common: move TARGET_BOOTANIMATION_HALF_RES to msm8226-common 2020-09-10 23:39:39 +02:00
matteo0026
17ba3114c7 matisse-common: converto audio_effects.conf to audio_effects.xml
* Converted .conf format to .xml using: https://github.com/luk1337/aeffects-conf2xml
2020-09-10 22:46:44 +02:00
Kevin F. Haggerty
f0a91915d9 Revert "matisse-common: HAXX: "Fix" race condition in init"
* It seems that this old "fix" for G900V RIL actually makes the Q
  "opengapps issue", normally only evident in encrypted legacy devices
  with secure startup, more pronounced. In such devices, your ability
  to progress beyond the boot animation to an actual homescreen after
  entering an unlock PIN is completely at chance, but with much better
  chances after an update (dexopting, maybe?). Only with this HAXX in
  place, the issue happens with unencrypted devices.
* A nice side effect will be that all klte* devices will boot much
  faster.
* The root cause of this is some kind of timeout, but the logs are
  seemingly worthless.

This reverts commit 31509201c1.

Change-Id: Iaf2a19a3ab7f8f8cf2f0add1bd6e3b87d06310a7

Note: second part of commit is in msm8226-common
2020-09-10 22:37:02 +02:00
matteo0026
48d25124cd matisse-common: remove Camera2
Snap is compiled by default and works (with, for now, the issue of dark back camera, of course).
2020-09-04 16:35:22 +02:00
matteo0026
a2ea6b9580 matisse-common: remove unneeded overlays
* We have physical buttons, so for us navbar is useless
* We don't have automatic brightness
* We don't have OLED display, so burn-in protection is useless
2020-09-04 16:35:10 +02:00
matteo0026
4d008b91ef matisse-common: set product shipping API level to 19
* The device has been launched with Android 4.4.2 KitKat
* There is a product_shipped_with_k.mk file, so use it
2020-09-04 16:33:31 +02:00