Here's a general outline of the repacking process:
: You must unlock the bootloader before flashing any custom recovery, which will wipe all data. Enable Developer Options twrp vivo y71 repack
A few important points:
: You need the recovery.img from your specific firmware version to use as a base for repacking/porting. Here's a general outline of the repacking process: