Replacing the driver file on xiaomi. The phone is rooted. Working through NDK on c++. A Studio
Created a new driver, which I found on the phone “/system/vendor/lib/hw/[email protected]”. As I understand it is responsible for the camera video stream. Created via c++ file on android studio. Which creates the same file, again theoretically) But I can not check, since the file does not allow me to replace even with the flag “setenforce 0”.