MOD[Camera] Less Aggressive Sharpening | Noise Reduction

Search This thread

ehbm

Senior Member
Aug 14, 2010
427
42
48
38
Recife
edmenezes.wordpress.com
So, I decided what have I got to lose and flashed the zip with the modifications, less the binning (which I still believe is a disadvantage). I can confirm it DOES make a difference even in the preview, so apps like Snapchat and Augmented Reality (aka Pokemon Go, etc) which seem to use the frame buffer preview, now have clean un-sharpened images. Much much better.
Can you show some before and after pictures?
 
  • Like
Reactions: fr3d0x

Dishe

Senior Member
Oct 18, 2006
1,050
174
0
I wish I had saved some before pictures to compare, but there weren't any worth keeping. I hated the sharpening. We just started using Google Photos or organize our pictures so I delete ones which aren't actually ones we want to archive.
I can post after photos if you want, but I don't know how helpful they'd be.
 

Dishe

Senior Member
Oct 18, 2006
1,050
174
0
Well what do you know, I found a shot of my desk I had taken with the stock app to check for aliasing on hard lines.
I tried to line up a similar shot with my phone now that I've flashed the zip to reduce sharpening and NR, but the mess on my desk is somewhat different now, so it doesn't line up exactly. Also, the newer shot picked a different exposure so it seems more evenly lit, however I don't think that has anything to do with the modification. That's just me being more careful with setting the focus / exposure point this time around.
But you can see the 2nd image doesn't suffer from the over-sharpening thing, and the fine detail in things like lines and letter is preserved. I have no idea why Moto decided it was better with all that extra stuff on, this is clearly nicer looking to me.
 
  • Like
Reactions: ehbm

ehbm

Senior Member
Aug 14, 2010
427
42
48
38
Recife
edmenezes.wordpress.com
Well what do you know, I found a shot of my desk I had taken with the stock app to check for aliasing on hard lines.
I tried to line up a similar shot with my phone now that I've flashed the zip to reduce sharpening and NR, but the mess on my desk is somewhat different now, so it doesn't line up exactly. Also, the newer shot picked a different exposure so it seems more evenly lit, however I don't think that has anything to do with the modification. That's just me being more careful with setting the focus / exposure point this time around.
But you can see the 2nd image doesn't suffer from the over-sharpening thing, and the fine detail in things like lines and letter is preserved. I have no idea why Moto decided it was better with all that extra stuff on, this is clearly nicer looking to me.
Nice, thanks. I'm gonna try this mod.
 

dunderball

Senior Member
Jul 7, 2012
359
73
48
[/COLOR]
Do these end up being applied systemlessly?

I could not get the files to work manually. I renamed all of the originals, copied over the new ones, and my camera app force closes...

I also noticed that the files in the Magisk zip is /system/vendor/libs rather than /system/vendor/lib -- is that a typo?

Edit: Nevermind, I noticed that the config.sh has the path set correctly also

Edit2: Just cross out everything I said. Works great as a Magisk module.
 
Last edited:

dunderball

Senior Member
Jul 7, 2012
359
73
48
Magisk module fixed and updated

Hi everyone - I took the liberty of updating the Chromatix Magisk Module to the latest v1500 template (should only be used with Magisk 15 and higher).

I also believe there is a mistake in the original Magisk Module posted earlier in the thread. The config file is loading /system/vendor/libs when it should be /system/vendor/lib. The REPLACE list should also be blank. Attempting to replace /system/vendor/lib will result in a bootloop.

Credit goes to @defcomg for the original libraries.
 

Attachments

  • defcomg-chromatixMOD.zip
    152.5 KB · Views: 467
Last edited:

Dishe

Senior Member
Oct 18, 2006
1,050
174
0
Hi everyone - I took the liberty of updating the Chromatix Magisk Module to the latest v1500 template (should only be used with Magisk 15 and higher).

I also believe there is a mistake in the original Magisk Module posted earlier in the thread. The config file is loading /system/vendor/libs when it should be /system/vendor/lib. The REPLACE list should also be blank. Attempting to replace /system/vendor/lib will result in a bootloop.

Credit goes to @defcomg for the original libraries.

Nice, thanks for that. Never delved into Magisk personally on this phone yet- I'm still unrooted. :)
Hope the old script didn't mess anyone up if they used it!
 

