Commit Graph

421 Commits

Author SHA1 Message Date
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
Kevin F. Haggerty 6051f0c758 klte-common: Fix proprietary files list
* This is why you use the scripts

Change-Id: Ia91dc453d6fc5b73933cc95f1e25fa8b4b70e2f4
2016-10-14 14:54:18 -06:00
Kevin F. Haggerty fad2a8ac8d klte-common: Put common graphics import into -common makefile
* Don't put it in the variants like a dork

Change-Id: I684edadc4294b710ebb1808d572c660cec9452e7
2016-10-14 14:06:41 -06:00
OzzysCmAcc a971342da8 klte-common: init updates for power and thermal
Change-Id: Ibd7828a4de4b4a61b6dcb204697235fcd2725008
(cherry picked from commit 614f2515a427b1a941b1c57b057ef52b4ed0d229)
2016-10-14 09:05:52 -07:00
OzzysCmAcc 4008d3138d klte-common: update blob list for mm blobs
Change-Id: Ic0f6fff171f6936f1d9b84253b3b65154fcd51ee
(cherry picked from commit a422002e1f77c5b9c46d6f7cf661693865f26d68)
2016-10-14 09:05:31 -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
Ljzyal 917095bfe7 Revert "klte-common: remove not existing include"
This reverts commit aad022625f.

Change-Id: Ib67324a1022f4029a29019954993b92d77b8ab2b
2016-10-12 07:24:38 -07:00
Kevin F. Haggerty f79700031b klte-common: Move GPS/Location blobs to -common
Change-Id: Ie8c2268c78627476721259f6c810a4c315193977
2016-10-11 06:14:43 -07:00
Kevin F. Haggerty 587b244f1e klte-common: Move Bluetooth blobs to -common
Change-Id: I8f517f0c3447dbc19bb4f5032a6602a43133fd77
2016-10-11 06:14:14 -07:00
Kevin F. Haggerty df19de74ef klte-common: Update WiFi blobs
* MM WiFi blobs required to handle full range of 5GHz spectrum with
  new MM kernel

Change-Id: I2e6e4479cbb0149cda9eeaba37e8dacbad3c6a32
2016-10-11 05:47:31 -07:00
OzzysCmAcc 12547a4360 klte-common: create perfd directories
Change-Id: I27207f75b1b3bb19b099176830b85f8935abdb4c
(cherry picked from commit 859a29e16fc7f1e12574b15e6082f28cb3bade2b)
2016-10-09 06:59:02 -07:00
OzzysCmAcc aad022625f klte-common: remove not existing include
Change-Id: I978a42f8035faf38b211df3ea5940cd0ef2b309c
(cherry picked from commit fe119aa7f47a4bb3e13e0ec2ae208e208045a919)
2016-10-09 06:58:40 -07:00
OzzysCmAcc 6aa4069e5c klte-common: delete duplicated entries and keep lp stock values
Change-Id: I90607a906d5af023a5a9d21caa7c15ca26be73a7
(cherry picked from commit b5ec47cf967637a36cae4a6d23c161f375b71a70)
2016-10-09 06:57:49 -07:00
Kevin F. Haggerty bf8283252c klte-common: Switch to shared driver repository
Change-Id: I2afd8ccfa1103230d71e1812f902435ef4088607
2016-10-07 14:11:34 -07:00
OzzysCmAcc f6cbfbb018 klte-common: init fixes for mm kernel
Change-Id: I90d10043b4a6aca13f4b4ba4295905bd456dd274
2016-10-07 13:58:33 -07:00
OzzysCmAcc 761e9ffb5e klte-common: tweak bt settings
Change-Id: Ice52472bf142c0411a97186dac37d638332dc943
2016-10-07 13:57:21 -07:00
Kevin F. Haggerty 47c5062003 Revert "klte-common: enable sdcardfs"
This reverts commit d352cc8b44.

Change-Id: I712b6077cc3f3c7f9f5d45470fb6ee977a8f45fb
2016-10-07 05:47:41 -07: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
OzzysCmAcc f0c3666035 klte-common: no need to set debug to false
Change-Id: I80fcf9fa9204b5b1a7768609e707e232da41ef7e
(cherry picked from commit 80ce094cea7b725d931a3097d6de3923e6f32e48)
2016-10-04 18:18:58 -07:00
OzzysCmAcc c15f54176f klte-common: fix wrong path in init
Change-Id: Ie4c7660b1e2a4d577e3f84f1f33acc802148ef78
(cherry picked from commit 2c94fff7936763323489a391fb51a35b6f4f1340)
2016-10-04 18:16:34 -07:00
ljzyal 2f41fd2d2f klte: Use new Fingerprint Hal without ValidityService
* Use a fully OSS FPS stack to remove dependency on a service to
  register fingerprints and hacked up touchwiz libs from Samsung

Change-Id: I66ae7fc807a213befdf77d0f09d38f2fbe01df61
2016-10-03 18:55:15 -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
ljzyal 9fa3c0b84c klte-common: Update gps header
Change-Id: I9556ad5abf8f41174691589cad8686057560bd8e
2016-10-01 15:45:58 -07:00
OzzysCmAcc 22d0d0eb98 klte-common: update power settings
Change-Id: I3f7d3be0b8046d4664e6895318a20603e9123718
(cherry picked from commit 206c55899f27c918f18ddea210856d196415d964)
2016-09-27 13:13:17 -07:00
OzzysCmAcc 80664f82cd klte-common: remove not existing icd nodes
Change-Id: Ie6d5df08d932a5b785b6be632f155ea741987b1b
(cherry picked from commit 0fad529445006689a364be0d54e7786fb9c58592)
2016-09-27 13:12:27 -07:00
OzzysCmAcc c3cc351b23 klte-common: remove not existing service
Change-Id: I629b7141be25c50709b511f53409599d6ad63bbc
(cherry picked from commit cb2d022f3d3615eb3eed1386acc3c787c4f27c78)
2016-09-27 13:11:40 -07:00
OzzysCmAcc 58d79a417e klte-common: remove not existing ipv6 nodes
Change-Id: I9ee9ea11cd05e70efdba2836145061c33f0a17b2
(cherry picked from commit e3f0a8399ebf3fd1231d5c2db26b5a32ee482da6)
2016-09-27 13:10:52 -07:00
Paul Keith b92b43c8ef overlay: Raise minimum brightness to 10
* Users are reporting issues with display flickering at low
  brightness levels. Raise the minimum brightness to fix it

Change-Id: Ic15403d9b29755fcc87b3617ae44edbdab05f4b7
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2016-09-26 14:51:35 -07:00
OzzysCmAcc b1627d7f21 klte-common: Add wakelock GID for rild and wifi
Change-Id: Id87b253c51677d21cb332c82f675da6ff94ffe7b
2016-09-24 08:35:01 -07:00