yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] JustArchi:
I also added all fixes I'm using to the OP.

Currently: external_bluetooth_bluedroid | hardware_qcom_display | libcore

You may (or may not) need them (all), so it's up to you to decide if you wish to cherry-pick them or not. Libcore fix is for GMS SIGSEGV, display is for (trivial) inline compilation errors, and bluedroid is for bluetooth SIGBUS. It's also nice to note that libcore fix is a backport from Android M, so it's fixed in M already.

It covers well my both devices: SGS3 and Xperia M, so exynos & snapdragon.
[Android Software/Hacking General [Developers Only]] kotzir:
[MENTION=5161352]JustArchi[/MENTION], here is the logcat I was talking about for the crashes. Hope you can give me a hint, if you have some spare time
[Android Software/Hacking General [Developers Only]] sombree:
Have some problems with default Gallery app in CM12.1 - it crashes when I try to edit photos.

Logcat: http://pastebin.com/SSbpCvyW
[Android Software/Hacking General [Developers Only]] JustArchi:
First question is obvious, are you using recommended toolchains?

Both segfaults look really deep with no obvious culprit, I'd recommend switching O3 back to Os for target THUMB, unless you want to go with the backtrace and search for issue yourself.

Also, I don't want to favor any ROM here but CM is pretty good at backporting general fixes and improvements, also syncing low-level things such as bionic, it may be nice to try my commit with CM for your device if you're currently compiling something else. This way you'll at least know if it's ROM problem or not.
[Android Software/Hacking General [Developers Only]] sombree:
[MENTION=5161352]JustArchi[/MENTION]

I'm building with recommended toolchain's - UBERTC 4.9 for both androideabi and arm-eabi; I'm using almost pure CM12.1 source without any modifications (except for yours optimizations) : )

On the other hand I have added "--param l1-cache-line-size=32 --param l1-cache-size=16 --param l2-cache-size=2048" to CFLAGS_THUMB and CFLAGS_ARM if thats relevant.
[Android Software/Hacking General [Developers Only]] kotzir:
How foolish from my side not to mention what I am working with. I am compiling CM12.1 & I am using the recommended toolchains from the OP. If apply Os for THUMB, I will get 10% optimized android, according to the OP, in which you state that THUMB is about 90% of android
[Android Software/Hacking General [Developers Only]] JustArchi:
Try without that, applying optimizations is try-and-catch game, there are never perfect flags, what works for me may not work for you and vice versa.
[Android Software/Hacking General [Developers Only]] JustArchi:
As above ^
[Android Software/Hacking General [Developers Only]] reS28raM:
Compiled CM 12.1 with recommended toolchains on Nexus 5 (so, snapdragon), I had several bluetooth FC at the first boot after a clean flash, after that all normal... strange. No problems on a subsequent dirty flash. Just for the record, I didn't take a logcat unfortunately :( I'll apply the bluetooth commit, just to stay on the safe side. :)

Edit: forgot to say I am fascinated how smooth the rom is now, thanks [MENTION=5161352]JustArchi[/MENTION].
[Android Software/Hacking General [Developers Only]] Vivek_Neel:
-solved-
[Android Software/Hacking General [Developers Only]] JustArchi:
... so you applied my commit which totally changes C/C++ parts and did not rebuild C/C++ parts.

And you ask why there is no difference.

[YOUTUBE]BNsrK6P9QvI[/YOUTUBE]
[Android Software/Hacking General [Developers Only]] Vivek_Neel:
Okay chill.

Its all working fine now as it should. I just forgot that part. :o
[Android Software/Hacking General [Developers Only]] Mata99:
[MENTION=5161352]JustArchi[/MENTION] there is support for GCC 6.x?
[Android Software/Hacking General [Developers Only]] JustArchi:
I do not support work-in-progress GCC branches.
[Android Software/Hacking General [Developers Only]] Mata99:
[MENTION=5161352]JustArchi[/MENTION] how do I resolve this problem ?

