yashsingh1/xdaforums huggingface dataset:
[XDA-University] unubtanium:
Not sure what or where I am going wrong but when i search for "gcc-4.7-multilib" in the software center it finds NO match

And when i enter this in the software center "g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline-gplv2-dev gcc-4.7-multilib g++-4.5-multilib" it only shows 5 packets that are installed so it is "missing" the gcc-4.7-multilib

Anyway, i can just grab the packet form the link i gave earlier, but just want to see if anyone thinks that if i do that and install the packers dependencys is there any chance i will break my setup and compiling will break?
[XDA-University] mithun46:
grab it from anywhere u can and try copiling :P
[XDA-University] unubtanium:
Will do, and see what happens. :fingers-crossed:
[XDA-University] mithun46:
fingers crossed :D
[XDA-University] sevenup30:
Well i finally sucessfully build.

I made it by a dirty way but working at least.

thank you for your help

http://xdaforums.com/showthread.php?t=2093573

now i have to find why i do not have sound & video playback :p
[XDA-University] unubtanium:
Oki just a quick and stupid question in the morning: (I am a noob when it comes to building and so on)

I am trying to get the AOKP built but again something is different from the OP and i have search and still not any smartes. So please do not shot me down strait away.

In the OP this is mentioned:

"cd ~/Source/vendor/cm"

But in vendor i only have aokp, asus,lge,samsung,tmobile folders and not CM...

So i thoutht that i might should change the "cm" folder to aokp, but in there i can not see the file "get-prebuilts"

I did a full serarch for anything called get-prebuilts but could not find any to give me a hint where it is.

So what am i doing wrong? or doing stupidly?
[XDA-University] mithun46:
check you rom thread :P. congratz . and for rom sound and video issues i will give you a hint : system/ibs

skip it :D
[XDA-University] sevenup30:
Yeah i laughed :D

i'll check /system/libs and try to find what's missing ;)

but dont worry i'll still post here, i'll try to build pac-man rom now for still unsuported device :D
[XDA-University] mithun46:
if u beta-test i will make a BeerGang Rom for your tab.

i don't have tab 2 10.1 . i have tab 8.9

and bro can you pm your gtalk id to me
[XDA-University] unubtanium:
:crying:

No making aokp bacon breakfast for my lovely N7000

Guess i have to go back to start and try CM :fingers-crossed:
[XDA-University] mithun46:
all the best bro
[XDA-University] ttibbetts83:
AOKP is expected to support n7000 in next 4.2 update but right now they support the nexus phones but should see s2 s3 note soon I would think just what is mentioned on the AOKP site anyways
[XDA-University] unubtanium:
I soooo wish they could hurry up the N7000 :laugh: Just have to wait i guess... Might try out the CM if it builds properly :highfive:
[XDA-University] kiksotaki:
How i can find my phones codename? My phone is alcatel 908
[XDA-University] unubtanium:
Now i am a bit lost!

As i now are stuck on bash: ./extract-files.sh: No such file or directory

My folder ~/SourceCM/device/samsung/n7000 does not contain this file.

BUT it does contain proprietary-files.sh

and i did check that file and it does look like extract-files.sh i did see online.

Running with it and see what happenes. Me like surprise.
[XDA-University] ttibbetts83:
I noticed the same so I tryed to build anyways and it failed didn't look to much in to it though going to give beer gang a try
[XDA-University] speed_bot:
are you saying that the script extract.sh isnt there in your config?
[XDA-University] ttibbetts83:
wasnt in mine, on cm or beergang

im getting this error when building cant find a fix any ideals

make: *** No rule to make target `/home/tim/beergang/out/target/product/n7000/obj/SHARED_LIBRARIES/libUMP_intermediates/export_includes', needed by `/home/tim/beergang/out/target/product/n7000/obj/SHARED_LIBRARIES/gralloc.exynos4_intermediates/import_includes'. Stop.

make: *** Waiting for unfinished jobs....
[XDA-University] unubtanium:
Jupp, that is right. no extract-files.sh at all. Have even searched my Source folder and nothing.
[XDA-University] mithun46:
OP Updated With Correction brothers . sorry for being late . i was in school
[XDA-University] unubtanium:
NO Prob, school before this ;)
[XDA-University] mithun46:
am only 13 . so i need to study
[XDA-University] MatZ69:
Hey. im starting compiling the Cm10.1 BeerGang por my Samsung Gio but i'm stocked on breakfast ***** bcz my device is not found...

Okay now i dont undersand what i should do... Any sugestions? :)

Btw great guide. I hope it works for me :P
[XDA-University] unubtanium:
What device code do you use??
[XDA-University] mithun46:
try breakfast gio
[XDA-University] mithun46:
OP updated for a small error
[XDA-University] mithun46:
yes . official cm10.1

chasmodo tweaked it to remove unnecessary files that normal users don't use
[XDA-University] ttibbetts83:
OK will flash official ROM and give it a try
[XDA-University] sevenup30:
My device can t get wifi IP address by DHCP but static work any idea where to look ?
[XDA-University] mithun46:
device tree.
[XDA-University] ttibbetts83:
still getting this

make: *** No rule to make target `/home/tim/android/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libUMP_intermediates/export_includes', needed by `/home/tim/android/system/out/target/product/n7000/obj/SHARED_LIBRARIES/gralloc.exynos4_intermediates/import_includes'. Stop.

make: *** Waiting for unfinished jobs....
[XDA-University] ktempleton:
The export and import includes are just empty documents so you can go to that file mentioned and create an empty document and name it accordingly
[XDA-University] MatZ69:
I used GIO, GT-S5660 and S5660

Nop didnt work...

btw i dont have official release from CM for my device so i need to compile an unofficial Rom...

I can't do it in this method?
[XDA-University] sevenup30:
yes but i dont find anything about wifi... In static it works but only dhcp can't get IP so weird
[XDA-University] mithun46:
it will come in later releases. cyanogenmod 10.1 is in its early stages
[XDA-University] mithun46:
bro . device tree is everything related to the phone
[XDA-University] mithun46:
it shuld be supported atleast once by a cyanogenmod dev.

otherwise check on xda for porting roms
[XDA-University] ttibbetts83:
so your saying its normal because a am still getting this error when i try to build and this even after starting fresh and redownloading everthing

make: *** No rule to make target `/home/tim/cm-10.1/out/target/product/n7000/obj/SHARED_LIBRARIES/libUMP_intermediates/export_includes', needed by `/home/tim/cm-10.1/out/target/product/n7000/obj/SHARED_LIBRARIES/gralloc.exynos4_intermediates/import_includes'. Stop.

make: *** Waiting for unfinished jobs....
[XDA-University] mithun46:
these files are not there bcoz it is on cm10.1 is not comple.

wait few weeks bro
[XDA-University] dsouleles:
Thanks for the guide - worked great for my Galaxy Tab 10.1 (p4wifi)

Trying to build for Nexus S (crespo)

After running "breakfast crespo

There is no extract-files.sh or proprietary-files.sh in device/samsung/crespo

Any suggestions would be appreciated.

D.
[XDA-University] mithun46:
flash a ics cyanogenmod build.

and then run : extract-files.sh
[XDA-University] dsouleles:
Hi - thanks for the reply, but I don't understand. How will flashing an ICS ROM help? The problem is the extract-files.sh script is missing from the build. By the way - I am already running the official CM10 stable release on the phone.

D.
[XDA-University] jacobmacek:
this post wont delete

sorry

---------- Post added at 12:33 AM ---------- Previous post was at 12:07 AM ----------

Start the build

cd ~/Source
brunch *****

Here ***** is the Phone Codename

If the build breaks...

If you experience this not-enough-memory-related error...

ERROR: signapk.jar failed: return code 1make: *** [out/target/product/n7100/cm_n7100-ota-eng.root.zip] Error 1

...you may want to make the following change to This File : system/build/tools/releasetools/common.py

Change: java -Xmx2048m to java -Xmx1024m or java -Xmx512m

Then start the build again (with brunch).

If you see a message about things suddenly being “killed” for no reason, your (virtual) machine may have run out of memory or storage space. Assign it more resources and try again.

Install the build

Assuming the build completed without error (it will be obvious when it finishes), type:

# cd $OUT

in the same terminal window that you did the build. Here you’ll find all the files that were created. The stuff that will go in /system is in a folder called system. The stuff that will become your ramdisk is in a folder called root. And your kernel is called... kernel.

But that’s all just background info. The two files we are interested in are (1) recovery.img, which contains ClockworkMod recovery, and (2) cm-[something].zip, which contains ROM.

Install ROM

Back to the $OUT directory on your computer-- you should see a file that looks something like:

cm-10-20120718-UNOFFICIAL-***.zip

Here *** is the phone codename

Now you can flash the ...zip file above as usual via recovery mode. (Be sure you have backed up any previous installation before trying your new build.)

People Who Successfully Compiled Using My Guide​

​

THIS IS KANGED FROM HERE AND CHANGED A LITTLE[/QUOTE]

Hi, I am trying to compile BeerGang for Nexus 7, I fixed all of my previous errors myself but I cannot find anything refering to the error I am recieving. After i started the build, it broke about 20mins in and gave me the following:

make: *** Waiting for unfinished jobs....

make: *** [/home/jacobmacek/Source/out/target/product/grouper/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/css/CSSValueKeywords.h] Error 25

make: *** Deleting file `/home/jacobmacek/Source/out/target/product/grouper/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/css/CSSValueKeywords.h'
[XDA-University] mithun46:
bro try ics. it helps.

will explain later
[XDA-University] mithun46:
BeerGang Officially supports nexus7
[XDA-University] speed_bot:
all the device treees for msm7x27 gio mini fit ace is on androidarmv6
[XDA-University] mithun46:
Off-Topic . Nice WallPaper
[XDA-University] unubtanium:
*Saved in Wallpaper singel screen*

This is now pissing me off:

make: *** No rule to make target `/home/tv/SourceB/out/target/product/n7000/obj/SHARED_LIBRARIES/libUMP_intermediates/export_includes',

