yashsingh1/xdaforums huggingface dataset:
[Android] Startrek852:
Welcome. Did it work?
[Android] Qiangong2:
It did. Compiling now
[Android] Startrek852:
Sweet! If you need any more help, I'm here.
[Android] Qiangong2:
Completely unrelated question here. :D

I'm trying to get a new bootanimation on my 4.4 TencentOS port that I based on CM11. I want to change the bootanimation.zip, but everytime I try, it just shows a black screen. I've also tried using qmg files as well.
[Android] Startrek852:
Have you tried this: http://xdaforums.com/chef-central/android/tutorial-samsung-qmg-boot-animation-t3255114?
[Android] Qiangong2:
I have. That's how I made the qmg files I tried. Same problem.
[Android] DarkFrenzy:
i have a good device tree but don't have a powerfull pc to build a rom.

Can anybody build AICP11 for me ? i will give the device tree
[Android] sai milind:
can anyone please help me with this error http://pastebin.com/M4gRcMtz trying to build dirty unicorns for grand duos gti9082
[Android] hackslash:
Any fix for this weird Broadcom WLAN errors:

http://hastebin.com/opagequvuv.coffee
[Android] Startrek852:
I don't know, I've never changed the boot animation on a Samsung device before.
[Android] Qiangong2:
Okay, thanks :(

Another question, the device I'm building for has 512mb of RAM and I want to "add" RAM. Is ZRAM or a swap file better? and How do I enable either one when building a ROM. For the swap, I'd like to build it on flash of the ROM on the user's SD card if possible.
[Android] JonathanRAZ:
Does repopick works same way on arch?????
[Android] MSF Jarvis:
On Arch Linux? Yes, it's a python script, so I'd wager it's distribution independent.
[Android] JonathanRAZ:
Yes i was having some other issue got it fixed i tought it was repopick got it fixed btw thnk you
[Android] SlimShady's:
Can anyone help me ?

http://hastebin.com/sicafakafe.mel

This is my local_manifest: http://hastebin.com/pecabujigi.xml

I'm trying to build AOSP 6.0.1 for LG L90
[Android] Arvind7352:
Try adding

QCOM_HARDWARE := true

In your BoardConfig.mk and run the build.

Share the android_system_core repo so that i can verify

#ifdef QCOM_HARDWARE /*Checks if this FLAG is defined*/
THE_MISSING_MEMBER = 0x4000 /*Only then this block of operations/members would be performed/considered */
#endif

For me, it looks like the members which are found to be Undeclared (or Missing) can be found if you Define this FLAG. (Happened with me on Omni 5.1.1)
[Android] SlimShady's:
I already have this on my BoardConfig.mk, isn't the same? "BOARD_USES_QCOM_HARDWARE := true". The system/core repo is basically the one from android.googlesource.com (master branch)
[Android] Arvind7352:
These two are different Flags. Try it

I also said that i did this on Omni 5.1.1 :)

Well, if it didn't work, then reply back. Probably this idea works on 5.1.1. Try it
[Android] SlimShady's:
Yup. It doesn't work.. Always the same error :/ It's weird because I even used the CM ones (They are always up-to-date).. maybe I should change system/core with CM one?
[Android] Arvind7352:
Probably yeah, can you pastebin this file -> system/core/include/system/audio.h
[Android] SlimShady's:
There is no audio.h there eheheh.

This is what I have: https://android.googlesource.com/pl...64de0c03fe62ca7fd9e158afb598c/include/system/

So probably, I should try to clone system/core from CM

EDIT: There is no audio.h also from CM lol
[Android] Arvind7352:
Sure, you have to. (Not for that header file tho. Not there in that repo too xD)

[MENTION=5618023]SlimShady's[/MENTION]

The audio.h file is in android_system_media -> audio/include/system/audio.h

Damn. Good coincidence

Checking Hardware repos, wait
[Android] SlimShady's:
The audio.h header file is only for 5.1.1.

They deleted it since 6.0.1...

I'm trying to build with system/core from CM..

[MENTION=6049586]Arvind7352[/MENTION] Did you meant "system/media/audio/include/system/audio.h"?

lol. yes. xD

Here it is: http://hastebin.com/mopobalite.vhdl
[Android] Arvind7352:
Do this

Add this include either in AudioPolicyManager.cpp or AudioPolicyManager.h (any one of them)

#include <system/audio.h>

You'll see some include list at the start of each of these files. Add this just below those include-list
[Android] SlimShady's:
EDIT: [MENTION=6049586]Arvind7352[/MENTION] Nevermind. I fixed that.

Now the problem is here: http://hastebin.com/coxotiwoye.vhdl

My mkbootimg: https://github.com/TeamOrion-Devices/device_lge_w7/blob/6.0.1/mkbootimg.mk

And I've already synced the system/core/mkbootimg from CyanogenMod but the output is still searching for the old usage of Mkbootimg.
[Android] kn06497:
Somebody can help me?

Image
[Android] ganesh varma:
In file included from hardware/qcom/audio-caf/msm8916/post_proc/bundle.h:25:0,
from hardware/qcom/audio-caf/msm8916/post_proc/bundle.c:30:
hardware/qcom/audio-caf/msm8916/post_proc/effect_api.h:42:29: warning: 'struct pbe_params' declared inside parameter list
uint32_t device);
^
hardware/qcom/audio-caf/msm8916/post_proc/effect_api.h:42:29: warning: its scope is only this definition or declaration, which is probably not what you want
hardware/qcom/audio-caf/msm8916/post_proc/effect_api.h:44:34: warning: 'struct pbe_params' declared inside parameter list
bool enable);
^
hardware/qcom/audio-caf/msm8916/post_proc/effect_api.h:45:40: warning: 'struct pbe_params' declared inside parameter list
int offload_pbe_get_enable_flag(struct pbe_params *pbe);
^
hardware/qcom/audio-caf/msm8916/post_proc/effect_api.h:49:29: warning: 'struct pbe_params' declared inside parameter list
unsigned param_send_flags);
^
hardware/qcom/audio-caf/msm8916/post_proc/effect_api.h:52:28: warning: 'struct pbe_params' declared inside parameter list
unsigned param_send_flags);
^
In file included from hardware/qcom/audio-caf/msm8916/post_proc/bundle.c:32:0:
hardware/qcom/audio-caf/msm8916/post_proc/bass_boost.h:54:23: error: field 'offload_pbe' has incomplete type
struct pbe_params offload_pbe;
^
make: *** [/home/techkid/cm13/out/target/product/j5ltexx/obj/SHARED_LIBRARIES/libqcompostprocbundle_intermediates/bundle.o] Error 1
make: *** Waiting for unfinished jobs..

..

Someone help me,this is the error i'm getting everytime. I have observed that this only occurs during building the libs from qcom-caf source. Is there a way to disable it from using caf source?? :confused:
[Android] JonathanRAZ:
Do you know why i am getting stuck on libblas.so??? Its stays there foreever
[Android] dani020110:
Yeah!!

I've had a similar mistake related with msm8916

And I've found this, look at this commit, I think it disables audio-caf if you don't have declared explicitly "TARGET_QCOM_AUDIO_VARIANT in BoardConfig"

That fixed that issue for me, but I think audio may not work

https://github.com/Sohamlad7/androi...mmit/4c2668e7a25a4f3f0b6d349ad2001e8362adb4ef
[Android] juginkrebs:
he guys i am trying to build beanstalk for me device but get this ? how to fix it ?

Picture
[Android] Startrek852:
What device tree are you using?
[Android] juginkrebs:
use from CyanogenMod [MENTION=6622051]Startrek852[/MENTION]
[Android] SrLuk:
I'm having trouble in step 2 many packages couldn't be located:confused::confused:
[Android] MSF Jarvis:
Which distro are you using?
[Android] Jeik:
Take a look which packages are missing.

Then find them in the command and remove their names from the install command.

As for JDK7,look a few pages back.
[Android] juginkrebs:
Anyone can Help me?
[Android] Arvind7352:
No

Unless you show your problem
[Android] juginkrebs:
here the Problem
[Android] Jeik:
Look at your device folder.

