Commit Graph

75 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
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
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 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 ad1b0c1098 klte-common: Add compatiblity matrix
Change-Id: Ibf6053f1a7e9df5384664379772cb8757e897622
2017-12-26 13:45:45 -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
Kevin F. Haggerty 1d8a6bce95 klte-common: Convert system_prop.mk to property file
Change-Id: Iea7a502eb0ddfa619b314800aa3c386e18c88928
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
Artem Borisov aae26bb6aa klte-common: Use 64-bit binder API
AOSP and mainline are going towards removing old 32-bit binder API support.
64-bit binder is 100% compatible with 32-bit kernel and userspace,
so there is no reason for us to keep using the old solution anymore.
We've switched to new API in our kernel, same thing should be applied to our userspace.

Change-Id: I3c95bd7fbd023c5cb08e856b3a3889c03228e843
2017-12-10 09:59:20 -07:00
Kevin F. Haggerty 2a20e4cfc5 klte-common: Enable legacy f_adb interface support
Change-Id: I6ebd3e4fcd8382b71a32853d79ebe22d802da052
2017-11-26 15:30:48 +00:00
Rashed Abdel-Tawab e43a08af7a klte-common: Add empty HIDL manifest
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba24
2017-11-04 12:58:38 -06:00
Kevin F. Haggerty a3c4d27f06 klte-common: add BOARD_KERNEL_IMAGE_NAME
Change-Id: I581c5d02ad4c68e867a09b35bf0c0406b1bea073
2017-11-01 16:42:01 -06:00
Kevin F. Haggerty c6995d2d02 klte-common: Set BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE to ext4
* There is some kind of race condition during build and f2fs is kind of
  junk anyway.

Change-Id: I51931c7d2005e987da3e1fbeb9f1051a67ca7da7
2017-11-01 16:42:01 -06:00
Dan Pasanen dc1bbbf7e0 klte-common: compress recovery ramdisk with lzma
Change-Id: I1e590c22f0a68ecdbbb1c8057d6e55d9ec43b79f
2017-11-01 16:42:01 -06:00
Kevin F. Haggerty bf67c969ca klte-common: Use kernel exfat
Change-Id: Ifbd2df2abbbfbb0909fd5c5441732072c1e27603
2017-09-23 00:25:22 -06:00
Kevin F. Haggerty 6daa361afe klte-common: Add bootdevice to kernel cmdline
Change-Id: I9590770e63c00cb9b376d0a8522ea3ccab78b1fe
2017-09-17 17:33:41 +00:00
Kevin F. Haggerty 4f9d6d77c2 klte-common: Start using android_kernel_samsung_msm8974
Change-Id: I49fc5183b303e679cc1be6bdde65393c31ed3bf8
2017-08-25 22:07:02 -06:00
Kevin F. Haggerty d8ff0658d0 klte-common: Add support for TWRP
* To build:
  * Clone https://github.com/LineageOS/android_external_busybox
    to external/busybox
  * Clone https://github.com/omnirom/android_bootable_recovery/
    to bootable/recovery-twrp
  * WITH_TWRP=true mka recoveryimage

Change-Id: I2dc2138dedc66042834a104a37da9496e708c1d8
2017-03-22 02:49:07 +00:00
OzzysCmAcc 5ea0290d08 klte-common: Move WiFi NVRAM paths to our own macloader header
Change-Id: Ia6af356646aed9a9df0eff3dac3397b65c815e0d
2017-02-17 10:12:11 +01:00
Kevin F. Haggerty da60e64b2e klte-common: Quiet "KERNEL IS NOT SEANDROID ENFORCING" boot message
Change-Id: Ic26c2d15f9e4b95c2cf006b222a0e0018a20258a
2017-02-03 15:47:32 -07:00
Paul Keith 0c4712a18b klte-common: Remove vsync phase offsets
* Moved up to msm87974-common

Change-Id: I973290eafccdf40d47fbff09910eb18019ecd1b4
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2016-12-14 13:22:43 -06:00
Paul Keith 34292a9303 klte-common: Override consumerir header
* Board flag is deprecated

Change-Id: I3e1d685ec76a4221027a84d65fc70c998da62e1f
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2016-12-14 11:19:53 -06: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
Kevin F. Haggerty 2b078a3fde klte-common: Engage the SDCLANG
Change-Id: I18a3ea966d7cfda0943d5b0114d30deba3a267e6
2016-11-08 16:39:01 -07:00
Zhao Wei Liew aee12a34df klte-common: Enable legacy mediaserver
Change-Id: I4881ce7a0342b0dc9a9c50d6870f1b072b45af82
2016-11-07 05:28:46 -07:00
Paul Keith 668eba32f5 klte-common: Add vsync phase offset
* Kanged values from hammerhead
* Reference:
  http://stackoverflow.com/questions/27947848/understanding-necessity-of-android-vsync-signals

Change-Id: I7c6e7998b4c0d7b593c9d36318624cdc506aac74
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2016-11-03 18:15:24 -07:00
Kevin F. Haggerty be71702cac Revert "klte-common: Use multithread decode for boot animation"
This reverts commit ec0c349fb1.

Now enabled globally.

Change-Id: Ice4a40b189c0dcd1dbf0de2c090a0bfc4221eb24
2016-11-03 07:58:42 -06:00
Paul Keith 8ba30c7878 klte-common: Explicitly define cache partition type
* Android 7.1 needs this
* Reference: http://review.cyanogenmod.org/#/c/167419/

Change-Id: Ifaafc2b61c912fe4c61f5493722af7c022d67c87
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2016-10-27 14:11:58 -05:00
Kevin F. Haggerty b6f8787b74 klte-common: Add WIFI_DRIVER_NVRAM_PATH params to board config
* Setting these helps macloader to, well you know, actually set
  calibration params for anything other than default case.

