If your VIVO Y12 is currently functional and you have enabled Developer Options, this software-based method is the easiest.

On your computer, navigate to the folder where you installed the ADB tools. Hold the Shift key and right-click inside the folder, then select "Open PowerShell window here" or "Open Command Prompt here."

In this menu, use the Volume buttons to move up and down and the Power button to select an option. Method 2: Using ADB Commands (Via Computer)