yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
I've added to the OP a new TWRP only package, should be used to install the camera without root/Magisk.

DO TWRP BACKUP BEFORE TESTING!

download link

please report if it worked or not.

Check from terminal this prop:

getprop ro.vendor.audio.sdk.fluencetype
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] forid:
Latest version not working on crdroid rom
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] forid:
Magisk module
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] atulkadian:
No. It didn't.

Using Omni without root.(latest weekly).

PS : No mods, GCams were installed while flashing your zip.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
thanks for feedback, can you post app permissions screenshot?

Also you tried v0.9? It's working?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
Thank's for your feedback. :good:

I've fixed and uploaded an updated file, please download again (same links) and report if can install without errors in twrp.

If it get installed check if app permissions are automatically granted or not.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
I've added a test zip for twrp in OP, if still interested, please give feedback as I can't test it.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] woland_ca:
Wow, thanks!

--EDIT--

Unfortunately it doesnt work. it keeps crashing.

here is a log
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] atulkadian:
Got installed but crashing.

The updated zip got installed without any error. Permissions were not granted automatically. I granted all the permissions and opened the app, it crashed. Just for confirming I tried clearing app data 2 times but didn't work :(
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
I've uploaded a new zip, same link as before. I've fixed install script (permission were not all granted) and changed how app permission are set.

Hope it will works this time, not being able to test it by myself is not ideal.

I have a new whyred since today and need to wait (again) 15 day for unlock.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] forid:
I didn't try v0.9
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
I've uploaded new zip, same link. Please redownload and try again:good:
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] atulkadian:
No. It didn't :(

This time app permissions were set automatically.

But the app crashed. Again tried clearing data but didn't work.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
Good to know, we are getting there...

Another zip updated again, if that works probably also magisk module v0.10 need to be fixed.

thanks again for testing and report
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
I've reuploaded another modded .zip please try download again.

(Thank's for the log)
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] woland_ca:
It works, thanks! Not tested all option, have no time, but at least was able to make a picture shot and record a video.

just a question is the AI option was removed for this version? or i got confused with another camera app....
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] atulkadian:
Crashed again :(

It did crash again :(

Though the permissions were granted automatically.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
yeah! :good:

Yes, it is disabled because I can't see differences in images with it enabled or not. I'll post an updated v0.11 and enable it so you can see by yourself.

Thank's everybody for feedback.

Time to update OP
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
Yes, found it in berillium dumps. Added to see if did something...

Also beauty_ui9_intelligent_params.config.txt came from it.

But berillium has new apk...

Today gonna release v1.0 stable
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] cesarXP:
AI disabled in stable version?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
Yes because giving no visible changes. Maybe works good only on China miui but no reports about it.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] leroi77:
V1. Force cose stock cam After test slow motion on whyred global MIUI 10 stable
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
RC7 was OK? Or you use any gcam patch?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] leroi77:
Yes I use gcam patch nhappyman twrp for MIUI, but RC7 and previous work fine with this...
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Letrix:
What is better, this patch or nhappyman's one? Thanks.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Fors4kenArg:
RC7 was ok. I dont have any other cam module. Back to rc7
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Angyone1:
my mi note 3 has become a redmi note 5 !!! lololol
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] kosmasgr:
Works on Arrow Pie , but AI missing
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] leroi77:
different patch: Nhappyman's are patch for Google Camera, this is for MIUI stock camera ;)
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Oxofrmbl:
Can't open any link, always saying "not found"
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
retry,

now fixed

:p
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
What is your problem?

To be sure I understand, you installed gcam patch TWRP (not magisk) and Miuicamera MODs with magisk?

First gcam and then miui ?

It's not suposed to be used on other devicese than whyred, and you are using an old package, dirty flash rom if you used twrp versions and try latest, if camera start we can try to support Mi Note 3 too...

Ai was disabled on purpose on v1, did you see any difference by using it? I can consider to reactivate it.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] leroi77:
Correct Gcam patch via TWRP and Miucamera MODs with Magisk

sincerely I am not sure what patch installed first, because I come from RC6, than update with Magisk into RC7, and this morning update always via Magisk into V1.

I try gcam and it works well, I try stock cam and it works for photo (front and back) but when I select slow motion, it Force close and now I can't open stock camera....

do you suggest downgrade to RC7 (both RC6 and RC7 worked)?

If it can help you, I am on MIUI 10 (10.0.2.) whyred global and Insigniu X7 kernel

