yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 5s Guides, News, & Discussion] kadajawi:
:( It's so frustrating. The hardware is all there, but Google decided to keep the software to themselves. I thought Nexus was about stock Android, but then Nexus phones have stuff no one else is allowed to have.

Does the Mi5s at least do video HDR? That's a feature of the sensor, the processing is actually done there.

I hope Xiaomi invests in the camera software, that is what matters and what Chinese brands suck at...
[Xiaomi Mi 5s Guides, News, & Discussion] drigerott:
If we copy lib from pixel phone and maybe change build.prop? Maybe like this we can have 1080p 60fps...
[Xiaomi Mi 5s Guides, News, & Discussion] kadajawi:
https://www.xda-developers.com/sony...of-the-google-pixels-sensor-and-its-features/

Just look at what the sensor is capable of. Things like 240 fps 1080p and 60 fps 4K. HDR during videos with no loss of resolution or frame rates. And of course the well publicised HDR+ that makes a huge difference, significantly extends low light capabilities and dynamic range, and sort of makes OIS not so necessary.

Getting that stuff in the Mi5S would be wonderful.
[Xiaomi Mi 5s Guides, News, & Discussion] bananasiong:
With lineage stock camera i was able to do 4k 60fps and FHD 120fps. cannot do FHD 240fps.
[Xiaomi Mi 5s Guides, News, & Discussion] drigerott:
You can do also 1080 60fps but if you play the video is super fast with the audio normal speed
[Xiaomi Mi 5s Guides, News, & Discussion] shaneel1491:
4k 60fps on lineage, are you sure?
[Xiaomi Mi 5s Guides, News, & Discussion] bananasiong:
Perhaps not.

playback lasted for half the time and speed up. Argh.
[Xiaomi Mi 5s Guides, News, & Discussion] drigerott:
With MIUI 7.1.19 i cani 1080p 120fps with snap camera hdr and in settings selected camera api 2 Active..
[Xiaomi Mi 5s Guides, News, & Discussion] kadajawi:
How well does FreeDcam work?

Btw. I've done some brackets (same exposure) on my Mi3 in low light, and merged them using Oloneo. JPEG, but with noise reduction disabled. Basically I'm doing what Google is doing... just that the Mi3 isn't fast enough, it takes a couple of seconds to take all 7 or 8 exposures. Holding the camera steady for this long is quite hard. But the result is pretty good. While the original files are noisy as hell, the result isn't... even verging on noise free. Impressive.
[Xiaomi Mi 5s Guides, News, & Discussion] shaneel1491:
FreeDcam works well although Xiaomi messed up our RAW colour profiles and it looks messed up on adobe products due to colour noise reduction, also if you burst mode pics on Mi 5s it'll be really fast, just as fast as pixel since we have full cam 2 api support and then you can use DNG stack on FreeDcam to stack for real noise reduction and increasing dynamic range (maybe)
[Xiaomi Mi 5s Guides, News, & Discussion] El Philou:
FreeDcam

Where I can find FreeDcam ? Somebody have one Link on Mega or other ( fast download ;) )

Or maybe one private link, and after I will put on Mega, for fast share ;)
[Xiaomi Mi 5s Guides, News, & Discussion] shaneel1491:
https://play.google.com/store/apps/details?id=troop.com.freedcam

https://plus.google.com/communities/112880644833309033743
[Xiaomi Mi 5s Guides, News, & Discussion] uniQ_87:
Thnx

I must be rooted for that? I just use official global rom (stable)
[Xiaomi Mi 5s Guides, News, & Discussion] El Philou:
Google Play say that I can't acces to this software from my country :( ( France )
[Xiaomi Mi 5s Guides, News, & Discussion] shaneel1491:
No need to be rooted, should work perfectly..

Grab it from the github releases page

https://github.com/troop/FreeDcam/releases
[Xiaomi Mi 5s Guides, News, & Discussion] uniQ_87:
Thnx. I installed it but after dealing with it for 5-10 mins my phone was extremely hot- about 42°c. After uninstalling it was all good again
[Xiaomi Mi 5s Guides, News, & Discussion] shaneel1491:
Yea I also notice that, probably due to having to encode and decode the file every-time you view it, rather than working with thumbnails..
[Xiaomi Mi 5s Guides, News, & Discussion] shaneel1491:
Anybody know a workaround for long exposure duration, for example when I click 30 sec exposure, the button will be held down for 60sec, which means we waste 30 sec doing something.
[Xiaomi Mi 5s Guides, News, & Discussion] bozy09:
hey guys, I was wondering if this camera was prone to lens flares or halos when in direct contact to the sun as it is with the google pixel. also will we ever be able to port the google pixel camera to this phone???
[Xiaomi Mi 5s Guides, News, & Discussion] BPSoft:
Halo effect i didn't tested yet. Regarding pixel image engine i think it's possible to try it as soon as xiaomi release kernel sources, and lets pray they release it compiled with Nougat (as pixel).
[Xiaomi Mi 5s Guides, News, & Discussion] uniQ_87:
View attachment 4027760
[Xiaomi Mi 5s Guides, News, & Discussion] shaneel1491:
[IMG="Mi 5s Astro (Jupiter and Milkyway)"]https://farm1.staticflickr.com/583/32534273522_210f8b697f_o_d.jpg[/IMG]
[Xiaomi Mi 5s Guides, News, & Discussion] dominuspro:
I can confirm the lens flares.
[Xiaomi Mi 5s Guides, News, & Discussion] Fasic:
Camera 02.2017

Can someone say what is situation now? :confused:

did they fix anything with updates? (RAW, low light performance, etc) :)

did they fix focus problem on video mode? (when phone is refocusing constantly) :eek:

can it do 1080p120 as mi.com say it can? (or what res there are for video mode? with stock camera and with 3rd party aps) :confused:

and custom roms? (cm/Lineage OS ) are they fixing, and could they fix camera in future?! :D
[Xiaomi Mi 5s Guides, News, & Discussion] bananasiong:
im using lineage 14.1

can't do 1080p120.

not sure about latest MIUI.
[Xiaomi Mi 5s Guides, News, & Discussion] PanagiotisGreece:
Google pixel using the same sensor camera and processor

But can shoot 4k video with eis

Xiaomi mi5s can not only in 1080 has eis

Sometimes details matters.

On the other hand mi5s cost half price

Xiaomi is about to launch mi6

So i guess the updates for mi5s will become less priority
[Xiaomi Mi 5s Guides, News, & Discussion] aghiopro36:
For what Ive tested, it doesnt have lens flare. It may using same sensor as pixel, but the lens is different (and given the lens on pixel is combined with its glass back panel).

1080p 120fps is available
[Xiaomi Mi 5s Guides, News, & Discussion] endemania:
I use miui eu 7.2.16 it can record 1080p 120 fps with miui camera
[Xiaomi Mi 5s Guides, News, & Discussion] bananasiong:
hmm but i didn't quite like miui …
[Xiaomi Mi 5s Guides, News, & Discussion] christ-al:
Camera 2 api enabled in the new weekly!!!
[Xiaomi Mi 5s Guides, News, & Discussion] Nuyang:
which rom？
[Xiaomi Mi 5s Guides, News, & Discussion] christ-al:
Chinese dev, and so xiaomi eu too
[Xiaomi Mi 5s Guides, News, & Discussion] danimihalca:
Hello. Yesterday an interesting article regarding the camera from Xiaomi Mi5s popped up here on XDA through Tapatalk. Do you know perhaps which one it was? I forgot to save it...
[Xiaomi Mi 5s Guides, News, & Discussion] Dieg86:
Hi to all.

Is that normal?

[YOUTUBE]fF-0rZ8DB_c[/YOUTUBE]

(yeah, there's a little mess, sorry, and yep, my cat rocks :P)

I'm not talking about focus problem, that does not worry me.

Why colors goes yellowing? I had light just above me.
[Xiaomi Mi 5s Guides, News, & Discussion] FearlessSpiff:
this is just bad auto white balance. software problem.
[Xiaomi Mi 5s Guides, News, & Discussion] Glirhuin:
Just white autobalance, don't worry about that!

Edit: sorry FearlessSpiff, I didn't read your reply.
[Xiaomi Mi 5s Guides, News, & Discussion] Dieg86:
Thanks. What software can I use to take better photos?
[Xiaomi Mi 5s Guides, News, & Discussion] jees125:
[IMG="Low light manual"]https://dl.xda-developers.com/4/0/8/0/9/0/0/IMG_20170315_235715.jpg?key=c-2Y24wdABISiJvFstmBRA&ts=1489942325[/IMG]

only try my first shot manual with smartphone, mi5s sure decent on take low light pic, got the sharp and focus
[Xiaomi Mi 5s Guides, News, & Discussion] shaneel1491:
Don't know if this type of post is allowed here, but [MENTION=377973]defcomg[/MENTION] is in the market for a new phone and he is looking closely a the Mi 5s.

If you don't know who he is, he is one of the main developers on FreeDcam (George Kiarie), he created 1080p 60fps mod for the Nexus 6P and 5x, he created long exposure for the G2, he unlocked 900sec exposure on HTC 10, he also unlocked 60sec exposure time as well as 100 000 ISO on Mi 5s and also was able to bin our sensor for better low-light performance at reduced resolution (similar to Sony's Superior Auto mode).

He would be a great addition to our community, if you would like to donate to him, since his current device is bust, you can help him and our Mi 5s community out by showing your kindness at:

https://www.paypal.me/GeorgeKiarie

You can also check out all his work at his profile page [MENTION=377973]defcomg[/MENTION]

I really hope he can be a part of this growing community
[Xiaomi Mi 5s Guides, News, & Discussion] gonzilla88:
Camera 2Api

Hi,

Sorry to ask, but i've been trying the xiaomi eu rom since early march until now. It seems the HDR+ mode from Google Camera was not available on my device.

How do you enable it?

Thanks
[Xiaomi Mi 5s Guides, News, & Discussion] christ-al:
It's impossible to enable that, it's exclusive for the pixel
[Xiaomi Mi 5s Guides, News, & Discussion] FlatOutRU:
my friend has it on nexus 5x device..
[Xiaomi Mi 5s Guides, News, & Discussion] christ-al:
I'm not sure, I'm not a dev, but I think it will be impossible until xiaomi releases kernel source
[Xiaomi Mi 5s Guides, News, & Discussion] Ober_:
i am on LineageOS build 20170328 and i use ProShot app from google play store to shoot video and photo; it has jpeg and RAW support.

I am looking for a MOD to get near Pixel camera quality btw
[Xiaomi Mi 5s Guides, News, & Discussion] jonoro11:
Just got a new Mi5S today, and tried my habitual camera apps (coming from LG G4)

I find that ProShot with NR off preserves much detail that gets lost with the native camera internal processing, furthermore it allows to shoot RAW or RAW+JPEG and includes a browser to quickly send DNGs to a developper app (I find that Snapseed works here).

