FORUMS
Remove All Ads from XDA
OnePlus 6 Development Program

[MOD][2018-02-22] OnePlus Camera M

196 posts
Thanks Meter: 864
 
By txx1219, Senior Member on 4th December 2017, 05:25 PM
Post Reply Email Thread


Samples

Original Camera x Camera M x GCam HDR+ : Sample 1, Sample 2
GCam HDR+ x Camera M : Sample 1
Original Camera x Camera M : Sample 1

Old:
https://i.cubeupload.com/BxqGVT.jpg
https://i.cubeupload.com/slXZ8t.jpg
https://i.cubeupload.com/4o9jFT.jpg (by @vagkoun83)


Don't hesitate to post your settings, samples and comparisons !

Features
  • JPEG quality increased to 100
  • Denoise responsible of the watercolor picture disabled
  • Sharpness adapted before picture been processing to prevent watercolor picture
  • IntelligentHQ : prevent higher ISO than needed in good light situation
  • Possibility of choosing front camera sharpness in Settings

Before installing

If you have installed an update of Oneplus Camera before, you have to understand that the update is "above" the original system application. Because my mod replace the original system application, you will never see a difference because the current app will be the updated app and not the system app.
To remove the update, go into the App Info of Oneplus Camera, press the tree dots in the top right and press "Uninstall Updates". (thanks to @Im_Mattgame for this easier way)


Current settings I use
Sharpness for front camera => 3


Bugs known

Panorama and watermark doesn't work


Changelog
Code:
2018.02.22 
- Quick fix concerning the new feature "IntelligentHQ". It should work more consistently now.

2018.02.21 
- New feature "IntelligentHQ" : In good light situation, Oneplus Camera app tends to use a higher ISO than needed. In order to prevent this, when it's possible, I use automatically the HQ mode to lower the ISO rate. The picture will be more detailed and with less noise thanks to low ISO. Only works in "No-HDR mode", which is the default mode.
- Sharpness decreased in really low-light situations to prevent oil-painted pictures
- Panorama mode should work now (thanks to @DorianX)

2018.02.12 
- Sharpness increased in really low-light situations
- Sharpness decreased in good and mid light situations to avoid too much noise / oversharpening effect
- Noise reduction is applied a bit earlier than before to avoid too much noise. Don't worry for the oil-painting effect I have adapted the sharpness for it
- Remove of the switch for disabling noise reduction in Parameters : It causes too much confusion. I have seen many people asking if they need to enable it or not, so I remove it. When it was enabled, the picture quality was really bad compared to when it was disabled anyway.
- Auto-HDR and HDR is now working like the original Oneplus Camera app
- No-HDR is now by default. It gives better results than Auto-HDR, even when Auto-HDR doesn't not kick the HDR mode
- Code base cleaned and prepared for the next "big" feature :)

2018.01.31 
- Sharpness increased in some bright-light situations
- Sharpness decreased in mid-light and low-light situations to mitigate "oil-painting" effect and others weirderies caused by Oneplus noise reduction. Pictures should be now more "natural", even with Oneplus noise reduction on.
- Renaming of the switch in Settings because it caused confusion concerning the light situation. I added a subtitle which explains how and when it works. I STRONGLY ADVISE YOU TO NOT ENABLE THIS SWITCH.

2018.01.28 
- Noise reduction enabled by default in pictures with ISO between 800 and 3000 (was already by default when ISO was upper than 3000)
- Added a switch to disable noise reduction in low light (ISO between 800 and 3000). Not possible to disable when ISO is upper than 3000 because is really ugly without noise reduction.
- Name of the version is included now in Settings to avoid confusion


2018.01.26 
- Based on original version 2.5.22
- Fix for selfie pictures at 4MP (thanks for the report !)

2018.01.24 
- Remove chroma noise and increase sharpness in bright light
- Overall tune-in depends on the current light situation

2018.01.22 
- Sharpness according to the current light situation has been tuned
- Oneplus noise reduction was not enabled in extremely low-light picture, it should work now.

2018.01.21 
- Luminance denoise is disabled now in Photo Mode. Was responsable of the "watercolor" effect. In counterpart, luminance noise is increased.
- To prevent luminance noise, I decrease sharpness according to the current light situation but 100% of the time, it's better than picture taken by original camera app. Pictures are now on par with GCam HDR+.
- Luminance denoise is enabled only in extremely low-light picture.
- Auto-HDR mode will now never enable HDR mode. Is now like a no-HDR mode.

2018.01.13 
- Portait Mode works
- Modded process affects currently only the Photo Mode (not Portrait Mode, Pro Mode, etc ...)
- Modded process is now customizable with 3 modes : Sharpness level in good light, in low light and for front camera. 1 is the default level use by Oneplus. So if you want to disable the modded process, you should put level 1 in the three modes. 

2018.01.10 
- Panorama works now
- Settings menu revamped

2018.01.09 
- Revert back to the original Oneplus process : better noise reduction
- Sharpness increased to counter-balance the "over-blurring" effect made by original Oneplus process

2018.01.05 
- Based on version 2.5.21
- Use of the alternative Oneplus process
- Sharpness increased
- Switch added in Settings for use of original Oneplus process

2017.12.15 
Based on version 2.5.20 coming from new OxygenOS Oreo update

2017.12.15 
Based on version 2.5.15

2017.12.11 
Based on version 2.5.12

2017.12.07 
Based on version 2.5.11

2017.12.04
First release

Downloads
Magisk Module

Big credits for
@jerkwad
@Youtube_Ll0r3nt3


Previous downloads views
Attached Files
File Type: zip OnePlusCameraM 2018-02-22.zip - [Click for QR Code] (8.00 MB, 40902 views)
The Following 198 Users Say Thank You to txx1219 For This Useful Post: [ View ] Gift txx1219 Ad-Free
 
 
4th December 2017, 05:26 PM |#2  
gaseoso's Avatar
Senior Member
Flag León
Thanks Meter: 61
 
More
Downloading!!
Thanks bro

Enviado desde mi ONEPLUS A5000 mediante Tapatalk
4th December 2017, 06:51 PM |#4  
Junior Member
Thanks Meter: 0
 
More
Anyone got it to work on Oreo beta?
Can't flash. Says zip is corrupt
4th December 2017, 07:33 PM |#5  
OP Senior Member
Thanks Meter: 864
 
Donate to Me
More
Quote:
Originally Posted by Xcal15

Can't flash. Says zip is corrupt

New zip uploaded, can you try again and tell me if it works ? If not, tell me what the recovery shows you and you try to flash it.
The Following 2 Users Say Thank You to txx1219 For This Useful Post: [ View ] Gift txx1219 Ad-Free
4th December 2017, 10:45 PM |#7  
Senior Member
Flag Budapest
Thanks Meter: 321
 
More
Quote:
Originally Posted by cesar_9046

Magisk version?

In bird culture it's considered a bad move.
Why it is so natural to have a magsik version of everything?
You didn't even say a thanks for this mod.
The Following 10 Users Say Thank You to _MartyMan_ For This Useful Post: [ View ] Gift _MartyMan_ Ad-Free
4th December 2017, 10:46 PM |#8  
jordirpz's Avatar
Senior Member
Flag Hospitalet de l Infant
Thanks Meter: 185
 
More
Quote:
Originally Posted by txx1219

New zip uploaded, can you try again and tell me if it works ? If not, tell me what the recovery shows you and you try to flash it.

I have extracted the apk from the Zip and I have copied it into system / priv / camera, I have given it the permissions, and I have restarted. Works. Thank you
The Following User Says Thank You to jordirpz For This Useful Post: [ View ] Gift jordirpz Ad-Free
4th December 2017, 10:57 PM |#9  
OP Senior Member
Thanks Meter: 864
 
Donate to Me
More
Quote:
Originally Posted by jordirpz

I have extracted the apk from the Zip and I have copied it into system / priv / camera, I have given it the permissions, and I have restarted. Works. Thank you

Which permissions have you given ?
The Following 2 Users Say Thank You to txx1219 For This Useful Post: [ View ] Gift txx1219 Ad-Free
4th December 2017, 10:59 PM |#10  
jordirpz's Avatar
Senior Member
Flag Hospitalet de l Infant
Thanks Meter: 185
 
More
Quote:
Originally Posted by txx1219

Which permissions have you given ?

644
The Following 2 Users Say Thank You to jordirpz For This Useful Post: [ View ] Gift jordirpz Ad-Free
4th December 2017, 11:18 PM |#11  
OP Senior Member
Thanks Meter: 864
 
Donate to Me
More
Quote:
Originally Posted by jordirpz

644

Thanks
The Following 4 Users Say Thank You to txx1219 For This Useful Post: [ View ] Gift txx1219 Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread