yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] Babydollll:
[MENTION=4344846]a.cid[/MENTION] said to say hi. :confused:

http://db.tt/emdQMHPj

Log of opening the camera.

I have since been able to get the camera to work in hdr mode only, but not in standard mode yet. Same issue exists.

Thank you.
[Android Q&A, Help & Troubleshooting] speed_bot:
he spoke to me abt u.. i will check the log and get back to u after i reach home
[Android Q&A, Help & Troubleshooting] nolinuxnoparty:
I get this error everytime I try to sync some rom's source :|

Traceback (most recent call last):

File "/home/nolinuxnoparty/cf/.repo/repo/main.py", line 414, in <module>

_Main(sys.argv[1:])

File "/home/nolinuxnoparty/cf/.repo/repo/main.py", line 390, in _Main

result = repo._Run(argv) or 0

File "/home/nolinuxnoparty/cf/.repo/repo/main.py", line 138, in _Run

result = cmd.Execute(copts, cargs)

File "/home/nolinuxnoparty/cf/.repo/repo/subcmds/sync.py", line 630, in Execute

project.Sync_LocalHalf(syncbuf)

File "/home/nolinuxnoparty/cf/.repo/repo/project.py", line 1060, in Sync_LocalHalf

self._InitWorkTree()

File "/home/nolinuxnoparty/cf/.repo/repo/project.py", line 1991, in _InitWorkTree

raise GitError("cannot initialize work tree")

error.GitError: cannot initialize work tree
[Android Q&A, Help & Troubleshooting] speed_bot:
try using legacy display.
[Android Q&A, Help & Troubleshooting] awidawad:
Tried and still get the same errors. :eek:

This has me stumped. CM10 (4.1.2) compiles just fine (doesn't use the -caf sources). Could there be an issue in the device tree? Like missing includes or something? Any help is highly appreciated. Thanks!
[Android Q&A, Help & Troubleshooting] ts1506:
Hi,

I am having this odd error while building SuperNexus 3.0 for Galaxy S (i9000 galaxysmtd)

All the repos are synced fine , so are the device specific repos and the kernel source .

Here is the error

realmake: *** No rule to make target `/home/ts1506/sn/out/target/product/galaxysmtd/obj/STATIC_LIBRARIES/libminipigz_intermediates/export_includes', needed by `/home/ts1506/sn/out/target/product/galaxysmtd/obj/EXECUTABLES/recovery_intermediates/import_includes'

I am building on XDA's build server.

Here is how I am building

. build/envsetup.sh
lunch
make otapackage

EDIT : Fixed it. Just had to add pigz to manifest.
[Android Q&A, Help & Troubleshooting] speed_bot:
it could be of different headers in frameworks
[Android Q&A, Help & Troubleshooting] speed_bot:
no rule specifies missing source..
[Android Q&A, Help & Troubleshooting] awidawad:
Frameworks_av perhaps??

This device has no unnoficial cm10.1 for it. So this is all coming from scratch so anything could be the problem lol. I'm still learning all this stuff I'm not very good with fixing multiple errors when compiling
[Android Q&A, Help & Troubleshooting] ts1506:
I had already fixed that , and a few other errors , but now , getting a new error

This ROM is really troublesome , almost 7-8 build errors till now. I have compiled so many ROMs and this is the only one which gave me so much headache.

collect2: error: ld returned 1 exit status
realmake: *** [/home/ts1506/sn/out/target/product/galaxysmtd/obj/UTILITY_EXECUTABLES/utility_make_ext4fs_intermediates/LINKED/make_ext4fs] Error 1
[Android Q&A, Help & Troubleshooting] speed_bot:
the log that u gave is not enough..its like calling the mechanic and saying vehicle stopped instead of saying how it stopped ..we need the log leading upto the breakage of the build.
[Android Q&A, Help & Troubleshooting] speed_bot:
yeah swap the include folder
[Android Q&A, Help & Troubleshooting] awidawad:
[MENTION=4445428]speed_bot[/MENTION] I'm so close to getting this I can almost taste victory. If you can help me get this I'd have to owe you big time. This seems to be a simple error but I can't for the life of me get it :eek:

Here it is:

target thumb C++: mm-vdec-omx-test <= hardware/qcom/media-caf/mm-video/vidc/vdec/test/omx_vdec_test.cpp
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.
target thumb C++: libOmxVdec <= hardware/qcom/media-caf/mm-video/vidc/vdec/src/h264_utils.cpp
hardware/qcom/media-caf/mm-video/vidc/vdec/test/omx_vdec_test.cpp:56:0: warning: "LOG_TAG" redefined [enabled by default]
In file included from frameworks/native/include/utils/Vector.h:24:0,
from frameworks/native/include/binder/IBinder.h:23,
from frameworks/native/include/binder/Binder.h:20,
from frameworks/native/include/binder/IInterface.h:21,
from frameworks/native/include/binder/IMemory.h:26,
from frameworks/native/include/binder/MemoryHeapBase.h:23,
from hardware/qcom/media-caf/mm-video/vidc/vdec/test/omx_vdec_test.cpp:51:
system/core/include/cutils/log.h:68:0: note: this is the location of the previous definition
hardware/qcom/media-caf/mm-video/vidc/vdec/test/omx_vdec_test.cpp:84:27: fatal error: linux/msm_mdp.h: No such file or directory
compilation terminated.
make: *** [/home/austin/cm-10.2/out/target/product/k2_cl/obj/EXECUTABLES/mm-vdec-omx-test_intermediates/test/omx_vdec_test.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from hardware/qcom/media-caf/mm-video/vidc/vdec/src/h264_utils.cpp:49:0:
hardware/qcom/media-caf/mm-video/vidc/common/inc/extra_data_handler.h:37:31: fatal error: linux/msm_vidc_dec.h: No such file or directory
compilation terminated.
make: *** [/home/austin/cm-10.2/out/target/product/k2_cl/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/src/h264_utils.o] Error 1
austin@awidawad-workstation-lite:~/cm-10.2$

It's just those two missing files that need to be copied over somehow and then victory (hopefully)

Thanks for everything so far!
[Android Q&A, Help & Troubleshooting] speed_bot:
bro u r missing a header

linux/msm_mdp.h: No such file or directory
[Android Q&A, Help & Troubleshooting] awidawad:
msm_mpd.h is in the kernel/htc/k2/include/Linux. However it's not in out/target/product/k2_cl/KERNEL_OBJ/usr/include/linux where it should be. It's very strange to me and I can't figure it out. When I manually copy it there make deletes the file and spews out the same error. That is why I'm stumped lol
[Android Q&A, Help & Troubleshooting] speed_bot:
use prebuilt kernel for now
[Android Q&A, Help & Troubleshooting] Gava97:
i have this error when i try to build slimbean 4.2.2 for my xperia u(kumquat)

can anyone help me?

thanks a lot
[Android Q&A, Help & Troubleshooting] awidawad:
I fixed missing headers. Still not using prebuilt kernel maybe I should lol but take a look at this if you can. I'm getting the "not declared in this scope" errors again :eek:

The log: http://pastebin.com/36c6z6xa

Thanks for your time!
[Android Q&A, Help & Troubleshooting] lackyking:
I got the same error what is "linux/msm_kgsl.h: No such file or directory".

how did you solve it?
[Android Q&A, Help & Troubleshooting] ts1506:
The issue is, there are no errors at all except these 2 lines. This is what stunned me.
[Android Q&A, Help & Troubleshooting] speed_bot:
u r missing soure (wpa_intemediates) redo repo sync if the problem persists reply here again.
[Android Q&A, Help & Troubleshooting] Gava97:
i have the same error:crying:

i think is a problem in device vendor tree or common vendor tree?
[Android Q&A, Help & Troubleshooting] Gava97:
ok i resolved the error but now i've this:

http://pastebin.com/YzbNDSwa
[Android Q&A, Help & Troubleshooting] DNRDustin:
icsSyncErrors

I keep getting errors;

inflate: data stream error

failed to read object

Cannot fetch platform/frameworks/base

packed object is corrupt

etc..

Heres what I pulled from the logs, someone's expertise would be appreciated.

http://pastebin.com/QdAUXGYX

Ubuntu 12.04 64-bit

All necessary packages installed(I'm pretty sure at least)

Latest SDK, ADB, Fastboot

I get the same errors no matter where I do the sync, I've tried on different hard drives as well trying to eliminate the possibility of bad sectors.

--EDIT-- So i just kept running "repo sync" over and over again until finally it completed with no errors. What gives with that?
[Android Q&A, Help & Troubleshooting] webstar1:
Hey guys, i seem to compile roms successfully

ive tried 3 different kernel sources, only of which one boots

the new kernel im trying to build says this in the logcat:

I/auditd ( 982): Starting up
E/auditd ( 982): Failed on audit_set_pid with error: Protocol not supported
I/auditd ( 982): Exiting

Repeatedly

What seems to be the issue?
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
What version of android? Is the kernel for that version of android ?
[Android Q&A, Help & Troubleshooting] webstar1:
AOSP Android 4.3

Specifically PAC-Man ROM
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
Are those kernels made for android 4.3 they need changes . Link them here
[Android Q&A, Help & Troubleshooting] lackyking:
I compiled CM10.2 for official unsupported device.

but cannot boot up and stopped on the first screen of manufacture logo.

I got the logcat here: http://paste.ubuntu.com/6076817/
[Android Q&A, Help & Troubleshooting] GuneetAtwal:
Can someone help me

i am trying to compile CM10.1 for an unsupported DEvice

My error - http://pastebin.com/VnA6Tua5
[Android Q&A, Help & Troubleshooting] galaxyfreak:
This is caused by SELinux in 4.3, that isn't enabled in your kernel. I own a HTC explorer, it also got a lot of spam about audit...but who gives a damn, we got 4.3 almost stable..so this is not cause of your problem.
[Android Q&A, Help & Troubleshooting] speed_bot:
define that duh
[Android Q&A, Help & Troubleshooting] GuneetAtwal:
Bro where to define ?
[Android Q&A, Help & Troubleshooting] cj360:
Attempting to build pa with linaro but I'm stuck on this:

bootable/recovery/minzip/Zip.c:212:22: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
ptr = pMap->addr + pMap->length - ENDHDR;
^
bootable/recovery/minzip/Zip.c:212:37: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
ptr = pMap->addr + pMap->length - ENDHDR;
^
bootable/recovery/minzip/Zip.c:248:22: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
ptr = pMap->addr + cdOffset;
^
bootable/recovery/minzip/Zip.c: In function 'processStoredEntry':
bootable/recovery/minzip/Zip.c:544:13: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'ssize_t' [-Wformat=]
LOGE("Can't read %zu bytes from zip file: %ld\n", count, n);
^
bootable/recovery/minzip/Zip.c: In function 'writeProcessFunction':
bootable/recovery/minzip/Zip.c:781:13: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'ssize_t' [-Wformat=]
LOGE("Error writing %ld bytes from zip file from %p: %s\n",
^
bootable/recovery/minzip/Zip.c:790:17: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'ssize_t' [-Wformat=]
LOGE("write overrun? (%ld bytes instead of %d)\n",
^
target thumb C: libminadbd <= bootable/recovery/minadbd/adb.c
[Android Q&A, Help & Troubleshooting] WildfireDEV:
Help

Hey guys I am trying to build from source and this error is stopping my build. If I can get some help it will be really great.
[Android Q&A, Help & Troubleshooting] ravike14:
kernel compiling :/

Edit: i got it..
[Android Q&A, Help & Troubleshooting] zuluman:
is it possible build only single file like framework.apk ?
[Android Q&A, Help & Troubleshooting] galaxyfreak:
What display driver do you use?
[Android Q&A, Help & Troubleshooting] arshull:
Hello All -

I'm needing assistance with a kernel I'm trying to build for the sm-t310 galaxy tab 3. I have done everything for the initial revision but keep having a problem with the compiling. No matter what I do, I get an error in the mvp stage.... I'm thinking it may be a lib missing.

Regardless, would someone be willing to compile the kernel on their Linux box who has more experience dissecting the errors?

The only revisions were for enabling the otg/usb host and charging functions and added a couple native gov functions. I have all the source code and tool chain. Just needing it compiled.

If you can help, please let me know ASAP!

Thanks!!!!!!!
[Android Q&A, Help & Troubleshooting] WildfireDEV:
I am using the legacy display repo from lgics or someplace similar.

**Press the thanks button if I helped you**
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
Yes after . build/envsetup.sh

And after you lunch your device then type make framework-res.apk

---------- Post added at 09:43 PM ---------- Previous post was at 09:28 PM ----------

I wanted to compile a kernel and cwm for it I had the kernel source hmu on hangouts android.c357@gmail.com use the app to send a request because on the browser its garbage to find new people . Did you change the makefile to point to the correct toolchain?
[Android Q&A, Help & Troubleshooting] Sparx639:
When I add koush's superuser to my build, just the app, not the integrated settings, I get an error that says there are undefined values LOGE LOGD and LOGW in the su.c and db.c files. How would I work around these? I haven't added busybox into the ROM and I'm not sure if its mandatory for it, but that's what I was suspecting. Any insight? I can't find any results on the web for it. I'm building for the galaxy nexus from the latest aosp master branch with this tutorial: http://xdaforums.com/showthread.php?t=1386615 I followed the instructions on koushes github, I'm only trying to add it as an app for now. Not integrate it into settings. If anyone knows what to do help would be awesome! But if not its all good

Sent from my sock drawer
[Android Q&A, Help & Troubleshooting] arshull:
Yes, makefile was set up, completed xconfig and entered "make". It was compiling for a few min and then error ed with a mvp.main message which has something to do with vmware which I didn't select as a feature.

Not sure, but it maybe is my Linux configuration missing a lib or feature.
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
I'll try has anyone worked on your device cm etc?
[Android Q&A, Help & Troubleshooting] arshull:
Not sure I understand what your asking. Do u mean have I compiled any other kernels on my Linux box or have I run cm on my tablet?
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
Has anyone started a device tree for cm?
[Android Q&A, Help & Troubleshooting] galaxyfreak:
Use one from androidarmv6
[Android Q&A, Help & Troubleshooting] WildfireDEV:
I was using that but the errors continued. I will try them again but any other advice. Also could we continue this through pm.

**Press the thanks button if I helped you**
[Android Q&A, Help & Troubleshooting] awidawad:
So if anyone here has seen my previous posts, I've been working on bringing CyanogenMod (right now cm-10.2) to the HTC One SV. I've been getting errors that has to do with the kernel, so I've switched to using prebuilt kernel for now until HTC releases source code for the Boost One SV. Anyways, now I'm getting a lot of errors having to do with libomxvdec having unspecified commands... Here is a pastebin of all the errors that I receive: http://pastebin.com/PaAUHStZ

Any tips or help I receive would be great. Thanks!
[Android Q&A, Help & Troubleshooting] arshull:
No, not that I'm aware of but it uses the popular arm-eabi tool chain.
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
Add me on hangouts android.c357@gmail.com I'm too busy to keep posting.
[Android Q&A, Help & Troubleshooting] LeMuecke:
Error in SamsungRIL.java, there's something about line 44 that's not right, just check the code, I hope you understand java ;)

Sent from my typewriter.
[Android Q&A, Help & Troubleshooting] arya_ruby:
Yes you're right.

And I still have to solve other 24 error. :D

Thanks for your respond Sir. ;)
[Android Q&A, Help & Troubleshooting] LeMuecke:
All the errors are caused by this file, one coding error results in more compiler erros

Sent from my typewriter.
[Android Q&A, Help & Troubleshooting] aamir0701:
From git://github.com/sakindia123/cm10.2_htc_pico

* [new branch] master -> origin/master

fatal: manifest 'default.xml' not available

fatal: manifest default.xml not found

i got this error while init repo what is the problem
[Android Q&A, Help & Troubleshooting] WildfireDEV:
Can anyone help with this error. I already know it is an kernel error. I have replaced the whole kernel but nothing has changed.

**Press the thanks button if I helped you**
[Android Q&A, Help & Troubleshooting] #define:
Seems like an incomplete kernel source..Try diffing a working kernel source downloaded separately with the one you're using..

Sent from my Nexus 7

---------- Post added at 02:24 PM ---------- Previous post was at 02:22 PM ----------

The default manifest isn't present.. check .repo/manifests folder.. for a default.xml file.. if it's not there, something's wrong with your repo init command..

Sent from my Nexus 7
[Android Q&A, Help & Troubleshooting] fallingd0wn:
Failing camera on jfltevzw

I'm having trouble building both CM and Paranoid Android for jfltevzw. My builds complete without error but the gallery crashes immediately after taking a pic. I don't have the problem when building for i605 so I think my setup is fine. I've tried the extract-files.sh script, syncing with the muppets repo, prebuilt kernels, and even creating a flashable zip with all the camera related props. Here is the logcat of a failed pic. I'd appreciate any help.

https://dl.dropboxusercontent.com/u/7690837/camera_logcat
[Android Q&A, Help & Troubleshooting] Gnome:
Good day!

Guys I'm getting this error while building. Building withe SM 4.9 Toolchain, I was able to build once and after I build again this error showed up.

Source: HERE

hardware/qcom/display/libgenlock/genlock.cpp:43:9: error: unused parameter 'lockType' [-Werror=unused-parameter]
int get_kernel_lock_type(genlock_lock_type lockType)
^
hardware/qcom/display/libgenlock/genlock.cpp:63:22: error: unused parameter 'buffer_handle' [-Werror=unused-parameter]
genlock_status_t perform_lock_unlock_operation(native_handle_t *buffer_handle,
^
hardware/qcom/display/libgenlock/genlock.cpp:63:22: error: unused parameter 'lockType' [-Werror=unused-parameter]
hardware/qcom/display/libgenlock/genlock.cpp:63:22: error: unused parameter 'timeout' [-Werror=unused-parameter]
hardware/qcom/display/libgenlock/genlock.cpp:63:22: error: unused parameter 'flags' [-Werror=unused-parameter]
hardware/qcom/display/libgenlock/genlock.cpp:135:18: error: unused parameter 'buffer_handle' [-Werror=unused-parameter]
genlock_status_t genlock_create_lock(native_handle_t *buffer_handle)
^
hardware/qcom/display/libgenlock/genlock.cpp:190:18: error: unused parameter 'buffer_handle' [-Werror=unused-parameter]
genlock_status_t genlock_release_lock(native_handle_t *buffer_handle)
^
hardware/qcom/display/libgenlock/genlock.cpp:220:18: error: unused parameter 'buffer_handle' [-Werror=unused-parameter]
genlock_status_t genlock_attach_lock(native_handle_t *buffer_handle)
^
hardware/qcom/display/libgenlock/genlock.cpp:268:18: error: unused parameter 'buffer_handle' [-Werror=unused-parameter]
genlock_status_t genlock_lock_buffer(native_handle_t *buffer_handle,
^
hardware/qcom/display/libgenlock/genlock.cpp:268:18: error: unused parameter 'lockType' [-Werror=unused-parameter]
hardware/qcom/display/libgenlock/genlock.cpp:268:18: error: unused parameter 'timeout' [-Werror=unused-parameter]
hardware/qcom/display/libgenlock/genlock.cpp:297:18: error: unused parameter 'buffer_handle' [-Werror=unused-parameter]
genlock_status_t genlock_unlock_buffer(native_handle_t *buffer_handle)
^
hardware/qcom/display/libgenlock/genlock.cpp:315:18: error: unused parameter 'buffer_handle' [-Werror=unused-parameter]
genlock_status_t genlock_wait(native_handle_t *buffer_handle, int timeout) {
^
hardware/qcom/display/libgenlock/genlock.cpp:315:18: error: unused parameter 'timeout' [-Werror=unused-parameter]
hardware/qcom/display/libgenlock/genlock.cpp:352:18: error: unused parameter 'buffer_handle' [-Werror=unused-parameter]
genlock_status_t genlock_write_to_read(native_handle_t *buffer_handle,
^
hardware/qcom/display/libgenlock/genlock.cpp:352:18: error: unused parameter 'timeout' [-Werror=unused-parameter]
cc1plus: all warnings being treated as errors
make: *** [out/target/product/mako/obj/SHARED_LIBRARIES/libgenlock_intermediates/genlock.o] Error 1
make: *** Waiting for unfinished jobs....

Hope someone can help. TIA!
[Android Q&A, Help & Troubleshooting] MikeCriggs:
Moved post to different thread.
[Android Q&A, Help & Troubleshooting] MikeCriggs:
Francis, my friend. Sending you a pull request to fix it bro.
[Android Q&A, Help & Troubleshooting] alexforsale:
I'm having the same error http://pastebin.com/E4vJ6UqF

can you tell me how you resolve it?
[Android Q&A, Help & Troubleshooting] cbucz24:
Hey guys, long time no see....im trying to help out a buddy who is trying to build AOKP and hes having an issue i cant seem to get past.

I ran him thru all the basic setups that dastin has on his thread just to make sure he installed everything correctly. absolutely everything says its installed all the way up to the point of initializing the repo.

at that point it says

fatal: Cannot get http://gerrit.googlesource.com/git-repo/clone.bundle
fatal: error unknown url type: https

i have looked around an attempted a few fixes but they have either failed or said its installed correctly. this seems to point to a failure in the python. i had him clean and make && make but it didnt help.

i also had him attempt to fix the https by running

export HTTP_PROXY=http://<proxy_user_id>:<proxy_password>@<proxy_server>:<proxy_port>
export HTTPS_PROXY=http://<proxy_user_id>:<proxy_password>@<proxy_server>:<proxy_port>

this also returned an error. any ideas?

the pc running in question is running mint 15. has java v7 installed.
[Android Q&A, Help & Troubleshooting] Red Devil:
Is the repo sync continuing or is it abruptly stopping? ?

I think you should bomb your repo tool. Delete the folder in which the repo tool was downloaded.. ( in most cases ~/bin ) and redownload it :

curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo
[Android Q&A, Help & Troubleshooting] cbucz24:
thanks, im still trying to help him. just for the hell of it, i went thru the whole thing just to make sure its all loading and mine is fine. so something happened to his...

looks like there are broken packages somewhere. i tried to get his update manager to check an see if he installed all the updates and it wont open. lol

but after i get that fixed i'll see what happens if i delete that next. thanks
[Android Q&A, Help & Troubleshooting] MikeCriggs:
He should try "repo sync 2>&1 | tee reposync.log".

That'll make a log file in the root of his source. He should copy the output from the log file and paste it to www.pastebin.com and share it here so we can pinpoint the exact problems.
[Android Q&A, Help & Troubleshooting] Gnome:
That is a known issue its posted in a forum somewhere, it was happening since the 2nd of October.
[Android Q&A, Help & Troubleshooting] cbucz24:
No. You didn't read what I typed. Mine is fine. I have the same setup as him and mine worked without any issues.

I talked him into a reinstall since he hadnt made it very far. We'll see how it turns out in a bit.

Thanks everyone. :thumbup:
[Android Q&A, Help & Troubleshooting] jheller:
pixelflinger build error

Trying to build CM9 for a HTC Desire SV, but encounter a build error in pixelflinger. It's part of:

https://github.com/CyanogenMod/android_system_core/tree/cm-9.1.0

Any ideas?
[Android Q&A, Help & Troubleshooting] jheller:
Bump....Last two responses show similarities... What changed in your setup? I installed Ubuntu 12.04 64bit freshly a month ago or so, but I have doubt this is related to 'gcc'. Weird thing is that I can't suspect the code, can I?

Help appreciated.