yashsingh1/xdaforums huggingface dataset:
[OnePlus 5T  Themes, Apps, and Mods] pankajsammal:
I have attached the original lib files from OP5..
[OnePlus 5T  Themes, Apps, and Mods] pankajsammal:
I have attached the original files form op5
[OnePlus 5T  Themes, Apps, and Mods] Arnova8G2:
I just did a lightroom test with the last module and it works perfectly.

Changelog of V2.3:

- Fixed the green hue on all cameras using Raw Mode

No dots on raw mode
[OnePlus 5T  Themes, Apps, and Mods] pankajsammal:
for me after installing the op5 dot fix v2.3 module the lightroom mobile and open camera apps are not able to save the dng file, to use those apps I have to disable the module in magisk and restart the phone.

Maybe this is because I'm on open beta 12 for OP5.

I have attached a log file below if you want to look into it.
[OnePlus 5T  Themes, Apps, and Mods] Arnova8G2:
I had bug reports that the beta have bug, I am going to look at the logcat, but I do not change the lib too beta because it will make me work too hard for sorry.
[OnePlus 5T  Themes, Apps, and Mods] pankajsammal:
It's fine, I can understand that the beta are too frequent to fix the issues for. Thats why I'm fine using aillez app to get the google camera working.
[OnePlus 5T  Themes, Apps, and Mods] hasbrone:
Hi [MENTION=2696272]aillez[/MENTION]

What happen with file "libmmcamera_imx398.so"?

I need to create a Script (SH) for replace this files:

libmmcamera_imx371.so

libmmcamera_imx398.so

camera.msm8998.so

libchromatix_imx398_3a_4656x2608_30fps_preview.so

libchromatix_imx398_cpp_4656x3496_30fps_preview.so

libchromatix_imx398_cpp_4656x3496_30fps_preview.so

libchromatix_imx398_isp_4656x3496_30fps_snapshot.so

Can you help me?

Please!

Thank you.
[OnePlus 5T  Themes, Apps, and Mods] aillez:
That file just added in dotfix v 2.3.

my latest mod released with v 2.2.

I can't give you ETA for the new version, I'm quite busy.
[OnePlus 5T  Themes, Apps, and Mods] Rajeev:
Can anyone share old v2.2.zip?
[OnePlus 5T  Themes, Apps, and Mods] $ideWinder:
https://www.celsoazevedo.com/files/android/google-camera/op5fix/v2.2/
[OnePlus 5T  Themes, Apps, and Mods] Rajeev:
Thanks for this
[OnePlus 5T  Themes, Apps, and Mods] Void_Dragon07:
This worked flawlessly with the previous beta build but doesn't work anymore ;-; admin do something i need my portraits

---------- Post added at 07:10 PM ---------- Previous post was at 06:26 PM ----------

This worked flawlessly with the previous beta build but doesn't work anymore ;-; admin do something i need my portraits
[OnePlus 5T  Themes, Apps, and Mods] aillez:
sorry, I won't release new version anymore.

{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.
[OnePlus 5T  Themes, Apps, and Mods] Void_Dragon07:
:crying::crying:
[OnePlus 5T  Themes, Apps, and Mods] NikeNJ:
Hey

I just installed the latest Test-RGGB-Pixel3Mod-Arnova8G2 version of gcam. I then installed your app and created file. Also I had success with auto mode then it asked me what version of gcam are you using so I chose pixel3mod.

Nothing happened afterwards and when I tried to open gcam it was showing black screen and buttons of camera. I am also not able to use stock camera app. Even after manually revert binary.

Then I tried rebooting and after that I can't even open your app now.

Please help me out of this mess.
[OnePlus 5T  Themes, Apps, and Mods] aillez:
what is your rom?

Any backup before using my mod?

Sent from my Oneplus 5T
[OnePlus 5T  Themes, Apps, and Mods] NikeNJ:
No worries now it's fixed after flashing v2.3 lib.

Thanks for the help
[OnePlus 5T  Themes, Apps, and Mods] parthiban137:
Im facing pink image issue in the latest OB after opening thro this app . Whats the workaround ?

---------- Post added at 10:34 PM ---------- Previous post was at 10:33 PM ----------

Share me the link of v2.3 . is it magisk module ?
[OnePlus 5T  Themes, Apps, and Mods] NikeNJ:
https://www.celsoazevedo.com/files/android/google-camera/op5fix/
[OnePlus 5T  Themes, Apps, and Mods] parthiban137:
I Tried this OB11 fix , but it breaks the camera functionality. Im unable to open the camera after flashing thro magisk. I had to disable it for my stock camera to work ... Any suggestion pls
[OnePlus 5T  Themes, Apps, and Mods] aillez:
This mod use lib only for Stable build does not support beta build.
[OnePlus 5T  Themes, Apps, and Mods] MsuatafaKhatab:
Is this working with last version stable 5.1.5

تم الإرسال من ONEPLUS A5010 باستخدام Tapatalk
[OnePlus 5T  Themes, Apps, and Mods] aillez:
No.
[OnePlus 5T  Themes, Apps, and Mods] Vighnesh mesta:
Some times camera automatically turnsoff while capture a photo
[OnePlus 5T  Themes, Apps, and Mods] aillez:
This mod is not maintain anymore, sorry.
[OnePlus 5T  Themes, Apps, and Mods] Fl4v10:
My portrait mode is kinda working. It gives my a pink hue. Any way to fix this?
[OnePlus 5T  Themes, Apps, and Mods] aneesh12:
which gcam you are using?
[OnePlus 5T  Themes, Apps, and Mods] Fl4v10:
Arnova v16

---------- Post added at 04:31 PM ---------- Previous post was at 04:21 PM ----------

I have another problem, face unlock is not working and I can't get it to work anymore even if have uninstall and delete tasker, the magisk module and tasker files. It's says it's being used by another app.
[OnePlus 5T  Themes, Apps, and Mods] gunyz:
Thanks for keeping up the good work. Waiting for updates
[OnePlus 5T  Themes, Apps, and Mods] aillez:
Updated OP.

Added option 2 which don't require Tasker.

Enjoy!!! :D:D:D:D:D
[OnePlus 5T  Themes, Apps, and Mods] aillez:
You need to revert binary to default one with my task (02-RevertBinary)
[OnePlus 5T  Themes, Apps, and Mods] aneesh12:
working like charm..tysm bro
[OnePlus 5T  Themes, Apps, and Mods] Jamie_oppo:
Thanks a lot. Used tasked and it worked on ob 3. So it should revert when the screen is off too?
[OnePlus 5T  Themes, Apps, and Mods] arjun2312:
Which cam are you using, mine is still showing black screen
[OnePlus 5T  Themes, Apps, and Mods] aillez:
:) great.

Yes, It should.
[OnePlus 5T  Themes, Apps, and Mods] aneesh12:
https://xdaforums.com/oneplus-5t/themes/app-google-camera-mod-oneplus-5t-t3747987
[OnePlus 5T  Themes, Apps, and Mods] arjun2312:
I have the same but it shows black screen without portrait fix from magisk . Any specific steps you took . Downloaded the script had a widget and it shows exit =0 , my oos cam doesnt work on running script but gcam still doesn't work
[OnePlus 5T  Themes, Apps, and Mods] aillez:
Try disable HDR+ For front camera.

By the way did you force close GCam after run my script?
[OnePlus 5T  Themes, Apps, and Mods] arjun2312:
Did that but no luck , beta V15 is working fine with magisk potrait mode nothing else works. Don't know what's causing problem. Your script is working fine as my oos front camera breaks on running it.
[OnePlus 5T  Themes, Apps, and Mods] aillez:
another thing to try is clear GCam data/reinstall GCam.
[OnePlus 5T  Themes, Apps, and Mods] Fl4v10:
Working great now with the second method. Thanks alot!
[OnePlus 5T  Themes, Apps, and Mods] arjun2312:
Yo got it working . Thanks a ton . Have to clear dalvik and cache both using recovery and then reinstall the app. I was wondering, is there any app or module which can create a widget to take me directly to potrait mode selfie of GCAM.
[OnePlus 5T  Themes, Apps, and Mods] aillez:
I can only think of Tasker + Autoinput. (that's what I'm using)
[OnePlus 5T  Themes, Apps, and Mods] arjun2312:
If you don't mind sharing the settings .
[OnePlus 5T  Themes, Apps, and Mods] aillez:
This is how my task looks like.

You need find which point for AutoInput to simulate tab to.

I hope this can give you some idea.

:)
[OnePlus 5T  Themes, Apps, and Mods] MMWolverine:
I'm getting this on OP5, Magisk 15.4, Busybox NDK 1.28.1 installed.
[OnePlus 5T  Themes, Apps, and Mods] aillez:
Can you help to run this in terminal?

cat /proc/mounts > /sdcard/mount.txt

and attached it mount.txt here.
[OnePlus 5T  Themes, Apps, and Mods] MMWolverine:
File attached.
[OnePlus 5T  Themes, Apps, and Mods] satishenl:
Everything works, except I have Pink Hue on front camera portrait mode. All other modes work fine though. Any fix for this. Using the camera from https://xdaforums.com/oneplus-5t/themes/app-google-camera-mod-oneplus-5t-t3747987 I am on OOS OB3.

Edit: It happens if you have tasker locked via app locker :) Now it is working like a charm. Thanks OP for the great tasker script.

---------- Post added at 01:28 PM ---------- Previous post was at 12:49 PM ----------

Do you have tasker locked via app lock? That caused me the same issue and removing it from app lock fixed pink hue.
[OnePlus 5T  Themes, Apps, and Mods] Fl4v10:
I don't have the pink hue anymore but i'm using Smanager and not Tasker.
[OnePlus 5T  Themes, Apps, and Mods] Danish0753:
Use that gcam APK

https://drive.google.com/file/d/1aepqbhnJmT-sDpF6_kYjvTDRxLLLjvEY/view?usp=drivesdk
[OnePlus 5T  Themes, Apps, and Mods] aillez:
It's almost identical to mine.

Not sure why it doesn't work. Might need to test more.

Thank you for your report.
[OnePlus 5T  Themes, Apps, and Mods] aillez:
use this version.

https://www.celsoazevedo.com/files/...oogleCamera-Pixel2Mod-Arnova8G2-V6-Beta15.apk
[OnePlus 5T  Themes, Apps, and Mods] shubhamnaik:
It show black screen only and the camera force closes.

I tried clearing cache/installing the app again nothing works
[OnePlus 5T  Themes, Apps, and Mods] satishenl:
Could you please mention your OS (Stable or Beta), Magisk or SU etc details..
[OnePlus 5T  Themes, Apps, and Mods] saccentekennedy:
Hey, does anyone know why the camera will keep FCing, or need to have data cleared and force stopped a bunch of times sometimes just to get front portrait to work with the fix? Does anyone know how to fix this? When it works it's amazing, but it can take forever just to get it working sometimes.
[OnePlus 5T  Themes, Apps, and Mods] more_than_hater:
a crutch for crutch. well, that's not the way how it should be.
[OnePlus 5T  Themes, Apps, and Mods] gunyz:
Hey man

I wanted to thank you for your work because your scripts are so useful as I am using them like 20 times a day at least. I am using the second option right now with sManager and the scripts files because it's less buggy than tasker (sometimes tasker doesn't do its job properly) and it's more reliable.

But my question : is it possible to get notifications when I click on the sManager shortcuts like with Tasker widget. I mean is it possible to not have that sManager window opening or at least close by itself when it does its job. I hope you understood what I said there lol

Anyhow thanks buddy ;)
[OnePlus 5T  Themes, Apps, and Mods] aillez:
I got you.

Extract this zip to scripts folder.

It's a dirty way but works great.

This script will close SManager after run successfully.
[OnePlus 5T  Themes, Apps, and Mods] aillez:
Which version of Gcam you use? I only test with this version.
[OnePlus 5T  Themes, Apps, and Mods] gunyz:
Perfect it's working thanks ?
[OnePlus 5T  Themes, Apps, and Mods] L22EEW:
If I were to use the tasker option, would I need to un-install that Magisk (FRONT CAM PORTRAIT FIX) module first - before using your Tasker version/fix?

I did have a quick read through this thread, but couldn't see an answer.
[OnePlus 5T  Themes, Apps, and Mods] aillez:
Yes, you need to uninstall magisk module first then reboot.

After that you can use my mod.
[OnePlus 5T  Themes, Apps, and Mods] saccentekennedy:
That's the one I'm using.
[OnePlus 5T  Themes, Apps, and Mods] Youtube_Ll0r3nt3:
Work in nougat oos?
[OnePlus 5T  Themes, Apps, and Mods] aillez:
Wierd. For me, it's working every time.

Unfortunately, No.
[OnePlus 5T  Themes, Apps, and Mods] saccentekennedy:
So, you never have to occasionally go in and clear the app's data completely and restart it?
[OnePlus 5T  Themes, Apps, and Mods] aillez:
Never.

You can take a look at this test video.

First I launch Oneplus Cam to take my pic via front-facing camera.

then I launch my Task of Tasker.

then Shoot in Front-facing portrait mode.

then screen off to revert binary automatic.

and yes after second screen on my Face Unlock working as expected again. (for the first screen on it's too fast than camera service is initial.)

[YOUTUBE]lun53UyVxwY[/YOUTUBE]
[OnePlus 5T  Themes, Apps, and Mods] saccentekennedy:
Ah... I launch the task first, then open the camera app... In fact, I modified the task to launch the camera automatically.

For now I've modified the task further to clear camera data before launching it. It now works every time, I just have clear the initial permissions first.
[OnePlus 5T  Themes, Apps, and Mods] aillez:
You need to have some wait time before launch Google Camera because it takes some time to initial camera service after replace binary. :)
[OnePlus 5T  Themes, Apps, and Mods] saccentekennedy:
Just as an update, I have now modified the task to just clear camera cache before launching it and that works.
[OnePlus 5T  Themes, Apps, and Mods] FF7CloudsNobody:
Haven't really used Tasker or auto voice before but is there a way to have your script run after phone is unlocked? Found a display unlocked profile and I think there should be a way to integrate that with your fix

Edit: wow, that was easier than I thought

Edit 2: I can't seem to get front cam to work, it's just black. I've tried all apks suggested in here, manually started the revert and the fix to refresh it. Cleared cache and data of apps but it just won't go, front facing video works though.
[OnePlus 5T  Themes, Apps, and Mods] aillez:
Good finding :)

As far as I know default front-facing camera mode on GCam Not working in every version but Front-facing portrait will work with custom binary. (that I used in script)
[OnePlus 5T  Themes, Apps, and Mods] FF7CloudsNobody:
I wasn't able to get that working perfectly either. Some people have said they get everything working with the latest apk but I'm not, I've seen another zip for 5t that puts a file in the hw lib but idk if it would make things work better in your setup or not. Was gonna test it but gave up since I couldn't get everything running within 6 hours. I just switched from my op3 where everything was perfect too lol.
[OnePlus 5T  Themes, Apps, and Mods] shubhamnaik:
Front Facing Potrait Mode works like a charm. but the face unlock is not working , I tried both via Smanager and Tasker, but while unlocking face ot shows "Unscessfull,Please try again "

Please helo
[OnePlus 5T  Themes, Apps, and Mods] FF7CloudsNobody:
Are you waiting a minute for the script to run?
[OnePlus 5T  Themes, Apps, and Mods] aillez:
it takes around 10-15 second to initial camera service after my script run. please try again.
[OnePlus 5T  Themes, Apps, and Mods] shuishi123:
I need help when I try to use option 2 for face unlock.I download smanager from play store. when open files as scripts,it can set on SU,but can't be set on notify. checked help files, if you want to use notify, you must use the smanager (without ad)

I found my problem,you need move manu option,you can find the notify.

another question : after busybox magisk module added,the finger print can't be used. I don't know why. My 5T is on oos OB3
[OnePlus 5T  Themes, Apps, and Mods] AeonAegis:
I've got this error when running script on tasker. Everything fine in SManager, but in tasker the shortcut can't be run. Only show "Tasker granted superuser"
[OnePlus 5T  Themes, Apps, and Mods] ofobarher:
Hey guys! N00b question here:

I installed the app and it works like a charm without any issues. Front camera portrait mode works fine, and I'm not intending to use it as a replacement of the original camera, I just intend to use it on its own when I feel necessary, so my face unlock didn't break, but... When I take a picture with portrait mode using the front camera it does blurs the background very well but the picture ends up looking really processed, and if I try putting a filter on it (i.e. instagram stories color filters) it just looks so bad. Is it normal? Do I have to install that Fix Magisk module that I've read about, I'm not really sure if it's only a problem for me.

Thanks in advance, and thanks for the work OP!
[OnePlus 5T  Themes, Apps, and Mods] FF7CloudsNobody:
The magisk fix module basically just overwrites some files, which this script has as well. It also has the backup of the originals included so there's no need to install the magisk module
[OnePlus 5T  Themes, Apps, and Mods] aillez:
It's normal. It's cause by Camera HAL from Oneplus. Still, don't have any workaround for it.
[OnePlus 5T  Themes, Apps, and Mods] aillez:
Please help describe your device information. eg. device, rom, magisk version, busybox version.
[OnePlus 5T  Themes, Apps, and Mods] AeonAegis:
Device: OnePlus 5

Rom: OOS5 OB5

Magisk Ver: V16.0

Busybox Ver: 1.2.8.1

Thanks
[OnePlus 5T  Themes, Apps, and Mods] Gentilsatan:
Hi

Thanks [MENTION=2696272]aillez[/MENTION] it works really great, everything works perfectly !

But the only version that works for me is : GoogleCamera-Pixel2Mod-Arnova8G2-V6-Beta3 / SManager.

OnePlus 5t OOS 5.0.4

[emoji328][emoji328][emoji328]

\m/
[OnePlus 5T  Themes, Apps, and Mods] prarun2030:
Hi guys, need a small clarification. Does this mod breaks portrait mode as well?
[OnePlus 5T  Themes, Apps, and Mods] AeonAegis:
This mod is a script to have both potrait mode and face unlock (stock front camera) can be used. So when you want to use potrait mode you apply the script, then when you finished using it, you apply another script to revert back.
[OnePlus 5T  Themes, Apps, and Mods] ravepower:
I am using the second option and it works like a charm, thank you for this
[OnePlus 5T  Themes, Apps, and Mods] m.ayaz1148:
With which settings:(
[OnePlus 5T  Themes, Apps, and Mods] gunyz:
Higher HDR setting - higher process time
[OnePlus 5T  Themes, Apps, and Mods] MsuatafaKhatab:
# /system/bin/sh /storage/emulated/0/FixGCam-by-aillez/Scripts/02-RevertBinary.sh

Reverting Oneplus Camera Binary

Segmentation fault

Segmentation fault

Segmentation fault

Segmentation fault

Segmentation fault

Segmentation fault

Magic begin :)

Segmentation fault

Reverted Oneplus Camera binary
[OnePlus 5T  Themes, Apps, and Mods] Mugetzsu:
How would I revert back to stock binary? I tried the two methods but it didn't work for me. Camera doesn't open even if I use the revertbinary script. I'm on OOS nougat
[OnePlus 5T  Themes, Apps, and Mods] aillez:
Nougat is not supported. unfortunately.

You might want to restore /system.
[OnePlus 5T  Themes, Apps, and Mods] cash3603:
3T compatibility

Any chance this works on a 3T running the latest Oreo beta?
[OnePlus 5T  Themes, Apps, and Mods] byAidan:
The second method works perfectly and is easy to use, you are amazing thanks! :)
[OnePlus 5T  Themes, Apps, and Mods] gunyz:
[MENTION=2696272]aillez[/MENTION]

Hi I recently updated to the latest ob on my 5t (with some delay ) but now when I use the smanager Shortcuts it breaks everything including stock camera. Gcam, face unlock and stock camera don't work. The only way the revert back is uninstalling everything and reboot.

Do you think it's not compatible anymore with latest ob5 ?
[OnePlus 5T  Themes, Apps, and Mods] Amanpreetsingh:
I am having the pink hue and also tried your version and after installing i only see a black screen nothing changes. I also haven't tried tasker method coz I don't know how to use it.I don't know how to import your files to tasker .Any help ??
[OnePlus 5T  Themes, Apps, and Mods] hemant_jeengar:
The fix works great. I have modified the script a little bit. Now I just tap on the gcam icon placed on my launcher and it fixes the lib and automatically launches the gcam app.
[OnePlus 5T  Themes, Apps, and Mods] osqbany:
So maybe you will like to upload your script?
[OnePlus 5T  Themes, Apps, and Mods] hemant_jeengar:
I can upload it but the script may vary as the package name of the camera you are using may be different than the one I am using.
[OnePlus 5T  Themes, Apps, and Mods] osqbany:
That's no problem couse everyone can adjust it to his camera type, feel free to send it
[OnePlus 5T  Themes, Apps, and Mods] persieghini:
Go into settings after installing Tasker....and disable begginer mode...a home button should appear at the bottom...

1)click the home button and import the project file

2) profiles should be automatically imported..but if not

Long press the profile tab and select import

3)finally run the project

PS: you need busy box installed first (play store)

Pps: in my experience that pink hue is the app's problem...I tried a different one and that fixed it..it's working perfectly

---------- Post added at 03:58 AM ---------- Previous post was at 03:55 AM ----------

It is compatible...I'm using it right now on OB5

Try reinstalling smanager and creating those scripts again..

---------- Post added at 04:02 AM ---------- Previous post was at 03:58 AM ----------

@aillez

I'm using the smanager method and it's working perfectly BUT

when I revert binary and lock my phone the FIRST time face unlock doesn't work(nothing happens, it just says face not detected no matter how hard I try)

after unlocking with fingerprint/pattern the SECOND time faceunlock works properly and everything is fine...

I personally don't mind this..just putting it out there..
[OnePlus 5T  Themes, Apps, and Mods] aillez:
Thank you for help answer some questions.

I'm not sure about first time face unlock you said.. How long until you try after running script? it might take sometime before camera service is initial.
[OnePlus 5T  Themes, Apps, and Mods] persieghini:
Hmm ok... I'll check it out...it was immediate
[OnePlus 5T  Themes, Apps, and Mods] Amanpreetsingh:
A big thumbs up for the guide mate. :laugh:
[OnePlus 5T  Themes, Apps, and Mods] persieghini:
Yup I'm sorry I goofed :eek:

Waited for 2 secs after running the script and the tried it's working..sorry...should have read the OP and posts :angel:
[OnePlus 5T  Themes, Apps, and Mods] gunyz:
I agree it would be nice if you could share it.

I got it work finally. I made a mistake when I installed the smanager and BusyBox. First I installed smanager and then tried scripts then I realized I forgot to install BusyBox. So I installed it AFTER running the scripts and it broke everything. I had to dirty flash ROM and do steps correctly in order to get it work. So the point is: DO NOT run scripts before installing BusyBox

Anyway thanks
[OnePlus 5T  Themes, Apps, and Mods] hemant_jeengar:
Guys I am having some difficulty regarding sharing my version of script and don't know if it would work for you guys too. But here I am sharing the steps so that you can do it yourself, and its easy too -

1. Open Tasker and goto Tasks Tab

2. Click on Gcam Portrait mode.

3. Click on the + icon at the right bottom.

4. Enter "wait" in filter and click on wait

5. Increase seconds to 3 and press back.

6. Now again click on + icon and select app, then launch app.

7. Select your camera app here.

8. Click back and save script using right icon in top right.

9. Download this icon and place in internal storage.

10 .Now again click on Gcam portrait Mode

11. Click on the warning icon in bottom bar.

12. Select Local media and then select the icon.png

13. Again Save the project by clicking right icon in top right.

14. Its done, now just add tasker shortcut on homescreen as told by OP.

All the credit goes to OP for making this fix available.
[OnePlus 5T  Themes, Apps, and Mods] MsuatafaKhatab:
I got this error

# /system/bin/sh /storage/emulated/0/FixGCam-by-aillez/Scripts/02-RevertBinary.sh

Reverting Oneplus Camera Binary

cp: can't create '/sbin/.core/mirror/system/vendor/lib/libmmcamera2_mct.so': File exists

cp: can't create '/sbin/.core/mirror/system/vendor/lib/libmmcamera_imx371.so': File exists

Magic begin :)

Reverted Oneplus Camera binary
[OnePlus 5T  Themes, Apps, and Mods] kevindorward:
When I run the 01-fix script I get

mount: mounting /dev/block/sde21 on /sbin/.core/mirror/syste failed: Device or Resource busy
[OnePlus 5T  Themes, Apps, and Mods] MsuatafaKhatab:
Which Workaround should I install
[OnePlus 5T  Themes, Apps, and Mods] SpiderNhan:
Script doesn't work for me on OB6. No biggie, I'm just using fingerprint scanner now. Anyone have luck with this on OB6?