You could use that one. But please note that this workaround worked only on xiaomi.eu custom rom (and probably miui china) and is not needed any more. For call recording you need the dialer app by xiaomi, not the one by google which comes with miui global.
Seems like Xiaomi removed automatic call recording feature. However, it's still here! It's just hidden.
Install activity launcher from Google Play and look for "com.android.phone.settings.CallRecordSetting".
Install the app form the attachment.
No root or anything needed...