ugupta100

Senior Member
Jun 28, 2015
137
24
0
Sometimes over sharpening looks good!
 

Attachments

  • IMG_20180109_074353955_HDR.jpg
    IMG_20180109_074353955_HDR.jpg
    274.3 KB · Views: 1,247

Dishe

Senior Member
Oct 18, 2006
1,050
174
0
breaks camera on latest pe 8.1 rom
Custom ROMs do their own thing when it comes to lib files like chromatix. I wouldn't apply this without first looking into it on a custom. For stock rom, this is a must have. For rom developers, I hope they refer to this and not to the Moto stock libraries. But there's no guarantee any of this will work or even be beneficial once you're off the reservation.

Sometimes over sharpening looks good!

If it does I haven't seen an example of it yet.
People can still get decent shots with the stock cam and libs under the right circumstances, but that's not because the sharpening enhances it- rather it looks good DESPITE it. Imagine how much better the picture would be without some filter mucking up the contrast in things like text and fine brick details!
 

ugupta100

Senior Member
Jun 28, 2015
137
24
0
Custom ROMs do their own thing when it comes to lib files like chromatix. I wouldn't apply this without first looking into it on a custom. For stock rom, this is a must have. For rom developers, I hope they refer to this and not to the Moto stock libraries. But there's no guarantee any of this will work or even be beneficial once you're off the reservation.



If it does I haven't seen an example of it yet.
People can still get decent shots with the stock cam and libs under the right circumstances, but that's not because the sharpening enhances it- rather it looks good DESPITE it. Imagine how much better the picture would be without some filter mucking up the contrast in things like text and fine brick details!

Yeah I wish they had raw enabled in the stock app atleast. Waiting for my warranty to get over.
 

ugupta100

Senior Member
Jun 28, 2015
137
24
0
Why wait 1year for warranty? If device had any nook, you will know within 3 months and if you are interested in waiting give it atleast 6 month. You will know the quality of the product.

Yeah but i don't feel good ditching the warranty. Anyway waiting for official oreo. Camera is not that important to me.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 29
    I've modified the calibration on the g5+ I've reduced noise reduction strength by using the calibration from the Google pixel also disabled luminance noise reduction left only color so image maybe a lil grainy.

    In the chromatix libs I've disabled
    Adaptive Bayer Filter - Blurs the image
    ASF 5*5 7*7 9*9 - Sharpness the image
    Chroma Suppression
    CAC

    To copy libs use Solid Explorer to copy the libchromatix to /system/vendor/lib/

    The libmm lib also goes in the same vendor lib folder

    Use Case Test it in low light it Bins the sensor in sum mode to collect more light by merging pixel charges but because binned the image res is reduced to to 2016 x 1512

    I would backup your stock files before copying new ones happy testing
    IMG_20170510_075835401_HDR by defcomk, on Flickr

    IMG_20170510_075756537_HDR by defcomk, on Flickr
    17
    Now we need an app to toggle back and forth with ease! Or a Tasker routine. I wish I knew how to do it.

    What about a magisk Module? Hit thanks if helped you ;)
    7
    Also, here you have a flashable zip if you don't care... This one is without libmm.
    5
    Moto G5+ being a relatively popular phone -- and considering it has a good camera sensor, pictures of which are only downgraded in quality due to bad processing, why don't we see a more organized effort to create a solid mod from the community to fix it?

    The only way forward is HDR+ that's what I use don't use stock anymore
    https://www.instagram.com/p/BauzLiEhHrH/

    https://www.instagram.com/p/BasNb7vBO6P/
    https://www.instagram.com/p/BasOrYhh65r/
    https://www.instagram.com/p/BavN8RXhLdI/

    Some HDR+ shots
    4
    Various comparisons with/without modded libs

    Stock LIb vs Chromatix (excluding Libmm binned version) :
    1. Stock :
    IMG_20170516_211047439_s_1.jpg

    2.With Chromatix :
    View attachment 4151845

    With and without Binned lib (libmm )

    1.with stock libmm
    IMG_20170516_201846913_c.jpg

    2.with binned libmmIMG_20170516_202703193_m.jpg


    Note : Use Libmm only when in very low light conditions , else chromatix libs replacement is enough .

    Also the effects of chromatix + Libmm is quite visual only in low light conditions .
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone