Build Your Phone Android Distro with CyanogenMod Compiler 0.4 GUI (Cmc-pygtk) for Ubuntu

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:

  1. Install dependencies:
  2. Clone the source tree:
  3. Generate a gpg key:
  4. Delete the changelog or dpkg will use lithid key instead.:
  5. Edit the EMAIL field in the Makefile and replace it with the one used to generated the gpg key.
  6. Build it for your version of Ubuntu. For Ubuntu 12.04 32-bit:
  7. And install it:

Before using CyanogenMod Compiler (CMC) is installed, you need to install google repo tool:


Now that everything is setup, you can run CyanogenMod Compiler:

cmc

A disclaimer message telling that you may render your device unusable pops up, click on OK to enter the UI.

CyanogenMod Compiler set to Build Android ICS for Samsung Galaxy S2
CyanogenMod Compiler (CMC) Set to Build Android 4.0 for Galaxy S2

In the top menu, go to File->Setup to select your device, branch (ics or gingerbread) and other settings. Then click on Sync to download the code and once it is completed, click on Compile to build Android.

If you run into problems, you can read and ask on the XDA developer “[CMC-GUI] [PPA] Cyanogenmod Compiler” forum thread.

Source: OMGUBUNTU

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK Pi 4C Plus
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
4 Comments
oldest
newest
Haris Sarwar
Haris Sarwar
11 years ago

What is the purpose of this compiler?
Does it generates native code for android?

Haris Sarwar
Haris Sarwar
11 years ago

Ok Thanks

Khadas VIM4 SBC