You are here

CM6 for Milestone - build

I'd like to ask all the interested developers to join the CyanogenMod Port forum to coordinate and discuss the future development of the CM port. Thanks.

Update:
3.11.2010: the github repos are finally in a useful state again - https://github.com/nadlabak
(feedback is welcome, I'd be glad for any hints to fix any stupidity encountered there ;) )
separation: the prebuilt/custom/modified files are in the device repo (prebuilt), files directly extracted from the beta 2.2.1 firmware in the vendor repo (proprietary)

To prepare and build:
mkdir cm4mm
cd cm4mm
repo init -u git://github.com/nadlabak/android.git -b froyo
repo sync
vendor/cyanogen/get-rommanager
. build/envsetup.sh
lunch cyanogen_umts_sholes-eng
make -j2 otapackage
vendor/cyanogen/tools/squisher

More detailed instruction can be found e.g here: http://wiki.cyanogenmod.com/index.php?title=Compile_CyanogenMod_for_Sholes (but take account of the differences in the instructions published here.)

The update-cm-6.1.0-RC0-Milestone-signed.zip will be built in out/target/product/umts_sholes, ready to be installed via OpenRecovery/updates.
You will also want the Google apps.

Repos and important commits (this list is now old, it's for the 0.01/0.02 versions based on the 2.6.29 kernel):
http://github.com/nadlabak/android_build
to be able to build OTA without boot.img:
http://github.com/nadlabak/android_build/commit/147cf06f721b0426ca8e9b74...

http://github.com/nadlabak/android_device_motorola_umts_sholes
device config files

http://github.com/nadlabak/android_frameworks_base
add BOARD_USES_ECLAIR_LIBAUDIO:
http://github.com/nadlabak/android_frameworks_base/commit/dd4a7614ecf857...
let a part of the storage notifications to be handled by Usb.apk:
http://github.com/nadlabak/android_frameworks_base/commit/1a25eee609eff4...
build also shared libcamera_client and libsurfaceflinger_client for the proprietary libvendorOMX_ti_omx...:
http://github.com/nadlabak/android_frameworks_base/commit/6779377ae245d7...

http://github.com/nadlabak/android_hardware_ti_omap3
old 2.6.29 kernel needs one revert for dspbridge:
http://github.com/nadlabak/android_hardware_ti_omap3/commit/8051f1b4a9ef...

http://github.com/nadlabak/android_vendor_cyanogen
added umts_sholes (milestone)

http://github.com/nadlabak/android_vendor_motorola_umts_sholes
proprietary files etc