[Q] Problems on Building CM ROM - ONE Q&A, Help & Troubleshooting

Does anyone know why my WHOLE ubuntu freeze when i try to brunch it ?
And also, why i get 404 on repo init on the CM github on either cm12.1 or 13.0 ?

Environment is setup fine? If yea then your specs?
The 404 is only for curl command, it is a warning not error. It doesn't mean anything in sync
Transmitted via BACON

Related

[Q] Error trying to compile 4.2 for toro

Hi all I am attempting to compile 4.2 for toro and ran into an issue. I synced my repo, got the new binaries, setup up build enironment, did lunch and choose option 13 (full_toro_userdebug), enter the command "make -j4 otapackage" and when it gets to checking build tools version I get the following error message
"build/core/binary.mk:11: *** external/bzip2: LOCAL_NDK_VERSION is now retired.. Stop"
Does anyone know how to resolve this? Any help will be greatly appreciated.
Mattv111 said:
Hi all I am attempting to compile 4.2 for toro and ran into an issue. I synced my repo, got the new binaries, setup up build enironment, did lunch and choose option 13 (full_toro_userdebug), enter the command "make -j4 otapackage" and when it gets to checking build tools version I get the following error message
"build/core/binary.mk:11: *** external/bzip2: LOCAL_NDK_VERSION is now retired.. Stop"
Does anyone know how to resolve this? Any help will be greatly appreciated.
Click to expand...
Click to collapse
I'm getting the same error, haven't figured it out yet. Currently grepping through to see if it's defined somewhere that it shouldn't be.
emil10001 said:
I'm getting the same error, haven't figured it out yet. Currently grepping through to see if it's defined somewhere that it shouldn't be.
Click to expand...
Click to collapse
I found this https://groups.google.com/forum/?fromgroups=#!topic/android-building/jKY5ehRwQbg
"You can first try: "rm -rf prebuilt ; repo sync -l prebuilt"
If that's still not enough: "rm -rf prebuilt ; repo sync prebuilt"
If that's still not enough and you have a solid internet connection:
"rm -rf prebuilt .repo/projects/prebuilt.git ; repo sync prebuilt".
JBQ"
I'm new to compiling source, so I'm not sure what those commands would do.
Mattv111 said:
I found this https://groups.google.com/forum/?fromgroups=#!topic/android-building/jKY5ehRwQbg
"You can first try: "rm -rf prebuilt ; repo sync -l prebuilt"
If that's still not enough: "rm -rf prebuilt ; repo sync prebuilt"
If that's still not enough and you have a solid internet connection:
"rm -rf prebuilt .repo/projects/prebuilt.git ; repo sync prebuilt".
JBQ"
I'm new to compiling source, so I'm not sure what those commands would do.
Click to expand...
Click to collapse
I tried that already. Thanks though.
EDIT: Did that work for you?
emil10001 said:
I tried that already. Thanks though.
Click to expand...
Click to collapse
Try resyncing your repo. I did that and its building now
Mattv111 said:
Try resyncing your repo. I did that and its building now
Click to expand...
Click to collapse
I got a reply from JBQ: https://groups.google.com/forum/?fromgroups=#!topic/android-building/OMPKxOHG0t0
We did a sync in the middle of a replication. Supposed to wait another couple of hours before trying to sync.
emil10001 said:
I got a reply from JBQ: https://groups.google.com/forum/?fromgroups=#!topic/android-building/OMPKxOHG0t0
We did a sync in the middle of a replication. Supposed to wait another couple of hours before trying to sync.
Click to expand...
Click to collapse
Ahh makes sense as I'm now running into other errors
Mattv111 said:
Ahh makes sense as I'm now running into other errors
Click to expand...
Click to collapse
Looks like it's good to go now: https://groups.google.com/forum/?fromgroups=#!topic/android-building/xtgWmUvl0RM

[Q] Source init error

Hey Guys, all the time I try to initial my repo I'm gettin those two errors:
Code:
line 1: syntax error near unexpected token `newline'
Code:
line 1: `<!DOCTYPE html>'
And I'm gettin those with all repos doesn't matter whether I'm using AOKP or CM or even Carbon. And I'm gettin the same with Ubuntu 12.04 and 13.10. Do you know how to get it work ?

remote object '/system/lib/libhuawei-ril.so' does not exist

Hi all,
I want to build cm 11 for my A700 but the build fails.
The build says:
make: *** No rule to make target 'vendor/acer/a700/proprietary/bin/rild', needed by '/home/triv/android/a700/out/target/product/a700/system/bin/rild'. Stop.
Click to expand...
Click to collapse
I guess the cause is that the ./extract-files.sh get following error:
remote object '/system/lib/libhuawei-ril.so' does not exist
Click to expand...
Click to collapse
I guess I need this file. But I have installed the regular nightly of cm11 so, why are they not inside?
Does anybody know where I can get this file?
I found solution on IRC from cyanogenmod. The lib files in the cyanogenmod nightly are not complete. So the exact-files.sh could not work! Sum up it was 3 files which was missing.
You got all from: git clone https://github.com/TheMuppets/proprietary_vendor_acer.git -b cm-11.0 vendor/acer

[Q] Repository unavailable due to DMCA takedown. Doing Repo sync cm11

I did do a cm11 repo sync to update my source and now i get this:
Fetching projects: 99% (471/475) Fetching project CyanogenMod/android_packages_apps_Email
fatal: remote error:
Repository unavailable due to DMCA takedown.
See the takedown notice for more details:
https://github.com/github/dmca/blob/master/2014-12-22-Cambridge-Mobile.md.
error: Cannot fetch CyanogenMod/android_external_svox
error: Exited sync due to fetch errors
I did a sync on cm10.2 and alsow get:
Fetching project platform/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6
Fetching projects: 99% (394/397) fatal: remote error:
Repository unavailable due to DMCA takedown.
See the takedown notice for more details:
https://github.com/github/dmca/blob/master/2014-12-22-Cambridge-Mobile.md.
error: Cannot fetch CyanogenMod/android_external_svox
error: Exited sync due to fetch errors
[email protected]:~/cm10.2$
Could someone just fix this?????
**** the DMCA!!!!!!!!!!!!!!! Most of us did pay a lot on phones.
I have the same problem today maybe a github problem. repo sync ask me to logon on github. I have tried with my github login but without success.
just ran into the same problem here, my work around was simply to remove that repo from the repo list.
just before repo sync, do this
Code:
nano .repo/manifests/default.xml
press ctrl+w <-- this will open search
type CyanogenMod/android_external_svox
enter
now remove that entire line
ctrl+o to save, followed by enter and ctrl+x to close nano
repo sync
do note, I'm not sure what function this repo serves, just that it shouldnt effect me, since im not building a rom from the source, only using CM to build kernels and recoveries, I hope.
Edit: I'm running into a building error now, so be careful, it could just be CM11 error, or due to my bypass.
Edit2: it's an art compiling problem.
http://review.cyanogenmod.org/#/c/82828/
Thunder07 said:
just ran into the same problem here, my work around was simply to remove that repo from the repo list.
just before repo sync, do this
Code:
nano .repo/manifests/default.xml
press ctrl+w <-- this will open search
type CyanogenMod/android_external_svox
enter
now remove that entire line
ctrl+o to save, followed by enter and ctrl+x to close nano
repo sync
do note, I'm not sure what function this repo serves, just that it shouldnt effect me, since im not building a rom from the source, only using CM to build kernels and recoveries, I hope.
Edit: I'm running into a building error now, so be careful, it could just be CM11 error, or due to my bypass.
Edit2: it's an art compiling problem.
Click to expand...
Click to collapse
what about the old repo like cm10.1, cm10.2 and etc. Are this 'android_external_svox' will take effect on compiling rom?
bangdes said:
what about the old repo like cm10.1, cm10.2 and etc. Are this 'android_external_svox' will take effect on compiling rom?
Click to expand...
Click to collapse
I wasnt building ROMs so it didn't matter to me...
but I just resync'ed after few hours and the repo was automatically re-linked to asop and it was still available there.
so it worked.. and it was cm11.
if you're on another version and it hasn't been fixed, just lock at the local manefest.xml or what ever the name is and change the repo manually.
to do so after you open the xml search for "android_external_svox".
Thunder07 said:
I wasnt building ROMs so it didn't matter to me...
but I just resync'ed after few hours and the repo was automatically re-linked to asop and it was still available there.
so it worked.. and it was cm11.
if you're on another version and it hasn't been fixed, just lock at the local manefest.xml or what ever the name is and change the repo manually.
to do so after you open the xml search for "android_external_svox".
Click to expand...
Click to collapse
Can I copying from different version, for example : jellybean-stable > cm10.1/cm10.2?
Sent from my GT-I9300 using XDA Premium 4 mobile app

[Q]Repo Instructions for JFLTE 5.x?

I know that Jake had to step away from the project, and I pretty much intend on running my jfltetmo into the ground, so I'll be on jflte long-term. I'd like to start giving back to the community by seeing if I can pick up where Jake left off. I'm an electrical engineer with plenty of programming experience. I just don't have much in the embedded world. I saw that Jake had some work posted to Github on the 5.1 branch for jflte, but when I follow the directions in omnirom's Github Readme, I get an error of
error: Cannot fetch android_device_samsung_jflte
Can I manually copy the files, and where do they fit within the android structure?
Is Android Studio a good IDE for ROM development?
uagent said:
I know that Jake had to step away from the project, and I pretty much intend on running my jfltetmo into the ground, so I'll be on jflte long-term. I'd like to start giving back to the community by seeing if I can pick up where Jake left off. I'm an electrical engineer with plenty of programming experience. I just don't have much in the embedded world. I saw that Jake had some work posted to Github on the 5.1 branch for jflte, but when I follow the directions in omnirom's Github Readme, I get an error of
error: Cannot fetch android_device_samsung_jflte
Can I manually copy the files, and where do they fit within the android structure?
Is Android Studio a good IDE for ROM development?
Click to expand...
Click to collapse
Hmm, post the full error log? Also, if the branch is only in Jake's personal repos you may need to use a custom local manifest to use that for the device tree instead of Omni's jflte device tree.
I personally just use grep + emacs, I've never been much of an IDE person.
Entropy512 said:
Hmm, post the full error log? Also, if the branch is only in Jake's personal repos you may need to use a custom local manifest to use that for the device tree instead of Omni's jflte device tree.
I personally just use grep + emacs, I've never been much of an IDE person.
Click to expand...
Click to collapse
Hi, thanks for getting back to me! I deleted the directory and reinitialized the omni repo. Here is the error I keep getting, it seems to be choking on arm/linux/androideabi:
repo sync -j8 -f --no-clone-bundle|tee >> reposynclog.txt 2>&1
Fetching projects: 100% (480/480), done.
Syncing work tree: 93% (447/480) error: in `sync -j8 -f --no-clone-bundle`: [Errno 2] No such file or directory: u'/media/rhill/25e87ad3-e539-4009-9c40-0ab4db81d8e0/rhill/WORKING_DIRECTORY/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/.git/HEAD'
error: manifest missing or unreadable -- please run init
I re-ran
Code:
repo init -u git://github.com/omnirom/android.git -b android-5.1 > repoinitlog.txt 2>&1
Which doesn't seem to have thrown any errors at me, but I keep returning to the same broken package, even when I just run repo sync, with no options.

Categories

Resources