• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Unofficial CM7 port, inquire within.

I'm stuck. If anyone has a clue here is the error:

Code:
dood@dood-Precision-WorkStation-530-MT:~/android/system$ repo init -u git://github.com/inferiorhumanorgans/android.git -b gingerbread
Traceback (most recent call last):
  File "/home/dood/bin/repo", line 603, in <module>
    main(sys.argv[1:])
  File "/home/dood/bin/repo", line 570, in main
    _Init(args)
  File "/home/dood/bin/repo", line 184, in _Init
    _CheckGitVersion()
  File "/home/dood/bin/repo", line 213, in _CheckGitVersion
    proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 672, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1213, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
dood@dood-Precision-WorkStation-530-MT:~/android/system$
 
well i made it to the last step. fails on make command. heres the error:

Code:
make: *** No rule to make target `device/lge/thunderc/files/kernel/MS690/zImage', needed by `out/target/product/thunderc/kernel'.  Stop.
make: *** Waiting for unfinished jobs....
Target buildinfo: out/target/product/thunderc/root/default.prop
dood@dood-Precision-WorkStation-530-MT:~/android/system$

any ideas? joneidy? reppard?
 
hey somedood.. im trying to get the repo setup to download the source.. but i keep getting the error: "ImportError: No mudule named readline" and cant sync with the repo. tried installing a bunch of packages.. readline-5.2 readline-6.1, tried sudo apt-get install libreadline5-dev. they all instal fine.. but still get error.. any dieas on what im doing wrong?
 
hey somedood.. im trying to get the repo setup to download the source.. but i keep getting the error: "ImportError: No mudule named readline" and cant sync with the repo. tried installing a bunch of packages.. readline-5.2 readline-6.1, tried sudo apt-get install libreadline5-dev. they all instal fine.. but still get error.. any dieas on what im doing wrong?

What command are you entering and getting that output? Judging from your post I would triple check spelling linux is an unforgiving bitch when it comes to typos.
 
I know I keep answering my own questions here, but I think I really am stuck here:

Code:
make: *** No rule to make target `vendor/lge/thunderc/proprietary/MS690/system/lib/libloc.so', needed by `out/target/product/thunderc/obj/lib/libloc.so'.  Stop.
make: *** Waiting for unfinished jobs....
Notice file: frameworks/base/cmds/svc/NOTICE -- out/target/product/thunderc/obj/NOTICE_FILES/src//system/framework/svc.jar.txt
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
dood@dood-Precision-WorkStation-530-MT:~/android/system$

I'm missing something... I put the kernel zimage and wireless.ko in MS690 folder to get past the last hold up but im lost here.
 
I know I keep answering my own questions here, but I think I really am stuck here:

Code:
make: *** No rule to make target `vendor/lge/thunderc/proprietary/MS690/system/lib/libloc.so', needed by `out/target/product/thunderc/obj/lib/libloc.so'.  Stop.
make: *** Waiting for unfinished jobs....
Notice file: frameworks/base/cmds/svc/NOTICE -- out/target/product/thunderc/obj/NOTICE_FILES/src//system/framework/svc.jar.txt
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
dood@dood-Precision-WorkStation-530-MT:~/android/system$
I'm missing something... I put the kernel zimage and wireless.ko in MS690 folder to get past the last hold up but im lost here.

you are doing better than me =) i haven't had much time to fiddle with this. i tried up until you enter the lunch command but apparently the envsetup.sh script doesn't make the necessary configuration because i get "No such file or folder: .lunchrc". As for your hold up it looks like you need to pull some proprietary files from stock optimus m. Atleast thats what it looks like for the libloc.so. If i remember correctly this is a shared GPS library. Try using adb to pull it from your phone or copy it from a rom that is based on stock.
 
Thanks reppard. I think I got past all the proprietary dependencies, its compiling now, finally.

I got the no such file error too. I solved it by pasting an apt-get command i found in a compile android thread that installed like 15 different things. wish I had the link still... LOL maybe in the morning I'll search my history and find it.

I'm tired and I'm going to bed. I will upload a .zip in the morning.
 
Thanks reppard. I think I got past all the proprietary dependencies, its compiling now, finally.

I got the no such file error too. I solved it by pasting an apt-get command i found in a compile android thread that installed like 15 different things. wish I had the link still... LOL maybe in the morning I'll search my history and find it.

I'm tired and I'm going to bed. I will upload a .zip in the morning.

reppard@thewalkers:~/android/system$ ./build/envsetup.sh
including device/lge/thunderc/vendorsetup.sh
including vendor/cyanogen/vendorsetup.sh
reppard@thewalkers:~/android/system$ lunch
Using lunch master without the GUI.
No such file: /home/reppard/.lunchrc.
reppard@thewalkers:~/android/system$

you got that? let me know if you find the link
 
hmm, mine ha that error way sooner I guess, I didn't make it to the lunch command like that...

