Commit Graph

126 Commits

Author SHA1 Message Date
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
Kevin F. Haggerty f3442d4a1b klte-common: Rework shims
* Recent binder changes caused our approach of shimming libcutils to
  re-add the non-inlined android_atomic* methods to start getting
  slapped, at least with NDK apps. This looks oddly similar to the
  heads-up we received in 7.0, so no clue why it let us do it in 8.*
  prior to now.
* See: https://developer.android.com/about/versions/nougat/android-7.0-changes#ndk
* We did this because all of the libsec-ril* blobs and libuiblur
  needed it and doing each and every libsec-ril seemed fragile and
  fraught with the potential for error, but "fragile and fraught with
  the potential for error" is better than "phone breaking". And blur
  doesn't seem to ever be coming back.
* We'll leave the "standard" libsec-ril.so here and let the
  individual devices handle anything specific if they have variant-
  specific blobs

Change-Id: Ib11048e4924f34ade20f44b707f0106e139f2f82
2018-06-14 06:28:11 -06:00
Kevin F. Haggerty 12e09aa4d8 Revert "klte-common: Enable legacy mediaserver"
This reverts commit aee12a34df.

* No Samsung msm8974 device is going to develop an OSS camera HAL
  at this point. Move this common stuff to msm8974-common.

Change-Id: Ib0bb18fe819e2ebbb39c9b278ccf687444f65488
2018-04-23 22:37:03 -06:00
Paul Keith aadb44c0dc klte-common: Use sdfat for exfat and vfat
Change-Id: I660c5b3008636a651a2812fe1739ff8a2ea845cb
2018-03-28 14:06:25 -06:00
Michael Bestas 31947756a3 klte-common: Get rid of recovery-only fstab
* Mounting /system partition is handled in kernel now,
   however removing the entry from fstab caused issues building
   the OTA. The workaround was to have a separate fstab, but turns out
   that simply setting the recoveryonly flag does the trick because
   those are then ignored during a normal Android boot.

Change-Id: I2944384d0a1c41bc9f9f51e2e29daff2bed0a0f4
2018-03-27 21:44:24 -06:00
Kevin F. Haggerty 30d27eb628 Revert "klte-common: Enable legacy f_adb interface support"
This reverts commit 2a20e4cfc5.

* blek fixed it

Change-Id: Id40a86d92d17b9fd2a5f5cf1f590038616b8b343
2018-02-28 21:21:52 -07:00
Paul Keith 435b4ae064 klte-common: Update kernel exfat flag
Change-Id: Ic182471b28ec91340b13cdc6cad64a64772f4641
2018-02-24 14:43:48 +00:00
Paul Keith c8d45dba1c klte-common: Transition to TARGET_LD_SHIM_LIBS
* Limits security exposure from shims

Change-Id: I877192422062f3e59c81a7130ad1a2b4be5d1647
2018-02-16 16:44:53 +01:00
Kevin F. Haggerty 98a8598e79 Revert "klte-common: Add AID_QCOM_DIAG, AID_RFS, and AID_RFS_SHARED to config.fs"
This reverts commit c4a708a54f.

* Move this to msm8974-common

Change-Id: I43c92dfad3ba55b344572afaed5c1dbeca5969c1
2018-01-26 06:29:43 -07:00
Kevin F. Haggerty d2dd4bd21e Revert "klte-common: Use 64-bit binder API"
This reverts commit aae26bb6aa.

* Moving this to msm8974-common

Change-Id: Iae09793d796e96d4724d10dace0eca819b3e3d81
2018-01-20 06:46:35 +00:00
Kevin F. Haggerty 5045387dec [DO NOT MERGE] klte-common: sepolicy: Rewrite for O
* WIP
* KILL that sepolicy/old/ before merging
* KILL the dontaudits before merging

Change-Id: I6694567fa1c834b262941b9be362c96cbd16625e
2018-01-19 16:07:35 -07:00
Paul Keith 31509201c1 klte-common: HAXX: "Fix" race condition in init
* In particular, the RIL on CDMA variants seems to only work reliably
  on first boot after flash, when things are all slowed down while
  dexopting. After that first boot, it's hit and miss whether a
  particular boot will have function RIL
* Slow things down by limiting ourselves to a single CPU on boot,
  bringing the rest online when boot has completed

Change-Id: Ie194740cf0487268dc0dbd3377bbb790cdd1b04d
2018-01-19 16:07:35 -07:00
Kevin F. Haggerty a4695ab180 Revert "klte-common: Add bootdevice to kernel cmdline"
This reverts commit 6daa361afe.

* We're out of cmdline space and we don't even make use of the symlink
  that this used to automatically create.
* If we ever want to use the bootdevice symlink, just create it
  explicitly (without prop) in init.qcom.rc

Change-Id: I1c45c3ed3605f4020d824be2775639c04ba8b60d
2018-01-16 00:21:55 -07:00