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

27th February 2012, 09:48 PM   |  #331  
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 gbzbar

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.

That's actually slow. Mine finishes in a hour and it's only a amd quad

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

That's actually slow. Mine finishes in a hour and it's only a amd quad

Sent from my HTC Sensation using xda premium

Sorry, I meant i7 dual, not quad. It's a laptop, so new processor, but older technology.
And either way, its the same exact compile time that I was getting while using GCC 4.4.
27th February 2012, 11:54 PM   |  #333  
mpmilestogo's Avatar
Senior Member
Flag Union City California
Thanks Meter: 63
 
332 posts
Join Date:Joined: Aug 2009
More
Quote:
Originally Posted by Vorbeth

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

HI Vorbeth. Just a question since I have been tracking the changes. When/if I make this change to my repos, do I still need the local manifest file per the instructions in 4c in the OP or does this repo take the place of those in the local file?

Thanks. Appreciate all the goodness coming!
28th February 2012, 12:00 AM   |  #334  
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 mpmilestogo

HI Vorbeth. Just a question since I have been tracking the changes. When/if I make this change to my repos, do I still need the local manifest file per the instructions in 4c in the OP or does this repo take the place of those in the local file?

Thanks. Appreciate all the goodness coming!

If your using your own repo, then you can remove local_manifest.xml
28th February 2012, 07:23 AM   |  #335  
sparksco's Avatar
Recognized Developer
Thanks Meter: 7,876
 
8,316 posts
Join Date:Joined: Feb 2010
Donate to Me
More
Quote:
Originally Posted by Vorbeth

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

So with most of the repos from this are cyanogen's so we won't have shh access right? I'll be working on a entire repo source for ics that will not just pull other people's repos but will allow us to have shh access unlike the cm repos. However we will still be able to test gerrit patches and merge in new cm github changes to our own repos...
28th February 2012, 08:45 AM   |  #336  
rawdealer's Avatar
Senior Member
District 1
Thanks Meter: 1,835
 
2,639 posts
Join Date:Joined: Mar 2011
I have fresh installed Ubuntu on W7 (dual boot) and while installing Java stucked again on this screen. How long I have to wait here....? It stays here for ages.
If I want to close terminal it says that something is working in "backstage" etc



Sent with a cold beer in my hand
Last edited by rawdealer; 28th February 2012 at 08:47 AM.
28th February 2012, 08:51 AM   |  #337  
Senior Member
Thanks Meter: 381
 
696 posts
Join Date:Joined: Jun 2010
Donate to Me
Quote:
Originally Posted by rawdealer

I have fresh installed Ubuntu on W7 (dual boot) and while installing Java stucked again on this screen. How long I have to wait here....? It stays here for ages.
If I want to close terminal it says that something is working in "backstage" etc



Sent with a cold beer in my hand

Click on the window and press the right arrow key, and then enter.
The Following User Says Thank You to gbzbar For This Useful Post: [ View ]
28th February 2012, 09:05 AM   |  #338  
rawdealer's Avatar
Senior Member
District 1
Thanks Meter: 1,835
 
2,639 posts
Join Date:Joined: Mar 2011
Gracias ))))
28th February 2012, 10:29 AM   |  #339  
rawdealer's Avatar
Senior Member
District 1
Thanks Meter: 1,835
 
2,639 posts
Join Date:Joined: Mar 2011
Huh :/

I got this message when typing
4e. Download Necessary Source
Code:
cd ~/android/system
repo sync


