Commit Graph

86 Commits

Author SHA1 Message Date
ripee f40d286569 msm8976-common: Remove F2FS 2020-04-22 23:27:39 +02:00
luk1337 b0f11914d9 msm8976-common: Move to hardware/samsung fingerprint HAL 2020-04-05 14:52:51 +02:00
arco 8e30e03999 msm8976-common: Add 0x2000U to additional gralloc usage bits
Fixes video playback error.

| Gralloc2: buffer descriptor contains invalid usage bits 0x2000
2020-04-05 14:52:00 +02:00
mikeNG eac97cf9ad msm8976-common: Update to power HAL 1.2 2020-04-05 14:52:00 +02:00
elektroschmock ecce5c6cb9 msm8976-common: Convert ConfigStore properties to system properties
Configstore is deprecated since Android 10 due to high memory consumption

Reference:
https://source.android.com/devices/architecture/configuration
2020-04-04 15:22:11 +02:00
Anton Hansson 38f7ddeb98 msm8976-common: Use generic arch variant
Follow blueline which has not demonstrated any regressions
after switching to a generic arch variant.
2020-04-04 13:24:05 +02:00
Anton Hansson 1ac7628b9e msm8976-common: Set cpu runtime variant to cortex-a53
This makes bionic and various art tools that compile/runs cpu-specific
code choose the kryo variant at runtime. It does not affect
build-time compilation.
2020-04-04 13:24:05 +02:00
abdoi94 0e2ce1d572 [DNM] msm8976-common: Make kernel permissive 2020-04-04 13:23:36 +02:00
ripee 790b16d75d Revert "msm8976-common: Add bootloader assert"
This reverts commit 864759e373.
2020-04-04 13:17:00 +02:00
ripee 91da02700a Revert "msm8976-common: Add list of supported TrustZone versions"
This reverts commit 74773f0e3e.
2020-04-04 13:17:00 +02:00
ripee e9a2845041 Revert "msm8976-common: Add assertions on TrustZone version"
This reverts commit 34842dbf45.
2020-04-04 13:17:00 +02:00
Kevin F. Haggerty 74c3327190 msm8976-common: Build Samsung LiveDisplay service
Change-Id: I74d38aa0df3179bb00b942135e8ff055aa8a5658
2019-05-24 23:32:30 +02:00
LuK1337 38786d49b8 Revert "Revert "msm8976-common: Binderize camera & graphics composer""
This reverts commit f10851da4f.

Change-Id: Ia054b3433e8bd3652ad6557180e739a0ea5bd49c
2019-02-25 16:55:49 +01:00
LuK1337 407b78f2f4 msm8976-common: Disable ANT+ for now
* Theoretically I may revisit it soon (TM)

Change-Id: I9895ef8e10b2e75a4cd4f3a61255eacfb60daa13
2019-01-21 17:00:41 +01:00
LuK1337 f10851da4f Revert "msm8976-common: Binderize camera & graphics composer"
* Since someone was funny enough to label display.qservice
  as 'service' instead of 'vndservice' in legacy qcom sepolicy
  I'm forced to move these back to passthrough ;-;

This reverts commit a8fd5e61e0.

Change-Id: I4fb729fce584450499b55cc7b8815e9768dac846
2019-01-21 16:16:06 +01:00
Bruno Martins 9b27fadfb2 msm8976-common: Only include legacy QC sepolicy
* This has now turned into a separate repository (maintained only
   for legacy devices, those that never got official Orea updates).

Change-Id: I981b452b697bc3610d7aa97b74ed182c6b70ca30
2019-01-18 23:22:24 +01:00
LuK1337 70e7d5daf4 msm8976-common: Drop TARGET_EXFAT_DRIVER flag
* No longer needed.

Change-Id: Icb0df10fece66ee2ded0fe9c4ae329c50b3d2571
2018-12-17 02:52:30 +01:00
LuK1337 381b77f356 msm8976-common: Correct SDK version override for camera HAL service
Change-Id: Ieb854202a1039e61fb995fd54af512e6e75707ec
2018-10-19 11:30:35 +02:00
Danny Baumann 03ea84933e msm8976-common: Mark camera-related processes as API level 23.
Our camera blobs trigger some checks for broken behavior (destroyed
mutex usage, invalid pthread usage) present in newer API levels.

