yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 Themes, Apps, and Mods] ludditefornow:
GCam_5.1.018_24_tele_v0.1a https://drive.google.com/open?id=1RfobiV3FH9ApVYWv2XykmA9_g5d92PO2

GCam_5.1.018_24_tele_v0.1b https://drive.google.com/open?id=1ISTpNO-FTvbzctKi2-M0MWjmAlm5iWZE

Both of these APKs are working well for me on stock Feb Oreo version. The Original Wide was crashing for me on start up. A great improvement for this phone.

I am using MGCB 7.0H_C2API_4.0_Allinone_Full_manual.APK for the wide angle lens and it is playing nice with tele apps above and can have both running at the same time.
[Xiaomi Mi A1 Themes, Apps, and Mods] aneesh12:
guys,any workaround for oneplus 5?
[Xiaomi Mi A1 Themes, Apps, and Mods] firdaauuss:
Mia1 cannot use install cstark wide ?
[Xiaomi Mi A1 Themes, Apps, and Mods] Leero:
Xiaomi Mi A1, flash with Magisk v16.0 fails.

Am i doing something wrong?

- Copying zip to temp directory
- Installing 2x.zip
- A/B partition detected, current slot: _b
- Mounting /system, /vendor
- Device skip_initramfs detected
Archive: /data/user/0/com.topjohnwu.magisk/cache/install.zip
creating: common/
inflating: common/system.prop
inflating: common/service.sh
inflating: common/post-fs-data.sh
inflating: config.sh
inflating: module.prop
***************************
Mi a1 Zoom 2x in GCam
***************************
**************************
Powered by Magisk (@topjohnwu)
**************************
- Found /data/adb/magisk_merge.img
- Mounting /data/adb/magisk_merge.img to /dev/tmp/magisk_img
! /data/adb/magisk_merge.img mount failed...
Failed!
! Installation failed
[Xiaomi Mi A1 Themes, Apps, and Mods] benjoe1:
All of cstark gcam version are fc on startup for me. I tried magsik module for stock and custom roms too. I reboot phone after magisk module activation and install camera apk after restart without success.

Arnova v6 version of gcam is also installed.

I'm on stock 7.1.2 ROM with these magsik modules activated:

- Fixed 30/60/120 fps v2

- Mi A1 Navigation Bar v0.1

- Xiaomi A1 Tweaks v1.4

- Xposed Framework with modules

Maybe it is not working on Nougat...

Any suggestion?
[Xiaomi Mi A1 Themes, Apps, and Mods] ondy182:
Try disabling the "Fixed 30/60/120 fps v2" module
[Xiaomi Mi A1 Themes, Apps, and Mods] xterminater07:
can someone post photos comparison of the new gcam mod vs stock ? If it's good enough, I can purchase the Mi A1 to be my back up phone.
[Xiaomi Mi A1 Themes, Apps, and Mods] FerrarisIV:
Here is an example. Please note that you will find bigger difference in low light situation

https://xdaforums.com/showpost.php?p=75994006&postcount=4
[Xiaomi Mi A1 Themes, Apps, and Mods] benjoe1:
I tried but not helped.

Somebody who is on stock 7.1.2 ROM please reply about usage of this mod.
[Xiaomi Mi A1 Themes, Apps, and Mods] sipollo:
You can try disabling other modules and installing this:

https://drive.google.com/file/d/1l72yH6gf8eEzpi0vM4tqUd0sPg2tDTXl/view?usp=drivesdk

It enables Camera2 API, improves audio in captured video and enables telephoto lens in stock and custom roms. It works with Xiaomi mi6 as well (lineage os). Maybe it's compatible with other Xiaomi and Nougat.
[Xiaomi Mi A1 Themes, Apps, and Mods] whrynox:
Hello! Great to see someone porting Gcam working with telephoto.

However, can you make apk version of this? Or will it cause problems if not rooted? I enabled Camera2 API and EIS thru AIO tool.
[Xiaomi Mi A1 Themes, Apps, and Mods] fahmi182:
Different phone have different ID, can you show how to change ID? if i want code my self? which files and line?

Thank you :)
[Xiaomi Mi A1 Themes, Apps, and Mods] crossxn:
Sorry wrong post
[Xiaomi Mi A1 Themes, Apps, and Mods] cstark27:
This tells you how to do it:

https://xdaforums.com/showpost.php?p=75992770&postcount=3

GCam currently crashes if you try to make it use both "REAR" facing cameras just FYI. So you need to make it use the "FRONT" and "REAR" camera of your choice.
[Xiaomi Mi A1 Themes, Apps, and Mods] benjoe1:
Unfortunately this also not helped to me. I turned off all module of magisk, uninstall everey gcam version, but wide versions of gcam not working for me, always fc at start of program with our without magisk module.
[Xiaomi Mi A1 Themes, Apps, and Mods] daniele.bonfiglio:
When going to lens blur, panorama, and photo sphere modes the app switches back to the main camera. Do you think it could be feasible to have those modes using the Tele lens, too? I know maybe it's of little use, but it could be useful in some occasion. Thanks
[Xiaomi Mi A1 Themes, Apps, and Mods] aneesh12:
[MENTION=2712580]cstark27[/MENTION]

sir, i use oneplus 5 which works in the same way as MIA1 does. when i install your gcam(wide), it force closes. I've attached the log file. please make it compatible for oneplus 5. I'll provide you all the necessary files and I'll be the beta tester.
[Xiaomi Mi A1 Themes, Apps, and Mods] Tiemichael:
I am using 'GCam_5.1.018_24_tele_v0.1a - thank you for providing this!

On my Xiaomi A1 (official ROM) I encounter a few problem:

Starting the camera and also switching from Front to Back (and vice versa) takes quite some time (5sec)

The camera FC depending on the Focus-Distance and Zoom. (I can take close-ups which a FC once in a while, but I if I zoom into distant object (>10m) the app FC every time

I tried to disable/enable various Magisk-Modules but no success.

Any idea how to resolve this behavior?
[Xiaomi Mi A1 Themes, Apps, and Mods] magnet1215:
Some here
[Xiaomi Mi A1 Themes, Apps, and Mods] anujyadava:
Can u share the link for AIO tool
[Xiaomi Mi A1 Themes, Apps, and Mods] FerrarisIV:
Same here, have force close mainly when I try to focus objects
[Xiaomi Mi A1 Themes, Apps, and Mods] whrynox:
My bad it isn't all in one tool but an application that will do the process for you. Here is the link
[Xiaomi Mi A1 Themes, Apps, and Mods] benjoe1:
Anybody try it or make it to work on stock android Nougat ROM?

I don't know there is a problem in my system or can't work on 7.2.1...
[Xiaomi Mi A1 Themes, Apps, and Mods] kentoInJapan:
[MENTION=2712580]cstark27[/MENTION] it would be amazing if you could enable 1080p 60 and 720p120 slow mo.
[Xiaomi Mi A1 Themes, Apps, and Mods] fahmi182:
Thanks, can i ask again? How to lower again adaptive shutter speed your mod?
[Xiaomi Mi A1 Themes, Apps, and Mods] .:Addicted:.:
Same here, previously I tested it inside my room which never made any FC. Now that I'm using it outside, I noticed FC everytime I click capture.

Don't know what's causing FC , distant object or bright scene. Can't capture matlog(don't know why matlog isn't capturing anything ?)
[Xiaomi Mi A1 Themes, Apps, and Mods] sipollo:
Only for testing purpose:

I modified Skulshady's manual version with Cstark27 instructions:

With HDR+ enabled (not enhanced) i can capture every scene i tried.

HDR+ enhanced crashes with good light.

I'm not a developer, i'm not able to fix bugs :(

Apk:

https://1drv.ms/u/s!AnNVEh3KeCSVj89-cYDjz6TFIf6uwA

Magisk module:

https://1drv.ms/u/s!AnNVEh3KeCSVj9BWcE_Jsk203Qe4tg
[Xiaomi Mi A1 Themes, Apps, and Mods] Tiemichael:
Enabling SELinux Permissive speeds up the opening of the app, switching cameras, and at least for me reduces the numbers of FCs significantly
[Xiaomi Mi A1 Themes, Apps, and Mods] .:Addicted:.:
Just install camera lag fix Oreo from magisk repo. No need to set permissive selinux.

Btw selinux permission also won't stop FC on distant bright scene.
[Xiaomi Mi A1 Themes, Apps, and Mods] aleclim234:
Installed cstark's telephoto gcam mod, and apparently crashes on settings, video, and HDR+ on bright scenes. Surprisingly though, HDR+ Enhanced works in the conditions where HDR+ won't work. Can anyone confirm this?
[Xiaomi Mi A1 Themes, Apps, and Mods] brentpl:
In my case (Oreo 8.0, cstark 3.6 Wide) it crashes consistently on high contrast scenes with bright objects against darker background (like a window), both on HDR+ and HDR+ Enhanced. I tkink it would be a good idea to try to modify an older 3.2 Google Camera version, which is much more stable when using non-sony sensors, and also exposes less Bayer-interpolation pattern artifacts on saturated orange and blue areas.
[Xiaomi Mi A1 Themes, Apps, and Mods] robby_tan:
All of 3 modules didn't work with latest PixelExperience ROM 10/04/2018. Any solution?
[Xiaomi Mi A1 Themes, Apps, and Mods] Tinmar98:
same here
[Xiaomi Mi A1 Themes, Apps, and Mods] robby_tan:
Here's a log if necessary.

Does anyone have this problem? Already circling around 3 modules provided here several times but no luck.
[Xiaomi Mi A1 Themes, Apps, and Mods] sipollo:
[MENTION=2712580]cstark27[/MENTION]

Here's the log for the crash we are experiencing when using your app in bright light. If you have time you could look at this. Thanks in advance.
[Xiaomi Mi A1 Themes, Apps, and Mods] cstark27:
I'm not sure I can fix this to be honest or if I have time. I've looked around and it seems like the info sent by the system is causing the crash. There have been a couple versions tweaked to fix it for other Xiaomi devices, but I didn't look at the changes. Not sure if they are still active, but [MENTION=4469618]Dr. Hurt[/MENTION] may know what to change. https://xdaforums.com/showpost.php?p=75209096&postcount=273
[Xiaomi Mi A1 Themes, Apps, and Mods] xxqxpxx:
what are the camera settings with GCam_5.1.018_24_tele_v0.1b ?
[Xiaomi Mi A1 Themes, Apps, and Mods] coolpartha:
Will it work on resurrection remix?
[Xiaomi Mi A1 Themes, Apps, and Mods] sipollo:
You can try and report, in the worst case Gcam will crash.
[Xiaomi Mi A1 Themes, Apps, and Mods] coolpartha:
Okkj
[Xiaomi Mi A1 Themes, Apps, and Mods] sipollo:
I took these photos in bright light with the apk i shared some posts ago.

Unfortunately HDR+ advanced crashes in bright light, but HDR+ on seems to work well.

All photos are from zoom sensor.
[Xiaomi Mi A1 Themes, Apps, and Mods] Bennybtc:
Your apk is great, but whenever i want to open settings. It freezing on settings
[Xiaomi Mi A1 Themes, Apps, and Mods] .:Addicted:.:
& I can't see any settings. I only see blank white setting page.

Thought no settings for your mod
[Xiaomi Mi A1 Themes, Apps, and Mods] arvind7955:
How did you take portrait with gcam? I thought only Mi camera app supports portrait.
[Xiaomi Mi A1 Themes, Apps, and Mods] joeyhuab:
FYI, Google Camera has portrait mode.
[Xiaomi Mi A1 Themes, Apps, and Mods] sipollo:
Try this, it's cstark27 apk slightly modified by me.

Hdr+ should work in all conditions. Let me know.

Settings working.

https://1drv.ms/u/s!AnNVEh3KeCSVj9MS5r7kM2EhI8QeVw
[Xiaomi Mi A1 Themes, Apps, and Mods] Bennybtc:
Hdr+ on works perfectly, hdr+ enhanced doesnt.

Can you use latest cstark27 apk with red camera icon? Because i prefer that ver.

But if you cant, then no prob:o

Edit:

No, you modified cstark27 hdr not working, yes it doesnt crash but the hdr is not working
[Xiaomi Mi A1 Themes, Apps, and Mods] Bennybtc:
Hdr+ on works perfectly, hdr+ enhanced doesnt.

Can you use latest cstark27 apk with red camera icon? Because i prefer that ver.

But if you cant, then no prob:o

Edit:

No, you modified cstark27 hdr not working, yes it doesnt crash but the hdr is not working

Look at the pics, the brighter one is from the cstark27_GCam_5.1.018_24_tele_v0.1a.apk

The darker one is from your modified cstark27 apk

Sorry double post
[Xiaomi Mi A1 Themes, Apps, and Mods] sipollo:
I know. This is the maximum I can do.

You should use hdr+ enhanced in dark areas and hdr+ only when hdr+ enhanced crashes (bright/high contrast areas). I think zsl is not working in Tele lens. Obviously a good developer could fix this, but again i'm a normal user.
[Xiaomi Mi A1 Themes, Apps, and Mods] Rakibboss:
Why it doesn't work on custom ROM?? i tried on several ROM but not working. Can you make it compatible also for custom ROM?
[Xiaomi Mi A1 Themes, Apps, and Mods] sipollo:
If you tried both versions you could try adding:

persist.camera.expose.aux=1

In build.prop and see if it works.

No other ideas.
[Xiaomi Mi A1 Themes, Apps, and Mods] Rakibboss:
I tried. But still not working.
[Xiaomi Mi A1 Themes, Apps, and Mods] cstark27:
Hey buddy. I haven't decompiled the app you posted but did you modify ecu.smali? This should fix HDR ZSL with tele lens.

Ecu.smali on 5.1.018:

move-result v4

const v3, 0x2 <----- add this line. Sets a variable to 2 (Camera ID 2)

if-ne v4, v3, :cond_f <--------- add this line. If v4 is not equal to v3, skip over next line (this means if Camera ID is not 2, then keep the ID number and carry on)

const v4, 0x0 <-------- add this line. Sets the variable to 0 (Camera ID 0). This means that if the Camera ID is set to 2 (Wide Angle app) then we need to make GCam think the ID is 0 for it to do ZSL HDR+ Processing.

:cond_f <-------- add this line for the reference above

:try_start_1

move-object/from16 v0, p0

iget-object v3, v0, Lecu;->c:Licu;

const-string v5, "Starting HdrPlus#ZslShotCapture."
[Xiaomi Mi A1 Themes, Apps, and Mods] sipollo:
Hi!

If i modify ecu.smali according to your instructions HDR+ and HDR+ enhanced crash in bright light. Without modifying it at least HDR+ (not enhanced) doesn't crash and produce an unprocessed shot, but with good light this is fine.

If you could provide a solution to get HDR+ enhanced working in bright light it would be perfect.

Thanks anyway as always.
[Xiaomi Mi A1 Themes, Apps, and Mods] cstark27:
[MENTION=6302075]sipollo[/MENTION]

Test version:

cstark27_GCam_5.1.018_24_tele_a_v0.2test1 : https://drive.google.com/open?id=1bhQyWlZVpvOxFfeDDYwYMhDToIw942Zj

-Rename camera ID toggle switch (this is only useful if your rom has both rear sensors on ID 0 and 1)

-Bright light crash fix test from [MENTION=4469618]Dr. Hurt[/MENTION]'s app

From v3.7 test:

-Added Advanced>Disable ZSL Toggle (this switches between Pixel 2 HDR toggle and Nexus 6 No ZSL HDR toggle)

-Added Advanced>Model so users can experiment with phone Models (only for the rear camera). You do not need to adjust this if you don't want to, the default setting is the same as before (AUTO).

-Added Experimental>Use Hexagon DSP and set it to No by default. This used to be "auto", effectively, and on most Snapdragon phones it would be using the Hexagon DSP in previous versions. In my testing I have found better performance when taking multiple photos quickly, by turning this to "no". Let me know your results...
[Xiaomi Mi A1 Themes, Apps, and Mods] samrattt:
when i click on settings, everytime it gets force closed.device mi a1.crdroid rom.here is the error log:

java.lang.IllegalArgumentException

at iya.a(Unknown Source:4)

at eqs.b(Unknown Source:45)

at eqh.onActivityCreated(Unknown Source:70)

at android.app.Fragment.performActivityCreated(Fragment.java:2517)

at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1299)

at android.app.FragmentManagerImpl.addAddedFragments(FragmentManager.java:2407)

at android.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2186)

at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2142)

at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2043)

at android.app.FragmentManagerImpl.dispatchMoveToState(FragmentManager.java:3032)

at android.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:2979)

at android.app.FragmentController.dispatchActivityCreated(FragmentController.java:178)

at android.app.Activity.performCreate(Activity.java:7005)

at android.app.Activity.performCreate(Activity.java:6990)

at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2763)

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2894)

at android.app.ActivityThread.-wrap11(Unknown Source:0)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1617)

at android.os.Handler.dispatchMessage(Handler.java:106)

at android.os.Looper.loop(Looper.java:164)

at android.app.ActivityThread.main(ActivityThread.java:6577)

at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:470)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:108)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:108)
[Xiaomi Mi A1 Themes, Apps, and Mods] aneesh12:
please make this apk compatible for oneplus 5 too. it force closes whenever i open the app. log is attached
[Xiaomi Mi A1 Themes, Apps, and Mods] samrattt:
[MENTION=2712580]cstark27[/MENTION]

and this error happens when i press on the video icon

::::

java.lang.RuntimeException: java.lang.IllegalArgumentException

at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:480)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:108)

Caused by: java.lang.IllegalArgumentException

at iya.a(Unknown Source:4)

at fho.a(Unknown Source:68)

at daw.a(Unknown Source:289)

at dba.C_(Unknown Source:15)

at bua.b(Unknown Source:113)

at eug.g(Unknown Source:23)

at ffw.onVideoSwitchButtonClicked(Unknown Source:23)

at com.google.android.apps.camera.bottombar.BottomBarController$4.onVideoSwitchButtonClicked(Unknown Source:29)

at com.google.android.apps.camera.bottombar.BottomBarController.lambda$wireListeners$8$BottomBarController(Unknown Source:2)

at com.google.android.apps.camera.bottombar.BottomBarController$$Lambda$8.onClick(Unknown Source:2)

at android.view.View.performClick(View.java:6299)

at android.view.View$PerformClick.run(View.java:24775)

at android.os.Handler.handleCallback(Handler.java:790)

at android.os.Handler.dispatchMessage(Handler.java:99)

at android.os.Looper.loop(Looper.java:164)

at android.app.ActivityThread.main(ActivityThread.java:6577)

at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:470)

... 2 more
[Xiaomi Mi A1 Themes, Apps, and Mods] sipollo:
[MENTION=2712580]cstark27[/MENTION]

Unfortunately only "Auto" model works fine for me and crashes in good light are still here :(

If I enable "disable zsl" option the app keeps crashing.

App could be perfect if you manage to force hdr+ on (not enhanced) in good light.

I experienced some crashes if I force hexagon on or off (maybe not related to this?).

That's my early testing, I'll report if I find something new.
[Xiaomi Mi A1 Themes, Apps, and Mods] Dr. Hurt:
[MENTION=2712580]cstark27[/MENTION]

After fixing the bright light crash in my mod, I got another crash when light conditions are challenging (mostly bright)..

See my screenshot to see where the crash is coming from. I don’t have time to debug and fix. Worth noting that the following crash is

not

caused by my iso fix.

Hope you can somehow hardcode that null to avoid the crash. Good luck.

Edit: Not sure if this needs a fix at ROM level. android_hardware_Camera.cpp
[Xiaomi Mi A1 Themes, Apps, and Mods] whrynox:
A quick noob question though, how do I disable zoom in portrait and video recording? It seems too zoomed in which makes video stabilization useless. I'm using telephoto version.

Thanks.
[Xiaomi Mi A1 Themes, Apps, and Mods] FerrarisIV:
First picture by Stock Camera (2x)

The second by Sipollo Camera

The main object is the butterfly
[Xiaomi Mi A1 Themes, Apps, and Mods] sipollo:
Hi, i updated my module with the fix for WhatsApp camera rotation.

If you haven't noticed yet, camera crashes when you rotate screen in WhatsApp Camera.

V2 of this module fix that issue too.

DOWNLOAD V2
[Xiaomi Mi A1 Themes, Apps, and Mods] samrattt:
if I flash stock rom camera zip in magisk. this tele cam doesn't work it get force closed[emoji17]
[Xiaomi Mi A1 Themes, Apps, and Mods] sipollo:
Can you provide Magisk installation log?
[Xiaomi Mi A1 Themes, Apps, and Mods] samrattt:
u r talking about this log?
[Xiaomi Mi A1 Themes, Apps, and Mods] sipollo:
This:
[Xiaomi Mi A1 Themes, Apps, and Mods] samrattt:
here u go.the peoblem is if I flash 2xalternative.zip in magisk first & then I flash stock cam.zip then cstark cam doesn't work.otherhand If I flash stock cam.zip first, then 2xalternative.zip then cstark cam works but portrait mode gone in stock camera.

https://drive.google.com/file/d/1Z_12yOhNdfh9GvUoiK0dz-_s7V-YDjUd/view?usp=drivesdk
[Xiaomi Mi A1 Themes, Apps, and Mods] sipollo:
Sorry I don't know what the other module changes. Maybe they are incompatible each other.
[Xiaomi Mi A1 Themes, Apps, and Mods] pantezuma:
Hi [MENTION=6302075]sipollo[/MENTION]

I would like to ask you if you could add Open Camera (net.sourceforge.opencamera) to the list.

Additionally I would like yo ask you if it's possible to enable third camera access via terminal emulator (as you can do with EIS and Camera2Api).

I had problems with magisk modules and would prefer to avoid them.

Thanks in advance!
[Xiaomi Mi A1 Themes, Apps, and Mods] sipollo:
I tried with Open Camera but it's not stable and it crashes when you switch cameras.

With rootless method you can only add persist properties in my knowledge.
[Xiaomi Mi A1 Themes, Apps, and Mods] 1princeshivamyadav:
Mi a1 Google pixel camera not working

Hi... I tried installing the gcam app through ur process but after being installed it showing dat the camera app hai stopped.. I tried both by 1.3 and 1.43 but it still continues to show the same statement... I have tried more than 100 times and it shows the same again and again.. please help me getting the gcam work on my device... My device name is xiomi Mi A1...

Thank you
[Xiaomi Mi A1 Themes, Apps, and Mods] Abrahamjolly:
this problem is in evry custom rom tooo!! but not in dot os

I have to disable stock cam magisk module each time to use Gcam 2x

nd the cam doesn't support video recording and settings menu
[Xiaomi Mi A1 Themes, Apps, and Mods] sipollo:
Can you post a link to this module?
[Xiaomi Mi A1 Themes, Apps, and Mods] sikoo1996:
https://drive.google.com/file/d/1URAjSxPmhOvQ2uWaYWNksu9vNn_8YiEb/view?usp=drivesdk

When this module is activated , portrait opt in stock cam disappears and slow motion in arnova gcam lags ..

When it is disabled , portrait opt in stock cam appears and slow motion in gcam works as expected...

This happens in all the roms I tried till today

Edit 1: granted permission [MENTION=6302075]sipollo[/MENTION]

Edit 2 : slow motion lag is not related to this module
[Xiaomi Mi A1 Themes, Apps, and Mods] sipollo:
Try V2 in OP, should enable zoom support in cstark27 wide versions without breaking stock camera. Are you sure slow motion lags are related to my module? They are present even in stock rom. Here's my workaround:

https://xdaforums.com/mi-a1/how-to/slow-motion-finally-oreo-t3782918/post76355005
[Xiaomi Mi A1 Themes, Apps, and Mods] sikoo1996:
Sorry sir , slow motion is not at all related to this module...

And as you said ,I just flashed zip provided in OP , but still the same ..

If both -zoom lens zip and stock cam zip are enabled - stock cam portrait works and gcam tele fc

If stock cam zip disabled , and zoom lens zip enabled - gcam telephoto works good

PS : I am on AOSIP rom
[Xiaomi Mi A1 Themes, Apps, and Mods] sipollo:
Try this, i can't test it because i'm on stock ROM.

Zoom camera should work in cstark27 "wide" porting and miui camera (portrait mode)

Imerged my fix with [MENTION=5997954]ramesh1686[/MENTION] work.

https://1drv.ms/u/s!AnNVEh3KeCSVj9dDZLv1llZXPp49Hg
[Xiaomi Mi A1 Themes, Apps, and Mods] sikoo1996:
Wow , just awesome sirr

IT WORKED!!

now both gcam telephoto and stock portrait working perfectly with this module ...

Thank you so much :)@sipollo
[Xiaomi Mi A1 Themes, Apps, and Mods] joeyhuab:
Thank you so much for this. It's perfectly working for Pixel Experience. Stock ROM camera, Serjo87 mod, cstark wide mod, Pixel 3 mod all working. Appreciate it!
[Xiaomi Mi A1 Themes, Apps, and Mods] DavideLosito:
I second this request if possible.

Open Camera is a great app and works on un-rooted systems.

I don't want to be forced to root to improve that stupid MIUI Camera App which seems to have big quality problems in post process... making bad quality pictures.

So either someone makes an un-root APK of a gCam with dual lens support, or we need telephoto lens enabled in Open Cam. LG and Asus phones can use that, they seem to have the camera exposed natively.

So if we can expose this tele lens on Mi A1, that would be great.