Code:
miha@ubuntu:~/android/system$ repo sync
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Fetching projects:   4% (10/245)  remote: Counting objects: 64458, done.
remote: Compressing objects: 100% (20378/20378), done.
remote: Counting objects: 60402, done.
remote: Compressing objects: 100% (18527/18527), done.
Fetching projects:   5% (13/245)  Receiving objects:   0% (548/64458), 92.00 KiBremote: Counting objects: 4239, done.
remote: Compressing objects: 100% (1885/1885), done.
remote: Counting objects: 1956, done.
remote: Compressing objects:  Receiving objects:   6% (3625/60402), 740.00 KiB |remote: Compressing objects:  97% (926Receiving objects:  10% (439/4239), 116.00remote: Compressing objects: 100% (954/954), done.
error: RPC failed; result=18, HTTP code = 200iB | 44 KiB/s   
fatal: The remote end hung up unexpectedly
fatal: early EOFs:  11% (7388/64458), 3.25 MiB | 137 KiB/s   
fatal: index-pack failed
warning: http unexpectedly said: '0000'
error: RPC failed; result=18, HTTP code = 200B | 89 KiB/s     
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
warning: http unexpectedly said: '0000'
Receiving objects:  38% (1632/4239), 3.79 MiB | 48 KiB/s 

and so on...

   fatal: index-pack failed
warning: http unexpectedly said: '0000'
error: Cannot fetch CyanogenMod/android_development1 KiB/s   
From /home/miha/android/system/.repo/projects/device/sample.git/clone.bundle
 * [new branch]      master     -> aosp/master
 * [new branch]      gingerbread-release -> aosp/gingerbread-release
 * [new branch]      gingerbread-mr4-release -> aosp/gingerbread-mr4-release
 * [new branch]      gingerbread -> aosp/gingerbread
 * [new branch]      froyo-release -> aosp/froyo-release
 * [new branch]      froyo      -> aosp/froyo
 * [new tag]         android-2.3_r1 -> android-2.3_r1
 * [new tag]         android-2.3.7_r1 -> android-2.3.7_r1
 * [new tag]         android-2.3.6_r1 -> android-2.3.6_r1
 * [new tag]         android-2.3.6_r0.9 -> android-2.3.6_r0.9
 * [new tag]         android-2.3.5_r1 -> android-2.3.5_r1
 * [new tag]         android-2.3.4_r1 -> android-2.3.4_r1
 * [new tag]         android-2.3.4_r0.9 -> android-2.3.4_r0.9
 * [new tag]         android-2.3.3_r1.1 -> android-2.3.3_r1.1
 * [new tag]         android-2.3.3_r1 -> android-2.3.3_r1
 * [new tag]         android-2.3.2_r1 -> android-2.3.2_r1
 * [new tag]         android-2.3.1_r1 -> android-2.3.1_r1
 * [new tag]         android-2.2_r1.3 -> android-2.2_r1.3
 * [new tag]         android-2.2_r1.2 -> android-2.2_r1.2
 * [new tag]         android-2.2_r1.1 -> android-2.2_r1.1
 * [new tag]         android-2.2_r1 -> android-2.2_r1
 * [new tag]         android-2.2.2_r1 -> android-2.2.2_r1
 * [new tag]         android-2.2.1_r2 -> android-2.2.1_r2
 * [new tag]         android-2.2.1_r1 -> android-2.2.1_r1
remote: Counting objects: 1956, done.
remote: Compressing objects: 100% (954/954), done.
remote: Counting objects: 89, done
remote: Finding sources: 100% (52/52)
remote: Getting sizes: 100% (40/40)
remote: Compressing objects: 100% (3/3)
remote: Total 52 (delta 13), reused 50 (delta 12)
Unpacking objects: 100% (52/52), done.04.00 KiB | 89 KiB/s   
From https://android.googlesource.com/device/sample
 * [new branch]      ics-factoryrom-2-release -> aosp/ics-factoryrom-2-release
 * [new branch]      ics-mr0    -> aosp/ics-mr0
 * [new branch]      ics-mr0-release -> aosp/ics-mr0-release
 * [new branch]      ics-mr1    -> aosp/ics-mr1
 * [new branch]      ics-mr1-release -> aosp/ics-mr1-release
   b7fe9ed..5d53e76  master     -> aosp/master
 * [new tag]         android-2.2.3_r1 -> android-2.2.3_r1
 * [new tag]         android-2.2.3_r2 -> android-2.2.3_r2
 * [new tag]         android-4.0.1_r1 -> android-4.0.1_r1
 * [new tag]         android-4.0.1_r1.1 -> android-4.0.1_r1.1
 * [new tag]         android-4.0.1_r1.2 -> android-4.0.1_r1.2
 * [new tag]         android-4.0.2_r1 -> android-4.0.2_r1
 * [new tag]         android-4.0.3_r1 -> android-4.0.3_r1
 * [new tag]         android-cts-2.2_r8 -> android-cts-2.2_r8
 * [new tag]         android-cts-2.3_r10 -> android-cts-2.3_r10
 * [new tag]         android-cts-2.3_r11 -> android-cts-2.3_r11
 * [new tag]         android-cts-4.0_r1 -> android-cts-4.0_r1
 * [new tag]         android-cts-verifier-4.0_r1 -> android-cts-verifier-4.0_r1
 * [new tag]         android-sdk-4.0.3-tools_r1 -> android-sdk-4.0.3-tools_r1
 * [new tag]         android-sdk-4.0.3_r1 -> android-sdk-4.0.3_r1
 * [new tag]         android-sdk-adt_r16.0.1 -> android-sdk-adt_r16.0.1
error: RPC failed; result=18, HTTP code = 200| 41 KiB/s     
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
warning: http unexpectedly said: '0000'
error: Cannot fetch CyanogenMod/android_dalvik | 309 KiB/s   
error: Cannot fetch CyanogenMod/android_device_moto_wingray  
error: RPC failed; result=18, HTTP code = 200iB | 239 KiB/s   
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
warning: http unexpectedly said: '0000'
error: Cannot fetch CyanogenMod/android_device_moto_stingray

error: Exited sync due to fetch errors
miha@ubuntu:~/android/system$
and my pmemalloc.cpp is empty :/ ???
28th February 2012, 10:50 AM   |  #340  
tomS01's Avatar
Senior Member
Flag Tatabanya
Thanks Meter: 184
 
665 posts
Join Date:Joined: Jul 2010
More
Quote:
Originally Posted by rawdealer

Huh :/

I got this message when typing
4e. Download Necessary Source
Code:
cd ~/android/system
repo sync
and my pmemalloc.cpp is empty :/ ???

Restart your computer and try make repo sync before you go back to 4c & control all step.
Last edited by tomS01; 28th February 2012 at 10:59 AM.

The Following User Says Thank You to tomS01 For This Useful Post: [ View ]
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