OnePlus 5/5T Front Camera Fix (V2.3)
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: CameraLibFix-Magisk-v2.3.zip;
- TWRP: CameraLibFix-TWRP-v2.3.zip;
- File manager: files-v2.3-op5.zip;
OnePlus 5T:
- Magisk module: magisk-Camera_lib_fix_dots+hdr+_4mp-op5t-V2.3.zip;
- TWRP: twrp-Camera_lib_fix_dots+hdr+_4mp-op5t-v2.3.zip;
- File manager: files-v2.3-op5t.zip;
OpenBeta 11/13:
New OpenBetas require a different fix. The files above will result in the default camera failing to work.
OnePlus 5:
- Magisk module: OB_13OP5_CameraLibFix-Magisk-v2.3.zip;
- File manager: OB13_5_files_2.3.zip;
OnePlus 5T:
- Magisk module: OB11_5T_magisk-Camera_lib_fix_dots+hdr+_4mp-op5t-V2.3.zip;
- File manager: OB11_5T_files_2.3.zip;
Pixel 2 colour profile (optional):
After installing the fix (links above), you can also try the Pixel 2 colour profile.
New Pixel fix:
- Magisk module: Savitar's-full-pack-with-overexposure-fix.zip;
- File manager: files-savitar-full-pack-with-overexposure-fix.zip;
Old Pixel fix:
- Magisk module: magisk-pixel2-colour-profile-op5-5t.zip.zip;
- TWRP: twrp-pixel2-colour-profile-op5-5t.zip.zip;
- File manager: files-op5-5t-fix-v2-pixel-2.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
Using a file manager (root):
- Download and unzip the .zip file
- Using a file manager (eg: MiXplorer), move:
libmmcamera_imx371.so
to/system/vendor/lib
libmmcamera_imx398.so
to/system/vendor/lib
camera.msm8998.so
to/system/vendor/lib/hw
- Make sure the permissions for all files are 644
- Reboot
- Repeat these steps every time you update your ROM
Using Tasker:
How to remove the fix:
- If you used a TWRP zip/manually moved the files: dirty flash your ROM
- If you used Magisk: remove the module and restart
Final notes:
- This version (v2.3) was posted by Arnova8G2 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, bluesky, mastodon