Decided to flash on the MIUI 10 Global Stable. With this no problems, but enable Camera2api not helped any way. I tried the patches of the cap, they either generate an error Update 7 or placed, but nothing changes - GCAM not work. Weekly from 9 android without any problems and I correct build.prop path test mode.
In solving this problem has helped council member forum under the nickname
aleks.vt .
Manual activation Camera2api on MIUI 10.2.2.0/ Android 8.1.
I activated when the handle is ordered. Need to get root, and then use a third-party file manager with root access (I use Total Commander). Vydaosh resolution file manager, it's important! You walk along the path of the root folder \ system \ and find file build.prop, poking at him, then "edit file". Doing a search, all of a sudden have some line is, if they do not, then appends anywhere (I did as on the screenshot)
persist.camera.HAL3.enabled = 1
camera.lowpower.record.enable = 1
vidc.enc.dcvs.extra-buff-count = 2
# Additional buffers shared between Camera and Video media.camera.ts.monotonic = 1
vidc.enc.disable.pq = 1
Post has been editedalshturman - 26.05.19, 22:03Reason for edit: the post brought to me to mean readability