Change-Id: I8705437e0a5c6d80b86748bff559ce1e8a7bf716
2018-10-19 11:09:28 +02:00
LuK1337 74773f0e3e msm8976-common: Add list of supported TrustZone versions
Change-Id: I1703c80f39d6cfc994a8ca7428bb3e76a7039a34
2018-09-30 01:12:24 +02:00
Ethan Chen 34842dbf45 msm8976-common: Add assertions on TrustZone version
Change-Id: I1ae8c415028ba0b5e781f53c3a26225bcdc98100
2018-09-30 01:12:24 +02:00
Michael Bestas ced29a900f msm8976-common: Switch to 1.1 power HAL
Change-Id: I4690a5b913141427a828d6a3a4af407d35a10775
2018-09-28 14:38:35 +02:00
Kevin F. Haggerty 417865e108 msm8976-common: Allow additional gralloc 1.0 buffer usage bits
* Our camera requires 0x02000000U. Per headers from exynos5420,
  this appears to be USAGE_PRIVATE_NONSECURE.

Change-Id: Ie5a8a46fef1c0f28ebd2cd3b3d29cc19763bc2a3
2018-09-12 20:26:12 +02:00
Bruno Martins e99f341d92 msm8976-common: Adapt for local LineageHW java overlays
Change-Id: Icb2b9810217f4b4d442ab83a16f455bd2ed82071
2018-09-12 20:25:13 +02:00
LuK1337 04f4dfb4cd msm8976-common: camera: Add missing Fence destructor
* Our camera HAL depends on it.

Change-Id: Iedf3dae40e3f2beb284549f486b8721c69837cd0
2018-08-16 12:15:43 +02:00
Isaac Chen 2646b604f5 msm8976-common: Set TARGET_2ND_ARCH_VARIANT to armv8-a
Samsung 8976 targets are armv8 devices. Setting TARGET_2ND_ARCH_VARIANT
to armv8-a, instead of armv7-a-neon, can silence the related warning
during build.

Bug: 68012286
Change-Id: I18ae3aa985fd6bff11f043a155f3685d9f6644b8
2018-08-16 12:14:04 +02:00
LuK1337 f595ccf475 msm8976-common: Use correct ANT+ wireless device
* Stock ROM uses qualcomm-uart instead of vfs-prerelease.

Change-Id: I835763de40d8dcf24d859f29357598fc87ecf9d2
2018-06-24 17:36:46 +02:00
LuK1337 8fcc1971af msm8976-common: Update TARGET_LD_SHIM_LIBS list
Change-Id: I88a3fc8bde7e729b034217caa8159a453de8802c
2018-06-10 14:35:05 +02:00
Lukas0610 3ea218a6b7 msm8976-common: lineagehw: Add mDNIe-backed ReadingEnhancement implementation
Change-Id: I88ad232434130382e95f056097cfd1b914211645
2018-06-02 21:17:46 +02:00
Paul Keith 64262acc1d msm8976-common: Set BOARD_CUSTOM_BOOTIMG to true
* This is required to properly apply the changes to the boot
  and recovery images, as well as generating the right
  recovery-from-boot patch file to allow auto updating of recovery

Change-Id: Ifaaead6d68aae115e8fb4b01ee50d09861e5df1c
2018-03-26 02:36:55 +02:00
Michael Bestas 3a418b2310 msm8976-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-10 14:06:55 +01:00
Kevin F. Haggerty 8a46a39656 msm8976-common: Use kernel exfat
Change-Id: Ifbd2df2abbbfbb0909fd5c5441732072c1e27603
2018-02-26 19:20:55 +01:00
Paul Keith a3186e740e msm8976-common: Transition to TARGET_LD_SHIM_LIBS
* Limits security exposure from shims

 * As a bonus, we no longer need noatsecure
   to make LD_SHIM_LIBS persist through services

