yashsingh1/xdaforums huggingface dataset:
[Android] rubervalrfl:
Thank you for the answer, the line number one, but already managed to solve the line number two, which are not understood exatamentes these duplicates.
[Android] Jwtiyar:
whats this wrong? after steps 6

http://pastebin.com/f5LZB5xM
[Android] Trugglepunts:
you need to install the android sdk

adb is a tool used to push/pull files from your device and it is not installed on your computer.

adb is in the tools folder once this is installed http://developer.android.com/sdk/index.html
[Android] CallMeVentus:
I think I have a workaround for compiling on ARMv6:

1. Use armv5te-vfp instead of armv6-vfp

2. Comment out ldrex strex in processor_definition.h

Credits to munjeni

This is a signature.
[Android] skyhigh2004:
Thank you sir. I don't know how to pull one right now so I'll have to do some reaserch when I get home from work :-).

Sent from one of my Galaxies
[Android] rubervalrfl:
this solution is that for the same, not understood?

---------- Post added at 12:33 PM ---------- Previous post was at 12:10 PM ----------

Guys, you've seen a couple of post's ago is mentioning this error but do not know where to move to hit it, someone could tell me?

device / samsung / aries-common / libsensors / sensors.cpp: 207:78: error: 'LOGE_IF' was not declared in this scope
device / samsung / aries-common / libsensors / sensors.cpp: In member function 'int sensors_poll_context_t :: real_activate (int, int)':
device / samsung / aries-common / libsensors / sensors.cpp: 266:84: error: 'LOGE_IF' was not declared in this scope
device / samsung / aries-common / libsensors / sensors.cpp: In member function 'int sensors_poll_context_t :: pollEvents (sensors_event_t *, int)':
device / samsung / aries-common / libsensors / sensors.cpp: 307:66: error: 'LOGE' was not declared in this scope
device / samsung / aries-common / libsensors / sensors.cpp: 313:94: error: 'LOGE_IF' was not declared in this scope
make: ** [out / target / product / galaxysbmtd / obj / SHARED_LIBRARIES / sensors.aries_intermediates / sensors.o] Error 1
[Android] Jwtiyar:
aw man i know about sdk im using it like 2 years .its also installed.
[Android] dastin1015:
Change those undefined LOGE, LOGE_IF, etc to ALOGE, ALOGE_IF, etc.

私のEVO 3Dから送信される。
[Android] gerard_f:
I have this error:

hardware/samsung/exynos4/hal/libfimc/SecFimc.cpp:1470:58: error: 'LOGE' was not declared in this scope
make: *** [out/target/product/galaxys2/obj/SHARED_LIBRARIES/hwcomposer.exynos4_intermediates/SecHWCLog.o] Error 1
make: *** Se espera a que terminen otras tareas....
make: *** [out/target/product/galaxys2/obj/SHARED_LIBRARIES/hwcomposer.exynos4_intermediates/SecHWCUtils.o] Error 1
make: *** [out/target/product/galaxys2/obj/SHARED_LIBRARIES/hwcomposer.exynos4_intermediates/SecHWC.o] Error 1
make: *** [out/target/product/galaxys2/obj/SHARED_LIBRARIES/libfimc_intermediates/SecFimc.o] Error 1

The files*.o doesn't exist, and If I create the files for example SecHWC.o (empty), the error is the file is empty.

Anyone know to fix it? Thanks.
[Android] tep71:
I am not sure what to make of this error if it is an error at all. Everything appears to be running just fine and then all of a sudden the compile sessions stops with the following:

http://pastebin.com/6Y7yEx1m

My swap partition is 32GB to try and make up for the fact that I can only give this virtual machine 3GB of physical memory. It doesn't seem like an out of memory error. I have top running while the compile is taking place and memory usage is no where near maxed. Any help would be appreciated.

I am running Ubuntu 10.04.4 in a virtual machine on Windows 7. I have followed the setup instructions both from Google and the first post of this thread. Thanks.

