Commit Graph

874 Commits

Author SHA1 Message Date
Unpublished 1817969904 s3ve3g-common: Fix namespace errors
messages during build:
device/samsung/s3ve3g-common/configs/nfcee_access.xml:9: namespace error : Namespace prefix android for signature on signer is not defined

Change-Id: I7f3a1588b9cf05cb6aff11ccc59d14e75cc6e98e
2019-10-15 21:36:24 +02:00
Adithya R 30c56bcb9d s3ve3g-common: Update power profile for Pie
* Match the changes made in LineageOS/android_frameworks_base@3d422c3

* Since Pie, AOSP is forcing us to define speeds and power values per CPU cluster.
  For single cluster chipsets like MSM8974, define cluster0 with only 4 cores
  to retain the existing behaviour.

Change-Id: Ida1edb9cc0335ffdb0ec6857da02b84a6a9d1633
2019-10-15 21:36:05 +02:00
Rashed Abdel-Tawab 0b4f03e2c8 s3ve3g-common: Set default hotspot name
Change-Id: Iecbefe61ffece88a6866ff2c8a1e79d99e535208
2019-10-11 09:09:04 +02:00
Bruno Martins db9d0a4baf s3ve3g-common: Enable memory optimizations
* Delay service restart for devices with 2GB or less memory.

Change-Id: Iee114d6c83a09d90ce68c6bcb971596c4df6cc74
2019-10-11 09:09:04 +02:00
Joshua Primero 50455eff17 s3ve3g-common: Nuke deprecated WiFi Display overlay
* Google killed it in Pie
* reference: LineageOS/android_frameworks_av@d0a98fa05

Change-Id: I9bfd354c3e3a3d4c193c3865ac7eae84719c02dc
Signed-off-by: Joshua Primero <jprimero155@gmail.com>
2019-10-11 09:09:04 +02:00
Kevin F. Haggerty cdffc66b44 Revert "s3ve3g-common: Disable Treble OMX by default."
* This prop is deprecated.

This reverts commit a9add7876d.

Change-Id: Iecd9c511aa8db36c4f632bce98d4f6d9da67205e
2019-10-11 09:09:04 +02:00
Francescodario Cuzzocrea a30c136edf s3ve3g-common: update NFC for pie 2019-10-11 09:09:04 +02:00
Francescodario Cuzzocrea 4367911f58 s3ve3g-common: update nfc hal name 2019-10-11 09:09:04 +02:00
jrior001 6aea7c71a3 s3ve3g-common: nfc: remove unsupported MAX_RF_DATA_CREDITS config
Change-Id: I63eb31cfd62d135b63d04f3dafcd08de7319346d
2019-10-11 09:09:04 +02:00
Andre Eisenbach b1aab27eb3 s3ve3g-common: Rename libnfc-brcm.conf -> libnfc-nci.conf
Test: manual
Merged-In: I9655a14e021024540cf342022cb817e1f8d0f9ad
Change-Id: I9655a14e021024540cf342022cb817e1f8d0f9ad
2019-10-11 09:09:04 +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 1a75a2846f s3ve3g-common: Stop building sensors.msm8226
* msm8226-common has moved to hwbinder mode for sensors, with the
  multihal statically linked into the impl. We don't need this
  version of the multihal anymore.

Change-Id: Id9e9103bb03351cef2a7cb0e81800057898fe862
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
Lucas Dupin 6caeef06f1 s3ve3g-common: Renamed config_dozeAfterScreenOff
New name is config_dozeAfterScreenOffByDefault
Bug: 73178121

Change-Id: Ie3d1ea5a2cc480655592bf6e49b37f5ea07f3f58
2019-10-11 09:09:04 +02:00
Bruno Martins 934cb67f14 s3ve3g-common: Update prefixes for audio system properties
* All vendor-specific properties are required to have vendor prefixes

Change-Id: I562639e93b8eca4914473575c13da958224181f8
2019-10-11 09:09:04 +02:00
pythonlimited d207e44246 s3ve3g-common: sepolicy: use correct input devices regex 2019-10-11 09:09:04 +02:00
PythonLimited 339ab61225 s3ve3g-common: use correct paths for power_ext 2019-10-11 09:09:04 +02:00
PythonLimited 3e9160e4e1 s3ve3g-common: drop debug properties
this gets enabled once you build eng flavours.
On userdebug builds this leads to init starting the console service which crashes and drains battery due to high cpu usage.
2019-10-11 09:09:04 +02:00
Francescodario Cuzzocrea 78289922e5 s3ve3g-common: remove duplicated ro.bluetooth.hfp.ver
* Also set version to 1.7 according to what is found in stock rom
2019-10-11 09:09:04 +02:00
Francescodario Cuzzocrea 4361b53988 s3ve3g-common: remove troublesome audio props 2019-10-11 09:09:04 +02:00
pythonlimited d429a7d0f5 s3ve3g-common: update media configuration from klte 2019-10-11 09:09:04 +02:00
pythonlimited 2e75d57fdd s3ve3g-common: update system propterties from g800h 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 91c93931d9
klte-common: proprietary-files: Rename muratafem1 wifi files
* Per the kernel, bare murata isn't a thing for BCM4354, but that's
  what macloader parses the OUIs as being. It's much easier to make
  the label match than to further complicate macloader.

Change-Id: I3474e610a0d38873b0274ccb24b24733047929d0
2019-02-08 21:59:03 -07:00
Kevin F. Haggerty ae5d0de820
klte-common: proprietary-files: Correct BT FW filename
* semcove->semco3rd
* This is actually a "fake" blob, a copy of the un-labeled vesion,
  as are all except for wisol. These are needed because wisol is
  different and the picker will default to the last stat-ed file.
