Code:

2018.07.22 - Based on new version 2.8.11. - Code base cleaned to prevent some errors. - Not adapted to OP6 yet ! 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