target thumb C: libext4_utils <= system/extras/ext4_utils/wipe.c
target thumb C: libext4_utils <= system/extras/ext4_utils/crc16.c
target thumb C: libext4_utils <= system/extras/ext4_utils/ext4_sb.c
target thumb C: libext4_utils <= system/extras/ext4_utils/canned_fs_config.c
target thumb C++: mediaserver <= frameworks/av/media/mediaserver/main_mediaserver.cpp
system/extras/ext4_utils/canned_fs_config.c: In function 'canned_fs_config':
system/extras/ext4_utils/canned_fs_config.c:83:45: warning: unused parameter 'dir' [-Wunused-parameter]
void canned_fs_config(const char* path, int dir,
^
target arm C++: libaudioflinger <= frameworks/av/services/audioflinger/AudioMixer.cpp
target thumb C++: libaudioflinger <= frameworks/av/services/audioflinger/AudioFlinger.cpp
target thumb C++: libaudioflinger <= frameworks/av/services/audioflinger/Threads.cpp
target thumb C++: libaudioflinger <= frameworks/av/services/audioflinger/Tracks.cpp
frameworks/av/services/audioflinger/AudioMixer.cpp: In static member function 'static void android::AudioMixer::track__NoResample(android::AudioMixer::track_t*, TO*, size_t, TO*, TA*) [with int MIXTYPE = 0; TO = int; TI = short int; TA = int; size_t = unsigned int]':
frameworks/av/services/audioflinger/AudioMixer.cpp:2136:6: internal compiler error: in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1423
void AudioMixer::track__NoResample(track_t* t, TO* out, size_t frameCount,
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://source.android.com/source/report-bugs.html> for instructions.
build/core/binary.mk:619: set di istruzioni per l'obiettivo "/home/matteo/mako/out/target/product/mako/obj/SHARED_LIBRARIES/libaudioflinger_intermediates/AudioMixer.o" non riuscito
make: *** [/home/matteo/mako/out/target/product/mako/obj/SHARED_LIBRARIES/libaudioflinger_intermediates/AudioMixer.o] Errore 1
make: *** Attesa per i processi non terminati....

#### make failed to build some targets (01:05:12 (hh:mm:ss)) ####

matteo@matteo-SATELLITE-U920T:~/mako$
[Android Software/Hacking General [Developers Only]] sombree:
I think that this commit might help - https://github.com/jgcaaprom/android_frameworks_av/commit/f31983a8cf59db0cec9c4f471d18fd3867f7ecce
[Android Software/Hacking General [Developers Only]] Mata99:
[MENTION=5010221]sombree[/MENTION] how to apply these corrections ?
[Android Software/Hacking General [Developers Only]] sombree:
you need to cherry-pick this commit ;)
[Android Software/Hacking General [Developers Only]] Vynikal:
After using 4.9 toolchain, both Uber and SM, all music players are going crazy, only Poweramp works. Often can't play any music.

http://pastebin.com/yuDidFya
[Android Software/Hacking General [Developers Only]] sombree:
I've had similiar issue. Problem were ID3 tags. Solved by https://github.com/jgcaaprom/android_frameworks_av/commit/9eb16cd83311a7087b2436d03d31cb11ffdb81f2.
[Android Software/Hacking General [Developers Only]] Mata99:
Witch toolchian you should use for Nexus 4 ?
[Android Software/Hacking General [Developers Only]] JustArchi:
Putting in the OP.
[Android Software/Hacking General [Developers Only]] fergy:
OK, sorry, missunderstanding. I know how to swap to art compiler from rom but want to set art for default on boot time.

Solution?
[Android Software/Hacking General [Developers Only]] TheMorpheus:
Thanks man, rookie mistake!

I want to report the same strange behavior with some icons on the Play Store http://pc.cd/1Xm

My device is a N8000, so it has a smdk4412
[Android Software/Hacking General [Developers Only]] Garcia98:
Changing this line in build.prop:

persist.sys.dalvik.vm.lib=libdvm.so

To this one:

persist.sys.dalvik.vm.lib=libart.so

By the way, stop offtopic, please.
[Android Software/Hacking General [Developers Only]] xboxfanj:
ART is not a compiler, it is a runtime. Compilers include GCC and Clang. ART and Dalvik are both runtimes.
[Android Software/Hacking General [Developers Only]] fergy:
Jesus....Thank You and sorry for "offtopic".... God. Mad dogs here. Sorry.

---------- Post added at 12:25 AM ---------- Previous post was at 12:17 AM ----------

Ya, thank You... for clearing Me that... Dalvik is virtual machine and JIT is "just-in-time" compiler, no? Anyway... this is off topic, so back to topic.
[Android Software/Hacking General [Developers Only]] Codename13:
I've compiled CM10.2 for my device using the ArchiDroid optimizations and GCC Linaro 4.9 from JustArchi's Github. I know this might not be the best place to post it, but it's more likely that I'll get an answer here than if I post elsewhere: The CM10.2 build that I built with GCC Linaro 4.9 has a strange bug that does not occur when I build with GCC Linaro 4.8. The bug is that all volume levels are maximum volume, regardless of whether the volume is set to maximum or minimum (minimum meaning lowest possible volume when volume is on). My device does this for all volume types and it's really annoying. It doesn't do this when I build with GCC Linaro 4.8, so can anyone possibly come up with an answer of where the problem lies? Please and thank you.
[Android Software/Hacking General [Developers Only]] lozohcum:
Udało wam się przenieść to na CM11?

Did you manage to make this commit work with CM11?
[Android Software/Hacking General [Developers Only]] metalspring:
FYI if anyone like [MENTION=5161352]JustArchi[/MENTION] or [MENTION=4203241]IAmTheOneTheyCallNeo[/MENTION] wants to give link time optimization a try (which should improve performance), its pretty easy, just cherry-pick this commit-

https://github.com/metalspring/build/commit/2bcbd353f39b9e4da663d73738e98dbfc34f92bd

If you get any errors (like JustArchi mentioned in his commit message), try using these 2 cherry-picks as well to fix them

https://github.com/MWisBest/android_bionic/commit/3b3f59a173a7cc4ff3a1cec4456a99108ce08092

https://github.com/metalspring/android_art/commit/2c42e7932dde67ac43bf6097410ca115f36064eb

Edit: for those that dont know what Link Time Optimization is or why it might improve performance-
[Android Software/Hacking General [Developers Only]] drbmm:
I changed a line in the

/hardware/qcom/display-caf/libhwcomposer/Android.mk file from:

LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"qdhwcomposer\"

to:

LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"qdhwcomposer\" -Os

I am compiling CM for the Samsung Galaxy S3 ATT. After I added the change to the LOCAL_CFLAGS the ROM compiled just fine.
[Android Software/Hacking General [Developers Only]] zymphad:
So no need to make any changes to envsetup and boardconfig after making these commits? It directs to the 4.8 toolchains automatically?
[Android Software/Hacking General [Developers Only]] JustArchi:
No.

Let me be clear on that.

After you apply my cherry-pick, makefile will look for the ARM compiler under new non-existing GCC 4.8 directory. So if you just cherry-pick this and try your build, it won't work, unless you have your own compiler here already (but I'm assuming clean CM/Omni sync)

Therefore, you must fix this. You may fix it by adding proper compiler (and it doesn't even need to match version. but it's good thing that it matches) to proper path.

The most clean and proper way for doing so is adding either Linaro or Google (NOT both!) to your local manifest - roomservice.xml or anything you're using:

https://github.com/JustArchi/ArchiDroid/blob/2.X-EXPERIMENTAL/__dont_include/roomservice.xml#L3 - for Linaro

https://github.com/JustArchi/ArchiDroid/blob/2.X-EXPERIMENTAL/__dont_include/roomservice.xml#L7 - for Google's

As you see, I have both entries so I needed to comment Google entry to not make a conflict. You should choose only one and include two connected entries in your manifest.

After syncing, you'll have compiler ready.

Now make sure to clean ccache and make clean, then you should call envsetup and you can start building.

However, due to the fact that we're using GCC 4.8 some errors may happen. I'm trying to list them in the OP so you can jump to your specific problem and fix it.
[Android Software/Hacking General [Developers Only]] JustArchi:
Consider yourself lucky. I wasn't even able to build it without segfaults and the bootloop when using GCC 4.9 (Linaro or not).

As for now, I STRONGLY suggest to stick with 4.8 until 4.9 becomes stable. And this will happen probably in next Android version bump, as Google uses 4.9 by default now if I remember correctly.

However, of course, you may try it, hence whole this topic is about trying and finding out what's best for you.
[Android Software/Hacking General [Developers Only]] dr_w:
Does switching to ART negate your work? I'm using grouper and have dalvic selected and its fast and smooth and the battery life is sipping. I'm curious about trying art. Thanks.
[Android Software/Hacking General [Developers Only]] McDope:
Same works for yuga it seems...

But can't tell if everything is working, compile still running and real world job calls :D

Edit: just sshed into my homebox, build completed but no wifi for download currently >.<
[Android Software/Hacking General [Developers Only]] Orphee:
Thank, i'm trying now
[Android Software/Hacking General [Developers Only]] sidnoit22:
The link you gave me is for S3 Mini or something?
[Android Software/Hacking General [Developers Only]] shoey63:
Any particular toolchain required?
[Android Software/Hacking General [Developers Only]] Orphee:
Compilation successfull !

Flashed, and booted well :)
[Android Software/Hacking General [Developers Only]] shoey63:
Good news! which toolchain did you use?
[Android Software/Hacking General [Developers Only]] Mata99:
How can I fix this error? Please hel' me!

bool mCollectStats;
^
frameworks/av/include/media/stagefright/CameraSource.h:175:10: warning: 'bool android::CameraSource::mRecPause' [-Wreorder]
bool mRecPause;
^
frameworks/av/media/libstagefright/CameraSource.cpp:177:1: warning: when initialized here [-Wreorder]
CameraSource::CameraSource(
^
frameworks/av/media/libstagefright/CameraSource.cpp: At global scope:
frameworks/av/media/libstagefright/CameraSource.cpp:906:6: warning: unused parameter 'msgType' [-Wunused-parameter]
void CameraSource::dataCallbackTimestamp(int64_t timestampUs,
^
frameworks/av/media/libstagefright/CameraSource.cpp:984:6: warning: unused parameter 'who' [-Wunused-parameter]
void CameraSource::DeathNotifier::binderDied(const wp<IBinder>& who) {
^
target arm C: libvpx <= external/libvpx/libvpx/vp9/encoder/vp9_extend.c
external/libvpx/libvpx/vp9/encoder/vp9_dct.c: In function 'vp9_fdct16x16_c':
external/libvpx/libvpx/vp9/encoder/vp9_dct.c:314:6: internal compiler error: Segmentation fault
void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride) {
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://source.android.com/source/report-bugs.html> for instructions.
build/core/binary.mk:699: set di istruzioni per l'obiettivo "/home/matteo/mako/out/target/product/mako/obj/STATIC_LIBRARIES/libvpx_intermediates/libvpx/vp9/encoder/vp9_dct.o" non riuscito
make: *** [/home/matteo/mako/out/target/product/mako/obj/STATIC_LIBRARIES/libvpx_intermediates/libvpx/vp9/encoder/vp9_dct.o] Errore 1
make: *** Attesa per i processi non terminati....
In file included from external/libvpx/libvpx/vpx_mem/vpx_mem.h:15:0,
from external/libvpx/libvpx/vp9/encoder/vp9_extend.c:11:
external/libvpx/armv7a-neon/vpx_config.h:13:0: warning: "ARCH_ARM" redefined [enabled by default]
#define ARCH_ARM 1
^
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-arm/AndroidConfig.h:241:0: note: this is the location of the previous definition
#define ARCH_ARM
[Android Software/Hacking General [Developers Only]] sombree:
What compiler did you use?
[Android Software/Hacking General [Developers Only]] Mata99:
I tried it with uber gcc 4.9 and archidroid but the problem remains :(

Can you help me please?
[Android Software/Hacking General [Developers Only]] sombree:
I'm asking just to be clear - you are trying to build CM12.1 and you did modify [build tree]/build/core/combo/TARGET_linux-arm.mk to use gcc 4.9?
[Android Software/Hacking General [Developers Only]] Mata99:
[MENTION=5010221]sombree[/MENTION] yes, how can i fix error?
[Android Software/Hacking General [Developers Only]] sombree:
For now you can add LOCAL_CFLAGS += -Os at the top of external/libvpx/libvpx/vp9/encoder/vp9cx.mk - it might help ;)
[Android Software/Hacking General [Developers Only]] Mata99:
[MENTION=5010221]sombree[/MENTION] the file don't exist
[Android Software/Hacking General [Developers Only]] sombree:
sorry, my mistake - it should be external/libvpx/libvpx/vp9/vp9cx.mk
[Android Software/Hacking General [Developers Only]] Mata99:
[MENTION=5010221]sombree[/MENTION] is ok?

##
## Copyright (c) 2010 The WebM project authors. All Rights Reserved.
##
## Use of this source code is governed by a BSD-style license
## that can be found in the LICENSE file in the root of the source
## tree. An additional intellectual property rights grant can be found
## in the file PATENTS. All contributing project authors may
## be found in the AUTHORS file in the root of the source tree.
##

LOCAL_CFLAGS += -Os

VP9_CX_EXPORTS += exports_enc

VP9_CX_SRCS-yes += $(VP9_COMMON_SRCS-yes)
VP9_CX_SRCS-no += $(VP9_COMMON_SRCS-no)
VP9_CX_SRCS_REMOVE-yes += $(VP9_COMMON_SRCS_REMOVE-yes)
VP9_CX_SRCS_REMOVE-no += $(VP9_COMMON_SRCS_REMOVE-no)

VP9_CX_SRCS-yes += vp9_cx_iface.c
[Android Software/Hacking General [Developers Only]] sombree:
[MENTION=5916457]Mata99[/MENTION]

yes, should be fine.

btw. change += to :=

sorry for second mistake anyway xD
[Android Software/Hacking General [Developers Only]] Mata99:
Don't worry :)

Now I try , hopefully functions
[Android Software/Hacking General [Developers Only]] Mata99:
[MENTION=5010221]sombree[/MENTION] the problem persist :( what can I do?

external/libvpx/libvpx/vp9/common/vp9_entropy.h: At top level:
external/libvpx/libvpx/vp9/common/vp9_entropy.h:176:1: warning: '__inline__' is not at beginning of declaration [-Wold-style-declaration]
static const INLINE scan_order *get_scan(const MACROBLOCKD *xd, TX_SIZE tx_size,
^
external/libvpx/libvpx/vp9/encoder/vp9_encodemb.c: In function 'optimize_b':
external/libvpx/libvpx/vp9/encoder/vp9_encodemb.c:108:57: warning: unused parameter 'plane_bsize' [-Wunused-parameter]
static void optimize_b(int plane, int block, BLOCK_SIZE plane_bsize,
^
external/libvpx/libvpx/vp9/encoder/vp9_dct.c: In function 'vp9_fdct16x16_c':
external/libvpx/libvpx/vp9/encoder/vp9_dct.c:314:6: internal compiler error: Segmentation fault
void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride) {
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://source.android.com/source/report-bugs.html> for instructions.
build/core/binary.mk:699: set di istruzioni per l'obiettivo "/home/matteo/mako/out/target/product/mako/obj/STATIC_LIBRARIES/libvpx_intermediates/libvpx/vp9/encoder/vp9_dct.o" non riuscito
make: *** [/home/matteo/mako/out/target/product/mako/obj/STATIC_LIBRARIES/libvpx_intermediates/libvpx/vp9/encoder/vp9_dct.o] Errore 1
make: *** Attesa per i processi non terminati....
external/libvpx/libvpx/vp9/encoder/vp9_encodeframe.c: In function 'set_vt_partitioning.isra.16':
external/libvpx/libvpx/vp9/encoder/vp9_encodeframe.c:427:30: warning: 'vt.part_variances' may be used uninitialized in this function [-Wmaybe-uninitialized]
vt.part_variances->none.variance < threshold) {
^

#### make failed to build some targets (01:03:21 (hh:mm:ss)) ####

matteo@matteo-SATELLITE-U920T:~/mako$
[Android Software/Hacking General [Developers Only]] sombree:
i'm out of ideas; maybe someone else will be able to help you.
[Android Software/Hacking General [Developers Only]] Khaon:
Quick that may help you :

replace O3 with Os there and see.
[Android Software/Hacking General [Developers Only]] desalesouche:
Hi all, i am compiling cm12.1 with v4.1 optimisation.

i am using architoolchain-5.2-arm-linux-gnueabihf and uber-4.9-arm-linux-androideabi.

i have some kernel error... may i request some help?

kernel: https://github.com/surdupetru/android_kernel_huawei_msm8916

http://pastebin.com/VhshtSPp

thank you.
[Android Software/Hacking General [Developers Only]] Khaon:
Your errors are due to the fact now some warning are forbidden. The newer the compiler are the more restrictive they are too.

You either have to fix the warning or specify to gcc not to halt on those warning
[Android Software/Hacking General [Developers Only]] akhilnarang:
Use the recommended uber 4.9 from [MENTION=5161352]JustArchi[/MENTION]'s git

Fixed this ICE for me
[Android Software/Hacking General [Developers Only]] sombree:
I have strange issue with whatsapp - about 0,5 (or even 1) last second of received voice message is cutted/distorted.

Acoccordingly to the logcat - http://pastebin.com/48WQQFXf - problem is in nuplayer so i modified frameworks/av/media/libmediaplayerservice/nuplayer/Android.mk and now it looks like this: http://pastebin.com/uMzDTxS9

The thing is that problem still persist. Any ideas?

Btw. i'm using recommended toolchain - uber 4.9 and ROM is CM12.1.
[Android Software/Hacking General [Developers Only]] AntaresOne:
Are you on a jf device like jflte(xx) or jfvelte?

If so, audio issues are not related to ArchiDroid. We're using a general CAF audio driver adapted to this platform, gives greater latency which is mostly noticeable when playing AMR/AAC coded audio files (like WhatsApp audio messages)

If latency is too high an audio file may play bad or not play at all.
[Android Software/Hacking General [Developers Only]] sombree:
Yep, i'm using jfvelte. Anyway is there any solution? Or for now it's simply non-fixable error?
[Android Software/Hacking General [Developers Only]] AntaresOne:
Unfortunately can't be fixed as we don't know what Samsung did on the Qualcomm media source
[Android Software/Hacking General [Developers Only]] sombree:
Ok, thanks for clarification :)
[Android Software/Hacking General [Developers Only]] mastero9017:
Any idea about this error?

frameworks/opt/net/ims/src/java/com/android/ims/internal/ImsCallSession.java:925: error: ImsCallSession.IImsCallSessionListenerProxy is not abstract and does not override abstract method callSessionMultipartyStateChanged(IImsCallSession,boolean) in IImsCallSessionListener
private class IImsCallSessionListenerProxy extends IImsCallSessionListener.Stub {
^
Copying: /home/sicki/out//sgoptimized/target/common/obj/APPS/CertInstaller_intermediates/classes-jarjar.jar
Copying: /home/sicki/out//sgoptimized/target/common/obj/APPS/DownloadProviderUi_intermediates/classes-jarjar.jar
Copying: /home/sicki/out//sgoptimized/target/common/obj/APPS/HTMLViewer_intermediates/classes-jarjar.jar
frameworks/opt/net/ims/src/java/com/android/ims/ImsManager.java:803: error: ImsManager.ImsRegistrationListenerProxy is not abstract and does not override abstract method registrationDisconnected(ImsReasonInfo) in IImsRegistrationListener
private class ImsRegistrationListenerProxy extends IImsRegistrationListener.Stub {
^
frameworks/opt/net/ims/src/java/com/android/ims/ImsManager.java:828: error: method does not override or implement a method from a supertype
@Override
^
Copying: /home/sicki/out//sgoptimized/target/common/obj/APPS/KeyChain_intermediates/classes-jarjar.jar
frameworks/opt/net/ims/src/java/com/android/ims/ImsUt.java:358: error: method updateCallForward in interface IImsUt cannot be applied to given types;
int id = miUt.updateCallForward(action, condition, number, timeSeconds);
^
required: int,int,String,int,int
found: int,int,String,int
reason: actual and formal argument lists differ in length
frameworks/opt/net/ims/src/java/com/android/ims/ImsUt.java:385: error: method updateCallWaiting in interface IImsUt cannot be applied to given types;
int id = miUt.updateCallWaiting(enable);
^
required: boolean,int
found: boolean
reason: actual and formal argument lists differ in length
Copying: /home/sicki/out//sgoptimized/target/common/obj/APPS/LiveWallpapersPicker_intermediates/classes-jarjar.jar
Note: frameworks/opt/net/ims/src/java/com/android/ims/ImsUt.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
5 errors

Building Pure Nexus Rom for nexus 5 with UBERTC 4.9