Commit Graph

65 Commits

Author SHA1 Message Date
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
Ethan Chen c3080ddbb1 Revert "klte-common: Stop using custom mkbootimg"
* No need to duplicate zImage-dtb generation. dt.img generation provides
  the dtbs for mkbootimg.

This reverts commit 682faad57d.

Change-Id: I736b7463a62988b85f0f685f966621eefd79c659
2015-11-18 15:24:46 -08:00
Ethan Chen dfee58afab klte-common: Remove camera hack
* New Adreno libraries have become available

Change-Id: Ibe0f646b42c20ed7d50ce8a41056226af919c092
2015-11-14 14:27:50 -08:00
Ethan Chen 999fcca38e klte-common: Update camera compat flags
Change-Id: I4c80a6892ae61ba75482baed53a20308c648d602
2015-11-14 01:08:28 -08:00
Ethan Chen 682faad57d klte-common: Stop using custom mkbootimg
Change-Id: I575bd5397f6ad107dec95a192af18931cf24b0d6
2015-11-12 11:44:05 -08:00
Ethan Chen db9e6be8d4 Revert "klte-common: Use low latency as primary audio output"
This reverts commit a78f495221.

Change-Id: I516c8a6e315c2fd53675cc4cd070b1ab6a44a12e
2015-10-07 23:33:26 -07:00
Ozzy2403 7bcdf04e9c klte-common: Add F2FS support
Change-Id: I7b02853fa7a7a3ff069f679772af296aa26f68b5
2015-10-04 18:33:29 -07:00
Brandon McAnsh 3075e11c13 klte: Remove AUDIO_FEATURE_DISABLED_* no-ops
* These were converted in to explicit opt-in's instead of opt-outs
(see 7854128f68)

Change-Id: Id862d4b20b54eaa88ad9db3538100f4c38478184
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
2015-08-12 13:15:28 -04:00
ljzyal ea10310115 klte-common: Move mkbootimg to device (1/2)
Change-Id: I002c8dfa2ce0f79b371c5fb3aa097f9d21211881
2015-05-25 10:56:43 -07:00
Steve Kondik a78f495221 klte-common: Use low latency as primary audio output
* What Qualcomm was trying to fix was a real problem, it just created
  even more problems which are incredibly difficult to solve such as
  underruns and even broken apps (Loop reader, etc). Do it Google's
  way and forget it- it's a non-issue with offloading anyway.

Change-Id: I0e9194c85606745e801630e64e8e5d0c8b8dc022
2015-03-19 11:05:55 -07:00
Steve Kondik 2f78ad331f klte-common: Add PCC calibration interface
* This will be used by the new LiveDisplay feature.

Change-Id: I2eb8f89832ac75841a79c5fb1a3fb98aad9cd0dd
2015-03-16 11:30:35 -07:00