- 09-01-2011, 11:29 PM #101
- 09-02-2011, 01:54 PM #102
Last edited by asadullah; 09-02-2011 at 02:01 PM.
- 09-02-2011, 05:07 PM #103
Re: Building your own ROM
I was getting the following errors after trying to compile under the Ubuntu 11.10 beta. I restored 11.04--but am still getting these errors. Is this related to the site being hacked yesterday??
Code:/media/d2p8/android/system$ /media/d2p8/bin/repo init -u git://github.com/BobZhome/android.git -b gingerbread Traceback (most recent call last): File "/media/d2p8/android/system/.repo/repo/main.py", line 238, in <module> _Main(sys.argv[1:]) File "/media/d2p8/android/system/.repo/repo/main.py", line 220, in _Main repo._Run(argv) File "/media/d2p8/android/system/.repo/repo/main.py", line 125, in _Run cmd.Execute(copts, cargs) File "/media/d2p8/android/system/.repo/repo/subcmds/init.py", line 260, in Execute self._LinkManifest(opt.manifest_name) File "/media/d2p8/android/system/.repo/repo/subcmds/init.py", line 166, in _LinkManifest self.manifest.Link(name) File "/media/d2p8/android/system/.repo/repo/manifest_xml.py", line 86, in Link self.Override(name) File "/media/d2p8/android/system/.repo/repo/manifest_xml.py", line 79, in Override self._Load() File "/media/d2p8/android/system/.repo/repo/manifest_xml.py", line 236, in _Load self._ParseManifest(True) File "/media/d2p8/android/system/.repo/repo/manifest_xml.py", line 254, in _ParseManifest root = xml.dom.minidom.parse(self.manifestFile) File "/usr/lib/python2.7/xml/dom/minidom.py", line 1914, in parse return expatbuilder.parse(file) File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 924, in parse result = builder.parseFile(fp) File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 207, in parseFile parser.Parse(buffer, 0) xml.parsers.expat.ExpatError: mismatched tag: line 19, column 4Last edited by wilberfan; 09-02-2011 at 07:00 PM.
- 09-02-2011, 07:07 PM #104
Re: Building your own ROM
I think thats the ole you messed up
- 09-02-2011, 08:06 PM #105
- 09-06-2011, 07:30 PM #106
Re: Building your own ROM
There are alternatives to kernel.org, I'm syncing from codeaurora right now, will let you know if I can get a working build environment going. Here's the blog with info on using codeaurora:
This will give you gingerbread, then we will see if I can sync just android_device_lge_thunderc or if it has to be done manually. Either way, a working envrionment should be possible with kernel.org still down, just a pita that may be worth waiting through instead.
Thanked by 2: - 09-06-2011, 08:41 PM #107
Re: Building your own ROM
my codeaurora gingerbread_rel repo had been down with errors before kernel.org bit it (couldn't repo sync, had to reinitialize,) so I couldn't repo init. That blog post allowed me to fix it. Thanks, JerryScript!
....**.../\…•^•…/\...**....
|..................................| - 09-07-2011, 12:09 AM #108
- 09-08-2011, 05:53 AM #109
Re: Building your own ROM
Have you had any luck with this?
I was able to get the gingerbread repo from codeaurora but if I try to sync with git://github.com/inferiorhumanorgans/android.git it still tries to connect to android.git.kernel.org
Here's a link to my results in terminal.
The errors start on line 141.
As far as I can tell the only reason this is happening is because kernel.org is down, so until its back up how do I sync with github's IHO repo?
A lot of this is way over my head so I appreciate any help I can get.Last edited by compjake; 09-08-2011 at 06:25 AM.
- 09-16-2011, 06:59 AM #110
Re: Building your own ROM
I finally got a working build environment figured out! Huge thanks to Sanghee Kim over at Google Groups for posting the details
(click on the last post by Sanghee Kim)
Here's the steps I took:
1) Create a new build directory (we want to keep what we have intact for when kernel.org is back)
2) CD into the directory and run repo init with an additional paramater:3) Open your build directory with your file explorer, and press cntrl+h so you can see the .repo folderCode:$ repo init -u git://github.com/inferiorhumanorgans/android.git -b gingerbread --repo-url=git://git.omapzoom.org/tools/repo.git
4) Inside the .repo/manifests open default.xml with your text editor
5) Change the following lines:to:Code:<default revision="gingerbread" remote="korg" />6) Run repo syncCode:<remote name="omapzoom" fetch="git://git.omapzoom.org/" /> <default revision="gingerbread" remote="omapzoom" />
7) Open the newly synced android folder, and make the same changes as step 5 to default.xml
8) In the same file, change git://android.git.kernel.org/ to http://android.git.kernel.org/
9) Open external/dnsmasq/src/log.c in your text editor and comment out line 289 (temp fix till I figure out what's causing the error):10) Run . build/envsetup.shCode:__android_log_vprint(alog_lvl, "dnsmasq", format, ap);
11) Run lunch and choose 2 for VM670
12) Run make bacon
13) Profit
- 09-16-2011, 01:27 PM #111
Re: Building your own ROM
Originally Posted by JerryScript;1259788
9) Open external/dnsmasq/src/log.c in your text editor and comment out line 289 (temp fix till I figure out what's causing the error) :[CODE
Thanks Jerry, I'm trying this now
Btw, that section of code is on line 298. I'm guessing my system is different or 289 was a typo, either way I'm just letting you know
Thanked by: - 09-18-2011, 03:42 PM #112
Re: Building your own ROM
Applying the following commit also fixes the problem.
And do a "repo sync" after applying these changes.
Anybody else getting undefined symbol (symbol : variable STATUS_BAR_HEADSET) two times while compiling the following file.
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIStatusBarActivity.java
I am stuck there please let me know if you know a solution or having the same problem.Last edited by mrg666; 09-19-2011 at 11:24 AM.
- 09-18-2011, 07:10 PM #113
Re: Building your own ROM
It's not a CM bug! In Framework/base there was a merge at the same time as the CMParts update that you also need, called "Add headset icon toggle (Framework)" in order for the CMparts part to compile correctly. Blarf has not updated framework/base on his repo, so that is why your having a problem with that.
Bob - 09-18-2011, 07:53 PM #114
Last edited by mrg666; 09-18-2011 at 08:05 PM.
- 09-19-2011, 11:11 PM #115
Harmonia Developer for Optimus V, Optimus Elite, One V, Evo V, Evo Shift, Evo V
Donate here if you feel inclined to brighten my day. - 09-20-2011, 07:27 AM #116
Re: Building your own ROM
Did you curl a different repo? I don't think kernel.org's version works right now. I'm using this:
Code:http://php.webtutor.pl/en/wp-content/uploads/2011/09/repo
- 09-20-2011, 12:28 PM #117
- 09-20-2011, 08:06 PM #118
Last edited by LeslieAnn; 09-20-2011 at 08:13 PM.
Harmonia Developer for Optimus V, Optimus Elite, One V, Evo V, Evo Shift, Evo V
Donate here if you feel inclined to brighten my day. - 09-20-2011, 08:13 PM #119
Re: Building your own ROM
I just repo sync'd everything went fine until the very end of the build process i got an error. Grrr. I will try again tonight
- 09-20-2011, 09:09 PM #120
Re: Building your own ROM
Not sure what to make of this, is this what you are getting Pbailey212?Code:make: *** [out/target/product/thunderc/obj/EXECUTABLES/dnsmasq_intermediates/log.o] Error 1 make: *** Waiting for unfinished jobs....
Harmonia Developer for Optimus V, Optimus Elite, One V, Evo V, Evo Shift, Evo V
Donate here if you feel inclined to brighten my day. - 09-20-2011, 10:15 PM #121
- 09-20-2011, 10:56 PM #122
- 09-20-2011, 11:03 PM #123
- 09-20-2011, 11:27 PM #124
Re: Building your own ROM
Hmm, I commented it out, but I will try the other options.
Don't expect any of us to have all the answers. If one of us knew everything asked, I would have to wonder about them.
Harmonia Developer for Optimus V, Optimus Elite, One V, Evo V, Evo Shift, Evo V
Donate here if you feel inclined to brighten my day. - 09-20-2011, 11:39 PM #125
Re: Building your own ROM
I had been waiting for the slightest excuse to use that image since I saw it the other day.

Have you tried syncing with bob's repository?




Reply





