There should be a file named "cm.mk".

Open it,see it you can find the "cm_trlteex" line.

Then,open the "vendorsetup.sh" and look if there is a line "add_lunch_combo cm_trlteex-userdebug"
[Android] juginkrebs:
yes i do this but same Problem
[Android] SrLuk:
I'm currently using Ubuntu 16.04 64-bit. I'm new to linux, so i don't know how to use it properly:D
[Android] MSF Jarvis:
Use this guide : http://xdaforums.com/chef-central/android/guide-how-to-setup-ubuntu-16-04-lts-t3363669

Post your queries there too and mention me if you feel like, I'll be happy to help :)
[Android] MSF Jarvis:
First, you're completely inexperienced, so PLEASE provide full logs. Append this

> >(tee stdout.log) 2> >(tee stderr.log)

to your build command and you will have the logs generated as per our requirements.

Second, use a paste service. You can use pastebin, hastebin, pastie, gist.github.com, paste.omnirom.org, logcat.us etc. etc. If you understand even basic bash scripting, you will be able to create a SINGLE LINE script to interact with the paste.omnirom.org API and upload logs through the command line. My sample use case is this :

$./logger.sh stdout.log
<link-from-paste.omnirom.org>

If you are unable to understand any of this, then you are simply not capable of building ROMs satisfactorily and should cease your attempts.
[Android] Markinb66:
Hi. I have compiled DU for LG G3 LS990, but since yesterday I'm trying to synchronize the repository and not going there to android_hardware_qcom_audio. Any help or idea why this happens? Sorry for my English.
[Android] dani020110:
What if I can't update the full log because it is too large?
[Android] sh A ne:
You should crtl c where the sync halts and it will show you which repo is not synchronizing. Then you can :

-Check if the repo exists,

-Delete the repo and download the zip from a browser and put in required path.
[Android] MSF Jarvis:
Pretend you're smart and only send the last half :/
[Android] justgamer01:
I built many times Resurrection Remix for my n7000 and i9300 sucessfully but I couldn't get my sim cards working on both device, because both devices show imei and baseband Unknown[emoji29]

But if I install an other rom (built by someone else) it will work

Can anyone help me please?
[Android] KeTuRr74:
Give more info, wich device, wich rom, your roomservice etc..

Try to add this repo to your roomservice and build.
[Android] sh A ne:
Little help here http://pastebin.com/UnVGxDVP
[Android] BRoy_98:
I am getting this error on bliss6.0 for redmi note 3: http://pastebin.com/UF71sDwM

This is my first rom build. Can any one please help me?
[Android] Arvind7352:
You're missing QCOM common repo.

Add this line to local_manifest.xml

<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" revision="cm-13.0" />

And then repo sync, continue the build after it completes

Else manually download this repo from HERE, paste the contents at 'device/qcom/common'
[Android] justgamer01:
On both devices n7000 and i9300 I get unknown baseband and imei.

Rom: Resurrection Remix v.5.6.8 (latest)

Inside my roomservice for the i9300(Galaxy S3) is:

<project path="device/samsung/smdk4412-common" name="CyanogenMod/android_device_samsung_smdk4412-common" remote="github" revision="cm-13.0" />

<project path="kernel/samsung/smdk4412" name="CyanogenMod/android_kernel_samsung_smdk4412" remote="github" revision="cm-13.0" />

<project path="device/samsung/i9300" name="CyanogenMod/android_device_samsung_i9300" remote="github" revision="cm-13.0" />

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

Inside my roomservice for the n7000(Galaxy Note):

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

<project path="kernel/samsung/tw_n7000" name="bauner/android_kernel_samsung_tw_n7000" remote="github" revision="cm-13.0" />

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

<project path="hardware/samsung" name="bauner/cm-android_hardware_samsung" remote="github" revision="cm-13.0" />
[Android] juginkrebs:
hi guys anyone can help me ? http://hastebin.com/ayukumavux.md i will build Beanstalk
[Android] BRoy_98:
I did this and now this is the error: http://pastebin.com/5ZyXuR2N

Now what should I do?
[Android] MSF Jarvis:
[MENTION=6049586]Arvind7352[/MENTION] do you have any idea why battery percentage on a recent ROM build of CM13 may show up borked? One of my testers reported that battery was at 3900% on first boot. I adapted the device tree from a similar (first gen android one, building for LAVA Pixelv1) device and ported ROMs from there have the same error which leads me to believe that it IS a device tree issue. Appreciate feedback/solutions for this problem.
[Android] dani020110:
Hi there, I'm trying to compile omnirom for the xperia m4 aqua

Can anyone help me?

I was searching for this and I couldn't find any solution

Here is the paste http://paste.omnirom.org/view/e1992c05
[Android] Arvind7352:
Probably that libbatteryservice is missing. Just take a log from one of your testers and search for 'battery'. You may find a warning or an error for this missing lib (or it will say 'waiting for batteryservice)

This lib is built from frameworks/native/services/batteryservice
[Android] MSF Jarvis:
Thanks, I'll do likewise.
[Android] BRoy_98:
hi [MENTION=6049586]Arvind7352[/MENTION], please help me to resolve this error: http://pastebin.com/5ZyXuR2N :(
[Android] hdorius:
You need to include qcom/common repo, take it from cm github
[Android] BRoy_98:
I have alrady included qcom/common by including this line in local_manifest.xml:

<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" revision="cm-13.0" />

and then "repo sync"

isn't it the right way?
[Android] Arvind7352:
It is the right way. Though, I don't have knowledge of that error, and no changes have been made to that file after it has been initially made.
[Android] Arvind7352:
This commit solves it - thanks [MENTION=5857684]TheStrix[/MENTION] for sharing this.

https://github.com/CyanogenMod/andr...mmit/720f6b4c12c86fb084224a66f33e01d7cc843930

If you don't know how to interpret changes in a commit - GO HERE

There are three changed files

init_msm.cpp

init_msm.h

init_msm8226.cpp

Perform the changes done on init_msm8226.cpp (<- The Commit does changes on this file) to init_msm8952.cpp (<- This is your file). Take your time for performing changes, use a Good Text Editor (Atom, Nano).
[Android] Qiangong2:
I'm trying to build cm10.2 for my device and I keep getting the same RIL error.

Here is the pastebin: http://pastebin.com/JgfCNgGm

I am working off of a cm10.1 tree, modifying as I go.
[Android] BRoy_98:
Thanx man! I just did this and my first building from source is successful! Thank you very much! :highfive:
[Android] Trafalgar Square:
<project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" revision="cm-13.0" />

<project name="CyanogenMod/android_external_stlport" path="external/stlport" remote="github" revision="cm-13.0" />
[Android] sh A ne:
Any help please
[Android] Arvind7352:
AOSiP can't be built for CAF Devices. (Only for Nexus Family). I believe the device you're using isn't a Nexus.

Before syncing a ROM, do check if the manifest also contains CAF repos (hardware_qcom_audio/media/display). In that case, its buildable for Non-Nexus Devices. Some ROMs even maintain CAF repos for frameworks_av and frameworks_native (example - Dirty Unicorns, OmniROM)
[Android] sh A ne:
Thanks your post was really helpful
[Android] Qiangong2:
Anyone? Can you not use a cm10.1 tree with 10.2? I created a different kernel that seems to build fine, just the RIL. People have made the RIL for cm11 for my device, i'm just trying to get cm10.2 so we have a dual Sim capable ROM as cm10.1 does not and cm11 currently has errors.
[Android] vdbhb59:
The perfect guide I have ever seen. Awesome one mate. :)
[Android] SlimShady's:
Does anyone knows about this problem?

I'm at the end of the compilation. I'm still trying to build AOSP.

Error: http://hastebin.com/ehuyibuful.rb (line 21)

My local_manifest: http://hastebin.com/hopitomajo.xml
[Android] Arvind7352:
Check if this line is there in fs_mgr.c

#include <blkid/blkid.h>

If not, then add it, and try again
[Android] SlimShady's:
I don't have the PC under my hands but as you can see from my local manifest I track system_core from www.github.com/TeamOrion and the header you said is in the .c file.
[Android] sh A ne:
What am i missing here anyone please http://pastebin.com/9NYei20t
[Android] Arvind7352:
Since you're using repos from different ROMs, why not try tracking CM's android_system_core ?

Coz when I entered part of your error (in Google), a CM Gerrit page came up in which a Guy commented the same error on a Patch Set, and the Committer says it gets solved with that Patch Set.
[Android] SlimShady's:
I've synced CM's system_core repo but I have this http://hastebin.com/ijizolanok.vbs :D

I guess a clean build is needed (?) .. :/
[Android] Arvind7352:
No use of a clean build. You'll get the same error

Some members are found missing which are present in CM's Counter part (see THIS, lines 35-43 and so on).

Try SlimRoms' android_system_core which doesn't use these members.
[Android] kn06497:
:confused: What's wrong IMAGE
[Android] MSF Jarvis:
Two things. First, give logs not images. Second, switch to English in your terminal.
[Android] Aimbot91:
Guys what are commands for downloading repo and python tools for Linux Mint 17.3 KDE:confused:I was trying to search on Google but without luck:eek:
[Android] MSF Jarvis:
Same as in the guide
[Android] SlimShady's:
Tried with SlimRoms system_core (With a clean build) but still the same problem. (In case you forgot it: http://hastebin.com/uhupogawis.vhdl)
[Android] sh A ne:
Help needed, anyone
[Android] Startrek852:
Add ANDROID_COMPILE_WITH_JACK := false to your BoardConfig.mk, then clean and start building.
[Android] sh A ne:
Nope didn't work out:(
[Android] akhilnarang:
hardware/ril-caf

Take from DU github android_hardware_ril m-caf branch.
[Android] sh A ne:
I got it my device configs was searching for hardware/ril-caf,so i renamed it to ril-caf and worked just fine ..

Thanks
[Android] Røbin:
Error: Cannot connect to jack server

please anyone can explain?I am having hard time to build a rom for my device.4 days and until now I've faced many difficult problems and had to solved it.But now this error confusing me.
[Android] Soubhik_sk83:
I am trying to build CM-13 for Yu Yureka.

during ' $ brunch tomato' i'm getting this error.. can anyone help pls?

Export includes file: external/zip/Android.mk -- /home/soubhik/android/system/out/target/product/tomato/obj/EXECUTABLES/zip_intermediates/export_includes
Notice file: external/zip/NOTICE -- /home/soubhik/android/system/out/target/product/tomato/obj/NOTICE_FILES/src//system/xbin/zip.txt
make: *** No rule to make target 'vendor/yu/tomato/proprietary/bin/adsprpcd', needed by '/home/soubhik/android/system/out/target/product/tomato/system/bin/adsprpcd'. Stop.
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/soubhik/android/system'

#### make failed to build some targets (01:41:22 (hh:mm:ss)) ####

I'm getting this error almost after 1.5 hours of running brunch tomato
[Android] SlimShady's:
I've fixed that vold error.

Now this one came: http://hastebin.com/eqocugohof.scala (Stupid bluetooth things :P)
[Android] Arvind7352:
Probably that, you haven't synced the vendor repo (properiatary_vendor_yu)
[Android] MSF Jarvis:
The file is missing, remove the reference to it
[Android] nick279:
I have managed to successfully compile a ROM. But now I wanted to try to compile with a custom toolchain. So I cloned arm-linux-androideabi-5.3-sm.git and kept it in prebuilts/gcc/linux-x86/arm. I have also included this in my BoardConfig.mk .

Do I need to do something else? :p

PS- I want to use the stock google tc for compiling kernel. So do I need to set a flag for it in BoardConfig.mk too? Or only do I need a flag for kernel? Help will be appreciated. :)
[Android] MSF Jarvis:
Use this guide : http://xdaforums.com/chef-central/android/guide-switching-to-custom-toolchain-t2927662
[Android] Startrek852:
Try disabling Jack by adding ANDROID_COMPILE_WITH_JACK := false to your BoardConfig.mk, then clean and rebuild.
[Android] Røbin:
I used "sudo apt-get install jackd2" to install jack suggested from askubuntu.And now building is processing without any problem for now.Maybe I'll need that sometime later. Thank you. :)
[Android] Jeik:
Waaaaa, what's up with Resurrection Remix and Java,for gods sake! Only RR gets these errors! Can somebody please help me? .-___-.

http://hastebin.com/macocazava.rb
[Android] Trafalgar Square:
I compiled RR just two hours ago.
[Android] Aimbot91:
After adding local_manifest.xml in local_manifests folder when l try to make repo sync l am getting this error:

fatal: duplicate path device/qcom/common in /media/aimbot91/Android Source/Validus/.repo/manifest.xml :confused:

And one more question l am getting msg: A new repo command ( 1.22) is available.

After repo sync command.Can anyone explain me how l can upgrade repo?Thanks in advance:highfive:
[Android] MSF Jarvis:
It means the main manifest is also trying to download device/qcom/common. Add this line to local manifest above your device/qcom/common line :

<remove-project path=device/qcom/common />

Just follow the installation instructions for repo again, this time using the curl method.
[Android] gourabpa:
tutorial i good but update the OP to latest version of Software like android M,ubuntu lastest version code,jdk latset version code...
[Android] MSF Jarvis:
You can always look those up at different places, but yes, an update is called for [MENTION=5216756]jackeagle[/MENTION]
[Android] Aimbot91:
[MENTION=6552280]MSF Jarvis[/MENTION] can u explain me more curl method itself?!Thanks in advance.
[Android] MSF Jarvis:
From here : https://source.android.com/source

P.S. Remove the tags from the link, it's an XDA la...ove them.
[Android] Soubhik_sk83:
Can u pls explain a bit more? How to reference and from where?

---------- Post added at 12:21 PM ---------- Previous post was at 12:20 PM ----------

Can u pls explain a bit more? How to remove reference and from where?
[Android] MSF Jarvis:
It should be in the vendor tree for your device, most likely at vendor/yu/tomato(I'm not sure about your codename) in a file that should end with a .mk extension and have loads of lines. Search for the filename and remove the entire line where it is found. Another suggestion would be to look for the file giving error in your stock ROM and place it at the location specified by that file

vendor/yu/tomato/system/bin/<random-filename:system/bin

is the general layout of the lines in that file. You need to place the file at the location before the colon.
[Android] Soubhik_sk83:
I think i found what causing it.. I need to sync Proprietory blobs correctly.. Thank u..

Can you please help me how to enable the ccache? I'm not able to understand it from op..

should i type this in terminal first?

export USE_CCACHE=1

then in .bashrc shall i add this?

prebuilts/misc/linux-x86/ccache/ccache -M 50G
[Android] Qiangong2:
I have a error when building a recovery image

Here's the error: http://pastebin.com/be19Cnj3

Here is my github source: http://github.com/Qiangong2/android_device_BLU_D190U
[Android] MSF Jarvis:
What part of this :

build/core/Makefile:140: *** BUILD_FINGERPRINT cannot contain spaces:?*

was not clear? Just revive the spaces and build, that's it. And you may wanna check the number of quotation marks you have there too
[Android] Qiangong2:
Found the problem. A backslash had a space after it. That was the problem
[Android] Aimbot91:
After adding that line repo sync command dont show error but dont sync device blobs for my device also:confused:lt seems like l even didnt add local_manifest.xml file but l did.l even try with removing the line from above and sync working without error but it dont sync blobs which is strange:confused:Btw l am trying to build Validus rom.
[Android] Qiangong2:
[MENTION=6622051]Startrek852[/MENTION] I'm having an error on CM11 compilation for the BLU D190U. the Cache.img keeps getting a compilation error

Here: http://pastebin.com/EGzN6ER3
[Android] Startrek852:
Try making the cache.img manually by running:

mkyaffs2image /home/c106/Videos/eggcelent/out/target/product/D190U/cache /home/c106/Videos/eggcelent/out/target/product/D190U/cache.img /home/c106/Videos/eggcelent/out/target/product/D190U/root/file_contexts cache

then resume building.