OnePlus 5/5T Front Camera Fix (V2.3-updated)
About the fix:
- It modifies the front camera library to enable portrait mode, 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 8 (use v3 or higher for Android 9).
- Requirements: TWRP recovery or a rooted phone.
- Limitations: The front camera resolution is reduced to 4MP (OnePlus bug).
- 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, 7.0.
Downloads:
OnePlus 5:
- Magisk module: OP5-CameraLibFix-Magisk-v2.3-OB16.zip
- TWRP Treble: OP5-CameraLibFix-TWRP-Treble-v2.3-OB16.zip
- TWRP Non Treble: OP5-CameraLibFix-TWRP-NonTreble-v2.3-OB16.zip
OnePlus 5T:
- Magisk module: OP5T-CameraLibFix-Magisk-v2.3-OB14.zip
- TWRP Treble: OP5T-CameraLibFix-TWRP-Treble-v2.3-OB14.zip
- TWRP Non Treble: OP5T-CameraLibFix-TWRP-NonTreble-v2.3-OB14.zip
(Optional) Pixel 2 colour profile:
After installing the fix (links above), you can also try the Pixel 2 colour profile:
- Magisk module: OP5-5T-Pixel2Colours-Magisk-v2.0.zip
- TWRP (Treble): OP5-5T-Pixel2Colours-TWRP-Treble-v2.0.zip
- TWRP (Non Treble): OP5-5T-Pixel2Colours-TWRP-NonTreble-v2.0.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 a TWRP zip: dirty flash your ROM.
- If you used Magisk: remove the module and restart.
Final notes:
- This version (v2.3-updated) was posted by shadowstep here.
- Thanks to everyone that worked on this fix and files: Arnova8G2, defcomg/savitar, Ch3lly, txx1219, shadowstep, Urnyx05, etc.
- (For developers) defcomg explains how he modified the files: imx179, imx371.
- Update alerts: telegram, rss feed, twitter, mastodon