yashsingh1/xdaforums huggingface dataset:
[Android] x10forevers:
you mean i need to do

$ sync-repo j1
$ make j1

this is what you mean ???
[Android] rubervalrfl:
J3 is the same make, so that the sync is J1
[Android] x10forevers:
can you explain it more, please and thank you...
[Android] rubervalrfl:
When this happened to me was because my source was out of date, then use the repo sync-j1 (it's slower), but always resolved, reset the source with all that's missing.
[Android] x10forevers:
so you are telling that when syncing repo with android 4.1.1_r1 i need to sync it with -j1.

and than build source ???
[Android] rubervalrfl:
yes
[Android] DariosF:
How can i apply this patch https://github.com/CyanogenMod/andr...mmit/c8b97210aa31c9b80b5fd136d8617ebe4e731e09 to solve error 41?
[Android] x10forevers:
Search for the Maps.java in your home directory

open Maps.java and replace the line 228 and 229 (Red in the link) as directed (Green in the link).

and save........

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------

audio lib error

anybody know what i have to do for this ??

i am almost at the end of build and this thing stopped the building

http://pastebin.com/GrgudYAn
[Android] DariosF:
Perfect. Now works.
[Android] rubervalrfl:
The error is in the variables, posts ago is to solve.

device/semc/es209ra/libaudio/AudioHardware.cpp: 115:44: error: 'LOGE' was not declared in this scope
[Android] dastin1015:
change all references of LOGx x being any letter to ALOGx
[Android] x10forevers:
thanks solved that

now i have this: http://pastebin.com/UVaXnKtZ error.
[Android] LENINred:
help me
[Android] thx84:
I found a repo for my kernel: git://github.com/TheMuppets/proprietary_vendor_semc.git hallon

Where should I copy the directory to build the kernel?
[Android] ttibbetts83:
i am trying to compile ics for galaxy note gt-n7000 and keep getting this how to or where to fix

build/core/tasks/kernel.mk:38: * *

build/core/tasks/kernel.mk:39: * No kernel source found, and no fallback prebuilt defined. *

build/core/tasks/kernel.mk:40: * Please make sure your device is properly configured to *

build/core/tasks/kernel.mk:41: * download the kernel repository to kernel/samsung/smdk4210

build/core/tasks/kernel.mk:42: * and add the TARGET_KERNEL_CONFIG variable to AndroidBoard.mk*

build/core/tasks/kernel.mk:43: * *

build/core/tasks/kernel.mk:44: * As an alternative, define the TARGET_PREBUILT_KERNEL *

build/core/tasks/kernel.mk:45: * variable with the path to the prebuilt binary kernel image *

build/core/tasks/kernel.mk:46: * in your AndroidBoard.mk file *

build/core/tasks/kernel.mk:47: * *

build/core/tasks/kernel.mk:48: ***************************************************************
[Android] dan-fish:
Which device are you building for? That's not the kernel. That's the proprietary files. You should find a prebuilt kernel in your device tree
[Android] CallMeVentus:
Are you sure you're using a correct device config ?

"Friends forever." - Ventus
[Android] erulai:
Hoping someone can help me with this error while compiling JB for the EVO 4G LTE:

Install: out/target/product/jewel/system/lib/libbtio.so

Symlink: out/target/product/jewel/system/bin/cat -> toolbox

Symlink: out/target/product/jewel/system/bin/chmod -> toolbox

Symlink: out/target/product/jewel/system/bin/chown -> toolbox

Symlink: out/target/product/jewel/system/bin/cmp -> toolbox

target Symbolic: dalvikvm (out/target/product/jewel/symbols/system/bin/dalvikvm)

target Symbolic: dexopt (out/target/product/jewel/symbols/system/bin/dexopt)

target Executable: hostapd (out/target/product/jewel/obj/EXECUTABLES/hostapd_intermediates/LINKED/hostapd)

target Symbolic: hostapd_cli (out/target/product/jewel/symbols/system/bin/hostapd_cli)

Symlink: out/target/product/jewel/system/bin/id -> toolbox

Symlink: out/target/product/jewel/system/bin/ifconfig -> toolbox

Symlink: out/target/product/jewel/system/bin/iftop -> toolbox

Symlink: out/target/product/jewel/system/bin/insmod -> toolbox

/home/erulai/WORKING_DIRECTORY/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/jewel/obj/EXECUTABLES/hostapd_intermediates/src/drivers/driver_nl80211.o: in function wpa_driver_nl80211_ops:driver_nl80211.c(.data.rel.ro.wpa_driver_nl80211_ops+0x198): error: undefined reference to 'wpa_driver_nl80211_driver_cmd'

I've found the error mentioned a few times in this thread but no specific fix. Even stumbled on some Chinese sites that got me nowhere as well.

Thanks in advance.
[Android] googleroid:
thank you! i'm having a try.
[Android] x10forevers:
http://pastebin.com/UVaXnKtZ

Can anybody help me get through this ????
[Android] ttibbetts83:
after adding device should the device name show up in the list after lunch command?
[Android] CallMeVentus:
Umm.....define it ?

You have the weirdest errors......

Delete the libaudio folder in your device config -- however you won't have audio in your build

Yes .

"Friends forever." - Ventus
[Android] ttibbetts83:
what if it is not there i followed the add device part but not listing my device
[Android] CallMeVentus:
Then you need to find your device config

No offense but you seriously need to learn more of the basics.....

"Friends forever." - Ventus
[Android] DragunKorr:
Anybody can pm me this file my repo not grabbing it! For Sensation not sure if its device specific!

File needed

Thanks!
[Android] dastin1015:
That's not a file it's pulling, but creating. There should be an error before that.

私のEVO 3Dから送信される。
[Android] DragunKorr:
compiled five or six times now this error! lol

thanks for any help!
[Android] ttibbetts83:
And where can I learn these basics I thought a tutorial was meant to kind of walk u through the process I followed the steps and it don't work right so sorry I asked some quistions if everybody could do this stuff there wouldn't be no use for a tutorial
[Android] CallMeVentus:
No.....the thing is I don't think you have the device config even....

"Friends forever." - Ventus
[Android] thx84:
Sony Xperia Neo (hallon). I got an error about not having a rule to build the boot.img that's why I thought I needed this
[Android] x10forevers:
can any body tell me that device proprietory files are same for all android version or it differ from android version to version ????

and one more question can i use my device's aokp ics files as a base of JB ??

thanks in advance
[Android] CallMeVentus:
Froyo files differ from GB , GB files differ from ICS and some ICS files differ from JB .

"Friends forever." - Ventus
[Android] x10forevers:
So if i am using ICS as base for compiling JB, i need to extract proprietory files of ICS rom of my device, right ??//
[Android] CallMeVentus:
Yes .

"Friends forever." - Ventus
[Android] ttibbetts83:
OK so how would I get it
[Android] CallMeVentus:
Hint: http://github.com

This was sent from an ARNOVA 7 G2.
[Android] ttibbetts83:
Is it not part of the gitgub for my device because that I have downloaded and am re downloading now in to my device folder
[Android] skyhigh2004:
Thanks again for the aweaome guide dastin and all of the more advanced members patience with me and other members' questions. The guys having issues that are very basic like "make" and "lunch" errors probably need to try building something else first like AOSP for one of the a nexus device. Even if you get it to build for your decive now if you don't understand what "lunch" followed by "make -j12 otapackage" means or how it works you'll never be able to make a boot able build and understand how to fix the errors. This is not where you wanna start your android development career. Half the questions in this thread could be answered if people went through the aosp and pdk building tutorials instead of trying to learn to compile and aosp rom for a non aosp device and have the same 8 errors asked over and over again. Sorry about my early morning Friday rant as I've just got done reading the last five pages of this thread which asks the same questions as the first five pages :confused:.

Sent from one of my Galaxies
[Android] CosmoDroid:
I was trying to build for the n7000 when I got this error.

Which would you like? [full-eng] 10
build/core/product_config.mk:193: *** _nic.PRODUCTS.[[device/samsung/n7000/full_n7000.mk]]: "hardware/samsung/exynos4210.mk" does not exist. Stop.

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

I can understand that these files are missing....Just want to know from where will I get these files for the exynos chipset...?? Didn't find any common cyanogenmod repository for this one....Thanks in advance... :fingers-crossed:
[Android] ttibbetts83:
Where is your n7000 folder located
[Android] dastin1015:
You need to git clone the hardware/samsung directory.

私のEVO 3Dから送信される。
[Android] CosmoDroid:
Yeah already did that...now im getting this error... :(

build/core/base_rules.mk:171: *** hardware/samsung/exynos4/hal/libcamera: MODULE.TARGET.SHARED_LIBRARIES.camera.exynos4 already defined by device/samsung/n7000/camera. Stop.

Can't understand which file or folder to modify or add or delete...Thanks
[Android] dastin1015:
In the Android.mk file in device/samsung/n7000/camera comment out this line:

include $(BUILD_SHARED_LIBRARY)
[Android] TheUnkn0wn:
I seem to be having some problems compiling JB for the i9300

make: *** No rule to make target `out/target/product/i9300/obj/lib/libsamsungion.so', needed by `out/target/product/i9300/obj/SHARED_LIBRARIES/libbinder_intermediates/LINKED/libbinder.so'. Stop.
[Android] ttibbetts83:
well i got the device add

Now this issue

No private recovery resources for TARGET_DEVICE n7000

make: *** No rule to make target `out/target/product/n7000/kernel', needed by `out/target/product/n7000/boot.img'
[Android] lithid-cm:
Does this lib live on your phone?

libsamsungion.so

If so place it in the path its complaining about.
[Android] stormtroopercs:
Put the kernel in out/target/product/n7000/
[Android] TheUnkn0wn:
Here's another strange error. I don't understand why I'm getting these, I've ran the extract-files.sh to get all the proprietary files. This is also a clean install of Ubuntu 12.04 64-bit and a fresh sync of the repo.

make: *** No rule to make target `out/target/product/i9300/obj/SHARED_LIBRARIES/libfimc_intermediates/export_includes', needed by `out/target/product/i9300/obj/SHARED_LIBRARIES/libhwconverter_intermediates/import_includes'. Stop.
[Android] lithid-cm:
Well unless they are google phones, no phones work out of the box. You have work through them.
[Android] TheUnkn0wn:
The thing is, I'm using the CyanogenMod jellybean git, the i9300 should build. In fact, I got it to compile on another VM, but it ran out of space so I made a clean install. Now it doesn't...
[Android] lithid-cm:
Ah cyanogenmod, none of the device trees are 100% yet I don't think. I never saw that error before so I honestly don't know why its complaining without looking through the code.
[Android] dastin1015:
Those errors normally pop up when utilizing prebuilt libs because the compiler doesn't know what to do. From the root of your tree issue this command if it's SHARED_LIBRARIES:

mkdir -p out/target/product/{yourDevice}/obj/SHARED_LIBRARIES/{directorySpecified}/
touch out/target/product/{yourDevice}/obj/SHARED_LIBRARIES/{directorySpecified}/export_includes

Or for STATIC_LIBRARIES:

mkdir -p out/target/product/{yourDevice}/obj/STATIC_LIBRARIES/{directorySpecified}/
touch out/target/product/{yourDevice}/obj/STATIC_LIBRARIES/{directorySpecified}/export_includes
[Android] DragunKorr:
Hope im not spamming any help with this error please.

I get it from all jb repos!

Thanks
[Android] stormtroopercs:
can i have help with this? http://pastebin.com/vJE0XbW8
[Android] ttibbetts83:
http://pastebin.com/EZ5Qs9dx

i can figure this out have been trying any help would be great
[Android] x10forevers:
delete overlay folder in your device repo......
[Android] CosmoDroid:
Made some fixes...Now I'm stuck with this error...Please help...thanks a lot.. :)

Link : Click for Log at Pastebin
[Android] andy572:
Hi @all,

i'm trying to compile CM10 for SGSIII, but i'm stuck on a big problem: none of the vendor files are copied - the build system always say "file xxxx:xxx" ignored,

all paths given are ok, the vars PRODUCT_COPY_FILES are set and included where needed.

I'm not not new to build android from source, the last year i provided CM7 for the LG-P500 device and all was working when compiling:

at first, all proprietary files are copied to the out-folder, than the basic compile process was starting. Is there something other in Jelly Bean???

Thanks for a small hint
[Android] :
Team hacksung has provide info how to compile cm10 this is more for aosp as you may know :D
[Android] andy572:
thanks, i had the same problem with AOSP, thats why i tried CM10 ... its more "hacked", so i thought its working than ... but nope :(
[Android] hiepgia:
I want get CM10 on my HP Touchpad so i start on it. It compile well but can't boot. Kernel boot seem ok, it freeze at android boot animation. I try to grab some logcat but it seem useless. Can't connect to device.

So:

1. How can i find where i wrong?

2. Can i replace android boot animation to live android logcot screen?

here is my work:

Device: https://github.com/hiepgia/android_device_hp_tenderloin

Kernel: https://github.com/hiepgia/hp-kernel-tenderloin
[Android] tathanhlam66:
i think you need edit ramdisk :p
[Android] hiepgia:
Thanks but i don't see any problem in ramdisk. I attached file.
[Android] thx84:
Is there a way to sync the device tree without having to delete the folder before git clone?
[Android] anandvsalunke:
Hello,

I am new to android compilation.

I do not understand how this compile process takes care of Linux kernel compatibility & boot-loader & various hardware drivers.

If somebody can explain the android build process, that would be easy to visualize

I am planning to compile JB for Ainol Aurora.

Thanks..
[Android] ttibbetts83:
http://pastebin.com/2fz90ugq

i am stuck on this
[Android] CosmoDroid:
And I'm stuck here.... :(

Import includes file: out/target/product/n7000/obj/SHARED_LIBRARIES/dlclose-test-so_intermediates/import_includes
make: *** No rule to make target `out/target/product/n7000/obj/SHARED_LIBRARIES/libUMP_intermediates/export_includes', needed by `out/target/product/n7000/obj/SHARED_LIBRARIES/gralloc.n7000_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Export includes file: external/compiler-rt/lib/asan/Android.mk -- out/target/product/n7000/obj/SHARED_LIBRARIES/dlclose-test-so_intermediates/export_includes
[Android] andy572:
same problem here while trying to compile ... no proprietary file is copied, no sound file, no xml ... nothing ... no solution currently

the system says always "PRODUCT_COPY_FILE xxxx ..... blah .... ignored" :(
[Android] CosmoDroid:
I also had this problem...I solved it by Git cloning the Samsung Hardware device tree from cyanogenmod (since I'm building for n7000) and also the kernel device tree.... :)

Now I'm facing this problem...I solve one nd another comes up...!!! :P :( :)

Import includes file: out/target/product/n7000/obj/SHARED_LIBRARIES/libSEC_OMX_Core_intermediates/import_includes
Import includes file: out/target/product/n7000/obj/SHARED_LIBRARIES/libSEC_OMX_Resourcemanager_intermediates/import_includes
target thumb C: libsecosal <= hardware/samsung/exynos/multimedia/openmax/osal/SEC_OSAL_Event.c
target thumb C++: libsecosal <= hardware/samsung/exynos/multimedia/openmax/osal/SEC_OSAL_Android.cpp
In file included from hardware/samsung/exynos/multimedia/openmax/osal/SEC_OSAL_Android.cpp:36:0:
frameworks/native/include/media/hardware/HardwareAPI.h:21:27: fatal error: OMXPluginBase.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....
[Android] hiepgia:
You can see Android.mk in source folders?

You can see device specific in device/{vendor}/{device}

Device specific decide what include in build, and what doesn't need.

And it will compile Kernel, Android source, and driver at same time. After build separate source finish, it will run releasetools to repack kernel with bootloader parameter, driver lib in right place, and system apps.

---------- Post added at 11:31 PM ---------- Previous post was at 11:29 PM ----------

Check for OMX Header file: frameworks/native/include/media/stagefright/OMXPluginBase.h

It's missing from your source.
[Android] CosmoDroid:
Now I'm getting this...Btw can you tell me where to get the file from...?? I didn't delete it... :confused:

target arm C: libSEC_OMX_Core <= hardware/samsung/exynos/multimedia/openmax/core/SEC_OMX_Component_Register.c
target arm C: libSEC_OMX_Core <= hardware/samsung/exynos/multimedia/openmax/core/SEC_OMX_Core.c
make: *** No rule to make target `out/target/product/n7000/obj/STATIC_LIBRARIES/libsecosal_intermediates/libsecosal.a', needed by `out/target/product/n7000/obj/SHARED_LIBRARIES/libSEC_OMX_Resourcemanager_intermediates/LINKED/libSEC_OMX_Resourcemanager.so'. Stop.
make: *** Waiting for unfinished jobs....
target thumb C: libSEC_OMX_Resourcemanager <= hardware/samsung/exynos/multimedia/openmax/component/common/SEC_OMX_Resourcemanager.c
[Android] andy572:
just re-syced the device tree, but same problem :(

The OMX problem i have had on CM7 too, can be solved by downloading the needed OMX sources from CodeAurora's webgit:

https://www.codeaurora.org/gitweb/quic/la/
[Android] CosmoDroid:
Can you please specify which Project to choose...?? As far as I can see all the omx projects are under the QCom directory....Will it work for the Exynos Chipset...?? :confused:
[Android] andy572:
just looked into the CM10 tree (just trying to build CM10) - do you have a board like msm8960 msm8660 ?

if so, i'm wondering - the Android.mk in hardware/qcom/media will find the TARGET_BOARD_PLATFORM, the missing include is in this folder tree.

otherwise, just looked into CodeAuroras source codes ... there is no definition for JellyBean, and so no Exynox support in OMX sources :(
[Android] dastin1015:
In the file where the error originates it has the wrong path for finding the file it's looking for. Change this line from:

#include <OMX_Component.h>

To:

#include <media/openmax/OMX_Component.h>
[Android] neimovirne:
How can i add my device Samsung Galaxy Tab 7.7 ??

pls help me. I downloaded my device tree to the folder Working_directory/device/ or Working_directory/device/samsung but its not work( when i start compile i have error
[Android] beerbong:
Hello everyone

I'm trying to build CM10 for Samsung Galaxy Note. Using Ubuntu 12.04 64bits. After solventing a couple of errors following this thred (great work guys!!) i found another error that i can't not manage to solve, so any help would be appreciated.

Here's the code: http://pastebin.com/QL54UA73

Another thing is i'm getting this message when compilation starts:

build/core/tasks/kernel.mk:37: ***************************************************************
build/core/tasks/kernel.mk:38: * Using prebuilt kernel binary instead of source *
build/core/tasks/kernel.mk:39: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
build/core/tasks/kernel.mk:40: * Please configure your device to download the kernel *
build/core/tasks/kernel.mk:41: * source repository to kernel/samsung/smdk4210
build/core/tasks/kernel.mk:42: * See http://wiki.cyanogenmod.com/wiki/Integrated_kernel_building
build/core/tasks/kernel.mk:43: * for more information *
build/core/tasks/kernel.mk:44: ***************************************************************

That this mean that kernel is not being compiled from source?

Thanks in advance
[Android] gaby04:
Yes thats what it means. It is using a prebuilt one. If you want to compile kernel from source, you have to add the source to kernel/samsung/smdk4210
[Android] dastin1015:
Ignore the warning about the kernel, unless you're trying to build a kernel from source during your compile. Your error is that you have resources not added to the frameworks. Delete the offending resource from the directory and file that the error is spitting out. Example:

device/samsung/n7000/overlay/frameworks/base/core/res/res/values/config.xml:43: error: Resource at config_networkLocationProvider appears in overlay but not in the base package; use <add-resource> to add.

This means in device/samsung/n7000/overlay/frameworks/base/core/res/res/values/config.xml on line 43 the resource config_networkLocationProvider needs to be deleted or commented out for the compile to continue.
[Android] beerbong:
Thank you for your responses. I'll try and comment when i get home. Cheers.
[Android] abhishek046:
ARMV6

Hey, srry if this sounds like a noob question but I'm quite new to compiling. Will this work for armv6 devices? I wanna compile for LG P690 aka OPTIMUS NET. If so are there any modifications I should make? I heard JB is mainly for armv7, so will there be any problems? Plz help me out(Kindly do elaborate and don't tell in brief, I love reading:p)
[Android] CallMeVentus:
If you know how to build for ARMv6 , then you can .

This was sent from an ARNOVA 7 G2.
[Android] gangstaboy13:
$ make -j# otapackage

in place of the # needs to be the cores of the phone or not??
[Android] CallMeVentus:
Cores of your PC

"Friends forever." - Ventus
[Android] CosmoDroid:
Now I'm getting this error...I did not do the thing you asked to do...Can you please tell if that modification is to be done in the Android.mk file or in a ".c" or ".h" file...?? Beacuse I found the line you asked to change in many of the files...So I'm a bit confused....nd yaa the error...here you go... :(

Thanx a lot again....

make: *** No rule to make target `out/target/product/n7000/obj/STATIC_LIBRARIES/libsecosal_intermediates/export_includes', needed by `out/target/product/n7000/obj/SHARED_LIBRARIES/libSEC_OMX_Core_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
[Android] abhishek046:
Could you tell me where to find the github for my device(LG P690 aka Optimus net)? We don't have a stable ICS either. So, which tree should I use? Or is it possible to do so without an old tree? Srry if I'm bothering but I don't know much about trees and I don't think there are many for my device as there are not many devs working on this phone.
[Android] beerbong:
That worked, thanks again.

Then appeared another error but it's been solved. Now it's compiling for about 10 minutes.

Now, i want to compile kernel from source too, but in cyanogenmod repo, the samsung kernel smdk4210 has no branch for jellybean, and reading some posts by entropy, he said that the kernel for jb has some changes from ics one. So, do i have to just add the ics branch of the kernel? Do i have to clone it in kernel/samsung/smdk4210?

Thanks
[Android] CosmoDroid:
Cyanogenmod doesn't....but team Hacksung sure does have a branch of jellybean for the smdk4210 kernel source...Git clone that one...nd yeah you have to clone it to WORKING_DIRECTORY/kernel/samsung/smdk4210... :)

From within the samsung directory under kernel "git clone git://github.com/teamhacksung/android_kernel_samsung_smdk4210.git -b jellybean smdk4210"
[Android] CallMeVentus:
Anyone made ICS for your device ? Try asking that person who did .

This was sent from an ARNOVA 7 G2.