If you are facing some software related issues, then you can flash the stock ROM to fix that. You can Unbrick and unroot your device by flashing back the stock ...