Improve camera image quality - NEW PATCH!!! - v0.01

Search This thread

franek123

Member
Jan 25, 2011
22
27
Hi,

Check this new patch - better image quality than previous patch. (tested on defy with green lens, probably work with all rooms)

sample image in attachment.

In attachment 2 new file (compression_02_03.zip) with more compression (02 and 03) - less file size but phone does not freeze when capture very deatiled images.

changelog:
v0.01
- decrease jpg compression (increase file size)
- decrease annoying blurry denoise (increase sharpness, details)
- increase sharpness, details in recording video

how to run:
1. backup system/etc/mot_ise_imager_cfg.bin
2. copy and replace new mot_ise_imager_cfg.bin to system/etc
3. reboot phone and take picture

Please take picture and compare, with same stage/object before and after apply patch (please take few photos before and after apply patch and take best form they)

If anybody wants to experiment with options of defys camera here simple explanation how to make it.

1. Need root
2. Run Root Explorer, copy from PHONE /system/etc/mot_ise_imager_cfg.bin to a safe place (/sdcard/ for example)
3. Copy from PHONE /system/etc/mot_ise_imager_cfg.bin to PC
4. Run hex editor like HxD or other
5. Search 4101 5000 (for example) or 4101 4407 or 4101 XXXX (XXXX means register)
example how to disable denoise:
changes everything 4101 5000 4F to 4101 5000 47 and 4101 5000 CF to 4101 5000 C7 we will disable bit 3 from register 5000, look ov5642 datasheet page 142



bit 3 = de-noise 0:disable 1:enable

hex: 4F = bin: 01001111 - red is bit 3, green is bit 0, blue is bit 7
hex: 47 = bin: 01000111

6. Copy the mos_ise_imager_cfg.bin from PC to PHONE /system/etc
7. Change the permission (press and hold in root explorer) to rw-r--r--
8. Remount /system read-only, reboot, and test.



how to change compression read in:
http://xdaforums.com/showthread.php?t=966800

ov5642 datasheet.

Have fun :)
 

Attachments

  • hack_defy_camera_0.01.zip
    6.4 MB · Views: 8,280
  • compression_02_03.zip
    57.2 KB · Views: 2,530
Last edited:

franek123

Member
Jan 25, 2011
22
27
changelog:
v0.01
- decrease jpg compression (increase file size)
- decrease annoying blurry denoise (increase sharpness, details)

look sample image in attachment
 

Charmine

Member
Jan 13, 2011
15
0
Sorry but i'm little nooby, can you explain how exactly to make this thing run on ours phone.

Pls excuse me for my bad language. :)

P.S - My phone is with build number: JRDNEM_U3_2.34.1. :)
 

onlinejobwork

Senior Member
Aug 31, 2008
706
91
LONDON
OnePlus 8T
Hi,

Check this new patch - better image quality than previous patch. (tested on defy with green lens, based on: CEE 3.4.2-155-002 Deblur)

sample image in attachment.

changelog:
v0.01
- decrease jpg compression (increase file size)
- decrease annoying blurry denoise (increase sharpness, details)

how to run:
1. backup system/etc/mot_ise_imager_cfg.bin
2. copy and replace new mot_ise_imager_cfg.bin to system/etc
3. reboot phone and take picture

Please take picture and compare, with same stage/object before and after apply patch (please take few photos before and after apply patch and take best form they)



Have fun :)

when you free please explain how to apply this path to all defy with various blur and android version as more than thousands of people want to know how, is supported for all android version? if you dont mind can you make modification to this path so we can have full screen video and phone capture winodows instead of boarder

Thanks in advance

Urvish:)
 

amEx-pl

Member
Feb 4, 2011
6
0
When I take photo outdoor, i see only 10% of proper picture, rest is grey. Probably caused by too slow memory card, because 3mpix photos saves good.
 

antony.ps