The rom was compiling when I went to be and it stopped with an error:

Code:
device/lge/thunderc/overlay/MS690/packages/apps/Mms/res/xml/mms_config.xml:18: error: Error parsing XML: mismatched tag
make: *** [out/target/common/obj/APPS/Mms_intermediates/src/R.stamp] Error 1
make: *** Waiting for unfinished jobs....

Anyone has any ideas ill give them a try.
 
What command are you entering and getting that output? Judging from your post I would triple check spelling linux is an unforgiving bitch when it comes to typos.


from the working folder which is currently WORKING_ANDROID, im sending:
repo init -u git://android.git.kernel.org/platform/manifest.git

it returns error:

Traceback (most recent call last):
File "/home/tripdoc/bin/repo", line 91, in <module>
import readline
ImportError: No module named readline

gonna try re-configuring python and making it again.. maybe it will pick up the readline this time?
 
i am an idiot, i was assuming that . build/envsetup.sh should be ran like this $./build/envsetup.sh && lunch. i guess the . and the space are very important. haha,
 
from the working folder which is currently WORKING_ANDROID, im sending:
repo init -u git://android.git.kernel.org/platform/manifest.git

it returns error:

Traceback (most recent call last):
File "/home/tripdoc/bin/repo", line 91, in <module>
import readline
ImportError: No module named readline

gonna try re-configuring python and making it again.. maybe it will pick up the readline this time?

after you curl and before you sync the repo you need to reboot, if not it will always sync the repo to your home directory no matter what directory you are currently in. that should fix some of the issues!
 
i got it working.. i re-configured python after installing the readline, worked great.. starting pulling te manifest.. then got fatal error other end hung up unexpectedly..

tripdoc@tripdoc-linux:~/WORKING_ANDROID$ repo init -u git://android.git.kernel.org/platform/mainfest.git
gpg: keyring `/home/tripdoc/.repoconfig/gnupg/secring.gpg' created
gpg: keyring `/home/tripdoc/.repoconfig/gnupg/pubring.gpg' created
gpg: /home/tripdoc/.repoconfig/gnupg/trustdb.gpg: trustdb created
gpg: key 920F5C65: public key "Repo Maintainer <repo@android.kernel.org>" imported
gpg: Total number processed: 1
gpg: imported: 1

Getting repo ...
from git://android.git.kernel.org/tools/repo.git
remote: Counting objects: 1309, done.
remote: Compressing objects: 100% (570/570), done.
remote: Total 1309 (delta 842), reused 1148 (delta 716)
Receiving objects: 100% (1309/1309), 369.98 KiB | 358 KiB/s, done.
Resolving deltas: 100% (842/842), done.
From git://android.git.kernel.org/tools/repo
* [new branch] maint -> origin/maint
* [new branch] master -> origin/master
* [new branch] stable -> origin/stable
* [new tag] v1.7.5 -> v1.7.5
From git://android.git.kernel.org/tools/repo
* [new tag] v1.0 -> v1.0
* [new tag] v1.0.1 -> v1.0.1
* [new tag] v1.0.2 -> v1.0.2
* [new tag] v1.0.3 -> v1.0.3
* [new tag] v1.0.4 -> v1.0.4
* [new tag] v1.0.5 -> v1.0.5
* [new tag] v1.0.6 -> v1.0.6
* [new tag] v1.0.7 -> v1.0.7
* [new tag] v1.0.8 -> v1.0.8
* [new tag] v1.0.9 -> v1.0.9
* [new tag] v1.1 -> v1.1
* [new tag] v1.2 -> v1.2
* [new tag] v1.3 -> v1.3
* [new tag] v1.3.1 -> v1.3.1
* [new tag] v1.3.2 -> v1.3.2
* [new tag] v1.4 -> v1.4
* [new tag] v1.4.1 -> v1.4.1
* [new tag] v1.4.2 -> v1.4.2
* [new tag] v1.4.3 -> v1.4.3
* [new tag] v1.4.4 -> v1.4.4
* [new tag] v1.5 -> v1.5
* [new tag] v1.5.1 -> v1.5.1
* [new tag] v1.6 -> v1.6
* [new tag] v1.6.1 -> v1.6.1
* [new tag] v1.6.10 -> v1.6.10
* [new tag] v1.6.10.1 -> v1.6.10.1
* [new tag] v1.6.10.2 -> v1.6.10.2
* [new tag] v1.6.2 -> v1.6.2
* [new tag] v1.6.3 -> v1.6.3
* [new tag] v1.6.4 -> v1.6.4
* [new tag] v1.6.5 -> v1.6.5
* [new tag] v1.6.6 -> v1.6.6
* [new tag] v1.6.7 -> v1.6.7
* [new tag] v1.6.7.1 -> v1.6.7.1
* [new tag] v1.6.7.2 -> v1.6.7.2
* [new tag] v1.6.7.3 -> v1.6.7.3
* [new tag] v1.6.7.4 -> v1.6.7.4
* [new tag] v1.6.7.5 -> v1.6.7.5
* [new tag] v1.6.8 -> v1.6.8
* [new tag] v1.6.8.1 -> v1.6.8.1
* [new tag] v1.6.8.10 -> v1.6.8.10
* [new tag] v1.6.8.11 -> v1.6.8.11
* [new tag] v1.6.8.2 -> v1.6.8.2
* [new tag] v1.6.8.3 -> v1.6.8.3
* [new tag] v1.6.8.4 -> v1.6.8.4
* [new tag] v1.6.8.5 -> v1.6.8.5
* [new tag] v1.6.8.6 -> v1.6.8.6
* [new tag] v1.6.8.7 -> v1.6.8.7
* [new tag] v1.6.8.8 -> v1.6.8.8
* [new tag] v1.6.8.9 -> v1.6.8.9
* [new tag] v1.6.9 -> v1.6.9
* [new tag] v1.6.9.1 -> v1.6.9.1
* [new tag] v1.6.9.2 -> v1.6.9.2
* [new tag] v1.6.9.3 -> v1.6.9.3
* [new tag] v1.6.9.4 -> v1.6.9.4
* [new tag] v1.6.9.5 -> v1.6.9.5
* [new tag] v1.6.9.6 -> v1.6.9.6
* [new tag] v1.6.9.7 -> v1.6.9.7
* [new tag] v1.6.9.8 -> v1.6.9.8
* [new tag] v1.7 -> v1.7
* [new tag] v1.7.1 -> v1.7.1
* [new tag] v1.7.2 -> v1.7.2
* [new tag] v1.7.3 -> v1.7.3
* [new tag] v1.7.3.1 -> v1.7.3.1
* [new tag] v1.7.4 -> v1.7.4
* [new tag] v1.7.4.1 -> v1.7.4.1
* [new tag] v1.7.4.2 -> v1.7.4.2
* [new tag] v1.7.4.3 -> v1.7.4.3
Getting manifest ...
from git://android.git.kernel.org/platform/mainfest.git
fatal: The remote end hung up unexpectedly
fatal: cannot obtain manifest git://android.git.kernel.org/platform/mainfest.git