thanks
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Angyone1:
yes I know, but I tried... I uninstalled this version and install your last version in first page (miui version magisk package) and working but no AI mode and 60fps 1080p and other feature that have in v1.0 rc7... anyway thanks if you support also mi note 3 ! :good:;)
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
after install go to /system/device_feature and rename whyred.xml to kenzo.xml then reboot and test app again if more feat are showing up. Gcam can record 60fps on mi note 3?

I suppose gcam patch is the cause, to be sure you have to dirty flash rom in twrp to remove gcam patch and check if it still gives problem. If camera don't start delete app data and cache. Also check if it FC only with 1080p,120fps or also with 720p,120fps

RC7 is same as v1.0 only difference is removed AI so yes you can without problem use RC7, but will be nice to find out the cause...
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] mik101:
The stable release TWRP aosp version just hangs at a black screen when trying to load the camera app. Reflashed RC6 and everything is back to normal. Didn't get a chance to try rc7 since it's not in the previous releases. Lineage 15.1.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Developer.:
Have you tried modify the camera lib to increase exposure time?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] takagen:
Experienced the same on mine, had to flash RC7 to make it work again.

I'm on Bootlegger Rom 3.0, with no other patches applied.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Angyone1:
mi note 3 codename is "jason" and gcam can record max 45 fps at 1080p (checked with mediainfo app) but snapdragon camera can record 120 fps at 1080p... I don't know why... :confused::o
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] EdoNINJA93:
I also confirm that latest v1.0 gives black screen and then hangs/crashes on Pie (ArrowOS 9)
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] White_Lion:
Installed 1.0 stable in Redmi Note 5 Whyred with MIUI 10.EU, after flashing, security app gave constantly force closed, also in camera interface a big dark bar appeared at top blocking all configuration options from camera

I'll just come back to RC7 which worked perfectly fine, thank you for your work! Your module is awesome
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Arz_Ary:
I flash lasted version of MIUI Camera if i open camera still black screen...

I back to v1_rc7 and working fine
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] nghiabh:
after the latest flash version. Gcam still black screen and google face unlock crash. I using mcaosp.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
I'll put RC7 in previous download, it got missing.

I can't decompile them, so no. I've tried using the lib from other devices but without success.

I'm tring to figure out why v1.0 gives those problems, you used the TWRP version too?

TWRP version? If Magisk, you got it from repo or here?

I have that bar usually when changing apk, are you sure you flashed the MIUI package and not the AOSP one? Also same for you did you installed the TWRP one or the Magisk one?

Which ROM? which package (TWRP or MAGISK)? Downloaded from here or magisk repo?

Reported working good on mcaosp either v1 or v1_RC7 do you have other patch installed? Twrp or Magick version?

Note, we are not doing nothing to fix gcam actually so it's normal that gcam didn't changed. Maybe in future...

mcaosp has already installed MIUI Camera? If yes can you post screenshot of portrait mode?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] nghiabh:
Currently I only use gcam so do not take screenshots. thanks dev support.

Ps: I have patched camera [MENTION=8948862]nhappymann[/MENTION][/MENTION], flash magisk version.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Surik4t4:
Everything works. Only burst shoot mode not working (After press and hold shutter button). I use [ROM] [9.0] PE - Extended [Official] [October 21] on Global Whyred phone and last MIUI Camera v2 PORT (AOSP) i installed from Magisk repo.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
ok so rename to jason.xml for it to work...

a lot of stuff should be enabled, check what works and what not, we will then edit it and keep only working feat.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] takagen:
Yup, using the TWRP version
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] White_Lion:
Hi! I use magisk version, I updated the module directly from magisk manager from module section, I haven't tried downloading the module separately and manually installing, could make a difference? I'll try and I'll let you know if there are changes
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Developer.:
[MENTION=7580575]scricccettoni[/MENTION]

Hi, I found a property maybe can improve low light picture.

persist.remosaic.low.lux

It's in the so file, I don't which value is the best:)
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] White_Lion:
I erased previous module installed then installed manually from zero the 1.0 version via Magisk and everything seems good at the moment, maybe the problems happens when updating the RC7 MODULE to 1.0 stable instead installing manually

Thank you!
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Juanda2207:
The last version doesn't works for me, xiaomi.eu 8.9.25 anything change when I install...

AOSP version doesn't works too, i try AOSiP and ArrowOS and the app never open, stay black background.

Sorry for my bad english, I try to learn. :)

Edit: I try install the version 1.0 (29-10-2018) for method Magisk and Twrp, and none works
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] mik101:
Try the slightly older version RC7 in the second post.

TWRP AOSP RC7 is working correctly for me on Lineage 15.1. The AI camera function doesn't seem to work. That is why the op wanted to remove it in version 1.0. I'm guessing something relating to that change is making it freeze. It seems to be hanging at just the time the UI would appear.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] testmedia2:
I installed with Magisk then reboot.

I enter camera app , all I see is black screen.

using Pixel Experience Rom 9.0
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
I waqs away those days, now back home. I'll revert changes in v1 from RC7 that should solve all the new issue.

For now consider v1.0_RC7 as the stable one...
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
for now tried with =1 but seems there are no differences...
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Developer.:
See /system/build.prop 250-264 lines
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
You mean the part for flash?

I think will try to see in other devices if that prop is set and how (persist.remosaic.low.lux)
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Element24:
Is it able to port the new redmi note 6 pro's camera app with all the "AI" stuff?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Developer.:
None of the devices have this property. BTW, miui 8.11.6 add a night mode like huawei super night mode
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
Use RC7
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Arz_Ary:
I use AEX on Redmi Note 5 Pro (Whyred)

I download from Magisk Repo
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
All working good?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
I've started writing something about how MiuiCamera works here

If anybody want to contribute it's a wiki
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] arch.tucci.michele:
I've installed on Redmi Note 5 Pro (Whyred) Oreo 8.1 and Miui 10, Miui-TWRP-MIUIcamerav2_whyred-1.0_.zip and my phone freeze some seconds, always on dialer app and Whatsapp. Sometimes freeze camera app. How its possible revert or clean installation patch?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
dirty flash rom

don't wipe anything and it will keep your data
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
Post updated v1.0.1 to fix TWRP version problems,

restored back AI scene like in rc7 and removed a file that should not be there.

Try and give feedback if worked or not
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Eastrider1006:
Just spent some time trying - it's very good and the whole camera seems to work great, on both sides and for audio and video. Using LineageOS 15.1, 1.0.1 downloaded from Magisk Repository, Camera2API.

The only thing I wasn't able to find was 1080p60fps video, the option doesn't appear anywhere. 1080 120fps HFR seems to work fine.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
I'm on los 15
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Eastrider1006:
Damn, very weird...

Here is what I'm running:

https://i.imgur.com/E0BgnYy.png

https://i.imgur.com/orn5oFo.png

https://i.imgur.com/dJz36dp.png

https://i.imgur.com/eorns5v.png

The things I tried:

Changing system language between Spanish and English, in case it was a localization problem; nothing

Disabling Camera2API; nothing

Deleting camera app's data manually, giving it all permissions, and trying again with each step; nothing

Anything else I can do to help you troubleshoot it?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
my fault, it's not supported on last releases. I got it because I'm testing new apk.

I'm trying to enable 240fps before release a test version but since seems unstable will probably release sooner, be patient...
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] takagen:
Thanks.

Using TWRP version, Tilt Shift is actually working in RC7, would be good to include it in future releases.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Anupam Mahato:
In MIUI 9.6.4 also,there was no 1080p/60FPS video recording.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Eastrider1006:
Alright, we will wait then :) You mean 240fps for HFR video, or for regular video?

Let us know when it's out to help you test it.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
yep, because of first version of apk in that ROM, it worked on masik when I tested because has updated apk.

yes HFR

It is working ok in last test so already restored for next release, to manually enable with some file explorer go to /system/etc/device_feature/ and edit whyred.xml find lines with tilt shift and change false to true then save

no need to reboot just dele miui cam app cache and force stop the app. start the app and it's enabled again
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Anupam Mahato:
Did you mean ,Latest upload support 1080p/60 FPS or it's only work on MASIK ROM not in OFFICIAL roms?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] arch.tucci.michele:
Thanks, I do dirty flash and now it works fine...
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
It works only if the MIUI Camera included in the ROM is the last one, usually on MIUI 10 is new version, MIUI 9 first version.

Masik is based on MIUI 10 and has the new apk with support for 1080p/60fps.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Anupam Mahato:
Ok thank you
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] vigneshjack3:
I appreciate your work ....we are waiting for your next release mainly our focus is on 32 sec shutter limit for Indian whyred with sony imx 486 sensor

(Note: Redmi y2 or Redmi s2 has same camera sensor which can support upto 32 sec.........)

Eagerly waiting for 32 sec shutter limit for indian whyred
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] learnerz:
yes ☺️☺️☺️
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Shaurya117:
+1
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
That made me think about delaying the release...

New test version is up: AOSP-TWRP_MIUICamerav2_v1.0.2_TEST

