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

mo976

Senior Member
Jun 17, 2008
1,144
1,170
0
Jerusalem Israel
Thanks I got everything working using tamcore's git and local manifest... Been rolling my own nightlys.
I was sure the move to SSD would result in a much faster build. Make pyramid userdebug on the HDD took over an hour and a half, with the SSD it takes an hour ish, with Ccache enabled and SSD optimization and all. I guess the i3 2120 3.3ghz is the limitation. Any suggestions for a faster build.

Sent from my HTC Sensation using xda premium
 

mo976

Senior Member
Jun 17, 2008
1,144
1,170
0
Jerusalem Israel
I hope you're using the repos on github.com/OpenSensation and not the recently deleted ones on github.com/TamCore ;)
Last time I built was Friday afternoon (we are almost the same time zones) I will check when I get home... When did you delete it?

I am pretty sure I'm using git... Open....

Sent from my HTC Sensation using xda premium
 
Last edited:

mo976

Senior Member
Jun 17, 2008
1,144
1,170
0
Jerusalem Israel
My local manifest points to revision OpenSensation and repo sync is fine so I think I'm good to go.
Any ideas for speeding up my build other then a faster processor.
My desktop is a sandy bridge i3 3.3ghz with 8gb 1600mhz ram and a 120Gb SSD.
Thanks

Sent from my HTC Sensation using xda premium
 
Last edited:

webharsh

Senior Member
May 23, 2012
283
83
0
Reston
Hi,

I decided to get my hands dirty with compiling ROM from source. I got stuck at repo sync with following error -

Code:
From git://github.com/CyanogenMod/android_frameworks_base
 * [new branch]      cm-9.0.0   -> github/cm-9.0.0
 * [new branch]      cm-9.1.0   -> github/cm-9.1.0
 * [new branch]      donut      -> github/donut
 * [new branch]      eclair     -> github/eclair
 * [new branch]      froyo      -> github/froyo
 * [new branch]      froyo-stable -> github/froyo-stable
 * [new branch]      gb-release-7.2 -> github/gb-release-7.2
 * [new branch]      gingerbread -> github/gingerbread
 * [new branch]      gingerbread-release -> github/gingerbread-release
 * [new branch]      ics        -> github/ics
 * [new branch]      ics-release -> github/ics-release
 * [new branch]      jellybean  -> github/jellybean
 * [new branch]      missing-master-patches -> github/missing-master-patches
 * [new branch]      themes-exp -> github/themes-exp
 * [new tag]         cm-7.0.0   -> cm-7.0.0
 * [new tag]         cm-7.0.1   -> cm-7.0.1
 * [new tag]         cm-7.0.2.1 -> cm-7.0.2.1
 * [new tag]         cm-7.0.3   -> cm-7.0.3
 * [new tag]         cm-7.1.0   -> cm-7.1.0
remote: Compressing objects: 100% (8263/8263), done.
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed
error: Cannot fetch CyanogenMod/android_prebuilt

error: Exited sync due to fetch errors
I tried to google error but could not find anything easier to try :(
 

blahbl4hblah

Inactive Recognized Developer
Oct 3, 2010
6,061
1,514
0
Los Angeles, CA
Hi,

I decided to get my hands dirty with compiling ROM from source. I got stuck at repo sync with following error -

Code:
From git://github.com/CyanogenMod/android_frameworks_base
 * [new branch]      cm-9.0.0   -> github/cm-9.0.0
 * [new branch]      cm-9.1.0   -> github/cm-9.1.0
 * [new branch]      donut      -> github/donut
 * [new branch]      eclair     -> github/eclair
 * [new branch]      froyo      -> github/froyo
 * [new branch]      froyo-stable -> github/froyo-stable
 * [new branch]      gb-release-7.2 -> github/gb-release-7.2
 * [new branch]      gingerbread -> github/gingerbread
 * [new branch]      gingerbread-release -> github/gingerbread-release
 * [new branch]      ics        -> github/ics
 * [new branch]      ics-release -> github/ics-release
 * [new branch]      jellybean  -> github/jellybean
 * [new branch]      missing-master-patches -> github/missing-master-patches
 * [new branch]      themes-exp -> github/themes-exp
 * [new tag]         cm-7.0.0   -> cm-7.0.0
 * [new tag]         cm-7.0.1   -> cm-7.0.1
 * [new tag]         cm-7.0.2.1 -> cm-7.0.2.1
 * [new tag]         cm-7.0.3   -> cm-7.0.3
 * [new tag]         cm-7.1.0   -> cm-7.1.0
remote: Compressing objects: 100% (8263/8263), done.
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed
error: Cannot fetch CyanogenMod/android_prebuilt

error: Exited sync due to fetch errors
I tried to google error but could not find anything easier to try :(
I haven't had that issue and I compiled a build last night. Did you use CM repo init or mine?