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
Post Reply

[GUIDE]Compile AOKP and CyanogenMod for HTC Sensation on Ubuntu (ONLY 64-bit)

OP blahbl4hblah

26th February 2012, 08:05 PM   |  #321  
sparksco's Avatar
Recognized Developer
Thanks Meter: 7,946
 
8,370 posts
Join Date:Joined: Feb 2010
Donate to Me
More
Quote:
Originally Posted by Vorbeth

According to https://github.com/blog/642-smart-http-support
http is correct, https is for private repos, or to have push access on your repository.
Just seems github is having issues with http right now, reverting to git solves this.
(I've tested and am syncing without error now)

From the looks of it this is better for private repos, maybe that's their whole reasoning for trying this change in the first place -__-
Once I get my ics branch up I'll let you guys know. Do you mind if I merge in OpenSensation sources to it? Some makefiles would need to be changed in the device source tree but it wouldn't be that difficult. If you want push access to it the site is here:

https://gitorious.org/+teamandroid

Let me know and I'll see about adding in more members once the ics branch is up and running.
26th February 2012, 08:28 PM   |  #322  
Vorbeth's Avatar
Senior Member
Thanks Meter: 1,958
 
1,954 posts
Join Date:Joined: Mar 2006
Donate to Me
More
Quote:
Originally Posted by sparksco

From the looks of it this is better for private repos, maybe that's their whole reasoning for trying this change in the first place -__-
Once I get my ics branch up I'll let you guys know. Do you mind if I merge in OpenSensation sources to it? Some makefiles would need to be changed in the device source tree but it wouldn't be that difficult. If you want push access to it the site is here:

https://gitorious.org/+teamandroid

Let me know and I'll see about adding in more members once the ics branch is up and running.

I don't mind at all, however a lot of qcom changes are about to be made, so it may be best to hold off for a little bit.
26th February 2012, 08:38 PM   |  #323  
tomS01's Avatar
Senior Member
Flag Tatabanya
Thanks Meter: 184
 
665 posts
Join Date:Joined: Jul 2010
More
Quote:
Originally Posted by sparksco

From the looks of it this is better for private repos, maybe that's their whole reasoning for trying this change in the first place -__-
Once I get my ics branch up I'll let you guys know. Do you mind if I merge in OpenSensation sources to it? Some makefiles would need to be changed in the device source tree but it wouldn't be that difficult. If you want push access to it the site is here:
https://gitorious.org/+teamandroid
Let me know and I'll see about adding in more members once the ics branch is up and running.

I made an account on this
26th February 2012, 08:38 PM   |  #324  
sparksco's Avatar
Recognized Developer
Thanks Meter: 7,946
 
8,370 posts
Join Date:Joined: Feb 2010
Donate to Me
More
Quote:
Originally Posted by Vorbeth

I don't mind at all, however a lot of qcom changes are about to be made, so it may be best to hold off for a little bit.

Ok thanks, like I said it might be easier if your a member so that way you can just push the changes whenever you want and whatever branches you want also. Since you making most of the changes yourself, you'll know what's what and what everything does. I wasn't planning on merging anything until the rest of the ics repo soureces are up. I keep all the original commits on all the repos which currently are mostly cm's commits. That way I'm not hijacking/kanging the changes. The current gingerbread branch is compiling nicely and I'll be adding in the gingerbread teamandroid vendor repo soon. The reason I'm doing gingerbread first is to test everything out so I won't screw up the ICS branch lol.
26th February 2012, 09:03 PM   |  #325  
sparksco's Avatar
Recognized Developer
Thanks Meter: 7,946
 
8,370 posts
Join Date:Joined: Feb 2010
Donate to Me
More
Quote:
Originally Posted by tomS01

I made an account on this

Oh cool do you have some good knowledge with git and source code? This is important to be a member but you can also make forks of the repo if you want to do little changes here and there. Mostly I just want one or two maintainers for each device and since I don't have a sensation would be better if Vorbeth and/or blahbl4hblah could do it. I can however get the initial base source up for ics and merge in new cm commits when I have time. I'll be testing cm changes for my device as well so it would benefit everyone. I'm just really getting tired of having a incomplete repo source. I'm not using a local_manifest.xml at all anymore which I really like But once the ics repo source is available I'll post instructions on how to get the repo set up for building. It'll be very similar to this guide but you'll have to make a seperate folder on your pc like android/TeamAndroid or something to that effect.
27th February 2012, 12:03 AM   |  #326  
Vorbeth's Avatar
Senior Member
Thanks Meter: 1,958
 
1,954 posts
Join Date:Joined: Mar 2006
Donate to Me
More
Just a heads up,
If you sync your repo's as of tonight, compiling may fail.
While we are working on getting thing's working better we have merged some gerrit changes ahead of Cyanogen.

All the diverged repo's can be found on https://github.com/OpenSensation

@sparksco & blahbl4hblah
To resolve the above issue I have made a default repo that will pull the correct forward gerrit changes.
Code:
repo init -u git://github.com/OpenSensation/android.git -b ics
27th February 2012, 03:16 PM   |  #327  
TamCore's Avatar
Senior Member
Flag Düsseldorf
Thanks Meter: 1,058
 
655 posts
Join Date:Joined: Jul 2010
Donate to Me
More
Quote:
Originally Posted by blahbl4hblah

Install GCC 4.4 (ICS requires GCC 4.4 instead of GCC 4.6)

Why does it requires GCC 4.4? Compiled fine here with GCC 4.6.2, Python 2.7.2 and openjdk 6.b24_1.11.1-1.

"Time to compile: 174 min(s) 31 sec(s)" on my Core2Duo T6570 with 8GB Ram and nicemode 5
I think my kernel update (from source) slowed it a bit down. Next run should be faster
27th February 2012, 08:11 PM   |  #328  
blahbl4hblah's Avatar
OP Recognized Developer
Flag Los Angeles, CA
Thanks Meter: 1,623
 
5,584 posts
Join Date:Joined: Oct 2010
Donate to Me
More
Quote:
Originally Posted by TamCore

Why does it requires GCC 4.4? Compiled fine here with GCC 4.6.2, Python 2.7.2 and openjdk 6.b24_1.11.1-1.

"Time to compile: 174 min(s) 31 sec(s)" on my Core2Duo T6570 with 8GB Ram and nicemode 5
I think my kernel update (from source) slowed it a bit down. Next run should be faster

It was a prerequisite before but I guess it's no longer required. I'll try it next time

Thanks for letting me know

Sent from my HTC Sensation using xda premium
27th February 2012, 08:15 PM   |  #329  
Senior Member
Thanks Meter: 381
 
696 posts
Join Date:Joined: Jun 2010
Donate to Me
Quote:
Originally Posted by blahbl4hblah

It was a prerequisite before but I guess it's no longer required. I'll try it next time

Thanks for letting me know

Sent from my HTC Sensation using xda premium

Yeah, after that PM I got from you, I've tried compiling since using brunch with no switches (only as an experiment), and I've had absolutely no problems. Compile finished fine, and the ROM ran perfectly.
I get a full compile done in exactly 2 hours on an i7 with 8gb ram.
27th February 2012, 08:16 PM   |  #330  
sparksco's Avatar
Recognized Developer
Thanks Meter: 7,946
 
8,370 posts
Join Date:Joined: Feb 2010
Donate to Me
More
According to this site you should still use gcc-4.4 on Ubuntu 11.10 systems:
http://www.android-dev.ro/2011/12/13...-ubuntu-11-10/

Post Reply Subscribe to Thread

Tags
cm9, guide, ics, pyramid, sensation
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes