In order to fulfill the basic functions of our service, the user hereby agrees to allow Xiaomi to collect, process and use personal information which shall include but not be limited to written threads, pictures, comments, replies in the Mi Community, and relevant data types listed in Xiaomi's Private Policy. By selecting "Agree", you agree to Xiaomi's Private Policy and Content Policy .
extract ARB-Bypasser-Fastboot-Unlocker.zip and copy Dummy.img to Platform-tools folder
Copy MiUi-Wolf-DC.img to Platform-tools folder
Now press and hold ‘shift’ key and right-click
anywhere in the folder and select ‘Open command window here.
boot your phone in the Fastboot mode
Volume Down + Power Button together
Plug Your phone to your PC
In the Command Prompt window type fastboot flash antirbpass dummy.img
wait the process to finish than type fastboot boot MiUi-Wolf-DC.img.img
if everything was correct your phone will boot into redwolf recovery
Now on your phone
Swipe to allow modification.
Go to Install and browse "HAL3_ENABLE_MIUI_PIE.zip" select this file and flash. After successfully flashing "Reboot System".
Download "Manual Camera Compatibility" app from play store and check if is camera2api enabled or not.
this tutorial was writen by merging the MIUI.BLOG METHOD that only work on Oreo roms and Technobuzz method that is for Pie roms.
I received the pie update for miui global stable and was looking for a way to enable camera2api without root, i try the Miui.blog method and didn't work, the technobuzz method worked for me only after i flashed the Anti-rollback bypasser (dummy.img).