Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Thread Closed

[CMC-GUI] [DAILY] [PPA] Cyanogenmod Compiler Daily [Depreciated]

OP lithid-cm

28th December 2011, 06:45 PM   |  #1  
lithid-cm's Avatar
OP Recognized Developer
Flag Cleveland
Thanks Meter: 2,967
 
3,177 posts
Join Date:Joined: Jul 2010
More
Cyanogenmod Compiler (CMC) GUI
Build cyanogenmod with a gui.



Known issues:
- Currently no multi-threading, which means when you press sync or compile, there is no loading bar (app looks like its failing, its not.). I am working on that.
(If you want to watch the output of the sync or compile, just open a terminal and type "cmc", I log all to the system.)
- When locking the CMCompiler to the unity launcher you have to logout and log back in refer: ubuntu bug 916098
- Currently there isn't great error logic and dialogs to warn you about everything. Something that is still being working on. Just run from the terminal if you have an issue that you need to report.
- Missing make clean and make installclean. These will be added in the future.

Found bugs to fix v0.1:
- No "/" at the end of custom repo string path.
- Error checking for compile start


*Please any issue that should arise, I apologize in advanced. Please let me know with as much detail as possible to replicate the issue and I will resolve it.

Please read:
I have thought maybe times different ways I was going to go about this. Ads, donate version, paid app, etc. I choose to keep the project open, as that's how I roll. I do ask that if you enjoy the application that you try to donate something. This was my first gui project and took a lot of time and effort to even get it to where it is right now. I hope everyone enjoys the app as much as I enjoy working on it.

Install:
Note: If you are using the old ppa then look at post # 2 on how to remove it before adding this.
Code:
sudo apt-add-repository ppa:lithid/ppa
sudo apt-get update

Install daily dev builds:

Code:
sudo apt-get install cmcompiler-daily

Install beta builds:

Note: Not yet available.
Code:
 sudo apt-get install cmcompiler-beta
Install stable builds:
Note: Not yet available.
Code:
 sudo apt-get install cmcompiler
Note: You cannot have daily and stable at the same time. You can only use either or.

Source code | Bugs | Answers
Build info:
daily-builds

Enjoy some signatures from SavocaFTW:







You can follow me on google+ I tend to talk about it a bit on there as well.
Last edited by lithid-cm; 22nd July 2012 at 03:08 PM.
The Following 277 Users Say Thank You to lithid-cm For This Useful Post: [ View ]
28th December 2011, 06:45 PM   |  #2  
lithid-cm's Avatar
OP Recognized Developer
Flag Cleveland
Thanks Meter: 2,967
 
3,177 posts
Join Date:Joined: Jul 2010
More
Cyanogenmod Compiler (CMCompiler) HALP!

Error Codes:
Error: Need to sync first - After choosing compile, the program didn't find the needed .repo folder in your repo path. This assumes you never ran sync, so you never downloaded the code. You could have also renamed the .repo folder to something else, which would cause this error as well.
Error: device not found - Your device was not found in the repo, might be unsupported.
Error: Adb isn't running - First time running compile, you will need to have your phone connected and ADB running in order to pull off needed files from your phone.
Error: Extract-files came back False - This means a script called extract-files.sh failed to pull off those needed files from your phone.
Error: Compile error please check - This indicates that your build failed. You will need to run cmcompiler via terminal to get why.
Error: Repo Script needs setup - You don't have the repo script installed. Install it.
Code:
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/repo
chmod a+x ~/repo
sudo mv ~/repo /usr/local/bin/repo
Error: No device configured - Appears there is no device configured, just select one from the setup menu.

Removing old ppa:
Code:
sudo apt-get remove cmcompiler-daily
sudo apt-get install ppa-purge
sudo ppa-purge ppa:long-jeremie/ppa
About Cmcompiler CLI
** If you are still using the CLI version, I have not updated it in sometime. I might get back to that but for right now the gui is my main focus. Please understand. You could always clone and make edits to the CLI here
Last edited by lithid-cm; 16th May 2012 at 05:19 AM.
The Following 67 Users Say Thank You to lithid-cm For This Useful Post: [ View ]
28th December 2011, 07:00 PM   |  #3  
exb0's Avatar
Senior Member
Flag 3.137136,101.594663
Thanks Meter: 412
 
1,763 posts
Join Date:Joined: Oct 2010
More
This changes everything, again.
The Following 4 Users Say Thank You to exb0 For This Useful Post: [ View ]
28th December 2011, 07:13 PM   |  #4  
stian230's Avatar
Senior Member
Flag Penguin land,way up north.
Thanks Meter: 1,185
 
1,218 posts
Join Date:Joined: Oct 2009
Donate to Me
Great idea. Thanks.
The Following User Says Thank You to stian230 For This Useful Post: [ View ]
28th December 2011, 08:55 PM   |  #5  
Senior Member
Thanks Meter: 12
 
128 posts
Join Date:Joined: Nov 2009
Awesome! Thank you very much
28th December 2011, 09:04 PM   |  #6  
frigid's Avatar
Senior Member
Flag Denver, CO
Thanks Meter: 322
 
453 posts
Join Date:Joined: Sep 2008
Donate to Me
More
this is neat! good job
28th December 2011, 09:05 PM   |  #7  
Senior Member
Thanks Meter: 243
 
1,114 posts
Join Date:Joined: May 2011
More
Is there any support for pulling propriety files from a new phone or is that too specific?

Sent from my M9300 using xda premium
28th December 2011, 09:10 PM   |  #8  
lithid-cm's Avatar
OP Recognized Developer
Flag Cleveland
Thanks Meter: 2,967
 
3,177 posts
Join Date:Joined: Jul 2010
More
Quote:
Originally Posted by Jamin13

Is there any support for pulling propriety files from a new phone or is that too specific?

Sent from my M9300 using xda premium

Currently there is only support for devices from within the CM repo. There could be a plugin created though for specific devices that are not "supported" by cm. You would still need someone to write that plugin for that device since prop files are different for each device.
The Following 2 Users Say Thank You to lithid-cm For This Useful Post: [ View ]
28th December 2011, 09:14 PM   |  #9  
Novek's Avatar
Recognized Developer
Flag Tønsberg
Thanks Meter: 292
 
979 posts
Join Date:Joined: Feb 2008
Donate to Me
More
Quote:
Originally Posted by lithid-cm

Software for compiling on ubuntu:
32 bit:

Code:
git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev sun-java6-jdk pngcrush schedtool
64 bit:
Code:
g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline5-dev gcc-4.3-multilib g++-4.3-multilib

lib32readline5-dev has been replaced by lib32readline-gplv2-dev on 11.10
And "gcc-4.3-multilib g++-4.3-multilib" aren't used from 11.04 and up - not needed.

Nice work though!
Last edited by Novek; 28th December 2011 at 09:16 PM.
The Following User Says Thank You to Novek For This Useful Post: [ View ]
28th December 2011, 09:15 PM   |  #10  
aorth's Avatar
Senior Member
Flag Nairobi, Kenya
Thanks Meter: 1,995
 
1,118 posts
Join Date:Joined: Nov 2010
More
Quote:
Originally Posted by lithid-cm

If you are wondering how you can use this software its easy. You can clone my repo for now. and run the CMCompiler script:

Code:
git clone https://lithid@github.com/lithid/CMC.git
cd CMC
./CMCompiler

Hmmmm.

Code:
git clone https://github.com/lithid/CMC.git
cd CMC
./CMCompiler
Now we're talkin'!

Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes