yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] cj360:
Hello, trying to figure out what changes my device needs for 4.2.1. Currently stuck figuring this out:

target Jar: mms-common (/home/andrew/jellybam/out/target/common/obj/JAVA_LIBRARIES/mms-common_intermediates/javalib.jar)
'/home/andrew/jellybam/out/target/common/obj/JAVA_LIBRARIES/mms-common_intermediates/classes.dex' as 'classes.dex'...
Aidl Preprocess: /home/andrew/jellybam/out/target/common/obj/framework.aidl
Docs droiddoc: /home/andrew/jellybam/out/target/common/docs/doc-comment-check
frameworks/base/core/java/android/view/WindowManager.java:808: error 103: Unknown tag: @{hide}
DroidDoc took 112 sec. to write docs to /home/andrew/jellybam/out/target/common/docs/doc-comment-check
make: *** [/home/andrew/jellybam/out/target/common/docs/doc-comment-check-timestamp] Error 45
[Android Q&A, Help & Troubleshooting] cbucz24:
ok...lol, so ive been trying to figure this out still and ive noticed my build is missing 2 libaudio files. where do these get pulled from?

libaudio-ril.so

libaudiopolicy_sec.so

there just not there...what config file should be pulling these? vendor or device?
[Android Q&A, Help & Troubleshooting] speed_bot:
you might need to build them from source with some changes maybe..look in hardware /exynos is a folder named libaudio present?
[Android Q&A, Help & Troubleshooting] speed_bot:
u r on make -j1 increase to make -j2
[Android Q&A, Help & Troubleshooting] cj360:
Yeah I was running that to see if it would find something that would cause it to stop the build, but I might also understand the error.

For example this is new:

target Symbolic: libmedia (/home/andrew/jellybam/out/target/product/zeusc/symbols/system/lib/libmedia.so)
android::Singleton<qdutils::QCCompositionType>::sInstance'
/home/andrew/jellybam/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/andrew/jellybam/out/target/product/zeusc/obj/SHARED_LIBRARIES/hwcomposer.msm7x30_intermediates/hwc.o: previous definition here
/home/andrew/jellybam/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: error: /home/andrew/jellybam/out/target/product/zeusc/obj/SHARED_LIBRARIES/hwcomposer.msm7x30_intermediates/hwc_copybit.o: multiple definition of 'android::Singleton<qdutils::QCCompositionType>::sLock'
/home/andrew/jellybam/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/andrew/jellybam/out/target/product/zeusc/obj/SHARED_LIBRARIES/hwcomposer.msm7x30_intermediates/hwc.o: previous definition here
collect2: ld returned 1 exit status
make: *** [/home/andrew/jellybam/out/target/product/zeusc/obj/SHARED_LIBRARIES/hwcomposer.msm7x30_intermediates/LINKED/hwcomposer.msm7x30.so] Error 1
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes. Stop.
[Android Q&A, Help & Troubleshooting] cbucz24:
What does that change? How does increasing the threads eliminate errors?
[Android Q&A, Help & Troubleshooting] ktempleton:
Hey over in the compile jb on Ubuntu thread someone posted a solution for the zygote error you were getting
[Android Q&A, Help & Troubleshooting] speed_bot:
to does make a difference many a time..though i dont have a technical explaination for that..
[Android Q&A, Help & Troubleshooting] cbucz24:
Thanks...im passed those now and on to bigger and better errors. Lol

Speed_bot an his mighty wisdow is talking me thru audio errors. :D

The messed up part, another dev ive been talking too is not having any audio issues what so ever and we were using the same manifest to build.

But I'll look into it in the morning. Thanks :thumbup:
[Android Q&A, Help & Troubleshooting] cbucz24:
ummmm nope...im going to look at different sources for the hardware, maybe mine is just isnt complete

ok, found the issue. not sure what happened. I did a search for libaudio L900 and it pulled up the muppets github and the commit where they pulled in source from sbrissen. well looking at the "file changed list" vs what they have on their git is missing like a dozen or more files...

the audio and camera files are missing...

ok...the audio and camera files for my device are located in the vendor folder. other than downloading the zip file and pasting it into my folders, how can i merge just part of someone's git into mine.https://github.com/TheMuppets/proprietary_vendor_samsung this is for all of the samsung repo. but i either want just one of his (ie t0ltecdma) or just a few from another one?

how do i just pull that singe part/commit? i was looking into the git cherry-pick comand but i tried using it and i couldnt initialize my repo for using the muppets so it failed
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
Error adb logcat Jellyshot

Sorry for being off topic but i tried to port a rom and keep receiving this error libnetcmdiface.so doesnt exist in my base rom nor my ported rom so why is this error occuring

I/DEBUG ( 139): memory map around fault addr deadbaad:
I/DEBUG ( 139): be99c000-be9bd000 [stack]
I/DEBUG ( 139): (no map for address)
I/DEBUG ( 139): ffff0000-ffff1000 [vectors]
I/ServiceManager( 134): service 'media.audio_flinger' died
I/ServiceManager( 134): service 'media.player' died
I/ServiceManager( 134): service 'media.camera' died
I/Netd ( 1619): Netd 1.0 starting
W/InterfaceController( 1619): Warning (Cannot load library: load_library(linker.cpp:747): library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library
I/mediaserver( 1618): ServiceManager: 0x409b0ee8
I/AudioFlinger( 1618): Using default 3000 mSec as standby time.
I/CameraService( 1618): CameraService started (pid=1618)
I/AudioPolicyManagerBase( 1618): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
I/AudioFlinger( 1618): loadHwModule() Loaded primary audio interface from LEGACY Audio HW HAL (audio) handle 1
I/AudioFlinger( 1618): HAL output buffer size 880 frames, normal mix buffer size 1056 frames
I/AudioMixer( 1618): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
E/MonoPipe( 1618): Failed to fetch local time frequency when constructing a MonoPipe (res = -32). getNextWriteTimestamp calls will be non-functional
D/MDnsDS ( 1619): MDnsSdListener::Hander starting up
D/MDnsDS ( 1619): MDnsSdListener starting to monitor
D/MDnsDS ( 1619): Going to poll with pollCount 1
[Android Q&A, Help & Troubleshooting] speed_bot:
just kang that lib from any similar device and try
[Android Q&A, Help & Troubleshooting] TheFerhatKing:
Hey guys,

I'm trying to compile Paranoid Android for my Galaxy S Plus, but I didn't now how to fix that:

Building ParanoidAndroid v3.00

Looking for device files
Device tree found. Skipping step.

Setting up environment
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/samsung/ariesve/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including vendor/pa/vendorsetup.sh
including sdk/bash_completion/adb.bash

Lunching device
Trying dependencies-only mode on a non-existing device tree?

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=pa_ariesve
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.5.0-23-generic-x86_64-with-Ubuntu-12.10-quantal
HOST_BUILD_TYPE=release
BUILD_ID=JZO54K
OUT_DIR=/home/ferhat/WORKING_DIRECTORY/out
============================================

Starting compilation
build/envsetup.sh: Line 1666: schedtool: Command not found.

Total time elapsed: 0 minutes (10.281526162 seconds)

I hope you guys know how to fix that.

Thanks!
[Android Q&A, Help & Troubleshooting] jrongi1:
Not sure about the problem but you do have the wrong repo.

PA_Vibrant 360° Productions
[Android Q&A, Help & Troubleshooting] cbucz24:
in terminal type

sudo apt-get install schedtool
[Android Q&A, Help & Troubleshooting] cbucz24:
Ok curious question for anyone. ..ive asked the dev an he's just too busy.

Speed_bot had mentioned that I may need to build my audio from source separately. And im wondering what that entails.

My device repo has "stated" that it was switched to open source audio. But ive searched that an cannot find what he means?

What do I need to do to build the audio packages?
[Android Q&A, Help & Troubleshooting] speed_bot:
glance through the hardware folder..and their programs
[Android Q&A, Help & Troubleshooting] cbucz24:
https://github.com/sbrissen/android_device_samsung_l900/commit/7787da8e23b47b964e6f597c1ed719f9db14adda

here is the link to the commit i was talking about. in the hardware folder there isnt any audio options..im a little lost how to proceed further

:confused:
[Android Q&A, Help & Troubleshooting] speed_bot:
it will under your board variant bro
[Android Q&A, Help & Troubleshooting] cj360:
hmm a little confused by this error

Package target files: /home/andrew/teambaked/out/target/product/zeusc/obj/PACKAGING/target_files_intermediates/baked_zeusc-target_files-eng.andrew.zip
Package OTA: /home/andrew/teambaked/out/target/product/zeusc/baked_zeusc-ota-eng.andrew.zip
device/semc/msm7x30-common/releasetools/semc_ota_from_target_files -v \
-p /home/andrew/teambaked/out/host/linux-x86 \
-k build/target/product/security/testkey \
--override_device=R800x,zeusc \
--backup=true \
--no_assert=false \
/home/andrew/teambaked/out/target/product/zeusc/obj/PACKAGING/target_files_intermediates/baked_zeusc-target_files-eng.andrew.zip /home/andrew/teambaked/out/target/product/zeusc/baked_zeusc-ota-eng.andrew.zip

Given a target-files zipfile, produces an OTA package that installs
that build. An incremental OTA is produced if -i is given, otherwise
a full OTA is produced.

Usage: ota_from_target_files [flags] input_target_files output_ota_package

-b (--board_config) <file>
Deprecated.

-k (--package_key) <key> Key to use to sign the package (default is
the value of default_system_dev_certificate from the input
target-files's META/misc_info.txt, or
"build/target/product/security/testkey" if that value is not
specified).

For incremental OTAs, the default value is based on the source
target-file, not the target build.

-i (--incremental_from) <file>
Generate an incremental OTA using the given target-files zip as
the starting build.

-w (--wipe_user_data)
Generate an OTA package that will wipe the user data partition
when installed.

-n (--no_prereq)
Omit the timestamp prereq check normally included at the top of
the build scripts (used for developer OTA packages which
legitimately need to go back and forth).

-e (--extra_script) <file>
Insert the contents of file at the end of the update script.

-a (--aslr_mode) <on|off>
Specify whether to turn on ASLR for the package (on by default).

--backup <boolean>
Enable or disable the execution of backuptool.sh.
Disabled by default.

--override_device <device>
Override device-specific asserts. Can be a comma-separated list.

-p (--path) <dir>
Prepend <dir>/bin to the list of places to search for binaries
run by this script, and expect to find jars in <dir>/framework.

-s (--device_specific) <file>
Path to the python module containing device-specific
releasetools code.

-x (--extra) <key=value>
Add a key/value pair to the 'extras' dict, which device-specific
extension code may look at.

-v (--verbose)
Show command lines being executed.

-h (--help)
Display this usage message and exit.

** option --no_assert not recognized **
make: *** [/home/andrew/teambaked/out/target/product/zeusc/baked_zeusc-ota-eng.andrew.zip] Error 2
andrew@andrew-K53SD:~/teambaked$
[Android Q&A, Help & Troubleshooting] speed_bot:
use brunch and try
[Android Q&A, Help & Troubleshooting] cj360:
edit-

fixed it! The original build/core/make file was this:

@echo "Package OTA: $@"
$(OTA_FROM_TARGET_SCRIPT) -v \
-p $(HOST_OUT) \
-k $(KEY_CERT_PAIR) \
--no_assert=$(skip_assert) \
--override_device=$(override_device) \
--backup=$(backuptool) \
$(BUILT_TARGET_FILES_PACKAGE) $@

and replaced it with:

@echo "Package OTA: $@"
$(OTA_FROM_TARGET_SCRIPT) -v \
-p $(HOST_OUT) \
-k $(KEY_CERT_PAIR) \
--backup=$(backuptool) \
--override_device=$(override_device) \
$(BUILT_TARGET_FILES_PACKAGE) $@
[Android Q&A, Help & Troubleshooting] ktempleton:
OK so I've updated my pacman build to 4.2 and it won't build because it says my SDK version 17 is invalid it only supports version 16 and below I have searched from here to China and back looking for a way to get version 16 and can't find the solution any one know how to do this thanks kt
[Android Q&A, Help & Troubleshooting] speed_bot:
dude delete folder number 17 in sdk and copy one with number 16...

this is from prebuilts
[Android Q&A, Help & Troubleshooting] ktempleton:
So I created file 17 and put the files from SDK 17 that belonged in there and now I'm building I'll let you know how it goes thanks speed bot
[Android Q&A, Help & Troubleshooting] speed_bot:
afai understood your problem you needed sdk 16 right get it from any ics source and place it in prebuilts sdk
[Android Q&A, Help & Troubleshooting] makaveli187:
Have the absolutly same output here. Have you figured out, what was wrong?
[Android Q&A, Help & Troubleshooting] speed_bot:
i have already given the solution same module defined twice delete on of them..
[Android Q&A, Help & Troubleshooting] makaveli187:
Hi!

Yes, I have read that, but I don't know about any double definitions.

I haven't changed anything in the repo, ever.

And since I have only done a repo sync before that, I thought there could be something else.

Before the sync, the build run fine. I run my environment on a VM.

When I revert to the state before the sync, the compile again runs like a charm...

I will take a closer look to the definitions now.

Thank you, though.

[edit]

Ok, I found it. I had a custom local manifest loaded, that isn't compatible with the current official manifest.

Again, thanks ;)

[/edit]
[Android Q&A, Help & Troubleshooting] ktempleton:
Well the problem was that my SDK version was 17 and in the prbuilts it only went up to 16 I couldn't find a way to downgrade my SDK version so I created the file in prebuilts to let the build know that 17 was supported thanks for you're help I had no idea where it was looking to determine that 17 wasn't supported
[Android Q&A, Help & Troubleshooting] speed_bot:
dude its like this .. you have been given two roads to go for a same destination and you dont know which to pick so you get stuck and stop..what im saying is delete one of the two roads..post the excat error i will elaborate more
[Android Q&A, Help & Troubleshooting] makaveli187:
Hi!

There is something strange going on.

It is not because of the additional repo. Somehow there is a change in the path.

In my old environment, when I have called the "./extract-files.sh", the files were put into these folders

/home/user01/android/system/vendor/i9300

/home/user01/android/system/vendor/smdk4412-common

After the last repo sync, the files are loaded into

/home/user01/android/system/vendor/samsung/i9300

/home/user01/android/system/vendor/samsung/smdk4412-common

So, after syncing, I first had to delete the files "NOT" in the samsung folder, since they are the old ones and I get the previous mentioned error ("already defined")

But now it said something like "cannot make target or don't know how: /home/user01/android/system/vendor/samsung/smdk4412-common"

Now I moved these folders manually a level up into the "vendor" folder and it is compiling again...

I hope, I have display output again, because since all this problem started, I only get a black screen on the phone. Even if the build was successful.

Btw. I am building a CM10.1. Just now I saw, that the output from muk12 was meant for AOKP...
[Android Q&A, Help & Troubleshooting] speed_bot:
it all depends on how your makefiles are configured..read the earlier extract.sh and the newer one you will understand..
[Android Q&A, Help & Troubleshooting] hashroot:
Errors

Compiling Cyanmobile For Beni

Error 1:

Directory: out/target/product/beni/root/system

Directory: out/target/product/beni/root/data

prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc -mthumb-interwork -Ibionic/libc/private -DCRT_LEGACY_WORKAROUND -o out/target/product/beni/obj/lib/crtbegin_static.o -c bionic/libc/arch-arm/bionic/crtbegin_static.S

arm-eabi-gcc: error trying to exec 'cc1': execvp: No such file or directory

make: *** [out/target/product/beni/obj/lib/crtbegin_static.o] Error 1

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

prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc -mthumb-interwork -Ibionic/libc/private -DCRT_LEGACY_WORKAROUND -o out/target/product/beni/obj/lib/crtbegin_so.o -c bionic/libc/arch-arm/bionic/crtbegin_so.S

prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc -mthumb-interwork -Ibionic/libc/private -DCRT_LEGACY_WORKAROUND -o out/target/product/beni/obj/lib/crtend_so.o -c bionic/libc/arch-arm/bionic/crtend_so.S

arm-eabi-gccarm-eabi-gcc: error trying to exec ': error trying to exec 'cc1': cc1execvp': : execvp: No such file or directory

No such file or directory

make: *** [out/target/product/beni/obj/lib/crtbegin_so.o] Error 1

make: *** [out/target/product/beni/obj/lib/crtend_so.o] Error 1

(Using Different Source)

Error2:

host C: mkbootfs <= system/core/cpio/mkbootfs.c

host C: acp <= build/tools/acp/acp.c

host C++: libhost <= build/libs/host/pseudolocalize.cpp

host C: libhost <= build/libs/host/CopyFile.c

In file included from build/libs/host/CopyFile.c:11:0:

build/libs/host/include/host/CopyFile.h:5:22: fatal error: sys/stat.h: No such file or directory

compilation terminated.

In file included from /usr/include/stdio.h:28:0,

from system/core/cpio/mkbootfs.c:2:

/usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory

compilation terminated.

In file included from /usr/include/stdlib.h:25:0,

from build/tools/acp/acp.c:11:

/usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory

compilation terminated.

make: *** [/home/rish/android/cyanmobile/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/CopyFile.o] Error 1

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

make: *** [/home/rish/android/cyanmobile/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs.o] Error 1

make: *** [/home/rish/android/cyanmobile/out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp.o] Error 1

In file included from /usr/include/c++/4.6/x86_64-linux-gnu/32/bits/os_defines.h:40:0,

from /usr/include/c++/4.6/x86_64-linux-gnu/32/bits/c++config.h:393,

from /usr/include/c++/4.6/string:40,

from build/libs/host/include/host/pseudolocalize.h:4,

from build/libs/host/pseudolocalize.cpp:1:

/usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory

compilation terminated.

make: *** [/home/rish/android/cyanmobile/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/pseudolocalize.o] Error 1
[Android Q&A, Help & Troubleshooting] speed_bot:
error 1

arm-eabi-gcc: error trying to exec 'cc1': execvp: No such file or directory

incorrect prebuilts

error 2

/usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory

file missing
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
Reply im back now I have my new laptop intel quad core 4gb ram 300gb hard drive ready to build ubuntu touch for the epicmtd which I hope is possible I don't need help yet but I will make sure to post here first
[Android Q&A, Help & Troubleshooting] speed_bot:
sure we would like to hear your success stories.. all the best..
[Android Q&A, Help & Troubleshooting] n4nn31355:
Aloha!

Can you help me with this http://xdaforums.com/showthread.php?t=2164809 ?
[Android Q&A, Help & Troubleshooting] hashroot:
Using latest CM repo. I did repo sync again n tried. getting same error :@
[Android Q&A, Help & Troubleshooting] ktempleton:
I know on your second error you need to find that file or remove it from the mk file however I don't know what that will mess up in the build
[Android Q&A, Help & Troubleshooting] ktempleton:
I would go to the github under prebuilts and and find the toolchain and see if that missing file is in there if it is delete the prebuilt folder from your source and sync again then make some Bacon
[Android Q&A, Help & Troubleshooting] cj360:
Any one having issues syncing with github? I my repo was fine as I just pulled everything fine the first time 5~ or so days ago but since yesterday I'm getting a lot of

Fetching projects: 28% (90/321) fatal: unable to connect to github.com:
github.com[0: 207.97.227.239]: errno=Connection refused
[Android Q&A, Help & Troubleshooting] ktempleton:
CD into. .repo/repo type git pull until it says already up to date see if that helps
[Android Q&A, Help & Troubleshooting] cj360:
thanks for they quick reply, tried that and everything is up todate in .repo/repo. After adding remote origin and pushing my changes to my own branch & repo I see this upon trying another repo sync

vendor/carbon/: leaving jellyzeus42; does not track upstream

and the errno=Connection refused error from my previous post is back
[Android Q&A, Help & Troubleshooting] ktempleton:
Try merging your repo with the upstream repo
[Android Q&A, Help & Troubleshooting] speed_bot:
read the error bro

arm-linux-androideabi-gcc: error trying to exec 'cc1': execvp: No such file or directory

files missing in prebuilts ..
[Android Q&A, Help & Troubleshooting] cj360:
tried pushing to my remote repo with -u so it would track the remote branch, but I'm not sure if that's what I want :silly:. Now it's telling me

-edited-

so I merged the branch I'm using from the repo to my own new branch and set the upstream to their vendor repo. And it seems to sync fine

Fetching projects: 100% (321/321), done.
Syncing work tree: 100% (321/321), done.

vendor/carbon/: leaving jellyzeus42; does not track upstream

I'm just wondering if there's a way to have it stay on the my branch in this case jellyzeus42.
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
No longer need requested help