You are here

CM9 for Milestone - build from source

To prepare and build:
mkdir cm4mm
cd cm4mm
repo init -u git://github.com/nadlabak/android.git -b ics
repo sync
vendor/cm/get-prebuilts
. build/envsetup.sh && brunch umts_sholes

Note (17.05.2012):
You can also use repo init -u git://github.com/nadlabak/android.git -b ics-nothemes
to build CM9 without the theme engine as I suspect it to cause performance issues.

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-9...-Milestone-signed.zip will be built in out/target/product/umts_sholes, ready to be installed via OpenRecovery/updates.

Comments

Hi Pavel
why I don't have proprietary files in vendor/motorola/umts_sholes after sync?

. build/envsetup.sh && lunch cm_umts_sholes-eng && mka bacon
including device/moto/stingray/vendorsetup.sh
including device/moto/wingray/vendorsetup.sh
including device/samsung/maguro/vendorsetup.sh
including device/samsung/toro/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/umts_sholes/cm.mk]]: "device/*/umts_sholes/cm.mk" does not exist. Stop.
Device umts_sholes not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Repository for umts_sholes not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifest.xml.
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/umts_sholes/cm.mk]]: "device/*/umts_sholes/cm.mk" does not exist. Stop.

** Don't have a product spec for: 'cm_umts_sholes'
** Do you have the right repo manifest?

Why ??? :

target Executable: netserver (out/target/product/umts_sholes/obj/EXECUTABLES/netserver_intermediates/LINKED/netserver)
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/umts_sholes/obj/EXECUTABLES/recovery_intermediates/recovery.o: in function main:bootable/recovery/recovery.c:762: error: undefined reference to 'volume_main'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/umts_sholes/obj/EXECUTABLES/recovery_intermediates/recovery.o: in function main:bootable/recovery/recovery.c:805: error: undefined reference to 'process_volumes'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/umts_sholes/obj/EXECUTABLES/recovery_intermediates/recovery.o: in function main:bootable/recovery/recovery.c:870: error: undefined reference to 'has_datadata'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/umts_sholes/obj/EXECUTABLES/recovery_intermediates/recovery.o: in function main:bootable/recovery/recovery.c:895: error: undefined reference to 'handle_failure'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/umts_sholes/obj/EXECUTABLES/recovery_intermediates/recovery.o: in function main:bootable/recovery/recovery.c:681: error: undefined reference to 'has_datadata'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/umts_sholes/obj/EXECUTABLES/recovery_intermediates/recovery.o: in function main:bootable/recovery/recovery.c:718: error: undefined reference to 'confirm_selection'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/umts_sholes/obj/EXECUTABLES/recovery_intermediates/recovery.o: in function main:bootable/recovery/recovery.c:728: error: undefined reference to 'show_install_update_menu'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/umts_sholes/obj/EXECUTABLES/recovery_intermediates/recovery.o: in function main:bootable/recovery/recovery.c:732: error: undefined reference to 'show_nandroid_menu'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/umts_sholes/obj/EXECUTABLES/recovery_intermediates/recovery.o: in function main:bootable/recovery/recovery.c:736: error: undefined reference to 'show_partition_menu'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/umts_sholes/obj/EXECUTABLES/recovery_intermediates/recovery.o: in function main:bootable/recovery/recovery.c:740: error: undefined reference to 'show_advanced_menu'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/umts_sholes/obj/EXECUTABLES/recovery_intermediates/recovery.o: in function main:bootable/recovery/recovery.c:793: error: undefined reference to 'signature_check_enabled'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/umts_sholes/obj/EXECUTABLES/recovery_intermediates/recovery.o: in function main:bootable/recovery/recovery.c:793: error: undefined reference to 'script_assert_enabled'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/umts_sholes/obj/EXECUTABLES/recovery_intermediates/install.o: in function install_package:bootable/recovery/install.c:411: error: undefined reference to 'signature_check_enabled'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/umts_sholes/obj/EXECUTABLES/recovery_intermediates/roots.o: in function format_volume:bootable/recovery/roots.c:396: error: undefined reference to 'format_unknown_device'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/umts_sholes/obj/EXECUTABLES/recovery_intermediates/nandroid.o: in function nandroid_restore_partition_extended:bootable/recovery/nandroid.c:469: error: undefined reference to 'format_device'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/umts_sholes/obj/EXECUTABLES/recovery_intermediates/nandroid.o: in function nandroid_restore:bootable/recovery/nandroid.c:582: error: undefined reference to 'has_datadata'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/umts_sholes/obj/EXECUTABLES/recovery_intermediates/nandroid.o: in function nandroid_backup:bootable/recovery/nandroid.c:284: error: undefined reference to 'has_datadata'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/umts_sholes/obj/EXECUTABLES/recovery_intermediates/edifyscripting.o: in function edify_main:bootable/recovery/edifyscripting.c:362: error: undefined reference to 'process_volumes'
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/umts_sholes/obj/EXECUTABLES/recovery_intermediates/edifyscripting.o: in function InstallZipFn:bootable/recovery/edifyscripting.c:233: error: undefined reference to 'install_zip'
collect2: ld returned 1 exit status
make: *** [out/target/product/umts_sholes/obj/EXECUTABLES/recovery_intermediates/LINKED/recovery] Error 1
make: *** Waiting for unfinished jobs....

after installing the rom i found out that the mobile network is not working...had i missed any setting while building ? plz help thankx.

Current ics branch fails to build here:

target Java: Superuser (out/target/common/obj/APPS/Superuser_intermediates/classes)
packages/apps/Stk/src/com/android/stk/StkAppService.java:335: unqualified enumeration constant name required
case CLOSE_CHANNEL:
^
packages/apps/Stk/src/com/android/stk/StkAppService.java:336: unqualified enumeration constant name required
case RECEIVE_DATA:
^
packages/apps/Stk/src/com/android/stk/StkAppService.java:337: unqualified enumeration constant name required
case SEND_DATA:
^
packages/apps/Stk/src/com/android/stk/StkAppService.java:453: unqualified enumeration constant name required
case OPEN_CHANNEL:
^
packages/apps/Stk/src/com/android/stk/StkAppService.java:456: unqualified enumeration constant name required
case CLOSE_CHANNEL:
^
packages/apps/Stk/src/com/android/stk/StkAppService.java:457: unqualified enumeration constant name required
case RECEIVE_DATA:
^
packages/apps/Stk/src/com/android/stk/StkAppService.java:458: unqualified enumeration constant name required
case SEND_DATA:
^
packages/apps/Stk/src/com/android/stk/StkAppService.java:463: unqualified enumeration constant name required
case CLOSE_CHANNEL:
^
packages/apps/Stk/src/com/android/stk/StkAppService.java:466: unqualified enumeration constant name required
case RECEIVE_DATA:
^
packages/apps/Stk/src/com/android/stk/StkAppService.java:469: unqualified enumeration constant name required
case SEND_DATA:
^
target Java: android.policy (out/target/common/obj/JAVA_LIBRARIES/android.policy_intermediates/classes)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
10 errors
make: *** [out/target/common/obj/APPS/Stk_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....

The problem is that Stk uses some (relatively new) enum values from frameworks/base/telephony/java/com/android/internal/telephony/cat/AppInterface.java -- but that file isn't up to date and doesn't define those values yet.

The fix is to merge commit 81fa7f305b0b3427d33143cb800b7d6ca730ba64 from upstream in frameworks/base/telephony.

Build Successfully on ubuntu 10.04 with latest open jdk ...

Thanks for your greate work !

error get below
in function init_extensions4:out/target/product/umts_sholes/obj/STATIC_LIBRARIES/libext4_intermediates/initext4.c:25: error: undefined reference to 'libipt_addrtype_init'

Does anybody know how to include library of libipt in Ubuntu

nóssa cade vocês ? vocês pararam com o trabalho na CM9 para o Milestone 1 ? todo dia eu entro no site para ver o progresso mais parece que vocês abandonaram !

nóssa ja éra mesmo ne pessoal? cade o progresso da cm9 ?????????????????

ONDE ESTA A CM9 ???????????????????????????????

could you write in English, then someone will answer

tenha paciência, tem trabalho sendo feito na cm9 sim, o recurso de aceleração por hardware já está pronto e logo será incorporado na CM9

e todo esse trabalho é feito DE GRAÇA, por apenas UMA PESSOA, se está com tanta pressa, aprenda a programar e ajude, ou doe algum dinheiro pra incentivar o trabalho do programador ali em cima no botão donate, e pare de exigir e ser mal educado, se fosse pela motorola você ainda estaria preso na versão 2.2 e nunca sairia dela

hi,

just compiled the build without the theme engine (-nothemes), it's very fast and use much less RAM.

I opened a thread on XDA with the build, here's the link: http://forum.xda-developers.com/showthread.php?t=1761393

thanks man

on the last version I can't receive calls, calls are dropped but are present in the "calls history", is there any help ??

Hi,

After jumping a couple of hoops on ArchLinux (namely, putting python2 in the $PATH as the default python, and installing multilibe flavour so I can build on x86_64), I eventually managed to make everything build without error!

However, it built and image called cm-9-20120711-UNOFFICIAL-umts_sholes.zip where I was expecting something like update-cm-9-20120711-UNOFFICIAL-umts_sholes-signed.zip.

Is it normal? Perhaps this is the new name. Otherwise, what should I do to actually get a signed update image from there?

Andei testando a CM9 por um período de tempo e apesar dos bugs e erros a serem corrigidos,
está muito boa a ROM! Parabéns ae pelo trabalho e esforço para ajudar. Com certeza vale a pena esperar pela CM9.
Atualmente usando a CM7 no meu Motorola Milestone e te digo que está muito estável e rápida!

This really wowed..

XRumer 12.0.19 is the BEST

XRumer 12.0.19 is the BEST

XRumer 12.0.19 is the BEST

XRumer 12.0.19
is a modern multifunctional software for mass posting/inviting/liking/registering on the:
+ Facebook
+ forums
+ blogs
+ soc.nets
+ different CMS's
with a totally automatic captcha breaking.

XRumer 12.0.19
is a modern multifunctional software for mass posting/inviting/liking/registering on the:
+ Facebook
+ forums
+ blogs
+ soc.nets
+ different CMS's
with a totally automatic captcha breaking.

Hello! My name is MaryMarkova, our compane need to advertise on your website. What is your prices? Thank you. Best regards, Mary.

Hello! My name is MaryMarkova, our compane need to advertise on your website. What is your prices? Thank you. Best regards, Mary.

The new XRumer 16.0 - revolution in online promotion:
artificial intelligence will help you to attract customers so effectively,
more than ever!

Hi! Where I can get the XRumer 16.0 for free?
It's the best software for SEO and SMM.
New 2017 release is perfect!

Hi! Where I can get the XRumer 16.0 for free?
It's the best software for SEO and SMM.
New 2017 release is perfect!

Hi! Where I can get the XRumer 16.0 for free?
It's the best software for SEO and SMM.
New 2017 release is perfect!

Hi! Where I can get the XRumer 16.0 for free?
It's the best software for SEO and SMM.
New 2017 release is perfect!

Читала недавно за Безопасное похудение, оказывается похудеть можно даже с помощью жвачки)))
Кому интересно, гуглите fitohuck

