I've compiled CWM for Xiaomi Mi2 - It's an device with MSM8960 SoC.
When I execute it I get a segmentation fault.
I did a little bit debug and saw, that after ioctl of /dev/graphics/fb0 the pointers of GGLContext are all null.
I don't see the connection between these two actions.
I already tried using different kernel-headers but it's still not working.
I also tried bootanimation which uses libgui and it has the same problem.
All other binaries which don't use framebuffer are working just fine (both static and non-static).
The funny thing is, that AROMA-installer does work. Maybe a toolchain problem?
When I execute it I get a segmentation fault.
I did a little bit debug and saw, that after ioctl of /dev/graphics/fb0 the pointers of GGLContext are all null.
I don't see the connection between these two actions.
I already tried using different kernel-headers but it's still not working.
I also tried bootanimation which uses libgui and it has the same problem.
All other binaries which don't use framebuffer are working just fine (both static and non-static).
The funny thing is, that AROMA-installer does work. Maybe a toolchain problem?