* Broadcom libbt-vendor was previously coded to look for a semcove,
  but that wasn't a value that macloader would write to
  /data/.cid.info
* This creates a file that aligns to the new Broadcom libbt-vendor
  code.
* Eliminate the src:dst syntax, since these are pinned anyway.

Change-Id: I6f5381ad19174b7aa074eae0ab0db41730b3d7d7
2019-02-08 20:26:07 -07:00
Kevin F. Haggerty 7c47b559fb
klte-common: Move change of ownership of ES705 UART later
* Samsung loads the firmware through the front door. Pie init
  runs faster than previously, so we need to wait to change
  the ownership until some point later, after the firmware has
  time to load, else the load gets blocked by a dac_override.

[haggertk: 15.1 backport - I noticed this now happening here too]

Change-Id: I37be9e22b49735388ce1f5b922132dbfd20e2dc3
2018-12-27 21:29:36 -07:00
Cal Archer 36fb5d9d18 fix USB audio support
fw/b changes in Oreo cause some USB audio devices
which were previously recognized as AUDIO_DEVICE_OUT_USB_DEVICE
or AUDIO_DEVICE_OUT_USB_ACCESSORY now to be recognized as
AUDIO_DEVICE_OUT_USB_HEADSET (0x4000000), causing this error:

AudioPolicyManagerCustom: setDeviceConnectionState() could not find HW module for device 04000000

BUGBASH-2398

Change-Id: If1f6c760e28a2daeb3855c86fc561c7e5e85f0bf
2018-10-17 10:55:19 +02:00
Kevin F. Haggerty 630ee7fda6
klte-common: proprietary-files: Update source package note
* G900FXXU1CRH1_G900FOXA1CRH1_BTU

Change-Id: I0748584777ce61a4a10566d372dc6b6498ef6bb7
2018-09-19 22:36:44 -06:00
Kevin F. Haggerty 452e013f50 klte-common: Use TARGET_COPY_OUT_VENDOR instead of explicit path
Change-Id: I5835a05b7f357cfe666090907a1a4a89781a68dc
2018-08-20 06:33:17 -06:00
T H 8a4570cb82 klte-common: Use sensors MultiHAL
Change-Id: I527e72e2e0419931ba21137826774f5b65299f92
2018-08-04 02:08:10 +02:00
Danny Baumann ed5ede4467 klte-common: Update call recording overlay.
Change-Id: I3428fa6e47318b195a8dc46731e0aabc14a9a8e7
2018-07-23 19:53:45 -06:00
Kevin F. Haggerty 67f1192cd0 klte-common: Remove hwui properties
Change-Id: Id5f75dd39c0d385f30e6e8efe7dbe92ad017a688
2018-06-28 15:32:59 +02:00
Paul Keith dd53dc40b1 klte-common: Add support for klteactivexx
Change-Id: I2414653ab03dc45209dc4908166bc4c9d7de0e4d
2018-06-27 16:20:37 +02:00
Paul Keith 005ba34fb8 klte-common: Reorder tetherable connection types
* In O, the default setting for mobile data always active was
  changed from off to on, meaning that when non-WiFi tethering
  is being attempted, more than one connection can be active
* Since the first active connection type in this overlay is used,
  reorder the values to get WiFi connections first, and then
  any type of mobile data connection, instead of vice versa

Change-Id: I41f31ba1a2793e209ff439c9ba28a390fecdeecb
2018-06-23 08:49:32 -06:00
Nolen Johnson 873171b878 klte-common: Define Vendor security patch level
* This is needed for Trust, as we don't have a Vendor image that sets a
  valid vendor security patch level.

* Taken from the G900FXXU1CRA2_G900FOXA1CRA2_BTU Factory Image.

Change-Id: I105cc7e464e581683c6784e3aef8f7297b90aea0
2018-06-23 07:15:41 -06: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
Paul Keith 4cab6270ec klte-common: Stop abusing global contexts for fingerprint
* vcs_device is used to label /dev/vcs*, which are virtual consoles
* Create and use our own label for /dev/vfsspi so our fingerprint
  hal can access it, and rename vcs_data_file while we're at it

Change-Id: I01f0e8c4924d3847383319ce59dbbf802f89a36b
2018-05-15 14:02:21 +02: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 d6249aa5b2 klte-common: Use passthrough manifest for all NFC chips
* And make a common nfc board stub while we're at it

Change-Id: I4ef9c69ebbff539924ba4dc10c8035521dbf5424
2018-04-11 01:44:00 +02: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
Cal Archer d091dbd3db klte-common: camera: add video HDR, phase-af and DRC
Note video HDR setting in Snap is only available
in Snap advanced settings at the very bottom of the menu.

Change-Id: Ia2d907aa5b20be6134bc3594684a423cf199f925
2018-03-05 21:23:23 -07:00
Cal Archer 4c4b746349 klte-common: fix camera ISO setting in Snap
Change-Id: I95ee3e06078ea1910d6bc11d9269313d43d59cdb
2018-03-05 21:23:23 -07:00
Cal Archer 8b8ab824ca klte-common: fix camera hal shim
* fixes binary garbage in CameraParams
* fixes HDR

Change-Id: Ia33924414b3616682c6eeab6b732ee55df8bb2ce
2018-03-05 21:23:23 -07:00
Kevin F. Haggerty 9d1c38d6ab klte-common: sepolicy: Label sysfs nodes for power HAL
Change-Id: I0fa2297ebb219421ad59a49836b9a39ece0843af
2018-03-01 04:42:08 +00: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 74f7c031d8 klte-common: Set proper permissions for mDNIe nodes
Change-Id: Ib5d2825bb50c90b6743157bd624e7156c6d5ad01
2018-02-22 20:13:06 -07:00