yashsingh1/xdaforums huggingface dataset:
[Android] Kayant:
Ccache is not the problem here btw.....

Repo sync the issue has been fixed already ----> https://github.com/CyanogenMod/android_vendor_cm/commit/5d4847b8e4e53bf3107c22a3f8edfb0a307e4e8c
[Android] LeMuecke:
Will try tomorrow again, but I repo synced like 100 times today? Should there be a --f or something like that?
[Android] Kayant:
no a normal repo sync will be fine if you have problems then delete the vendor/cm folder then repo sync again to get it back
[Android] LeMuecke:
Weeeeeell, no, doesn't work, same error again oO
[Android] Kayant:
hmmm that's weird ok just remove prebuilt/libGoogleAnalyticsV2/Android.mk and prebuilt/libGoogleAnalyticsV2/libGoogleAnalyticsV2.jar yourself
[Android] oguzhan mobile:
I chose eng accidentally. not userdebug. Does a problem?
[Android] SpaceCaker:
nope

just change it after compile in build.prop

thwn it works fine
[Android] flipinfin:
Just flash a compatible kernel or compile one yourself
[Android] ibub:
I have a noob question. How do I cause the toolchain not to odex?

sent from the p509 that I thought I killed again... no trouble at all :cool:
[Android] antonio8297:
my friend have a problem during compiling jellybam6,this is the error:

https://dl.dropboxusercontent.com/u/30754456/Nuovo documento.txt
[Android] untz1456:
i need help with this error been stuck on it for this whole day

host C++: liboprofile_pp <= external/oprofile/libpp/callgraph_container.cpp
In file included from external/oprofile/libpp/symbol.h:21:0,
from external/oprofile/libpp/callgraph_container.h:19,
from external/oprofile/libpp/callgraph_container.cpp:22:
prebuilts/gcc/linux-x86/arm/linaro-4.7/include/bfd.h:37:2: error: #error config.h must be included before this header
make: *** [/home/edgar1456/android/PAL/out/host/linux-x86/obj/STATIC_LIBRARIES/liboprofile_pp_intermediates/callgraph_container.o] Error 1
make: *** Waiting for unfinished jobs....
warning: no entries written for dimen/password_keyboard_height
warning: no entries written for drawable/sym_keyboard_delete_holo
[Android] SpaceCaker:
u mean

dexpreopt?

these are in the device.mk files

remoce those dexpreopt lines and it wil deodex ur rom like normal :)
[Android] ibub:
Thank you so much. I'm still at the learning stage where I pretty much copy/paste a lot of commands, not really knowing a lot of my options. But I'm learning. :)

sent from the p509 that I thought I killed again... no trouble at all :cool:
[Android] hazedabeast:
What's dexpreopt if u don't mind me asking?
[Android] dastin1015:
Odex of the compiled build. Dexpreopt allows devices with lower amounts of RAM to run smoother and boot faster after the initial boot at the sacrifice of some system partition space.

私のONEから送信される。
[Android] hazedabeast:
Ooh how could I cherry pick a battery icon commit?
[Android] ktempleton:
You can look here

http://xdaforums.com/showthread.php?t=2329228
[Android] Slayer_b:
Could someone please suggest how can I fix the below issues while compiling CM10.1 for a new device:

hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'OMX_ERRORTYPE omx_vdec::handle_demux_data(OMX_BUFFERHEADERTYPE*)':
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9467:133: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'OMX_ERRORTYPE omx_vdec::vdec_alloc_meta_buffers()':
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9628:26: error: invalid conversion from 'void*' to 'int*' [-fpermissive]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'OMX_ERRORTYPE omx_vdec::vdec_alloc_h264_mv()':
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:9692:27: error: invalid conversion from 'void*' to 'int*' [-fpermissive]
[Android] bart452:
Hey. I'm building jellybeer for LG p700. I'm getting a weird error. I can't find a solution anywhere.

http://pastebin.com/kqp6DZkT

host C++: zipalign <= build/tools/zipalign/ZipAlign.cpp
host C++: zipalign <= build/tools/zipalign/ZipEntry.cpp
host C++: zipalign <= build/tools/zipalign/ZipFile.cpp
target Java: jsr305 (/home/bart452/jellybeer/out/target/common/obj/JAVA_LIBRARIES/jsr305_intermediates/classes)
make: *** No rule to make '/home/bart452/jellybeer/out/target/common/obj/JAVA_LIBRARIES/javax.btobex_intermediates/javalib.jar' needed for '/home/bart452/jellybeer/out/target/common/obj/APPS/Bluetooth_intermediates/classes-full-debug.jar'. Stopped.

Can someone help?
[Android] LeMuecke:
Take a look in those files, as you see, %d expects another type then given. Just something to start with, I don't know much about cm on new devices :)
[Android] Slayer_b:
it is just a warning (I've seen a lot of these during the build). the actual error is

error: invalid conversion from 'void*' to 'int*' [-fpermissive]

As far as I understand, hardware/qcom/media-caf/mm-video/vidc/vdec project depends on msm_ion.h and ion.h headers from my kernel sources, so it looks like the issue is there but considering the fact that I didn't even changed these headers I can't determine that is caused the issue
[Android] LeMuecke:
Do you use a working device tree or create a new one?
[Android] Slayer_b:
I create a new one.

For now, I just disabled this project from building since my knowledge is not enough to solve the issue. AFAIK this project related to media formats and hardware media acceleration, as an alfa build I can easily live without these :laugh:
[Android] vishal_android freak:
Hey guys.. I have got small problem.. The package which we create symlink for, is not getting installed.. Other packages are up to date.. only that doesn't get installed.. And my ubuntu recommends other package for ubuntu 7.0 n above..

I have ubuntu 12.04 LTS.. Help would be appreciated..:)

edit: this is what i get

Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'lib32z1-dev' instead of 'lib32z-dev'
bzip2 is already the newest version.
git-core is already the newest version.
libbz2-1.0 is already the newest version.
libreadline6 is already the newest version.
readline-common is already the newest version.
zip is already the newest version.
zip set to manually installed.
gnupg is already the newest version.
libc6-dev is already the newest version.
python is already the newest version.
x11proto-core-dev is already the newest version.
x11proto-core-dev set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
ia32-libs : Depends: ia32-libs-multiarch
libgl1-mesa-glx:i386 : Depends: libglapi-mesa:i386 (= 8.0.4-0ubuntu0.6)
Recommends: libgl1-mesa-dri:i386 (>= 7.2)
E: Unable to correct problems, you have held broken packages.
[Android] masterleron:
Would this tut work for building 4.3 from source?
[Android] Kayant:
Use $ repo init -u https://android.googlesource.com/platform/manifest -b android-4.3_r2.1
[Android] masterleron:
Have done, I'm repo syncing now and it seems to be running OK.:)
[Android] vishal_android freak:
Any idea about the mentioned problem by me guys? 3 posts back? :o
[Android] SMillerNL:
Install the "Depends" and "Recommends" package.
[Android] vishal_android freak:
Thanks a lot il try.. :)
[Android] masterleron:
Is it possible to build aosp using a local_manifest.xml. If so how would you do it because I get this: fatal: remote github not defined in manifest.xml if I put the file in android/system/.repo and repo sync. Any ideas?
[Android] SMillerNL:
The error suggests that it's possible. You just don't have your remote set up.

Add a remote and try again.
[Android] masterleron:
What's a remote and how to set it up please?
[Android] SMillerNL:
http://wiki.cyanogenmod.org/w/Doc:_Using_local_manifests
[Android] desalesouche:
compiling for huawei u8860

PRODUCT_COPY_FILES device/huawei/msm7x30-common/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl ignored.

PRODUCT_COPY_FILES development/tools/emulator/system/camera/media_profiles.xml:system/etc/media_profiles.xml ignored.

PRODUCT_COPY_FILES development/tools/emulator/system/camera/media_codecs.xml:system/etc/media_codecs.xml ignored.

PRODUCT_COPY_FILES hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf ignored.

PRODUCT_COPY_FILES vendor//prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.

make: *** No rule to make target `/home/desalesouche//out/host/linux-x86/bin/mkbootimg', needed by `/home/desalesouche//out/target/product/u8860/boot.img'. Stop.

hi , if anyone can help...

thank you

edit.i manage to fix that... but new error...

make: *** No rule to make target `/home/desalesouche/carbon/out/host/linux-x86/bin/minigzip', needed by `/home/desalesouche/carbon/out/target/product/u8860/ramdisk.img'. Stop.
[Android] david279:
I keep getting this error building CM 10.2 for the m7spr. Any suggestions?

MKBOOTIMG= \

./build/tools/releasetools/ota_from_target_files -v \

-p /home/david/cm/system/out/host/linux-x86 \

-k build/target/product/security/testkey \

--backup=true \

--override_device=m7wls,m7spr \

/home/david/cm/system/out/target/product/m7spr/obj/PACKAGING/target_files_intermediates/cm_m7spr-target_files-eng.david.zip /home/david/cm/system/out/target/product/m7spr/cm_m7spr-ota-eng.david.zip

unzipping target target-files...

running: unzip -o -q /home/david/cm/system/out/target/product/m7spr/obj/PACKAGING/target_files_intermediates/cm_m7spr-target_files-eng.david.zip -d /tmp/targetfiles-HTEMod

Traceback (most recent call last):

File "./build/tools/releasetools/ota_from_target_files", line 874, in <module>

main(sys.argv[1:])

File "./build/tools/releasetools/ota_from_target_files", line 817, in main

OPTIONS.info_dict = common.LoadInfoDict(input_zip)

File "/home/david/cm/system/build/tools/releasetools/common.py", line 155, in LoadInfoDict

d["fstab"] = LoadRecoveryFSTab(zip, d["fstab_version"])

File "/home/david/cm/system/build/tools/releasetools/common.py", line 227, in LoadRecoveryFSTab

raise ValueError("malformed recovery.fstab line: \"%s\"" % (line,))

ValueError: malformed recovery.fstab line: "<<<<<<< HEAD"

make: *** [/home/david/cm/system/out/target/product/m7spr/cm_m7spr-ota-eng.david.zip] Error 1
[Android] SMillerNL:
Is there a booting nightly for it? Otherwise you might want to wait.
[Android] david279:
Well a couple of guys built successfully for the m7ul so i figured i would try the same. m7spr is apart of the family.
[Android] ktempleton:
That looks like a cherry pick that you didn't remove completely

<<<<<<< HEAD
[Android] Slayer_b:
I've built CM10.1 for a new device. The device tree has been created myself. The recovery built with this tree boots and works fine but the ROM doesnt boots, I see kernel bootlogo, after a few sec screen becomes black and device seems to hang...Pulling battery out restarted the cycle.

How can I proceed futher? Is there any way to debug Android booting process?(I think it starts booting but fails at the beginning since the kernel starts up fine)
[Android] driodmaster92:
you must have missed out on some proprietary vendor files
[Android] SMillerNL:
Use adb to get a logcat or dmsg.
[Android] Slayer_b:
adb is not available.

The only device I see is "pantech handset diagnostic serial port"
[Android] mg2195:
ok, im trying to compile pure aosp...or as pure as i can, for the Galaxy S4 (ATT variant...jflteatt)

now this device uses xxhdpi, however this doesnt appear to exist in aosp yet...i was thinking about making all refrences point to xhdpi instead which i know will probably cause graphic issues when i flash

so heres the real question...does anybody know how i should go about adding xxhdpi support to aosp? i could probably just take it from cm...but as i said i want to keep it as pure as possible...

open to any suggestions or help :D
[Android] hazedabeast:
U trying to compile super nexus?
[Android] mg2195:
lolololol yeah :P

but back to the question...i loked into cms framework native res folders and for the most part they are almost idenical to AOSP so i just copied over there xxhdpi folder
[Android] Dj8218521:
Compiling from source

So I am attempting to compile Android 4.3 from JB source and I get Android 4.3.2.1.000.000, not Android 4.3??

I am wanting to build for Nexus 7 (grouper) (not the new one)

I know Android 4.3.2.1.000.000 is from the ''master branch''. Not real sure how to make that 4.3

Anyone know why or what I'm doing wrong??
[Android] hazedabeast:
That's what I was going to tell u. :)
[Android] mg2195:
Hmmm...for some reason im getting the "no rule to make 'otapackage'"

I added the s4 to the lunch menu and selected it...so im really not sure what im missing :/ hmmm ill just do a regular make for now to make sure I can at least build
[Android] ab-samy:
help plz

[MENTION=3257303]dastin1015[/MENTION] and All friends

can you please provide me a reliable link (device tree for galaxy s2 i9100) I used many of them but all come with build error.

Edit: i want to compile aosp 4.2.2_r1.2 for i9100 (international)
[Android] winvinay:
Please let me know how you resolved this issue ?
[Android] GabrielSousa:
dont use "make -j#" to compile

use "brunch $DEVICE"

:D
[Android] hazedabeast:
bootable/recovery/roots.c:201:76: error: 'Volume' has no member named 'fs_options2'

make: *** [/home/hamzeh/JB/revolt/out/target/product/geehrc4g_spr_us/obj/EXECUTABLES/recovery_intermediates/roots.o] Error 1

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

bootable/recovery/extendedcommands.c: In function 'gather_files':

cc1: some warnings being treated as errors

make: *** [/home/hamzeh/JB/revolt/out/target/product/geehrc4g_spr_us/obj/EXECUTABLES/recovery_intermediates/extendedcommands.o] Error 1

any help?
[Android] hazedabeast:
any ideas?
[Android] lMonsterl:
Usually means you ran out of memory
[Android] hazedabeast:
Any ideas what to do?
[Android] dastin1015:
Your recovery is calling an identifier, function, something that hasn't been declared.

私のONEから送信される。
[Android] hazedabeast:
Soooo......
[Android] winvinay:
Thanks will try that. Even I am trying to port only Halo to base android. Is this what you have tried ?

Please share your changes, so that I can avoid duplicate work :)

Thanks in advance.
[Android] hazedabeast:
build/core/base_rules.mk:130: *** frameworks/opt/net/voip/src/jni/rtp: MODULE.TARGET.SHARED_LIBRARIES.librtp_jni already defined by frameworks/base/voip/jni/rtp. Stop.
[Android] Slayer_b:
Have anyone ever seen this error:

/home/alex/cyanogenmod/cm-10.2/kernel/pantech/ef47s/lib/bitmap.c:401:1: internal compiler error: output_operand: invalid shift operand
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://source.android.com/source/report-bugs.html> for instructions.
{standard input}: Assembler messages:
{standard input}:4817: Warning: end of file not at end of a line; newline inserted
{standard input}:5072: Error: undefined local label `.L1049'
{standard input}:5075: Error: undefined local label `.L1049'
{standard input}:5079: Error: undefined local label `.L1049'
make[3]: *** [lib/bitmap.o] Error 1
make[3]: *** Waiting for unfinished jobs....

If I understand correctly I need to lower optimisation level for this, something like

CFLAGS_bitmap.o += -Os

Is it correct? I'm asking this since I'm currently far away from my buildbox, so I can't check this myself...

UPD: Yeah, It is correct. The issue has gone. Hope this will be helpful for someone.
[Android] yajnab:
I am facing a big problem while compiling frameworks/av Audiopolicy

frameworks/av/services/audioflinger/Effects.cpp:1268:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
target thumb C++: libaudioflinger <= frameworks/av/services/audioflinger/StateQueue.cpp
frameworks/av/services/audioflinger/AudioPolicyService.cpp:1580:5: sorry, unimplemented: non-trivial designated initializers not supported
frameworks/av/services/audioflinger/AudioPolicyService.cpp:1580:5: sorry, unimplemented: non-trivial designated initializers not supported
frameworks/av/services/audioflinger/AudioPolicyService.cpp:1580:5: sorry, unimplemented: non-trivial designated initializers not supported
frameworks/av/services/audioflinger/AudioPolicyService.cpp:1580:5: warning: missing initializer for member 'audio_policy_service_ops::open_input_on_module' [-Wmissing-field-initializers]
make: ***
[Android] acras13:
Hi all , just starting off , just installed ubuntu yesterday and following this guide to set up my build enviroment , I think everything went fine until I went to the working directory and got this with the next step

-laptop:~$ cd WORKING_DIRECTORY

-laptop:~/WORKING_DIRECTORY$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.2.2_r1.2

fatal: git 1.7.2 or later required

I have the latest version of git , I followed the instructions in the first post to get it , and I see it in my home folder , but theres a lock shown on the folder. I'm in the process of finding the solution , but if anyone would be kind enough to point me in the right direction to narrow down the search , I would be grateful. Thanks in advance.
[Android] SMillerNL:
What do you get if you just run "git -help"?
[Android] acras13:
I figured out the lock icon , don't know if the git folder has to be available outside of root or not but I changed ownership and permissions.

git help gave me this

usage: git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]

[-p|--paginate|--no-pager] [--no-replace-objects]

[--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE]

[--help] COMMAND [ARGS]

The most commonly used git commands are:

add Add file contents to the index

bisect Find by binary search the change that introduced a bug

branch List, create, or delete branches

checkout Checkout a branch or paths to the working tree

clone Clone a repository into a new directory

commit Record changes to the repository

diff Show changes between commits, commit and working tree, etc

fetch Download objects and refs from another repository

grep Print lines matching a pattern

init Create an empty git repository or reinitialize an existing one

log Show commit logs

merge Join two or more development histories together

mv Move or rename a file, a directory, or a symlink

pull Fetch from and merge with another repository or a local branch

push Update remote refs along with associated objects

rebase Forward-port local commits to the updated upstream head

reset Reset current HEAD to the specified state

rm Remove files from the working tree and from the index

show Show various types of objects

status Show the working tree status

tag Create, list, delete or verify a tag object signed with GPG

See 'git help COMMAND' for more information on a specific command.

Thanks for taking the time

Edit: when I searched the git folder last night , I saw version 1.8.3.4 , but running git version in terminal it shows version 1.7.0.4 , I've now tried sudo apt-get update and sudo apt-get upgrade , still shows version 1.7.0.4 in terminal . also when I changed permission for the git folder it changed the git folder , but everything inside is still root access only . Have I mucked everything up to the point I have to start fresh , and how should I do that? thanks again for helping.
[Android] SMillerNL:
Can you run

"sudo apt-get purge git*"

"sudo apt-get update"

"sudo apt-get install git-core"
[Android] acras13:
Ok , doing my best to screw this up , I downloaded git-1.8.3.4.tar.gz , then extracted it into my home folder , restarted my machine , then stopped.

-laptop:~$ sudo apt-get purge git*

Reading package lists... Done

Building dependency tree

Reading state information... Done

E: Couldn't find package git-1.8.3.4.tar.gz

sudo apt-get update does the same thing it has done previously when I tried , a bunch of hit http blah blah blah . Would seeing the output be helpful? I saw no errors reported.

-laptop:~$ sudo apt-get install git-core

Reading package lists... Done

Building dependency tree

Reading state information... Done

git-core is already the newest version.

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

and checking the version after that still shows old version . Thanks for helping me despite myself.
[Android] SMillerNL:
Hey, no worries. Everybody started out somewhere.

Can you delete manually downloaded git files and run these commands again with "purge git-core" instead of "purge git*"
[Android] acras13:
Thanks for holding my hand on this. If by manually deleting you meant sending any files and folders to the trash then empting said trash I did so ,I hit control h in my home folder to see hidden folders and,with the exception of having the git-1.8.3.4.tar.gz in my download folder I see no signs of git .I got the exact same messages as before in terminal , still shows vesion 1.0.7.4 and says git core is the most current. I hit control h in my home folder to see hidden folders.

Edit: Just rebooted a second time , ran sudo apt-get purge git* and have some progress , had to type yes do as I say and now its removing and purging a whole bunch of stuff.

Edit 2 : Great , that wiped git off my system , along with a bunch of other stuff , managed to run get update and install git core , version 1.0.7.4 was installed , again . Good news , I couldn't do anything outside of terminal after the purge , manually turned off the laptop , restarted and ubuntu asked for login before the splash screen , doesn't accept the password I created , so looks like I'll be reformatting my laptop and reinstalling ubuntu. At least I'll have a fresh start to screw this up again , and luckily I use a nas to keep most of my data , so the reformat isn't the end of the world.
[Android] Slayer_b:
Сould someone please help me how can I get rid of this type of failures:

bionic/libc/kernel/common/linux/msm_ion.h:52:6: error: multiple definition of 'enum cp_mem_usage'

/home/alex/cyanogenmod/cm-10.1/out/target/product/ef47s/obj/KERNEL_OBJ/usr/include/linux/ion.h:88:6: error: previous definition here

Actually I have a lot of such type of errors, for a some reason kernel headers started conflicting with bionicle ones, I suppose there should be something to force it to use kernel ones..
[Android] NineInchNails:
Your probably better off this way anyways. Don't get discouraged.
[Android] acras13:
Lol , are you trying to say who knows how screwed up Ubuntu got with me ham-fisting around in there? :laugh:

Yea , I agree , I had it set up as dual boot and I really wasn't happy with the way Grub set up boot. I'm going to set up a VM on my other laptop , I'll be loosing a whole lot of processing power (dropping from i-7 2.2GHz with 8 GB RAM to my AMD e350 1.6GHz with 6GB) but this way I don't have to worry about mucking up my primary laptop when I screw things up . Thanks for your help guys , once I get my primary laptop redone and linux on my other rig I'll be back , probably with several more problems.
[Android] mikalovtch:
Hello everyone. I'm trying to compile Android 4.3 AOSP for HTC One X (endeavoru). But that's getting this error. Please help to solve it.

build/core/product_config.mk:222: *** Can not locate config makefile for product "cm_endeavoru". Stop

** Don't have a product spec for: 'cm_endeavoru'
** Do you have the right repo manifest?
[Android] SMillerNL:
I think it has officiall support. Just run "breakfast endeavoru" and it'll get the dependencies.
[Android] mikalovtch:
breakfast: command not found
[Android] NineInchNails:
lunch not breakfast

select device #

make bacon or make otapackage
[Android] SpaceCaker:
when using VM it can take more and more time

when i used vm

single compile took 10 hours

now when i use dual boot compile takes from 40 minutes to 2 hours
[Android] NineInchNails:
Use ccache
[Android] SpaceCaker:
that was already used in vm xD

80 GB for ccache i used

and also i tried with 50 and 20

having dual boot is just much better