needed by `/home/tv/SourceB/out/target/product/n7000/obj/SHARED_LIBRARIES/gralloc.exynos4_intermediates/import_includes'.
[XDA-University] unubtanium:
Well not sure what fixed it, but i just started from the top one last time and it now looks like it has gone past the export_includes error and stopped. :highfive:

So lets see what happens

Also this problem is being talked about here to in post 716:

http://xdaforums.com/showthread.php?p=29498048
[XDA-University] jacobmacek:
I know this,

I would still like to compile this, are you telling me to ask them?
[XDA-University] ttibbetts83:
I think what he means by that is you can just flash there ROM that has already been build or maybe if the officially support it you don't need to pull the files with the script you just be able to build with what is already there just a guess though
[XDA-University] lozohcum:
What if my phone isn't officialy suported but it meets requirements? I want to build cyanogen mod or any other rom (ICS or JB) for my Xperia J.

Please be understanding to my lack of knowledge. I want to learn building android roms so that I can spend much time for that during next holidays and build one stable rom.
[XDA-University] mithun46:
use my guide.

use device codename as jlo
[XDA-University] sevenup30:
How can it repo sync without commit ? Someone told me to create local branch but i dont know how ?
[XDA-University] dexxa05:
Hi,

Using your method can i compil CyanogenMod for Android Phone that's come from China and are not officialy supported by CyanogenMod?!

Thx in advance

Regards

Dexx
[XDA-University] daggerxXxsin:
any help would be appreciated

anyone know what this error means?

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

31 errors

make: *** [/home/sin/android/cm/out/target/common/obj/APPS/Apollo_intermediates/classes-full-debug.jar] Error 41

make: *** Waiting for unfinished jobs....

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

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.

tried googling it, but no dice.
[XDA-University] ktempleton:
I need more lines of the errors because it says you have a bunch of them there
[XDA-University] daggerxXxsin:
Here you go:

http://pastebin.com/X1Fj2vgQ

thanks for the help. I tried resyncing just in case something didn't sync right. but everything checks out fine. at least as far as a noob like me can tell. :silly:
[XDA-University] ktempleton:
Well looking at it the first question i have to ask is did you lunch or brunch your device because it looks like it is building common and not a specific device for instance when you type. Build/envsetup.sh && brunch i577 this is for building cm

What device are you building for and did you put your device tree and vendor tree in there
[XDA-University] daggerxXxsin:
i am trying to build for the galaxy nexus. i typed the following commands:

source build/envsetup.sh

brunch (then chose option 22 for cm_maguro-userdebug)

i do have vendor/samsung/maguro and device/samsung/maguro folders in my source directory. is that what you were asking?
[XDA-University] ktempleton:
Yes that's what i was asking right now I'm at work using my phone why don't you try. . Build/envsetup.sh && brunch maguro see if you get the same error then if you do i would go to cyanogenmods github find that packages apps Apollo and download it as a zip first let me ask you this are you building in a virtual enviorment because if you are you might be running out of memory say you set your swap to low

Something just doesn't seem right my out put path is out/target/product/i577. In your error it seems to be going to. Out/target/common. I can try to run a nexus build when i get home and see if that is normal im just not sure.. i get off at midnight and if someone hasn't helped you solve it I'll look at the error on my comp and see what i can come up with...
[XDA-University] daggerxXxsin:
I'm running a dual boot setup with windows 7 and linux mint 13. i have 4gb ram and 2gb swap partition. i'll try running one now. and i'll update you on how it goes. thanks for the help.:good:
[XDA-University] ktempleton:
When you say dual boot do you mean that you installed Linux on its own partition or are you running Linux from within windows my guess is from within windows and if that is correct 2 gig is not enough swap you need more like 10 gig. Again i just run Linux but from what I've picked up around here uping your swap might fix your error
[XDA-University] daggerxXxsin:
it has it's own partition. i select it from the boot menu when i turn the computer on. what does this output mean?

Trying dependencies-only mode on a non-existing device tree?

i tried build/envsetup.sh && brunch maguro and that's one of the things that came out.
[XDA-University] ktempleton:
Can you post the whole thing before that so i can see if it's setting up

Ctrl c will stop the build

Also are you building cm10 or 10.1
[XDA-University] daggerxXxsin:
I am building cm10.1. before that mate, dunno what happened but, when repo sync all I get is:

fatal: Couldn't find remote ref refs/heads/master

Unexpected end of command stream

fatal: Couldn't find remote ref refs/heads/master

Unexpected end of command stream

error: revision refs/heads/master in manifests not found

i cannot understand what is happening here :confused:
[XDA-University] ktempleton:
Before it s says trying on a non existing device tree right after you type the build command it comes up with the setup into tells you which version your building which phone like i577 or maguro that stuff

---------- Post added at 10:14 PM ---------- Previous post was at 10:13 PM ----------

Cm could be updating and their git might be down
[XDA-University] daggerxXxsin:
here's what comes up:

brunch maguro

including vendor/cm/vendorsetup.sh

Trying dependencies-only mode on a non-existing device tree?

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=4.2.1

TARGET_PRODUCT=cm_maguro

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

HOST_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.2.0-23-generic-x86_64-with-LinuxMint-13-maya

HOST_BUILD_TYPE=release

BUILD_ID=JOP40D

OUT_DIR=/home/sin/android/cm/out

============================================

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=4.2.1

TARGET_PRODUCT=cm_maguro

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

HOST_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.2.0-23-generic-x86_64-with-LinuxMint-13-maya

HOST_BUILD_TYPE=release

BUILD_ID=JOP40D

OUT_DIR=/home/sin/android/cm/out

============================================

Checking build tools versions...
[XDA-University] ktempleton:
When i get home and in front of my comp I'll see what i can come up with

Also can you pm me your local manifest xml
[XDA-University] daggerxXxsin:
meanwhile i think i have to resync the entire source. this'll take forever, only have 2mbps connection.
[XDA-University] trevd:
You never have to do that buddy. Once you've got the entire source unless your committed stuff you'll just grabbing what you've already got. A trick I use is delete the entire contents of you build tree apart from .repo directory then repo sync to repopulate
[XDA-University] progster:
I read somewhere on Cms site that they were having server problems and that they were working vigorously to repair the problem but the git server was not responding properly.
[XDA-University] daggerxXxsin:
I don't mind resynching. Just to make sure i don't make any mistakes. But that's very good to know, for future reference.
[XDA-University] krishna.kowshik:
Is it possible to build for HTC desire x ?

i want to build a custom rom for HTC desire x..can you pls tell me where to start ?
[XDA-University] warfareonly:
Read the guide.
[XDA-University] prototype7:
In the guide, it says to run ./build/envsetup.sh then breakfast ******, but breakfast won't run unless you run . build/envsetup.sh with a space instead of a /, like it says in the tip under it. Is it necessary to run it with the / and the space, or just the space? Either way, it would be great if that part could be clarified.
[XDA-University] jjhiza:
Just run:

. build/envsetup.sh

lunch

That process has always worked fine for me. I compile AOSP with Mint 14 though, so I can't be 100% certain that you'll have success of you're using Ubuntu, and building CM. Mint is based on 12.10 though, so you should be fine. Hope this helps. :)
[XDA-University] prototype7:
I got it working by running . build/envsetup.sh, but the guide says to run ./build/envsetup.sh, which looks like it works but gives a command not found error when trying to run breakfast or lunch.
[XDA-University] jjhiza:
It may just be a typo honestly, but unfortunately, that slave between the period and "build" is essential to getting the command to work. I'm glad you got things up and running though! Once you get your first working build done, you'll be super excited! :)
[XDA-University] dj_def:
What about if I would like to use google android original repos instead of cyanogenmod repos and build my rom for different devices?
[XDA-University] jjhiza:
If you want to build AOSP from source, the steps are similar, but not the same. Give me a minute, and I'll give you a couple of links to guides. I build AOSP, so I know these guides are good.

Xda thread: http://xdaforums.com/showthread.php?t=1386615

Android Central thread: http://forums.androidcentral.com/showthread.php?t=189699

In my opinion, the AC guide is a bit more complete, but the Xda thread seems to have more activity. What I did was follow the AC guide, and then ask questions on Xda. Hope this helps, and good luck! :)
[XDA-University] dj_def:
These cover only nexus devices. My final goal is to build for a galaxy s3. Thanks for the help!
[XDA-University] jjhiza:
Ah, sorry man. I usually check the forums from my phone, so I didn't see that you have an S3. From what I understand, the S3 is notoriously bad with AOSP builds. I'll look for a guide on how to port ROMs, and I'd be willing to let you use my build to test on if you want.
[XDA-University] dj_def:
you're very kind... the important to me is to understand how the thing can be done, so I can always have the most recent version. Thanks again :)
[XDA-University] jjhiza:
Take a look at this thread: http://xdaforums.com/showthread.php?t=1598713

I haven't read all the way through it, but here's what I'm thinking... You have a guide here, for building AOSP for the Nexus; I say, follow that guide, and build either Toro or yakju (GSM), depending on what carrier you have. Find someone to verify that the build boots and works fine, then follow the guide I just linked to, and port your AOSP Nexus build over to your S3.

Doing this will still allow you to learn how to compile a ROM, and it also won't require you to use someone else's build a a base. You can build your own base however you want, then port it yourself. I just don't know of a guide to compiling for an S3, so I figured this option would give you the most hands on experience. :)
[XDA-University] dj_def:
Great! It seems what I was looking for. Thanks!
[XDA-University] mafamafa:
Can I use this manual to install Cyanogenmod on unsuported device (eg: RK 3066, Cortex A9 Dual Core, 1.6GHz, GPU Mali-400)?
[XDA-University] jjhiza:
You need to see if CM has a build for your device. If not, then the best you can probably do, is follow my advice on the previous page... Build for a similar device, and then try to port the ROM to your device.
[XDA-University] Aldokazer:
Mmmm......

So I haven't actually build an environment yet, but can't we get compressed source? I have quite a slow connection due to Fixed cap limit and do not want to download anything 2gb+...

Any ideas....??
[XDA-University] jjhiza:
Might be impossible, honestly. Even if I (just as an example) zipped up the source, it would still be at least 10GB. I'd suggest asking a friend with a higher data cap, and a better connection, if you can utilize their service for an afternoon, to get the source downloaded. :)
[XDA-University] mithun46:
Isn't no one using this guide now.

Why is this thread very sleepy/not active

Please provide feedback if this works.
[XDA-University] AndyFox2011:
Works like a charm, used it a while ago too set up on 12.10 :)
[XDA-University] AndyFox2011:
What would I need too modify to build new PACman if I have a CM10.1 device config?
[XDA-University] jjhiza:
I'd assume you just need to sync the PACman repo, and build it the same way you would with anything else. Their github should have build instructions as well...Most devs include them as a courtesy. :)
[XDA-University] sswb27:
Compiling cm10.1 worked great for my sgs3 d2tmo. Just wondering if i can compile beergang for my device even if it isn't officially supported by beergang?

Thank's for the tutorial it's been fun setting this up.
[XDA-University] mithun46:
You can compile. Be sure to post a link to rom thread here