[OnePlus 5T  Themes, Apps, and Mods] aillez:
{DEPRECATED}

This project won't release a new version because I see no reason for that since modified lib v.2.3 is working fine on OP5/5T without breaking OOS functionality.

Hi guys,

After intensive try. I’ll glad to tell you that I just found the way to fix GCam Front facing camera portrait mode without using Magisk module. (which break Face Unlock functionality in OOS)

Instead, my method will

dynamic change library

only when needs to use GCam and you can revert to default binary, then you still can use Face Unlock.

THIS MOD WAS TESTED WITH OXYGEN OS OREO ONLY

Warning:

Your warranty is now void.

I am not responsible for bricked devices, dead SD cards, your phone won’t boot. Use it at your own risk

Prerequisite:

1.	Root with

Magisk (My app/script only test with Magisk)

2.

Busybox NDK (Magisk Module)

3.

My file.

4.

Disable all lib fix module. (prevent confliction)

5.

Recommended Gcam APK: https://www.celsoazevedo.com/files/android/google-camera/dev-arnova8G2/

How to:

Ver 3.5.1

1.	Download my file here View attachment 4514578 and don't move to another folder. (should be in Download folder or XDA folder)

2.	Install this app from the archive (FixGCam-by-aillez-Unified-V.3.5.zip)

3.

Allow storage permission of my app. Long Press the app and choose App info > Permission > Storage > Enable it.

4.	Open the app and tab

Read me/Tutorial button

and read it first.

5.	Tab Create required file button.

6.	Wait until it shows toast about "Required file has been created"

7.	Auto-Mode is Fix binary and automatic revert after screen off. (It'll ask for root permission)

8.	Manual Fix and Revert is for a user who wants to trigger it by their design time. (It'll ask for root permission)

9.	Pick GCam dialog will show after you fix binary (either Auto-Mode or Manual) PS. Only supported for Pixel2Mod and Pixel3Mod by Arnova8G2

10.	If you think this mod helps your life better and it worth for some donation. Please help donate :)

Troubleshooting.

1.	If you get "Archive not found" when tab Create required file >>> Download My file first.

2.	If you get "You don't have a required file" >>> Tab Create required file button.

3.	If you get "Busybox not found" >> Install it.

4.	If Create required file doesn't say anything to you. (report by some users).

You need to create a folder name "FixGCam-by-aillez" in internal storage and extract file from archive to there. (As a workaround) Folder structure should be like this.

and you should not tab Create required file

.

5.	After I fix binary Gcam still don't work/Capture Pink image. What should I do?

Sometimes Gcam already running before change library and load default binary. Fc Gcam and try again will help.

Updated: Should be fixed in V.3.5.1

---------------------------------------------------------------------------------------------------------------------------------------------------------default-----------------------------------------------------

Tutorial + Demo for V.3.0
[YOUTUBE]aelumI-U7AM[/YOUTUBE]

Ver. 3.0
1.	Download My file here [ATTACH]4503243._xfImport[/ATTACH]
2.	Extract it to your root of internal storage (/storage/emulated/0) [U][B]otherwise my script won’t work.[/B][/U]
3.	Looking for App folder you will find 2 APK. Install it.
4.	When you need to use GCam.[B] [U]Launch 01_FixBinary_by_aillez app[/U][/B]. Give it root permission and wait for it to say "GCam Binary is Fixed"
5.	If GCam still take Pink image. Force close GCam and try again.
6.	When you done using GCam. [B][U]Launch 02_02_RevertBinary_by_aillez app. [/U][/B] Give it root permission and and wait for it to say "Reverted to Stock Binary Completed".
7.	Enjoy using Face Unlock, OOS Cam all functionality.

That’s it. Enjoy :D

All credit goes to who made this happen

[MENTION=377973]defcomg[/MENTION] (SavitarZA) for Portrait Fix binary.

[MENTION=4470081]topjohnwu[/MENTION] for Magisk

[MENTION=4544860]osm0sis[/MENTION] for Busybox Systemless

[MENTION=3578456]txx1219[/MENTION] for his finding of solution for camera2api

[MENTION=4860033]Arnova8G2[/MENTION] for Dot fix and GCam Mod.

Not necessary but If you like my work and wanna buy me some coffee.

Donation: https://www.paypal.me/aillez

Changelog:

V.2 - Added SManager method.

V.2.1 - Repack for new binary to use with OOS 5.1.x (Android 8.1)

V.2.2 - Repack new dotfix lib by Arnova8G2 and colour fix lib by Savitar (aka Defcomg).

V.3.0 - Big Update....Release as an app. No more Tasker and SManagers thing.

V.3.5 - Combine 2 APK to 1 APK (from V.3.0)

Added Application interface.

Bring back automatic mode and added create required file.

Added Pick GCam version dialog after fix binary (Pixel2Mod and Pixel3Mod)

Added error-handling. Should be easier to know what wrong and how to fix it.

V.3.5.1 - Updated lib from Arnova8G2 v. 2.2

Added loop for Force close Gcam after fix binary (should solved all pink image after fix binary)