Commit Graph

624 Commits

Author SHA1 Message Date
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
Sam Mortimer 5a176177c4 klte-common: overlays: Update for new LED capabilities
*) frameworks/base bool config_intrusiveBatteryLed is no longer
   used so it has been removed.

*) Use LIGHTS_BATTERY_LIGHT capability in lineage-sdk instead.

*) Update config_deviceLightCapabilities comments

*) Move bool config_intrusiveNotificationLed out of Lineage-specific
   overlays because it's an AOSP config

Change-Id: Ia813cdd0596ece07ff38e1087d9cdf9e135f20be
2017-12-22 17:32:30 -07:00
Bruno Martins 2e4fb8b3fd klte-common: overlay-lineage: Apply LineageOS rebrand
Change-Id: I1e34ecb738c8b68440fb5cc61083b985fbe3fad9
2017-12-22 17:31:59 -07:00
Rashed Abdel-Tawab d39af7a072 klte-common: Move Lineage specific overlays to overlay-lineage
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba18
2017-12-22 17:31:55 -07:00
Rashed Abdel-Tawab 783402f469 klte-common: Add sensors HAL impl
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba30
2017-12-22 16:38:17 -07:00
Mohammad Afaneh 2d5186e1f1 klte-common: Add consumer IR impl
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba20
2017-12-22 16:38:12 -07:00
Rashed Abdel-Tawab 5ee3d1d904 klte-common: Add USB service
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba36
2017-12-22 15:29:00 -07:00
Rashed Abdel-Tawab c724309890 klte-common: Build GPS impl
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba32
2017-12-22 14:31:10 -07:00
Kevin F. Haggerty 5ab94096fe Revert "klte-common: init: Remove writes to non-existant cpufreq nodes"
This reverts commit b7f109ed9f.

* So, that was 100% my derp. The cpufreq directories come and go as
  cores go on- and off-line.
* Now, I wish I had notes as to whether I made this change in the
  first place because of an error in a log or just based on manual
  inspection.

Change-Id: I2782fefa80560bf9e20001e72ad378553d787ac0
2017-12-22 10:34:08 -07:00
Rashed Abdel-Tawab f0e4836605 klte-common: Add Camera HAL impl
Change-Id: Ie817e4d10631359f3b6c3c42249d75ebf73c596e
2017-12-22 10:34:08 -07:00
Paul Keith 701a321c54 klte-common: Add camera hal shim
* Allows camera hal to load

Change-Id: Ia1e4c05fe128c1b5abf885d6018e29a0fb9c881b
2017-12-22 10:34:08 -07:00
Demon000 d4dadbaff0 klte-common: CameraWrapper: Store user pointer and pass it when needed
The new camera interface calls set_callbacks with a pointer
to it's internal CameraDevice and expects following calls to
the callbacks to use that pointer.

Store the pointer in the camera wraper and intercept the
callbacks calls to pass it along.

Change-Id: I99f02484e12a3f72cf1be13f1c724f474a452d7f
2017-12-22 10:33:52 -07:00