Get your Mac set up for adb and fastboot.
Then follow the return to stock thread, linked via my signature.
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality.
Are you a developer?
Copyright © xda-developers. Hosted by Leaseweb