Commit Graph

82 Commits

Author SHA1 Message Date
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
Kevin F. Haggerty 67f1192cd0 klte-common: Remove hwui properties
Change-Id: Id5f75dd39c0d385f30e6e8efe7dbe92ad017a688
2018-06-28 15:32:59 +02: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
Paul Keith 4f9a109870 Revert "klte-common: Set TARGET_BOOTANIMATION_HALF_RES to true"
* Moved up to msm8974-common

This reverts commit 458617d999.

Change-Id: I88a23580a482eba2b56e88caca8b0d954a20903b
2018-02-10 17:01:57 +01:00
Michael Bestas 16c0928bde klte-common: Move permissions to vendor
Change-Id: Idf4022e03ba376f7971d02be973444e70dbc4521
2018-02-03 15:15:57 -07:00
Kevin F. Haggerty 48aebf6ac7 klte-common: Drop GPS configs/PRODUCT_PACKAGES/blobs
* These have moved to msm8974-common

Change-Id: Ib4cd06549a862f098da692b3a9bd111fd9e9eab7
2018-01-18 04:54:37 -07:00
Kevin F. Haggerty cf10d879d0 klte-common: Drop the hacky deferred initcalls trigger script
* Yes, I could do the sepolicy that lets this run correctly, but why?
  Even if the phone takes 0.5s longer to boot, will you really even
  notice? We are going to disable the deferred initcalls in the
  kernel and let it do its thing the more "normal" way.

Change-Id: I2a9c50f12f4309923f3cdf6e646cad8edf717560
2018-01-15 21:12:19 +00: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
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 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
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
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
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 b68341a429 klte-common: Add lights HAL impl
Change-Id: Ia5370244fc64a612e3b83fac6d68798cdc7ed3c8
2017-12-22 17:32:31 -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
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
Kevin F. Haggerty cea7d22cb3 klte-common: Remove libsecril-client*
* These are only required for some OEM blobs, and not even any
  that we make use of:
  * system/bin/smdexe matches
  * system/bin/vpnclientd matches
  * system/bin/connfwexe matches
  * system/bin/at_distributor matches
  * system/bin/wpa_supplicant matches
  * system/etc/irremovable_list.txt:/system/lib/libsecril-client.so
  * system/lib/hw/lights.msm8974.so matches
  * system/lib/hw/audio.primary.msm8974.so matches
  * system/lib/libcpve-client.so matches
  * system/lib/libaudio-ril.so matches
  * system/lib/libsecril-client.so matches

Change-Id: I7488681c9c1c15c1a42ba9a718c426c80526db19
2017-11-07 06:15:19 +00:00
Myles Watson ed58a79f48 klte-common: Add libbt-vendor in klte.mk
Bug: 36810308
Test: build
Change-Id: Iae4a6340a184dde818603b546470c8cf883f2f7b
2017-11-04 12:58:43 -06:00
Rashed Abdel-Tawab b574fd9567 klte-common: Add bluetooth service
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba38
2017-11-04 12:58:43 -06:00
Rashed Abdel-Tawab 2d0a03ffbf klte-common: Add DRM HAL impl
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba28
2017-11-04 12:58:43 -06:00
Mohammad Afaneh 9606d62123 klte-common: Build fingerprint 2.0 service
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba19
2017-11-04 12:52:07 -06:00
Paul Keith 46455aa5f8 klte-common: Use QC soundfx libs
* These work a lot better than the AOSP ones

Change-Id: Ifb2dbeaacd09329541aeb664a89d4827cf403d77
2017-10-28 01:04:29 +00:00
Kevin F. Haggerty f08a5db2e7 klte-common: Build libsecnativefeature and libsecril-client from source
Change-Id: Ifafcd8109503952873177b9626578c8d1f7a8393
2017-10-24 01:18:35 +02:00
Kevin F. Haggerty e9c0171983 klte-common: Use the OSS GPS HAL
* Use bacon's GPS blob stack
* Build the package
* Drop our custom gps.h

Change-Id: Ib781b06310a4b11a5e69fe759549a89ce65fb1c8
2017-08-14 05:37:56 -06:00
Kevin F. Haggerty f523c22fa9 klte-common: Kill Gello
Change-Id: I18b9f2fbac6835c5bc40d5b5ceb69fcafffa035e
Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>
2017-05-12 19:59:40 -07:00
Kevin F. Haggerty 69b4d3bed0 klte-common: Move to commonized, overlay-based GPS config
* This is one main step toward future consolidating of some klte*
  builds
* Approach taken from Nexus/Pixel devices, values based on
  previously functional variant gps.conf files combined with
  LPP_PROFILE tuning by carrier from marlin

Change-Id: I9a66eb156df69340d35c139d20f835fa8693a716
2017-02-20 05:31:08 -07:00
Kevin F. Haggerty e69e367bbb klte-common: Add FlipFlap
Change-Id: Ie7e44e1f317b1c88cbf3a02733c3cd1162e37f27
2017-02-10 15:33:45 -07:00
Kevin F. Haggerty 4aacf9f7c8 klte-common: Import GPS-related configutation files into device tree
* These aren't any more proprietary than the audio configuration and
  should be able to be edited as such

Change-Id: I08e3a2c751e680acfda591452a925553c94e57f9
2016-12-27 11:59:03 -07:00
Kevin F. Haggerty d73bd4f052 Revert "klte-common: Add libprotobuf-cpp-full to PRODUCT_PACKAGES"
This reverts commit e3be430481.

* Included globally by https://review.cyanogenmod.org/#/c/174078/

Change-Id: If314e58d202ce13998e17770b2c366b78702fb86
2016-12-08 05:52:09 -07:00
Paul Keith 9e288a3114 liblights: Remove device level HAL
* This is in hardware/samsung now

Change-Id: I07d5bfef3a5af6cfc791e7b2f9b0adc9bc479be2
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2016-12-04 09:05:31 -08:00
Paul Keith 2aec4a1a02 klte-common: Build consumerir
* No more evil nasty blobs

Change-Id: Id9e6cad5fc7f759113d994f7d40b2227a3f82016
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2016-11-21 07:21:01 -06:00
Luca Stefani 59335cd738 klte-common: switch to bullhead WV
Change-Id: I903c922d7ee19829190fa6e25208d5256e8f316b
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2016-11-20 20:34:53 -07:00
Kevin F. Haggerty 458617d999 klte-common: Set TARGET_BOOTANIMATION_HALF_RES to true
* No apparent resolution difference
* Much smoother animation
* Much faster boot
* What's not to like?

Change-Id: I2119fe826146a3103da50b4862ad88f5950a97ec
2016-11-12 15:48:17 -07:00
Kevin F. Haggerty 273661b2a5 klte-common: Move all the shims to libshim
* Rename libril_shim to libshim_ril for consistency

Change-Id: Ie86e5ceef2f90c5a9b9c9ebaacf49e48605794ed
2016-11-09 08:15:39 -07:00