Device tree based on cm-13.0 to build TWRP for the Meizu M2 Note
Go to file
Moyster cb626b4066 initial commit 2016-11-04 18:59:30 +01:00
rootdir initial commit 2016-11-04 18:59:30 +01:00
Android.mk initial commit 2016-11-04 18:59:30 +01:00
AndroidBoard.mk initial commit 2016-11-04 18:59:30 +01:00
AndroidProducts.mk initial commit 2016-11-04 18:59:30 +01:00
BoardConfig.mk initial commit 2016-11-04 18:59:30 +01:00
README.md initial commit 2016-11-04 18:59:30 +01:00
cm.mk initial commit 2016-11-04 18:59:30 +01:00
device_m2note.mk initial commit 2016-11-04 18:59:30 +01:00
vendorsetup.sh initial commit 2016-11-04 18:59:30 +01:00

README.md

TWRP device tree for Meizu M2 Note (MT6753)

based against CM-13.0 - Marshmallow OTA device name : m2n / m2note / m571 / m571h

  1. Git clone this repository to $ANDROID_SOURCES/device/meizu/m2note/
  2. Add these lines to your local_manifest :
<!-- TWRP Recovery -->
        <project path="bootable/recovery-twrp" name="Omnirom/android_bootable_recovery" remote="gh" revision="android-6.0" />
        <project path="external/busybox" name="CyanogenMod/android_external_busybox" remote="gh" revision="cm-13.0" />

  1. from the $ANDROID_SOURCES do :
repo sync && make clean  
. build/envsetup.sh  
breakfast m2note  
make -jX recoveryimage  

Note: Make sure to replace -jX by your CPU number of cores +1, e.g. a quadcore would use -j5 (4+1).

Your newly built recovery.img will be placed in :
$ANDROID_SOURCES/out/target/product/m2note/ (recovery.img)

Enjoy :)