1
0
mirror of https://github.com/Moyster/o_vendor_mediatek synced 2024-06-16 12:18:32 +02:00
Some bring-up patches for Mediatek platforms (mt67xx pre-O devices)
Go to file
2017-11-24 15:33:14 +01:00
include include: add @danielhk's audio headers with its' legacy_audio_stream_in, 2017-10-31 16:54:00 +01:00
libshims shim: add libshims from N device tree 2017-11-24 15:33:14 +01:00
patches patch: add a patch to prevent sensor hidl from crashing 2017-10-31 16:50:40 +01:00
power mtk: add more mtk power_hint cases 2017-11-24 15:28:15 +01:00
README.md dt: add a local manifest and a readme 2017-11-21 16:39:38 +01:00
VendorConfig.mk headers: add fd_utils-inl-extra.h and include it 2017-10-20 18:56:25 +02:00
VendorProduct.mk shim: add libshims from N device tree 2017-11-24 15:33:14 +01:00
vmtk.xml dt: add a local manifest and a readme 2017-11-21 16:39:38 +01:00

Pre-Oreo Mediatek common-tree

such repo, much nice, wow!

How to download ?

Download / git clone this repository to :
$android_src/vendor/mediatek
or copy vmtk.xml to :
$android_src/.repo/local_manifests/
then simply repo sync your sources

How to use ?

Include both VendorConfig.mk & VendorProduct.mk in your device tree like so :

  • BoardConfig.mk :
    $(call inherit-product, $(SRC_TARGET_DIR)/vendor/mediatek/VendorConfig.mk)

  • device(_product).mk :
    $(call inherit-product, $(SRC_TARGET_DIR)/vendor/mediatek/VendorProduct.mk)

How to apply the patches ?

Patches located in the patches folder can be applied from the root of your android sources :
. vendor/mediatek/install.sh & . vendor/mediatek/uninstall.sh