[HD2 Android NAND Development] aazzam16661:
NO more kernel problem, i found out that the kernel from this :https://github.com/AndroidLEO/android_kernel_htc_leo/tree/3.0 Have ION "stuff" in it, so i test it out and

<6>[ 0.109130] ION heap vmalloc created

<6>[ 0.109191] ION heap sf created at 3b700000 with size 2000000

in dmesg

But still no graphic, in logcat

This was gone

E/memalloc( 78): open_device: Failed to open ion device - No such file or directory

W/memalloc( 78): Falling back to system heap

E/memalloc( 78): open_device: Failed to open ion device - No such file or directory

E/gralloc ( 78): gralloc failed err=No such file or directory

no more that

Now its

E/Adreno200-GSL( 1459): <ioctl_kgsl_driver_entry:268>: open(/dev/kgsl-3d0) failed: errno 22. Invalid argument

W/libEGL ( 1459): eglInitialize(0x1) failed (EGL_SUCCESS)

W/Adreno200-EGL( 1459): <qeglDrvAPI_eglGetConfigs:425>: EGL_NOT_INITIALIZED

W/Adreno200-EGL( 1459): <qeglDrvAPI_eglGetConfigs:425>: EGL_NOT_INITIALIZED

W/Adreno200-EGL( 1459): <qeglDrvAPI_eglChooseConfig:594>: EGL_NOT_INITIALIZED

E/SurfaceFlinger( 1459): couldn't find an EGLConfig matching the screen format

W/Adreno200-EGL( 1459): <qeglDrvAPI_eglGetConfigAttrib:479>: EGL_NOT_INITIALIZED

W/Adreno200-EGL( 1459): <qeglDrvAPI_eglGetConfigAttrib:479>: EGL_NOT_INITIALIZED

W/Adreno200-EGL( 1459): <qeglDrvAPI_eglGetConfigAttrib:479>: EGL_NOT_INITIALIZED

W/Adreno200-EGL( 1459): <qeglDrvAPI_eglGetConfigAttrib:479>: EGL_NOT_INITIALIZED

W/Adreno200-EGL( 1459): <qeglDrvAPI_eglGetConfigAttrib:479>: EGL_NOT_INITIALIZED

W/Adreno200-EGL( 1459): <qeglDrvAPI_eglGetConfigAttrib:479>: EGL_NOT_INITIALIZED

W/Adreno200-EGL( 1459): <qeglDrvAPI_eglCreateWindowSurface:924>: EGL_NOT_INITIALIZED

E/libEGL ( 1459): eglQuerySurface:367 error 300d (EGL_BAD_SURFACE)

E/libEGL ( 1459): eglQuerySurface:367 error 300d (EGL_BAD_SURFACE)

W/Adreno200-EGL( 1459): <qeglDrvAPI_eglCreateContext:2213>: EGL_NOT_INITIALIZED

E/libEGL ( 1459): call to OpenGL ES API with no current context (logged once per thread)

F/libc ( 1459): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 1589 (SurfaceFlinger)

E/MediaPlayerService( 1464): MediaPlayerService(), open failed /sys/power/pnpmgr/apps/media_mode

E/Trace ( 1464): error opening trace file: No such file or directory (2)

I/DEBUG ( 1461): debuggerd: 2013-08-14 09:49:27

I/DEBUG ( 1461): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

I/DEBUG ( 1461): Build fingerprint: 'htc_europe/cp3dug/cp3dug:4.1.2/JZO54K/192020.3:user/release-keys'

I/DEBUG ( 1461): pid: 1459, tid: 1589, name: SurfaceFlinger >>> /system/bin/surfaceflinger <<<

I/DEBUG ( 1461): debuggerd: checkTellHTCSettings

I/DEBUG ( 1461): debuggerd: buildType: user, roAaReport: , ro.sf: unknown

I/DEBUG ( 1461): debuggerd: [Old ROM] isShippingROM: true

I/DEBUG ( 1461): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000

I/DEBUG ( 1461): r0 00000000 r1 00000000 r2 80808080 r3 00000000

I/DEBUG ( 1461): r4 4130b550 r5 00000000 r6 4130b554 r7 00000000

I/DEBUG ( 1461): r8 00000000 r9 4130b4e0 sl 400afa20 fp 00000000

I/DEBUG ( 1461): ip 40048e74 sp 40f6ecb8 lr 4003c1d5 pc 400f41c8 cpsr 40000010

I/DEBUG ( 1461): d0 6165726874207265 d1 702065636e6f2064

I/DEBUG ( 1461): d2 6e6572727563206f d3 7865746e6f632074

I/DEBUG ( 1461): d4 413476ad41343c55 d5 4133879d41347821

I/DEBUG ( 1461): d6 4133720141337091 d7 4134d8f54133d545

I/DEBUG ( 1461): d8 0000000043200000 d9 0000000000000000

I/DEBUG ( 1461): d10 0000000000000000 d11 0000000000000000

I/DEBUG ( 1461): d12 0000000000000000 d13 0000000000000000

I/DEBUG ( 1461): d14 0000000000000000 d15 0000000000000000

I/DEBUG ( 1461): d16 000000000000000b d17 0000000000000001

I/DEBUG ( 1461): d18 4133bc994133bc25 d19 4133bd954133bd21

I/DEBUG ( 1461): d20 4133be514133be01 d21 4133e5394133e749

I/DEBUG ( 1461): d22 41346ac141346b11 d23 41346da541346989

E/WVMExtractor( 1464): Failed to open libwvm.so

I/DEBUG ( 1461): d24 0000000000000000 d25 0000000000000000

I/DEBUG ( 1461): d26 0000000000000000 d27 0000000000000000

I/DEBUG ( 1461): d28 0000000000000000 d29 0000000000000000

I/DEBUG ( 1461): d30 0000000000000000 d31 0000000000000000

I/DEBUG ( 1461): scr 20000010

I/DEBUG ( 1461):

I/DEBUG ( 1461): backtrace:

I/DEBUG ( 1461): #00 pc 000171c8 /system/lib/libc.so (strlen+72)

I/DEBUG ( 1461): #01 pc 000121d1 /system/lib/libutils.so (android::String8::setTo(char const*)+8)

I/DEBUG ( 1461): #02 pc 00020f89 /system/lib/libsurfaceflinger.so (android::GLExtensions::initWithGLStrings(unsigned char const*, unsigned char const*, unsigned char const*, unsigned char const*, char const*, char const*, char const*)+16)

I/DEBUG ( 1461): #03 pc 0001f9bf /system/lib/libsurfaceflinger.so (android::DisplayHardware::init(unsigned int)+1294)

I/DEBUG ( 1461): #04 pc 0001fe8d /system/lib/libsurfaceflinger.so (android::DisplayHardware::DisplayHardware(android::sp<android::SurfaceFlinger> const&, unsigned int)+76)

I/DEBUG ( 1461): #05 pc 00024c69 /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::readyToRun()+80)

I/DEBUG ( 1461): #06 pc 00013bbd /system/lib/libutils.so (android::Thread::_threadLoop(void*)+72)

I/DEBUG ( 1461): #07 pc 0001366b /system/lib/libutils.so

I/DEBUG ( 1461): #08 pc 00012e44 /system/lib/libc.so (__thread_entry+48)

I/DEBUG ( 1461): #09 pc 0001258c /system/lib/libc.so (pthread_create+176)

I/DEBUG ( 1461):

I/DEBUG ( 1461): stack:

I/DEBUG ( 1461): 40f6ec78 40174164 /system/lib/libEGL.so

I/DEBUG ( 1461): 40f6ec7c 40f6ec9c

I/DEBUG ( 1461): 40f6ec80 00000000

I/DEBUG ( 1461): 40f6ec84 4130b550 [heap]

I/DEBUG ( 1461): 40f6ec88 40f6ec9c

I/DEBUG ( 1461): 40f6ec8c 4015b809 /system/lib/libEGL.so

I/DEBUG ( 1461): 40f6ec90 40174164 /system/lib/libEGL.so

I/DEBUG ( 1461): 40f6ec94 4015bb6f /system/lib/libEGL.so (android::egl_display_t::HibernationMachine::decWakeCount(android::egl_display_t::HibernationMachine::WakeRefStrength)+138)

I/DEBUG ( 1461): 40f6ec98 40174118 /system/lib/libEGL.so

I/DEBUG ( 1461): 40f6ec9c 40f6ecbc

I/DEBUG ( 1461): 40f6eca0 00000000

I/DEBUG ( 1461): 40f6eca4 4130b550 [heap]

I/DEBUG ( 1461): 40f6eca8 40f6ecbc

I/DEBUG ( 1461): 40f6ecac 4015b809 /system/lib/libEGL.so

I/DEBUG ( 1461): 40f6ecb0 df0027ad

I/DEBUG ( 1461): 40f6ecb4 00000000

I/DEBUG ( 1461): #00 40f6ecb8 00000000

I/DEBUG ( 1461): ........ ........

I/DEBUG ( 1461): #01 40f6ecb8 00000000

I/DEBUG ( 1461): 40f6ecbc 4130b550 [heap]

I/DEBUG ( 1461): 40f6ecc0 00000000

I/DEBUG ( 1461): 40f6ecc4 41304018 [heap]

I/DEBUG ( 1461): 40f6ecc8 00000000

I/DEBUG ( 1461): 40f6eccc 4009ef8d /system/lib/libsurfaceflinger.so (android::GLExtensions::initWithGLStrings(unsigned char const*, unsigned char const*, unsigned char const*, unsigned char const*, char const*, char const*, char const*)+20)

I/DEBUG ( 1461): #02 40f6ecd0 4130b550 [heap]

I/DEBUG ( 1461): 40f6ecd4 00000000

I/DEBUG ( 1461): 40f6ecd8 4130a5b0 [heap]

I/DEBUG ( 1461): 40f6ecdc 00000001

I/DEBUG ( 1461): 40f6ece0 4130b550 [heap]

I/DEBUG ( 1461): 40f6ece4 00000000

I/DEBUG ( 1461): 40f6ece8 4130b500 [heap]

I/DEBUG ( 1461): 40f6ecec 4009d9c3 /system/lib/libsurfaceflinger.so (android::DisplayHardware::init(unsigned int)+1298)

I/DEBUG ( 1461):

I/DEBUG ( 1461): memory near r2:

I/DEBUG ( 1461): 80808060 ffffffff ffffffff ffffffff ffffffff ................

I/DEBUG ( 1461): 80808070 ffffffff ffffffff ffffffff ffffffff ................

I/DEBUG ( 1461): 80808080 ffffffff ffffffff ffffffff ffffffff ................

I/DEBUG ( 1461): 80808090 ffffffff ffffffff ffffffff ffffffff ................

I/DEBUG ( 1461): 808080a0 ffffffff ffffffff ffffffff ffffffff ................

I/DEBUG ( 1461):

I/DEBUG ( 1461): memory near r4:

I/DEBUG ( 1461): 4130b530 6e65704f 455f4c47 00000053 00000013 OpenGL_ES.......

I/DEBUG ( 1461): 4130b540 00003000 00000000 00000000 0000003b .0..........;...

I/DEBUG ( 1461): 4130b550 5f4c4740 41304018 41304018 41304018 @GL_.@0A.@0A.@0A

I/DEBUG ( 1461): 4130b560 41304018 41304018 41304018 41304018 .@0A.@0A.@0A.@0A

I/DEBUG ( 1461): 4130b570 400acd98 00000000 00000000 00000000 .. [MENTION=2034889].......[/MENTION].....

I/DEBUG ( 1461):

I/DEBUG ( 1461): memory near r6:

I/DEBUG ( 1461): 4130b534 455f4c47 00000053 00000013 00003000 GL_ES........0..

I/DEBUG ( 1461): 4130b544 00000000 00000000 0000003b 5f4c4740 ........;...@GL_

I/DEBUG ( 1461): 4130b554 41304018 41304018 41304018 41304018 .@0A.@0A.@0A.@0A

I/DEBUG ( 1461): 4130b564 41304018 41304018 41304018 400acd98 .@0A.@0A.@0A...@

I/DEBUG ( 1461): 4130b574 00000000 00000000 00000000 00000004 ................

I/DEBUG ( 1461):

I/DEBUG ( 1461): memory near r9:

I/DEBUG ( 1461): 4130b4c0 00000001 00000000 00000000 00000023 ............#...

I/DEBUG ( 1461): 4130b4d0 00000001 00000008 00000000 00000000 ................

I/DEBUG ( 1461): 4130b4e0 72646e41 0064696f 00000000 00000033 Android.....3...

I/DEBUG ( 1461): 4130b4f0 00000001 00000015 00000000 00000000 ................

I/DEBUG ( 1461): 4130b500 20342e31 72646e41 2064696f 4154454d 1.4 Android META

I/DEBUG ( 1461):

I/DEBUG ( 1461): memory near sl:

I/DEBUG ( 1461): 400afa00 4003c183 402be0f0 400aef20 400aeff0 ...@..+@ ..@...@

I/DEBUG ( 1461): 400afa10 402b8ce8 402b8eb0 400af760 40117b2a ..+@..+@`..@*{.@

I/DEBUG ( 1461): 400afa20 00000000 00000000 00000000 402a6991 .............i*@

I/DEBUG ( 1461): 400afa30 400d2907 4003b863 4003e3ed 4003b805 .) [MENTION=2931761]C..[/MENTION]@...@...@

I/DEBUG ( 1461): 400afa40 4003e7e1 4003e709 400efb40 400efa84 ...@...@@..@...@

I/DEBUG ( 1461):

I/DEBUG ( 1461): memory near ip:

I/DEBUG ( 1461): 40048e54 400ef2f0 400ef704 400efa84 400f4005 ...@...@...@.@.@

I/DEBUG ( 1461): 40048e64 400b7f6d 400b7f7b 400b6868 400ef0dc m..@{..@hh.@...@

I/DEBUG ( 1461): 40048e74 400f4180 400eb84c 400091f9 4000936d .A.@L..@...@m..@

I/DEBUG ( 1461): 40048e84 40009495 40009451 401077e5 400f9155 ...@Q..@.w.@U..@

I/DEBUG ( 1461): 40048e94 400f96a9 400e9ae8 400eccb4 400f6919 ...@...@.. [MENTION=1109350].i.[/MENTION]@

I/DEBUG ( 1461):

I/DEBUG ( 1461): memory near sp:

I/DEBUG ( 1461): 40f6ec98 40174118 40f6ecbc 00000000 4130b550 .A.@.. [MENTION=1941659]....[/MENTION]P.0A

I/DEBUG ( 1461): 40f6eca8 40f6ecbc 4015b809 df0027ad 00000000 ...@...@.'......

I/DEBUG ( 1461): 40f6ecb8 00000000 4130b550 00000000 41304018 ....P.0A.....@0A

I/DEBUG ( 1461): 40f6ecc8 00000000 4009ef8d 4130b550 00000000 .......@P.0A....

I/DEBUG ( 1461): 40f6ecd8 4130a5b0 00000001 4130b550 00000000 ..0A....P.0A....

I/DEBUG ( 1461):

I/DEBUG ( 1461): code around pc:

I/DEBUG ( 1461): 400f41a8 e4d32001 e3520000 012fff1e e3130003 . ....R.../.....

I/DEBUG ( 1461): 400f41b8 e2800001 1afffff9 e3082080 e7df2812 ......... ...(..

I/DEBUG ( 1461): 400f41c8 e4931004 e0400003 f5d3f040 e041c3a2 ......@ [MENTION=3321880].....[/MENTION]A.

I/DEBUG ( 1461): 400f41d8 e00cc002 e1dcc001 04931004 1a000022 ............"...

I/DEBUG ( 1461): 400f41e8 e041c3a2 e00cc002 e1dcc001 04931004 ..A.............

I/DEBUG ( 1461):

I/DEBUG ( 1461): code around lr:

I/DEBUG ( 1461): 4003c1b4 fca2f7ff 21006820 f7ff3810 682bfc9f .... h.!.8....+h

I/DEBUG ( 1461): 4003c1c4 bd386023 4606b5f8 460f4608 eb84f7fc #`8....F.F.F....

I/DEBUG ( 1461): 4003c1d4 b1684605 f7ff3001 b158fc75 0410f100 .Fh..0..u.X.....

I/DEBUG ( 1461): 4003c1e4 462a4639 f7fc4620 2300eb2a e0025563 9F*F F..*..#cU..

I/DEBUG ( 1461): 4003c1f4 febcf7ff 68304604 38102100 fc7ef7ff .....F0h.!.8..~.

So EGL the problem, i think ION problem is fix now.

ANY SUGGESTION TO FIX THIS PROBLEM????