Commit Graph

635 Commits

Author SHA1 Message Date
Kevin F. Haggerty fb15556b51 klte-common: Kill blur overlay
* Not ported to lineage-15.x (yet!?!?)

Change-Id: I741dc74d1e374edd8f1cf6a7fdddd9fa6c4f7fdf
2018-01-14 11:55:16 +00:00
Bruno Martins db7b5ef06a klte-common: overlay: Update for moved hardware key overlays
* These have now been moved to the SDK

Change-Id: Iff6c01ac3313928b79e5575064dce6070c23c114
2018-01-13 01:34:14 -07:00
Kevin F. Haggerty e692c8cfed klte-common: Fragment NFC support based on chip type
* Configs and board/product makefiles are split into discrete
  directories based on NFC chip. These chain to truly common
  makefiles that add permissions and shared PRODUCT_PACKAGES.
* Relocate libpn547_fw under the nfc/pn547 directory.

Change-Id: Ie9e87fc0566eac76fc411b3e5669564c5fa54123
2018-01-08 06:40:16 +00:00
Luca Stefani b75813297e klte-common: fstab: Update ZRAM comp streams flag
* AOSP now support it as max_comp_streams

Change-Id: I094f1e15f386cb7aa7909df2f7c91b93148eb840
2018-01-08 05:50:58 +00:00
Bruno Martins acf40073dd klte-common: Enable radio service 1.1
Change-Id: Ie3cb5f7075c66f6870961415b1096ca6eeb50d0e
2018-01-05 18:47:35 +00:00
Kevin F. Haggerty cbbf8571ad klte-common: Chain extract-files and setup-makefiles to msm8974-common
* This is necessary to fully-execute both of these processes

Change-Id: I6f7a5542541ae30b999e617fe84aa6c0e9cab563
2018-01-02 13:58:27 +00:00
Kevin F. Haggerty 507b5e013d klte-common: Drop shared blobs from proprietary files list
* These come from msm8974-common now

Change-Id: If14f618c9dad2c2bb19b0a806f85fb19b2b97318
2018-01-02 13:57:58 +00:00
Kevin F. Haggerty 7915dc24f9 klte-common: Enable single/dual SIM support with fragments
* klte-common has to support both single- and dual-SIM devices, and
  there are multiple devices of each kind. It makes most sense to
  provide fragments in the -common tree that these devices can inherit
  to configure HIDL manifest, system properties, audio support, and
  any additional services necessary for MSIM support.

Change-Id: Ic3b04fa500615c33cef9b0f0a999209150969123
2017-12-30 15:07:32 -07:00
Christopher R. Palmer 1dbfdd79c5 klte-common: gps: Unlock the GPS
[haggertk]:
 * During bring-up of O, GPS was exhibiting different behavior from
   N -- an appropriate number of satellites would immediately lock,
   but a fix would not resolve for 30-90 seconds. Digging up this
   change from the L-era allows GPS to resolve a fix in a nominal
   amount of time.

Change-Id: If9fd67483fedee915d46f7b9d2a7e0851400de3c
2017-12-30 04:41:02 +00:00
Kevin F. Haggerty 6a8a736148 klte-common: Move common things to msm8974-common
* All of these are/can/will be shared by this, hlte, lt03lte for
  O and beyond

Change-Id: I096948538dcf14d6070bb6cc2102e7b7586fd0c7
2017-12-29 14:45:54 -07:00
Paul Keith f999621c0c klte-common: Split out fingerprint support
* kltesprsports doesn't have a fingerprint scanner, so variants
  supporting one can include fingerprint/board.mk in BoardConfig.mk,
  and fingerprint/product.mk in device.mk to avoid polluting the
  kltesprsports build with fingerprint-related items.

Change-Id: I2fb1652d771740d05c3ec083054960fbe326bea4
2017-12-28 20:19:21 -07:00
Kevin F. Haggerty 86e804dce2 klte-common: Migrate to COMMON_PATH
* Replace the LOCAL_PATH instances with a variable not prone to
  getting stomped
* Replace all expanded values with the variable

Change-Id: I91ef536c038fb38d250633bfdad82c2a6537c1da
2017-12-28 20:19:20 -07:00
Kevin F. Haggerty 207093e3bc klte-common: Move macloader to vendor partition
Change-Id: Ie9de86f6bea652dc64c254148f3bfbfcc33b42b9
2017-12-26 21:03:03 -07:00
Ethan Chen 0fbb91945a klte-common: Replace QCOM group identifiers with oem_29XX
* Currently, config.fs doesn't give the ability to add AIDs to Android
   init such that they can actually be used in the init scripts.
 * Replace all instances of qcom_diag, rfs and rfs_shared with the
   appropriate IDs (2950, 2951, 2952).

Change-Id: Ie983fd582d4f81c17d730df17363417f87249837
2017-12-26 21:03:03 -07:00
Ritesh Harjani c4a708a54f klte-common: Add AID_QCOM_DIAG, AID_RFS, and AID_RFS_SHARED to config.fs
Change-Id: I9da576900ed29a2633bb997dbbea4565b489a418
2017-12-26 21:02:59 -07:00
Daniel Rosenberg 2da648e9d8 klte-common: Sdcardfs is now the default. Remove unnecessary prop.
Test: Boot device. Ensure device boots using sdcardfs
Change-Id: I70cdfdf1947f62bd2e1b2188dc3dfb4cafbef7fb
2017-12-26 21:02:59 -07:00
Kevin F. Haggerty f3945ec6cf klte-common: wifi: Update wpa/p2p overlay configs
Change-Id: Ib3c797870d27da563d340f931603dfe744011123
2017-12-26 21:02:59 -07:00
Kevin F. Haggerty 3c479a24ec klte-common: proprietary-files: Update Widevine blob
* Google Package Version: angler OPR6.170623.017 factory image

Change-Id: I7d86754f725a29f586605002172cc00755c80fd1
2017-12-26 21:02:59 -07:00
Kevin F. Haggerty 992851037e klte-common: Move partition sizes to -common
* All of the variants are close enough to each other that
  carrying these in the device-specific trees doesn't
  add much.
* Sizes picked by selecting the smallest value from each
  of the device-specific trees for each variable.

Change-Id: Ibe024ec857db971ff1522d05cf55e8492816b7ec
2017-12-26 16:35:48 -07:00
Rashed Abdel-Tawab f0a4e31300 klte-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
2017-12-26 14:24:56 -07:00
Kevin F. Haggerty 0e74d98093 klte-common: overlay: remove config_safeModeEnabledVibePattern
* This is gone now.
* See LineageOS/android_frameworks_base@33d6c08a for details

Change-Id: I66e6b175487222f99998ef559f125515ea7481f8
2017-12-26 14:22:55 -07:00
Kevin F. Haggerty 0ccdd170ac klte-common: cmhw: Kill local addition to BOARD_HARDWARE_CLASS
* cmhw is dead, but we don't actually carry any local classes. Just
  stop appending to the variable altogether

Change-Id: I075ad79ed99b0b85a21af594db0036136c984542
2017-12-26 14:20:52 -07:00
Bruno Martins f2790812bb klte-common: Fixup aptX codec support for Oreo
* This now matches the expected library name for Oreo and the scheduler
   library is removed at the same time because it's not needed

Change-Id: Iec80b9fd871f82d4c34d54f70360eed77559f52f
2017-12-26 13:45:45 -07:00
Bruno Martins ad1b0c1098 klte-common: Add compatiblity matrix
Change-Id: Ibf6053f1a7e9df5384664379772cb8757e897622
2017-12-26 13:45:45 -07:00
Bruno Martins fb460c7500 klte-common: Declare camera HAL instance as legacy
Change-Id: I02ea93f480658282ddfb10d8a877a7c721a7e3d3
2017-12-26 13:45:45 -07:00
Rashed Abdel-Tawab c2eb30c314 klte-common: CameraWrapper: Include nativebase headers
* This is required as of android-8.0.0_r23

Change-Id: Ic76cfff3a5bfe46c0ea6974e1ffce9fb7ed069c6
2017-12-26 13:45:45 -07:00
Kevin F. Haggerty 44c978a05d klte-common: Move thermal-engine configs to vendor/
* Auto-hex thermal-engine on extract

Change-Id: I373b8a3933a3e5ce58783c8914f4d85f35ad36bf
2017-12-26 13:45:38 -07:00
Kevin F. Haggerty 0b73a22c27 klte-common: Move proprietary binaries to vendor
Change-Id: If8f69a66f6168869e2a7578110d1200510b73ddd
2017-12-24 10:31:18 -07:00
Paul Keith 4821531912 klte-common: Use opensource libril and rild
Change-Id: I2f68ce9e37806edd90727bc3ddedc173ef666967
2017-12-24 10:31:18 -07:00
Bruno Martins 52569e9c1e klte-common: Include DRM service
Change-Id: I4999809c288c84d6e9c39383ff76f9ee85a97cae
2017-12-23 10:41:09 -07:00
Adrian DC 924baf9ba2 klte-common: Only use AUDIO_FORMAT_PCM_16_BIT in policy configuration
* The updated audio HAL sources (for instance 8.0.0_r33) use
   the formats directly through the pcm_format_from_audio_format
   inline functions to resolve and validate provided formats,
   however in our case the formats include values outside
   of the allowed AUDIO_FORMAT_PCM_... values and fail

 * Crash situation was happening upon 3.5 Jack plug only

