  Phone must be rooted!
If the software can't root the phone automatically, 
then you must root your device manually.
1. Power on the phone.
2. Enable "USB debugging" in "Settings"-"Developer options" for Android 4.0 - 4.1.2 or
   tap 7 times on "Build number" in "Settings"-"About phone" to enable "Developer options" in Android 4.2+.
3. Connect the phone to PC with USB cable, install drivers if needed.
5. Select device in ADB settings.
6. Fill values what you need to repair.
7. Press "Repair" button.
8. Press "Reset EFS" if you need to reset it.
   Be carefully, do not perform this without necessity and make backup before.
9. Press "Disable Factory Mode" or "Patch Certificate" if needed.
   If your phones IMEI became null/null after "Patch Certificate" operation,
   then this phone have different hardware and patching is not possible for it.
   Just fully reflash the phone and IMEI will restore.