HTC Desire 526g unbrick repair

I see that many people have a problem like I had with flashing that phone with SPflashtool.
Here is solution

1. Download SP_Flash_Tool_v5.1420.03
2. In sp tool download agent select DA_SWSEC
3. Load scater file from firmware you downloaded ( in my case that is HTC Desire 526,526g,526h k44 1.00.401.1 Europe by jamesjerss )
4. Chose Format all+Download
After flashing the phone you need to fix IMEI and need to fix WiFi NVRAM WARNING: ERR 0x10..