yashsingh1/xdaforums huggingface dataset:
[Android] tschmid:
Thanks a lot.

Here's a dmesg if this help, but also SELinux denials.

http://pastebin.com/UjpQqmvE

Gesendet von meinem Nexus 6P mit Tapatalk
[Android] MSF Jarvis:
No use posting them here, no one will write your sepolicy for you. You'll have to do that yourself.
[Android] FeyoMx:
please [MENTION=6552280]MSF Jarvis[/MENTION] see my error, I hope someone can help

http://hastebin.com/iyiliqoduq.mel

Link a device tree i use

https://github.com/DarkBlood23/android_device_lenovo_A7010
[Android] Startrek852:
Quote from [MENTION=6552280]MSF Jarvis[/MENTION]
[Android] arunmcops:
CM-14.0 Jak Error

Getting communication error with Jack server...

Communication error with Jack server (56). Try 'jack-diagnose'
/bin/bash: /home/arun/cm14/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/jack-rsc.tmp: Is a directory
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/arun/cm14'

#### make failed to build some targets (01:13:45 (hh:mm:ss)) ####

http://pastebin.com/Jw1jP5Q0
[Android] arnabJ:
Make sure that Java Toolchain is defined in your Path.

I faced similar issue. Adding Toolchain to Path fixed the issue. Also I had to reinstall Jack Server after adding Toolchain to Path.
[Android] arunmcops:
Can you please tell How ??
[Android] arunmcops:
Did the required changes , synced repo again. Now getting this error...

Starting build with ninja
ninja: Entering directory `.'
[COLOR=Red]ninja: error: '/home/arun/cm14/out/target/common/obj/APPS/BasicDreams_intermediates/with-local/classes.dex', needed by '/home/arun/cm14/out/target/common/obj/APPS/BasicDreams_intermediates/classes.dex', missing and no known rule to make it[/COLOR]
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/arun/cm14
[Android] arunmcops:
Building on Two different machines... Another one also giving regarding Jack Server....

prebuilts/sdk/tools/jack-admin: line 278: keytool: command not found
prebuilts/sdk/tools/jack-admin: line 279: keytool: command not found
Launching Jack server java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -cp /root/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher
Jack server failed to (re)start, try 'jack-diagnose' or see Jack server log
No Jack server running. Try 'jack-admin start-server'
No Jack server running. Try 'jack-admin start-server'
[ 36% 17047/46902] target thumb C++: libic...ternal/icu/icu4c/source/common/ucnvsel.cpp
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/arun/cm14'

#### make failed to build some targets (01:39:46 (hh:mm:ss)) ####
[Android] FeyoMx:
[MENTION=6552280]MSF Jarvis[/MENTION]

Please help to resolve this error

http://hastebin.com/olukubevab.md

thanks in advance
[Android] arnabJ:
Follow this Guide
[Android] Xendrix:
Make: libselinux_intermediates/src/check_contents.o] error 1

Make: libselinux_intermediates/src/callbacks.o] error 1

What do i do? I checked the folder and its empty
[Android] arunmcops:
Tried to follow this

Looks like a broken installation, please try reinstalling: jack-admin kill-server jack-admin uninstall-server cd prebuilts/sdk/tools touch jack mm -j32 showcommands &> mm.out I this doesn't help, please do the installation manually: jack-admin kill-server jack-admin uninstall-server cd prebuilts/sdk/tools jack-admin install-server jack-launcher.jar jack-server-4.8.ALPHA.jar

Result is :

arun@arun:~/cm14/prebuilts/sdk/tools$ jack-admin install-server jack-launcher.jar jack-server-4.8.ALPHA.jar
jack-admin: command not found
[Android] Startrek852:
Upload the full log to a paste service or we can't help.

---------- Post added at 11:46 PM ---------- Previous post was at 11:44 PM ----------

You need to add ./ before jack-admin.
[Android] spookcity138:
You are missing the "mt6735-clk.h" file. You need to either get it or,assuming it doesn't cause more problems (which it prob will)

Comment it out in the include of the "mt6753.dtsi" file.
[Android] arnabJ:
Instead of jack-admin ....

Use

./jack-admin .....

Hope you understood what I mean.
[Android] arunmcops:
Lol..... I missed it.... :D:D:D:D
[Android] Nous16:
Can you help me with this error ? Would be great!

http://pastebin.com/jALsMJst
[Android] arunmcops:
Now new error...

ninja: error: '/home/arun/cm14[COLOR=Red]/out/target/common/obj/APPS/BasicDreams_intermediates/with-local/classes.dex',[/COLOR] needed by '/home/arun/cm14/[COLOR=Red]out/target/common/obj/APPS/BasicDreams_intermediates/classes.dex[/COLOR]', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/arun/cm14'

BTW there is no packages/apps/BascDream .

Figured it out

<project path="packages/screensavers/Basic" name="CyanogenMod/android_packages_screensavers_Basic" groups="pdk-fs" />
[Android] arnabJ:
Check few posts back. Related to a Samsung device. Fix is there.
[Android] FeyoMx:
http://hastebin.com/osidabequc.vhdl

I still get the same error and I have verified that the file has , as I can fix it

Enviado desde mi Lenovo A7010a48 mediante Tapatalk
[Android] spookcity138:
Strange because unless I am just looking at it wrong, that's the complaint.

Maybe have a look at the other couple of files it shows associated with the error and see if everything looks right. Make sure the files are located properly and are looking in the right place.

Other than that I really don't know. I'm sure someone will come along and let you know what's going on there. Good luck!
[Android] desalesouche:
cm-14.0 staging

hi may i request some help about those?

thank you all!

system/core/libbacktrace/BacktraceOffline.cpp:737: error: undefined reference to 'llvm::object::createBinary(llvm::StringRef)'

system/core/libbacktrace/BacktraceOffline.cpp:719: error: undefined reference to 'llvm::object::createBinary(llvm::MemoryBufferRef, llvm::LLVMContext*)'

external/llvm/include/llvm/Object/Error.h:40: error: undefined reference to 'llvm::object::object_category()'

external/llvm/include/llvm/Object/Error.h:40: error: undefined reference to 'llvm::object::object_category()'

external/llvm/include/llvm/Object/Error.h:40: error: undefined reference to 'llvm::object::object_category()'

external/llvm/include/llvm/Object/Error.h:40: error: undefined reference to 'llvm::object::object_category()'

clang++: error: linker command failed with exit code 1 (use -v to see invocation)
[Android] Nous16:
Can you explain me how to build AOSP? I get stuck in the kernel. How to make a pre-built kernel? Thanks so much for your efforts!

---------- Post added at 12:06 AM ---------- Previous post was at 12:03 AM ----------

I don't know how to make exactly the pre-built kernel.... :/
[Android] ParanoidNemo:
You have to launch the build with mka bootimage, doing that only the kernel will be built
[Android] spookcity138:
Build your kernel: http://xdaforums.com/android/software/ultimate-guide-compile-android-kernel-t2871276

Add this to your device.mk:

ifeq ($(TARGET_PREBUILT_KERNEL),)

LOCAL_KERNEL := device/manufacturer/device name-kernel/kernel

else

LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)

endif

PRODUCT_COPY_FILES := \

$(LOCAL_KERNEL):kernel

Place the prebuilt image in the correct folder. In this example device/manufacturer/device name-kernel/kernel"

Obviously replacing the "device" and "manufacturer" lines with your device and manufacturer and you're good to go.
[Android] arunmcops:
Error... kindly help...

ninja: error: '/home/arun/cm14/out/target/common/obj/APPS/Bluetooth_intermediates/with-local/classes.dex', needed by '/home/arun/cm14/out/target/common/obj/APPS/Bluetooth_intermediates/classes.dex', missing and no known rule to make it
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/arun/cm14'
[Android] adityaupreti:
i think

comment out bluethooth qcom flag
[Android] arnabJ:
Hello, can anyone help me fix this :

system/core/libcutils/fs_config.c:141:44: error: implicit declaration of function 'CAP_MASK_LONG' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
{ 00750, AID_ROOT, AID_SHELL, CAP_MASK_LONG(CAP_SETUID) | CAP_MASK_LONG(CAP_SETGID), "system/bin/run-as" },
^
system/core/libcutils/fs_config.c:141:44: error: initializer element is not a compile-time constant
{ 00750, AID_ROOT, AID_SHELL, CAP_MASK_LONG(CAP_SETUID) | CAP_MASK_LONG(CAP_SETGID), "system/bin/run-as" },
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[Android] aalupatti:
Can anyone help with this error I am getting

http://pastebin.com/r2TbR7LX

I am trying to build purenexus nougat version

https://github.com/PureNexusProject

Thanks and appreciated
[Android] spookcity138:
It says on line 740 the problem. It is an out of memory error. It says a couple of lines down how to fix it.
[Android] aalupatti:
Thanks.

Kind of thought so.

I have 8 GB ram in the computer. what would be the best numbers to assign to the heap size?

Sent from my Nexus 6P
[Android] adityaupreti:
export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4g"
./prebuilts/sdk/tools/jack-admin kill-server
./prebuilts/sdk/tools/jack-admin start-server

try this
[Android] desalesouche:
cm14.0 kernel errors

hi, may i request some help about fixing this?

./../../../../../kernel/huawei/msm8916/lib/crc32.c: In function 'crc32_le':

../../../../../../kernel/huawei/msm8916/lib/crc32.c:192:24: error: 'crc32table_le' undeclared (first use in this function)

(const u32 (*)[256])crc32table_le, CRCPOLY_LE);

^

../../../../../../kernel/huawei/msm8916/lib/crc32.c:192:24: note: each undeclared identifier is reported only once for each function it appears in

../../../../../../kernel/huawei/msm8916/lib/crc32.c: In function '__crc32c_le':

../../../../../../kernel/huawei/msm8916/lib/crc32.c:197:24: error: 'crc32ctable_le' undeclared (first use in this function)

(const u32 (*)[256])crc32ctable_le, CRC32C_POLY_LE);

^

../../../../../../kernel/huawei/msm8916/lib/crc32.c: In function 'crc32_be':

../../../../../../kernel/huawei/msm8916/lib/crc32.c:259:24: error: 'crc32table_be' undeclared (first use in this function)

(const u32 (*)[256])crc32table_be, CRCPOLY_BE);

^

../../../../../../kernel/huawei/msm8916/lib/crc32.c: In function 'crc32_le':

../../../../../../kernel/huawei/msm8916/lib/crc32.c:193:1: warning: control reaches end of non-void function [-Wreturn-type]

error, forbidden warning: crc32.c:193

thanks
[Android] arnabJ:
Trying to compile CM14.

Build gets stuck at Building Kernel.

Kernel Source

Error
[Android] spookcity138:
That's weird. My build machine only has 4gb of physical RAM and 4.5 of swap and I have no issues...except for slow builds. Perhaps your temp folder is full. I've had the out of memory error once and that was the problem in my case.
[Android] Xendrix:
i was told to create a dt.txt then change to dt.img then add to the folder but doesnt work

Any help is appreciated
[Android] shyvam:
building cm14 for condor (moto e)

getting these errors here http://hastebin.com/okinayumum.vbs

help me out buddies
[Android] desalesouche:
you might update to linux 3.10.53 or even to 3.10.95?

https://github.com/G620S-HUAWEI/and...aa9#diff-659107d4154a4c69b02dd971d1390840L539
[Android] Tanuj97:
guys need a little help here ...trying to build cm13 for m7 but when i do brunch m7...the build starts but after few seconds it shows the below error

ninja: Entering directory `.'
ninja: error: unknown target 'bacon', did you mean 'racoon'?
make: *** [ninja_wrapper] Error 1
make: Leaving directory `/home/tanuj/roms/cm14'

I tried to clean sync the sources tried make bacon..... brunch m7 .....make otapackage ...but i failed :confused:
[Android] aalupatti:
Tried that but getting another error now...

http://pastebin.com/E2UcsdL4

Please advise
[Android] arnabJ:
Do I need to make all the changes specified on the page or only for that one single file?

The Makefile contains this :

VERSION = 3

PATCHLEVEL = 10

SUBLEVEL = 49

EXTRAVERSION =

NAME = TOSSUG Baby Fish
[Android] adityaupreti:
. build/envsetup.sh

Type this and then use brunch
[Android] Startrek852:
You need all the changes, Follow this guide to cherry-pick the commit: http://xdaforums.com/showpost.php?p=52925649&postcount=3
[Android] arnabJ:
Error in cherry-pick :

arnabj@ubuntu:~/android/system/kernel/motorola/msm8916$ git fetch https://github.com/G620S-HUAWEI/android_kernel_huawei_msm8916.git
remote: Counting objects: 177179, done.
remote: Compressing objects: 100% (112/112), done.
remote: Total 177179 (delta 14020), reused 14003 (delta 14003), pack-reused 163064
Receiving objects: 100% (177179/177179), 59.47 MiB | 249.00 KiB/s, done.
Resolving deltas: 100% (144593/144593), completed with 3748 local objects.
From https://github.com/G620S-HUAWEI/android_kernel_huawei_msm8916
* branch HEAD -> FETCH_HEAD
arnabj@ubuntu:~/android/system/kernel/motorola/msm8916$ git cherry-pick b38ba3291156e04cc2bd099a9a915cbaad381aa9
fatal: bad object b38ba3291156e04cc2bd099a9a915cbaad381aa9
arnabj@ubuntu:~/android/system/kernel/motorola/msm8916$
[Android] Startrek852:
You need to add the branch name (which is indi) to the end of git fetch. And you actually need 4 commits to get to 3.10.53: https://github.com/G620S-HUAWEI/and...mmit/822842aac311f7227a20ba3fec0d205fd80bd0de, https://github.com/G620S-HUAWEI/and...mmit/85f2a893b7f385c3e671cd30043df69cb825add7, https://github.com/G620S-HUAWEI/and...mmit/8455d091c371caaa4d52187601561ce88cf09c56, and https://github.com/G620S-HUAWEI/and...mmit/b38ba3291156e04cc2bd099a9a915cbaad381aa9
[Android] arnabJ:
I did the required cherry-picks and started the build again and it ran into another problem : gist.github.com

I tried again and this time I got this along with previous errors :

[ 0% 32/29884] Building Kernel Config
make: Entering directory '/home/arnabj/android/system/kernel/motorola/msm8916'
GEN /home/arnabj/android/system/out/target/product/lux/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make: Leaving directory '/home/arnabj/android/system/kernel/motorola/msm8916'
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/arnabj/android/system'

This time I did a clean build, didn't got those 9 errors. But building kernel still gets stuck : Errors

Also, can you explain this :

system/core/libcutils/fs_config.c:141:44: error: implicit declaration of function 'CAP_MASK_LONG' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
{ 00750, AID_ROOT, AID_SHELL, CAP_MASK_LONG(CAP_SETUID) | CAP_MASK_LONG(CAP_SETGID), "system/bin/run-as" },
^
system/core/libcutils/fs_config.c:141:44: error: initializer element is not a compile-time constant
{ 00750, AID_ROOT, AID_SHELL, CAP_MASK_LONG(CAP_SETUID) | CAP_MASK_LONG(CAP_SETGID), "system/bin/run-as" },
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.

I changed these 2 lines with those found in cm-13.0 which stopped giving me these errors. But I want to know what these lines mean and whether I did the correct thing or not.
[Android] cyberspacexx:
These commands are for Ubuntu or Linux. Can you tell me commands for Mac? or is this possible on Windows?
[Android] GalaticStryder:
Everything working fine for me on my ROM compiled using this amazing tutorial. I'm repo syncing every 3 days to keep it up to date and OK. But, when I use

git remote add upstream

or original to sync my local and then my forked repo on Git all stuff goes to the ./repo/repo directory and they were supposed to go to my CM tree though and if I do the command in my tree path it says there are no git or sth like that.

Other thing I need to ask is about changing CM sources stuff like bootanimations, images, to get my own ROM. If I do that do I need to upload the whole big "CM" tree modified to git? Otherwise I can't post on XDA right?

Thanks thousands of time for your help. :)
[Android] ixo-:
Thanx

Thank you for this grat tutorial.
[Android] N.K.V.:
i want to build cm12 for my moto G

but device tree,vendor and kernel are available for 4.4.4 only.

can i build CM12 using device tree, vendor and kernal for 4.4.4 ?
[Android] jackeagle:
Nope Lot of modification is needed and it varies with device so difficult task :)
[Android] ##W4TCH0UT##:
Well you can build and if any error or bugs occur, you can report them here and we will do our best to fix them.

Regards
[Android] N.K.V.:
Two Contradict Statements....i have setup linux n jdk.

Then reading this thread in detail it showed that Kernal, Vendor and Device tree are specific for each device.

I wanted to know if they are specific for each version of android also.

If they aren't i will give CM12 a try.
[Android] ##W4TCH0UT##:
They are, but Kernel sources and vendor sources for 4.4 work properly with 5.0, so you can use them.
[Android] keshavt:
AOSP sources will work for any Android Version but AOSP.

Sent using XDA Premium app.
[Android] Pump Ac7i0n:
I've been running into an issue, a busybox issue, I think. Its complaining about androideabi not being there but it is. This is the output. I've tried deleting the busybox folder. Any help is appreciated.

http://pastebin.com/S0f09xP3
[Android] N.K.V.:
Local Manifest modifying

https://github.com/MotorolaMobilityLLC/kernel-msm/tree/kitkat-4.4.4-release-titan

i want to add this device tree into my rom, what i will have to write between <manifest> and </manifest>.

i also have a blob file from US version of my phone, can i use it for building?

if yes then how?
[Android] PunkUnity:
I have just started compiling cm11, and will be trying ot make my own version of it for LG G2 D800. I am doing this on a laptop running the newest OpenSUSE 13.2, which is a fantastic OS. Sar far so good. Its just downloading all the source code atm. Really appreciate you making a guide like this! I just want to learn a bti more about how my phone works and maybe I can be of more help to newer users down the road! Thanks again!
[Android] GalaticStryder:
I'm building my ROM using some Google open source packages like Terminal and Input-method, but I had an error compiling.

make: *** No rule to make target `/home/stryder/vexxo/out/target/product/d802/obj/STATIC_LIBRARIES/libvterm_intermediates/export_includes', needed by `/home/stryder/vexxo/out/target/product/d802/obj/SHARED_LIBRARIES/libjni_terminal_intermediates/import_includes'. Stop.

It's kinda problem on SHARED_LIBRARIES is there a fix for it? Does anybody know?

I'll compile without the terminal from Google source until I solve it. Thanks guys... ;)
[Android] hami497:
One question

i wanted to ask that in the first post it says that before installing virtualbox make sure jdk is installed and then in the other post it says after setting up the linux system install jdk. so when to install jdk in which os and can someone give me the download link for jdk? :confused:
[Android] asim.sidz:
I'm going to need some directions as i'm going to start from scratch. I appreciate it.

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

If you are on windows, only then you need a virtualbox. Best is to use Ubuntu for development. JDK is available at Oracle's website i.e. www.oracle.com
[Android] hami497:
ok i am using windows and will be installing virtualbox for linux but when to install jdk?
[Android] asim.sidz:
Before starting the development. Its a prerequisite.
[Android] Hashbang173:
Anyone know a fix for this?

external/ffmpeg/libavcodec/../android/include/../config.mak:2: external/ffmpeg/libavcodec/../android/include/../config-armv8-a.mak: No such file or directory
external/ffmpeg/libavcodec/../android/include/../config.mak:2: external/ffmpeg/libavcodec/../android/include/../config-armv8-a.mak: No such file or directory
external/ffmpeg/libavcodec/../android/include/../config.mak:2: external/ffmpeg/libavcodec/../android/include/../config-armv8-a.mak: No such file or directory
external/ffmpeg/libavcodec/../android/include/../config.mak:2: external/ffmpeg/libavcodec/../android/include/../config-armv8-a.mak: No such file or directory
external/ffmpeg/libavcodec/../android/include/../config.mak:2: external/ffmpeg/libavcodec/../android/include/../config-armv8-a.mak: No such file or directory

My Error is:

make: *** No rule to make target `external/ffmpeg/libavcodec/../android/include/../config-armv8-a.mak'. Stop.

because of this
[Android] PunkUnity:
Well I had to go back to Xubuntu for ease of using guides. In the past 3 days I have only got one build successful, many errors. I am trying to understand the manifests and github better as well as gerrit, but I just dont get it even with all the guides and such. I am understanding how the manifests work for repos and such, just editing them based off what I see on the github pages is cofusing me a bit. Thanks for the guide and I'll be on Freenode IRC #cyanogenmod-dev
[Android] hami497:
while setting up linux i entered this in the terminal "java -version " and got this

The program 'java' can be found in the following packages:

* default-jre

* gcj-4.6-jre-headless

* gcj-4.7-jre-headless

* openjdk-7-jre-headless

* openjdk-6-jre-headless

Try: sudo apt-get install <selected package>

so is everything ok or should i do something?
[Android] Tanuj97:
Already did that
[Android] DevUt:
Even some boardconfig flags cause this like TARGET_NO_RECOVERY

Why build a otapackage directly do mka bacon
[Android] Tanuj97:
I even tired that but same error ��

Will check for some flags that might be causing it

in order to disable api check i used the pdk flag

but when i remove it i get

Starting build with ninja
ninja: Entering directory `.'
ninja: error: 'prebuilts/cmsdk/api/7.txt', needed by '/home/tanuj/roms/cm14/out/target/common/obj/PACKAGING/checkpublicapi-cm-last-timestamp', missing and no known rule to make it
make: *** [ninja_wrapper] Error 1
make: Leaving directory `/home/tanuj/roms/cm14'

EDIT 2-

Fixed it !;)