yashsingh1/xdaforums huggingface dataset:
[Android] Roladriz:
<manifest>
<project name="bruce2728/android_device_htc_msm8660-common" path="device/htc/msm8660-common" revision="jellybean" />
<project name="bruce2728/android_device_htc_pyramid" path="device/htc/pyramid" revision="jellybean" />
<project name="bruce2728/android_kernel_htc_pyramid" path="kernel/htc/msm8660" revision="jellybean" />
<remove-project name="CyanogenMod/android_hardware_qcom_audio" path="hardware/qcom/audio" />
<project name="bruce2728/android_hardware_qcom_audio" path="hardware/qcom/audio" revision="jellybean" />
<project name="bruce2728/android_vendor_htc_pyramid" path="vendor/htc/pyramid" revision="master" />
</manifest>

So I added bruces manifest to mine and brought in everything he builds from. I am getting this error now.

make: *** No rule to make target `out/target/product/pyramid/obj/KERNEL_OBJ/usr', needed by `out/target/product/pyramid/obj/SHARED_LIBRARIES/libOmxAacEnc_intermediates/src/omx_aac_aenc.o'. Stop.

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

external/neven/FaceRecEm/common/src/b_FDSDK/DCR.c: In function 'btk_DCR_assignImageROI':

external/neven/FaceRecEm/common/src/b_FDSDK/DCR.c:238:52: warning: signed and unsigned type in conditional expression [-Wsign-compare]

external/neven/FaceRecEm/common/src/b_FDSDK/DCR.c:239:54: warning: signed and unsigned type in conditional expression [-Wsign-compare]

target thumb C++: libI420colorconvert <= hardware/qcom/media/libI420colorconvert/ColorConvert.cpp

michael@sourcebuilder:~/android/cm$

If I'm cloning everything that he is using to release his cm10 ROM, why would I be getting errors if he is using these exact links?

Thanks again everyone.
[Android] lxetuo:
After running...

repo sync

...to update the local repository, is there a way to generate a list of changes since the last time the repo was synced?
[Android] mg2195:
Because this is aosp...not cm, your gonna run into a lot more errors
[Android] Roladriz:
OK thanks for the tip. Would you recommend adding cm's qcom repo back to my local? If you look at Bruce's manifest, he is removing cm's and I'm not sure why.
[Android] DragunKorr:
quick question i want to compile cm9.1 is there a way to repo that specific branch!

Thanks!
[Android] dastin1015:
Mesmerize uses the fascinate as the base and then builds upon it I saw in CM review. You need to clone fascinate as well.

Because he has a fix for audio included that CM doesn't have yet.

repo init -u git://github.com/CyanogenMod/android.git -b cm-9.1.0
[Android] triptosyll:
That's the thing bud. I already did clone the fascinate, AND the common-aries. They located in /device/samsung/fascinatemtd

and device/samsung/mesmerizemtd/aries-common.

So, having both of those, why am I getting that error?

EDIT: in the fascinatemtd, after cloning, I added a vendorsetup.mk file to it, the tried lunch and chose full_fascinatemtd but got the same error as when running the mesmerizemtd: build/core/config.mk:145: no config files for target product....

So running both fetches the exact same error, so I'm assuming its a file in the fascinatemtd folder....

________________________________

Bacon in my coffee, please? You don't have bacon?! Unacceptable!!
[Android] mg2195:
They go in their own seperate device trees...for me i have the infuse...it calles on Aries common when compiling. so I have working/device/Samsung/infuse4g

And I also hav working/device/Samsung/aired common

I don't put the Aries common files in my infuse4g device tree...it gets its own directory
[Android] NineInchNails:
somehow you have 2 makefiles. Look over your error output at the locations of them and you should only have one "anzu" makefile to be building from.
[Android] jmromanos:
I've deleted one, but the the terminal gives me an error saying that it can't fin the makefile that I've deleted.
[Android] NineInchNails:
Its not looking for the one you deleted. It's looking for just the one makefile in the device directory. If all else fails redo your device repo.
[Android] airbus360:
Errors

When Lunch I get this error.

build/core/product_config.mk:193: *** _nic.PRODUCTS.[[device/samsung/galaxys2/full_galaxys2.mk]]: "frameworks/base/build/phone-hdpi-512-dalvik-heap.mk" does not exist. Stop.

** Don't have a product spec for: 'full_galaxys2'
** Do you have the right repo manifest?

Anyone here know what to do, or know what is happening?
[Android] danielgek:
do you have any idea of what is causing this??

make: *** No rule to make target `out/target/product/ace/obj/STATIC_LIBRARIES/libcommondefs-rpc_intermediates/export_includes', needed by `out/target/product/ace/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/import_includes'. Stop.
[Android] stormtroopercs:
i had the same problem. i believe i fixed it by adding hdpi-512-dalvik-heap.mk to frameworks/base/build from cm9
[Android] crybert:
I think you need to change the path in your device.mk to

frameworks/native/build/phone-hdpi-512-dalvik-heap.mk
[Android] xT4Z1N4TRx:
I know, I have fixed a few by myself!

but still, i dont get how to fix that error? :s

EDIT: nevermind, fixed it :) thanks!
[Android] stormtroopercs:
can someone check my updater script and tell me whats wrong? im building for galaxys2 and i keep getting status 7 in cwm with it saying some symlinks failed

heres the meta-inf https://docs.google.com/open?id=0B3C9PGOGXlWfdmh3YTVtVXhXRGs
[Android] dan-fish:
I don't think that's the solution. Similar errors will crop up. I had to change the device tree to make all files that were pointing to frameworks/base point to frameworks/native instead. Look carefully because i missed a few.

As well as what crybert said make sure the vendorsetup.sh file says full_galaxys2-userdebug.

OT: I'm from Woking too! Even weirder, you go to the school I just left :eek:
[Android] petbede:
Ubuntu 10.04 or 11.10 or 12.04 ???

Hi All.

Please, can someone tell me which of these Ubuntu 10.04 or 11.10 or 12.04 HIGHLY COMPATIBLE AND RECOMMEND ???

PEACE!!!
[Android] dan-fish:
10.04 is the version recommended by google.
[Android] petbede:
Thanks.

Which one u using?

PEACE!!!
[Android] dan-fish:
I'm using Linux mint although it shouldn't make too much of a difference
[Android] lithid-cm:
Just curious if anyone is seeing this issue while building for maguro like me. I downloaded and installed the binaries from google just to get that out of the way. I sourced the build/envsetup.sh and used lunch to select maguro. After about 10 mins into the build it complains about apns-conf.xml.

make: *** [out/target/product/maguro/system/etc/apns-conf.xml] Error 127

If I take the apns-conf.xml from "device/sample/etc/apns-full-conf.xml" it gets past it, but then continues to complain about other files. Looks to me like all the make files are not working correctly.

In device/samsung/maguro/device.mk i see

PRODUCT_COPY_FILES := device/sample/etc/apns-full-conf.xml:system/etc/apns-conf.xml

Yet it is apparently not working at all. Before I dig deeper into this, just curious if this is an issue just for me, or an issue with AOSP in general because everything should be working right out the box for maguro.

NVM I needed the correct packages, must have missed something while setting this up. Please ignore this post.

For 64bit

git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils
[Android] petbede:
Hmmm.....

What version of it u using???

PEACE???
[Android] onlychevys:
Ok, I'm pretty good with Linux. I have tried everything I can to get the right version of Java. This is driving me f'ing nutz!! I have everything setup but Java. I had a good system that I was using but lets just say I lost it. I could build ICS with it. You can't get sdk-ver6 and 7 don't work? I've read this whole post and didn't see my problem, how are ya'll setting up Java?? Instructions in op don't work. I'm on Ubuntu 12.04 and was before I had to set this machine up. I can't even play with my ICS stuff.
[Android] lithid-cm:
Just use the openjdk-6-jdk on ubuntu 12.04. You will have to edit the build main.mk but it compiles fine.
[Android] dastin1015:
Refer to my post here: http://xdaforums.com/showpost.php?p=28584943&postcount=68
[Android] dastin1015:
Common error fixes at the bottom of the OP.
[Android] triptosyll:
K, will make the change when I get home. In my /device/samsung/ there is already a folded named 'common'. Can I put it in there? Or should it strictly be its own folder in the .../Samsung/ directory?

________________________________

Bacon in my coffee, please? You don't have bacon?! Unacceptable!!
[Android] mg2195:
It's Aries-Common your git cloning right? If yes then it should end up like this

Working/devices/Samsung/Aries-Common -without all the caps...dumb phone lol
[Android] triptosyll:
I'll get on it in about 30 mins. Thanks yo!!

________________________________

Bacon in my coffee, please? You don't have bacon?! Unacceptable!!
[Android] Roladriz:
Here is some more info on structure

http://www.intervigil.net/

http://www.netmite.com/android/mydroid/development/pdk/docs/build_new_device.html
[Android] triptosyll:
I moved the folder, but no change to the error :(

I still think it has to do with the fascinate clone, cuz alot of the mesmerize files point to the fascinate files of the same name, including the boardconfig.mk file...

The error seems to point towards that make file, and when I look at the boardconfig.mk file from the mesmerize directory, it tells me to look in boardconfig.mk file in the fascinate directory. So I'm assuming I have to alter things in the fascinate directory....

________________________________

Bacon in my coffee, please? You don't have bacon?! Unacceptable!!
[Android] mg2195:
alright...can anyone help? its not aosp, but its an aosp based rom...any idea why im getting this, and/or how i can fix it...

target Java: framework (out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes)
frameworks/base/core/java/android/app/ActivityThread.java:4090: cannot find symbol
symbol : method setTargetHeapIdealFree(int)
location: class dalvik.system.VMRuntime
VMRuntime.getRuntime().setTargetHeapIdealFree(heapIdealFree);
^
frameworks/base/core/java/android/app/ActivityThread.java:4095: cannot find symbol
symbol : method setTargetHeapConcurrentStart(int)
location: class dalvik.system.VMRuntime
VMRuntime.getRuntime().setTargetHeapConcurrentStart(heapConcurrentStart);
^
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.
2 errors
make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar] Error 41
[Android] Roladriz:
Looks like a similar error when needing imports.

EDIT: I would say that 2 symbols are missing in frameworks/base/core/java/android/app/ActivityThread.java

just need to figure how to add them in. Here are a couple of example symbols.

Maybe this will help

// send up app name; do this *before* waiting for debugger
Process.setArgV0(data.processName);

String str = SystemProperties.get("dalvik.vm.heaputilization", "" );
if( !str.equals("") ){
float heapUtil = Float.valueOf(str.trim()).floatValue();
VMRuntime.getRuntime().setTargetHeapUtilization(heapUtil);
Log.d(TAG, "setTargetHeapUtilization:" + str );
}
int heapIdealFree = SystemProperties.getInt("dalvik.vm.heapidealfree", 0 );
if( heapIdealFree > 0 ){
VMRuntime.getRuntime().setTargetHeapIdealFree(heapIdealFree);
Log.d(TAG, "setTargetHeapIdealFree:" + heapIdealFree );
}
int heapConcurrentStart = SystemProperties.getInt("dalvik.vm.heapconcurrentstart", 0 );
if( heapConcurrentStart > 0 ){
VMRuntime.getRuntime().setTargetHeapConcurrentStart(heapConcurrentStart);
Log.d(TAG, "setTargetHeapConcurrentStart:" + heapConcurrentStart );
}

I found that in cm source lines 4079-4097 https://github.com/CyanogenMod/andr...ean/core/java/android/app/ActivityThread.java

Maybe compare the two and check for missing imports.
[Android] triptosyll:
Dastin, do u know why I keep getting that error and how to fix it? I dug ALL day, and can't figure out what to do. Any suggestions? BTW, the error was "build/core/config.mk:145:***no config files found for TARGET_PRODUCT. Stop." Im stumped.

________________________________

Bacon in my coffee, please? You don't have bacon?! Unacceptable!!
[Android] cj360:
Make sure the name in your lunch menu is the same as the one in your device make files.

Sent from my R800x
[Android] triptosyll:
Well, a few posts back, I explained the whole situation as, I'm trying to build for the mesmerizemtd. I'm using jt1134 device files. They rely on the aries-common files AND the fascinatemtd files. When I look in the mesmerizemtd buildconfig.mk, it points to the fascinatemtd directory and ITS boardconfig.mk files. Now, naturally, since it IS the fascinatemtd files, its boardconfig.mk says fascinatemtd throughout it, not mesmerizemtd. I don't think that changing the names in the file will matter, cuz I've tried lunching the fascinatemtd too, and still get the exact same error.

All three of these sets of files I got (fascinatemtd, mesmerizemtd, and aries-common) are apparently cm source files. So how can I make them work for an aosp build? I am running an aosp build by sbrissen right now for my mesmerize, so I know u can build for it, but I can't seem to find ANY straight aosp device files for it. I don't know where to do a repo from to get aosp mesmerizemtd device files, instead of cm mesmerizemtd device files.

________________________________

Bacon in my coffee, please? You don't have bacon?! Unacceptable!!
[Android] mg2195:
Thanks for the help...turns out the source I'm using was missing libcore...it git added a couple hours after...I did a repo sync and that was almost the only thing added...after that compile has been working so far...had going last night but it hit an error...files in hardware/Samsung/exynos3 instead of devices/Samsung/Aries-common ...my device calls on Aries not exyonos...so I just had to fix the location mix up
[Android] cj360:
I'm not sure where to get aosp device trees. I usually start with cm trees and modify them to what I'm building. I think I've gotten the same error but I don't remember what I did to fix it.

Sent from my R800x
[Android] triptosyll:
That sucks cuz this is going on day number 2 and I can't figure this out no matter what device tree I use, or who its from, it gives me the exact same error. So for some reason, its not finding the files for TARGET_DEVICE. I don't know how to make sure its finding them

________________________________

Bacon in my coffee, please? You don't have bacon?! Unacceptable!!
[Android] incarnation95:
can anyone help me please!

i am stuck at INITIALISING THE REPO!

whenever i type the command

repo init -u https://android.googlesource.com/platform/manifest -b android-4.1.1_r4

I GET THIS ERROR:

error: cannot open /home/pranav/.repo/manifests.git/FETCH_HEAD: Permission denied
[Android] kevin130:
scrath that. Ima compile cm10 instead. i tried doing lunch and i get this.

Looking for dependencies

Dependencies file not found, bailing out.
[Android] mg2195:
Shouldn't effect the build though...as the dependencies its looking for are for cyanogen anyways...its typically just device common repo and kernel repo (for me it just adds the aries-common repo and my device kernel repo to the local_manifest

I deleted it because I was using a different Aries common repo than it was calling on and the kernel repo is pointless for aosp...so when ever I do.lunch I get the same error as you...but I can still build
[Android] kevin130:
thanks. it builds but i get this error. i think it was you who told me that i needed a prebuild kernel. im getting the error and i dont know where i can get the kernel. DO you know where to get one for the HTC SHOOTER (CDMA)?

http://pastebin.com/HJprC1sX
[Android] blazingwolf:
Yeah. You need a kernel. Have you looked for one in your device forums? Perhaps from someone that works on kernels? Even if it is a boot.img as you can split that and get the kernel.
[Android] kevin130:
I've looked everywhere but I can't find where to decompile a boot.img on Linux

Sent from my awesome HTC EVO 3D Using the XDA app.
[Android] mg2195:
http://xdaforums.com/showthread.php?t=1659584
[Android] Roladriz:
I seem to be using some qcom drivers that are a hybrid of cm9/10. I contacted the developer who's repos I'm using and he elaborated as to why he was removing cm qcom source in local_manifest. (way too buggy) Can anyone help with one more error? I don't want to ask for handouts but this has been a complete headache. I've built for 2 nexus' in the past and building for an htc phone (or 8660 for that matter) is way more involved than my pc time allows. Thanks again everyone.

http://pastebin.com/PMN6eKvB
[Android] dastin1015:
Make sure to get CM version of hardware/libhardware_legacy as well
[Android] b.huss2:
Alrighty then. I've been trying to learn how to build from source and it's been a real hair puller so far. Although I've yet to figure out how to compile a ROM all the way through without errors, I am picking up things here and there and finding great resources along the way so I decided to start from scratch with a fresh build environment and see what happens. Unfortunately it's very difficult if not impossible for someone to learn how to do this without asking someone a lot of questions, some may even sound stupid to a veteran. Some of you may know me from the evo3d section, but currently spend most of my time with the Gnex, TF201, and KFire, but I just wanted to formally introduce myself here. I've been around XDA for a while and have been a user for the most part, but I would really like to take it a step further and contribute more.

So having said all that, thanks Dastin for the tutorial! I'll definitely be back soon to report my results.
[Android] Roladriz:
@dastin1015 Kk cool bro. Thanks man. I'm at work, could you link me? I'll add it to my local and repo sync via SSH. If not... no worries.
[Android] gangstaboy13:
this error?

make: *** No rule to make target `hardware/broadcom/wlan/bcmdhd/firmware/bcm4329/Android.mk'. Stop.
[Android] blazingwolf:
Does that files exist in the given directory? If not then then you need it as it is being called for by one of the device .mk files. If your device doesn't use the bcm4329 for wifi then you need to find and remove the call.
[Android] dany547:
i got this error

device/samsung/msm7x27-common/libcamera/QualcommCameraHardware.h:34:24: fatal error: ui/Overlay.h: No such file or directory
compilation terminated.

where is this UI folder located :-?
[Android] cmikeh2:
Should be at device/samsung/msm7x27-common/libcamera/
[Android] kevin130:
i almsot got it to compile. It was there for a while until i got this erro having ot do with teh audio. I think its becuase the audio doesnt work on cm10 for the Evo 3D. Hwo do i get passed it Dastin?

http://pastebin.com/09MpcawW
[Android] dastin1015:
Actually I have audio working: http://xdaforums.com/showthread.php?t=1873926

Use the hardware/qcom/audio from my TeamJB repo. Use CM's hardware/libhardware_legacy repo
[Android] kevin130:
Thanks. IM mad excited to get it to compile. I wanted to sync cm10 to the lastest so i did repo sync again but i get this error towards the end.

Fetching projects: 100% (311/311), done.

Syncing work tree: 5% (16/310) fatal: reference is not a tree: 360f9ec8f6883e3da102188d75b4d361f1ddde59

error: revision jellybean in CyanogenMod/android_device_htc_shooter not found

kevin@kevin-laptop:~/CyanogenMod10$
[Android] dastin1015:
Use my tree as it's modified to get the exact ROM I have released today (Minus whatever CM pushed after the compile). Delete the folder and recreate it and repo init with this:

repo init -u git://github.com/TeamJB/android.git -b jellybean
[Android] kevin130:
YOU ARE AWESOME. i know you only 19 but i want to know how you learned so much so young!
[Android] dastin1015:
Haha thanks. I'm 18. I turn 19 next month. I started just like you are with source compilation and also the desire to make my own ROMs cause I wanted features and looks others don't make, I'm not a fan of themes. Lot's of trial and error. No programming learned until I came to college. I started in Dec of 2010 for developing, but didn't release anything till the HC proof of concept for the Hero CDMA in May of 2011. Just try hard and persevere and you'll succeed. :)
[Android] oguzhan mobile:
Hi. I am compiled jb from sourve. But i have bootloop. How to fix?
[Android] dastin1015:
Logcat and see what is causing it.
[Android] Reptilez_DK:
You sir, are amazing ! Thank you for all the hours you've spend debugging all of us. :D

Really appreciate it.

These typos came from my i9023
[Android] Toisan:
Hey Dudes, my setp is complet, but if i do

source build/envsetup.sh

my Device (Htc Desire = bravo) is not listed?

I cloned the repo for it, used this one:

git://github.com/nikez/android_device_htc_bravo.git

How to add it?

E:/ I only see this:

tim@tim-PC:~/android_source/jellybean$ lunch

You're building on Linux

Lunch menu... pick a combo:
1. full-eng
2. full_x86-eng
3. vbox_x86-eng
4. full_grouper-userdebug
5. mini_armv7a_neon-userdebug
6. mini_armv7a-userdebug
7. full_wingray-userdebug
8. full_crespo-userdebug
9. full_maguro-userdebug
10. full_panda-userdebug

Which would you like? [full-eng]

This is how it looks like on my PC:
[Android] blazingwolf:
Your missing the vendorsetup.sh file. This is the file that puts the info in to the lunch menu. Pull it from one of the other device trees and then modify it for your device and it should show up the next time you do the envsetup.sh.
[Android] gangstaboy13:
when i get this error:

make: *** No rule to make target `out/target/product/galaxysmtd/kernel', needed by `out/target/product/galaxysmtd/boot.img'. Stop.
make: *** Waiting for unfinished jobs....

i downloaded this repo: https://github.com/cyanogenmod/android_kernel_samsung_aries

there only is no kernel folder in my aosp folder. i made this directory aosp/kernel/samsung/aries

do i need to modify some files?

thanks!
[Android] Toisan:
now i found it, but i got a new error:

You're building on Linux

Lunch menu... pick a combo:
1. full-eng
2. full_x86-eng
3. vbox_x86-eng
4. full_grouper-userdebug
5. mini_armv7a_neon-userdebug
6. mini_armv7a-userdebug
7. htc_bravo-eng
8. htc_bravo-userdebug
9. full_wingray-userdebug
10. full_crespo-userdebug
11. full_maguro-userdebug
12. full_panda-userdebug

Which would you like? [full-eng] 7
[COLOR="Red"]build/core/product_config.mk:205: *** No matches for product "htc_bravo". Schluss.

** Don't have a product spec for: 'htc_bravo'
** Do you have the right repo manifest?
[/COLOR]
tim@tim-PC:~/android_source/jellybean$

i looked into this file, but i dont understand what i have to do.. :)

Okay, his is in OP, but i dont understand what he means, what should i change?
[Android] blazingwolf:
This has been mentioned a bunch of times in this thread. I would recommend that you go back and read it to see what has been done to fix this issue. This can also help yoou resolve any other issues you might run in to.

Basically, the naming convention you used in the vendorsetup.sh does not match the make files. You need to go through them and get the name the same.

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

So you are trying to have the kernel compiled at the same time you compile the ROM? If that's the case then you need to make sure that it is in the location specified by the device tree.
[Android] kevin130:
what the difference between userdebug and eng?
[Android] dastin1015:
http://source.android.com/source/building.html