zytoge fatal error (fault addr) during boot - Android Q&A, Help & Troubleshooting

I compiled cm 12.1 for my device (HTC Desire C).
I'm currently stuck at the boot animation.
As far as I can tell it does have something to do with zygote.
Below is the output from logcat.
--------- beginning of crash
F/libc ( 147): Fatal signal 4 (SIGILL), code 1, fault addr 0x7344f07e in tid 147 (main)
I/DEBUG ( 139): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 139): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 139): HINT: adb forward tcp:5039 tcp:5039
I/DEBUG ( 139): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 139): Build fingerprint: 'HTC/cm_golfu/golfu:5.1.1/LMY49J/82eb910196:userdebug/test-keys'
I/DEBUG ( 139): Revision: '1'
I/DEBUG ( 139): ABI: 'arm'
I/DEBUG ( 139): pid: 147, tid: 147, name: main >>> zygote <<<
I/DEBUG ( 139): signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 0x7344f07e
I/DEBUG ( 139): r0 70f77de8 r1 12c57b80 r2 0000000a r3 0000000a
I/DEBUG ( 139): r4 00000002 r5 70f77e48 r6 00000000 r7 70f77de8
I/DEBUG ( 139): r8 00000000 r9 41eddb00 sl 80000000 fp 12c57b80
I/DEBUG ( 139): ip 70fa48d8 sp bee244e0 lr 7344f35f pc 7344f07e cpsr 20000030
I/DEBUG ( 139):
I/DEBUG ( 139): backtrace:
I/DEBUG ( 139): #00 pc 0006b07e /data/dalvik-cache/arm/[email protected]@boot.oat
I/DEBUG ( 139): #01 pc 0006b35d /data/dalvik-cache/arm/[email protected]@boot.oat
I/auditd ( 458): Starting up
E/auditd ( 458): Failed on audit_set_pid with error: Protocol not supported
I/auditd ( 458): Exiting
Click to expand...
Click to collapse
Can someone help me or give me tips how to gather more information myself so I can search more myself.

Related

[porting]Meizu Flyme OS to Galaxy s2

For some time i am trying to make it work, but because i never ported a rom before i can't figure this one out.
I followed a few different porting guide's but unfortunately not successful. And my logcat logs where not very hopeful to find the solution.
So finally i am calling for help!!
Al what i need is a port that actually boot up.
further compatibility, tweak and update changes would not be to difficult for me.
I don't know if it will help but on July 12th will Flyme OS 1.0 officially come out.
So probably also a rom for the Meizu MX instead of only M9, this will maybe a advantage because the Meizu MX has more Similarities with Galays2.
Files is used:
CyanogenMod 9, ICS 4.0.4 Sorry downlink not allowed so google
Meizu m9 Flyme OS 1.0.5, ICS 4.0.3 Sorry downlink not allowed so google, or PM me for link to .zip file because Meizu uses a encrypted .bin
More screenshots of Flyme OS: Sorry not allowed so google
Progress
video of boot: youtube.com/watch?v=AXZCXCISAqs
Last Build of the ROM V5: mediafire.com/?851ywml3d44yk2y
Flyme 1.0.5: download.meizu.com/Firmware/Flyme/1.0.5-8580/MX/HK/update.zip
Cm9: download.cyanogenmod.com/get/jenkins/5803/cm-9.0.0-galaxys2.zip
Look in adb logcat (imo that is porting 101). It might be related to tvout, compile tvoutdummy.
natacrew said:
video of boot: youtube.com/watch?v=AXZCXCISAqs
Rom i made: mediafire.com/?gmk0ow9jxbqzk12
Flyme 1.0.5: download.meizu.com/Firmware/Flyme/1.0.5-8580/MX/HK/update.zip
Cm9:b download.cyanogenmod.com/get/jenkins/5803/cm-9.0.0-galaxys2.zip
Click to expand...
Click to collapse
Hello, it start to look better. But still no boot. The most faults i could trace are solved know.
But there are still some errors cause continue to bootloop.
Last build V5: mediafire.com/?851ywml3d44yk2y
Here is have the adb logcat file:
Code:
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
--------- beginning of /dev/log/main
I/DEBUG ( 1857): debuggerd: Aug 6 2012 13:50:28
I/Netd ( 1856): Netd 1.0 starting
I/ServiceManager( 1855): Waiting for service SecTVOutService...
--------- beginning of /dev/log/system
I/Vold ( 1855): Vold 2.1 (the revenge) firing up
I/ ( 1861): ServiceManager: 0x8e3950
I/SurfaceFlinger( 1859): SurfaceFlinger is starting
D/SurfaceFlinger( 1859): >>> Run service
D/SecTVOutService( 1859): SecTVOutService instantiate
D/SecTVOutService( 1859): virtual void android::SecTVOutService::setHdmiStatus(uint32_t) HDMI cable status = 1
D/AndroidRuntime( 1860):
D/AndroidRuntime( 1860): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 1860): CheckJNI is OFF
D/ ( 1859): bool android::SecHdmi::connect()::m_flagHWConnected() fail
E/SecTVOutService( 1859): virtual void android::SecTVOutService::setHdmiStatus(uint32_t)::mSecHdmi.connect() fail
D/SecTVOutService( 1859): SecTVOutService r=0
I/SurfaceFlinger( 1859): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
I/gralloc ( 1859): using (fd=15)
I/gralloc ( 1859): id = s3cfb
I/gralloc ( 1859): xres = 480 px
I/gralloc ( 1859): yres = 800 px
I/gralloc ( 1859): xres_virtual = 480 px
I/gralloc ( 1859): yres_virtual = 1600 px
I/gralloc ( 1859): bpp = 32
I/gralloc ( 1859): r = 16:8
I/gralloc ( 1859): g = 8:8
I/gralloc ( 1859): b = 0:8
I/gralloc ( 1859): width = 56 mm (217.714279 dpi)
I/gralloc ( 1859): height = 93 mm (218.494629 dpi)
I/gralloc ( 1859): refresh rate = 60.38 Hz
D/libEGL ( 1859): loaded /system/lib/egl/libEGL_mali.so
D/libEGL ( 1859): loaded /system/lib/egl/libGLESv1_CM_mali.so
D/libEGL ( 1859): loaded /system/lib/egl/libGLESv2_mali.so
D/ ( 1859): Device driver API match
D/ ( 1859): Device driver API version: 10
D/ ( 1859): User space API version: 10
D/ ( 1859): mali: REVISION=Linux-r2p4-02rel0 BUILD_DATE=Mon May 14 20:33:23 KST 2012
I/SurfaceFlinger( 1859): EGL informations:
I/SurfaceFlinger( 1859): # of configs : 24
I/SurfaceFlinger( 1859): vendor : Android
I/SurfaceFlinger( 1859): version : 1.4 Android META-EGL
I/SurfaceFlinger( 1859): extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer
I/SurfaceFlinger( 1859): Client API: OpenGL ES
I/SurfaceFlinger( 1859): EGLSurface: 8-8-8-8, config=0x4
I/SurfaceFlinger( 1859): OpenGL informations:
I/SurfaceFlinger( 1859): vendor : ARM
I/SurfaceFlinger( 1859): renderer : Mali-400 MP
I/SurfaceFlinger( 1859): version : OpenGL ES-CM 1.1
I/SurfaceFlinger( 1859): extensions: GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_matrix_get GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_point_size_array GL_OES_point_sprite GL_OES_texture_npot GL_OES_query_matrix GL_OES_matrix_palette GL_OES_extended_matrix_palette GL_OES_compressed_ETC1_RGB8_texture GL_OES_EGL_image GL_OES_draw_texture GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_OES_framebuffer_object GL_OES_stencil8 GL_OES_depth24 GL_ARM_rgba8 GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_OES_texture_cube_map GL_EXT_discard_framebuffer
I/SurfaceFlinger( 1859): GL_MAX_TEXTURE_SIZE = 4096
I/SurfaceFlinger( 1859): GL_MAX_VIEWPORT_DIMS = 4096 x 4096
I/SurfaceFlinger( 1859): flags = 00000000
E/HAL ( 1859): load: module=/system/lib/hw/hwcomposer.exynos4.so
E/HAL ( 1859): Cannot load library: reloc_library[1285]: 1859 cannot locate '_ZN7android13SecHdmiClient9blit2HdmiEiiiijjjjjjjjjjj'...
W/SurfaceFlinger( 1859): hwcomposer module not found
I/SamplingProfilerIntegration( 1860): Profiling disabled.
D/Vold ( 1855): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
I/Zygote ( 1860): Preloading classes...
D/dalvikvm( 1860): GC_EXPLICIT freed 37K, 84% free 414K/2560K, paused 1ms+0ms
D/dalvikvm( 1860): GC_EXPLICIT freed 4K, 82% free 479K/2560K, paused 1ms+1ms
D/dalvikvm( 1860): GC_EXPLICIT freed 20K, 80% free 515K/2560K, paused 1ms+0ms
D/dalvikvm( 1860): GC_EXPLICIT freed 26K, 79% free 542K/2560K, paused 0ms+0ms
D/dalvikvm( 1860): GC_EXPLICIT freed 14K, 78% free 585K/2560K, paused 0ms+0ms
D/libEGL ( 1905): loaded /system/lib/egl/libEGL_mali.so
D/libEGL ( 1905): loaded /system/lib/egl/libGLESv1_CM_mali.so
D/Vold ( 1855): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
E/DirectVolume( 1855): Dv:partAdd: ignoring part_num = 5 (max: 4)
D/libEGL ( 1905): loaded /system/lib/egl/libGLESv2_mali.so
D/ ( 1905): Device driver API match
D/ ( 1905): Device driver API version: 10
D/ ( 1905): User space API version: 10
D/ ( 1905): mali: REVISION=Linux-r2p4-02rel0 BUILD_DATE=Mon May 14 20:33:23 KST 2012
E/DirectVolume( 1855): Invalid 'PARTN' value
E/DirectVolume( 1855): Invalid 'PARTN' value
E/DirectVolume( 1855): Invalid 'PARTN' value
E/DirectVolume( 1855): Invalid 'PARTN' value
E/DirectVolume( 1855): Invalid 'PARTN' value
E/DirectVolume( 1855): Invalid 'PARTN' value
E/DirectVolume( 1855): Invalid 'PARTN' value
D/Vold ( 1855): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
W/Vold ( 1855): Duplicate state (1)
W/Vold ( 1855): Duplicate state (1)
W/Vold ( 1855): Duplicate state (1)
D/dalvikvm( 1860): GC_EXPLICIT freed 25K, 76% free 614K/2560K, paused 1ms+0ms
D/dalvikvm( 1860): GC_EXPLICIT freed 32K, 76% free 638K/2560K, paused 1ms+0ms
D/TextLayoutCache( 1860): Using debug level: 0 - Debug Enabled: 0
W/Zygote ( 1860): Class not found for preloading: android.media.AudioManager$2
E/dalvikvm( 1860): ERROR: couldn't find native method
E/dalvikvm( 1860): Requested: Landroid/media/MediaPlayer;._setDataSource:(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V
E/dalvikvm( 1860): Candidate: Landroid/media/MediaPlayer;._setDataSource:(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Z)V
E/JNIHelp ( 1860): RegisterNatives failed for 'android/media/MediaPlayer', aborting
F/libc ( 1860): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)
I/DEBUG ( 1857): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 1857): Build fingerprint: 'Meizu/meizu_mx/mx:4.0.3/IML74K/eng.flyme.20120806.134909:user/test-keys'
I/DEBUG ( 1857): pid: 1860, tid: 1860 >>> zygote <<<
I/DEBUG ( 1857): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG ( 1857): r0 deadbaad r1 00000001 r2 40000000 r3 00000000
I/DEBUG ( 1857): r4 00000000 r5 00000027 r6 40873b3d r7 00000023
I/DEBUG ( 1857): r8 4c4a2af8 r9 01d05d90 10 00000001 fp 00000000
I/DEBUG ( 1857): ip ffffffff sp beb086e8 lr 400aa159 pc 400a68b8 cpsr 60000030
I/DEBUG ( 1857): d0 4140000000000000 d1 40dd40003f800000
I/DEBUG ( 1857): d2 0000000000000000 d3 c1322000403b8000
I/DEBUG ( 1857): d4 40dd4000c14ac800 d5 0006ea0000000000
I/DEBUG ( 1857): d6 4516300000000000 d7 4100000000000200
I/DEBUG ( 1857): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 1857): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 1857): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 1857): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 1857): d16 0000000740b0ba38 d17 3fe999999999999a
I/DEBUG ( 1857): d18 41b3e03c11000000 d19 0000000000000000
I/DEBUG ( 1857): d20 0000000000000000 d21 0000000000000000
I/DEBUG ( 1857): d22 0000000000000000 d23 0000000000000000
I/DEBUG ( 1857): d24 0000000000000000 d25 0000000000000000
I/DEBUG ( 1857): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 1857): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 1857): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 1857): scr 60000010
I/DEBUG ( 1857):
I/DEBUG ( 1857): #00 pc 000178b8 /system/lib/libc.so
I/DEBUG ( 1857): #01 pc 0000c282 /system/lib/libnativehelper.so (jniRegisterNativeMethods)
I/DEBUG ( 1857): #02 pc 00045e90 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime21registerNativeMethodsEP7_JNIEnvPKcPK15JNINativeMethodi)
I/DEBUG ( 1857): #03 pc 00008974 /system/lib/libmedia_jni.so (JNI_OnLoad)
I/DEBUG ( 1857): #04 pc 0005a9d4 /system/lib/libdvm.so (_Z17dvmLoadNativeCodePKcP6ObjectPPc)
I/DEBUG ( 1857): #05 pc 00072b30 /system/lib/libdvm.so
I/DEBUG ( 1857): #06 pc 0005abdc /system/lib/libdvm.so (_Z22dvmResolveNativeMethodPKjP6JValuePK6MethodP6Thread)
I/DEBUG ( 1857): #07 pc 00030a4c /system/lib/libdvm.so
I/DEBUG ( 1857): #08 pc 00034230 /system/lib/libdvm.so (_Z12dvmInterpretP6ThreadPK6MethodP6JValue)
I/DEBUG ( 1857): #09 pc 0006c8be /system/lib/libdvm.so (_Z14dvmCallMethodVP6ThreadPK6MethodP6ObjectbP6JValueSt9__va_list)
I/DEBUG ( 1857): #10 pc 0006c8e0 /system/lib/libdvm.so (_Z13dvmCallMethodP6ThreadPK6MethodP6ObjectP6JValuez)
I/DEBUG ( 1857): #11 pc 00076c7c /system/lib/libdvm.so (dvmInitClass)
I/DEBUG ( 1857): #12 pc 00076e28 /system/lib/libdvm.so (_Z12dvmFindClassPKcP6Object)
I/DEBUG ( 1857): #13 pc 00070a82 /system/lib/libdvm.so (_Z18dvmFindClassByNameP12StringObjectP6Objectb)
I/DEBUG ( 1857): #14 pc 00072886 /system/lib/libdvm.so
I/DEBUG ( 1857): #15 pc 00030a4c /system/lib/libdvm.so
I/DEBUG ( 1857): #16 pc 00034230 /system/lib/libdvm.so (_Z12dvmInterpretP6ThreadPK6MethodP6JValue)
I/DEBUG ( 1857): #17 pc 0006c8be /system/lib/libdvm.so (_Z14dvmCallMethodVP6ThreadPK6MethodP6ObjectbP6JValueSt9__va_list)
I/DEBUG ( 1857): #18 pc 00054e76 /system/lib/libdvm.so
I/DEBUG ( 1857): #19 pc 0004561a /system/lib/libandroid_runtime.so
I/DEBUG ( 1857): #20 pc 00046182 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime5startEPKcS2_)
I/DEBUG ( 1857): #21 pc 00008f0a /system/bin/app_process
I/DEBUG ( 1857): #22 pc 0001673c /system/lib/libc.so (__libc_init)
I/DEBUG ( 1857):
I/DEBUG ( 1857): code around pc:
I/DEBUG ( 1857): 400a6898 4623b15c 2c006824 e026d1fb b12368db \.#F$h.,..&..h#.
I/DEBUG ( 1857): 400a68a8 21014a17 6011447a 48124798 24002527 .J.!zD.`.G.H'%.$
I/DEBUG ( 1857): 400a68b8 f7f47005 2106ee4c eedaf7f5 460aa901 .p..L..!.......F
I/DEBUG ( 1857): 400a68c8 f04f2006 94015380 94029303 eaa4f7f5 . O..S..........
I/DEBUG ( 1857): 400a68d8 4622a905 f7f52002 f7f4eaae 2106ee38 .."F. ......8..!
I/DEBUG ( 1857):
I/DEBUG ( 1857): code around lr:
I/DEBUG ( 1857): 400aa138 41f0e92d 46804c0c 447c2600 68a56824 -..A.L.F.&|D$h.h
I/DEBUG ( 1857): 400aa148 e0076867 300cf9b5 dd022b00 47c04628 gh.....0.+..(F.G
I/DEBUG ( 1857): 400aa158 35544306 37fff117 6824d5f4 d1ee2c00 .CT5...7..$h.,..
I/DEBUG ( 1857): 400aa168 e8bd4630 bf0081f0 000283a2 41f0e92d 0F..........-..A
I/DEBUG ( 1857): 400aa178 fb01b086 9004f602 461f4815 4615460c .........H.F.F.F
I/DEBUG ( 1857):
I/DEBUG ( 1857): memory map around addr deadbaad:
I/DEBUG ( 1857): beae8000-beb09000 [stack]
I/DEBUG ( 1857): (no map for address)
I/DEBUG ( 1857): ffff0000-ffff1000 [vectors]
I/DEBUG ( 1857):
I/DEBUG ( 1857): stack:
I/DEBUG ( 1857): beb086a8 4bdc2748 /dev/ashmem/dalvik-LinearAlloc (deleted)
I/DEBUG ( 1857): beb086ac 4bdc2c18 /dev/ashmem/dalvik-LinearAlloc (deleted)
I/DEBUG ( 1857): beb086b0 4c49e4a1 /system/lib/libmedia_jni.so
I/DEBUG ( 1857): beb086b4 01d05dd0 [heap]
I/DEBUG ( 1857): beb086b8 400d270c /system/lib/libc.so
I/DEBUG ( 1857): beb086bc 400d7808
I/DEBUG ( 1857): beb086c0 00000000
I/DEBUG ( 1857): beb086c4 400aa159 /system/lib/libc.so
I/DEBUG ( 1857): beb086c8 00000000
I/DEBUG ( 1857): beb086cc beb086fc [stack]
I/DEBUG ( 1857): beb086d0 40873b3d /system/lib/libdvm.so
I/DEBUG ( 1857): beb086d4 00000023
I/DEBUG ( 1857): beb086d8 4c4a2af8 /system/lib/libmedia_jni.so
I/DEBUG ( 1857): beb086dc 400a92c5 /system/lib/libc.so
I/DEBUG ( 1857): beb086e0 df0027ad
I/DEBUG ( 1857): beb086e4 00000000
I/DEBUG ( 1857): #00 beb086e8 27900019
I/DEBUG ( 1857): beb086ec ebd9419b
I/DEBUG ( 1857): beb086f0 4c49dff0 /system/lib/libmedia_jni.so
I/DEBUG ( 1857): beb086f4 01c28300 [heap]
I/DEBUG ( 1857): beb086f8 4c49dff0 /system/lib/libmedia_jni.so
I/DEBUG ( 1857): beb086fc fffffbdf
I/DEBUG ( 1857): beb08700 00000023
I/DEBUG ( 1857): beb08704 01c28300 [heap]
I/DEBUG ( 1857): beb08708 4c49dff0 /system/lib/libmedia_jni.so
I/DEBUG ( 1857): beb0870c 4017f285 /system/lib/libnativehelper.so
I/DEBUG ( 1857): #01 beb08710 01c28300 [heap]
I/DEBUG ( 1857): beb08714 27900019
I/DEBUG ( 1857): beb08718 01d05b68 [heap]
I/DEBUG ( 1857): beb0871c 00000000
I/DEBUG ( 1857): beb08720 4c496949 /system/lib/libmedia_jni.so
I/DEBUG ( 1857): beb08724 01c2b868 [heap]
I/DEBUG ( 1857): beb08728 408d0f90 /system/lib/libdvm.so
I/DEBUG ( 1857): beb0872c 40259e93 /system/lib/libandroid_runtime.so
I/Netd ( 1960): Netd 1.0 starting
D/AndroidRuntime( 1961):
D/AndroidRuntime( 1961): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 1961): CheckJNI is OFF
I/SamplingProfilerIntegration( 1961): Profiling disabled.
I/Zygote ( 1961): Preloading classes...
D/dalvikvm( 1961): GC_EXPLICIT freed 37K, 84% free 414K/2560K, paused 0ms+1ms
D/dalvikvm( 1961): GC_EXPLICIT freed 4K, 82% free 479K/2560K, paused 0ms+0ms
D/dalvikvm( 1961): GC_EXPLICIT freed 20K, 80% free 515K/2560K, paused 0ms+0ms
D/dalvikvm( 1961): GC_EXPLICIT freed 27K, 79% free 542K/2560K, paused 0ms+0ms
D/dalvikvm( 1961): GC_EXPLICIT freed 14K, 78% free 585K/2560K, paused 0ms+0ms
D/dalvikvm( 1961): GC_EXPLICIT freed 25K, 76% free 614K/2560K, paused 1ms+1ms
D/dalvikvm( 1961): GC_EXPLICIT freed 32K, 76% free 638K/2560K, paused 1ms+1ms
D/TextLayoutCache( 1961): Using debug level: 0 - Debug Enabled: 0
W/Zygote ( 1961): Class not found for preloading: android.media.AudioManager$2
E/dalvikvm( 1961): ERROR: couldn't find native method
E/dalvikvm( 1961): Requested: Landroid/media/MediaPlayer;._setDataSource:(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V
E/dalvikvm( 1961): Candidate: Landroid/media/MediaPlayer;._setDataSource:(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Z)V
E/JNIHelp ( 1961): RegisterNatives failed for 'android/media/MediaPlayer', aborting
F/libc ( 1961): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)
I/DEBUG ( 1857): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 1857): Build fingerprint: 'Meizu/meizu_mx/mx:4.0.3/IML74K/eng.flyme.20120806.134909:user/test-keys'
I/DEBUG ( 1857): pid: 1961, tid: 1961 >>> zygote <<<
I/DEBUG ( 1857): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG ( 1857): r0 deadbaad r1 00000001 r2 40000000 r3 00000000
I/DEBUG ( 1857): r4 00000000 r5 00000027 r6 408a4b3d r7 00000023
I/DEBUG ( 1857): r8 48e2eaf8 r9 018d5db8 10 00000001 fp 00000000
I/DEBUG ( 1857): ip ffffffff sp be8fb6e8 lr 400fb159 pc 400f78b8 cpsr 60000030
I/DEBUG ( 1857): d0 4140000000000000 d1 40dd40003f800000
I/DEBUG ( 1857): d2 0000000000000000 d3 c1322000403b8000
I/DEBUG ( 1857): d4 40dd4000c14ac800 d5 0006ea0000000000
I/DEBUG ( 1857): d6 4516300000000000 d7 4100000000000200
I/DEBUG ( 1857): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 1857): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 1857): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 1857): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 1857): d16 0000000740b34a78 d17 3fe999999999999a
I/DEBUG ( 1857): d18 4193221984000000 d19 0000000000000000
I/DEBUG ( 1857): d20 0000000000000000 d21 0000000000000000
I/DEBUG ( 1857): d22 0000000000000000 d23 0000000000000000
I/DEBUG ( 1857): d24 0000000000000000 d25 0000000000000000
I/DEBUG ( 1857): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 1857): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 1857): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 1857): scr 60000010
I/DEBUG ( 1857):
I/DEBUG ( 1857): #00 pc 000178b8 /system/lib/libc.so
I/DEBUG ( 1857): #01 pc 0000c282 /system/lib/libnativehelper.so (jniRegisterNativeMethods)
I/DEBUG ( 1857): #02 pc 00045e90 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime21registerNativeMethodsEP7_JNIEnvPKcPK15JNINativeMethodi)
I/DEBUG ( 1857): #03 pc 00008974 /system/lib/libmedia_jni.so (JNI_OnLoad)
I/DEBUG ( 1857): #04 pc 0005a9d4 /system/lib/libdvm.so (_Z17dvmLoadNativeCodePKcP6ObjectPPc)
I/DEBUG ( 1857): #05 pc 00072b30 /system/lib/libdvm.so
I/DEBUG ( 1857): #06 pc 0005abdc /system/lib/libdvm.so (_Z22dvmResolveNativeMethodPKjP6JValuePK6MethodP6Thread)
I/DEBUG ( 1857): #07 pc 00030a4c /system/lib/libdvm.so
I/DEBUG ( 1857): #08 pc 00034230 /system/lib/libdvm.so (_Z12dvmInterpretP6ThreadPK6MethodP6JValue)
I/DEBUG ( 1857): #09 pc 0006c8be /system/lib/libdvm.so (_Z14dvmCallMethodVP6ThreadPK6MethodP6ObjectbP6JValueSt9__va_list)
I/DEBUG ( 1857): #10 pc 0006c8e0 /system/lib/libdvm.so (_Z13dvmCallMethodP6ThreadPK6MethodP6ObjectP6JValuez)
I/DEBUG ( 1857): #11 pc 00076c7c /system/lib/libdvm.so (dvmInitClass)
I/DEBUG ( 1857): #12 pc 00076e28 /system/lib/libdvm.so (_Z12dvmFindClassPKcP6Object)
I/DEBUG ( 1857): #13 pc 00070a82 /system/lib/libdvm.so (_Z18dvmFindClassByNameP12StringObjectP6Objectb)
I/DEBUG ( 1857): #14 pc 00072886 /system/lib/libdvm.so
I/DEBUG ( 1857): #15 pc 00030a4c /system/lib/libdvm.so
I/DEBUG ( 1857): #16 pc 00034230 /system/lib/libdvm.so (_Z12dvmInterpretP6ThreadPK6MethodP6JValue)
I/DEBUG ( 1857): #17 pc 0006c8be /system/lib/libdvm.so (_Z14dvmCallMethodVP6ThreadPK6MethodP6ObjectbP6JValueSt9__va_list)
I/DEBUG ( 1857): #18 pc 00054e76 /system/lib/libdvm.so
I/DEBUG ( 1857): #19 pc 0004561a /system/lib/libandroid_runtime.so
I/DEBUG ( 1857): #20 pc 00046182 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime5startEPKcS2_)
I/DEBUG ( 1857): #21 pc 00008f0a /system/bin/app_process
I/DEBUG ( 1857): #22 pc 0001673c /system/lib/libc.so (__libc_init)
I/DEBUG ( 1857):
I/DEBUG ( 1857): code around pc:
I/DEBUG ( 1857): 400f7898 4623b15c 2c006824 e026d1fb b12368db \.#F$h.,..&..h#.
I/DEBUG ( 1857): 400f78a8 21014a17 6011447a 48124798 24002527 .J.!zD.`.G.H'%.$
I/DEBUG ( 1857): 400f78b8 f7f47005 2106ee4c eedaf7f5 460aa901 .p..L..!.......F
I/DEBUG ( 1857): 400f78c8 f04f2006 94015380 94029303 eaa4f7f5 . O..S..........
I/DEBUG ( 1857): 400f78d8 4622a905 f7f52002 f7f4eaae 2106ee38 .."F. ......8..!
I/DEBUG ( 1857):
I/DEBUG ( 1857): code around lr:
I/DEBUG ( 1857): 400fb138 41f0e92d 46804c0c 447c2600 68a56824 -..A.L.F.&|D$h.h
I/DEBUG ( 1857): 400fb148 e0076867 300cf9b5 dd022b00 47c04628 gh.....0.+..(F.G
I/DEBUG ( 1857): 400fb158 35544306 37fff117 6824d5f4 d1ee2c00 .CT5...7..$h.,..
I/DEBUG ( 1857): 400fb168 e8bd4630 bf0081f0 000283a2 41f0e92d 0F..........-..A
I/DEBUG ( 1857): 400fb178 fb01b086 9004f602 461f4815 4615460c .........H.F.F.F
I/DEBUG ( 1857):
I/DEBUG ( 1857): memory map around addr deadbaad:
I/DEBUG ( 1857): be8db000-be8fc000 [stack]
I/DEBUG ( 1857): (no map for address)
I/DEBUG ( 1857): ffff0000-ffff1000 [vectors]
I/DEBUG ( 1857):
I/DEBUG ( 1857): stack:
I/DEBUG ( 1857): be8fb6a8 4be09748 /dev/ashmem/dalvik-LinearAlloc (deleted)
I/DEBUG ( 1857): be8fb6ac 4be09c18 /dev/ashmem/dalvik-LinearAlloc (deleted)
I/DEBUG ( 1857): be8fb6b0 48e2a4a1 /system/lib/libmedia_jni.so
I/DEBUG ( 1857): be8fb6b4 018d5df8 [heap]
I/DEBUG ( 1857): be8fb6b8 4012370c /system/lib/libc.so
I/DEBUG ( 1857): be8fb6bc 40128808
I/DEBUG ( 1857): be8fb6c0 00000000
I/DEBUG ( 1857): be8fb6c4 400fb159 /system/lib/libc.so
I/DEBUG ( 1857): be8fb6c8 00000000
I/DEBUG ( 1857): be8fb6cc be8fb6fc [stack]
I/DEBUG ( 1857): be8fb6d0 408a4b3d /system/lib/libdvm.so
I/DEBUG ( 1857): be8fb6d4 00000023
I/DEBUG ( 1857): be8fb6d8 48e2eaf8 /system/lib/libmedia_jni.so
I/DEBUG ( 1857): be8fb6dc 400fa2c5 /system/lib/libc.so
I/DEBUG ( 1857): be8fb6e0 df0027ad
I/DEBUG ( 1857): be8fb6e4 00000000
I/DEBUG ( 1857): #00 be8fb6e8 27900019
I/DEBUG ( 1857): be8fb6ec 4efbabfc
I/DEBUG ( 1857): be8fb6f0 48e29ff0 /system/lib/libmedia_jni.so
I/DEBUG ( 1857): be8fb6f4 017f8300 [heap]
I/DEBUG ( 1857): be8fb6f8 48e29ff0 /system/lib/libmedia_jni.so
I/DEBUG ( 1857): be8fb6fc fffffbdf
I/DEBUG ( 1857): be8fb700 00000023
I/DEBUG ( 1857): be8fb704 017f8300 [heap]
I/DEBUG ( 1857): be8fb708 48e29ff0 /system/lib/libmedia_jni.so
I/DEBUG ( 1857): be8fb70c 4026c285 /system/lib/libnativehelper.so
I/DEBUG ( 1857): #01 be8fb710 017f8300 [heap]
I/DEBUG ( 1857): be8fb714 27900019
I/DEBUG ( 1857): be8fb718 018d5b90 [heap]
I/DEBUG ( 1857): be8fb71c 00000000
I/DEBUG ( 1857): be8fb720 48e22949 /system/lib/libmedia_jni.so
I/DEBUG ( 1857): be8fb724 017fb868 [heap]
I/DEBUG ( 1857): be8fb728 40901f90 /system/lib/libdvm.so
I/DEBUG ( 1857): be8fb72c 401e7e93 /system/lib/libandroid_runtime.so
I/Netd ( 1983): Netd 1.0 starting
D/AndroidRuntime( 1984):
D/AndroidRuntime( 1984): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 1984): CheckJNI is OFF
I/SamplingProfilerIntegration( 1984): Profiling disabled.
I/Zygote ( 1984): Preloading classes...
D/dalvikvm( 1984): GC_EXPLICIT freed 37K, 84% free 414K/2560K, paused 1ms+0ms
D/dalvikvm( 1984): GC_EXPLICIT freed 4K, 82% free 479K/2560K, paused 1ms+1ms
D/dalvikvm( 1984): GC_EXPLICIT freed 20K, 80% free 515K/2560K, paused 0ms+0ms
D/dalvikvm( 1984): GC_EXPLICIT freed 26K, 79% free 542K/2560K, paused 1ms+1ms
D/dalvikvm( 1984): GC_EXPLICIT freed 14K, 78% free 585K/2560K, paused 0ms+1ms
D/dalvikvm( 1984): GC_EXPLICIT freed 25K, 76% free 614K/2560K, paused 0ms+0ms
D/dalvikvm( 1984): GC_EXPLICIT freed 32K, 76% free 638K/2560K, paused 0ms+1ms
D/TextLayoutCache( 1984): Using debug level: 0 - Debug Enabled: 0
W/Zygote ( 1984): Class not found for preloading: android.media.AudioManager$2
E/dalvikvm( 1984): ERROR: couldn't find native method
E/dalvikvm( 1984): Requested: Landroid/media/MediaPlayer;._setDataSource:(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V
E/dalvikvm( 1984): Candidate: Landroid/media/MediaPlayer;._setDataSource:(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Z)V
E/JNIHelp ( 1984): RegisterNatives failed for 'android/media/MediaPlayer', aborting
F/libc ( 1984): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)
I/DEBUG ( 1857): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
* and repeat again
Someone how can help me out?
Is there anyone still trying to make this thing real?
It would be AWESOME !
You need to patch the smali (check miuiv4 port guide for hints).
I was temporarily stopped because my pc is crashed. so i lost allot of files.
In the next few days i will receive my repaired parts. Than i will take a look on patching the smali.

Gemrb Baldur's Gate 2 (blue screen crash)

Can anyone help me with getting past this blue screen i am getting when i enter the game? I purchased the game off GOG and I've been trying to get this game to work for the past one week and had no luck. I modified it with widescreen mod and changed the res to 800x480 in the cfg file. I am trying to get this game to work on my Xperia Play rooted ics 4.x.x My alog is. I can post my cfg upon request, please help
I/GemRB (11509): [Override]
I/GemRB (11509): Searching for GTRSK006...
I/printf: (11509): GTRSK006.mos...
I/GemRB (11509): [chitin.key]
I/GemRB (11509): Searching for ar0602.are...
I/GemRB (11509): [Cache]
I/GemRB (11509): Searching for pathfind.2da...
I/GemRB (11509): [GemRB Override]
I/GemRB (11509): Searching for spawngrp.2da...
I/GemRB (11509): [Override]
I/GemRB (11509): Searching for tracking.2da...
I/GemRB (11509): [Override]
I/GemRB (11509): Searching for ar0602.wed...
I/printf: (11509): Cannot find data/AREA060A.bif... Resource unavailable.
I/GemRB (11509): [ERROR]
I/printf: (11509): [AREImporter]: No Tile Map Available.
I/GemRB (11509): Searching for CGUI6448.chu...
I/GemRB (11509): [Override]
F/libc (11509): Fatal signal 11 (SIGSEGV) at 0x00000538 (code=1)
I/DEBUG ( 135): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 135): Build fingerprint: 'SEMC/R800i_0000-0000/R800i:4.0.3/4.1.H.0.4/-z9-3w:user/release-keys'
I/DEBUG ( 135): pid: 11509, tid: 11525 >>> net.sourceforge.gemrb <<<
I/DEBUG ( 135): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000538
I/DEBUG ( 135): r0 00000000 r1 00566248 r2 0045baa0 r3 00000001
I/DEBUG ( 135): r4 00566248 r5 3ce545f1 r6 0045a4f7 r7 005287f8
I/DEBUG ( 135): r8 3cee43d4 r9 3cf75020 10 0000047c fp 00000001
I/DEBUG ( 135): ip 3cee4560 sp 3cadda00 lr 3ce545f9 pc 3ce545fa cpsr 40000030
I/DEBUG ( 135): d0 643a64696f72646e d1 6472656767756265
I/DEBUG ( 135): d2 0066007200750063 d3 005400650063006f
I/DEBUG ( 135): d4 0706070600700798 d5 0000000000001c07
I/DEBUG ( 135): d6 0000043f00890000 d7 0000000000080008
I/DEBUG ( 135): d8 408f400000000000 d9 0000000000000000
I/DEBUG ( 135): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 135): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 135): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 135): d16 001bd50000000001 d17 0000000000000000
I/DEBUG ( 135): d18 be005a97016ef7f9 d19 bee90e9fe9a935fc
I/DEBUG ( 135): d20 4000000000000000 d21 3f11566a01190b95
I/DEBUG ( 135): d22 bebbbd40af0711b8 d23 bf740a068ef98000
I/DEBUG ( 135): d24 3e66376972bea4d0 d25 3fd174645d9af8d8
I/DEBUG ( 135): d26 3fefe00000000000 d27 bee90e9fe9a93640
I/DEBUG ( 135): d28 c0000a071ac45ea4 d29 bf740a06afaeae03
I/DEBUG ( 135): d30 3c00f2b24b1d9ba3 d31 be005a9701800000
I/DEBUG ( 135): scr 60000013
I/DEBUG ( 135):
D/kernel ( 148): [ 7888.477874] gpio_keys_scan_keys: key 1-136, 0 (19) continue debounce
D/kernel ( 148): [ 7888.487945] gpio_keys_scan_keys: key 1-136, 0 (19) continue debounce
I/DEBUG ( 135): #00 pc 001145fa /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so (_ZN10GameScript8AreaTypeEP10ScriptableP7Trigger)
I/DEBUG ( 135): #01 pc 0010a6fa /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so (_ZN7Trigger8EvaluateEP10Scriptable)
I/DEBUG ( 135): #02 pc 0010aafe /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so (_ZN9Condition8EvaluateEP10Scriptable)
I/DEBUG ( 135): #03 pc 0010bbc8 /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so (_ZN10GameScript6UpdateEPbS0_)
I/DEBUG ( 135): #04 pc 00127efe /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so (_ZN10Scriptable13ExecuteScriptEi)
I/DEBUG ( 135): #05 pc 00125a78 /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so (_ZN10Scriptable13TickScriptingEv)
I/DEBUG ( 135): #06 pc 00127fb0 /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so (_ZN10Scriptable6UpdateEv)
I/DEBUG ( 135):
I/DEBUG ( 135): code around pc:
I/DEBUG ( 135): 3ce545d8 2000bf0c bd102001 f011b510 f8b0f9e1 ... . ..........
I/DEBUG ( 135): 3ce545e8 f3c00538 bd101080 460cb510 f9d8f011 8..........F....
I/DEBUG ( 135): 3ce545f8 f8b06863 421a2538 2000bf0c bd102001 ch..8%.B... . ..
I/DEBUG ( 135): 3ce54608 2200b570 109cf8d1 f7fd4604 4605fbed p..".....F.....F
I/DEBUG ( 135): 3ce54618 4620b155 f9c4f011 46284604 f9c0f011 U. F.....F(F....
I/DEBUG ( 135):
I/DEBUG ( 135): code around lr:
I/DEBUG ( 135): 3ce545d8 2000bf0c bd102001 f011b510 f8b0f9e1 ... . ..........
I/DEBUG ( 135): 3ce545e8 f3c00538 bd101080 460cb510 f9d8f011 8..........F....
I/DEBUG ( 135): 3ce545f8 f8b06863 421a2538 2000bf0c bd102001 ch..8%.B... . ..
I/DEBUG ( 135): 3ce54608 2200b570 109cf8d1 f7fd4604 4605fbed p..".....F.....F
I/DEBUG ( 135): 3ce54618 4620b155 f9c4f011 46284604 f9c0f011 U. F.....F(F....
I/DEBUG ( 135):
I/DEBUG ( 135): stack:
I/DEBUG ( 135): 3cadd9c0 3cee43d4 /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so
I/DEBUG ( 135): 3cadd9c4 3ce4dc65 /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so
I/DEBUG ( 135): 3cadd9c8 00000001
I/DEBUG ( 135): 3cadd9cc 626f6c67
I/DEBUG ( 135): 3cadd9d0 3c006c61
I/DEBUG ( 135): 3cadd9d4 1faa44d7
I/DEBUG ( 135): 3cadd9d8 005661a0 [heap]
I/DEBUG ( 135): 3cadd9dc 3ce56ac9 /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so
I/DEBUG ( 135): 3cadd9e0 0043e86f [heap]
I/DEBUG ( 135): 3cadd9e4 005287f8 [heap]
I/DEBUG ( 135): 3cadd9e8 3cee43d4 /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so
I/DEBUG ( 135): 3cadd9ec 3cf75020
I/DEBUG ( 135): 3cadd9f0 0000047c
I/DEBUG ( 135): 3cadd9f4 3ce56adf /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so
I/DEBUG ( 135): 3cadd9f8 df0027ad
I/DEBUG ( 135): 3cadd9fc 00000000
I/DEBUG ( 135): #00 3cadda00 00566248 [heap]
I/DEBUG ( 135): 3cadda04 3ce4a6fd /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so
I/DEBUG ( 135): #01 3cadda08 00000003
I/DEBUG ( 135): 3cadda0c 00000001
I/DEBUG ( 135): 3cadda10 00565b20 [heap]
I/DEBUG ( 135): 3cadda14 005287f8 [heap]
I/DEBUG ( 135): 3cadda18 3ceb2808 /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so
I/DEBUG ( 135): 3cadda1c 3ceb23dc /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so
I/DEBUG ( 135): 3cadda20 00000000
I/DEBUG ( 135): 3cadda24 3ce4ab03 /mnt/asec/net.sourceforge.gemrb-1/lib/libapplication.so
D/kernel ( 148): [ 7888.586669] gpio_keys_scan_keys: key 1-137, 1 (88) continue debounce
D/kernel ( 148): [ 7888.844757] gpio_keys_scan_keys: key 1-136, 0 (19) continue debounce
D/kernel ( 148): [ 7888.936584] gpio_keys_scan_keys: key 1-136, 0 (19) continue debounce
D/kernel ( 148): [ 7889.004486] gpio_keys_scan_keys: key 1-136, 0 (19) continue debounce
D/kernel ( 148): [ 7889.098083] gpio_keys_scan_keys: key 1-136, 0 (19) continue debounce
D/kernel ( 148): [ 7889.108123] gpio_keys_scan_keys: key 1-136, 0 (19) continue debounce
D/kernel ( 148): [ 7889.223327] gpio_keys_scan_keys: key 1-136, 0 (19) continue debounce
I/BootReceiver( 283): Copying /data/tombstones/tombstone_04 to DropBox (SYSTEM_TOMBSTONE)
I/WindowManager( 283): WIN DEATH: Window{2bfd2b78 SurfaceView paused=false}
W/InputDispatcher( 283): channel '2c21e590 net.sourceforge.gemrb/net.sourceforge.gemrb.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x8
E/InputDispatcher( 283): channel '2c21e590 net.sourceforge.gemrb/net.sourceforge.gemrb.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
D/Zygote ( 138): Process 11509 terminated by signal (11)
I/ActivityManager( 283): Process net.sourceforge.gemrb (pid 11509) has died.
W/InputDispatcher( 283): Attempted to unregister already unregistered input channel '2c21e590 net.sourceforge.gemrb/net.sourceforge.gemrb.MainActivity (server)'
W/ActivityManager( 283): Force removing ActivityRecord{2c3328f8 net.sourceforge.gemrb/.MainActivity}: app died, no saved state
I/WindowManager( 283): WIN DEATH: Window{2c21e590 net.sourceforge.gemrb/net.sourceforge.gemrb.MainActivity paused=false}
I/InputDispatcher( 283): Dropping event because there is no focused window or focused application.
I/WindowManager( 283): WINDOW DIED Window{2c21e590 net.sourceforge.gemrb/net.sourceforge.gemrb.MainActivity paused=false}
W/WindowManager( 283): Dropping delayed event...
W/WindowManager( 283): Dropping delayed event...
W/WindowManager( 283): Dropping delayed event...
W/WindowManager( 283): Dropping delayed event...
W/WindowManager( 283): Dropping delayed event...
W/WindowManager( 283): Dropping delayed event...
W/WindowManager( 283): Dropping delayed event...
W/WindowManager( 283): Dropping delayed event...

application crashes when trying loadLibrary(), issue with pthread_create on 4.1.1?

I am trying to debug a crash with trying to load a library that I cross-compiled using System.loadLibrary(). I have been able to successfully load this library on any device running 4.0.4 (ICS), but it crashes on all of my devices running 4.1.1 (JB). It seems to crash when running in to pthread_create() in libc:
Code:
10-01 14:25:34.173: D/dalvikvm(8215): Trying to load lib /data/data/com.gnychis.awmon/lib/libtshark.so 0x410fb430
10-01 14:25:34.181: A/libc(8215): Fatal signal 11 (SIGSEGV) at 0x5dfaa01c (code=2), thread 8232 (AsyncTask #1)
// And here is the end of the stack....
I/DEBUG ( 246): #10 pc 0001263c /system/lib/libc.so (pthread_create+180)
Here is the much longer crash log that is involved showing the entire stack trace, and you will see it ends at libc and pthread_create:
Code:
D/dalvikvm(26364): Trying to load lib /data/data/com.gnychis.awmon/lib/libtshark.so 0x410a5ee0
F/libc (26364): Fatal signal 11 (SIGSEGV) at 0x5dff301c (code=2), thread 27345 (AsyncTask #1)
D/AndroidRuntime(27404): Calling main entry com.android.commands.am.Am
I/DEBUG ( 246): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 246): Build fingerprint: 'd2uc-user 4.0.4 IMM76D I747UCALEM release-keys'
I/DEBUG ( 246): pid: 26364, tid: 27345, name: AsyncTask #1 >>> com.gnychis.awmon <<<
I/DEBUG ( 246): signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 5dff301c
D/AndroidRuntime(27404): Shutting down VM
D/dalvikvm(27404): GC_CONCURRENT freed 99K, 88% free 498K/4096K, paused 1ms+1ms, total 7ms
I/AndroidRuntime(27404): NOTE: attach of thread 'Binder_3' failed
I/DEBUG ( 246): r0 80000000 r1 02b1a000 r2 00000005 r3 5dff3000
I/DEBUG ( 246): r4 40102894 r5 4010aaec r6 00000000 r7 00000029
I/DEBUG ( 246): r8 00000029 r9 5dff3000 sl 60871000 fp 02b1a000
I/DEBUG ( 246): ip 00000005 sp 5d95ace0 lr 6004d1bb pc 400ec6e0 cpsr 600d0030
I/DEBUG ( 246): d0 61642f617461642f d1 672e6d6f632f6174
I/DEBUG ( 246): d2 612e73696863796e d3 62696c2f6e6f6d77
I/DEBUG ( 246): d4 00000000000e16f0 d5 000000000000695f
I/DEBUG ( 246): d6 000000000002a715 d7 0000012f00000000
I/DEBUG ( 246): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 246): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 246): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 246): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 246): d16 7420676e69797254 d17 6c2064616f6c206f
I/DEBUG ( 246): d18 0063002f00610074 d19 0067002e006d006f
I/DEBUG ( 246): d20 006800630079006e d21 0061002e00730069
I/DEBUG ( 246): d22 006e006f006d0077 d23 00620069006c002f
I/DEBUG ( 246): d24 000000000000e16f d25 0000000000000000
I/DEBUG ( 246): d26 000000000000695f d27 0000000000000000
I/DEBUG ( 246): d28 000000000000695f d29 0000000000000000
I/DEBUG ( 246): d30 0000000500000005 d31 0000000500000005
I/DEBUG ( 246): scr 60000012
I/DEBUG ( 246):
I/DEBUG ( 246): backtrace:
I/DEBUG ( 246): #00 pc 000046e0 /system/bin/linker
I/DEBUG ( 246): #01 pc 00005b6f /system/bin/linker
I/DEBUG ( 246): #02 pc 0004f73b /system/lib/libdvm.so (dvmLoadNativeCode(char const*, Object*, char**)+186)
I/DEBUG ( 246): #03 pc 000662bd /system/lib/libdvm.so
I/DEBUG ( 246): #04 pc 000274e0 /system/lib/libdvm.so
I/DEBUG ( 246): #05 pc 0002be08 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+180)
I/DEBUG ( 246): #06 pc 0005f9f5 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+272)
I/DEBUG ( 246): #07 pc 0005fa1f /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
I/DEBUG ( 246): #08 pc 000545ab /system/lib/libdvm.so
I/DEBUG ( 246): #09 pc 00012ee4 /system/lib/libc.so (__thread_entry+48)
I/DEBUG ( 246): #10 pc 0001263c /system/lib/libc.so (pthread_create+180)
The interesting thing is that if I use arm-eabi-objdump on the library, the address 1263c seems to be when it tries to do a pthread_clone:
Code:
$ arm-eabi-objdump -S /tmp/libc.so | grep 1263c
1263c: ebffed71 bl dc08 <__pthread_clone>
Does anyone have any insight as to why this would not be working on 4.1.1? Also, why does my "Build fingerprint" at the top of my crash log show:
Code:
Build fingerprint: 'd2uc-user 4.0.4'
Could this be the root issue of why it's not running on 4.1.1? I am using the newest NDK (r8b), with android-14 as the platform with the arm-eabi-4.4.3 toolchain.
Thanks so much for any help/guidance.