UPDATE - I just ran a dmesg from the command line and sure enough....I am out of memory and that is why the processes were killed.
[Android] dastin1015:
In the file SecFimc.cpp in hardware/samsung/exynos4/hal/libfimc change all LOGE to ALOGE
[Android] rubervalrfl:
The funny thing is that if I edit the file and declare variavle, of course, this procedure is correct?
[Android] rubervalrfl:
To resolve this error then I did the following, I edited the file. Cpp and declared these variables

# define LOGE

# define LoGD

---------- Post added at 03:40 PM ---------- Previous post was at 03:33 PM ----------

Now I'm with it, any ideas?

make: ** Error 1
make: ** Waiting for other processes to finish.
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.
[Android] Ubuntuz:
Damn, this error has got me confused:
[Android] rubervalrfl:
Try to do a sync and start over.
[Android] Ubuntuz:
You think that will fix it? I have done nothing to the source apart from add a msm8660-common thing from github...
[Android] thomas1991_12:
I have this error:

ng device/semc/msm7x30-common/prebuilt/animations/charging_animation_04_H.png:system/semc/chargemon/data/charging_animation_04.png device/semc/msm7x30-common/prebuilt/animations/charging_animation_05_H.png:system/semc/chargemon/data/charging_animation_05.png device/semc/msm7x30-common/prebuilt/animations/charging_animation_06_H.png:system/semc/chargemon/data/charging_animation_06.png device/semc/msm7x30-common/prebuilt/animations/charging_animation_07_H.png:system/semc/chargemon/data/charging_animation_07.png
build/core/main.mk:484: *** The following variables have been changed: PRODUCT_COPY_FILES. Gestopt.

This happened after adding LOCAL_MODULE_TAGS := optional to the modules i had problems with. (same as Ubunutuz, so this is the fix for him)

Anyone has a solution?
[Android] dastin1015:
Add this line in the Android.mk in this directory hardware/qcom/gps/loc_api/libloc_api

LOCAL_MODULE_TAGS := optional
[Android] rubervalrfl:
My corrected some errors like this.

---------- Post added at 04:36 PM ---------- Previous post was at 04:33 PM ----------

Another error:

target thumb C: libsecbasecomponent.aries <= device / samsung / aries-common / sec_mm / sec_omx / sec_omx_component / common / SEC_OMX_Baseport.c
In file included from device / samsung / aries-common / sec_mm / sec_omx / sec_osal / SEC_OSAL_Buffer.cpp: 52:0:
frameworks / native / include / ui / GraphicBuffer.h: 40:31: error: expected template-name before '<' token
frameworks / native / include / ui / GraphicBuffer.h: 40:31: error: expected '{' before '<' token
frameworks / native / include / ui / GraphicBuffer.h: 40:31: error: expected unqualified-id before '<' token
device / samsung / aries-common / sec_mm / sec_omx / sec_osal / SEC_OSAL_Buffer.cpp: 455:1: error: expected '}' at end of input
make: ** Error 1
[Android] Ubuntuz:
make: *** No rule to make target `out/target/product/shooteru/kernel', needed by `out/target/product/shooteru/boot.img'. Stop.

looks like im missing `out/target/product/shooteru/kernel' - dont know where to find it though :(
[Android] dastin1015:
You need to have a prebuilt kernel or have the kernel be built. If you have a prebuilt kernel you need to have your device's make file has a way to fallback to the prebuilt kernel. I posted it up earlier in the thread.

私のEVO 3Dから送信される。
[Android] rubervalrfl:
This missing it here:
[Android] Ubuntuz:
nah its not that

---------- Post added at 09:15 PM ---------- Previous post was at 09:12 PM ----------

so if I take this kernel: https://github.com/agrabren/shooter-cm9-deviltoast and then clone it and put it in the kernel folder it should work?
[Android] rubervalrfl:
But you did

$ ./extract-files.sh
[Android] Ubuntuz:
that sh script does nothing with the kernel.
[Android] rubervalrfl:
But I think it extracts the kernel that is inside of your device to your folder created.
[Android] Ubuntuz:
I fixed the kernel issue but now i'm on this:

prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/bin/x86_64-linux-ar only run on 64-bit linux

I am running on 32-bit... do I need the 32-bit package?
[Android] dastin1015:
It doesn't.

You need to be running 64 bit.
[Android] rubervalrfl:
You ran it here:

sudo apt-get install git-core gnupg flex bison python rar original-awk gawk p7zip-full gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev pngcrush schedtool

sudo apt-get install libc6-dev x11proto-core-dev libx11-dev libgl1-mesa-dev mingw32 tofrodos python-markdown libxml2-utils

sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so

---------- Post added at 06:06 PM ---------- Previous post was at 05:55 PM ----------

---------- Post added at 06:08 PM ---------- Previous post was at 06:06 PM ----------

I have this error, can someone help me?

frameworks/native/include/ui/GraphicBuffer.h:40:27: error: expected template-name before '<' token
frameworks/native/include/ui/GraphicBuffer.h:40:27: error: expected '{' before '<' token
frameworks/native/include/ui/GraphicBuffer.h:40:27: error: expected unqualified-id before '<' token
frameworks/rs/driver/rsdGL.cpp:560:1: error: expected '}' at end of input
make: ** [out/target/product/galaxysbmtd/obj/STATIC_LIBRARIES/libRSDriver_intermediates/driver/rsdGL.o] Erro 1
[Android] thx84:
What do you mean by editing the blob? I got this issue with my Xperia neo (hallon for CM)

Sent from my Xperia Neo on Ics
[Android] Trugglepunts:
Hi,

Any ideas/tips on how i get past this bit? http://pastebin.com/VN5HUS6z

I tried building for a different device using a different repo but it still gets stuck on the lib_driver_cmd_rtl_intermediates/lib_driver_cmd_rtl.a bit

For 2 devices, it asks for that. Has me stumped!
[Android] dastin1015:
Edit one of your device make files to make the PRODUCT_NAME match with the devices make file and the vendorsetup.sh

Comment out the lines in one of your make files that is trying to build that and skip it for now.
[Android] ttibbetts83:
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file

? what would be causing this ?
[Android] gerard_f:
Ok, I have new problem:

/home/gerard/android/system/kernel/samsung/smdk4210/arch/arm/mm/alignment.c: In function 'do_alignment':
/home/gerard/android/system/kernel/samsung/smdk4210/arch/arm/mm/alignment.c:298:15: error: 'offset.un' may be used uninitialized in this function [-Werror=maybe-uninitialized]
/home/gerard/android/system/kernel/samsung/smdk4210/arch/arm/mm/alignment.c:720:21: note: 'offset.un' was declared here
cc1: all warnings being treated as errors

make[3]: *** [arch/arm/mm/alignment.o] Error 1
make[3]: *** Se espera a que terminen otras tareas....
CC arch/arm/plat-s5p/dev-uart.o
make[2]: *** [arch/arm/mm] Error 2
make[2]: *** Se espera a que terminen otras tareas....
CC arch/arm/plat-s5p/cpu.o
CC arch/arm/plat-s5p/irq.o
CC arch/arm/plat-s5p/clock.o
CC arch/arm/plat-s5p/reset.o
CC arch/arm/plat-s5p/reserve_mem.o
CC arch/arm/plat-s5p/irq-gpioint.o
CC arch/arm/plat-s5p/sysmmu.o
CC arch/arm/plat-s5p/pm.o
CC arch/arm/plat-s5p/irq-pm.o
CC arch/arm/plat-s5p/dev-fimc-s5p.o
CC arch/arm/plat-s5p/dev-mfc.o
CC arch/arm/plat-s5p/dev-fimd0.o
CC arch/arm/plat-s5p/dev-fimd-s5p.o
CC arch/arm/plat-s5p/dev-tvout.o
CC arch/arm/plat-s5p/dev-fimg2d.o
CC arch/arm/plat-s5p/dev-csis-s5p.o
CC arch/arm/plat-s5p/dev-jpeg.o
CC arch/arm/plat-s5p/dev-ehci.o
CC arch/arm/plat-s5p/dev-usbgadget.o
CC arch/arm/plat-s5p/dev-tmu.o
CC arch/arm/plat-s5p/s5p_iommu.o
LD arch/arm/plat-s5p/built-in.o
make[1]: *** [sub-make] Error 2
make[1]: se sale del directorio «/home/gerard/android/system/kernel/samsung/smdk4210»
make: *** [TARGET_KERNEL_BINARIES] Error 2

something is bad with the kernel
[Android] CallMeVentus:
This isn't AOSP/CM10

This is a signature.
[Android] gerard_f:
What? I don't understand you.

I get this error trying to compile CM10 for galaxys2
[Android] dastin1015:
I don't compile kernels so no idea here.
[Android] gerard_f:
So I can take a precompiled kernel? For example a boot.img from a CM9 nightly and use it to compile JB?

Thankss
[Android] dastin1015:
You need to extract the zImage/kernel from the boot.img
[Android] CallMeVentus:
For all of those encountering problems with undeclared LOGx where x can be any alphabet:

1. Change all LOGx to ALOGx

2. Do this at the start:

#define LOGx

This is a signature.
[Android] Trugglepunts:
finally got this compiled! thanks to all you guys for your help
[Android] Shiftkey101:
Compile issues

Hey guys, been trying the past few days to compile this for tf300t, and have been running into problems. I've fixed several issues i've been having, through google search, forum searches etc. But these 2 i have been unable to resolve.

At the beginning of compile:

find: 'src': no such file or directory shows up, i have not been able to locate what this means, or how to fix it. But compiles fine anyways normally several hundreds of lines after this.

Now what has me stopped in my tracks is this new error.

make: *** No rule to make target `@inherit', needed by `out/target/product/tf300t/device/asus/tf300t/full_tf300t.mk'. Stop.