Читала недавно за Безопасное похудение, оказывается похудеть можно даже с помощью жвачки)))
Кому интересно, гуглите fitohuck

Читала недавно за Безопасное похудение, оказывается похудеть можно даже с помощью жвачки)))
Кому интересно, гуглите fitohuck

Читала недавно за Безопасное похудение, оказывается похудеть можно даже с помощью жвачки)))
Кому интересно, гуглите fitohuck

origami flower hard twitter.com/origamilesson origami sushi

origami flower hard twitter.com/origamilesson origami sushi

origami flower hard twitter.com/origamilesson origami sushi

origami flower hard twitter.com/origamilesson origami sushi

Bardzo fajna strona, znalazłam tutaj mnóstwo fajnych materiałów które poszerzyły moją wiedzę. Fajnie że są w sieci takie strony.

[url=http;//jakirower.co.pl]Pytanie Jaki rower kupić[/url]

Bardzo fajna strona, znalazłam tutaj mnóstwo fajnych materiałów które poszerzyły moją wiedzę. Fajnie że są w sieci takie strony.

[url=http;//jakirower.co.pl]Pytanie Jaki rower kupić[/url]

Bardzo fajna strona, znalazłam tutaj mnóstwo fajnych materiałów które poszerzyły moją wiedzę. Fajnie że są w sieci takie strony.

[url=http;//jakirower.co.pl]Pytanie Jaki rower kupić[/url]

Bardzo fajna strona, znalazłam tutaj mnóstwo fajnych materiałów które poszerzyły moją wiedzę. Fajnie że są w sieci takie strony.

[url=http;//jakirower.co.pl]Pytanie Jaki rower kupić[/url]

П р и г о в о р
Подсудимый - диагноз диабет! Белухин Д.Н. просил постановить П р и г о в о р своему диагнозу диабет без проведения анализов, рассмотреть дело в особом порядке -принимать лимооный сок и мед в перемшешку с малиновым вареньем и победить свой недуг , так как Диабет не П р и г о в о р Дмитрий Николаевич Белухин Белухин Дмитрий Николаевич

П р и г о в о р
Подсудимый - диагноз диабет! Белухин Д.Н. просил постановить П р и г о в о р своему диагнозу диабет без проведения анализов, рассмотреть дело в особом порядке -принимать лимооный сок и мед в перемшешку с малиновым вареньем и победить свой недуг , так как Диабет не П р и г о в о р Дмитрий Николаевич Белухин Белухин Дмитрий Николаевич

П р и г о в о р
Подсудимый - диагноз диабет! Белухин Д.Н. просил постановить П р и г о в о р своему диагнозу диабет без проведения анализов, рассмотреть дело в особом порядке -принимать лимооный сок и мед в перемшешку с малиновым вареньем и победить свой недуг , так как Диабет не П р и г о в о р Дмитрий Николаевич Белухин Белухин Дмитрий Николаевич

П р и г о в о р
Подсудимый - диагноз диабет! Белухин Д.Н. просил постановить П р и г о в о р своему диагнозу диабет без проведения анализов, рассмотреть дело в особом порядке -принимать лимооный сок и мед в перемшешку с малиновым вареньем и победить свой недуг , так как Диабет не П р и г о в о р Дмитрий Николаевич Белухин Белухин Дмитрий Николаевич

Москвабелухин дмитрий николаевич кассовые сериалы в 2011 году и вынес свой П р и г о в о р .Хорошие русские сериалы есть !Например Пассажиры фильмы зрелищный в качестве HD и его можно скать торрентом. С уважением Белухин Д.Н

Москвабелухин дмитрий николаевич кассовые сериалы в 2011 году и вынес свой П р и г о в о р .Хорошие русские сериалы есть !Например Пассажиры фильмы зрелищный в качестве HD и его можно скать торрентом. С уважением Белухин Д.Н

Москвабелухин дмитрий николаевич кассовые сериалы в 2011 году и вынес свой П р и г о в о р .Хорошие русские сериалы есть !Например Пассажиры фильмы зрелищный в качестве HD и его можно скать торрентом. С уважением Белухин Д.Н

Pages

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.