Some bring-up patches for Mediatek platforms (mt67xx pre-O devices)
Go to file
Chalapathi Revanth f127f79276 Update README.md 2018-05-26 14:11:17 +02:00
board Use software gatekeeper 2017-12-23 16:00:12 +01:00
configs configs: cleanup unused file 2017-12-23 14:53:16 +01:00
hidl light: fix permission error 2017-12-16 12:15:47 +01:00
include include: add @danielhk's audio headers with its' legacy_audio_stream_in, 2017-10-31 16:54:00 +01:00
libshims Update libshims_bionic build 2018-01-15 12:37:18 +01:00
mtk doze: Clean up code 2018-01-04 13:17:35 +01:00
patches patch: simplify devalarm reverts 2018-05-26 14:04:14 +02:00
prebuilts/libstlport prebuilts: add libstlport from N 2018-01-04 13:50:13 +01:00
product readme: shims lib 2018-05-26 14:07:28 +02:00
seccomp_policy seccomp: Fix policy for ffmpeg 2017-12-08 16:34:02 +01:00
Android.bp fixes 2017-12-05 18:24:26 +01:00
Android.mk dt: add Android.mk to make sure everything is built 2017-12-09 16:49:26 +01:00
README.md Update README.md 2018-05-26 14:11:17 +02:00
VendorConfig.mk dt: split into fragments before hell 2017-12-09 16:32:14 +01:00
VendorProduct.mk libshims.mk: move to product/ 2017-12-09 18:17:14 +01:00
vmtk.xml dt: add a local manifest and a readme 2017-11-21 16:39:38 +01:00

README.md

Pre-Oreo Mediatek devices 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 :
    include vendor/mediatek/VendorConfig.mk

  • device(_product).mk :
    include vendor/mediatek/VendorProduct.mk
    Note: add these lines at the bottom of the mentioned files

How to apply the patches ?

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

How to configure libshim ?

> Libshim flags

WIP: just export your shims in init.mtxxxx.rc for now
Copy & paste these flags in your device tree BoardConfig.mk : (uncomment the flags you need)
#LIBSHIM_XLOG_SYMBOLS :=true
#LIBSHIM_SND_SYMBOLS := true
#LIBSHIM_UI_SYMBOLS := true
#LIBSHIM_GUI_SYMBOLS := true
#LIBSHIM_OMX_SYMBOLS := true
#LIBSHIM_BIONIC_SYMBOLS := true
#LIBSHIM_AGPS_SYMBOLS := true
#LIBSHIM_ATOMIC_SYMBOLS := true

Optional :

  • building TWRP in LOS-15.x tree (temp fix) : patches/optional/0001-TEMP-TWRP-fix-recovery-build-with-f2fs-on-LOS-15.x-t.patch