I have tried moving full_tf300t.mk to that location, i've looked in several .mk files to see where inherit is mentioned, i've changed several of them and still have yet to get pass this wall. I've search and searched online and haven't been able to find any1 else with this error.

Thanks for the time!
[Android] cmikeh2:
Understand the error but can't seem to figure out where to fix it.

build/core/binary.mk:528: *** multiple target patterns. Stop.

Line 528 in build/core/binary.mk

$(import_includes) : $(import_includes_deps)
@echo Import includes file: $@
$(hide) mkdir -p $(dir $@) && rm -f $@
ifdef import_includes_deps
$(hide) for f in $^; do \
cat $$f >> $@; \
done
else
$(hide) touch $@
endif
[Android] Threevo:
Hey bro, what happened to working 3d and 4g? *Sarcasm*
[Android] NineInchNails:
http://xdaforums.com/showthread.php?p=28998065
[Android] Ubuntuz:
I never said anything about 4G, I don't have 4G. Being disrespectful to me just puts me off wanting to fix 3D.

So there's no way what so ever to get it working on 32-bit?
[Android] NineInchNails:
Nope. 64 bit only. You should know this.
[Android] Ubuntuz:
I am not experienced with Make or building from source. I've only been in android development for something like 2 months. All my other builds have been from pre-compiled ROMs which I have edited/ported/fixed. I am mainly experienced in dirty hacks for things like camera, 3D, framework things etc...
[Android] thomas1991_12:
I did this for several Android.mk files where i had errors but now im stuck with this:

I have this error:

ng device/semc/msm7x30-common/prebuilt/animations/charging_animation_04_H.png:system/semc/chargemon/data/charging_animation_04.png device/semc/msm7x30-common/prebuilt/animations/charging_animation_05_H.png:system/semc/chargemon/data/charging_animation_05.png device/semc/msm7x30-common/prebuilt/animations/charging_animation_06_H.png:system/semc/chargemon/data/charging_animation_06.png device/semc/msm7x30-common/prebuilt/animations/charging_animation_07_H.png:system/semc/chargemon/data/charging_animation_07.png
build/core/main.mk:484: *** The following variables have been changed: PRODUCT_COPY_FILES. Gestopt.

Anyone has a solution?
[Android] CallMeVentus:
Since you know how these dirty hacks work I don't know how you can manage to miss out the fact that it's strictly for 64-bit only .

For 32-bit systems you can only officially compile Froyo and below versions successfully

This is a signature.
[Android] xvzf:
Proplems during download

Hello,

First: I'm from Germany so please except my worse English :)

I have some Problems with downloading the Source Code.

the "repo sync" command ends with "Error during fetching files" by motorola/stringway or something like this...

What can I do to fix this problem?

Cheers Matthias
[Android] rubervalrfl:
repo sync -j1
[Android] xvzf:
Thanks!! Now it works

Just started compiling for EEE Pad Transformer :)
[Android] ttibbetts83:
http://pastebin.com/jU9wSYL4

unable to install repos keep getting this error
[Android] thomas1991_12:
keep on syncing.
[Android] rubervalrfl:
use the repo sync -j1
[Android] leajian:
I want to build for Xperia Neo V (MT11i) known as haida, so far I can't solve a problem, I don't understand what exactly to do.

And I give up until it is found. Also I am on 32bit, is it impossible to complile? :crying: I've seen you scream it's only for 64bit.

Any help much appreciated, thanks.

full_haida.mk
[Android] dastin1015:
Yes 64bit only. You can comment out the line in your full_haida.mk file so that it doesn't try to call that file.
[Android] leajian:
That file was needed, I found it here BTW : https://github.com/PolishBloodProject/platform_device_semc_msm7x30-common/tree/master/prebuilt

Also, I edited my previous post, because I encountered another problem.

And, I should abort "my mission" to compile, right? :rolleyes:

Thanks.
[Android] DJBhardwaj:
How much time does "repo sync" take?
[Android] dastin1015:
Depends on your internet connection speed.

私のEVO 3Dから送信される。
[Android] DJBhardwaj:
Is it the source (~6GB) ?

See, here we have some powercuts, so its difficult for me to download 6GB all together :(
[Android] nasif619:
help

getting this one. any help
[Android] Evostance:
So I managed to make 1 otapackage, then I installed the binaries, wiped my builds and then did another repo sync

Now when I build I get a load more errors;

http://pastebin.com/VxfvSxx5

The first one not show, but it says cannot find 'src'
[Android] CallMeVentus:
Delete the folder specified .

/bin/bash: out/host/linux-x86/bin/llvm-rs-cc: Permission denied

Did you set this to be executable ? Or set proper permissions to it ?
[Android] Evostance:
I've not altered any permissions. I just extracted the binaries, did a repo sync and then built and compiled.
[Android] CallMeVentus:
It might be because of the extraction that you did not set the binary to be executable :)
[Android] DJBhardwaj:
What is the total size of source? Jelly bean source?

Envoyé par mon LG-P500 chargée avec CM9
[Android] Evostance:
How would I go about that as I dont know where things have been extracted to?

About 13GB
[Android] CallMeVentus:
Uhh.....look at your error again .

"Friends forever." - Ventus
[Android] thx84:
I got past the TARGET_CPU_ABI error, but I'm far from good to go.

I get this error (translated from french): make: *** No rule to make target « vendor/semc/hallon/proprietary/framework/com.sonyericsson.suquashi.jar:system/framework/com.sonyericsson.suquashi.jar »

this is the last line from the blobs.mk, I changed from PRODUCT_COPY_FILES to BUILD_PREBUILT because I had an issue with an .apk file

Any ideas on what I did wrong?
[Android] Evostance:
Added the permissions and now more errors

http://pastebin.com/SEKCjd4W
[Android] Kureigu:
no extract sh

Hi all. Thanks for the tut. Having a problem.

So here is my story so far and my request for help in compiling JB for an Astro+ (aka; Momo9 tab, Iview 760, Micromax funbook). It uses an Allwinner A10 processor. My variant is an ARM-A8 1.2GHz with 1GB RAM.

My set-up; Win 7, Oracle VirtualBox v4.1.18: Running Ubuntu 10.04.4 64bit. It is currantly set-up to use 4GB RAM, 128GB GRAM, and 40GB VHD. Network set as Bridged Adapter, this seems to work better than NAT.

I've been trobleshooting my problems along the way with the help of google, and most results point back here (xda) anyway :)

I am only going to post parts where I have deviated from the guide, or am currantly having problems.

1) JDK. I installed the sun jdk rather than the open jdk.

3) USB. I have a 50 and a 51-android.rules. (Note: Searching seems to indicate that my device uses the "Google" string.)

Adding device to list

