Building your own ROM

tcrider84

Well-known member
Jun 12, 2012
117
49
0
Visit site
so I've decided to suck it up and just build my own rom. atm its very heavily based off bobzhome's and tdm's roms mixed and jarbled together. it will be cm9 and strictly for the vm670. i figured im changing too many things in too many different places from too many sources including myself.. might as well pool all my resources together. and of course once everything is sorted out all my sources will be available. its just a pain in the butt atm to organize everything ive changed
 
Last edited:
  • Like
Reactions: Hindolam

BobZhome

Well-known member
Mar 27, 2011
296
627
0
Visit site
so I've decided to suck it up and just build my own rom. atm its very heavily based off bobzhome's and tdm's roms mixed and jarbled together. it will be cm9 and strictly for the vm670. i figured im changing too many things in too many different places from too many sources including myself.. might as well pool all my resources together. and of course once everything is sorted out all my sources will be available. its just a pain in the butt atm to organize everything ive changed
You have to be careful from what branch your pulling in changes from...I saw that you pulled in changes from my Gingerbread branch, when your building ICS ;)
 

tcrider84

Well-known member
Jun 12, 2012
117
49
0
Visit site
You have to be careful from what branch your pulling in changes from...I saw that you pulled in changes from my Gingerbread branch, when your building ICS ;)

yeah i got it sorted last night. some of the stuff i pulled was to compare with iho to see what changes were made ;D. The most trouble I had was sorting out old cm9 ics forks with currently used ones
 

tcrider84

Well-known member
Jun 12, 2012
117
49
0
Visit site
is there anything that can be done to compile faster? I'm running a quad core processor, 20gb ram and a corsair force-gt ssd drive and this thing still feels like its dragging its ass >.>. im just using
Code:
. build/envsetup.sh && brunch VM670
 

sellers86

Well-known member
Jul 21, 2011
1,837
617
0
Visit site
is there anything that can be done to compile faster? I'm running a quad core processor, 20gb ram and a corsair force-gt ssd drive and this thing still feels like its dragging its ass >.>. im just using
Code:
. build/envsetup.sh && brunch VM670

Use make -j5 bacon. It tells it how many parallel processes can be used, and it compiles faster for me.
 

BobZhome

Well-known member
Mar 27, 2011
296
627
0
Visit site
is there anything that can be done to compile faster? I'm running a quad core processor, 20gb ram and a corsair force-gt ssd drive and this thing still feels like its dragging its ass >.>. im just using
Code:
. build/envsetup.sh && brunch VM670
I'm server:
Code:
Motherboard:
      CPU Type                                          QuadCore Intel Core i5-2400, 3200 MHz (32 x 100)
      Motherboard Name                                  Biostar TZ77B  (2 PCI, 2 PCI-E x1, 2 PCI-E x16, 4 DDR3 DIMM, Audio, Video, Gigabit LAN)
      Motherboard Chipset                               Intel Panther Point Z77, Intel Sandy Bridge
      System Memory                                     16352 MB  (DDR3-1333 DDR3 SDRAM)
      DIMM1: G Skill F3-1333C9-8GAO                     8 GB DDR3-1333 DDR3 SDRAM  (8-8-8-22 @ 609 MHz)  (7-7-7-20 @ 533 MHz)  (6-6-6-17 @ 457 MHz)  (5-5-5-14 @ 380 MHz)
      DIMM3: G Skill F3-1333C9-8GAO                     8 GB DDR3-1333 DDR3 SDRAM  (8-8-8-22 @ 609 MHz)  (7-7-7-20 @ 533 MHz)  (6-6-6-17 @ 457 MHz)  (5-5-5-14 @ 380 MHz)
      BIOS Type                                         AMI (02/14/2012)
