[Galaxy Note II Android Development] ParanoidNote:
i worked on the rom a lot but there are still two high-priority issues:

- gps doesn't work

- segmentation fault errors mainly from three processes: zygote, dex2oat and app_process

the second actually is more important and need more testing, usually the zygote crashes with a message like this:

02-18 19:20:17.486 3436 3436 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x9c in tid 3436 (zygote)
02-18 19:20:17.487 2016 2016 W : debuggerd: handling request: pid=3436 uid=0 gid=0 tid=3436
02-18 19:20:17.498 3677 3677 E : debuggerd: Unable to connect to activity manager (connect failed: Connection refused)
02-18 19:20:17.548 3677 3677 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-18 19:20:17.548 3677 3677 F DEBUG : Build fingerprint: 'samsung/t03gxx/t03g:4.4.2/KOT49H/N7100XXUFND3:user/release-keys'
02-18 19:20:17.549 3677 3677 F DEBUG : Revision: '0'
02-18 19:20:17.549 3677 3677 F DEBUG : ABI: 'arm'
02-18 19:20:17.549 3677 3677 F DEBUG : pid: 3436, tid: 3436, name: zygote >>> zygote <<<
02-18 19:20:17.549 3677 3677 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x9c
02-18 19:20:17.558 3677 3677 F DEBUG : Abort message: 'art/runtime/gc/heap.cc:418] Check failed: main_mem_map_1.get() != nullptr Failed anonymous mmap(0x0, 1073741824, 0x3, 0x2, 4, 0): Out of memory. See process maps in the log.'
02-18 19:20:17.558 3677 3677 F DEBUG : r0 00000000 r1 67ea011d r2 00000000 r3 402ad900
02-18 19:20:17.558 3677 3677 F DEBUG : r4 48da0c60 r5 befb1fb0 r6 00000000 r7 00000000
02-18 19:20:17.558 3677 3677 F DEBUG : r8 48ddc800 r9 00000001 sl 48db8320 fp 00000000
02-18 19:20:17.558 3677 3677 F DEBUG : ip 4be8bf80 sp befb1f70 lr 4be86dc9 pc 645ab374 cpsr 600f0030
02-18 19:20:17.605 3677 3677 F DEBUG :
02-18 19:20:17.605 3677 3677 F DEBUG : backtrace:
02-18 19:20:17.605 3677 3677 F DEBUG : #00 pc 0033d374 /system/lib/libart.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEb+199)
02-18 19:20:17.605 3677 3677 F DEBUG : #01 pc 00324635 /system/lib/libart.so (_ZNK3art10AbortState4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+372)
02-18 19:20:17.605 3677 3677 F DEBUG : #02 pc 0031b391 /system/lib/libart.so (_ZN3art7Runtime5AbortEPKc+92)
02-18 19:20:17.605 3677 3677 F DEBUG : #03 pc 000b526b /system/lib/libart.so (_ZN3art10LogMessageD2Ev+1134)
02-18 19:20:17.606 3677 3677 F DEBUG : #04 pc 001828bf /system/lib/libart.so (_ZN3art2gc4HeapC1EjjjjddjjRKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_14InstructionSetENS0_13CollectorTypeESC_NS0_5space20LargeObjectSpaceTypeEjjjbjjbbbbbbbbbby+11614)
02-18 19:20:17.606 3677 3677 F DEBUG : #05 pc 0031d3d1 /system/lib/libart.so (_ZN3art7Runtime4InitEONS_18RuntimeArgumentMapE+6552)
02-18 19:20:17.606 3677 3677 F DEBUG : #06 pc 0031f43b /system/lib/libart.so (_ZN3art7Runtime6CreateERKNSt3__16vectorINS1_4pairINS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPKvEENS7_ISC_EEEEb+66)
02-18 19:20:17.606 3677 3677 F DEBUG : #07 pc 0023d987 /system/lib/libart.so (JNI_CreateJavaVM+386)
02-18 19:20:17.606 3677 3677 F DEBUG : #08 pc 0006793b /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime7startVmEPP7_JavaVMPP7_JNIEnvb+2246)
02-18 19:20:17.606 3677 3677 F DEBUG : #09 pc 00067d11 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime5startEPKcRKNS_6VectorINS_7String8EEEb+272)
02-18 19:20:17.606 3677 3677 F DEBUG : #10 pc 00001945 /system/bin/app_process32
02-18 19:20:17.606 3677 3677 F DEBUG : #11 pc 00016c51 /system/lib/libc.so (__libc_init+48)
02-18 19:20:17.606 3677 3677 F DEBUG : #12 pc 00001564 /system/bin/app_process32

below is a link of the latest debug build, note that because of this bug it needs like 10 minutes to boot because the daemon crashes multiple times but in the end boots, after that you can see the new android 7.0 but sometimes the system will lag because of the same issue

until i fixed this i won't be released, the strange thing is that everything i tried doesn't work neither the patches from lineageos

anyway the credits goes to [MENTION=539770]tilaksidduram[/MENTION] and lineageos team, the new sources are on gitlab https://gitlab.com/users/ParanoidNote/projects

test build: https://github.com/ParanoidNote/misc/releases/tag/20170218