Lithid, a member of XDA Developers Forum, has recently released the 4th version of a GUI tool (Cmc-pygtk) to build Android for a given smartphone as long as it is supported by CM. The CyanogenMod Compiler is supported by Ubuntu 10.04 32/64-bit and greater, and you can either download a deb file or build it yourself by following the instructions below: Install dependencies:
1 2 3 4 |
sudo apt-get install build-essential devscripts ubuntu-dev-tools debhelper \ dh-make diff patch cdbs quilt gnupg fakeroot lintian pbuilder piuparts \ flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools \ libncurses5-dev zlib1g-dev openjdk-6-jdk pngcrush schedtool |
Clone the source tree:
1 |
git clone git://github.com/lithid/Cmc-pygtk.git |
Generate a gpg key:
1 |
keygpg --gen-key |
Delete the changelog or dpkg will use lithid key instead.:
1 2 |
cd Cmc-pygtk rm os-versions/common/changelog |
Edit the EMAIL field in the Makefile and replace it with the one used to generated the gpg key. Build it for your version of Ubuntu. For Ubuntu 12.04 32-bit:
1 |
make cmc-12.04-32 |
And install it:
1 2 |
cd out sudo dpkg -i cmc-12.04-32-v0.4.deb |
Before using CyanogenMod Compiler (CMC) is installed, you need to install google repo tool:
1 2 3 |
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > repo chmod a+x repo sudo mv repo /usr/local/bin/repo |
Now that everything is setup, you can run CyanogenMod Compiler: cmc A disclaimer message telling […]