下载CyanogenMod 7.2 for Motorola Defy (Android 2.3.7 AOSP)的CM源码并编译

CyanogenMod 7.2 for Motorola Defy (Android 2.3.7 AOSP)


 
repo init -u git://github.com/CyanogenDefy/android.git -b gingerbread

repo sync


Download RomManager (DELETED IN BUILD)
======================================

mkdir vendor/cyanogen/proprietary
cd vendor/cyanogen && ./get-rommanager


Build:
======

optional :
    export PLATFORM_DIR=$(pwd)
    export ARCH=arm
    export CROSS_COMPILE=arm-eabi-
    export TARGET_OUT_INTERMEDIATES=out
    export JAVA_HOME=/usr/lib/jvm/java-6-sun
    export PATH=$PLATFORM_DIR/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin:$JAVA_HOME/bin:$PATH
    cd $PLATFORM_DIR

    export CYANOGEN_NIGHTLY=true

rm -rf out/target

. build/envsetup.sh 

brunch jordan

or...

lunch cyanogen_jordan-eng
mka bacon

Use the signed zip to update the defy with Second Init recovery, or CM7 bootmenu recovery, not the ota package

Links:
======
FAQ : http://forum.xda-developers.com/showthread.php?t=1065798
https://github.com/CyanogenDefy/android_device_motorola_jordan
Original Thread : http://forum.xda-developers.com/showthread.php?t=1033654

你可能感兴趣的:(java,thread,android,Build,Path,Motorola)