Only Qualcomm CPU with Firmware extension .cpb can be flashed using YGDP tool.
1- Download the latest YGDP tool.
2- Install ADB driver.
3- Now, connect mobile to PC.
4- Open device manager and confirm your mobile has been identified by PC.
5- Unzip tool and run the setup.
6- When tool interface appears, enter "ase" as password.
7- Click on Login to use the tool.
8- Click on Config and select CPU model.
9- Click on CPB file and assign the path of firmware.
10- Switch off Mobile, connect it to PC using USB cable.
11- Click on start.
12- Flashing starts and when completed Cell 0 will turn in to green color.