Senior Member
Feb 22, 2011
506
293
Florianópolis
1. Need root
2. Run Root Explorer, copy /system/etc/mot_ise_imager_cfg.bin to a safe place (/sdcard/ for example)
3. Copy the mos_ise_imager_cfg.bin contained in the zip file to /system/etc
4. Change the permission (press and hold in root explorer) to rw-r--r--
5. Remount /system read-only, reboot, and test.

If you are not sure about any of the steps, don't do it, it will brick your phone, kill your parents, and burn your skin.
 

agrickard

Senior Member
Nov 16, 2007
155
6
I can't get it to work - tried before and after root using both Astro and Super Manager (does it have to be Root Explorer as mentioned above?). Not able to paste into system/etc/ nor able to delete original mot_ise_imager_cfg.bin.
 
Last edited:

amEx-pl

Member
Feb 4, 2011
6
0
Yes, you need Root Explorer, and when you go to system/etc, select option mount R/W. Replace file mot_ise_imager_cfg.bin and that's all
 

germant52

New member
Feb 19, 2011
3
0
It´s works for me, I´m from Argentina and I have the new JBoogie3 BlurGinger based on 3.4.3-11 and u3_3.4.2_164 and really works grat. The colors, the shadows, the contrast you see a different instantly... Great work! Thanks...

P/D: Sorry for my bad English
 

amEx-pl

Member
Feb 4, 2011
6
0
I have small question to franek123
Could you upload this patch, but without compression-fix ? It seems that's why it is not working good on my, and few user's Defy. Hope you will help :)
 

marhensa

Senior Member
Dec 17, 2010
2,019
1,175
Bogor
When I take photo outdoor, i see only 10% of proper picture, rest is grey. Probably caused by too slow memory card, because 3mpix photos saves good.

me too, with 5mpx, only top area fine, rest area are grey.
but i have class 6 sd card.. i think my sd card is good enough for handling 5mpx picture.
 

franek123

Member
Jan 25, 2011
22
27
If anybody wants to experiment with options of defys camera here simple explanation how to make it.

1. Need root
2. Run Root Explorer, copy from PHONE /system/etc/mot_ise_imager_cfg.bin to a safe place (/sdcard/ for example)
3. Copy from PHONE /system/etc/mot_ise_imager_cfg.bin to PC
4. Run hex editor like HxD or other
5. Search 4101 5000 (for example) or 4101 4407 or 4101 XXXX (XXXX means register)
example how to disable denoise:
changes everything 4101 5000 4F to 4101 5000 47 and 4101 5000 CF to 4101 5000 C7 we will disable bit 3 from register 5000, look ov5642 datasheet page 142



bit 3 = de-noise 0:disable 1:enable

hex: 4F = bin: 01001111 - red is bit 3, green is bit 0, blue is bit 7
hex: 47 = bin: 01000111

6. Copy the mos_ise_imager_cfg.bin from PC to PHONE /system/etc
7. Change the permission (press and hold in root explorer) to rw-r--r--
8. Remount /system read-only, reboot, and test.



how to change compression read in:
http://xdaforums.com/showthread.php?t=966800

In attachment ov5642 datasheet.

Have fun.
 

Attachments

  • OV5642_CSP_DS_1.11_OVT.zip
    1.5 MB · Views: 932
  • Like
Reactions: bether and wizwin

Charmine

Member
Jan 13, 2011
15
0
Well i try the patch and there it's a differend the pictures are much bigger!
After i past the patch my defy was stuck on moto logo damn i freak out tnx god i find way to relive the phone and i'm abso-****ing-lutely happy!!! :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    Hi,

    Check this new patch - better image quality than previous patch. (tested on defy with green lens, probably work with all rooms)

    sample image in attachment.

    In attachment 2 new file (compression_02_03.zip) with more compression (02 and 03) - less file size but phone does not freeze when capture very deatiled images.

    changelog:
    v0.01
    - decrease jpg compression (increase file size)
    - decrease annoying blurry denoise (increase sharpness, details)
    - increase sharpness, details in recording video

    how to run:
    1. backup system/etc/mot_ise_imager_cfg.bin
    2. copy and replace new mot_ise_imager_cfg.bin to system/etc
    3. reboot phone and take picture

    Please take picture and compare, with same stage/object before and after apply patch (please take few photos before and after apply patch and take best form they)

    If anybody wants to experiment with options of defys camera here simple explanation how to make it.

    1. Need root
    2. Run Root Explorer, copy from PHONE /system/etc/mot_ise_imager_cfg.bin to a safe place (/sdcard/ for example)
    3. Copy from PHONE /system/etc/mot_ise_imager_cfg.bin to PC
    4. Run hex editor like HxD or other
    5. Search 4101 5000 (for example) or 4101 4407 or 4101 XXXX (XXXX means register)
    example how to disable denoise:
    changes everything 4101 5000 4F to 4101 5000 47 and 4101 5000 CF to 4101 5000 C7 we will disable bit 3 from register 5000, look ov5642 datasheet page 142



    bit 3 = de-noise 0:disable 1:enable

    hex: 4F = bin: 01001111 - red is bit 3, green is bit 0, blue is bit 7
    hex: 47 = bin: 01000111

    6. Copy the mos_ise_imager_cfg.bin from PC to PHONE /system/etc
    7. Change the permission (press and hold in root explorer) to rw-r--r--
    8. Remount /system read-only, reboot, and test.



    how to change compression read in:
    http://xdaforums.com/showthread.php?t=966800

    ov5642 datasheet.

    Have fun :)
    2
    If anybody wants to experiment with options of defys camera here simple explanation how to make it.

    1. Need root
    2. Run Root Explorer, copy from PHONE /system/etc/mot_ise_imager_cfg.bin to a safe place (/sdcard/ for example)
    3. Copy from PHONE /system/etc/mot_ise_imager_cfg.bin to PC
    4. Run hex editor like HxD or other
    5. Search 4101 5000 (for example) or 4101 4407 or 4101 XXXX (XXXX means register)
    example how to disable denoise:
    changes everything 4101 5000 4F to 4101 5000 47 and 4101 5000 CF to 4101 5000 C7 we will disable bit 3 from register 5000, look ov5642 datasheet page 142



    bit 3 = de-noise 0:disable 1:enable

    hex: 4F = bin: 01001111 - red is bit 3, green is bit 0, blue is bit 7
    hex: 47 = bin: 01000111

    6. Copy the mos_ise_imager_cfg.bin from PC to PHONE /system/etc
    7. Change the permission (press and hold in root explorer) to rw-r--r--
    8. Remount /system read-only, reboot, and test.



    how to change compression read in:
    http://xdaforums.com/showthread.php?t=966800

    In attachment ov5642 datasheet.

    Have fun.
    2
    could you upload the file Muznyu please ?

    There you go. :)
    2
    hey Muznyu!

    köszönom! great hack you wrote... I copied the file that you postet in the quoted post into the /system/etc/ directory (worked with "file expert") but unfortunately the camera is not working anymore (only blackscreen with enlightened soft-keys). is the file you linked meant for defys with green lens?

    Szívesen! ;)

    I didn't make this patch, just modified some values. If somebody is interested, here is the file with 03 compression value. This should be okay in 99% of ligthning conditions. I replaced mot_ise_imager_cfg.bin with Root Explorer, but it should be okay with any kind of file explorer (with root privileges).

    If you have problems, first try to clear camera data in settings/applications/manage applications/all, and you should reboot your phone as well. Then it will be fine I guess...
    1
    if you experience any freezes in sunny conditions, apply a patch with a bit more compression (sometimes the bandwidth of the soc module just isnt enough)!
    I don't think the bandwidth of the SOC module has anything to do with it (AIUI it's the same module as in the iPhone 4 and everyone seems to think that's OK).

    I'm convinced it's down to the speed of your SD card. I was having problems with the grey screen/no save/occasional freeze when taking sunny outdoor pictures and I had to raise the compression from 1 to 3 to be able to get photos. That was with a class 4 SD card. This week I got hold of a class 6 card and I can take photos with compression set to 1 and de-noise off with no problems. One I took recently is over 2MB file size!