Commit Graph

750 Commits

Author SHA1 Message Date
OzzysCmAcc 5fb6b3295b klte-common: update blob list
Change-Id: I22d81f828033477e3a25c514bf7fe2f978a26e0a
2016-12-20 11:28:16 -08:00
OzzysCmAcc 1315cde569 klte-common: address kernel denial
Change-Id: Ice6ae3ec441bef079c6c9e83498d523c66d57af6
2016-12-20 09:46:24 -08:00
OzzysCmAcc b5b3b195c3 klte-common: address init denial
Change-Id: I156d3ff44fa85eb956127974a7f934a1232f63df
2016-12-20 09:45:49 -08: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
Zhao Wei Liew 06544bfcaa klte-common: Fix max panel brightness path
* The previous path worked only because of
  failsafe methods in the lights HAL.
* Point the define to our actual max brightness path.

Change-Id: Ic80ecaf4f26859a597f4fc29cd6f7143d4daac6a
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2016-12-14 11:19:15 -06:00
Kevin F. Haggerty 5ea408ae71 klte-common: Add kltekor to makefile guards
Change-Id: If3e0675fde78aa285ba9694a5a1c74d45ba7812a
2016-12-09 20:40:52 -08:00
Kevin F. Haggerty aef5a1c3d2 klte-common: Remove config_enableAutoPowerModes from fw/base overlay
* Enabled globally now

Change-Id: Iac75105a11b9e85af096d8fa8480b3d02449d328
2016-12-09 04:33:18 -07:00
Kevin F. Haggerty 099f6d65ae klte-common: liblights: Define PANEL_MAX_BRIGHTNESS_NODE
Change-Id: I7065d8c8bf023ce9d357fe7702bf5752f342408d
2016-12-09 04:24:11 -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
Zhao Wei Liew 373d03d366 klte-common: Switch to the unified LED capabilities overlay
The old overlays have now been removed in favour
of a single unified and extensible overlay.

Change-Id: I56f5bfa2baa7bb9bf546bd5e59cebb74ac71732f
2016-12-03 07:57:14 -08:00
Paul Keith 2727bf94f7 consumerir: Remove device level HAL
* This is in hardware/samsung now

Change-Id: I65f15fe6b29853c90187c0de3cce42ea964d7b9e
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2016-11-26 11:43:50 -06: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
Christopher N. Hesse fd1a0e28f4 Initial consumer IR HAL commit
* Initially written by crpalmer
* Changes and improvements made by:
 - zwliew: Cleaned up styling
 - javelinanddart: Added configs
   to make hal more universal

Change-Id: Ic835901ba1537e1ae04b772e789cdaf2726d8133
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2016-11-21 07:20:33 -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
Arne Coucheron 92828016a3 klte-common: fstab: Assign unused pad partition to /misc
Change-Id: I02a9977681c221ddd42ab6a19cc6537f6c58eac3
Signed-off-by: Kevin F. Haggerty <kevin.f.haggerty@gmail.com>
2016-11-19 10:25:56 -07:00
OzzysCmAcc 1d1e0634f5 klte-common: update mpdecision group
Change-Id: Ic8ce414b48f115888c6788614c56d0846fe50afd
2016-11-13 13:22:42 -07:00
OzzysCmAcc c52ffc147e klte-common: adress mpdecision denial
Change-Id: I3cdc06b38a166678b0ab98df630168c0ef929363
2016-11-13 12:21:05 -08:00
Kevin Haggerty a171d62b26 Revert "klte-common: Add custom /proc/ nodes to fd whitelist"
This reverts commit 7c4e51c5fc.

Change-Id: I72c5bcbbaf0835faaf9722cf1b887785e2ed51d3
2016-11-13 06:48:28 -08: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
Oskar Kratochvil b44f79b615 klte-common: fix another denial for mpdecision
Change-Id: I091cdbf7741832f5c41f5355cf5ae6a30478ecd7
2016-11-11 11:02:06 -07:00
LuK1337 7c4e51c5fc klte-common: Add custom /proc/ nodes to fd whitelist
* Now Zygote requires doing so ;-;

Change-Id: I3a1710e69f8b86e5089db15ca68f4a811d512bac
2016-11-10 21:51:09 -07:00
OzzysCmAcc dc8e5fee42 klte-common: update the sepolicy
Change-Id: Ibec3600fc519b3b7a5f309b197e4180d80755fc5
2016-11-09 14:28:43 -08: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
Zhao Wei Liew e0768ac083 klte-common: Mount debugfs on early-init
This was previously removed in commit 1b54691
due to the fact that it was mounted in the global init.rc in Android 6.0.

In Android 7.0 however, this is no longer the case.
Hence, revive the mount.

Change-Id: I15b9571db4dd07a19b298a670f9ce6db1c4eeb63
2016-11-09 05:49:27 -07:00
Kevin F. Haggerty 2b078a3fde klte-common: Engage the SDCLANG
Change-Id: I18a3ea966d7cfda0943d5b0114d30deba3a267e6
2016-11-08 16:39:01 -07:00
Kevin F. Haggerty 071fd01f05 Revert "overlay: Raise minimum brightness to 10"
This reverts commit b92b43c8ef.

* If your display is flickering your HW is broken, the rest of us
  like our retinas intact when using the phone in the dark.