Change-Id: I877192422062f3e59c81a7130ad1a2b4be5d1647
2018-02-17 09:34:47 +00:00
LuK1337 8cb4e8acff msm8976-common: Disable speaker protection feature
Change-Id: Id3a4b8dabb0307daf1e4ff8edb1ac9142182dabf
2018-02-12 18:05:42 +00:00
Bruno Martins 022255bfad msm8976-common: Enable interaction boost
* This is no longer done unconditionally because it breaks EAS'ed devices.

Change-Id: I6b93136b77c97014d2ccbe61aad252fc45825050
2018-02-12 18:34:13 +01:00
Rashed Abdel-Tawab 617c5fd71b msm8976-common: Build QTI HIDL power 1.0 HAL
Change-Id: I929a2d3aedf3bfdca962dc34720019d83c7134e1
2018-02-12 18:34:13 +01:00
LuK1337 a9f7ab090c msm8976-common: Go back to CAF audio policy 2018-02-12 18:34:11 +01:00
LuK1337 a8edb8f13a msm8976-common: Include legacy QCOM sepolicy 2018-01-26 15:47:21 +01:00
Bruno Martins c22f31c686 msm8976-common: lineagehw: Apply LineageOS rebrand
* Adapt to the new Lineage SDK and temporarily disable the import
   of currently non-existing Lineage common classes.

 * Drop never required BOARD_USES_CYANOGEN_HARDWARE flag
   (only required to opt-in for common light HALs).

Change-Id: I979bb57522b37a698b1de6afaea2ba41464e6277
2018-01-26 15:47:21 +01:00
Artem Borisov 153d99643d msm8976-common: Dex-preopt boot and system server
WITH_DEXPREOPT_BOOT_IMG_ONLY was removed in 8.1 in favor of
WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY.

Along with boot classpath it will also pre-optimize system server jars.

Change-Id: Idd0ac1ac39a6c3d14637a974a0a99953c99af236
2018-01-26 15:47:21 +01:00
Rashed Abdel-Tawab c83d95716c msm8976-common: Update for early-mounted system partition
* This removes /system entry from fstab, since this partition
   is now early-mounted and the fstab entry is specified in device tree.

 * At the same time, also include a fully populated fstab, in order to avoid
   build breakage while generating recovery updater scripts.

Change-Id: I8e558458b984e97a45a920c3751a6b7c3f2ebc5c
2018-01-26 15:47:21 +01:00
LuK1337 dbb08fba7b msm8976-common: Enable sound monitor audio feature 2018-01-26 15:47:20 +01:00
Luca Stefani 29e1ca0f65 msm8976-common: Move to fs config gen 2018-01-26 15:47:20 +01:00
Luca Stefani fffaade00b msm8976-common: Add HIDL manifest 2018-01-26 15:47:19 +01:00
Luca Stefani 522d08df0c msm8976-common: Update audio for O
* Build audio HALs
* Remove dead packages
* Update audio flags for AOSP HAL
2018-01-19 00:15:58 +01:00
Luca Stefani c850053f54 msm8976-common: Update display/render for O
* Add various HALs
* Enable HWC2 & Gralloc1
2018-01-19 00:15:58 +01:00
LuK1337 565a0e40b5 msm8976-common: Change default WiFi country code to '00'
* Germany wasn't cool enough due to lack of higher
  5GHz band ;_;

Change-Id: Icf68fac5240854abecc2533f38042e32beec58a4
2017-12-19 01:19:24 +01:00
LuK1337 e07934c165 msm8976-common: Set default WiFi country code to Germany
* WiFi only devices are unable to automatically
  figure out the country code thus setting Germany
  as default should allow us to get upper range of
  5GHz without having to manually select WiFi
  region in Settings. Also Samsung doesn't store
  the country code anywhere and I'm not willing to
  parse bootloader versions as that's just silly.

Change-Id: I2dca161dd24389a6377802c757fe4ebe48c66e9a
2017-11-22 03:11:05 +01:00
LuK1337 b2f7745ad4 msm8976-common: Update blobs from T813XXU2BQD1
Change-Id: I3e3938773fddd721129a85552caec00f3ab8b17c
2017-04-23 22:44:42 +02:00
LuK1337 864759e373 msm8976-common: Add bootloader assert
* Updated blobs require new firmware.

Change-Id: I73588865646da3a962fd98309ff5710cbdee085c
2017-03-25 11:08:18 +00:00