yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] phoenixita:
Are You joking? Check 2 post above your.
[Android Software/Hacking General [Developers Only]] bkman08:
Perhaps you didnt read. My error does not consist of libc. libc compiles fine for me.
[Android Software/Hacking General [Developers Only]] ZION959:
I did build twice today . Everything is smooth
[Android Software/Hacking General [Developers Only]] s3lphctr1:
yup all good, compiled for infuse :)
[Android Software/Hacking General [Developers Only]] ZION959:
Hi I try to do a complete clean build again today this is the error that i stuck. I anybody experience this

error or everything is smooth.

com/audio-caf/hal/audio_hw.c:187:19: error: 'AUDIO_FORMAT_PCM_16_BIT_OFFLOAD' undeclared (first use in this function)
hardware/qcom/audio-caf/hal/audio_hw.c:187:19: note: each undeclared identifier is reported only once for each function it appears in
hardware/qcom/audio-caf/hal/audio_hw.c:188:19: error: 'AUDIO_FORMAT_PCM_24_BIT_OFFLOAD' undeclared (first use in this function)
hardware/qcom/audio-caf/hal/audio_hw.c: In function 'get_snd_codec_id':
hardware/qcom/audio-caf/hal/audio_hw.c:205:10: error: 'AUDIO_FORMAT_PCM_16_BIT_OFFLOAD' undeclared (first use in this function)
hardware/qcom/audio-caf/hal/audio_hw.c:206:10: error: 'AUDIO_FORMAT_PCM_24_BIT_OFFLOAD' undeclared (first use in this function)
hardware/qcom/audio-caf/hal/audio_hw.c: In function 'adev_open_output_stream':
hardware/qcom/audio-caf/hal/audio_hw.c:2198:9: warning: implicit declaration of function 'audio_is_offload_pcm' [-Wimplicit-function-declaration]
hardware/qcom/audio-caf/hal/audio_hw.c:2218:44: error: 'AUDIO_FORMAT_PCM_16_BIT_OFFLOAD' undeclared (first use in this function)
hardware/qcom/audio-caf/hal/audio_hw.c:2220:48: error: 'AUDIO_FORMAT_PCM_24_BIT_OFFLOAD' undeclared (first use in this function)
make: *** [/home/duc/beanstalk/out/target/product/hlte/obj/SHARED_LIBRARIES/audio.primary.msm8974_intermediates/audio_hw.o] Error 1
make: *** Waiting for unfinished jobs....
hardware/qcom/audio-caf/hal/msm8974/platform.c: In function 'platform_get_pcm_offload_buffer_size':
hardware/qcom/audio-caf/hal/msm8974/platform.c:1773:25: error: 'AUDIO_FORMAT_PCM_24_BIT_OFFLOAD' undeclared (first use in this function)
hardware/qcom/audio-caf/hal/msm8974/platform.c:1773:25: note: each undeclared identifier is reported only once for each function it appears in
make: *** [/home/duc/beanstalk/out/target/product/hlte/obj/SHARED_LIBRARIES/audio.primary.msm8974_intermediates/msm8974/platform.o] Error 1

Thanks
[Android Software/Hacking General [Developers Only]] phoenixita:
Maybe you need caf-drivers...try adding them in your roomservice.xml
[Android Software/Hacking General [Developers Only]] xtcdk:
hh5

noob quesition . but can any explain After the repo sync finally finishes, all you need to do is add your device, kernel, vendor specific files for the device you are building for. (You must know what these are, dont bother asking me if your not sure.) ?
[Android Software/Hacking General [Developers Only]] ZION959:
I make clean, sync and compiled again everything is perfect now. Saw scott just pus some commits last night. Thanks
[Android Software/Hacking General [Developers Only]] phoenixita:
What device are you trying to build for?
[Android Software/Hacking General [Developers Only]] xtcdk:
Hammerhead,

hammerhead/yuga ! beanstalk

The krt16 m binaries are old right ?
[Android Software/Hacking General [Developers Only]] phoenixita:
Writing breakfast hammerhead you should be okay...
[Android Software/Hacking General [Developers Only]] xtcdk:
hmm

build/envsetup.sh no such file ??? everything works, but cant start build
[Android Software/Hacking General [Developers Only]] :
thsi is needed

just type

. build/envsetup.sh

then

breakfast hammerhead

and it will fetch device related files

then open .repo/local_manifests folder add vendor repo from themuppets and then

repo sync again

then

brunch hammerhead
[Android Software/Hacking General [Developers Only]] phoenixita:
Exavtly what i meant!
[Android Software/Hacking General [Developers Only]] xtcdk:
i know that , but my problems is that it can find it :

Device hammerhead not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).

Found repository: android_device_lge_hammerhead

Default revision: cm-10.1

Checking branch info

Default revision cm-10.1 not found in android_device_lge_hammerhead. Bailing.

Branches found:

cm-11.0

stable/cm-11.0

Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches.

ls: kan ikke tilgå device/*/hammerhead/cm.mk: Ingen sådan fil eller filkatalog

build/core/product_config.mk:234: *** Cannot locate config makefile for product "cm_hammerhead". Stop.

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

** Do you have the right repo manifest?
[Android Software/Hacking General [Developers Only]] godmode1970:
Have you extracted proprietary blobs?

Seems your specific vendor info is missing
[Android Software/Hacking General [Developers Only]] xtcdk:
Yep thats my issue , ???

hammerhead/yuga ! beanstalk
[Android Software/Hacking General [Developers Only]] kenzolo:
Anyone?
[Android Software/Hacking General [Developers Only]] :
FTW!

in your working tree run this command and resync u synced sources for 4.2.2 rofl

repo init -u git://github.com/scotthartbti/android.git -b kk44
[Android Software/Hacking General [Developers Only]] icoolguy1995:
Hi to all

I have compiled beanstalk without any error, now the thing is after the mobile boots systemui FCs I have built it for Sony xperia M and here is the logcat

http://www.mediafire.com/?9dhapbxphc5f3nh
[Android Software/Hacking General [Developers Only]] :
did a clean flash..on device.?
[Android Software/Hacking General [Developers Only]] icoolguy1995:
Yes
[Android Software/Hacking General [Developers Only]] xtcdk:
Thankz , gonna start all over ?

hammerhead/yuga ! beanstalk
[Android Software/Hacking General [Developers Only]] icoolguy1995:
Anyone ?
[Android Software/Hacking General [Developers Only]] xtcdk:
repo

xtcdk@xtcdk-Aspire-V3-571:~/beanstalk$ repo init -u git://github.com/scotthartbti/android.git -b cm-10.1

/home/xtcdk/bin/repo: line 1: syntax error near unexpected token `newline'

/home/xtcdk/bin/repo: line 1: `<!DOCTYPE html>'

what are im i missing here ??
[Android Software/Hacking General [Developers Only]] patch_Adams:
Did you rm your old .repo folder first and then do a new repo init with the kk44? Looks like your still trying to do an older repo 10.1??
[Android Software/Hacking General [Developers Only]] Chromium:
Something's wrong with the curl URL in the op. You need to run this one instead:

curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo

Then rerun the chmod command and git init.
[Android Software/Hacking General [Developers Only]] xtcdk:
thankz

that did the trick.. Cheers :D

---------- Post added at 09:43 AM ---------- Previous post was at 09:19 AM ----------

anyone else have probs fetching projekct

fatal: Couldn't find remote ref refs/heads/cm-10.1

error: Cannot fetch CyanogenMod/android_kernel_lge_hammerhead

error: Cannot fetch CyanogenMod/android_device_lge_hammerhead

error: Exited sync due to fetch errors
[Android Software/Hacking General [Developers Only]] mar5hal:
Your repo branch is pulling from cm10.2 not cm11.0
[Android Software/Hacking General [Developers Only]] xtcdk:
java

having some issues installing the current java for ubuntu 13.10 .. Any that have the correct code for it

xtcdk@xtcdk-Aspire-V3-571:~$ java -version

java version "1.7.0_51"

OpenJDK Runtime Environment (IcedTea 2.4.4) (7u51-2.4.4-0ubuntu0.13.10.1)

OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)

xtcdk@xtcdk-Aspire-V3-571:~$
[Android Software/Hacking General [Developers Only]] mar5hal:
This one works for me every time :good:

GUIDE
[Android Software/Hacking General [Developers Only]] xtcdk:
Good guide, but still got issues with java, gonna make a fresh ubuntu install , think i have ****ed my machine up

hammerhead/yuga ! beanstalk
[Android Software/Hacking General [Developers Only]] phoenixita:
I'm having these too since november the only solution for me is dirty flashing the ROM over a previous version of it...I'm now working with other devs to find a fix...If i found something i'll try pushing a commit on scott's github.
[Android Software/Hacking General [Developers Only]] zymphad:
Anyone seen this error?

external/qrngd/qrngp.c:34:24: fatal error: linux/qrng.h: No such file or directory
[Android Software/Hacking General [Developers Only]] CrashTestDroid:
Once again to the build engines, 4.4.270 awaits.
[Android Software/Hacking General [Developers Only]] xtcdk:
hey

is the a easy way to change repo directory.. can see the whole fetch beeing download to home directory even thoug i init in another dir.
[Android Software/Hacking General [Developers Only]] :
copy paste all and re init that folder and then run a repo sync ;)
[Android Software/Hacking General [Developers Only]] xtcdk:
thankz....
[Android Software/Hacking General [Developers Only]] zymphad:
Someone wants to test for me? My N5 is not here yet, RMA. Should be here today.

Nexus 5 Beanstalk 4.4.270 with Faux Kernel

http://www.androidfilehost.com/?fid=23329332407579788

MD5: c9847b07e9a45117691e464888741fa0
[Android Software/Hacking General [Developers Only]] zymphad:
external/qrngd/qrngp.c:34:24: fatal error: linux/qrng.h: No such file or directory

I keep getting this error with both Geeb and Hammerhead. Anyone else getting this?

Thanks
[Android Software/Hacking General [Developers Only]] xtcdk:
brunch

when starting bruching this should be the screen for a long time right ?

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=4.4.2

CM_VERSION=BeanStalk-4.4.270-20140318-hammerhead

TARGET_PRODUCT=cm_hammerhead

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

TARGET_CPU_VARIANT=krait

HOST_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.11.0-18-generic-x86_64-with-Ubuntu-13.10-saucy

HOST_BUILD_TYPE=release

BUILD_ID=KVT49L

OUT_DIR=/home/xtcdk/out

============================================

or has my machine frezed the process ?? What should the compiling screen look like
[Android Software/Hacking General [Developers Only]] zymphad:
Long time? No, maybe a second or two.

---------- Post added at 11:55 AM ---------- Previous post was at 11:31 AM ----------

Can't believe I'm the only one getting this annoying error!

external/qrngd/qrngp.c:34:24: fatal error: linux/qrng.h: No such file or directory
[Android Software/Hacking General [Developers Only]] xtcdk:
Machine works with cpu at max , but stays on that screen

hammerhead/yuga ! beanstalk
[Android Software/Hacking General [Developers Only]] desalesouche:
just find the missing file and add it where it is suppose to be. i think it will fix your error.
[Android Software/Hacking General [Developers Only]] zymphad:
Can't find the file in either scott's or cyanogenmod's git. qrngp.c doesn't exist in either for external/qrngd. I really wish I knew where it was being referenced from.
[Android Software/Hacking General [Developers Only]] desalesouche:
here is where is located the file in my kernel source:

kernel/huawei/honor/arch/arm/include/asm...look in your kernel source...
[Android Software/Hacking General [Developers Only]] zymphad:
Think I found it. qrnpg and qmpg on my screen looked the same.
[Android Software/Hacking General [Developers Only]] desalesouche:
which phone are you building for and where is kernel source please?
[Android Software/Hacking General [Developers Only]] zymphad:
Building for both Geeb and Hammerhead, hopefully this will fix it. Neither Faux or Slim Kernel use this, removed the line to include qrnh
[Android Software/Hacking General [Developers Only]] desalesouche:
it might be the good solution, but in case you can add the needed file into your kernel...

http://www.mediafire.com/download/utqvzgct09u2nd1/qrng.h
[Android Software/Hacking General [Developers Only]] xtcdk:
manifest

go in your .repo folder, then local_manifest and add the vendor specific files into your roomservice.xml and save it. then do a repo sync again. then compile...

soo if a wanna make a build for hammerhead this should be right ??

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<project name="CyanogenMod/android_device_lge_hammerhead" path="device/lge/hammerhead" remote="github" />

<project name="CyanogenMod/android_kernel_lge_hammerhead" path="kernel/lge/hammerhead" remote="github" />

</manifest>

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

OP writes Outside of terminal, navigate to beanstalk/vendor/cm. Double click on the get-prebuilts file and select run in terminal. This will fetch necessary files needed to build and place them where they need to be... What is that terminal emulator it needs which cant be installed
[Android Software/Hacking General [Developers Only]] xtcdk:
buliding hammerhead

Hey Guys.. can any explain of ths should work for bulding for hammerhead. Local_Manifest

?xml version="1.0" encoding="UTF-8"?>

<manifest>

<project name="CyanogenMod/android_device_lge_hammerhead" path="device/lge/hammerhead" remote="github" revision="cm-11.0" />

<project name="CyanogenMod/android_kernel_lge_hammerhead" path="kernel/lge/hammerhead" remote="github" revision="cm-11.0" />

<project name="TheMuppets/proprietary_vendor_lge" path="vendor/lge" remote="github" revision="cm-11.0"/>

</manifest>
[Android Software/Hacking General [Developers Only]] :
yup its good ..
[Android Software/Hacking General [Developers Only]] xtcdk:
?

hammerhead/yuga ! beanstalk
[Android Software/Hacking General [Developers Only]] xtcdk:
term.apk ??

my build always stop after some time with this error : Ingen regel til at skabe mål 'vendor/cm/proprietary/Term.apk' som behøves af '/home/xtcdk/beanstalk/out/target/product/hammerhead/system/app/Term.apk'. Stop.

'vendor/cm/proprietary/Term.apk' som behøves af '/home/xtcdk/beanstalk/out/target/product/hammerhead/system/app/Term.apk'. Stop.

make: *** Venter på uafsluttede job....

???
[Android Software/Hacking General [Developers Only]] CrashTestDroid:
Comment out the areas causing problems and compile will finish. wfm.
[Android Software/Hacking General [Developers Only]] xtcdk:
stop

No rule to make target `vendor/cm/proprietary/Term.apk', needed by `out/target/product/encore/system/app/Term.apk'. Stop.

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

in english
[Android Software/Hacking General [Developers Only]] Chromium:
Looks like you didnt get the prebuilts. From within the root of your source directory run:

cd /vendor/cm
./get-prebuilts
[Android Software/Hacking General [Developers Only]] xtcdk:
you are a life saver. :highfive::highfive::highfive:. guess i didnt run that command in the right source directory..

just taken me about 3 days now :eek::eek::eek:
[Android Software/Hacking General [Developers Only]] xtcdk:
Weeee. Everything worked just fine , wanna thankz all you guys for helping me ??

1 less thing on my top 100 list before i die ? thing ??

hammerhead/yuga ! beanstalk
[Android Software/Hacking General [Developers Only]] Slomies:
I don't know how to do that. I'm new to building...
[Android Software/Hacking General [Developers Only]] Chromium:
Commenting just means making part of the code unused by the compiler. To comment in xml you wrap whatever content you want to comment in <!-- -->.

Ex:

<!-- stuff that you want commented -->
[Android Software/Hacking General [Developers Only]] ZION959:
Hi I have this error today, I anyone know how to fix it . Thanks

Import includes file: /home/zion/beanstalk/out/target/product/hlte/obj/STATIC_LIBRARIES/libext4_utils_static_intermediates/import_includes
target thumb C: libinit_msm <= device/qcom/common/init/init_msm.c
target thumb C: libinit_msm <= device/qcom/common/init/../../../../device/samsung/hlte/init/init_hlte.c
target thumb C: adbd <= system/core/adb/adb.c
target thumb C: adbd <= system/core/adb/backup_service.c
target thumb C: adbd <= system/core/adb/fdevent.c
target thumb C: adbd <= system/core/adb/transport.c
target thumb C: adbd <= system/core/adb/transport_local.c
target thumb C: adbd <= system/core/adb/transport_usb.c
target thumb C: adbd <= system/core/adb/adb_auth_client.c
target thumb C: adbd <= system/core/adb/sockets.c
target thumb C: adbd <= system/core/adb/services.c
target thumb C: adbd <= system/core/adb/file_sync_service.c
target thumb C: adbd <= system/core/adb/jdwp_service.c
system/core/adb/file_sync_service.c: In function 'mkdirs':
system/core/adb/file_sync_service.c:71:13: error: too few arguments to function 'selinux_android_restorecon'
selinux_android_restorecon(name);
^
In file included from system/core/adb/file_sync_service.c:29:0:
out/target/product/hlte/obj/include/selinux/android.h:36:12: note: declared here
extern int selinux_android_restorecon(const char *file, unsigned int flags);
^
system/core/adb/file_sync_service.c: In function 'handle_send_file':
system/core/adb/file_sync_service.c:249:9: error: too few arguments to function 'selinux_android_restorecon'
selinux_android_restorecon(path);
^
In file included from system/core/adb/file_sync_service.c:29:0:
out/target/product/hlte/obj/include/selinux/android.h:36:12: note: declared here
extern int selinux_android_restorecon(const char *file, unsigned int flags);
^
make: *** [/home/zion/beanstalk/out/target/product/hlte/obj/EXECUTABLES/adbd_intermediates/file_sync_service.o] Error 1
make: *** Waiting for unfinished jobs....
zion@zion959:~/beanstalk$
[Android Software/Hacking General [Developers Only]] a2441918:
Same errorfor me too from yesterday.
[Android Software/Hacking General [Developers Only]] Adi Shakthi:
We are trying to build bs for note2 n7100...

But we are facing different different errors when ever build stops.....

Tried every thing but no success .....

Any help will be highly appreciated....

I feel very strange because every time new error message.....(see screen shot)
[Android Software/Hacking General [Developers Only]] Slomies:
I am getting the same errors now with the JFLTE build I'm trying to do...
[Android Software/Hacking General [Developers Only]] Adi Shakthi:
Our unofficial s4 i9500 build was good.....

But when we tried to build again with same confg build is not completing ....

Same se linux error...

At least my team mates tried for 200+ times but each time new error ...

Really strange that I never seen.....m
[Android Software/Hacking General [Developers Only]] patch_Adams:
In between builds, things will be broken for short periods of time. This is the source being worked on. You can fix manually on your pc, or wait till Scott fixes, and he always fixes.....;)

Lol....Windows.....lol
[Android Software/Hacking General [Developers Only]] desalesouche:
i think i have some progress isn't it? : http://pastebin.com/WwGUVnXd

now i am trying to understand errors (googling...)

edit:another pastebin http://pastebin.com/WwGUVnXd

some advice please?
[Android Software/Hacking General [Developers Only]] ny-hardcore:
Look at this commit for inspiration:

https://github.com/koen01/android_d...tree/f4c1a17d47052e78631aa0964a5a8c3a283bbf7e

I Didn't enable fast charge only timeout
[Android Software/Hacking General [Developers Only]] :
I am sorry your not understanding what Im saying.

I am asking what you put either your your .repo/local_manifest.xml or your .repo/local_manifests/roomservice.xml

do you know how to configure your device specific stuff?
[Android Software/Hacking General [Developers Only]] desalesouche:
i have to admit that i don't know nothing about these 2 files and the rest....

i am very new to build rom and beanstalk is the first try i am doing...

i did ask about setting device in previous post...if i remember well.

so i would be glad to receve your help and knowledge.

thank you.
[Android Software/Hacking General [Developers Only]] :
Essential that is why you are not having a build work.

You have to find the proper local_manifest settings for your device.

They should be on the "CM10.1 official" thread for your device.

If there is no official CM for your device, this will never work. I don't know anything about your device.

Once you are able to successfully build CM10.1, then you should move onto beanstalk...

Until then, you really won't be able to get it working

For example, my .repo/local_manifests.xml has the following for a samsung n7000:

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="cm-10.1" />

<project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" revision="cm-10.1" />

<project name="CyanogenMod/android_device_samsung_n7000" path="device/samsung/n7000" remote="github" revision="cm-10.1" />

<project name="CyanogenMod/android_device_samsung_galaxys2-common" path="device/samsung/galaxys2-common" remote="github" revision="cm-10.1" />

<project name="CyanogenMod/android_kernel_samsung_smdk4210" path="kernel/samsung/smdk4210" remote="github" revision="cm-10.1" />

<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="cm-10.1" />

</manifest>

without what you are supposed to put there for your kernel, etc, you will NOT ever have a successful build

No one here will be able to give you that info for your device, you have to locate it on your forums, or figure it out...

You may PM other CM10.1 devs on your forum and ask what is in their local manifest.
[Android Software/Hacking General [Developers Only]] patch_Adams:
Thanks...what would I need to do to enable the fast charge?
[Android Software/Hacking General [Developers Only]] desalesouche:
here a local_manifest.xml done for my phone...what do you think? under that post you will find also some pastebin links.

http://xdaforums.com/showpost.php?p=43952352&postcount=893

thanks to awidawad who solved some errors i could compile a part of the build... still some apps are missing and also kernel...but that is a good progress. would you have any suggestion to help me finish compiling correctly?

thank you...
[Android Software/Hacking General [Developers Only]] chrisc93:
Does your kernel support fast charge?

If you have /sys/kernel/fast_charge/force_fast_charge, then the kernel has fcharge support.

If you have it, then add

<string name="config_fastChargePath" translatable="false">/sys/kernel/fast_charge/force_fast_charge</string>

in "YOUR DEVICE"/overlay/frameworks/base/core/res/res/values/config.xml
[Android Software/Hacking General [Developers Only]] patch_Adams:
We have some that do support it, yes.

sent from somewhere upon the beanstalk
[Android Software/Hacking General [Developers Only]] chrisc93:
I wouldn't add it if the kernel that is built with the rom doesn't have it

---------- Post added at 11:30 PM ---------- Previous post was at 11:28 PM ----------

Has anyone done a repo sync in the past few hours?

It said that 43 commits were disregarded in bootable/recovery.

Now I can't get a build to start :/

It breaks at

make: *** No rule to make target `bootable/recovery/utilities/../../../external/zlib/contrib/minizip/minizip.c', needed by `/home/chris/beanstalk/out/target/product/jflteatt/obj/STATIC_LIBRARIES/libminizip_intermediates/../../../external/zlib/contrib/minizip/minizip.o'. Stop.
[Android Software/Hacking General [Developers Only]] patch_Adams:
I'm getting the same error??

I keep thinking "at least it's breaking early :)"
[Android Software/Hacking General [Developers Only]] desalesouche:
it is the same for me...
[Android Software/Hacking General [Developers Only]] chrisc93:
okay good, im not going crazy! it's probably all the 4.3 stuff being merged in.

was gonna build Beanstalk 1.300 for the other s4's but oh well...guess they will have to wait for the new stuff. :p