Hey, I am confident that i can figure out the issue you are facing. Before that certain important questions come to my mind. Like the version of camera you use, the interface its connected with and version of Linux Kernel and Android OS you are using. Please furnish with more details so, I could help you with having it resolved. Probably a discussion would help.
I have been working on Linux Kernel, Android Operating system and Embedded software and think the solution would be at my reach.
Cheers!