Jump to content

Welcome to CyanogenMod

Welcome to our forum. Like most online communities you must register to post, but don't worry this is a simple free process that requires minimal information for you to signup. Be a part of the CyanogenMod Forum by signing in or creating an account. You can even sign in with your Facebook or Twitter account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get automatic updates
  • Get your own profile and make new friends
  • Download files attached to the forum.
  • Customize your experience here
  • Share your CyanogenMod experience!
Guest Message by DevFuse
 

Cook your own CM9 (ICS) for Ace -- straightforward guide

cm9 ics ace cook

  • Please log in to reply
2 replies to this topic

#1 ereslibre

ereslibre
  • Members
  • 32 posts
  • LocationMadrid, Spain
  • Country:es
  • Device Model:HTC Desire HD
  • MOD Version:Own Build
  • Recovery Image:ClockworkMod

Posted 13 January 2012 - 11:55 AM

This is an easy guide to cook your own CyanogenMod 9 for Ace. It is based on the official guide to Compile CyanogenMod from source on Ace.

Follow the guide. Steps that change a bit:

Install the Repository
repo init -u git://github.com/pidroid/android.git -b ics

Continue the guide normally omitting the step Download RomManager. Do this instead:
cd ~/android/system/vendor/cm
./get-prebuilts

It will fetch RomManager and Term for you.

This should let you cook your own CM9 rom. You can find the latest Google Apps here. For example, this one.

Edited by ereslibre, 13 January 2012 - 12:32 PM.


#2 david.degraw54

david.degraw54
  • Members
  • 1 posts
  • Device Model:HTC Desire HD
  • MOD Version:IceColdSandwich v2.0.0
  • Recovery Image:ClockworkMod

Posted 18 February 2012 - 04:19 PM

In the orginal forum it says to install the build packages with the package manager of my choice and then gives you commands to type in. Where do I enter the commands? In the package manager? If so, could you send me a link to download a package manager?

Edited by david.degraw54, 18 February 2012 - 04:20 PM.


#3 zathras

zathras
  • Members
  • 1 posts
  • Device Model:HTC DesireHD
  • MOD Version:CM 7.1.0
  • Recovery Image:ClockworkMod

Posted 25 February 2012 - 11:20 AM

When I try this it fails as the ics branch doesn't have the ace device. I used roomservice.py to add the device files but then it fails due to


Quote

build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/ace/cm.mk]]: "device/htc/common/common.mk" does not exist. Stop.


There doesn't seem to be a cyanogenmod github repo for htc_common :-(

This seems to be triggered from device/htc/ace/device.mk line 185,

# stuff common to all HTC phones
$(call inherit-product, device/htc/common/common.mk)

Any suggestions?

Update

I added the following lines to .repo/local_manifest.xml and so the build now starts.


  <project name="CyanogenMod/android_device_htc_common" path="device/htc/common" revision="refs/heads/gingerbread"/>
  <project name="CyanogenMod/android_device_htc_msm7x30-common" path="device/htc/msm7x30-common" remote="github" />

The build starts, but then stops due to


make: *** No rule to make target `vendor/htc/ace/proprietary/eglsubAndroid.so', needed by `out/target/product/ace/system/lib/egl/eglsubAndroid.so'. Stop.

After some more looking around I found that koush has a proprietary_htc repo, so I added the following line to .repo/local_manifest.xml

<project name="koush/proprietary_vendor_htc" path="vendor/htc" />

This change fixes the missing library issue.

Edited by zathras, 25 February 2012 - 12:02 PM.






Also tagged with cm9, ics, ace, cook