Change-Id: I710a75ee58267276c702d25437042b9a0842dc8c
2016-10-24 06:25:26 -07:00
Kevin F. Haggerty a7ddeef81a klte-common: Add BOARD_HAVE_SAMSUNG_BLUETOOTH flag
Change-Id: I55e4009f6f62684b315f92b8a6e370f5de80684b
2016-10-16 14:11:36 -07:00
Aaron Kling ec0c349fb1 klte-common: Use multithread decode for boot animation
This gets rid of the jerkiness in the boot animation.

Change-Id: Ib3b2f938e8b54f4cce5e77bca3c6bdbaec58d53f
2016-10-12 10:52:46 -06:00
OzzysCmAcc 57fe81dcbd klte-common: disable flag with default value
Change-Id: I42b32ca809bc82d81ed8b5fd9b71abb90245256a
2016-10-04 19:27:12 -06:00
OzzysCmAcc fb67358a59 klte-common: add flag for custom audio policy
Change-Id: I6e5cd1bbe21bb27843e65945c7fc9f786acdb2c8
(cherry picked from commit 8c3657b49c737b395d59b7ac9ed4a8f3c0b06e10)
2016-10-04 18:19:34 -07:00
Dan Pasanen 2de5ba9107 klte-common: enable text relocations
vendor/samsung $ for f in `find klte* -type f`; do scanelf -qt $f; done
TEXTREL  klte/proprietary/vendor/firmware/libpn547_fw.so
TEXTREL  klte-common/proprietary/lib/libmmjpeg.so
TEXTREL  klte-common/proprietary/vendor/lib/libmmcamera_faceproc.so
TEXTREL  kltechn/proprietary/vendor/firmware/libpn547_fw.so
TEXTREL  klteusc/proprietary/vendor/firmware/libpn547_fw.so
TEXTREL  kltevzw/proprietary/vendor/firmware/libpn547_fw.so

Change-Id: I1bae0103c522e800183bd6c45dd6022dca112c43
2016-10-03 19:08:18 -06:00
Kevin Haggerty 57a09dd06e Revert "klte-common: Enable text relocations"
This reverts commit 6dbc0ac560.

Dedendencies aren't merged yet. Pull it out in case a different approach is taken.

Change-Id: I9418eea621de65b72a4261abbc5f38f0837440ea
2016-09-16 11:18:21 -07:00
LuK1337 6dbc0ac560 klte-common: Enable text relocations
* Needed for camera.

Change-Id: I8a9a77333ed3c483ae79b39788eb099f1fda14a1
2016-09-16 10:57:04 -07:00
OzzysCmAcc 1300472330 klte-common: Update custom BT config board flag
Change-Id: I5da2a2f46ca87ff543691160054c302bdcec1d0a
2016-08-30 10:39:50 -07:00
Kevin F. Haggerty d4b75cda0b klte-common: Clean up misc cmhw-related items
* Make BOARD_HARDWARE_CLASS inheritance straight-forward
* Fix/unify duplicated Vibrator-related sysfs permissions/ownership
  statements

Change-Id: I85137110acabf0fe53bd9ae3a0ffbf747fbcfab1
2016-07-19 08:15:00 -07:00
Kevin F. Haggerty c9d58eae2d Revert "klte-common: update kernel toolchain"
This reverts commit 48b4767351.

Change-Id: I9888cdb1e9726bc85b7597a54a60bec435add707
2016-06-24 07:24:32 -06:00
Kevin F. Haggerty 80563751e3 Revert "klte-common: Stop inheriting BOARD_HARDWARE_CLASS"
This reverts commit b10cc6e072.

Change-Id: I7d559cf475aedeb2bfe8a5ff48732899e544c584
2016-06-24 07:24:23 -06:00
Kevin F. Haggerty b10cc6e072 klte-common: Stop inheriting BOARD_HARDWARE_CLASS
* Our kernel interfaces have changed, we need to diverge from
  the common hardware/samsung implementations

Change-Id: I81a0cdf79476dd2ba056f35b714a12522ac5ec08
2016-06-10 07:14:06 -06:00
OzzysCmAcc 48b4767351 klte-common: update kernel toolchain
Change-Id: Ib2d9096e73addaa3219b1591853b8e926540b698
2016-06-05 06:56:06 -07:00
OzzysCmAcc 2c4ad6c5f3 Revert "klte-common: set TARGET_USE_COMPAT_GRALLOC_ALIGN"
This reverts commit 672f8c79e5.

Change-Id: Ib62e38663c5e051cbd5690576bfabde3bb9845e6
2016-05-14 10:00:13 +02:00
OzzysCmAcc 672f8c79e5 klte-common: set TARGET_USE_COMPAT_GRALLOC_ALIGN
Change-Id: I213422b6ac3fa8ea8a06c7c5766544e98f5679d8
2016-05-11 21:02:53 +02:00
Steve Kondik 5ca0f19221 klte-common: Use LZ4 for memory compression
Change-Id: I1c24cc30ac73b2176509f2f1c9c2552ca94089c2
2016-04-30 14:43:18 -06:00
Steve Kondik 79a8b05519 klte-common: Enable ZRAM and ZCACHE
* Improves performance over days of usage.

Change-Id: Idc9ea3c18e17f721277893dda2d77d76b71fe07f
2016-04-30 14:42:45 -06:00
Ethan Chen a3fcdb248a klte-common: Allow device to skip the sensor-permission request
Change-Id: Ic89ac825a5598a5bb372297cf07529d83b4cb6a3
2015-12-19 10:00:33 -08:00