Change-Id: I4b613c25ea7fd202a434c18c2fdd06e55a57c456
Signed-off-by: Adrian DC <radian.dc@gmail.com>
2017-12-23 10:41:02 -07:00
D. Andrei Măceș 739a62ccb2 klte-common: bluetooth: Add custom vendor configuration fixes
The current HIDL implementation needs BT_WAKE_VIA_PROC_NOTIFY_DEASSERT,
and PROC_BTWRITE_TIMER_TIMEOUT_MS = 0, same as angler.

Change-Id: I1b5d12788ab2689b3fb1779957d263c804def590
2017-12-23 10:09:49 -07:00
Pawin Vongmasa a9add7876d klte-common: Disable Treble OMX by default.
Test: Manual use of Camera, Movies, Photos and YouTube apps.

Test: With CtsMediaTestCases.apk installed,
adb shell am instrument -e size small -w
'android.media.cts/android.support.test.runner.AndroidJUnitRunner'

Bug: 31399200
Change-Id: Ib2d43fcfc7bbd00d47cf81a98b415d2be2e0e12a
2017-12-23 10:03:39 -07:00
Kevin F. Haggerty 405894f9eb klte-common: Add configstore to manifest
Change-Id: Ie2e8947f49f1e96a087f0cbf51f3b6ee98ff024a
2017-12-23 09:59:12 -07:00
Kevin F. Haggerty 90ddf6e3d8 klte-common: Add power HAL to manifest
Change-Id: Ie1241e8d9bd441d67731f8abedf4e8b9bf4077ad
2017-12-23 09:57:45 -07:00
Rashed Abdel-Tawab 4bb30996c5 klte-common: Add keymaster HAL impl
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba31
2017-12-23 09:53:17 -07:00
Kevin F. Haggerty 316e26f265 klte-common: proprietary-files: Blob out libstlport.so
Change-Id: I2f0040d00213555f4c7a250d55fc47f09b314437
2017-12-23 09:11:23 -07:00
Ningyuan Wang d9dfb2c43c klte-common: wifi: Add wificond to products
We need our new wifi native daemon wificond for Android O.
This CL gets it installed on the device.

BUG=29220405
TEST=compile

Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba39
2017-12-22 23:31:07 -07:00
Rashed Abdel-Tawab 46efb4c651 klte-common: Add wifi and supplicant services
android.hardware.wifi is built by default

Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba37
2017-12-22 23:29:03 -07:00
Kevin F. Haggerty 1d8a6bce95 klte-common: Convert system_prop.mk to property file
Change-Id: Iea7a502eb0ddfa619b314800aa3c386e18c88928
2017-12-22 22:31:11 -07:00
Luca Stefani ccb9bf10e5 klte-common: audio: Fix audio effect libs path
Change-Id: I8f50ea750405ae920ef5a74dda31ca5ac85e3af0
2017-12-22 22:31:11 -07:00
Bruno Martins 488b4cdfc6 klte-common: Move audio configuration files to vendor
Change-Id: Ib0609d248c690ae76f3e089f376655da463d6f4c
2017-12-22 22:31:11 -07:00
Kevin F. Haggerty adf0999b2a klte-common: Sort makefile sections sanely
Change-Id: Idb20e4befc873925003f2ede74c154aba2417d99
2017-12-22 22:31:11 -07:00
Rashed Abdel-Tawab 3c4c6b5df6 klte-common: Add vibrator HAL impl
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba33
2017-12-22 22:31:11 -07:00
Rashed Abdel-Tawab 00d1639b17 klte-common: Add NFC HAL
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba43
2017-12-22 22:31:11 -07:00
Kevin F. Haggerty 7ea4ffa388 klte-common: Build fingerprint 2.1-service
Change-Id: Ifffe781deef90d861a0ad68f8649c265c249d0c5
2017-12-22 18:43:10 -07:00
Kevin F. Haggerty 7a56477e86 klte-common: fingerprint: Resolve compilation warnings
* fingerprint_enumerate had an incorrect signature
* Quit partially initializing fingerprint_msg_t instances

Change-Id: I09a05f3656c5bdc1e17fa76b5e68c56e0b7277de
2017-12-22 18:42:50 -07:00
Kevin F. Haggerty 09e4b79ed7 klte-common: fingerprint: Bump version to 2.1
Change-Id: Id355acaf78387917252c56476da0ff8d3828f5d0
2017-12-22 18:33:01 -07:00
Bruno Martins 76fb2fe806 klte-common: Switch to hwbinder graphics allocator
Change-Id: Ic8124cebc5d9dab8e7571ec453be3f5a18b03d69
2017-12-22 18:33:01 -07:00
Kevin F. Haggerty b68341a429 klte-common: Add lights HAL impl
Change-Id: Ia5370244fc64a612e3b83fac6d68798cdc7ed3c8
2017-12-22 17:32:31 -07:00