[Q] Help with Logcat

I'm helping a friend to port a rom and now we stuck on this error
can someone share some lights on this please??
Code:
--------- beginning of /dev/log/system
I/Vold ( 193): Vold 2.1 (the revenge) firing up
D/Vold ( 193): Volume usbdisk state changing -1 (Initializing) -> 0 (No-Media)
--------- beginning of /dev/log/main
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/mm-camera-intf( 1755): mm_camera_open: dev name = /dev/video2, cam_idx = 2
I/mm-camera-sensor( 214): module_sensor_start_session:577 session 2
I/mm-camera( 214): gyro_module_start_session: Enter
I/mm-camera( 214): gyro_module_start_session: Init DSPS
I/mm-camera( 214): gyro_module_start_session: Exit successful
I/mm-camera( 214): gyro_module_get_port: Exit successful
I/mm-camera( 214): cpp_module_start_session:352, info: starting session 2
I/mm-camera( 214): cpp_module_start_session:425, info: session 2 started.
I/mm-camera( 214): c2d_module_start_session:246, info: starting session 2
I/mm-camera( 214): c2d_module_start_session:306, info: session 2 started.
I/mm-camera-sensor( 214): module_module_set_session_data:2435 max delay 2 report dSelay 1
D/mm-camera( 214): module_faceproc_set_session_data:1826] Per frame control 2 1
D/mm-camera-intf( 1755): mm_camera_open: opened, break out while loop
I/mm-camera( 214): mct_pipeline_process_set:command=800000b
E/mm-camera( 214): mct_pipeline_get_stream: no children
E/mm-camera( 214): mct_pipeline_process_set:1370: Couldn't find stream
I/mm-camera-sensor( 214): module_sensor_stop_session:630 session 2
I/mm-camera( 214): stats_module_stop_session: list =0xb8da77f0, remove port =0xb8d9f8c8 name=stats_sink from module=0xb8d8d778, name=stats
I/mm-camera( 214): stats_module_stop_session: 1 port =0xb8d9f8c8 name=stats_sink
I/mm-camera( 214): stats_module_stop_session: 2 port =0xb8d9f8c8 name=stats_sink
I/mm-camera( 214): gyro_module_stop_session: Enter
I/mm-camera( 214): gyro_module_stop_session: Deinit DSPS
I/mm-camera( 214): gyro_module_stop_session: Exit successful
I/mm-camera( 214): stats_module_stop_session: 3 port =0xb8d9f8c8 name=stats_sink
I/mm-camera( 214): cpp_module_stop_session:453, info: stopping session 2 ...
I/mm-camera( 214): cpp_module_stop_session:495, info: session 2 stopped.
I/mm-camera( 214): c2d_module_stop_session:322, info: stopping session 2 ...
I/mm-camera( 214): c2d_module_stop_session:361, info: session 2 stopped.
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
D/QCamera3HWI( 1755): static int8_t qcamera::QCamera3HardwareInterface::lookupFwkName(const qcamera::QCamera3HardwareInterface::QCameraMap*, int, int): Cannot find matching framework type
I/AudioPolicyManagerBase( 1755): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
D/audio_hw_primary( 1755): adev_open: enter
I/ServiceManager( 192): service 'media.audio_flinger' died
I/ServiceManager( 192): service 'media.player' died
I/ServiceManager( 192): service 'media.camera' died
I/Netd ( 1844): Netd 1.0 starting
W/InterfaceController( 1844): Warning (dlopen failed: library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library
I/mediaserver( 1846): ServiceManager: 0xb77e0460
I/AudioFlinger( 1846): Using default 3000 mSec as standby time.
I/CameraService( 1846): CameraService started (pid=1846)
I/CameraService( 1846): Loaded "QCamera Module" camera module
D/mm-camera-intf( 1846): mm_camera_open: dev name = /dev/video1, cam_idx = 1
I/mm-camera-sensor( 214): module_sensor_start_session:577 session 1
I/mm-camera( 214): gyro_module_start_session: Enter
I/mm-camera( 214): gyro_module_start_session: Init DSPS
I/mm-camera( 214): gyro_module_start_session: Exit successful
I/mm-camera( 214): gyro_module_get_port: Exit successful
I/mm-camera( 214): cpp_module_start_session:352, info: starting session 1
I/mm-camera( 214): cpp_module_start_session:425, info: session 1 started.
I/mm-camera( 214): c2d_module_start_session:246, info: starting session 1
I/mm-camera( 214): c2d_module_start_session:306, info: session 1 started.
I/mm-camera-sensor( 214): module_module_set_session_data:2435 max delay 2 report dSelay 1
D/mm-camera( 214): module_faceproc_set_session_data:1826] Per frame control 2 1
D/mm-camera-intf( 1846): mm_camera_open: opened, break out while loop
I/mm-camera( 214): mct_pipeline_process_set:command=800000b
E/mm-camera( 214): mct_pipeline_get_stream: no children
E/mm-camera( 214): mct_pipeline_process_set:1370: Couldn't find stream
I/mm-camera-sensor( 214): module_sensor_stop_session:630 session 1
D/AndroidRuntime( 1845):
D/AndroidRuntime( 1845): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 1845): CheckJNI is OFF
D/dalvikvm( 1845): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 1845): Added shared lib libjavacore.so 0x0
D/dalvikvm( 1845): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 1845): Added shared lib libnativehelper.so 0x0
D/dalvikvm( 1845): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
E/dalvikvm( 1845): ERROR: couldn't find native method
E/dalvikvm( 1845): Requested: Landroid/content/res/AssetManager;.addOverlayPath:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I
E/dalvikvm( 1845): JNI posting fatal error: RegisterNatives failed for 'android/content/res/AssetManager'; aborting...
I/dalvikvm( 1845): "main" prio=5 tid=1 NATIVE
I/dalvikvm( 1845): | group="main" sCount=0 dsCount=0 obj=0x41597cc0 self=0x414d1410
I/dalvikvm( 1845): | sysTid=1845 nice=0 sched=0/0 cgrp=default handle=1074164052
I/dalvikvm( 1845): | state=R schedstat=( 240528748 6300576 47 ) utm=16 stm=8 core=1
I/dalvikvm( 1845): #00 pc 0000132e /system/lib/libcorkscrew.so (unwind_backtrace_thread+29)
I/dalvikvm( 1845): #01 pc 0006064e /system/lib/libdvm.so (dvmDumpNativeStack(DebugOutputTarget const*, int)+33)
I/dalvikvm( 1845): #02 pc 0005463c /system/lib/libdvm.so (dvmDumpThreadEx(DebugOutputTarget const*, Thread*, bool)+395)
I/dalvikvm( 1845): #03 pc 000546aa /system/lib/libdvm.so (dvmDumpThread(Thread*, bool)+25)
I/dalvikvm( 1845): #04 pc 000490c0 /system/lib/libdvm.so
I/dalvikvm( 1845): #05 pc 00001fd2 /system/lib/libnativehelper.so (jniRegisterNativeMethods+81)
I/dalvikvm( 1845): #06 pc 0004d8b6 /system/lib/libandroid_runtime.so
I/dalvikvm( 1845): #07 pc 0004dba4 /system/lib/libandroid_runtime.so (android::AndroidRuntime::startReg(_JNIEnv*)+23)
I/dalvikvm( 1845): #08 pc 0004e5f4 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+183)
I/dalvikvm( 1845): #09 pc 0000105a /system/bin/app_process
I/dalvikvm( 1845): #10 pc 0000e398 /system/lib/libc.so (__libc_init+47)
I/dalvikvm( 1845): at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm( 1845): at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm( 1845):
E/dalvikvm( 1845): VM aborting
F/libc ( 1845): Fatal signal 6 (SIGABRT) at 0x00000735 (code=-6), thread 1845 (zygote)
I/DEBUG ( 196): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 196): Build fingerprint: 'google/hammerhead/hammerhead:4.4.4/KTU84P/1227136:user/release-keys'
I/DEBUG ( 196): Revision: '11'
I/DEBUG ( 196): pid: 1845, tid: 1845, name: zygote >>> zygote <<<
I/DEBUG ( 196): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/DEBUG ( 196): r0 00000000 r1 00000735 r2 00000006 r3 00000000
I/DEBUG ( 196): r4 00000006 r5 00000016 r6 00000735 r7 0000010c
I/DEBUG ( 196): r8 00000004 r9 bec36ba4 sl 00000000 fp bec36b83
I/DEBUG ( 196): ip 401f44b4 sp bec36628 lr 4008f035 pc 4009dfe0 cpsr 000f0010
I/DEBUG ( 196): d0 0000000000000000 d1 0000000000000000
I/DEBUG ( 196): d2 0000000000000000 d3 0000000000000000
I/DEBUG ( 196): d4 0000000000000000 d5 000000006e736c40
I/DEBUG ( 196): d6 3f0000004158f720 d7 000000000000007f
I/DEBUG ( 196): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 196): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 196): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 196): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 196): d16 2065766974614e28 d17 0a29646f6874654d
I/DEBUG ( 196): d18 65747379732f2020 d19 696c2f62696c2f6d
I/DEBUG ( 196): d20 64696f72646e6162 d21 656d69746e75725f
I/DEBUG ( 196): d22 646e6128206f732e d23 6e413a3a64696f72
I/DEBUG ( 196): d24 0000000000000000 d25 0000000000000000
I/DEBUG ( 196): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 196): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 196): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 196): scr 60000010
I/DEBUG ( 196):
I/DEBUG ( 196): backtrace:
I/DEBUG ( 196): #00 pc 00021fe0 /system/lib/libc.so (tgkill+12)
I/DEBUG ( 196): #01 pc 00013031 /system/lib/libc.so (pthread_kill+48)
I/DEBUG ( 196): #02 pc 00013245 /system/lib/libc.so (raise+10)
I/DEBUG ( 196): #03 pc 00011f7b /system/lib/libc.so
I/DEBUG ( 196): #04 pc 00021894 /system/lib/libc.so (abort+4)
I/DEBUG ( 196): #05 pc 00045cc7 /system/lib/libdvm.so (dvmAbort+78)
I/DEBUG ( 196): #06 pc 00001fd5 /system/lib/libnativehelper.so (jniRegisterNativeMethods+84)
I/DEBUG ( 196): #07 pc 0004d8b9 /system/lib/libandroid_runtime.so
I/DEBUG ( 196): #08 pc 0004dba5 /system/lib/libandroid_runtime.so (android::AndroidRuntime::startReg(_JNIEnv*)+24)
I/DEBUG ( 196): #09 pc 0004e5f5 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+184)
I/DEBUG ( 196): #10 pc 0000105b /system/bin/app_process
I/DEBUG ( 196): #11 pc 0000e39b /system/lib/libc.so (__libc_init+50)
I/DEBUG ( 196): #12 pc 00000d7c /system/bin/app_process
I/DEBUG ( 196):
I/DEBUG ( 196): stack:
I/DEBUG ( 196): bec365e8 401e17cd /system/lib/libandroid_runtime.so
I/DEBUG ( 196): bec365ec 00000035
I/DEBUG ( 196): bec365f0 401f44b4 /system/lib/libandroid_runtime.so
I/DEBUG ( 196): bec365f4 00000004
I/DEBUG ( 196): bec365f8 bec36ba4 [stack]
I/DEBUG ( 196): bec365fc 00000000
I/DEBUG ( 196): bec36600 bec36b83 [stack]
I/DEBUG ( 196): bec36604 400a2501 /system/lib/libc.so (snprintf+80)
I/DEBUG ( 196): bec36608 36333138
I/DEBUG ( 196): bec3660c 30203020
I/DEBUG ( 196): bec36610 bec36684 [stack]
I/DEBUG ( 196): bec36614 00000000
I/DEBUG ( 196): bec36618 00000000
I/DEBUG ( 196): bec3661c 20302030
I/DEBUG ( 196): bec36620 00004000
I/DEBUG ( 196): bec36624 bec36692 [stack]
I/DEBUG ( 196): #00 bec36628 00000006
I/DEBUG ( 196): bec3662c 00000016
I/DEBUG ( 196): bec36630 00000735
I/DEBUG ( 196): bec36634 401f44b4 /system/lib/libandroid_runtime.so
I/DEBUG ( 196): bec36638 401f44b4 /system/lib/libandroid_runtime.so
I/DEBUG ( 196): bec3663c 4008f035 /system/lib/libc.so (pthread_kill+52)
I/DEBUG ( 196): #01 bec36640 00000006
I/DEBUG ( 196): bec36644 00000000
I/DEBUG ( 196): bec36648 00000035
I/DEBUG ( 196): bec3664c 4008f249 /system/lib/libc.so (raise+14)
I/DEBUG ( 196): #02 bec36650 bec3665c [stack]
I/DEBUG ( 196): bec36654 4008df7f /system/lib/libc.so
I/DEBUG ( 196):
I/DEBUG ( 196): memory near r9:
I/DEBUG ( 196): bec36b84 746f6779 622f0065 612f6e69 705f7070
I/DEBUG ( 196): bec36b94 65636f72 2d007373 67797a58 0065746f
I/DEBUG ( 196): bec36ba4 7379732f 2f6d6574 006e6962 797a2d2d
I/DEBUG ( 196): bec36bb4 65746f67 732d2d00 74726174 7379732d
I/DEBUG ( 196): bec36bc4 2d6d6574 76726573 50007265 3d485441
I/DEBUG ( 196): bec36bd4 6962732f 762f3a6e 6f646e65 69622f72
I/DEBUG ( 196): bec36be4 732f3a6e 65747379 62732f6d 2f3a6e69
I/DEBUG ( 196): bec36bf4 74737973 622f6d65 2f3a6e69 74737973
I/DEBUG ( 196): bec36c04 782f6d65 006e6962 4c5f444c 41524249
I/DEBUG ( 196): bec36c14 505f5952 3d485441 6e65762f 2f726f64
I/DEBUG ( 196): bec36c24 3a62696c 7379732f 2f6d6574 0062696c
I/DEBUG ( 196): bec36c34 52444e41 5f44494f 544f4f42 4f474f4c
I/DEBUG ( 196): bec36c44 4100313d 4f52444e 525f4449 3d544f4f
I/DEBUG ( 196): bec36c54 7379732f 006d6574 52444e41 5f44494f
I/DEBUG ( 196): bec36c64 45535341 2f3d5354 74737973 612f6d65
I/DEBUG ( 196): bec36c74 41007070 4f52444e 445f4449 3d415441
I/DEBUG ( 196):
I/DEBUG ( 196): memory near fp:
I/DEBUG ( 196): bec36b60 bec36b7f 00000000 00000000 ce000000
I/DEBUG ( 196): bec36b70 4935fbfb a3627a42 6cb16c8e 76cab2c1
I/DEBUG ( 196): bec36b80 7a006c37 746f6779 622f0065 612f6e69
I/DEBUG ( 196): bec36b90 705f7070 65636f72 2d007373 67797a58
I/DEBUG ( 196): bec36ba0 0065746f 7379732f 2f6d6574 006e6962
I/DEBUG ( 196): bec36bb0 797a2d2d 65746f67 732d2d00 74726174
I/DEBUG ( 196): bec36bc0 7379732d 2d6d6574 76726573 50007265
I/DEBUG ( 196): bec36bd0 3d485441 6962732f 762f3a6e 6f646e65
I/DEBUG ( 196): bec36be0 69622f72 732f3a6e 65747379 62732f6d
I/DEBUG ( 196): bec36bf0 2f3a6e69 74737973 622f6d65 2f3a6e69
I/DEBUG ( 196): bec36c00 74737973 782f6d65 006e6962 4c5f444c
I/DEBUG ( 196): bec36c10 41524249 505f5952 3d485441 6e65762f
I/DEBUG ( 196): bec36c20 2f726f64 3a62696c 7379732f 2f6d6574
I/DEBUG ( 196): bec36c30 0062696c 52444e41 5f44494f 544f4f42
I/DEBUG ( 196): bec36c40 4f474f4c 4100313d 4f52444e 525f4449
I/DEBUG ( 196): bec36c50 3d544f4f 7379732f 006d6574 52444e41
I/DEBUG ( 196):
I/DEBUG ( 196): memory near ip:
I/DEBUG ( 196): 401f4494 401d6831 401b20e9 401e1520 401e1485
I/DEBUG ( 196): 401f44a4 401b2145 401dcec4 401dad34 401b2081
I/DEBUG ( 196): 401f44b4 401e17f6 401db373 401b4f19 401e1800
I/DEBUG ( 196): 401f44c4 401e180c 401b4ec1 401e1844 401e1857
I/DEBUG ( 196): 401f44d4 401b4e49 401e186f 401e1884 401b4de1
I/DEBUG ( 196): 401f44e4 401e18bd 401e18c2 401b5019 401e18ea
I/DEBUG ( 196): 401f44f4 401d6b39 401b3a05 401e18f7 401d71ad
I/DEBUG ( 196): 401f4504 401b39d5 401e1905 401e190f 401b3925
I/DEBUG ( 196): 401f4514 401e1918 401e1922 401b38e1 401e1929
I/DEBUG ( 196): 401f4524 401ded38 401b38b5 401e1938 401ded38
I/DEBUG ( 196): 401f4534 401b3889 401e1950 401df0e7 401b4d8f
I/DEBUG ( 196): 401f4544 401e1963 401e1972 401b4c9f 401e19d0
I/DEBUG ( 196): 401f4554 401d70d3 401b4c87 401e19e4 401d88cf
I/DEBUG ( 196): 401f4564 401b4c41 401e19f7 401d88cf 401b4c01
I/DEBUG ( 196): 401f4574 401e1a12 401d71ad 401b4be5 401e1a23
I/DEBUG ( 196): 401f4584 401e1a2f 401b4b17 401e1a7c 401d6a6a
I/DEBUG ( 196):
I/DEBUG ( 196): memory near sp:
I/DEBUG ( 196): bec36608 36333138 30203020 bec36684 00000000
I/DEBUG ( 196): bec36618 00000000 20302030 00004000 bec36692
I/DEBUG ( 196): bec36628 00000006 00000016 00000735 401f44b4
I/DEBUG ( 196): bec36638 401f44b4 4008f035 00000006 00000000
I/DEBUG ( 196): bec36648 00000035 4008f249 bec3665c 4008df7f
I/DEBUG ( 196): bec36658 00000000 ffffffdf 400c62c4 400c622c
I/DEBUG ( 196): bec36668 00000000 40090b3f 415811f0 415811f0
I/DEBUG ( 196): bec36678 401e17cd 4009d898 00000000 41517ccb
I/DEBUG ( 196): bec36688 400d4324 6c756e28 0000296c 00000000
I/DEBUG ( 196): bec36698 00000000 00000000 00000000 00000000
I/DEBUG ( 196): bec366a8 00000000 00000000 00000000 00000000
I/DEBUG ( 196): bec366b8 00000000 00000000 00000000 00000000
I/DEBUG ( 196): bec366c8 00000000 00000000 00000000 00000000
I/DEBUG ( 196): bec366d8 00000000 00000000 00000000 00000000
I/DEBUG ( 196): bec366e8 00000000 00000000 00000000 00000000
I/DEBUG ( 196): bec366f8 00000000 00000000 00000000 00000000
I/DEBUG ( 196):
I/DEBUG ( 196): code around pc:
I/DEBUG ( 196): 4009dfc0 e8bd00f0 e3700a01 912fff1e e2600000
I/DEBUG ( 196): 4009dfd0 ea006e20 e92d50f0 e3a07f43 ef000000
I/DEBUG ( 196): 4009dfe0 e8bd50f0 e3700a01 912fff1e e2600000
I/DEBUG ( 196): 4009dff0 ea006e18 e92d50f0 e3a070ee ef000000
I/DEBUG ( 196): 4009e000 e8bd50f0 e3700a01 912fff1e e2600000
I/DEBUG ( 196): 4009e010 ea006e10 f200429a bf0080b9 f040f891
I/DEBUG ( 196): 4009e020 4001e92d f2c02a04 2a1080a5 8093f2c0
I/DEBUG ( 196): 4009e030 f2c02a20 2a408088 ea4fdb7f f1bc1c92
I/DEBUG ( 196): 4009e040 dd6c0f0a 0600e92d 0f40f1bc f500dd4a
I/DEBUG ( 196): 4009e050 f5016e80 ebae7920 ea4f0e09 ea4f5e4e
I/DEBUG ( 196): 4009e060 f50e5e5e ebbc7e20 dd3b1f9e f04fbfc4
I/DEBUG ( 196): 4009e070 ebd9090a dd35199e 0a0eeb01 0a3ff02a
I/DEBUG ( 196): 4009e080 1c9eebac bfd245e1 0c09ebac f04f46e1
I/DEBUG ( 196): 4009e090 f8910c00 f891f240 f921f280 f921028d
I/DEBUG ( 196): 4009e0a0 f8da428d f1b93000 f9000901 f900028d
I/DEBUG ( 196): 4009e0b0 f10a428d d1ee0a40 0f00f1bc f5bcd02b
I/DEBUG ( 196):
I/DEBUG ( 196): code around lr:
I/DEBUG ( 196): 4008f014 447b4b13 42b3e010 6a1ed10e 44784811
I/DEBUG ( 196): 4008f024 ec84f7fb ea0ef00d 46224631 efd0f00e
I/DEBUG ( 196): 4008f034 d00a3001 e00b2400 2b00681b 480ad1eb
I/DEBUG ( 196): 4008f044 44782403 ec72f7fb f001e002 6804fa23
I/DEBUG ( 196): 4008f054 fa20f001 46206005 bf00bd70 0003b38e
I/DEBUG ( 196): 4008f064 0003b382 0003b37a 0003b356 bf7ef7ff
I/DEBUG ( 196): 4008f074 4a3e4b3d e92d447b b08b43f0 4606589c
I/DEBUG ( 196): 4008f084 6823460d 930946a1 fa04f001 8000f8d0
I/DEBUG ( 196): 4008f094 d0482d00 f0104628 280ff96d d8444604
I/DEBUG ( 196): 4008f0a4 ffe4f7ff d1064286 4629200f e8d8f00d
I/DEBUG ( 196): 4008f0b4 d03c2800 482ee02e f7fb4478 482debb6
I/DEBUG ( 196): 4008f0c4 e0154478 d11342b0 482b6a06 f7fb4478
I/DEBUG ( 196): 4008f0d4 4a2aec2e 46332120 a801447a f9e6f013
I/DEBUG ( 196): 4008f0e4 a8012101 fd00f01a 46061c42 e011d104
I/DEBUG ( 196): 4008f0f4 28006800 e02cd1e6 46294630 f00d4622
I/DEBUG ( 196): 4008f104 1c43e914 d11e4607 f9c4f001 29046801

[Q] Disassembling, assembling and re-odexing breaks it by removing some classes

Hi,
I was trying to modify framework.jar on my phone. For this I used the latest versions of smali and baksmali (2.0.3), and dexopt-wrapper from http home.scarlet.be /~rh323092 /deodex.html (please reconstruct the link yourself, I can't include it in the post because "spam" protection). In detail what I did is the following:
1) Copied all of /system/frameworks to my machine
2) Ran java -jar baksmali-2.0.3.jar -x framework.odex -o framework -a 17 -d /path/to/system/framework (no errors or anything)
3) Did all the changes (but doing no changes at all has the same effect)
4) Ran java -jar smali-2.0.3.jar -a 17 framework -o classes.dex (no errors or anything)
5) Ran zip framework.jar classes.dex
6) Followed the instructions from the above link (which ran without an error)
The final framework.odex now is about 600kb smaller than the original one. Trying to use it leads to the following error during booting:
E/JNIHelp ( 718): Native registration unable to find class 'android/debug/JNITest', aborting
F/libc ( 718): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 718 (zygote)
D/AEE/AED ( 123): $===AEE===AEE===AEE===$
D/AEE/AED ( 123): p 0 poll events 1 revents 0
D/AEE/AED ( 123): not know revents:0
D/AEE/AED ( 123): p 1 poll events 1 revents 0
D/AEE/AED ( 123): not know revents:0
D/AEE/AED ( 123): p 2 poll events 1 revents 1
D/AEE/AED ( 123): aed_main_fork_worker: generator 0xf3d168, worker 0xbed7ca48, recv_fd 15
D/AEE/AED ( 123): p 3 poll events 1 revents 0
D/AEE/AED ( 123): not know revents:0
D/AEE/AED ( 123): p 4 poll events 1 revents 0
D/AEE/AED ( 123): not know revents:0
I/DEBUG ( 724): handle_request(15)
I/DEBUG ( 724): check process 718 name:zygote
I/DEBUG ( 724): BOOM: pid=718 uid=0 gid=0 tid=718
I/DEBUG ( 724): [OnPurpose Redunant in preset_info] pid: 718, tid: 718, name: zygote >>> zygote <<<
I/DEBUG ( 724): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 724): Build fingerprint: 'FP/ahong89_wet_jb2/ahong89_wet_jb2:4.2.2/JDQ39/1406799590:user/test-keys'
I/DEBUG ( 724): pid: 718, tid: 718, name: zygote >>> zygote <<<
I/DEBUG ( 724): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG ( 724): r0 00000000 r1 00000027 r2 deadbfff r3 00000000
I/DEBUG ( 724): r4 00000000 r5 bed39954 r6 402c9780 r7 00000002
I/DEBUG ( 724): r8 402d2bcc r9 400d7fc1 sl 400d7f94 fp 400d7fca
I/DEBUG ( 724): ip 00000001 sp bed39950 lr 40129d60 pc 40123628 cpsr 60000010
I/DEBUG ( 724):
I/DEBUG ( 724): backtrace:
I/DEBUG ( 724): #00 pc 00024628 /system/lib/libc.so
I/DEBUG ( 724): #01 pc 00000961 /system/lib/libnativehelper.so (jniRegisterNativeMethods+72)
I/DEBUG ( 724): #02 pc 0004dd07 /system/lib/libandroid_runtime.so (android::AndroidRuntime::startReg(_JNIEnv*)+34)
I/DEBUG ( 724): #03 pc 0004de0f /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+210)
I/DEBUG ( 724): #04 pc 00000db7 /system/bin/app_process
I/DEBUG ( 724): #05 pc 0001bd98 /system/lib/libc.so (__libc_init+64)
I/DEBUG ( 724): #06 pc 00000ae8 /system/bin/app_process
[...]
What am I missing?

Categories

Resources