5,598,297 Members 47,945 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
blahbl4hblah
Old
#331  
blahbl4hblah's Avatar
Recognized Developer - OP
Thanks Meter 1621
Posts: 5,583
Join Date: Oct 2010
Location: Los Angeles, CA

 
DONATE TO ME
Quote:
Originally Posted by gbzbar View Post
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
Before you even ask for help, do help yourself and search for it first!
 
gbzbar
Old
#332  
Senior Member
Thanks Meter 381
Posts: 696
Join Date: Jun 2010

 
DONATE TO ME
Quote:
Originally Posted by blahbl4hblah View Post
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.
 
mpmilestogo
Old
#333  
mpmilestogo's Avatar
Senior Member
Thanks Meter 60
Posts: 319
Join Date: Aug 2009
Location: Union City California
Quote:
Originally Posted by Vorbeth View Post
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!
 
Vorbeth
Old
#334  
Vorbeth's Avatar
Senior Member
Thanks Meter 1958
Posts: 1,954
Join Date: Mar 2006
Location: Bridlington

 
DONATE TO ME
Quote:
Originally Posted by mpmilestogo View Post
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

Samsung Galaxy S3 - CyanogenMod 10.1
Acer Iconia Tab A700 - iconiaN Internal dev builds
 
sparksco
Old
#335  
sparksco's Avatar
Recognized Developer
Thanks Meter 7621
Posts: 8,198
Join Date: Feb 2010

 
DONATE TO ME
Quote:
Originally Posted by Vorbeth View Post
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...
HTC G1: Bricked
HTC G1 #2: Broke
HTC Evo Shift 4G: Active
ASUS Nexus 7: Active
LGE Nexus 4: Active


2-step unroot back to stock 2.3.4 from s-off-Evo Shift 4G
My Work-Evo Shift 4G

Lead Developer of SaberMod
Nexus 4 SaberMod
Nexus 7 SaberMod
Nexus 7 3G SaberMod
Nexus 10 SaberMod

If I've helped you in any way shape or form please hit the thanks button
 
rawdealer
Old
(Last edited by rawdealer; 28th February 2012 at 07:47 AM.)
#336  
rawdealer's Avatar
Senior Member
Thanks Meter 1829
Posts: 2,621
Join Date: Mar 2011
Location: District 1
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
 
gbzbar
Old
#337  
Senior Member
Thanks Meter 381
Posts: 696
Join Date: Jun 2010

 
DONATE TO ME
Quote:
Originally Posted by rawdealer View Post
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: [ Click to Expand ]
 
rawdealer
Old
#338  
rawdealer's Avatar
Senior Member
Thanks Meter 1829
Posts: 2,621
Join Date: Mar 2011
Location: District 1
Gracias ))))
 
rawdealer
Old
#339  
rawdealer's Avatar
Senior Member
Thanks Meter 1829
Posts: 2,621
Join Date: Mar 2011
Location: District 1
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 :/ ???
 
tomS01
Old
(Last edited by tomS01; 28th February 2012 at 09:59 AM.)
#340  
tomS01's Avatar
Senior Member
Thanks Meter 184
Posts: 665
Join Date: Jul 2010
Location: Tatabanya
Quote:
Originally Posted by rawdealer View Post
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.

The Following User Says Thank You to tomS01 For This Useful Post: [ Click to Expand ]
Tags
cm9, guide, ics, pyramid, sensation
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes