yashsingh1/xdaforums huggingface dataset:
[Android] jacobmacek:
just a question

thank you for the link, i got the necessary file but it looks like im hitting one last speed bump, when i make my selection from the lunch menu, i get the following,

Which would you like? [full-eng] 7

build/core/product_config.mk:195: *** device/inc/inc.mk: PRODUCT_NAME must be unique; "full_inc" already used by device/htc/inc/inc.mk device/inc/inc.mk . Stop.

** Don't have a product spec for: 'full_inc'

** Do you have the right repo manifest?

jacobmacek@ubuntu:~/WORKING_DIRECTORY$

what further action do i need to take for my rom to compile?

---------- Post added at 12:48 AM ---------- Previous post was at 12:21 AM ----------

thankyou for the link, i have all my necessary files in place, but now when i go to compile i get this,

Which would you like? [full-eng] 7

build/core/product_config.mk:195: *** device/inc/inc.mk: PRODUCT_NAME must be unique; "full_inc" already used by device/htc/inc/inc.mk device/inc/inc.mk . Stop.

** Don't have a product spec for: 'full_inc'

** Do you have the right repo manifest?

jacobmacek@ubuntu:~/WORKING_DIRECTORY$

im not familiar with the files its referring to, and how should i rename them? Thank you for the help, can i donate to you thru paypal?:laugh:
[Android] stormtroopercs:
if the camera wont compile and keeps spewing out this error

make: *** [out/target/product/galaxys2/obj/SHARED_LIBRARIES/camera.exynos4_intermediates/CameraWrapper.o] Error 1

how do you make it so it wont try to compile it?
[Android] dastin1015:
The file galaxys2_base.mk delete the lines camera.exynox4 and camera from PRODUCT_PACKAGES.
[Android] stormtroopercs:
ok i think this is the last one. i cant fix it

make: *** No rule to make target `out/target/product/galaxys2/obj/SHARED_LIBRARIES/libsurfaceflinger_client_intermediates/export_includes', needed by `out/target/product/galaxys2/obj/STATIC_LIBRARIES/libsecosal_intermediates/import_includes'. Stop.

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

Export includes file: hardware/samsung/exynos/multimedia/openmax/osal/Android.mk -- out/target/product/galaxys2/obj/STATIC_LIBRARIES/libsecosal_intermediates/export_includes
[Android] tomgus1:
Hi, I've been trying to build JB for the x10 and haven't been having much luck. Currently I'm getting stuck with this message appearing: "find: ‘src’: No such file or directory" then I get this scroll.

Can anyone help me with this?

Cheers :)
[Android] sk8erwitskil:
im getting this same type of error when trying to build for my skyrocket. does anyone know how to fix this?
[Android] stormtroopercs:
i fixed it but now im getting this...

Install: out/target/product/galaxys2/system/lib/libwebrtc_audio_preprocessing.so

make: *** No rule to make target `frameworks/base/data/etc/android.hardware.audio.low_latency.xml', needed by `out/target/product/galaxys2/system/etc/permissions/android.hardware.audio.low_latency.xml'. Stop.

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

target SharedLib: libaudiopreprocessing (out/target/product/galaxys2/obj/SHARED_LIBRARIES/libaudiopreprocessing_intermediates/LINKED/libaudiopreprocessing.so)

my build is almost done just this :(

PS: i fixed it by editing the android.mk in this path

hardware/samsung/exynos/multimedia/openmax/osal/Android.mk
[Android] T-Macgnolia:
I am having the same issue as the above post. When I type in the below.

sudo apt-get install sun-java6-jdk

I get,

Package sun-java6-jdk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package sun-java6-jdk has no installation candidate

If I go to java.sun.com which package should I download and install. Is it Java SE 6 updated 33, Java 6 update 31 with Java EE, or JDK 6 update33 with NetBean 7.1.2? I think it is one of the last two but i am not sure.
[Android] dastin1015:
Download any version and install it. Make sure Java 6 JDK is installed by typing in:

$ java -version

Open the file main.mk in build/core and delete this line from the java error code section:

$(error stop)
[Android] dastin1015:
https://github.com/CyanogenMod/android_device_samsung_d2tmo

https://github.com/CyanogenMod/android_device_samsung_d2-common
[Android] evodev:
im having problems with the android sdk. with the $ android command it opens up, but does not sync, and i went to options and forced it to use http:/ instead of https://

also on step six i get this:

(detracted)@ubuntu:~$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- 0:00:21 --:--:-- 0

curl: (7) couldn't connect to host

i also tried changed the http:// connection for that also

and trying $ android again terminal gives me this, and nothing syncs:

(detracted)@ubuntu:~$ android

Jul 10, 2012 11:42:35 PM org.apache.http.impl.client.DefaultRequestDirector tryConnect

INFO: I/O exception (java.net.NoRouteToHostException) caught when connecting to the target host: Network is unreachable

Jul 10, 2012 11:42:35 PM org.apache.http.impl.client.DefaultRequestDirector tryConnect

INFO: Retrying connect

Jul 10, 2012 11:42:56 PM org.apache.http.impl.client.DefaultRequestDirector tryConnect

INFO: I/O exception (java.net.NoRouteToHostException) caught when connecting to the target host: Network is unreachable

Jul 10, 2012 11:42:56 PM org.apache.http.impl.client.DefaultRequestDirector tryConnect

INFO: Retrying connect

Killed

i killed it at the end. im currently using ubuntu 10.1 64bit in vmware on my laptop. 2gb of ram, but only one core given, which i dont think makes a difference. also i have jdk 7 if it changes anything.
[Android] dastin1015:
Maybe a little obvious, but is your virtual machine connected to the internet?
[Android] evodev:
maybe this will help: im replying to you on my virtual machine right not. so im assuming its connected, but I can always be wrong. i downloading all the updates after installing it fresh today because i have ubuntu 12 before. and its downloaded all the other files before step six except for in the sdk. I figured out all the other user-error problems i had before.
[Android] dastin1015:
I haven't ran into that problem before nor have I seen it before, so I am of no help. Hopefully somebody else knows the answer. Sorry.
[Android] podanimesh:
@dastin i have a question my repo is currently being downloaded.before i start compiling i want to ask that i want to compile for P990.it has prebuilt kernel so what to do in that case.
[Android] danielgek:
any one having this error??

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] xT4Z1N4TRx:
How long does

usually take?
[Android] vampire36:
make: *** No rule to make target `hardware/qcom/gps/loc_api/libloc_api-rpc/inc-50000/loc_api_cb.h', needed by `out/target/product/saga/obj/include/libloc_api-rpc/inc/loc_api_cb.h'. Stop.

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

Anyone can help ??
[Android] danielgek:
for me just a few seconds
[Android] jmromanos:
I'm getting this error:

build/core/product_config.mk:195: *** device/semc/anzu/semc_anzu/device_anzu.mk: PRODUCT_NAME must be unique; "anzu" already used by device/semc/anzu/device_anzu.mk device/semc/anzu/semc_anzu/device_anzu.mk . Stop.

** Don't have a product spec for: 'anzu'

** Do you have the right repo manifest?

How can I fix it?
[Android] dastin1015:
[/QUOTE]

You need a graclloc header file in your device repo under overlay/include or include. Look in my device repo for the epic4gtouch in my github account.

私のEVO 3Dから送信される。
[Android] dastin1015:
In the inc.mk file in device/inc the line PRODUCT_NAME is using full_inc change it to inc

No problem! If you want to you can. My donate link is under my username.

私のEVO 3Dから送信される。
[Android] jacobmacek:
one last question!

thanks for the help again, i did what you said and it fixed it, now when i make my selection i get this,

Which would you like? [full-eng] 7

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

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=4.1.1

TARGET_PRODUCT=full_inc

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.0.0-12-generic-x86_64-with-Ubuntu-11.10-oneiric

HOST_BUILD_TYPE=release

BUILD_ID=JRO03H

OUT_DIR=out

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

just want to make sure that everything looks right, what command do i enter next to start the compiling?
[Android] rodrigoyasuda:
Thanks. This worked perfectly fine.

---------- Post added at 01:53 AM ---------- Previous post was at 01:42 AM ----------

Okay, new problem. Need help.

target Executable: bdaddr_read (out/target/product/n7000/obj/EXECUTABLES/bdaddr_read_intermediates/LINKED/bdaddr_read)
target thumb C: libbluetoothd <= external/bluetooth/bluez/src/agent.c
/home/rodrigo/aosp/android/system/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/n7000/obj/EXECUTABLES/bdaddr_read_intermediates/bdaddr_read.o: in function main:device/samsung/n7000/bdaddr_read/bdaddr_read.c:32: error: undefined reference to 'LOGE'
/home/rodrigo/aosp/android/system/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/n7000/obj/EXECUTABLES/bdaddr_read_intermediates/bdaddr_read.o: in function main:device/samsung/n7000/bdaddr_read/bdaddr_read.c:37: error: undefined reference to 'LOGE'
/home/rodrigo/aosp/android/system/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/n7000/obj/EXECUTABLES/bdaddr_read_intermediates/bdaddr_read.o: in function main:device/samsung/n7000/bdaddr_read/bdaddr_read.c:47: error: undefined reference to 'LOGE'
collect2: ld returned 1 exit status
make: *** [out/target/product/n7000/obj/EXECUTABLES/bdaddr_read_intermediates/LINKED/bdaddr_read] Error 1
make: *** Waiting for unfinished jobs....
[Android] dastin1015:
To start compiling:

make

For a flashable ota package:

make otapackage

In the file that the errors are popping up in change all the references of LOGx (x being any letter) to ALOGx (x once again being any letter). Example your errors says LOGE is undefined. The the file bdaddr_read.c in device/samsung/n7000/bdaddr_read/ search for LOGE and change them to ALOGE
[Android] jacobmacek:
java error?

after entering make otapackage it says,

Checking build tools versions...

************************************************************

You are attempting to build with the incorrect version

of java.

Your version is: java version "1.6.0_24".

The correct version is: Java SE 1.6.

Please follow the machine setup instructions at

https://source.android.com/source/download.html

************************************************************

build/core/main.mk:141: *** stop. Stop.

it says i have the wrong version of java? I installed what the tutorial says to? is there a quick fix to this error as well?

jacobmacek@ubuntu:~/WORKING_DIRECTORY$
[Android] dastin1015:
Source code doesn't like OpenJDK. Bottom of the OP has the fix. Open main.mk in build/core and comment out line 141

私のEVO 3Dから送信される。
[Android] rodrigoyasuda:
New problem. Help please.

make: *** No rule to make target `out/target/product/n7000/obj/lib/libmediayamahaservice.so', needed by `out/target/product/n7000/obj/EXECUTABLES/mediaserver_intermediates/LINKED/mediaserver'. Stop.
[Android] jacobmacek:
now this

did that, now im getting this,

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

build/core/base_rules.mk:171: *** device/common/android_device_htc_common/updater: MODULE.TARGET.STATIC_LIBRARIES.librecovery_ui_htc already defined by device/android_device_htc_common/updater. Stop.

jacobmacek@ubuntu:~/WORKING_DIRECTORY$

will i be able to compile this? is there too many problems with compiling for the incred to work or is this just common errors that most people run into before compiling?
[Android] dastin1015:
Sorry hit thanks instead of multi.

In your vendor blob you need to tell the compiler to copy the needed file to the desired directory. So if you have that file in your proprietary folder, you need to add this line to your n7000-vendor-blobs.mk

vendor/samsung/n7000/proprietary/libmediayamahaservice.so:obj/lib

Comment out the line in HTC common for recovery UI about static libraries.

It isn't the incredible that is causing problems. It is how your maintainer of your device repo set up the repo. Some don't necessarily clean them up to play nicely with other repos.

私のEVO 3Dから送信される。
[Android] jacobmacek:
by comment you mean?

by comment out the line in HTC common for recovery UI about static libraries, do you mean to delete that line you are referring to?and whic file is it in? im sorry to bother you haha, ill be out of your hair once i compile my rom, and ill be sure to donate once i put more money into my paypal account :)
[Android] dastin1015:
Delete or comment. Your choice. Android.mk in the updater folder of the HTC common repo. This line:

include $(BUILD_STATIC_LIBRARY)
[Android] jacobmacek:
and another

i deleted that line and i am still receiving the same error, its as if the term doesnt realize the line is gone?

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

build/core/base_rules.mk:171: *** device/common/android_device_htc_common/updater: MODULE.TARGET.STATIC_LIBRARIES.librecovery_ui_htc already defined by device/android_device_htc_common/updater. Stop.

jacobmacek@ubuntu:~/WORKING_DIRECTORY$

what do you suggest i do? is there anything else that needs to be deleted or should i reboot my computer and see if that somehow miraculously works? i really dont want the last 3 days ive spent trying to do this go to waste
[Android] dastin1015:
There are two instances of that line. Delete the second one as well.

Also keep trying. It will be worth it in the end. If you do ever give up look on the bright side that you've taken in much more knowledge in the process. :)
[Android] NineInchNails:
Don't give up man! I've been chugging away for a month and pissed off beyond belief but I learn more and more. Take a smoke break or whatever then come back to it.

is a splendid one to behold
[Android] rodrigoyasuda:
Well, this one is a little tricky here. I have no file that goes by this name.

Do you have an example of that?

Should it be like your https://github.com/dastin1015/android_device_samsung_epic4gtouch/blob/jellybean/extract-files.sh?

When is this script supposed to be run?
[Android] rubervalrfl:
Personally, I'm sorry, but I read 80 pages and could not understand what is to delete it, when this error occurs:

I have this folder in two places, one vendor and another in the device, erase the question is what? which file?

Already grateful for the attention.
[Android] rubervalrfl:
He left a new tag: android-4.1.1_r4
[Android] dastin1015:
Every device is different. Some use extract-files.sh some use proprietary-files.sh, etc.

Android.mk in your device repo. Not sure which line exactly.

Thanks. I'll update OP with newest tag
[Android] rodrigoyasuda:
Ok, I'm gonna get there someday.

New problem, now:

hardware/samsung/exynos/multimedia/openmax/osal/SEC_OSAL_Android.cpp:32:38: fatal error: ui/android_native_buffer.h: No such file or directory
compilation terminated.
make: *** [out/target/product/n7000/obj/STATIC_LIBRARIES/libsecosal_intermediates/SEC_OSAL_Android.o] Error 1
make: *** Waiting for unfinished jobs....

Can't find android_native_buffer.h anywhere here.

Help, please.
[Android] dastin1015:
You need your hardware/samsung directory updated to newest commits from CM. Make a local_manifest.xml in your .repo folder of your source tree. This is how you can add repos without a git clone and will update with a repo sync. (Press CTRL+H to show hidden folders) It should look like this inside the file:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" revision="jellybean" />
</manifest>
[Android] uoY_redruM:
I'm having trouble pulling Proprietary files. I'm getting these errors:

jamie@Belcourt:~/WORKING_DIRECTORY/device/d2tmo$ ./extract-files.sh
egrep: ../d2-common/common-proprietary-files.txt: No such file or directory
./setup-makefiles.sh: 7: cannot create ../../../vendor/samsung/d2tmo/d2tmo-vendor-blobs.mk: Directory nonexistent
wc: ../d2-common/common-proprietary-files.txt: No such file or directory
egrep: ../d2-common/common-proprietary-files.txt: No such file or directory
egrep: ../d2-common/common-proprietary-files.txt: No such file or directory
./setup-makefiles.sh: 57: cannot create ../../../vendor/samsung/d2tmo/d2tmo-vendor.mk: Directory nonexistent
./setup-makefiles.sh: 79: cannot create ../../../vendor/samsung/d2tmo/BoardConfigVendor.mk: Directory nonexistent

Running Ubuntu 10.0.4 LTS

I have the phone plugged in (it's trying to connect as a media server?) and I'm issuing the script command but nothing so far.

Am I missing something?

Any help would be greatly appreciated :)
[Android] CallMeVentus:
Create the directory first ?

"Friends forever." - Ventus
[Android] uoY_redruM:
So in the d2tmo folder I create "common-proprietary-files.txt"?

I found proprietary files HERE. downloaded them and extracted them to d2tmo folder (in WORKING_DIRECTORY/devices/samsung) but when I run lunch command, d2tmo is not an option to build.

I'm looking over all the other builds (Crespo, etc) and there just appear to be way more files in those....so I'm assuming I'm missing necessary files and that's why it's not coming up as a build option.

EDIT- The files I found include d2tmo-vendor.mk and BoardconfigVendor.mk. I created the folder d2-common (in d2tmo directory) and within it I created "common-proprietary-files.txt" as it appeared to be searching for that. When I try to extract, I get the same exact errors....

---------- Post added at 01:11 AM ---------- Previous post was at 12:37 AM ----------

OK, I THINK I've gotten past that....as I now have the option to build cm_d2tmo-eng. I'm now running into the problem you post a fix for at the bottom:

Which would you like? [full-eng] 8

build/core/product_config.mk:205: *** No matches for product "cm_d2tmo". Stop.

** Don't have a product spec for: 'cm_d2tmo'

** Do you have the right repo manifest?

I'm having the most difficult time understanding what you mean by "edit your blob to match the PRODUCT_NAME to the file name."

So, in my d2tmo folder (in devices) I have full_d2tmo.mk (which I'm assuming is the file you're referring to??) but I've tried renaming it to cm_d2tmo-eng as well as several other different tweaks with no success.

Care to point me in the right direction please. I'd greatly appreciate it.
[Android] CallMeVentus:
Weird.....you running as a normal user ?

I always run as root :)

"Friends forever." - Ventus
[Android] uoY_redruM:
I was just following the guide directly...I saw other guides had it run in root, but this one did not specify so I followed it word for word lol.

Would that fix the problem?
[Android] CallMeVentus:
Never hurts to try ;)

"Friends forever." - Ventus
[Android] uoY_redruM:
No go.

My error is

Which would you like? [full-eng] 9

build/core/product_config.mk:205: *** No matches for product "cm_d2tmo". Stop.

** Don't have a product spec for: 'cm_d2tmo'

** Do you have the right repo manifest?

You said in your example to change the full_shooter.mk PRODUCT_NAME to match whatever the error is looking for. In my case full_d2tmo.mk should be altered, based on the error, correct? If so, I've already tried opening it and changing the PRODUCT_NAME from full_d2tmo to cm_d2tmo and it still won't work.

I'm completely stumped. Do you have any idea what I could be overlooking?
[Android] dastin1015:
Do you have a cm.mk file?
[Android] uoY_redruM:
Yes, I do.

EDIT-

I've tried changing cm.mk PRODUCT_NAME := cm_d2tmo to "full_d2tmo" then changing vendorsetup.sh add_lunch_combo cm_d2tmo-eng to full_d2tmo-eng so that EVERYTHING matches and that still gives me the same error.
[Android] CallMeVentus:
You're supposed to make it cm_ , not full_

"Friends forever." - Ventus
[Android] uoY_redruM:
I tried that first and when that failed, I tried making everything match as full_ instead and still nothing.
[Android] CallMeVentus:
Go check /vendor/cm I know there's a file there that has all the lunch_add_combos . Add your cm_whatever there .

"Friends forever." - Ventus
[Android] rubervalrfl:
Thanks, solvi Android.mk deleting the file in the folder of the device.
[Android] CosmoDroid:
Please help with this...Thanks a lot in advance... :)

host C++: libicuuc <= external/icu4c/common/unistr_case.cpp
device/semc/mogami-common/overlay/frameworks/base/core/res/res/values/strings.xml:25: error: Resource at symbol_picker_sym appears in overlay but not in the base package; use <add-resource> to add.
device/semc/mogami-common/overlay/frameworks/base/core/res/res/values-de-rDE/strings.xml:25: error: Resource at symbol_picker_A appears in overlay but not in the base package; use <add-resource> to add.
device/semc/mogami-common/overlay/frameworks/base/core/res/res/values-de-rDE/strings.xml:26: error: Resource at symbol_picker_O appears in overlay but not in the base package; use <add-resource> to add.
device/semc/mogami-common/overlay/frameworks/base/core/res/res/values-de-rDE/strings.xml:27: error: Resource at symbol_picker_U appears in overlay but not in the base package; use <add-resource> to add.
device/semc/mogami-common/overlay/frameworks/base/core/res/res/values-de-rDE/strings.xml:28: error: Resource at symbol_picker_a appears in overlay but not in the base package; use <add-resource> to add.
device/semc/mogami-common/overlay/frameworks/base/core/res/res/values-de-rDE/strings.xml:29: error: Resource at symbol_picker_o appears in overlay but not in the base package; use <add-resource> to add.
device/semc/mogami-common/overlay/frameworks/base/core/res/res/values-de-rDE/strings.xml:30: error: Resource at symbol_picker_s appears in overlay but not in the base package; use <add-resource> to add.
device/semc/mogami-common/overlay/frameworks/base/core/res/res/values-de-rDE/strings.xml:31: error: Resource at symbol_picker_u appears in overlay but not in the base package; use <add-resource> to add.
host C++: libicuuc <= external/icu4c/common/unistr_cnv.cpp
make: *** [out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1
make: *** Deleting file `out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
make: *** Waiting for unfinished jobs....

---------- Post added at 12:59 AM ---------- Previous post was at 12:51 AM ----------

In the vendorsetup.sh file rename the device name basing on the name of the main device .mk file....

For example my device mk file is named full_coconut.mk....also product name = full_coconut....

But in my vendorsetup.sh file it was "cm_coconut"....changing it to "full_coconut" did the trick.....
[Android] rodrigoyasuda:
Well, now I belive I'm getting really close trying to compile CM10 for N7000

New problem. Help please.

make: *** No rule to make target `vendor/samsung/galaxys2-common/proprietary/system/lib/hw/camera.exynos4.so', needed by `out/target/product/n7000/system/lib/hw/vendor-camera.exynos4.so'. Stop.
make: *** Waiting for unfinished jobs....
No instructions to create out/target/product/n7000/kernel-cm-10-20120807-n7000-signed.zip... skipping.

Nevermind, just passed through this one. Just had to add a new line @ the proprietary-files.sh to copy the file.