Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

CWM: Segfault when accessing framebuffer

$
0
0
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?

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>