OnePlus 5/5T Front Camera Fix (V5.0)

A new update for this fix is available here.

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.
  • Requirements: TWRP recovery or 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, 6.3.

Downloads:

OnePlus 5 & 5T:

Note: the TWRP zip wont work if you change the file name.

(Optional) Pixel 2 colour profile:

After installing the fix (links above), you can also try the Pixel 2 colour profile:

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:

Automatically:

  • Flash the zip file again and it should reverse all changes.

Manually:

  • If you used Magisk: remove the module on Magisk Manager and restart.
  • If you used a TWRP zip: dirty flash your ROM.

Final notes:

  • This version was posted by shadowstep here.
  • Credits: Arnova8G2, defcomg/savitar, Ch3lly, txx1219, shadowstep, Urnyx05, MrAimenify, fjsferreira, and many others.
  • Update alerts: telegram, rss feed, twitter, mastodon