TO PROPERLY TEST AND AVOID ERRORS:

1- uninstall any cam related module from magisk,

2- dirty flash ROM,

3- wipe cache and dalvik.

Now is ok to install MIUICamera test package.

Changes:

- New apk (from jasmine miui 9.6.16 with some patches by me),

- AI mode in front cam and portrait,

- restored tilt-shift,

- beautify 3d,

- 1080p60fps,

- advanced portrait mode with scenes and AI,

- enabled indian filter,

- test support 32s shutter for india model,

- front cam, back camera and 1080p fix for gcam by BeatByDad (included BDD camera booster v3.1),

- more under the hood options enabled.

Bugs:

- wrong preview in manual mode if manual shutter is set to any value.

- Shutter is enabled to go till 32s but max shutter is 1/4s (for global/china models) till we find how to patch lib (india could be that can have 32s working with this package but not confirmed yet).

- 240fps in HFR works only 720p (sometimes gives errors) for global/china only.

Test version includes files from BDD Camera booster patch for gcam fix (front and rear module) by BeatByDad (his work is based on RN5patch from nHappyMan).

For full compatibility (with also gcam support) use build.prop_edits addon to change build.prop
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] VincentJoshuaET:
Will the stable version of this include the gcam patch? (I'm hoping not, actually) thanks!
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] xdarkstar:
It seems mod uses secondary sensor for cam in Indian variant(PE Pie). Thanks for the test version
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Developer.:
240fps video not working, it like normal video, my sensor is s5k2l7
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Oxofrmbl:
Front Cam in Gcam was not working (global variant)

Can I use only test version with patch of nhappyman?

Edit: installed both with twrp (first nhappyman mans, then mi can) it is working , but slowmo in mi cam not working anymore, the rest seems fine. Someone knows what to delete from nhappymans patch, so that it doesn't affect mi can?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] learnerz:
32secs shutter speed working? i flashed & it was showing an app named camera disabled.. i opened it & it was not working.. i again flashed the older version! ?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
you did not follow install instruction and got update error...
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Oxofrmbl:
Front portrait mode not working with ai, and slowmo problems, despite that it seems working properly
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
I'm looking into a way to make an unified installler with options to chose what to install

what is max working shutter speed?

Try only 720p,240fps is more reliable. Attached a sample recording PC clock

Is not easy to make them work good together. you can try edit nhappyman patch and remove system folder, keep only vendor and install it on top of miui cam.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
What is not working with AI? The icon is shown?

And what problems you faced in slow motion?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Oxofrmbl:
On test with new apk, if I go to front cam portrait mode, I can enable ai and then portrait is not working. Disable ai in front portrait , then it is working properly. with back cam it is working in both modes.

Slowmo is only working in 720p 240 fps I think
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
Thank's. I just found out that AI with front cam problem. It made my phone turn off...

Same thing with slow motion, 1080p,240fps don't works for me too.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] learnerz:
i did man. i exactly followed every steps.. i have no idea what is happening to my gcam also. i am using pex last build. tried every pixel3 build but touch focus isn't working in normal photo mode! i didn't install any patch. old Miui cam was working fine. then i installed the latest build faced that problem in miui cam & also gcam stopped working.. that's why again flashed the old build! ?

---------- Post added at 05:54 PM ---------- Previous post was at 05:52 PM ----------

actually i got black screen but was able to switch between modes. shutter button was working & taking black pictures
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
Ok, the problem happened to me when changing camera apk to sometimes, I didn't find a way to solve it on PE so I think on PEX is same, since they came with the old apk by default.

You can try manually delete system/priv-app/MiuiCamera and /data/data/com.android.camera folders before installing test package
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
For those on MIUI 9 please test if this apk works;
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] learnerz:
same thing happened.. will flash aosip soon & again test it!
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Gingernut78:
[MENTION=7580575]scricccettoni[/MENTION]

Not sure if your aware but an Android Pie beta has been released for the Mi A2.

Maybe you can take the MiuiCamera.apk from there.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Deepesh Bhatt:
Do i have to flash it via twrp or magisk
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
In test version we are using apk from 9.6.16 miui version edited to work on Pie and to have 240fps support

If you know where to find dump of system and vendor from that beta Pie I'll take a look for sure:good:
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Gingernut78:
https://android.googleapis.com/packages/ota-api/xiaomi_jasminesprout_jasmine/e4d713dff81f1e7e31ea95f7dc971d735b1656d1.zip
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] scricccettoni:
For stable version you can choose

Test version is TWRP only from magisk manager won't work, but follow steps reported to instal test version