Commit Graph

62 Commits

Author SHA1 Message Date
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
LuK1337 ebf3a97e75 msm8976-common: Remove power HAL extension
Change-Id: Iccbd6c8ba9e9939ab038985527784fc1e723f325
2017-02-27 14:24:18 +01:00
Jesse Chan 1f9474ebc5 msm8976-common: Compile fingerprint components
Change-Id: Ic62e32cb3610e18070692d5ff6f5667858b50aa5
2017-02-09 17:33:01 +00:00
LuK1337 a92512c87c msm8976-common: Remove BOARD_CUSTOM_BOOTIMG from boardconfig
Change-Id: Id749cb0d405ebcef9fad0dd679fba8499b3a3f87
2017-02-05 01:12:20 +01:00
Kevin F. Haggerty e075010c73 msm8976-common: Quiet "KERNEL IS NOT SEANDROID ENFORCING" boot message
Change-Id: Ic26c2d15f9e4b95c2cf006b222a0e0018a20258a
2017-02-04 20:00:17 +01:00
Luca Stefani 8b0db50e14 msm8976-common: Create ramdisk symlinks & folders at build-time
* Create dsp, efs, persist and modem folders
* Symlink bt_firmware and tombstones

Change-Id: I6b67e15e9cbde875f564bcb72f024ce9ce5e0ccf
2017-01-31 14:54:48 +00:00
LuK1337 bddbfffe92 msm8976-common: Enable AUDIO_FEATURE_ENABLED_RECORD_PLAY_CONCURRENCY
Change-Id: I3aafaf54a00fa3d495f6e9aa30b40c113b0f3e7f
2017-01-30 19:32:14 +01:00
Matt Filetto dc737a4a0e msm8976-common: Add PowerHAL extension for touch screen & keys
* Add extension to disable touchkeys and touchscreen
  when display blank is triggered

Change-Id: I83060caa6b894fc3b80e5907acc3c483fc6176cb
2017-01-28 00:28:39 +01:00
LuK1337 f175f6bc68 msm8976-common: Make it enforcing :3 2017-01-23 17:34:56 +01:00
LuK1337 1a1aee683d msm8976-common: Switch to TimeKeep 2017-01-23 13:40:35 +01:00
Luca Stefani 2e03eb769b msm8976-common: Enable some audio feature 2017-01-22 17:26:16 +01:00
Luca Stefani 155c078243 msm8976-common: Import CAF audio policy
* Enable XML audio policy
* From LA.BR.1.3.6-02810-8976.0
2017-01-22 16:43:20 +01:00
Luca Stefani 009b366b08 msm8976-common: Remove unused camera flags 2017-01-22 13:17:28 +01:00
Luca Stefani f59aeb017d msm8976-common: Enable boot dexpreopt 2017-01-22 13:16:50 +01:00
LuK1337 726e032fdb msm8976-common: Enable TARGET_USE_COMPAT_GRALLOC_ALIGN
* Needed for 4:3 camera preview
2017-01-21 23:50:55 +01:00
Steve Kondik d0a0e82458 msm8976-common: Build with SDCLANG
Change-Id: I76b21bd40ea0d4b29dec98e75ebf13ebe479752a
2017-01-21 22:34:46 +01:00
LuK1337 24d85e93a5 msm8976-common: Disable FM Radio 2017-01-21 16:11:34 +01:00
LuK1337 e09380bd67 msm8976-common: Include hardware/samsung/cmhw 2017-01-21 13:19:10 +01:00
LuK1337 adeddaf7b3 msm8976-common: Use lights HAL from hardware/samsung 2017-01-21 13:19:09 +01:00
LuK1337 241ba68c7c msm8976-common: Get rid of wifi module
* It's built-in now.
2017-01-21 01:43:02 +01:00
LuK1337 9da49ae186 msm8976-common: Switch back to HAL1 2017-01-20 23:06:30 +01:00
Luca Stefani d895e70077 msm8976-common: Don't build ril 2017-01-20 21:56:20 +01:00
LuK1337 d7928a51b4 msm8976-common: Remove CNE 2017-01-20 09:32:25 +01:00
LuK1337 d2db2c667a msm8976-common: Set TARGET_2ND_CPU_VARIANT to cortex-a53 2017-01-19 00:33:58 +01:00
LuK1337 c7ff3ab564 msm8976-common: Actually include vendor/samsung/msm8976-common 2017-01-18 00:17:29 +01:00