OnePlus 3/3T Front Camera and Slow Motion Fix

There are two "camera fixes" for the OnePlus 3 and 3T:

Front Camera Fix (enables 16MP on the 3T, RAW, etc) » About the fix: It modifies the front camera library and enables features like portrait mode, hdr+, raw, etc.

Enables 16MP for the front facing camera on the 3T. Android versions: Android 7+.

Android 7+. Requirements: Magisk or TWRP recovery.

Magisk or TWRP recovery. Bugs: Front camera too dark on some legacy apps; Pink pictures on some Pie ROMs. Downloads: One .zip for Magisk and TWRP: Version 2.2: op3frontcamfix-8.zip Instructions: Using Magisk: Download and install the module via the Magisk Manager. Reboot. Using TWRP: Download the zip and install it via TWRP. Reboot. Repeat these steps every time you update your ROM. How to remove the fix: If you used TWRP: dirty flash your ROM.

If you used Magisk: open Magisk Manager, delete the module and restart. Final notes: Fix created by defcomg and shared on this thread. Currently maintained by MarcAnt01.

(For developers) defcomg explains how he modified the files: imx179, imx371.