Commit Graph

13 Commits

Author SHA1 Message Date
Daniel Hillenbrand 255563ba50 sm8150-common: read wlan / bt mac addresses from NV
* OnePlus does not use wlan_mac.bin to store the MAC addresses, but
qcacld expects this file. Instead, OP stores the MAC in oemnvitems,
which can be retrieved from `/data/vendor/oemnvitems`.
* We read the correct MAC addresses from these files, and then store it
properly to the paths that qcacld expects.
* This was kanged from msm8998-common
(6f8e20feb8 (diff-db7000ec192d00397a3c4523bcc899d4))
2019-07-02 17:51:16 +08:00
Artem Borisov 035687f7db sm8150-common: Add QCOM's WFD implementation
* Sadly, out-of-the-box Miracast support was killed in P, so
  we need this to keep Wi-Fi display feature working.
* Additionally libwfdnative has been modified to load
  libhidlbase.so instead of android.hidl.base@1.0.so using
  following command:
    sed -i 's/android.hidl.base@1.0.so/libhidlbase.so\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00/' proprietary/lib64/libwfdnative.so proprietary/lib/libwfdnative.so

Change-Id: Id680d918b64c0e3733251db45992ec477b6fbdfb
2019-07-01 15:53:57 +02:00
LuK1337 9bdc2d9b24 sm8150-common: Remove unnecessary empty line
Change-Id: Iaecebcc6eb231205249f893c2704bdb0c2dba147
2019-07-01 15:23:31 +02:00
LuK1337 a65885e9b1 sm8150-common: Convert tabs to spaces in common.mk × vendor_props.mk
Change-Id: Ib4b69a107e2e85971454121caeee0194a11b0007
2019-07-01 13:50:10 +02:00
Peter Cai 81a9dc6a9e
[WIP] sm8150-common: enable LiveDisplay HAL
* but it's not working.
2019-06-29 12:51:59 +08:00
Peter Cai b38c4814dd
sm8150-common: fix double-tap-to-wake
* Added a kernel interface at `/proc/touchpanel/gesture_dt2w` for easier
interaction with power HAL.
* Add parameter to OSS power HAL to use this interface
* Added keycode for touchpanel to wake up the device
* TODO: Maybe add support for more touchscreen gestures?
2019-06-28 20:14:29 +08:00
Peter Cai 9c7485da81
sm8150-common: import sensors multihal
* with a full vendor image, we can modify the sensors hal as we want. We
can replace the reported sensor type directly from HAL, instead of
relying on a framework patch.
2019-06-25 19:17:37 +08:00
Peter Cai 6441c01537
sm8150-common: kang fingerprint hal wrapper from violet
* OnePlus / OnePlus 7 Pro has two possible fingerprint vendors: silead
and goodix. Try loading one of them, and only use the one that
succeeded.
2019-06-25 18:16:37 +08:00
Peter Cai 26f51de8cf
sm8150-common: use blob wifi hals
* Somehow the OSS HAL always fails with timeout awaiting for driver
ready. The `wlan0` interface just does not show up with OSS HAL. For
now, let's just live with the stock ones..
2019-06-25 16:27:21 +08:00
Peter Cai cf2c5b0dc5
sm8150-common: build radio hal 2019-06-25 10:39:56 +08:00
Peter Cai 19f1dc77d9
sm8150-common: remove usb gadget hal 2019-06-25 07:53:16 +08:00
Peter Cai 382d8fee8d
[WIP, DO NOT MERGE] sm8150-common: build vendor image
* Initial full vendor building. Do not merge, does not boot.
2019-06-24 21:32:23 +08:00
Peter Cai 529ec479f0
sm8150-common: commonize
* guacamole and guacamoleb share a lot of common configurations. Put
them all in a common tree.
2019-06-24 12:12:35 +08:00