Michael Bestas
31947756a3
klte-common: Get rid of recovery-only fstab
...
* Mounting /system partition is handled in kernel now,
however removing the entry from fstab caused issues building
the OTA. The workaround was to have a separate fstab, but turns out
that simply setting the recoveryonly flag does the trick because
those are then ignored during a normal Android boot.
Change-Id: I2944384d0a1c41bc9f9f51e2e29daff2bed0a0f4
2018-03-27 21:44:24 -06:00
Kevin F. Haggerty
30d27eb628
Revert "klte-common: Enable legacy f_adb interface support"
...
This reverts commit 2a20e4cfc5
.
* blek fixed it
Change-Id: Id40a86d92d17b9fd2a5f5cf1f590038616b8b343
2018-02-28 21:21:52 -07:00
Paul Keith
435b4ae064
klte-common: Update kernel exfat flag
...
Change-Id: Ic182471b28ec91340b13cdc6cad64a64772f4641
2018-02-24 14:43:48 +00:00
Paul Keith
c8d45dba1c
klte-common: Transition to TARGET_LD_SHIM_LIBS
...
* Limits security exposure from shims
Change-Id: I877192422062f3e59c81a7130ad1a2b4be5d1647
2018-02-16 16:44:53 +01:00
Kevin F. Haggerty
98a8598e79
Revert "klte-common: Add AID_QCOM_DIAG, AID_RFS, and AID_RFS_SHARED to config.fs"
...
This reverts commit c4a708a54f
.
* Move this to msm8974-common
Change-Id: I43c92dfad3ba55b344572afaed5c1dbeca5969c1
2018-01-26 06:29:43 -07:00
Kevin F. Haggerty
d2dd4bd21e
Revert "klte-common: Use 64-bit binder API"
...
This reverts commit aae26bb6aa
.
* Moving this to msm8974-common
Change-Id: Iae09793d796e96d4724d10dace0eca819b3e3d81
2018-01-20 06:46:35 +00:00
Kevin F. Haggerty
5045387dec
[DO NOT MERGE] klte-common: sepolicy: Rewrite for O
...
* WIP
* KILL that sepolicy/old/ before merging
* KILL the dontaudits before merging
Change-Id: I6694567fa1c834b262941b9be362c96cbd16625e
2018-01-19 16:07:35 -07:00
Paul Keith
31509201c1
klte-common: HAXX: "Fix" race condition in init
...
* In particular, the RIL on CDMA variants seems to only work reliably
on first boot after flash, when things are all slowed down while
dexopting. After that first boot, it's hit and miss whether a
particular boot will have function RIL
* Slow things down by limiting ourselves to a single CPU on boot,
bringing the rest online when boot has completed
Change-Id: Ie194740cf0487268dc0dbd3377bbb790cdd1b04d
2018-01-19 16:07:35 -07:00
Kevin F. Haggerty
a4695ab180
Revert "klte-common: Add bootdevice to kernel cmdline"
...
This reverts commit 6daa361afe
.
* We're out of cmdline space and we don't even make use of the symlink
that this used to automatically create.
* If we ever want to use the bootdevice symlink, just create it
explicitly (without prop) in init.qcom.rc
Change-Id: I1c45c3ed3605f4020d824be2775639c04ba8b60d
2018-01-16 00:21:55 -07: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
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