You are on page 1of 3

Changing camera resolution by Mechalikh Charaf Eddine

First get the max resolution :

To do so, open the camera app and select the higher megapixels available (in my case 13mp), and
take a picture.

Now open that picture and show the details, and read and remember the picture resolution (in my
case 4160x3120 = 12.979.200pixels= 13megapixels)

Second step :

Open libcam.paramsmgr.so (from lib and lib64bit folder if you have 64 bit device) using Hex Editor
Tap in the text area on the right :

and press CTRL+F to search, in the search dialog write a part of the resolution for example 4160 or
3120 in my case
Third step :

Replace the old resolution with the new one and save

In my case

Old one (13mp) : New One (64mp) :

4160x3120 9312x6976
Bonus step : How to calculate a resolution

Picture resolution represents the pixel count in a picture, the more pixels will bethe more you will be
able to zoom in the picture.

Resolution= width x height

Megapixel =million pixel

9312x6976=64960512px =64.96MillionPixels=64.96Megapixels

Now if you want a 24mp picture , with the 4:3 ratio, here is how to calculate it :

24mpx= 24000000px

4A x 3A= 24000000

12A2=24000000

A2= ? A= 24000000/12 = 2000000

A=(2000000)=1414

Now that we found the value of A

4A= 5656

3A=4242

Final result , the resolution is

5656x4242=23996375=24mp

You might also like