Install Stock Rom / Unbrick on HTC Desire 526g

Download and install fastboot, adb and drivers
incase you need to fix the emmc:

connenct the 526G via USB to the PC
take the battery out of the 526G
put the battery back and press volume UP + power button the boot menu should now appear
from the menu select 'fastboot' (press volume down 1 times and then volume up 1 time)
the PC should now detect "MT65xx device" and search for and install the drivers  (if not then manually install the drivers in the device manager)   MT65xx device driver
Now there will be an "Android device" in place that also needs a driver    Android driver or Android Driver