2)

cd WORKING_DIRECTORY/device
mkdir sumvision

3)

git clone git://github.com/christiantroy/linux-allwinner.git astroplus

4)

cd astroplus

6)

./extract-files.sh

returns;

bash: ./extract-files.sh: No such file or directory

Now I realise that, as the above for multiple devices it does't have the extract script and i really don't know where to go from here.

My attempts of trying to find a repo of this device or its other names have been fruitless. Does anyone know of a repo? Do I have to build one myself? Or am I looking at this compleatly wrong?

Thanks for your time.
[Android] CallMeVentus:
/bin/bash: out/host/linux-x86/bin/clang: Permission denied

Same thing .

"Friends forever." - Ventus
[Android] Evostance:
I've changed the permissions on everything in that folder. Is there a command line I can run to do it all at once?
[Android] NihanthK:
thnx a lot i cud start compiling now )
[Android] mesaj:
can't pass this while compiling cm10

edit:

temporary walkthrough done with disabling build of

@external/webkit/Source/WebKit/Android.mk:

android/WebCoreSupport/PlatformBridge.cpp \

android/plugins/ANPSurfaceInterface.cpp \

@external/webkit/Source/WebCore/Android.mk:

platform/graphics/android/layers/CanvasTexture.cpp \

second edit:

as this worked temporary, it crashed later.

removed /frameworks and /external/webkit folders, then did repo sync again and it works
[Android] BENETNATH:
ok, so the best way will still be to have a build with vendor stuff and all of this.

but sadly, no device tree except an old-and-not-updated one (dees-troy's git)

and no dev on it.

i'll be glad to build on it, but i have difficulties to have a kernel built and a AOSP built..

recovery is a must-have to begin dev ?

if so, which one is the easier to port ? CWN or TWRP ? as the current CWN releases brick the tab on data restore or format..
[Android] grumpy.medic:
Virtual Box Users...

First I wanted to say thank you for this great tutorial dastin1015.

Now, for all the VirtualBox users like me, I am working on two images (32/64bit) that should be a ready and out-of-the-box solution with all the dependencies etc installed. Once I get all the errors worked out and most of Ubuntu Desktop de-bloated, I will be posting some download links here.

If you feel like it is not necessary to share or have any other thoughts, just let me know.

~cheers
[Android] NineInchNails:
Share away sir. Can't do anything but help.
[Android] DJBhardwaj:
Can someone please guide me to setup SDK properly :/
[Android] Evostance:
EDIT: Finally got it to build successfully.

Any ideas how I remove the recovery so I dont wipe over CWM?
[Android] ttibbetts83:
make: *** [out/host/common/obj/JAVA_LIBRARIES/guavalib_intermediates/javalib.jar] Error 41

make: *** Waiting for unfinished jobs

during compiling this error happens
[Android] lithid-cm:
There are more errors, looks most likely to be the guava patch provided plenty of times.
[Android] ttibbetts83:
how do i apply the patch? i found but no explanation on how to apply
[Android] lithid-cm:
Maybe this will be easier to read.

https://github.com/CyanogenMod/andr...mmit/c8b97210aa31c9b80b5fd136d8617ebe4e731e09
[Android] ttibbetts83:
yea that was just as easy to read as the other one but it still dose not tell me where to put it or how to use it so a little explanation would be great.

This the first time i have ever setup this up and am new to the build prossce
[Android] lithid-cm:
Red means old, green means new. Follow the line numbers. It's kinda like connect the dots. There isn't anything to explain with this. It's two lines.
[Android] NineInchNails:
La la la la... Connect the dots... La la la la
[Android] CallMeVentus:
Just remove the folder and its reference in the updater-script .

Please don't spam . Thanks

"Friends forever." - Ventus
[Android] onlychevys:
9. cm_hercules-eng

10. full_maguro-userdebug

11. full_panda-userdebug

which would you like? [full-eng] 9

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

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

** Do you have the right repo manifest?

mark@mark:~/WORKING_DIRECTORY$

I know this is posted on the OP, but I don't understand?Is it looking for cm_hercules in build/core/product_config.mk ,line 205? If so it don't matter if I change it or not.