Commit Graph

138 Commits

Author SHA1 Message Date
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
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 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
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
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
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
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
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 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 acc9de40c5 matisse-common: update fingerprints and libinit 2020-05-16 19:27:05 +02:00
DJABhipHop 2bb85a18fa matisse-common: Use an even smaller DPI for LOS recovery
Our /recovery partition is very small (10MB), and we can't use xhdpi for recovery & even using hdpi  for recovery still to big. Minimizing recovery's DPI even more will minimize recovery size, and we will build it.
2020-04-24 08:34:53 -04:00
DJABhipHop 99f9a79241 Revert "matisse-common: Disable recovery size."
This reverts commit 87bf41b197b5df24d3591c0032ac251ae7827f4e.
2020-04-24 08:34:53 -04:00
DJABhipHop fdd46b48a5 matisse-common: Use MKE2FS
* https://source.android.com/devices/tech/perf/boot-times

Change-Id: I6af27d007bd8ab969b6b54b435b1d3e81683c3da
2020-04-24 08:34:47 -04:00
DJABhipHop 80063c3f6c matisse-common: Disable recovery size.
Disable recovery size to avoid the recovery is to big error during the build process
2020-04-24 08:34:47 -04:00
DJABhipHop 378247b570 matisse-common: Remove maxcpus=1 from cmdline 2020-02-27 15:44:00 -05:00
DJABhipHop a7b2849ce1 matisse-common: Remove sepolicy types 2020-02-07 09:47:42 -05:00
DJABhipHop 5234b6530a matisse-common: Set stock's recovery partition size
We can build it now :)
2020-02-07 09:47:26 -05:00
RomanDesigner 238f8cde4f 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.
2020-02-07 09:47:22 -05:00
DJABhipHop 5f7a17ddc6 matisse-common: remove temp cmdline
swapping back to this & removing zcache.compressor=lz4

console=null androidboot.hardware=qcom user_debug=23 msm_rtb.filter=0x37 zcache.enabled=1 maxcpus=1
2020-01-25 17:06:35 -05:00
Jiyong Park b367c2e0fd matisse-common: TARGET_FLATTEN_APEX=true for msm8226
APEXes are flattened for msm8226. Kernel is too old to support APEXes
without performance regression.

Bug: 123684826
2020-01-24 09:30:41 -05:00
DJABhipHop ce5dd9b160 matisse-common: temp cmdline
swapping this

BOARD_KERNEL_CMDLINE := androidboot.hardware=qcom vmalloc=400M user_debug=23 msm_rtb.filter=0x37
2020-01-20 20:01:23 -05:00
RomanDesigner d35a16f157
Stock-ify cmdline
Delete ehci-hcd.park=3
Change user_debug=31 to user_debug=23
2020-01-18 11:23:35 +03:00
RomanDesigner 4d614cef68
matisse-common: Add sepolicy type flag 2020-01-17 16:29:32 +03:00
RomanDesigner 0cb10f28c8
matisse-common: Increase recovery partition size 2020-01-17 16:27:30 +03:00
RomanDesigner 8b09473b42
Init bringup for Q 2020-01-17 16:25:31 +03:00
RomanDesigner ecf68e4bda
matisse-common: Set SELinux to permissive mode 2020-01-17 15:58:39 +03:00
RomanDesigner 9093136f6c
matisse-common: Use XML audio policy 2020-01-17 15:54:23 +03:00
Bruno Martins 1e2f0fb942
s3ve3g-common: Remove obsolete RIL variant board flag
There's no CAF variant anymore.

Change-Id: Idd41a4fc0a551c0c19d2900db562803c74f38889
2020-01-17 15:49:37 +03:00
RomanDesigner e389b9e034
matisse-common: Set shipping API level in the common product makefile
It's not meant to be set as a board config flag. Simply do it by
inheriting the makefile that now also exists for devices launched
with KitKat.

Change-Id: I1ba570823a902cbd352be831b15e64c0eed63044
2020-01-17 15:48:56 +03:00
Francescodario Cuzzocrea 22e165c60d [SQUASH]: matisse-common: initial bringup of matisse-common repo from s3ve3g-common repo
Change-Id: Ic670ca01287332c46be39dc64b34cf17fcda559c
2020-01-03 10:27:33 +01:00
Francescodario Cuzzocrea 49c58dfbec s3ve3g-common: remove BOARD_HAS_NO_MISC_PARTITION
- we are mounting /fota as /misc now