takes about 45 minutes to compile ICS :-[
 

sellers86

Well-known member
Jul 21, 2011
1,837
617
0
Visit site
I'm server:
Code:
Motherboard:
      CPU Type                                          QuadCore Intel Core i5-2400, 3200 MHz (32 x 100)
      Motherboard Name                                  Biostar TZ77B  (2 PCI, 2 PCI-E x1, 2 PCI-E x16, 4 DDR3 DIMM, Audio, Video, Gigabit LAN)
      Motherboard Chipset                               Intel Panther Point Z77, Intel Sandy Bridge
      System Memory                                     16352 MB  (DDR3-1333 DDR3 SDRAM)
      DIMM1: G Skill F3-1333C9-8GAO                     8 GB DDR3-1333 DDR3 SDRAM  (8-8-8-22 @ 609 MHz)  (7-7-7-20 @ 533 MHz)  (6-6-6-17 @ 457 MHz)  (5-5-5-14 @ 380 MHz)
      DIMM3: G Skill F3-1333C9-8GAO                     8 GB DDR3-1333 DDR3 SDRAM  (8-8-8-22 @ 609 MHz)  (7-7-7-20 @ 533 MHz)  (6-6-6-17 @ 457 MHz)  (5-5-5-14 @ 380 MHz)
      BIOS Type                                         AMI (02/14/2012)
takes about 45 minutes to compile ICS :-[

I have a 2.7 ghz dual core with 8gb of corsair ddr3 ram and a 500gb HD and it takes me about 1 1/2 to 2 hours to compile.

Sent from my LG-VM670 using Tapatalk
 

tdm

Well-known member
Apr 11, 2011
1,409
3,596
0
Visit site
DUDDDDEEE. got my new processor. no joke make -j10 bacon--7-8 minute build.

you rock(although I shouldve known to use the make -jX option)

Jealous. Hey LeslieAnn.... :p j/k

Now you need to stripe a couple drives together and the build will be done before you hit enter, lol.
 

tdm

Well-known member
Apr 11, 2011
1,409
3,596
0
Visit site
Btw, got aokp stuff checked into github/thunderc. It should build now, modulo the libaudio patch. I'll fix that soon.
 

tcrider84

Well-known member
Jun 12, 2012
117
49
0
Visit site
Jealous. Hey LeslieAnn.... :p j/k

Now you need to stripe a couple drives together and the build will be done before you hit enter, lol.

I plan on getting another 240gb ssd corsair force gt drive for a raid setup as well as another gtx 560 ti for sli o.o. the first drive was my first jump into the ssd world to test it out. loving it. ive been piecing this thing together bit by bit each week. i hardly spend money on anything except necessities to survive other than my computer. its my baby >.>. i eventually need to ditch ubuntu and throw debian on here as well, i just needed something to compile on that was quick and easy. given my preference id use freebsd but it doesnt always play nice.

welp. time to test my first build on my new rom >.>
 

tcrider84

Well-known member
Jun 12, 2012
117
49
0
Visit site
Btw, got aokp stuff checked into github/thunderc. It should build now, modulo the libaudio patch. I'll fix that soon.

i made the libaudio changes on my hardware_libhardware_legacy fork a while ago, i can send you a pull request if you want

--edit--
or you can just pull/fork mine since you havent forked it yet i dont think >.>
 

tdm

Well-known member
Apr 11, 2011
1,409
3,596
0
Visit site
i made the libaudio changes on my hardware_libhardware_legacy fork a while ago, i can send you a pull request if you want

--edit--
or you can just pull/fork mine since you havent forked it yet i dont think >.>

No I'm going to fix it in libaudio but thanks.
 

tcrider84

Well-known member
Jun 12, 2012
117
49
0
Visit site
this should be a fix for libaudio i think in AudioHardware.cpp?

Code:
#if defined(QCOM_HARDWARE) && !defined(USES_AUDIO_LEGACY)
namespace Qcom_Audio {
enum Qcom_Defined {
	EVRC                = 0x08000000,
	QCELP               = 0x09000000,
};
}
#endif

Then just change the AudioSystem:: references for evrc and qcelp to Qcom_Audio::
 
Last edited:

tcrider84

Well-known member
Jun 12, 2012
117
49
0
Visit site
actually should just remove the ifdef and define it normally since otherwise if no qcom_hardware is defined itd be like 'lolwut dis qcom_audio?'
 

tcrider84

Well-known member
Jun 12, 2012
117
49
0
Visit site
Done. Should build without the hardware_legacy patch now.

Also removed my custom Email timeouts because I'm using my Marquee for email now, and nobody else seems to care.

yeah i checked it. it works my way too, except now, if i want to i can import the AudioSystem enums into Qcom_Audio and just use Qcom_Audio throughout if i feel like it :p, not really any reason to though
 

Trending Posts

Forum statistics

Threads
943,116
Messages
6,917,357
Members
3,158,829
Latest member
ParkerAdams