Change-Id: I07e263c76465127ddca5fb3f5d0e4655d0176ca5
2016-11-08 06:17:07 -08:00
Kevin F. Haggerty 35bdf43f04 klte-common: Update DRM blob list
Change-Id: Ia2cdd6884866e35cfcb8ac111da7d67b1ffb808e
2016-11-08 06:11:04 -07:00
Arne Coucheron 9e0927fc01 klte-common: Add shim for libwvm.so
Change-Id: I1ac58a108783ae1aabe3f3f061b2444925f684db
2016-11-08 06:11:04 -07:00
Kevin F. Haggerty 1c64c859bd Revert "klte: Enable blur"
This reverts commit c95164386f.

* This isn't permanant, just until blur is fixed up in frameworks by
  https://review.cyanogenmod.org/#/c/167370/ or similar appropriate
  commit.

Change-Id: Ia747d6a25350d4653aaf94f324d789990eb9d747
2016-11-07 05:29:03 -07:00
Zhao Wei Liew aee12a34df klte-common: Enable legacy mediaserver
Change-Id: I4881ce7a0342b0dc9a9c50d6870f1b072b45af82
2016-11-07 05:28:46 -07:00
Kevin F. Haggerty 4149b0e737 klte-common: Add buildable libpn547_fw
* The libpn547_fw.so blobs from klte devices have text relocations.
  This library is easily re-generated by extracting the contents of
  gphDnldNfc_DlSeqSz[] and gphDnldNfc_DlSequence[] from libpn547_fw.so
  in offical G900FXXS1CPHW_G900FOXA1CPE1 release.
* Process adapted from Matt Mower's work seen here:
  https://paste.ubuntu.com/18137835/

Change-Id: I433b3129d63ebca95c4b12dc8103db08d7e7bc72
2016-11-07 05:27:49 -07:00
Kevin Haggerty 936ea50b37 Revert "Revert "klte-common: enable sdcardfs""
This reverts commit 47c5062003.

Change-Id: I09d84140e59275b30ab7639031795de49c977390
2016-11-05 14:19:47 -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
Ethan Chen 36a765b701 klte-common: Symlink NFC node for backwards compatibility
Change-Id: Ic371080dfb22c53e788c959ffac0cb167919a579
2016-11-03 08:02:13 -06: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
Kevin F. Haggerty 9435040eb6 Revert "klte-common: Move GPS/Location blobs to -common"
This reverts commit f79700031b.

Change-Id: I3dbf6b2ec7f9a9181808b8a1343086aec3df5787
2016-10-29 09:54:36 -07: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 bc1b148735 klte-common: symlink telephony databases to old location
* Our closed source libsec-ril.so hardcodes paths to the old
  /data/data/com.android.providers.telephony, N moved this somewhere
  else.

Change-Id: I9dbb229ee4aca83f36e5d73532dd32cda324486e
2016-10-25 05:09:43 -07:00
Cal Archer 915c07d37c klte-common: fix wifi calibration
Enable macloader to load the correct nvram calibration
data matching the hardware variant.  Since macloader
writes files in /data it needs to rerun after decryption,
requiring running during late_start. Additionally,
calibration data needs to be reloaded every time the driver
is reloaded.

Note that /sys/module/dhd/parameters/nvram_path is cleared
after the driver has accepted the input, you can use
"dhdutil -a wlan0 vars" to confirm that the calibration
data has been applied.

Change-Id: Ieb8ef0eafeead10a6dfc32862887abbe84e22a93
2016-10-25 05:02:53 -07:00
Kevin F. Haggerty 5b43dfd64d klte-common: sepolicy: Allow macloader to write params to sysfs
Change-Id: I157456c3cbd666f907c5761b816b605f1a1eec34
2016-10-24 06:25:47 -07: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 a56454ed46 klte-common: init: Add seclabel to macloader service
Change-Id: If1665aa5e0c741712b7c0bdc0403045ccbbb7ef3
2016-10-23 12:38:47 -07:00
Kevin F. Haggerty e5640b3481 klte-common: sepolicy updates
Change-Id: I85fb2a3e93574d13d323e11bf6a2030074ae6685
2016-10-21 08:44:08 -07:00
Kevin F. Haggerty 7d1c078f38 klte-common: sepolicy: allow rild to read a lnk_file
* Needed because our blobs hardcode the old telephony path and we
  have to symlink to the new location

Change-Id: I12d25feb21af4e542e88c3b582390ae5930231bd
2016-10-21 06:01:21 -07:00
Kevin F. Haggerty 6f42462650 klte-common: Change group ownership of ES705 UART
Change-Id: Ifc8827393af34b1c3fc6a09b4907206d1b9a3f90
2016-10-20 04:05:04 -07:00
Kevin F. Haggerty 41b04289c2 klte-common: sepolicy updates
* Full rewrite is probably best, but this is good for now

Change-Id: I4ef137ffd16892ffa562dffd9e4a88d69f4a780d
2016-10-19 19:02:15 -07:00
Kevin F. Haggerty c6102245b7 klte-common: Add additional BT firmwares to proprietary files
Change-Id: I73cbfc54699e4bf9c43ad734b9a2b855848a4522
2016-10-17 06:22:22 -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