Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,808,901 Members 52,220 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
lithid-cm
Old
(Last edited by lithid-cm; 22nd July 2012 at 02:08 PM.)
#1  
lithid-cm's Avatar
Recognized Developer - OP
Thanks Meter 2,965
Posts: 3,177
Join Date: Jul 2010
Location: Cleveland
Default [CMC-GUI] [DAILY] [PPA] Cyanogenmod Compiler Daily [Depreciated]

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.

Quote:
Choosy moms choose JIF, the others JFIO
Twitter | Google Plus | Scripts | Github | AOSCompiler

The Following 276 Users Say Thank You to lithid-cm For This Useful Post: [ Click to Expand ]
 
lithid-cm
Old
(Last edited by lithid-cm; 16th May 2012 at 04:19 AM.)
#2  
lithid-cm's Avatar
Recognized Developer - OP
Thanks Meter 2,965
Posts: 3,177
Join Date: Jul 2010
Location: Cleveland
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

Quote:
Choosy moms choose JIF, the others JFIO
Twitter | Google Plus | Scripts | Github | AOSCompiler

The Following 67 Users Say Thank You to lithid-cm For This Useful Post: [ Click to Expand ]
 
exb0
Old
#3  
exb0's Avatar
Senior Member
Thanks Meter 411
Posts: 1,762
Join Date: Oct 2010
Location: 3.137136,101.594663
This changes everything, again.
Current Devices :
LG Nexus 5
LG Nexus 4
Samsung Galaxy Nexus
Sony W810


Ex Devices :
HTC Dream - SOLD
HTC HD2 - Water Damaged :'(
LG Nexus 4 - Stolen </3
HTC Sensation - Retired
Nexus One - Retired
ZTE V9 - Retired


My Google Plus
My Website
Transparent StatusBar Mod Thanks to ZduneX25
Register for Dropbox here
The Following 4 Users Say Thank You to exb0 For This Useful Post: [ Click to Expand ]
 
stian230
Old
#4  
stian230's Avatar
Senior Member
Thanks Meter 1,185
Posts: 1,218
Join Date: Oct 2009
Location: Penguin land,way up north.

 
DONATE TO ME
Great idea. Thanks.
Nexus 5 White 32g
Samsung galaxy S 4
samsung GALAXY SIII Lte I9305
Htc one X
samsung Galaxy S2
Htc vision x 2

Nexus one
Htc Magic x 2
Htc Diamond
Sony ericsson p1i
Htc TyTN II
Sony ericsson p800
Qtek 9000
Qtek 9090


The Following User Says Thank You to stian230 For This Useful Post: [ Click to Expand ]
 
boardsportsrule
Old
#5  
Senior Member
Thanks Meter 12
Posts: 128
Join Date: Nov 2009
Awesome! Thank you very much
 
frigid
Old
#6  
frigid's Avatar
Senior Member
Thanks Meter 322
Posts: 453
Join Date: Sep 2008
Location: Denver, CO

 
DONATE TO ME
this is neat! good job
 
Jamin13
Old
#7  
Senior Member
Thanks Meter 243
Posts: 1,114
Join Date: May 2011
Is there any support for pulling propriety files from a new phone or is that too specific?

Sent from my M9300 using xda premium
 
lithid-cm
Old
#8  
lithid-cm's Avatar
Recognized Developer - OP
Thanks Meter 2,965
Posts: 3,177
Join Date: Jul 2010
Location: Cleveland
Quote:
Originally Posted by Jamin13 View Post
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.

Quote:
Choosy moms choose JIF, the others JFIO
Twitter | Google Plus | Scripts | Github | AOSCompiler

The Following 2 Users Say Thank You to lithid-cm For This Useful Post: [ Click to Expand ]
 
Novek
Old
(Last edited by Novek; 28th December 2011 at 08:16 PM.)
#9  
Novek's Avatar
Recognized Developer
Thanks Meter 292
Posts: 978
Join Date: Feb 2008
Location: Tønsberg

 
DONATE TO ME
Quote:
Originally Posted by lithid-cm View Post
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!
Current phone: Sony Xperia Z - ROM: Constantly changing

Have had:
SGN2-SGS2 -LG Optimus 2X -T-mobile G2 , -HTC Touch 2, -T-mobile Vibrant -Samsung Wave -Samsung Spica I5700 -HTC Rhodium (TP2) -Samsung Jet -HTC Dream -HTC Touch Cruise -HTC Touch -SE K610i -SE K510i -SE t310 -Nokia 3310 -Motorola something...
The Following User Says Thank You to Novek For This Useful Post: [ Click to Expand ]
 
aorth
Old
#10  
aorth's Avatar
Senior Member
Thanks Meter 1,995
Posts: 1,118
Join Date: Nov 2010
Location: Nairobi, Kenya
Quote:
Originally Posted by lithid-cm View Post
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes