0perat0r wrote:If kernel has nothing to do with image or video quality ( thinking loudly ) then the apk itself has to give exact same quality in every version of android. When I install not only miui camera just a random one from market it still gives different quality. At 2.3.7 I get better ones again at 4.0.4 and Jb I get less quality. That I thought because of the kernel or the android version itself.
I made build.prob changes like encode quality=100 ( cant remember exact thing ) or video encode quality=100 but nothing changed.
I'm not saying it has nothing at all to do with the camera, there are low level drivers in the kernel which are common for most devices. The camera apk is "tuned" to the individual hardware and to the "gallery" apk that comes with the ROM. Let me give you an example of what I'm talking about. With my current device and the ROM I'm using, the camera app comes from the Sensation, but has been modified by the developer to work with the Amaze. He did this because the Sensation's camera didn't have the same file size limit that the stock Amaze had. Later, a clever developer on the Amaze forum discovered he could manipulate configuration files in the stock Amaze camera apk to remove the size limit. Now most Amaze users on ICS are using that camera app because without the limitation it's now superior to the Sensation camera.
On JB ROMs for the Amaze, none of the Sense or AOSP ROMs have camera's that are as fully functional as the stock ICS is, because the camera app isn't as optimized, not because of kernel support. Unfortunately, devs there are still trying to get a fully functioning JB ROM, so fixing the camera is low on the priority list, but guys have been trying cameras with similar specs from other ROMs including kanging from other manufacturers like Levono with varying success.
I hope this clarifies things.