I have also compared several apps that can stack images to the native camera HHT mode. Again Better Camera Super/Night mode yields better results (less watercolor). Snap Camera Night mode (5 image setting) I find yields even more detailed (and noisier) images; they also can turn darker and then require to raise exposure in editing. (I have also tried Cortex, very clean but tends to blur detail.)
[Xiaomi Mi 5s Guides, News, & Discussion] Frizzel:
Does anyone know if it's possible to activate slow motion whilst already recording a video?
[Xiaomi Mi 5s Guides, News, & Discussion] giannisgr41:
can you post any samples from original camera and proshot ?so we can see the difference before we buy the proshot app?
[Xiaomi Mi 5s Guides, News, & Discussion] jonoro11:
Not trying to advertise ProShot, but it does allow to turn off NR while keeping sharpness on. As far as I can see, Snap Camera yields the same results with camera2 enabled, NR off and sharpness set to 2, and you can download it from the app post here in xda. (https://xdaforums.com/attachment.php?attachmentid=4067155&d=1489016345)

I dont have the phone yet fully set up, but will try to post crops at a later date.
[Xiaomi Mi 5s Guides, News, & Discussion] jonoro11:
Indoor light test (crops) http://cloud.tapatalk.com/s/58e5001ff16a9/IMG_20170405_003000-01.jpeg?

http://cloud.tapatalk.com/s/58e5008fe34c1/LRM_EXPORT_20170405_135213-01.jpeg?

http://cloud.tapatalk.com/s/58e50031aca92/IMG_20170405_004754-01-01.jpeg?

Enviado desde mi MI 5s mediante Tapatalk
[Xiaomi Mi 5s Guides, News, & Discussion] kikodeblay:
The best camera app for Mi5s

I recently bought this terminal and I see that it has the same sensor as the Google pixel, is there any kind of app to use its software? I tried installing Camera NX but I do not know which version I should install. Can someone help me choose the best app for the camera?
[Xiaomi Mi 5s Guides, News, & Discussion] berylune:
The manual mode on stock camera. :rolleyes:
[Xiaomi Mi 5s Guides, News, & Discussion] kikodeblay:
But this application can not save in raw the images taken in manual mode.
[Xiaomi Mi 5s Guides, News, & Discussion] berylune:
for raw photos try, manual camera or bacon camera.
[Xiaomi Mi 5s Guides, News, & Discussion] ChobbyNS:
Yes it can,only problem is that stock gallery cant show dng files.
[Xiaomi Mi 5s Guides, News, & Discussion] forgivemypoorEN:
I heard (and I tried) there's no manual settings under raw mode, and no raw under manual . That's why people suggest lightroom or manual camera for manual settings of raw photo. I agree stock camera with longer shutter than 1s is very powerful.
[Xiaomi Mi 5s Guides, News, & Discussion] jigs4wkiller:
Some test Photos.
[Xiaomi Mi 5s Guides, News, & Discussion] mesziman:
The app can be disassembled and reassembled with apktool.

You will find a function similar to IsNexus5X() and you need to return a constant dalvik opcode as true. same goes for Pixel

Worth a shot
[Xiaomi Mi 5s Guides, News, & Discussion] jonoro11:
https://goo.gl/photos/WCdAHUonZcGe1E5Z7

Quick handheld iso1600 test :

NRon (Mi), NRoff (Proshot) & image stacking Nightmode (Snap)

Enviado desde mi MI 5s mediante Tapatalk
[Xiaomi Mi 5s Guides, News, & Discussion] alireza_asol:
hi

i don't have mi5s yet

anybody tried this?

https://drive.google.com/open?id=0B9Xul_AtQRjbSWVoMzFEeElyTkk

its hdr+ for other phones

http://chromloop.com/2017/02/downlo...nexus-2015-phones-base-google-camera-4-3-016/
[Xiaomi Mi 5s Guides, News, & Discussion] Viper780:
I'm using Camera ZOOM FX for years now, would this be a good option for the Mi5s?
[Xiaomi Mi 5s Guides, News, & Discussion] ChobbyNS:
^^

"There was a problem parsing the package"

I guess that app is for nougat based roms only.
[Xiaomi Mi 5s Guides, News, & Discussion] morpheus620:
working slow motion with Lineage ?
[Xiaomi Mi 5s Guides, News, & Discussion] bmx22c:
Hello ! Are you using the stock MIUI ? On the Mi 5s ?

Because I really like astro photography and I really like your post ? Is this RAW or edited ?

Thanks !
[Xiaomi Mi 5s Guides, News, & Discussion] mesziman:
Yes it is based on Google Camera 4.3 which is for Nougat
[Xiaomi Mi 5s Guides, News, & Discussion] shaneel1491:
I think Qualcomm messed up libs, so we can't do RAW for more than 4 or 5 secs, so I'm forced to shoot Jpeg. And edited with Photoshop express

But I'm on 7.1.1/2 ROMs, they have updated vendor libs which solves some long exposure problems. Also I use FreeDcam which I find is the best camera app on android once you figure out all it's features and how to use it nicely.

These are some others:
[Xiaomi Mi 5s Guides, News, & Discussion] bmx22c:
Thanks for all the infos !

How long was your exposure ? And, my god these shots are beautiful for a smartphone !

Very good job !

I'm impressed, I'm making night shots with my Honor 7 but they are not as colorfull as yours.

Thanks !
[Xiaomi Mi 5s Guides, News, & Discussion] shaneel1491:
I think most are 30 sec expo and iso 400 or 200, the one with star trails must have been like about 40 x 30 sec shots stacked using FreeDcam
[Xiaomi Mi 5s Guides, News, & Discussion] bmx22c:
Ok, thank you for the information ! Very appreciated ! :)
[Xiaomi Mi 5s Guides, News, & Discussion] forgivemypoorEN:
Anyone on Lineage? Is http://chromloop.com/2017/02/downlo...nexus-2015-phones-base-google-camera-4-3-016/

working? Is it worth trying since there's neither open source, nor official N?

I'm going to decrypt my data (back up and format is painful), and see if dual boot patcher works.
[Xiaomi Mi 5s Guides, News, & Discussion] forgivemypoorEN:
I tried lineage and nothing happened in camera nx.
[Xiaomi Mi 5s Guides, News, & Discussion] CLIFFx:
what version freedcam version you use sir?
[Xiaomi Mi 5s Guides, News, & Discussion] shaneel1491:
3.3.146
[Xiaomi Mi 5s Guides, News, & Discussion] forgivemypoorEN:
HDR+RAW in Lightroom

Hi I tried to unlock the hdr+raw mode in Lightroom by simply change some lines (including the model name) in build.prop:

http://en.miui.com/thread-605530-1-1.html

I thought some people might be interested.

Update: My previous description may not be accurate, I changed more lines than just model name, please refer to the link for details.
[Xiaomi Mi 5s Guides, News, & Discussion] shaneel1491:
Could you post a comparison or a sample?

Edit: this tweak doesn't work for me..
[Xiaomi Mi 5s Guides, News, & Discussion] forgivemypoorEN:
Well, it's a dng file. It's difficult to show the difference, because I have to convert it to jpg with suitable parameters. Here's the output dng file, which can't be opened by Snapseed, LR should work.

https://drive.google.com/open?id=0B5EdI6gTWoGsQW5Ba3ItUkxveVU
[Xiaomi Mi 5s Guides, News, & Discussion] jonoro11:
I tried your dng file and PS Express does open it fine. Did this trick work on a 3GB Mi5s?

Enviado desde mi MI 5s mediante Tapatalk
[Xiaomi Mi 5s Guides, News, & Discussion] forgivemypoorEN:
Please try https://play.google.com/store/apps/details?id=com.adobe.lrmobile&hl=en_GB

This is a special dng, which is not supported by Snapseed either.

By the way I'm using 4GB +128G Mi 5s

---------- Post added at 07:24 PM ---------- Previous post was at 06:33 PM ----------

I tried PS express, and it does open. Maybe you can update your PS?
[Xiaomi Mi 5s Guides, News, & Discussion] jonoro11:
Hi, thanks for responding quickly. My device is 3GB and I have been told that it might not work (Pixel is 4GB)

Wondering whether anyone had luck with LR hdr dng with 3GB only

Enviado desde mi MI 5s mediante Tapatalk
[Xiaomi Mi 5s Guides, News, & Discussion] forgivemypoorEN:
Maybe I should also mention that I'm on xiaomi.eu, and I disabled "memory optimization" in "developer options". I wonder if it detects the capasity of RAM or free mamary
[Xiaomi Mi 5s Guides, News, & Discussion] forgivemypoorEN:
Another update: I tried to use spoof device to have a local settings just for LR, and it's working. See the same link for details. The changes are simpler and clear. For those who can't get the hdr option, you could have a try.
[Xiaomi Mi 5s Guides, News, & Discussion] jonoro11:
Hopefully Adobe will simply increase the compatible phones list. My current alternative is to bracket in ProShot (NR off) and do an hdr merge with PhotoMate R3.

Enviado desde mi MI 5s mediante Tapatalk
[Xiaomi Mi 5s Guides, News, & Discussion] forgivemypoorEN:
That's what I did. This might be better because LR is doing the same(I could see the 3 raw files), which is slow and you need to be careful and wait for the end of the process. Besides, you have more choices with 3 raw images.

NR won't affect raw right, because it's post process?

Potshot has started from scratch, I actually wanted to see if hdr could be enabled by change the model name in previous version.
[Xiaomi Mi 5s Guides, News, & Discussion] jonoro11:
Proshot can shoot in dng, jpeg or both, NR settings are only for jpeg. Photomate can merge dng also, but jpeg is obviously faster

Enviado desde mi MI 5s mediante Tapatalk
[Xiaomi Mi 5s Guides, News, & Discussion] forgivemypoorEN:
If you like to merge jpg, snap camera is great. You can pick the weight for each exposure. Freedcam can do dng stack, but no hdr. I bought snap camera & proshot during discount. Photomate is really expensive, though the hdr looks nice.
[Xiaomi Mi 5s Guides, News, & Discussion] jonoro11:
Yes, I agree about Snap Camera. Incidentally I have noticed about its multiframe Nightmode, useful to shoot handheld at iso 1000-2000, that in its default 5frames setting, it applies an additional NR for a cleaner picture and that color balance is correct, while if you select another number of frames, no NR is applied resulting in a grainier picture with a yellowish tint. The 5frames setting does benefit from an extra detail in Snapseed or similar.

Enviado desde mi MI 5s mediante Tapatalk
[Xiaomi Mi 5s Guides, News, & Discussion] forgivemypoorEN:
Yes, snap camera really has nice nightmode, I hope it can support more photo stack for hdr. I heard google's hdr+ use 9 photos. Also freedcam has dng stack function, so some one mentioned to shoot many dng and stack them to achieve night shoot. Now I'm not sure which is better.
[Xiaomi Mi 5s Guides, News, & Discussion] Hingbong:
I use proshot and Adobe LR, modified buildprop to enable raw hdr in LR,then, the pictures of raw from LR and proshot are the same.

Is the raw hdr in LR working?
[Xiaomi Mi 5s Guides, News, & Discussion] forgivemypoorEN:
Do you mean that you got 3 pictures from LR? You need to wait (possibly leave LR open) until one file is generated, which is around 45 ~ 50 mb, and named something like LRM_xxx_hrd.dng
[Xiaomi Mi 5s Guides, News, & Discussion] Hingbong:
##I haven't got that, how to?##

I got that thanks
[Xiaomi Mi 5s Guides, News, & Discussion] forgivemypoorEN:
Well I am not sure what exactly should be done. My way is:

Take a picture, wait until there's a preview on bottom left.

Return to the main menu,

wait as long as possible.

You can find files under from/lightroomcamera

Sometimes there's a broken file which is much smaller, and another file is generated named xxx_1.dng . After the hdr dng is generated,the 3 exposure will be removed.
[Xiaomi Mi 5s Guides, News, & Discussion] Fasic:
mi5s MIUI 8 camera app

Auto mode, HDR, and some RAW edited photos. samples

https://www.instagram.com/ni.fasic/
[Xiaomi Mi 5s Guides, News, & Discussion] tomashix:
Video Samples

I'm pretty amazed at what this camera can do:

youtube.com/watch?v=R4psWQZu8qA

Shots were taken via the Cinema4K app at 100mb/s (measured around 70-80mbp/s - still good as hell) and flat profiles for better Color Grading. Shot Without Stabilization in 4K res.

On my channel, You can see 2 more samples. Some of the footage uncompressed by YT on my PC is almost unbelievable. This sensor is something beautiful for making videos.
[Xiaomi Mi 5s Guides, News, & Discussion] gugav:
Would you guys have any tips for taking macro shots?

I try but it gets blurred

My LG G3 and Zenfone 2 the camera has a good focus with about 5~6 centimeters of the object

With the Mi 5s have to stay about 9~10 centimeters to get the focus

cheers
[Xiaomi Mi 5s Guides, News, & Discussion] l'irlandais:
https://www.instagram.com/p/BUVEj6fF0zK/

Taken with open camera and bw filter lightroom mobile
[Xiaomi Mi 5s Guides, News, & Discussion] onlyLyon:
That's because the mi5s camera sensor is larger physically. I won't get into the technical details, but the larger the sensor, the larger the working distance, which means you need more distance between the camera and the object you photograph.
[Xiaomi Mi 5s Guides, News, & Discussion] shaneel1491:
Isn't it having to do more with the focal length of the lens rather than the sensor size?
[Xiaomi Mi 5s Guides, News, & Discussion] onlyLyon:
If the lens design is unchanged and the sensor is larger, it is roughly so. You are correct about longer focal lengths - but think of it this way: the focal length hasn't changed much, but the sensor is larger and this affects the working distance and depth of field.
[Xiaomi Mi 5s Guides, News, & Discussion] forgivemypoorEN:
Recently I tried to use apktool to modify the apk, so that it will recognise my device as pixel. It's the file ./smali/com/adobe/capturemodule/h/b.smali

More important, I found there are some lines named

Landroid/app/ActivityManager$MemoryInfo;->totalMem

Maybe one can change the value, to allow 3g RAM devices to use HDR. I'm not sure how to change it. Only see a constant number which is 0x100000. You could try to do something (like make it 0 or very large and see what happens)

If you are interested about changing the model, just change the last function of getting device model and manufacturer to an assignment to "Pixel XL" and "Google". I'm not sure if it's allowed to upload a modified version of lightroom (or even mention this)

Android N is coming to Mi 5s, it's no longer expectable to have an xposed module to change the device model name.