[ROM][6.0.1_r74][n7100] AOSP (november security update)

ParanoidNote

Senior Member
Sep 16, 2013
223
396
63
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:
Code:
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 @tilaksidduram 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
 

jer194

Senior Member
Feb 23, 2014
983
710
113
Thanks for the preview, looks quite promising!

- OpenCamera works finally (it doesn't in the CM and LOS ROMs) :)
Also: 'Youtube' working in browser (it doesn't yet in LOS N, to my knowledge)

BTW: Does AOSP N deserve its own thread already?
 
Last edited:

ParanoidNote

Senior Member
Sep 16, 2013
223
396
63
Also: 'Youtube' working in browser (it doesn't yet in LOS N, to my knowledge)

BTW: Does AOSP N deserve its own thread already?
no the thread will be the same i will update the title and the main post when will be the time

also, good to hear that videos in browser works, anyway the new sources are based on the lineageos ones to keep up with the latest patches

another thing: probably you don't even need to wipe the data between android 6.0 and 7.1 like oem/stock updates
 
Last edited:

jer194

Senior Member
Feb 23, 2014
983
710
113
the new build is here: https://github.com/ParanoidNote/misc/releases/tag/20170303

doesn't work:
gps
userinit and init.d
camera works partially (default camera have issues and open camera crash)
other memory management issues (crashes, out of memory issues)

the segmentation fault error is partially gone
Thanks for sharing!

After a few minutes of testing (no gapps in addition, just a few of my favourite apps):
- ROM size increased from ~240 MB (debug version) to 300 MB.
- First boot after installation was surprisingly quick.
- Default size of icons and fonts is pretty small (can be adjusted to personal taste obviously)
- No crashes observed from neither default camera nor OpenCamera (took a few pictures)
- GPS indeed doesn't seem to work
- Sensors (CPU-Z): all seem to work, except AK8963C Orientation sensor (same as in CM ROMs).
(I guess that's the reason for missing 'Orientation' information in SatStat)
- Calls working (expected)
- Data and Wifi working.
- No root by default (that's not a flaw).
- Apps could be installed via adb, even if 'Unknown sources' were disabled (not sure whether that's expected)
- No significant battery drain during the night
- 'Reboot' is stuck on shutdown
- Working as secondary ROM in MultiRom

Looks quite promising to me, great work! :) (missing GPS is still the killer though, before switching).
 
Last edited:

andrewKode

Senior Member
May 5, 2015
1,197
487
0
Timișoara
Thanks for sharing!

After a few minutes of testing (no gapps in addition, just a few of my favourite apps):
- ROM size increased from ~240 MB (debug version) to 300 MB.
- First boot after installation was surprisingly quick.
- Default size of icons and fonts is pretty small (can be adjusted to personal taste obviously)
- No crashes observed from neither default camera nor OpenCamera (took a few pictures)
- GPS indeed doesn't seem to work
- Sensors (CPU-Z): all seem to work, except AK8963C Orientation sensor (same as in CM ROMs).
(I guess that's the reason for missing 'Orientation' information in SatStat)
- Calls working (expected)
- Data and Wifi working.
- No root by default (that's not a flaw).

Looks quite promising to me, great work! :) (missing GPS is still the killer though, before switching).

I'll check the battery drain during the night.
Good news, that GPS has always been a pain the a**, but it's ok, sooner or later there will be a fix.
 
  • Like
Reactions: niko3132

ParanoidNote

Senior Member
Sep 16, 2013
223
396
63
Thanks for sharing!

After a few minutes of testing (no gapps in addition, just a few of my favourite apps):
- ROM size increased from ~240 MB (debug version) to 300 MB.
- First boot after installation was surprisingly quick.
- Default size of icons and fonts is pretty small (can be adjusted to personal taste obviously)
- No crashes observed from neither default camera nor OpenCamera (took a few pictures)
- GPS indeed doesn't seem to work
- Sensors (CPU-Z): all seem to work, except AK8963C Orientation sensor (same as in CM ROMs).
(I guess that's the reason for missing 'Orientation' information in SatStat)
- Calls working (expected)
- Data and Wifi working.
- No root by default (that's not a flaw).
- Apps could be installed via adb, even if 'Unknown sources' were disabled (not sure whether that's expected)
- No significant battery drain during the night
- 'Reboot' is stuck on shutdown
- Working as secondary ROM in MultiRom

Looks quite promising to me, great work! :) (missing GPS is still the killer though, before switching).
thanks for the test, for the camera doesn't work but probably is because i haven't wiped the data partition...
 
  • Like
Reactions: SkyFair and jer194
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone