yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] biasiman:
my opinion is that you didn't activate HDR+ :confused:
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] ricardohnn:
I think it didn't have the HDR+ on...

But i must say that in manual mode, the low light lens with a sturdy tripod or support can make better shots...

1 - Gcam - HDR+

https://imgur.com/SmGixU3

2 - Gcam - Night sight

https://imgur.com/NCL8nRm

3 - Mi A2 - HDR on

https://imgur.com/CG1kJqd

4 - Mi A2 - Normal lens - ISO 100 - Shutter speed 32s

https://imgur.com/UiqpoX9

5 - Mi A2 - Low light lens - ISO 100 - Shutter speed 32s

https://imgur.com/A8ef6xc

6 - Mi A2 - Low light lens - ISO 200 - Shutter speed 32s

https://imgur.com/xTQ7Oz2
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] bojan1974:
HDR + is on.......the stock camera is better than before
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Born2rein@gmail.com:
hass31: GCamera.apk (new dev, for the Xiaomi Mi A2 Lite):

https://www.celsoazevedo.com/files/android/google-camera/dev-hass31/#apk553
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] minnuss:
I believe that 7.6MB is Arnova, and 4.4MB is stock, you got it replaced :)
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] biasiman:
I really think that for some reason HDR+ didn't work... with my A2 lite the difference is embarrassing.

https://photos.app.goo.gl/aWEaDCXc4FW1Lb5y9

https://photos.app.goo.gl/NomLCMbRHqNyLFer6

guess no need to tell which one is the arnova...

I think your pictures look too much similar. If HDR+ had triggered I think you would actually see better inside the shops...
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Lurensu:
You know that Mi A2 and Mi A2 Lite are different devices, right?
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Frozenking124:
If anyone found any working gcam for mi A2 pie stable build please do share..only 6.1 builds with working on pie..I have 6.1 camera working super fine in oreo but after pie update it crashes on back camera but selfi camera working don't know why this is happening if any one found any solution give me.... please help
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] amirhashim:
+1
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Sohailsamdani:
Any One Have working Pixel 3 Gcam For Stable Pie??
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] kaku85:
I'm ok with the stock camera.

First photo: Stock auto mode

Second photo: Stock manual (4s 3200 low)
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] deckimbal:
google night mode works without tripod...
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] johnsci911:
Agree

Works like a charm whenever you go
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] kaku85:
I'm in my bed, no tripod here lol

Just knowing how to use stock manual camera
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] safety1g:
Do I need unlocked bootloader to use these?
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] amizera:
GCAM 6 on Pie

crash after open:

1-19 09:30:42.458 833 7844 E mm-camera: <ISP ><ERROR> 172: sce40_select_table: aec_ratio 0.000000

11-19 09:30:42.498 7775 7946 E OisListener: Null pointer for OIS data. OIS API version: 2

11-19 09:30:42.499 833 7853 E libc : Access denied finding property "persist.camera.hist.low"

11-19 09:30:42.499 833 7853 E libc : Access denied finding property "persist.camera.hist.high"

11-19 09:30:42.499 833 7853 E libc : Access denied finding property "persist.camera.hist.drc"

with front camera works ok
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Neel@1234:
This might be helpful to the developers. Thanks for posting this.
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] minnuss:
Can someone who has PIE already and rooted phone please check if those lines exist in build.prop file, I do not think that it can be that simple, but hey, we can check :)

persist.camera.hist.low

persist.camera.hist.high

persist.camera.hist.drc
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Mr.Nice.ba:
No, there is no these lines in build.prop , checked in system and vendor build.prop
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] verttl:
No they don't exists. I noticed same pattern few days ago and added these lines to build and vendor prop:

persist.camera.hist.low=1

persist.camera.hist.high=20

persist.camera.hist.drc=1.2

I think they are from whyreds system.prop file. Those lines didn't make any difference as expected and I still recieved same "Access denied error". I wasn't expecting it to work, but maybe someone who knows what those hist-lines are and what values they should be can offer us a simple fix.
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Mr.Nice.ba:
Can someone confirm, when you add persist.camera.HAL3.enabled=1 in build.prop in Vendor, after reboot there is no line in build.prop. It revert itself to original state. For system build.prop everything you edit is still there after reboot. What is the catch with vendor?
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] minnuss:
[MENTION=2719604]Mr.Nice.ba[/MENTION], maybe you could try this, because I assume you have magisk installed.

There is a Magisk fix for B-S-G Google Camera port - Pixel 3 (6.1.021)

https://xdaforums.com/poco-f1/themes/b-s-g-google-camera-port-developed-mi-8-t3843130
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Mr.Nice.ba:
That magisk fix did not helped. Stil no luck with pixel 3 camera port. Only front cam works for now...
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Neel@1234:
Can anyone take a look at this?

#Expose aux camera for below packages

camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera,com.qualcomm.qti.qmmi

vendor.camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera,com.qualcomm.qti.qmmi

#disable UBWC for camera

persist.camera.preview.ubwc=0

persist.camera.stats.test=0

persist.camera.depth.focus.cb=0

persist.camera.isp.clock.optmz=0

persist.camera.hist.high=20

persist.camera.hist.drc=1.2

persist.camera.linkpreview=0

persist.camera.isp.turbo=1

If we add the package name of gcam in there, would it work?

Found this in - https://github.com/sougata7684/android_device_xiaomi_whyred/blob/master/system.prop

I will try and extract my build.prop by temporarily rooting today.
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Neel@1234:
Okay. So I rooted my phone again and modified these lines in - system/build.prop

#Expose aux camera for below packages
camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera,com.qualcomm.qti.qmmi,com.google.android.GoogleCamera

vendor.camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera,com.qualcomm.qti.qmmi,com.google.android.GoogleCamera

Just as I expected nothing happened. But, I didn't try putting those 'persist.camera.hist' lines. Maybe I'll try doing both at once. But I unrooted my phone again and I am pretty busy today. [MENTION=2719604]Mr.Nice.ba[/MENTION] if you're rooted, could you try doing both at the same time?
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] verttl:
Tried both at the same time without success. Still same "access denied finding" -errors with couple of others in matlog.
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Dks420:
One thing I noticed that if you set "persist.vendor.camera.stats.test" to 1 the Gcam 6.xxx won't crash , but it's unusable as the exposure goes up until you can't see anything.
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Neel@1234:
What brightness? The screen brightness or the exposure?
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] verttl:
Set it to 5 and guess what? It ****ing works!!

Edit. After short testing there's still some random force closes, I couldn't figure the pattern of those yet. I am now able to take HDR+, HDR+ enchanced and night sight photos with my back camera. I tried latest Arnovas and BSGs apks.
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Dks420:
Oops I meant Exposure

---------- Post added at 01:54 PM ---------- Previous post was at 01:51 PM ----------

Omg you're right , yay it's working !
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] wahyu915:
I'm running the official Android Pie vesion that already has the camera2 api enabled on my Mi A2 and I'm getting some dot patterns in certain lighting conditions, I'm trying the lastest arnova gcam mod and I also tried out other gcam mods and the dot pattern is still visible.

[IMG="Dot pattern 1"]https://i.imgur.com/wyYEu9U.jpg[/IMG]

[IMG="Dot Pattern 2"]https://i.imgur.com/O5RlzOn.jpg[/IMG]
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Neel@1234:
Nice. I'll try it right now.
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] minnuss:
[MENTION=6351817]wahyu915[/MENTION], those dots are called focus dots, switch to another gcam port, and it will be less visible.

Try this one.

Arnova's v8.3b1: GCam-5.1.018-Pixel2Mod-Arnova8G2-V8.3b1.apk
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] wahyu915:
Thanks for the quick reply :D the dots are a lot smaller than before but of course when you zoom in they're still there. its fine at least it doesn't look that distracting, so hopefully it'll be fixed soon

---------- Post added at 01:56 PM ---------- Previous post was at 01:47 PM ----------

Also forgot to mention that for some reason only the arnova gcam mods are working on my phone, the others seem to crash at launch. :confused:
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] verttl:
Like mentioned on the previous page set persist.vendor.camera.stats.test to 5 in build.prop and front cam doesn't crash the app immediately.

I thought it would be good to add this info also on this page, because it seems that many people doesn't read previous posts/pages.
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] minnuss:
Maybe someone can interpret and use some of this is in our favor.

Pixel 3 XL

persist.camera.gyro.android=4

persist.camera.tof.direct=1

persist.camera.tnr.preview=1

persist.camera.tnr.video=1

persist.camera.eis.enable=1

persist.camera.is_type=4

ro.camera.notify_nfc=1

Lenovo P2

# Camera

persist.camera.HAL3.enabled=1

persist.camera.isp.clock.optmz=0

vidc.enc.dcvs.extra-buff-count=2

media.camera.ts.monotonic=1

camera.display.umax=1920x1080

camera.display.lmax=1280x720

persist.camera.stats.test=5

persist.camera.feature.cac=1

persist.camera.imglib.cac3=2

camera.lowpower.record.enable=1

persist.camera.gyro.disable=0

camera.hal1.packagelist=com.skype.raider,com.google.android.talk
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Neel@1234:
What is the range of values that

persist.vendor.camera.stats.test

can take? Can it be higher than 5? What does it actually do?
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] minnuss:
[MENTION=9013501]Neel@1234[/MENTION], I googled a little bit, and everywhere the value for stats.test is 5.

Even in Lenovo P2, that I posted...no other values.
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Neel@1234:
Okay, I just set the value to 5 in build.prop. It works flawlessly. But when I unrooted, the value was probably reset and Gcam started crashing again instantly.

After rooting again, it started working again. Any idea what could be causing this?

Every time I unroot, it doesn't work anymore. Any way to unroot and still keep the value?
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] ricardohnn:
I might be wrong... but usually when you have like a multi-test for some functionality... like for example "check if wifi is on, check if wifi can detect other devices, check if wifi can connect/pair, check if wifi can transfer stuff... etc"

Usually each test is consider like a flag, for example "worked test 1,2,3... etc".

When a test doesn't work or it's not tested, the flag is kept like 0 or the test that failed...

This persist sounds so like this kind of test...
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] minnuss:
Adb shell :confused:
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Neel@1234:
setprop persist from adb shell. Already Tried. Same result.
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Mr.Nice.ba:
No focus dots on this one. Everything is working but still random chreshes:

https://xdaforums.com/devdb/project/dl/?id=30804
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] ricardohnn:
well... there's a comment in this prop:

http://ota.xenium.mobi/systemupdate...6/otasingle/X596/X596-2018-7-24/buildT37.prop

#Set PDAF foucs box be hiden

persist.camera.stats.test=5

---------- Post added at 03:50 PM ---------- Previous post was at 03:47 PM ----------

Yeah... as expected:

adb shell setprop persist.camera.stats.test 1 enables and starts the AEC test on the camera app.

https://usermanual.wiki/Pdf/80NK87210MSM8998CameraISPTuningGuide.367500465.pdf
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Mr.Nice.ba:
I have added and set in system build.prop:

persist.camera.stats.test=5

persist.vendor.camera.stats.test=5

So far, working flawlessly. With just persist.vendor.camera.stats.test=5 i have random crashes. Still have to test for longer period of time...
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Neel@1234:
Are you still rooted or did you unroot after making the modifications. After making the modifications, if I try to unroot and then it doesn't work anymore.

UPDATE : I tried it again and this time it stayed after unrooting. I added the persist.camera.stats.test=5 line to build.prop too.

Gcam works perfectly now. Thanks.
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] minnuss:
[MENTION=9013501]Neel@1234[/MENTION], why are you unrooting, when you edited build.prop you already messed with system file, and you lost OTA, stay with the root then.
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Neel@1234:
Then the temporary root method breaks OTA? Even if I just enabled Camera2api?

If it does, what should I do to get OTA again? Just flash the stock system.img using fastboot?

Could I get only the system.img from somewhere for 10.0.1.0? I don't want to download the full ROM.
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] minnuss:
Root is not the problem, you lose OTA when you directly EDIT one of the system files...you altered build.prop, that is why we always want to change some settings with adb shell method :)

Stay with that now and enjoy it, when new OTA come, you will unroot, and flash stock boot.img, and then try to update, if that fail, you will need to flash stock system.img and then do the update.

Don't worry, it's not the end of the world :silly:

Look at [MENTION=2719604]Mr.Nice.ba[/MENTION], his doing this all the time, changing ROM's, playing with it... :good:
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Neel@1234:
Yeah. It seems pretty easy to get OTA updates even if I'm rooted. I just wanted to know where I could get ONLY the stock system.img.
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] minnuss:
[MENTION=9013501]Neel@1234[/MENTION], here you go

https://xdaforums.com/mi-a2/how-to/rom-mi-a2-android-p-server-netherlands-t3868243

And, setprop with those new two lines works, I did it, and now I can use v6 Gcam, but it is still unstable.
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Neel@1234:
adb shell commands don't break OTA, do they?

When I used [MENTION=2129545]asltLies[/MENTION] post to enable Camera2api in Oreo, I recieved OTA updates just fine. But at the same time I had made modifications to the build prop by setting the value from 0 to 1 for Camera2api
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] minnuss:
[MENTION=9013501]Neel@1234[/MENTION], adb shell do not break OTA, editing build.prop breaks OTA.
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Neel@1234:
What if I did -

setprop persist.vendor.camera.stats.test 5
setprop persist.camera.stats.test 5
setprop persist.camera.HAL3.enabled 1
setprop persist.vendor.camera.HAL3.enabled 1

From adb shell after temporary root? Will it work without breaking OTA?
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] minnuss:
Yes it will work, I did it last night and edited guide immediately.

https://xdaforums.com/mi-a2/how-to/how-to-enabling-cam2-gcam-android-t3868766

You have typo errors in those commands, after setprop there should not be DOT.
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Neel@1234:
Yeah I just noticed. And using this will not break OTA right?
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] minnuss:
You are repeating the question to many times, and I'm trying to answer you in the best possible way. :D

OTA will work if you enable camera2 with adb shell commands !!!

OTA will not work if you edit files in the phone directly.

You opened the build.prop file, and edited some lines of CODE directly, this will lose OTA.

If you stick only with adb shell, OTA will continue to work.
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Neel@1234:
Okay,I got ya. I'll stick to adb shell then because I dont always have a computer to unroot my phone and flash the stock files over and again whenever a new OTA update pops up.
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] onimorza:
https://www.celsoazevedo.com/files/android/google-camera/f/MGC_6.1.021_MI8_V1a.apk

MGC_6.1.021_MI8_V1a.apk (BSG, 2018-11-21) works like a charm for me on Pie!

Front & back cam, slow motion and night cam all working!
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] groundzerochoi:
what magisk module did you used?
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] onimorza:
none

I did the "adb shell" thingie in temp patched boot:

adb reboot bootloader
fastboot boot patched_boot.img (for my it was with with a patched 10.0.1 boot image; search forum for download; don't use another boot than your phone version)
fastboot reboot
setprop persist.vendor.camera.stats.test 5
setprop persist.camera.stats.test 5
setprop persist.camera.HAL3.enabled 1
setprop persist.vendor.camera.HAL3.enabled 1
adb reboot

However, I did note when I edit the build.prop file afterward these changes were not visible in it, but the camera2 probe shows level 3 and everything green and the cam itself works perfect.

Can someone clarify? Does the adb shell write those setprops somewhere else?
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] verttl:
It seems that this line is pretty much useless.

setprop persist.camera.stats.test 5

Actually it seems that I run into fewer crashes after deleting that one. Probably it's just case of fresh reboot after editing build.prop but I would rather not use that line.
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] ricardohnn:
Hey minnuss... one thing to mention...

I am not sure if TWRP for mi A2 is already working on Pie... but nevertheless...

I saw your tuts... and i saw that you flash stuff... can i give you an advice?

The persists props stays in data, like.. here:

/data/property # cat persist.camera.HAL3.enabled

1

When you boot at TWRP, the TWRP ramdisk and kernel are loaded into memory and run... this means TWRP works with su (after all it can make all the flashing and mounting everywhere).

So a faster way to enable the cam2api... is like:

- enable OEM unlock

- fastboot boot TWRP.img (i'm giving a generic name)

- after booting into TWRP, just adb shell setprop <props> <value>

- reboot system

I know that if you perform a getprop, it won't return the properties... i haven't checked the source code of getprop, but i believe that it won't list the props in data, even if they exists... you can check thou by using camera 2 probe apk to check.

You can check the source here:

constexpr const char kLegacyPersistentPropertyDir[] = "/data/property";

https://android.googlesource.com/platform/system/core/+/master/init/persistent_properties.cpp#42

The good thing about boot and not flash, is that it will load the boot into ram (like it always do) but won't change any partition... it's like having a sdcard with a boot.img and saying to the bootloader "load it from here"

https://android.googlesource.com/platform/system/core/+/master/fastboot/fastboot.cpp#1791

I am using android source because... well... is the closest that we might get... and this kind of things usually won't change (much) from OEMs.
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] minnuss:
[MENTION=6736850]ricardohnn[/MENTION], Of course you can, but that doesn't work anymore with PIE, at least with the latest TWRP.

Here is discussion about it.

https://xdaforums.com/mi-a2/how-to/how-to-enable-cam2api-simply-ota-t3858861

There is a Mount option in TWRP, with setprop partition as option in PIE, which I did not try, but with only system partition mounted, setprop is not working.

My tut is not the fastest out there, there is a way to only BOOT patched_boot.img, but with my tut, a newbie will learn something, and after the guide he will be smarter a little bit about everything, not just blindly following fastest tutorial and after that not to know what he's done, and maybe in a hurry brick the phone.

We have too many opened threads and posts with I'm must say sincerely, stupid questions, because people are too lazy to learn, search and inform them self, here in our Mi A2 part of forum.
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] ricardohnn:
Oh sweet... didn't know it was not working in pie...

I'm just waiting for the OTA to come... since I really don't want to go flashing it...

I will check after the OTA...

I just saw aslites comments... he does have a point... with data partition mounted it kinda should work... well... anyway...

And not really about being fast or not... it's just that we prefer less intrusive methods rather than flashing/changing stuff, right? But yeah... that setprop not working in pie actually sucks... nothing against your tuts anyway

but i agree with the people being lazy to learn... in mi A1/A2 forum in G+ Brazil they only go blindly rooting and get stuck with bootloops... funny thou some actually go flashing in EDL mode using the test points without even knowing what they are doing...
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Neel@1234:
I tried mounting PERSIST partition from twrp, disabled mtp and ran adb shell. Didn't work, but now I have Camera2api enabled with the stats fix using your tutorial. And [MENTION=6736850]ricardohnn[/MENTION], using the patched_boot is really easy and when you unroot after using adb shell, it's back to stock, but with the props you need!
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] ricardohnn:
Well i believe it is easy... but i have one doubt...

I believe that you needed to mount the data partition and not the persist... as i remember...

But anyway... i'm not saying it's complicated or something... just wondered why people was flashing stuff... but didn't know that setprop wasn't working in PIE
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] Neel@1234:
Data was already mounted on mine. And AsltLies suggested trying to mount the persist partition.

And setprop works from adb shell, but only after rooting. You can remove the root later and the values will still persist.
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] ricardohnn:
As i remember persist partition will not have this kind of info (correct me if i am wrong... Cause some OEM had persist and persistent partitions and I don't remember which one is which)

But looking at pie source

https://android.googlesource.com/pl...d-9.0.0_r18/init/persistent_properties.cpp#42

It still should be located at data... So while in twrp boot... If setprop cmd is sent, another "file" should be created in this path (or legacy one)...

Since bash in twrp has root privileges, it should be able to setprop without any issues.. but again... I haven't test anything so i really can't say...

But again... If minnuss tuts is working... The important thing right now is to check why the apks from pixel3 are not working as expected
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] mohan_168:
Can someone post samples from native camera vs Arnova Gcam (GoogleCamera-Pixel2Mod-Arnova8G2-V8.1.apk)

I have done similar comparison for Redmi Note 5 Pro

https://xdaforums.com/redmi-note-5-pro/help/how-to-camera2api-google-camera-t3796631
[Xiaomi Mi A2 / 6X Themes, Apps, and Mods] mytowyn:
as at the moment . looks like that we didnt have the option to lock the Bootloader if you want to enable camera2api in this device .

Gcam also is not function 100% like it did in previous mi a1.

1 big issue is that the front cam didnt work with this device (i've tested few gcam version , arnova,scrubber,tolyan..) not working with front cam & selfie