Change-Id: I742c8415bd507a56489260849daea512c1cb36ca
2019-11-09 09:00:25 +01:00
Francescodario Cuzzocrea a7c97ac84c s3ve3g-common: add s3ve3gxx to TARGET_OTA_ASSERT_DEVICE
Change-Id: Ib3e8f94fa6f24ddb5771c04b41ff47a536f36542
2019-11-08 23:22:59 +01:00
Francescodario Cuzzocrea 3be42be6a5 s3ve3g: fix offline charging
* Apparently settings user_debug in kernel cmdline breaks offline
charging functionality. Thanks at suudep for pointing this out

* Also remove unneeded androidboot.console=null
2019-10-15 21:37:54 +02:00
Francescodario Cuzzocrea b78a5e8f63 s3ve3g-common: move BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE to msm8226-common 2019-10-15 21:37:54 +02:00
Francescodario Cuzzocrea b00f86f8d3 s3ve3g-common: remove double BOARD_FLASH_BLOCK_SIZE 2019-10-15 21:37:54 +02:00
klozz 4d372f9ccd msm8226-common: set bt uses btnv
* https://review.lineageos.org/c/LineageOS/android_hardware_qcom_bt/+/226649

Signed-off-by: klozz <shaclone707@gmail.com>
2019-10-15 21:37:54 +02:00
Francescodario Cuzzocrea 2dc266d548 s3ve3g-common: drop deprecated BLUETOOTH_HCI_USE_MCT 2019-10-15 21:37:54 +02:00
Francescodario Cuzzocrea 909a2422ce s3ve3g-common: set product shipping api level to 18
* The device has been launched with android 4.3 Jelly Bean
2019-10-15 21:37:16 +02:00
nx111 efa1d21bf3 s3ve3g-common: Set SDK API level for rild
* P made changes to pthread_mutex_init() that are incompatible
  with our libsec-ril libraries. In order for rild to even see a
  radio as being availble we need the legacy behavior.
* Even though our libsec-ril libraries are from 5.0, which is API
  level 21, we do not appear to require any of the other behaviors
  from API levels earlier than 27.

Change-Id: I3b3d0160236df09bdae95c5d9f10a61bf91ebc72
2019-10-11 09:09:04 +02:00
Kevin F. Haggerty 6d9439bb7d s3ve3g-common: Set SDK API level for required executables
* This singularly handles both text relocation (M) and mutex (P)
  linker restrictions
* mediaserver - Needs text relocations
* mm-qcamera-daemon - Needs both text relocations and mutex restrictions
  relaxed

Change-Id: I97a79fb57aaadf5cf62894489522b2de6d8c2e36
2019-10-11 09:09:04 +02:00
Kevin F. Haggerty 75e1e132b1 s3ve3g-common: Commonize camera packages and manifest entries
Change-Id: Ie8b564606e5c8e99d76bcc73d8fa020001b75337
2019-10-11 09:09:04 +02:00
Francescodario Cuzzocrea 7d50f4fbfa [SQUASH]: s3ve3g-common: initial bringup of s3ve3g-common repo from klte-common base
* Rename klte-common -> s3ve3g-common
 * Drop fingerprint related blobs
 * Drop camera shim, we do not need it
 * Drop CameraWrapper to msm8226-common, as all msm8226 devices uses it
 * Drop broadcom NFC
 * Add buildable libpn547_fw.c, libpn547_fw_pku.c, libpn547_fw_platform.c dumped from stock S III Neo sources
 * Update audio configs with stock S III Neo ones
 * Update power_ext for S III Neo
 * Drop broadcom WIFI for Qualcomm WIFI as we got a Qualcomm WIFI chip
 * Drop broadcom bluetooth as we goot a Qualcomm bluetooth chip
 * Update partitions for S III Neo
 * Update rootdir for S III Neo
 * Update overlay for S III Neo
 * Update liblights path for S III Neo
 * Update deviceperms for S III Neo
 * Drop consumerir as we do not got an IR blaster
 * Update TWRP files for S III Neo
2019-10-11 09:07:33 +02:00
Kevin F. Haggerty 89f2e08531 klte-common: Drop libshim_cutils_atomic
* We have included the appropriate android_atomic methods in libril,
  so the symbols are loaded into the process space and the libsec-ril*
  dependencies for all builds are handled.

Change-Id: I93289af789df7e263488e1db29bdbde0d0964e97
2018-06-15 15:12:48 -06:00