yashsingh1/xdaforums huggingface dataset:
[Android] fmarky:
I heard somewhere that you can ignore warning but not error. Can those warnings cause some bugs in the system tho? like a force close or something like that?
[Android] dastin1015:
That's not a build warning, that's the repo command. FC's are caused from bad code. Bad code can still be compiled without warnings appearing.
[Android] Black_Prince:
Check for typo error , the dir should be working_dir/.repo/local_manifests/local_manifest.xml
[Android] lozohcum:
I have compiled JB, where is it saved? Which directory? 0_o

I have xperia J, after command 'lunch' i choosed 1st option, did I chose correct one? Which one should I set for Xperia J?
[Android] Kayant:
Zip are saved into the out/target/product/<devicename>/<romname.zip>

If the first one was your device name then yes if not you compiled for a different device.... when you use the lunch command pick your device's codename for example My device is the Motorola Defy and the codename is MB526..... so for instance if am compiling CM it will be called cm_mb526

Let's Go ^_^
[Android] lozohcum:
Fisrt option was 'full_eng' sth like that. I there wasn't option for jlo, what should I do then?
[Android] Kayant:
Yh that was the wrong option..... you need to find out what your device code name is so you can select once you run the lunch command..... if your building AOSP or a rom that doesnt support your device yet then you need to add your device tree/vendor to add support for your device.....

Let's Go ^_^
[Android] apascual89:
I downloaded source for maguro, extracted binaries and built with the make -j# command. I got a recovery.img. system.img and userdata.img. How should I flash it to get it to boot?
[Android] toxicthunder:
If your build compiled successfully you would have got a message saying so and stating that a .zip file has been created.

The .zip file is located at /out/target/product/maguro/

If it isn't there then it means that your build was unsuccessful.
[Android] apascual89:
Thanks for the reply, but I didn't choose the ota package option. I chose the make j# option so no zip was expected.
[Android] djmatt604:
You should still see your .img files there though I believe, no?

Sent from my T989D
[Android] dastin1015:
Either use the fastboot erase and fastboot flash method, or zip your system.img and boot.img together then run it through dsixda's kitchen to make it flashable.

私のEVO 3Dから送信される。
[Android] fmarky:
You mean that you dont see your device in the lunch menu? If so you need to copy a vendorsetup file from an other device to yours. There is an entry in that file name add_lunch_combo full_yourdevice.mk that you need to change. I dont see the point of building full_eng O.o
[Android] lozohcum:
I have device tree for Xperia J - codename jlo- i put it in working_directory/device/jlo

and option like "jlo" doesn't appear after command 'lunch'

can You tell me what exacly I should to step by step to compile it?

EDIT: Solved

Directories should be: WORKING_DIRECTORY/devices/sony/jlo

now I have an option to choose after 'lunch' command :) Thx for reply

EDIT 2: Again problem:

omg what now?

I'm using this github:

https://github.com/CyanogenMod/android_device_sony_jlo
[Android] Kayant:
You mean WORKING_DIRECTORY/device/sony/jlo right??

Anyway that shouldn't matter I think..... R u trying to build AOSP or CM??? cause that configuration cm_jlo is for building CM.....

If its AOSP you're building you need to add something like add_lunch_combo full_jlo-eng to vendorsetup in your device folder and then pick that were you run lunch

Let's Go ^_^
[Android] Factionwars:
Ril modem faulty

hello,

I get the following errors after i compiled my own CM10.1 (their own nightly is working but when i built it myself it doesn't)

E/RILClient( 1903): Connect_RILD: Connecting failed. Connection refused(111)

And after some time it loops this:

D/RIL ( 3462): modem status [ 0x0 ]

E/RIL ( 3462): Modem boot timeout

D/RIL ( 3462): wait Modem boot ready

Full radio log: http://pastebin.com/6BGYGd5p

Thanks in advance. PS: i differed my builded version to another and i am not missing any files (related to RIL and modem).
[Android] lozohcum:
Odp: [Tutorial] Compile JB on Ubuntu

I'm trying to build AOSP. Maybe later will try CM

How to add thing you are talking about? I'm Sorry for my noobness, I'm just learning all those things, by the time I'll get more skill.

There are two sources for device tree of JLO, freexperiaproject and cyanogen mod, is it the same? I think yes cuz FXP all builds are CMs
[Android] ktempleton:
hey guys im buildin two different roms and getting stuck at this same error can some on help me on this i have searched and it brought me to this thread and it was a similar error but different board

http://pastebin.com/pPjajRA0

thanks for the help
[Android] dastin1015:
You're building for the d710. Remove the gralloc header file in the include folder in the device tree.
[Android] ktempleton:
Thanks dastin I'm running it now after imka clean

ok i ran into the same error but now its in the framework av

target arm C: libstagefright_aacenc <= frameworks/av/media/libstagefright/codecs/aacenc/src/bitenc.c

frameworks/av/media/libstagefright/colorconversion/SoftwareRenderer.cpp: In constructor 'android::SoftwareRenderer::SoftwareRenderer(const android::sp<ANativeWindow>&, const android::sp<android::MetaData>&)':

frameworks/av/media/libstagefright/colorconversion/SoftwareRenderer.cpp:98:173: error: 'GRALLOC_USAGE_HW_FIMC1' was not declared in this scope

frameworks/av/media/libstagefright/colorconversion/SoftwareRenderer.cpp:98:198: error: 'GRALLOC_USAGE_HWC_HWOVERLAY' was not declared in this scope

frameworks/av/media/libstagefright/colorconversion/SoftwareRenderer.cpp: In member function 'void android::SoftwareRenderer::render(void const*, size_t, void*)':

frameworks/av/media/libstagefright/colorconversion/SoftwareRenderer.cpp:216:70: error: 'GRALLOC_USAGE_YUV_ADDR' was not declared in this scope

make: *** [out/target/product/d710/obj/STATIC_LIBRARIES/libstagefright_color_conversion_intermediates/SoftwareRenderer.o] Error 1

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

ken@ken:~/android/4.2/sorcery$

sorry same error on a different build

what should i do now thanks
[Android] trapjul:
Thx for the nice tutorial !

Im not sure whether its normal that the repo sync takes more than 5h ? :confused:

btw: i have a good connection...
[Android] Ubbabubba:
Sorry guys, but i'm trying to compile android 4.2.1 on ubuntu 12.10 but i'm stuck at this point when i do

"make -j4" command:

host Executable: emulator64-x86 (out/host/linux-x86/obj/EXECUTABLES/emulator64- x86_intermediates/emulator64-x86)

collect2: collect2: cannot find 'ld'

cannot find 'ld'

collect2: cannot find 'ld'

make: *** [out/host/linux-x86/obj/EXECUTABLES/emulator64-arm_intermediates/emulator64-arm] Error 1

make: *** Attesa per i processi non terminati....

make: *** [out/host/linux-x86/obj/EXECUTABLES/emulator64-mips_intermediates/emulator64-mips] Error 1

make: *** [out/host/linux-x86/obj/EXECUTABLES/emulator64-x86_intermediates/emulator64-x86] Error 1

and then stop compliling
[Android] Kayant:
Have you tried increasing the amount of connections?? E.g repo sync -jx < x can be any number>

Since you have a good connection try 16 if it is downloading slowly try lowing the number...

Let's Go ^_^
[Android] mg2195:
If its the first sync then yes its normal...all future syncs will finish in about about or less depending on when your last sync was
[Android] Allen Hu:
how do I fix this?

get this when syncing the repo:(

gpg:XXXXXXXXXXXXX
gpg:XXXXXXXXXXXXX

error: could not verify the tag 'v1.12.1'

The XXX part is in my homeland's language:p
[Android] dastin1015:
OP updated to reflect 4.2.2 push
[Android] djmatt604:
Step 6.1 still mentions 4.2_r1...is that correct or should it also say 4.2.2? Thanks Dastin!

Sent from my Infamous Tab.
[Android] dastin1015:
That doesn't apply to people who haven't synced yet. If you have then switch it. I forgot to change that

私のエピック4Gのタッチから送られてきた。
[Android] fmarky:
Anything new for the keyboard? I've been (and I'm still) sick so I didn't take a look
[Android] djmatt604:
I have been occupied as well my friend but am committed to working this out. I'll try to get some time in this week on it. We should switch to PM so as not to pollute this thread with our issue :) hit me up when you get a chance!

Sent from my Infamous Tab.
[Android] JochenKauz:
Many, many thanks for this tut.

But I wanted to tell something strange what had happened to me with the repo sync.

I have my compile machine setup in my network and it is connected thru an firewall/router to the internet.

If I make a repo sync, it got stuck after getting all information from the servers and building the .repo dir.

I found something like to set another packet size for tcpip, but this does not help.

-> sysctl -w net.ipv4.tcp_window_scaling=0

Then I found another hint, to not use capitals in the real name, did not work.

Next hint was to not use spaces in real name, did not work.

Solution for me.. all three things. window_scaling=0, no capitals and no spaces in real name.

I don't know why a real name should be without capitals and spaces, cause thats not a real name, but who knows what google thinks.

Hope this helps for other people who get the same problem.

Last hint I have found, but did not use it, cause I have made it in this way... no capitals in email adress.
[Android] mg2195:
hey dastin...little help here? i finally got around to adding your hardware stuff for msm8660 frim the team hydra github...but ive run into this error...any tips/ideas?

/home/mikey/slimbean/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: /home/mikey/slimbean/out/target/product/holiday/obj/SHARED_LIBRARIES/hwcomposer.msm8660_intermediates/hwc.o: previous definition here
collect2: ld returned 1 exit status
make: *** [/home/mikey/slimbean/out/target/product/holiday/obj/SHARED_LIBRARIES/hwcomposer.msm8660_intermediates/LINKED/hwcomposer.msm8660.so] Error 1
mikey@mikey-GeForce7050M-M:~/slimbean$

heres the full log on pastebin http://pastebin.com/XNPsT75K

and this is for 4.2.1 i believe (slimbean...)
[Android] dastin1015:
https://github.com/Team-Hydra/andro...mmit/8ff28b656e1708232a422012cfaef82398e82bb6
[Android] mg2195:
that was fast, ill give it a try :D

edit: seems to have done the trick...dastin youve saved me hours of looking...thank you so much
[Android] ktempleton:
Hey dastin I have a question?? I built a ROM called xylon for the d710 and it flashes fine when it boots up it says that the encryption failed and you need to factory reset after you click the reset it goes to the green android and boots again into the same thing.. What causes this and where would I look in the source to fix it.. thanks kt
[Android] dastin1015:
Never ran into that before or heard of it so personally no idea

私のエピック4Gのタッチから送られてきた。
[Android] ktempleton:
OK thanks for the fast reply. I've never seen it either
[Android] JPBeard21:
As far as encryption goes, from my experience on the Atrix 4g, in order to enable or disable encryption the stock recovery image was required. That was on GB 2.3.6 and not sure if it applies to the encryption Google introduced in ICS/JB. Not sure if kernels play a part or not.

Edit: Was the device encrypted before flashing?
[Android] Daniel_GT:
I've asked this question on both Android groups and Ubuntu forums only to be met with a stony silence. Perhaps I'm being a blithering idiot!

One of the first steps in the process is to;

$ sudo apt-get install git gnupg flex bison gperf build-essential \
zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
libgl1-mesa-dev g++-multilib mingw32 openjdk-6-jdk tofrodos \
python-markdown libxml2-utils xsltproc zlib1g-dev:i386

$ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so

I have a (newly installed) Ubuntu 12.04 64-bit machine and have installed all the packages (through Synaptic or apt-get) with the exception of;

libncurses5-dev:i386
libgl1-mesa-glx:i386
zlib1g-dev:i386

apt-get for these three alone returns;

danielgt@danielgt-linux:~$ sudo apt-get install libncurses5-dev:i386 libgl1-mesa-glx:i386 zlib1g-dev:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgl1-mesa-glx:i386 is already the newest version.
The following extra packages will be installed:
libc6-dev:i386 linux-libc-dev:i386
Suggested packages:
glibc-doc:i386 manpages-dev:i386 ncurses-doc:i386
Recommended packages:
gcc:i386 c-compiler:i386
The following packages will be REMOVED
build-essential g++ g++-multilib gcc gcc-multilib libncurses5-dev
The following NEW packages will be installed
libc6-dev:i386 libncurses5-dev:i386 linux-libc-dev:i386 zlib1g-dev:i386
0 upgraded, 4 newly installed, 6 to remove and 0 not upgraded.
Need to get 6,349 kB of archives.
After this operation, 23.2 MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
danielgt@danielgt-linux:~$

It seems counter-intuitive for me to run the last command and;

Remove the build-essential and g++-multilib packages indicated as required in the original command.

Remove a 64-bit package (libcurses5-dev) to replace it with the i386 variant, as a 64-bit system is required to build.

Additionally, I don't seem to have libgl1-mesa-glx:i386 installed, though I do have the 64-bit variant (libgl1-mesa-glx). Is that explained by the second (ln) command ran?

Any advice as to how I should proceed would be welcome? What can I do to enable installation of all the required packages whilst avoiding conflicts?
[Android] bieltv3:
CAn someone help me here, I'm getting this error building cm10.1 thanks

Export includes file: frameworks/av/media/libmedia/Android.mk -- /home/bieltv3/android/source/cm10.1/out/target/product/cooperve/obj/SHARED_LIBRARIES/libmedia_intermediates/export_includes
make: *** No rule to make target `/home/bieltv3/android/source/cm10.1/out/target/product/cooperve/obj/SHARED_LIBRARIES/libwpa_client_intermediates/export_includes', needed by `/home/bieltv3/android/source/cm10.1/out/target/product/cooperve/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
[Android] ktempleton:
You need to go to shared libraries and create libwpa_client_intermediates folder then go in there and make an empty document and name it export_includes
[Android] bieltv3:
But I preefer fixing sources, not creating this folder every time I make a clean build... Is there any other option?

Enviado desde mi Nexus 7 usando Tapatalk 2
[Android] ktempleton:
I'm not sure where to add that but that's how I get past that error then usually I only have to do it once
[Android] dastin1015:
You're not calling the libwpa_client to be built
[Android] bieltv3:
So must I add libwpa_client on device_cooperve.mk? On profuct oveerrides?, thanks

Enviado desde mi Nexus 7 usando Tapatalk 2
[Android] :
OK, I have a big issue. I cloned the source from/to my working directory, but it all downloaded to my /home folder which is not what was expected. My question is, will it hurt to just move all the source files to my working directory, or is there some symlinking going on that would prevent that from being an option?
[Android] THEindian:
It won't hurt but its gonna be another pain in the ass when you wanna repo sync
[Android] :
I expected something like that to be the case. Oh well, I've already finished setting the job up and my device shows up on the menu, so i guess I'll begin the compile and see what happens. All else fails, the bandwidth was free for that download, so its only a time loss.

Thanks BTW.

Yeah..... 100% my deal....... I double checked and .repo stuck to /wambobomb and not /android because I was running 2 terminals and initialized in the wrong terminal. :banghead:facepalm:

I just moved .repo to /android and repo sync cleared it up.
[Android] ktempleton:
So I've updated my pacman build to 4.2 and now it won't build because I have SDK revision 17 it only supports 16 and below. Anyone know how to get past this.. Thanks
[Android] dastin1015:
Can I see the error?
[Android] ktempleton:
Well I've addressed it by creating a number 17 file under prebuilts/SDK/17 and copied the ui and android jar and framework aidl from version into it and that seems to have done it thanks
[Android] speed_bot:
it will be something like invalid local sdk version
[Android] Fihlvein:
I did solve that by changing the value 17 to "current" in the few .mk files the error mentions. Eventually though I made a fresh repo sync and this issue never reappeared.
[Android] evol4g:
audio troubles

http://paste.ubuntu.com/1686500/

ok so i've compiled xylon for htc one s (ville) and there was absolutely no audio

in my hardware/qcom/ folder there was only an "audio" folder, my board config says it uses caf for audio

so i pulled the "audio" and "audio-caf" repositories from CM and the error above is what i'm left with..

any suggestions?
[Android] speed_bot:
lot of undeclared stuff read the error..
[Android] ktempleton:
I believe you have to add a define to your board config file.. Look up dastin on git hub and look at his HTC devices he builds for then look at the board config file and you'll find it its something like qcom uses audio caf =true

Edit OK I see that your board does say that I just looked at the error still wouldn't be a bad idea to compare your files with his though
[Android] BENETNATH:
hi everybody,

i'm facing this issue :

any idea where to declare them ?
[Android] evol4g:
so i got past the audio errors but now i'm left with something interesting

http://paste.ubuntu.com/1693720/

now this i don't have a clue on, im using a prebuilt kernel, and yes my zimage is in the proper directory even though it says it's omitting that directory for whatever reason..

i don't have a KERNEL_OBJ folder at all or a alsaucm_test_intermediates folder

EDIT

i just came to the conclusion that alsaucm_test.o is also related to audio, but yet i don't have that file in the directory the error is pointing to..
[Android] speed_bot:
well you will have kernel_obj folder only if its building kernel from source...just uncomment the source directory
[Android] :
I have fully compiled an entire build, and after a lot of work, I'm finally stuck on an endless bootanimation after switching out a lot of different things including libs and a few apks. The pastebin link is a logcat of the error that constantly repeats and I cant seem to get past it. If anybody could lend a hand, it would be greatly appreciated. TIA. and I have no problem proividing more info, if you need it.

http://pastebin.com/8hxCTCc8

and extended. from the start of boot...... http://pastebin.com/iMeM04zx
[Android] speed_bot:
"/system/lib/libnetcmdiface.so" not found this is clearly missing
[Android] :
Yeah, I have looked in just about every rom available for supersonic and cannot find that lib anywhere.

Is it a possibility that it is supposed to be created at boot?
[Android] dastin1015:
In your device make to create it:

PRODUCT_PACKAGES += \
libnetcmdiface
[Android] :
Sweet deal.... I'll give that a shot. Thanks.

EDIT*** Recompiled with above stated additions. Still a No-go.
[Android] whirleyes:
Some question on cm10.1 build.

Is there any trick to skip clang & clang++ build??

ccache doesn't seem to capture output from last build & always rebuild them.
[Android] bieltv3:
Hi, I'm facing a really weird error, that IIDK how to solve it, if someone could help me I'll appreciate it alot, tahnsk

target thumb C: libhardware_legacy <= hardware/libhardware_legacy/power/power.c
arm-eabi-gcc: ": No such file or directory
<command-line>: warning: missing terminating " character
make: *** [out/target/product/cooperve/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/power/power.o] Error 1
make: *** Deleting file `out/target/product/cooperve/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/power/power.o'
make: *** Waiting for unfinished jobs....
[Android] speed_bot:
path to gcc is incorrect
[Android] bieltv3:
WHere can I write the correct path?

EDIT: pkease is really important if someone else can help me
[Android] speed_bot:
more log can help me...
[Android] bieltv3:
Nope thats the full log, just going making the libs and happens this error on libhardware_legacy... and never get that error before
[Android] azoller1:
I keep getting this error,

Don't have product spec for: "full_grouper"

Do you have the right repo manifest?

Its very annoying thanks
[Android] dastin1015:
PA uses aosp repos, but depending on the device will switch to CM repos. You have to figure it out for yourself though. In this case switch the frameworks/native to CM
[Android] djmatt604:
You are missing makefiles in your device tree most likely. Make sure your tree is complete. Compare to other similar devices if necessary.

Sent from my Infamous Tab.
[Android] speed_bot:
read the 2nd line

arm-eabi-gcc: ": No such file or directory

the toolchain that its using doesnt have arm-eabi-gcc so if i can see previous logs i can come to know which toolchain is used and fix else how can i ?>
[Android] xSkArx:
idk if was posted, but how can I add T-mobile Theme Engine into AOSP?
[Android] bieltv3:
Its really strange because building for another device (another device tree) it works, so something is bad on device tree.. Any idea?

PD: it seems solved using old boardconfig.mk... Will take a look at new one and see what happened
[Android] ktempleton:
On your board config there is probably a place it calls a custom toolchain remove that or place the proper toolchain in prebuilts
[Android] speed_bot:
excatly

something like

TARGET_CUSTOM_TOOLHAIN =: some toolchain name
[Android] evol4g:
k so now i'm building slimbean and ive fixed a bunch of errors but now i got this guy

http://paste.ubuntu.com/5564224/
[Android] azoller1:
Anyone know a good place to learn cherry picking and fetching from github?
[Android] blazingwolf:
You can try here: http://think-like-a-git.net/
[Android] :
+1. I found this site thru a google search and it has been very helpful.
[Android] xSkArx:
hi, I'm building 4.2.2 for Galaxy S2 i9100 I've search but i don't find nothing about this http://pastebin.com/qNmhNiug idk how can i fix this
[Android] ktempleton:
It has to be in English my man
[Android] xSkArx:
No private recovery resources for TARGET_DEVICE i9100

make: *** No rule to make target 'out/target/product/i9100/kernel' needed by 'out/target/product/i9100/boot.img. Stop.
[Android] ktempleton:
You need your kernel source and place it under kernel/samsung I'm not sure but i think your kernel is msm8660 but you will have to look that up
[Android] speed_bot:
Kernel not found...download a kernel for your device rename it to "kernel" and then put it in device/samsung/i9100

then put this line under kernel in boarconfig.mk

TARGET_PREBUILT_KERNEL =: device/samsung/i9100/kernel

then do make clobber then compile..
[Android] xSkArx:
you say I have to rename a boot.img?
[Android] ktempleton:
I know you can do it that way but when i have gotten that error in the past it was because i didn't have my kernel source added in my build either way will work but you have to add the kernel after make clean every time or you can add the source and it will build that inline
[Android] dastin1015:
Go to CM and use the smdk4210 kernel and compile a zImage and some modules. Then use that zImage and rename it to kernel and set in device tree as the prebuilt kernel image. Also don't forget to copy over modules
[Android] speed_bot:
it depends on your boardconfig ..if it links to kernel then we need to add it..but seeing his log made me clear that a source isnt defined in its boardconfig..because if its defined and the source doesnt exist locally it will show source not found.,.so i asked him to make a prebuilt kernel.

---------- Post added at 09:23 AM ---------- Previous post was at 09:22 AM ----------

no boot.img = zimage + ramdisk + modules

zimage=kernel

you gotta extract and rename it..
[Android] ktempleton:
OK see you are the man speedbot i didn't see that lol thanks for teaching me that
[Android] speed_bot:
just understand how the config works