[Android General] Nikiz:
Well, the CyanogenMod build was still stuck on the boot animation.. And I was not able to get ADB either. But I modified the init scripts so it will save the logcat output to cache. So the problem is that ART is crashing for some reason.

I/art ( 498): option[0]=-Xzygote
I/art ( 498): option[1]=-Xcheck:jni
I/art ( 498): option[2]=-Xjnigreflimit:2000
I/art ( 498): option[3]=-Xstacktracefile:/data/anr/traces.txt
I/art ( 498): option[4]=exit
I/art ( 498): option[5]=vfprintf
I/art ( 498): option[6]=sensitiveThread
I/art ( 498): option[7]=-verbose:gc
I/art ( 498): option[8]=-Xms14m
I/art ( 498): option[9]=-Xmx36m
I/art ( 498): option[10]=-XX:mainThreadStackSize=24K
I/art ( 498): option[11]=-XX:HeapGrowthLimit=128m
I/art ( 498): option[12]=-XX:HeapMinFree=6m
I/art ( 498): option[13]=-agentlib:jdwp=transport=dt_android_adb,suspend=n,server=y
I/art ( 498): option[14]=-Ximage-compiler-option
I/art ( 498): option[15]=--runtime-arg
I/art ( 498): option[16]=-Ximage-compiler-option
I/art ( 498): option[17]=-Xms64m
I/art ( 498): option[18]=-Ximage-compiler-option
I/art ( 498): option[19]=--runtime-arg
I/art ( 498): option[20]=-Ximage-compiler-option
I/art ( 498): option[21]=-Xmx64m
I/art ( 498): option[22]=-Ximage-compiler-option
I/art ( 498): option[23]=--compiler-filter=verify-none
I/art ( 498): option[24]=-Ximage-compiler-option
I/art ( 498): option[25]=--image-classes=/system/etc/preloaded-classes
I/art ( 498): option[26]=-Xcompiler-option
I/art ( 498): option[27]=--runtime-arg
I/art ( 498): option[28]=-Xcompiler-option
I/art ( 498): option[29]=-Xms64m
I/art ( 498): option[30]=-Xcompiler-option
I/art ( 498): option[31]=--runtime-arg
I/art ( 498): option[32]=-Xcompiler-option
I/art ( 498): option[33]=-Xmx512m
I/art ( 498): option[34]=-Xcompiler-option
I/art ( 498): option[35]=--compiler-filter=interpret-only
I/art ( 498): option[36]=-Duser.language=hdp
I/art ( 498): option[37]=-Duser.region=US
E/qdcopybit( 264): set_parameter_copybit: default case param=0xa
E/qdcopybit( 264): set_parameter_copybit: default case param=0x9
I/mediaserver( 496): ServiceManager: 0xb8206810
I/AudioFlinger( 496): Using default 3000 mSec as standby time.
I/ServiceManager( 496): Waiting for service batterystats...
F/art ( 498): art/runtime/gc/allocator/rosalloc.cc:1643] Check failed: new_capacity <= max_capacity_ (new_capacity=134217728, max_capacity_=37748736)
F/art ( 498): art/runtime/runtime.cc:289] Runtime aborting...
F/art ( 498): art/runtime/runtime.cc:289] (Aborting thread was not attached to runtime!)
F/art ( 498): art/runtime/runtime.cc:289] native: #00 pc 000047c0 /system/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+23)
F/art ( 498): art/runtime/runtime.cc:289] native: #01 pc 00002fc1 /system/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+8)
F/art ( 498): art/runtime/runtime.cc:289] native: #02 pc 00241291 /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, char const*, art::mirror::ArtMethod*)+68)
F/art ( 498): art/runtime/runtime.cc:289] native: #03 pc 002159e3 /system/lib/libart.so (art::AbortState::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)+122)
F/art ( 498): art/runtime/runtime.cc:289] native: #04 pc 00215c99 /system/lib/libart.so (art::Runtime::Abort()+72)
F/art ( 498): art/runtime/runtime.cc:289] native: #05 pc 000a62b5 /system/lib/libart.so (art::LogMessage::~LogMessage()+1312)
F/art ( 498): art/runtime/runtime.cc:289] native: #06 pc 001107c7 /system/lib/libart.so (art::gc::allocator::RosAlloc::SetFootprintLimit(unsigned int)+246)
F/art ( 498): art/runtime/runtime.cc:289] native: #07 pc 0014dde3 /system/lib/libart.so (art::gc::space::RosAllocSpace::SetFootprintLimit(unsigned int)+66)
F/art ( 498): art/runtime/runtime.cc:289] native: #08 pc 00136ce7 /system/lib/libart.so (art::gc::Heap::CreateMallocSpaceFromMemMap(art::MemMap*, unsigned int, unsigned int, unsigned int, char const*, bool)+254)
F/art ( 498): art/runtime/runtime.cc:289] native: #09 pc 0013739f /system/lib/libart.so (art::gc::Heap::CreateMainMallocSpace(art::MemMap*, unsigned int, unsigned int, unsigned int)+110)
F/art ( 498): art/runtime/runtime.cc:289] native: #10 pc 001378eb /system/lib/libart.so (art::gc::Heap::Heap(unsigned int, unsigned int, unsigned int, unsigned int, double, double, unsigned int, unsigned int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, art::InstructionSet, art::gc::CollectorType, art::gc::CollectorType, unsigned int, unsigned int, bool, unsigned int, unsigned int, bool, bool, bool, bool, bool, bool, bool, bool, bool, unsigned long long)+1230)
F/art ( 498): art/runtime/runtime.cc:289] native: #11 pc 00217215 /system/lib/libart.so (art::Runtime::Init(std::__1::vector<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void const*>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void const*> > > const&, bool)+680)
F/art ( 498): art/runtime/runtime.cc:289] native: #12 pc 00218eff /system/lib/libart.so (art::Runtime::Create(std::__1::vector<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void const*>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void const*> > > const&, bool)+46)
F/art ( 498): art/runtime/runtime.cc:289] native: #13 pc 001d216d /system/lib/libart.so (JNI_CreateJavaVM+432)
F/art ( 498): art/runtime/runtime.cc:289] native: #14 pc 0005c92d /system/lib/libandroid_runtime.so (android::AndroidRuntime::startVm(_JavaVM**, _JNIEnv**, bool)+2296)
F/art ( 498): art/runtime/runtime.cc:289] native: #15 pc 0005cf77 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+262)
F/art ( 498): art/runtime/runtime.cc:289] native: #16 pc 0000167b /system/bin/app_process32 (???)
F/art ( 498): art/runtime/runtime.cc:289] native: #17 pc 0000f4a9 /system/lib/libc.so (__libc_init+44)
F/art ( 498): art/runtime/runtime.cc:289] native: #18 pc 000017b4 /system/bin/app_process32 (???)
F/art ( 498): art/runtime/runtime.cc:289] Dumping all threads without appropriate locks held: thread list lock mutator lock
F/art ( 498): art/runtime/runtime.cc:289] All threads:
F/art ( 498): art/runtime/runtime.cc:289] DALVIK THREADS (0):
F/art ( 498): art/runtime/runtime.cc:289]
F/libc ( 498): Fatal signal 6 (SIGABRT), code -6 in tid 498 (zygote)

The full logcat is on the attachments.

EDIT: I might know what caused those errors. I had this in my BoardConfig.mk:

#Use dlmalloc instead of jemalloc for mallocs
MALLOC_IMPL := dlmalloc

Trying without it. Btw, I pushed the CM-12.1 device tree to my Github-repo.