I may be wrong with the step I gave but I think first, you make ADB enabled/rooted recovery from stock recovery.
Then flash. After flash, reboot to recovery mode. Connect to system (in this case, software should be able to detect it in adb mode).
Then try to repair it.
After process. Flash stock firmware again |