ill try again in a few.. or maybe add the inferiorhumanorgans one to pull this one down.. lol
 
mmk.. so now i get something totally differant.. after setting my name and email.. i get

tripdoc@tripdoc-linux:~/WORKING_ANDROID$ repo init -u $GITHOST/manifest
bunch of line here.. not gonna copy it all.. it ends at this

cb = self.CurrentBranch
File "/home/tripdoc/WORKING_ANDROID/.repo/repo/project.py", line 536, in CurrentBranch
b = self.work_git.GetHead()
File "/home/tripdoc/WORKING_ANDROID/.repo/repo/project.py", line 1674, in GetHead
fd = open(path, 'rb')
IOError: [Errno 2] No such file or directory: '/home/tripdoc/WORKING_ANDROID/.repo/manifests/.git/HEAD'


tried to create the directories.. no go... tried to sudo the command.. same error
 
ok guys I got this thing 99% compiled. Getting an xml error, damn mms being stubborn still. Heres my error, I'll bet reppard and jonedy have seen this one and know wtf is up:

device/lge/thunderc/overlay/MS690/packages/apps/Mms/res/xml/mms_config.xml:17: error: Error parsing XML: mismatched tag
make: *** [out/target/common/obj/APPS/Mms_intermediates/src/R.stamp] Error 1
make: *** Waiting for unfinished jobs....
dood@dood-Precision-WorkStation-530-MT:~/android/system$
 
If anyone else gets stuck on that last error I posted, open up the mms_config.xml and down toward the bottom there is a line that ends in <string/> when it should be </string>.

I sat here looking at an 800 byte file for like 5 minutes before I found that damn thing, lol.
 
Hardware failure on my development box while compiling, hmm didn't this happen to someone else in the beginning? LOL

No more progress from me, can't even get this machine to post...
 

Yeah I'm pissed. I think I might have had the latest problem I was working on fixed and that was several hours into the build. I was right there... I could taste it.

Even more pissed about the machine, tried a known good working video card, still no post. It's a dual Xeon with rambus ram and a proprietary external(sort of) power supply. Anything more than a video card or a drive is not going to be cost effective to replace.

The PC I'm on now is my HTPC/gaming rig, 6 hard drives no cdrom, no way I'm messing with ext partitions with no loot for another drive to make some backups, lol.

Apparently others develop on a virtual machine... meh, For one it sounds like it could become overcomplicated and two building a linux os with a linux os running under windows? Really? I mean I guess it could work but... well I guess if someone else don't have a problem with it more power to them... If 2 dual core xeons took hours to half-compile my lowly athalon x2 is gonna take days running VM, my attention span is not that long, lol
 
Back
Top Bottom