OnePlus 5/5T Front Camera Fix (V6.2)

About the fix:

  • It modifies the front camera library to enable portrait, hdr+, raw, etc, and reduces the "dot pattern" issue.
  • Credits go to defcomg/savitar, Arnova8G2, shadowstep, and everyone that worked on previous versions.
  • Android versions: Android 7, 8, 9, 10, 11, 12.
  • Requirements: Magisk.
  • Limitations: The front camera resolution is reduced to 4MP.
  • Suggestion: Perform a TWRP backup before applying the fix in case something goes wrong.
  • All versions: v1, 2, 2.2, 2.3, 2.4, 2.5, 3, 4, 4.1, 4.2, 4.3, 4.41, 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7, 6.0, 6.1, 6.2.

Downloads:

OnePlus 5 & 5T:

Instructions:

Using Magisk:

  1. Download and install the module via the Magisk Manager.
  2. Reboot.

Using TWRP:

  1. Download the zip and install it via TWRP.
  2. Reboot.
  3. Repeat these steps every time you update your ROM.

How to remove the fix:

Magisk:

  1. Open Magisk Manager.
  2. Delete the module.
  3. Reboot.

TWRP:

  1. Dirty flash your ROM.

Changes:

This was shared by shadowstep:

  • Fixed a mistake in the installation script

Plus the changes from 6.1:

  • Added support for Android 12
  • Updated the base template to MMT-Ex v1.7

Final notes:

  • Credits: Arnova8G2, defcomg/savitar, Ch3lly, txx1219, shadowstep, Urnyx05, MrAimenify, fjsferreira, and many others.
  • Update alerts: telegram, rss feed, pushbullet, twitter