Failed to create 4096x4096 texture on Mali-400. The app crashes. What can be wrong?
It's still not clear what your error actually is. If the application exits cleanly with no segfault or kernel low memory killer kicking in, that sounds like a memory allocation failure (either in the application itself, or the application exiting because of an GL error returned by the OpenGL ES driver).
Also be aware that there are implementation limits defined for certain features. Did you check the texture dimension limit for that platform ?