yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 5s Themes, Apps, and Mods] hfmls:
thank you for this, where can i find latest releases official thread?

Also wich setting should we use? Nexus6p in both profile settings?

Would like to know how many hdr photos medium/high/super high takes. usually i used 20 but now i don't know which one is which.
[Xiaomi Mi 5s Themes, Apps, and Mods] Clanos:
Front and rear camera are different modules with different hardware support.

Why it's not full? No idea. Try it.
[Xiaomi Mi 5s Themes, Apps, and Mods] LeandroFarias:
Can I switch to 'LEVEL_3' in front camera?
[Xiaomi Mi 5s Themes, Apps, and Mods] sadikazizakgun:
Hello everyone, do we have a chance to apply on our 5S Plus devices? Thanks.
[Xiaomi Mi 5s Themes, Apps, and Mods] ArthStyle:
best settings for the latest version?
[Xiaomi Mi 5s Themes, Apps, and Mods] velix2:
What model and hdr+ parameters to use?

Inviato dal mio MI 5s utilizzando Tapatalk
[Xiaomi Mi 5s Themes, Apps, and Mods] itsmir:
My Mi5s arrived yesterday and I installed this apk today - so I' m a noob with this phone :)

Only issue I have is the front camera which throws a white screen for a few seconds before the image is made. Is this a known issue or have I done something stooopid?

Am on the xiaomi.eu 7.10.12 beta rom (rooted). Using the Pixel config with no other tweaks
[Xiaomi Mi 5s Themes, Apps, and Mods] ArthStyle:
turn off front cam flash
[Xiaomi Mi 5s Themes, Apps, and Mods] itsmir:
Aaaah so simple! All working great now, thanks for the info.
[Xiaomi Mi 5s Themes, Apps, and Mods] FKy85:
The camera unfortunately force closes on LOS. Even after clearing data/cache.

I did however install the zip package including the camera via TWRP in the beginning when the camera was just ported.

Is there a way to uninstall this?
[Xiaomi Mi 5s Themes, Apps, and Mods] Spyros2:
Any idea what settings we should use with the latest version?
[Xiaomi Mi 5s Themes, Apps, and Mods] Kisakuku:
B-S-G's Modded Google Camera 5.1.014 with HDR+ for Android 7.0 / ARM64 v1.0 All-in-One Full Manual

Download

Changelog:

Ported all changes from Google Camera 5.1.011 v1.0 All-in-One Full Manual to Google Camera 5.1.014

New settings take effect after application is restarted

Must clear data / cache after installation and if the app force closes
[Xiaomi Mi 5s Themes, Apps, and Mods] Clanos:
Except it doesn't crash and works fine. Did you already install the gcam with the gapps as a system app and are trying to overwrite it?

Don't have gcam pre-installed and it should work fine.
[Xiaomi Mi 5s Themes, Apps, and Mods] FKy85:
Not really helpful. And as you can read the gcam app is installed previously with the zip via TWRO
[Xiaomi Mi 5s Themes, Apps, and Mods] Clanos:
Are you sure you're reading what I wrote?

If I remember correctly the zip installs as a user app so you should be able to uninstall it. Why don't you just remove it?
[Xiaomi Mi 5s Themes, Apps, and Mods] FKy85:
It doesn't unfortunately. See attached screenshot.
[Xiaomi Mi 5s Themes, Apps, and Mods] Clanos:
You could manually uninstall the app or use something like Titanium backup to convert the app to a user app, then uninstall it via Android.
[Xiaomi Mi 5s Themes, Apps, and Mods] NPriyo:
What's the difference between HDR+ and Auto HDR+?

I can't find any after Nexus 6P Auto HDR Mode was removed. Now all pictures are being processed as HDR+.

Although, I'm not using Mi 5S. Is it happening because of this?
[Xiaomi Mi 5s Themes, Apps, and Mods] hfmls:
why are you even on this thread then? :D
[Xiaomi Mi 5s Themes, Apps, and Mods] NightRaven49:
Auto HDR+ usually has zero shutter lag (ZSL), which makes it as quick as taking a normal non-HDR photo, while forcing HDR+ on makes the camera take a longer time for processing (like how most other camera apps lag a little when taking HDR photos as it takes the images necessary to process the HDR image) before you can shoot again. The outcome is usually the same though, since you still get a HDR+ image at the end.
[Xiaomi Mi 5s Themes, Apps, and Mods] NPriyo:
Yes, you're right.

Maybe software does all the work in auto mode. And multiple photos are being taken in force mode.
[Xiaomi Mi 5s Themes, Apps, and Mods] Jimmy_78:
Oh, I thought the only difference is that in auto-mode the system decides if hdr+ is necessary or not for the best picture quality. And in force-on/off-mode the user decides.

And in auto-mode the app also takes a lot of working time, but in background, and so you can take further pictures in that time.

Why ZSL is only available in auto-mode isn't clear for me.
[Xiaomi Mi 5s Themes, Apps, and Mods] delscate:
Same problem on RR. No problem with previous apk
[Xiaomi Mi 5s Themes, Apps, and Mods] Sonbi:
This APK has advertising.
[Xiaomi Mi 5s Themes, Apps, and Mods] tonyboy3:
This version works(HDR)! Thanks ;)
[Xiaomi Mi 5s Themes, Apps, and Mods] Kisakuku:
B-S-G's Modded Google Camera 5.1.014 with HDR+ for Android 7.0 / ARM64 v1.1 All-in-One Full Manual

Download

Changelog:

Fixed auto-focus for Pixel camera configs, which also changed the maximum settings for HDR+ parameters of Pixel camera configs

New settings take effect after application is restarted

Must clear data / cache after installation and if the app force closes
[Xiaomi Mi 5s Themes, Apps, and Mods] Clanos:
I had to drop a quality setting for HDR+ to work correctly in auto versus the ones quoted in the app (high, not very high)
[Xiaomi Mi 5s Themes, Apps, and Mods] felix297:
Can somebody tell me the correct settings? When I select any of the Pixel configs my flashlight goes on and ruins the image.

I also want to have ZSL, this was possible in previous versions.
[Xiaomi Mi 5s Themes, Apps, and Mods] superstevie:
Download link seems to be broken?
[Xiaomi Mi 5s Themes, Apps, and Mods] TrunksNL:
So after installing this what are the best settings to be used for the MI5S? Other builds you had some recommendations for the settings.
[Xiaomi Mi 5s Themes, Apps, and Mods] hfmls:
i would like to know too because i get a few crash with settings i tested.
[Xiaomi Mi 5s Themes, Apps, and Mods] Nate91:
Can someone please help me... Can I change the settings without root? (I can install app on android 6 - unlocked, but the pictures are worse than with stock camera). Can't find the option ...
[Xiaomi Mi 5s Themes, Apps, and Mods] endemania:
View attachment 4309597
[Xiaomi Mi 5s Themes, Apps, and Mods] felix297:
I have attached my settings. Its worse than the previous version (no zsl) but the image quality seems to be the same.
[Xiaomi Mi 5s Themes, Apps, and Mods] Kisakuku:
B-S-G's Modded Google Camera 5.1.014 with HDR+ for Android 7.0 / ARM64 v1.2 All-in-One Full Manual

Download

Changelog:

Increased the values for each HDR+ parameters setting

Aded the 60 fps setting for video recording, might or might not actually record in 60 fps depending on the media profiles

Added an HDR+ toggle under Advanced Settings

New settings take effect after application is restarted

Must clear data / cache after installation and if the app force closes
[Xiaomi Mi 5s Themes, Apps, and Mods] Devil Bishal:
My camera keep force closing. I wiped my data and cache. Is there something I'm missing??

Help please
[Xiaomi Mi 5s Themes, Apps, and Mods] fkwts:
Download link is down again. Any chance someone can upload to different hosted? Thanks
[Xiaomi Mi 5s Themes, Apps, and Mods] hfmls:
Me too
[Xiaomi Mi 5s Themes, Apps, and Mods] firmanperdi:
Awesome

I've successfully installed Google Camera HDR+ on my Mi 5s with LineageOS 14.1 Nougat.

Impressive photos. I'm very happy.

But front facing camera is a BIG NO, it will crash right awat if you are not turn the flash on.
[Xiaomi Mi 5s Themes, Apps, and Mods] diaboo22:
Front camera flash time

Can I shorten the time it takes for front camera flash before taking the picture?
[Xiaomi Mi 5s Themes, Apps, and Mods] Jimmy_78:
You should disable the front camera flash
[Xiaomi Mi 5s Themes, Apps, and Mods] firmanperdi:
I've tried your mods, the slow motion video is now working, but I don't know, the HDR+ processing is kind of less agressive which makes the noise on the image sometime still notiecable compare to original version without you mod, or it just me seeing it wrong.
[Xiaomi Mi 5s Themes, Apps, and Mods] velix2:
How did you achieve slow motion? My app keep FC as soon as I click the slow motion button. My settings are model:Nexus 6P, Hdr: Pixel. With these settings I have 60fps in Fhd recording.

Inviato dal mio MI 5s utilizzando Tapatalk
[Xiaomi Mi 5s Themes, Apps, and Mods] firmanperdi:
Hi,

I'm not quiet sure, from the first time I installed GCam app on my Mi5s with LineageOS 14.1, the app is never FC anytime I open slow motion but before I flash the mods from this forum, the slow motion video is just a regular video (I mean it is not "slow motion").

Oh ya, the only thing that make the apps FC is because opening front camera with flash turn off.
[Xiaomi Mi 5s Themes, Apps, and Mods] Devil Bishal:
Latest camera is not working on my phone. Is there something im doing wrong?? Help please
[Xiaomi Mi 5s Themes, Apps, and Mods] hudfer:
I should replace the media-profiles.xml in the Lineage OS?
[Xiaomi Mi 5s Themes, Apps, and Mods] Kisakuku:
B-S-G's Modded Google Camera 5.1.014 with HDR+ for Android 7.0 / ARM64 v1.3 All-in-One Full Manual

Download

Changelog:

Increased HDR+ JPEG quality to 100%

New settings take effect after application is restarted

Must clear data / cache after installation and if the app force closes
[Xiaomi Mi 5s Themes, Apps, and Mods] Airborntx:
The shutter Is so slow now
[Xiaomi Mi 5s Themes, Apps, and Mods] Leni_YO:
jpeg quality on 100% is also quite unnecessary, even for modern cameras.
[Xiaomi Mi 5s Themes, Apps, and Mods] jigs4wkiller:
I have to download a Marshmallow Rom and test it by my self.

At the moment I try to fix the bug, that you have to reinstall the apk after flash the mod, on some roms, after that I try it on Marshmallow and if necessary(and if it's possible for me) I create a Marshmallow version.
[Xiaomi Mi 5s Themes, Apps, and Mods] jigs4wkiller:
I have a problem, I can't test my Mod on MIUI8 Marshmallow because it doesn't boot with Dual Boot Patcher. At the moment I have 6 ROMs installed on my phone so I can't (and i don't want to) make a clean install with a Marshmallow Rom. Has anybody an idea how I get MiUi8 Marshmallow to boot without wipe my phone?

Btw. I already flashed MM bootloader but still only 7.0+ roms boot with Dual Boot Patcher.
[Xiaomi Mi 5s Themes, Apps, and Mods] mo976:
Using the latest RR weekly 8/11/17

Every time I record video (slow and regular) the app crashes, from snap camera I see the "file" but it doesn't actually playback.

I tried flashing the zip and installing the app alone and replacing the media profiles xml and same results both times.

I also followed the instructions: force stop, clear data/cache, set permissions, enable system changes etc...

EDIT:

Clean flashed RR gapps etc and its working great now, Thanks!
[Xiaomi Mi 5s Themes, Apps, and Mods] Javi22:
Thanks a lot

I flashed in miui 8 with marshmallow before realizing it's not compatible

I guess I will try in mokee or some other aosp rom
[Xiaomi Mi 5s Themes, Apps, and Mods] jigs4wkiller:
I would always recommend to use CAF Roms like HalogenOS
[Xiaomi Mi 5s Themes, Apps, and Mods] Javi22:
You mean you recommend CAF roms in general or for better compatibility with your mod?

In my experience in mi5s, aosp roms like mokee worked better than LOS roms, however both have poor battery life

Never tried any CAF
[Xiaomi Mi 5s Themes, Apps, and Mods] jigs4wkiller:
I would recommend them general, because the performance and sound is better than in AOSP/LOS ROMs.

I have actually 6 ROMs parallel with dual boot patcher installed and work hard to integrate some more nice tweak's and try to find a way to fix the videorecorder bug. At the moment I can't say you which rom has the best compatibility with my Mod.

As soon as I fixed the bug and get my update finished I will add my recommendations to the First Post
[Xiaomi Mi 5s Themes, Apps, and Mods] Javi22:
Ok thanks I did not known about CAF

However HalogenOS is not even in development, also it says camera and headphones dont work

then I only see Dirty Unicorns rom based on CAF, but also is not updated and running a few bugs

sorry for the OT...and thanks a lot for your work
[Xiaomi Mi 5s Themes, Apps, and Mods] jigs4wkiller:
Halogen is in development (https://www.androidfilehost.com/?fid=961840155545588045) you mean Hydrogen I think
[Xiaomi Mi 5s Themes, Apps, and Mods] remorema:
Tks buddy.

I was using just the APK with latest lineage nightly and slow motion didn't work. Used your modules for api2 fix and XML and now it all works flawlessly

Here's an example first one with stock app and second one with hdr+

Colors are much more realistic with hdr+

View attachment 4240545View attachment 4240546
[Xiaomi Mi 5s Themes, Apps, and Mods] daniyal62:
is this based on PIXEL_II_XL_v.1.1 Version?
[Xiaomi Mi 5s Themes, Apps, and Mods] forgivemypoorEN:
Thanks for your interest and share the photos. I need to stress that all the credits belong to to devs that provide the api 2 fix and xml files. I should've mentioned this in my previous post. That's why I didn't start a new thread

---------- Post added at 08:28 PM ---------- Previous post was at 08:13 PM ----------

I think this version was originally for Android O, and it's already not as stable as the one for 7.1. I might be difficult to use on 6.0

I found a test version for 6.0 on 4pda (I guess, as I cant read Russian):

http://4pda.ru/forum/index.php?s=&showtopic=782469&view=findpost&p=63918875
[Xiaomi Mi 5s Themes, Apps, and Mods] jonoro11:
Thanks for the feedback, I will wait for the MIUI 9 update
[Xiaomi Mi 5s Themes, Apps, and Mods] golfinry:
Looks like he released some new updates to test?

https://4pda.ru/forum/index.php?s=&showtopic=782469&view=findpost&p=64051998\

Little confused by the naming convention.
[Xiaomi Mi 5s Themes, Apps, and Mods] Devil Bishal:
I flashed the flashable zip file. Slow motion is working great but there is no option for hdr+ and front camera still crashes even with auto flash on. Im using official lineage rom. Is there something i for wrong??

Help
[Xiaomi Mi 5s Themes, Apps, and Mods] DragonSven:
This mod works flawlessly in ViperOS ROM. For those who have experience some errors, even the slow motion, 4K video recording, vertical and horizontal video recording (There is a bug with RR where you can't record video vertically). Everything is working fine with this ROM. The only "issue" is that auto-flash must be enabled to make the front facing camera works. The only knew problem by everyone. I wrote this for those who have issues with RR like me. Congrats for the devs :)

PD: I just follow this steps after the TWRP installation.
[Xiaomi Mi 5s Themes, Apps, and Mods] Jimmy_78:
Thanks a lot, the app works inkluding selfie cam and video.

But it takes much more time until it has taken a photo than the stock app with hdr. (miui 8.6, Android 7).

The stock app is really fast. The Google cam needs 1-1,5 seconds to take the picture. Is that normal?

And why is the filesize only 2-3 MB instead of 4-5 MB of the stock cam? Can't understand that. Both are jpeg. Stock cam with max detailed enabled in settings. Google cam has no such option for picture quality.
[Xiaomi Mi 5s Themes, Apps, and Mods] mistersixt:
Exactly the same on my Mi5s (also latest LOS).

Kind regards, mistersixt

[edit]Dooh, one needs to deinstall the official Google Camera first of course, all is well[/edit]
[Xiaomi Mi 5s Themes, Apps, and Mods] FKy85:
I installed the .apk before i read this post. I then flashed the .zip in TWRP and everything works great, slowmo, 4k, hdr+.

One question, how do I know for sure that the modified .xml is applied. I don't have root access.

Edit; The only thing that isn't working is video stabilization
[Xiaomi Mi 5s Themes, Apps, and Mods] hfmls:
well it works kinda good for me. pixel 2, nexus 6p, very high
[Xiaomi Mi 5s Themes, Apps, and Mods] Omicron2:
Did you manage to get v1.3 running ? It FC's all the time on my Mi5s with LOS 14.1.
[Xiaomi Mi 5s Themes, Apps, and Mods] hfmls:
Yes
[Xiaomi Mi 5s Themes, Apps, and Mods] Omicron2:
Uhhh... this is the part where you tell us how you did it...
[Xiaomi Mi 5s Themes, Apps, and Mods] hfmls:
I use miui 9 mate. Not Los
[Xiaomi Mi 5s Themes, Apps, and Mods] Jimmy_78:
What is the difference between HDR+ and HDR+ ENHANCED in options?
[Xiaomi Mi 5s Themes, Apps, and Mods] bumcykcyk:
Go to system settings, apps, google camera - tap force stop/close and clear data.
[Xiaomi Mi 5s Themes, Apps, and Mods] Omicron2:
That doesn't work from v1.2 and up. Oh well, I'll keep using 4.4
[Xiaomi Mi 5s Themes, Apps, and Mods] Devil Bishal:
Well i switched my rom to 8.0 and im using my phone without camera app. ??

Im missing this camera so badly
[Xiaomi Mi 5s Themes, Apps, and Mods] flipp0:
Use this one: https://xdaforums.com/showpost.php?p=74039097&postcount=480

Works on Android 6 (eg. MIUI 8)
[Xiaomi Mi 5s Themes, Apps, and Mods] Omicron2:
He's using Android 8.0 which still doesn't have a working Camera HAL not MIUI8.
[Xiaomi Mi 5s Themes, Apps, and Mods] Devil Bishal:
Bro im taking about oreo ?
[Xiaomi Mi 5s Themes, Apps, and Mods] Halacoglu:
This one worked for me tho. Thanks :)
[Xiaomi Mi 5s Themes, Apps, and Mods] Devil Bishal:
Will this camera work in oreo???
[Xiaomi Mi 5s Themes, Apps, and Mods] Mihaillo:
Is there any mode to enable hdr+ on front camera?

Послато са Nexus 6P уз помоћ Тапатока
[Xiaomi Mi 5s Themes, Apps, and Mods] Kisakuku:
B-S-G's Modded Google Camera 3.2.045 with HDR+ for Android 6.0 with RAW capture

Download

Changelog:

Added RAW+JPEG capture option

Changed JPEG quality to 97%

Slightly increased HDR+ buffers and other settings
[Xiaomi Mi 5s Themes, Apps, and Mods] hfmls:
wait, is this the old version? what is the difference related to MI5S ? Should we use this or version 5?
[Xiaomi Mi 5s Themes, Apps, and Mods] rizahakam:
i think this one is for people who want to use Google Camera but still on MIUI 8 and Android Marshmallow.

if you use Android 7.0, just use the latest one
[Xiaomi Mi 5s Themes, Apps, and Mods] Kisakuku:
B-S-G's Modded Google Camera 3.2.045 with HDR+ for Android 6.0 with max HDR+ parameters

Download

Changelog:

Increased HDR+ parameters (buffers, etc.) to max possible values

Added Lens Blur mode for 4000 x 3000 image resolution (12 MP)
[Xiaomi Mi 5s Themes, Apps, and Mods] butiliero:
Compared with a previous version that I found here

https://xdaforums.com/showpost.php?p=73486203&postcount=31

this and the previous version are mush slower in taking the pics and processing hdr+, is that due to the maxed out/increased HDR+ parameters?
[Xiaomi Mi 5s Themes, Apps, and Mods] mendocino_610:
hdr+ always open button not working this version.
[Xiaomi Mi 5s Themes, Apps, and Mods] Kisakuku:
B-S-G's Modded Google Camera 5.1.014 with HDR+ for Android 7.0 / ARM64 v1.4 All-in-One Full Manual

Download

Changelog:

Added all camera configs except two with portrait mode that probably require Android 8.0+

On the last three camera configs (Pixel Experimental / 2016 / 2017) auto focus doesn't work after using touch focus

Added HDR+ JPEG quality setting

New settings take effect after application is restarted

Must clear data / cache after installation and if the app force closes
[Xiaomi Mi 5s Themes, Apps, and Mods] mo976:
No amount of cache and data clearing seems to get it to work, back to 1.3, thanks.
[Xiaomi Mi 5s Themes, Apps, and Mods] davenasc:
where's the V2? will it comes?
[Xiaomi Mi 5s Themes, Apps, and Mods] jigs4wkiller:
Hopefully...
[Xiaomi Mi 5s Themes, Apps, and Mods] Kisakuku:
B-S-G's Modded Google Camera 5.1.014 with HDR+ for Android 7.0 / ARM64 v1.5 All-in-One Full Manual

Download

Changelog:

Added RAW compression toggle

Increased the Very High and Super High settings for HDR+ parameters

Super High HDR+ now takes a long time to process

New settings take effect after application is restarted

Must clear data / cache after installation and if the app force closes
[Xiaomi Mi 5s Themes, Apps, and Mods] Devil Bishal:
What could be the best setting? ?

Thank you for your hard work.
[Xiaomi Mi 5s Themes, Apps, and Mods] Kisakuku:
B-S-G's Modded Google Camera 5.1.014 with HDR+ for Android 7.0 / ARM64 v1.5e All-in-One Full Manual

Download

Changelog:

Added Nexus 6 camera config from v1.3 All-in-One Full Manual for compatibility with a wider range of devices

New settings take effect after application is restarted

Must clear data / cache after installation and if the app force closes
[Xiaomi Mi 5s Themes, Apps, and Mods] xlillo:
I don't know why but video fullhd not more than 24 fps.

Is it a limitation of xiaomi firmware?

I'm using miui 9 (7.11.2) with Android 7
[Xiaomi Mi 5s Themes, Apps, and Mods] Kisakuku:
B-S-G's Modded Google Camera 5.1.014 with HDR+ for Android 7.0 / ARM64 v1.5f All-in-One Full Manual

Download

Changelog:

Reworked the algorithm for setting camera configs, now Nexus 6 (old), Nexus 6 ZSL, and Nexus 6 no ZSL camera configs work properly

Fixed Nexus 6 (old) camera config, now works with default HDR+ parameters

Fixed OmniVision mode for devices with OmniVision camera modules, now works in Enhanced HDR+ mode in bright light

New settings take effect after application is restarted

Must clear data / cache after installation and if the app force closes
[Xiaomi Mi 5s Themes, Apps, and Mods] mo976:
I can't get any version to work now. I tried reflashing the zip, uninstalling and reinstalling various versions etc.

I did manage to restore a backup of version 1.3 (I think) and it works but any newer version results in the same problems.

Here's the logcat
[Xiaomi Mi 5s Themes, Apps, and Mods] darkzom:
Mee too, I spent the last two days trying to make around 7 different versions working but to no result.

The only one that works is the first one I tried "MGCB_7.0H_C2API_v.4.0_AllinOne_Full_Manual_NO_HDR+_ON_FIRST_LAUNCH"

Is there anything that we are doing wrong?
[Xiaomi Mi 5s Themes, Apps, and Mods] Airborntx:
Did u get the profiles and the api2 enabler lads?
[Xiaomi Mi 5s Themes, Apps, and Mods] Devil Bishal:
I had problem in los 7.1.2

I upgrade my phone to 8.0 . Its working flawlessly in oreo
[Xiaomi Mi 5s Themes, Apps, and Mods] Shako1993:
Hello, any news for supporting Gcam mod to sony XZPremium?
[Xiaomi Mi 5s Themes, Apps, and Mods] darkzom:
You mean the first post with the zip file?

Just flashed it again to make sure I did not lose it over any past restore, it screwed up everything to the point of not being able to make my only working version working stable again, random FCs, and any other version I try does not even start.

I am restoring a backup right away... is there anything I am missing?
[Xiaomi Mi 5s Themes, Apps, and Mods] Airborntx:
I get the api enabler from magisk
[Xiaomi Mi 5s Themes, Apps, and Mods] darkzom:
Just tried with the magisk module from the first page, rebooted for installayion and replaced the media profiles file. Nothing changed, I get FC from "MGC_5.1.014_7.0H_C2API_v.1.5f_AllinOne" no matter what I try.
[Xiaomi Mi 5s Themes, Apps, and Mods] Jimmy_78:
Did you try the workaround from page 3 of this thread? There are a lot of Screenshots with things you have to do
[Xiaomi Mi 5s Themes, Apps, and Mods] kaiser0:
I was having FC's using the version 5.1 and after removing two files a guy said in a spanish forum, my problem was solved.

These are the files:

/System/framework/com.google.android.camera.experimental2016.jar

/System/etc/permission/com.google.android.camera.experimental2016.xml

Hope it works for you too
[Xiaomi Mi 5s Themes, Apps, and Mods] darkzom:
Sure, I tried all possible things listed in the thread, thanks anyway for pointing this out!

Man this totally did it!!!! Thanks so much!!!

Heck this should be put on the OP, I guess there are lots of people who have the same issue.

Thanks again!
[Xiaomi Mi 5s Themes, Apps, and Mods] mo976:
Worked for me as well, thanks!
[Xiaomi Mi 5s Themes, Apps, and Mods] Kisakuku:
B-S-G's Modded Google Camera 5.1.016 with HDR+ for Android 7.0 / ARM64 with minimal changes

Download

Changelog:

New port based on Google Camera 5.1.016

Minimal changes, no additional user-selectable settings

Libraries are set to Pixel 2 XL, all other settings to Nexus 6