Thanks to the Efuse partition protection, that's not possible to flash custom recoveries on UMIDIGI S2 Pro. This one is not an exception, of course.
Please never recommend/offer and share any software solution without testing it first on the specific device, not even a play store app. Any kind of software development is perfectly pointless without testing. You should be aware of that before starting a new project.