How port miui camera (Mi5s Plus) to lineage os / aosp?

danypava

Senior Member
Oct 17, 2012
105
60
28
Concesio
Its because I want the black and white feature and portrait mode.
As for portrait you should use google camera, which is way better in my opinion both in edge recognizing and quality (and it works for both front and back camera).

For B&W you can use Snapdragon camera (included in most roms), but i noticed it has some bugs with focusing, or FreeDCam, which should cycle and show B&W using the second camera (but it depends on the rom you're using).

As for MIUI camera you can get it to work on custom roms through some ports, but you'll get basic functionality and for sure no support for second camera. They're also old miui 9 versions, so they won't have portrait.
If you still want to try here are some versions to flash (remember to give all the permissions prior opening the app, otherwise it will say that it can't connect).

I still recommend to avoid using miui camera on this device, it is really bad with picture compression. Just use GCam for almost everything and you'll get awesome results, i even compared with my friends' mi 8 and the results are impressive.
 
  • Like
Reactions: samuk190

samuk190

Senior Member
Jun 9, 2013
446
159
0
santo andré
As for portrait you should use google camera, which is way better in my opinion both in edge recognizing and quality (and it works for both front and back camera).

For B&W you can use Snapdragon camera (included in most roms), but i noticed it has some bugs with focusing, or FreeDCam, which should cycle and show B&W using the second camera (but it depends on the rom you're using).

As for MIUI camera you can get it to work on custom roms through some ports, but you'll get basic functionality and for sure no support for second camera. They're also old miui 9 versions, so they won't have portrait.
If you still want to try here are some versions to flash (remember to give all the permissions prior opening the app, otherwise it will say that it can't connect).

I still recommend to avoid using miui camera on this device, it is really bad with picture compression. Just use GCam for almost everything and you'll get awesome results, i even compared with my friends' mi 8 and the results are impressive.
Thanks for your awesome answer, it helped me alot!
 

samuk190

Senior Member
Jun 9, 2013
446
159
0
santo andré
As for portrait you should use google camera, which is way better in my opinion both in edge recognizing and quality (and it works for both front and back camera).

For B&W you can use Snapdragon camera (included in most roms), but i noticed it has some bugs with focusing, or FreeDCam, which should cycle and show B&W using the second camera (but it depends on the rom you're using).

As for MIUI camera you can get it to work on custom roms through some ports, but you'll get basic functionality and for sure no support for second camera. They're also old miui 9 versions, so they won't have portrait.
If you still want to try here are some versions to flash (remember to give all the permissions prior opening the app, otherwise it will say that it can't connect).

I still recommend to avoid using miui camera on this device, it is really bad with picture compression. Just use GCam for almost everything and you'll get awesome results, i even compared with my friends' mi 8 and the results are impressive.
Where I find B and W in FreeDCamera? didnt found yet
 

danypava

Senior Member
Oct 17, 2012
105
60
28
Concesio
Where I find B and W in FreeDCamera? didnt found yet
Assuming you are on oreo-based rom (i'm on syberia and this doesn't work), just open FreeDCam and try to switch camera. It should show front camera, and changing again camera should show up the B/W sensor. I can't say it works for sure, i used to do it on an old unofficial rom (AICP based off old los15 sources), and it may still work but i didn't do further testing.

I asked to syberias' dev if he could look into that, hopefully we'll have working B/W sensor for third party cameras other than buggy Snap

UPDATE: Got it working guys, made a new thread so that it will be pinned for others too :D:D
 
Last edited: