There's a very very good chance this should fix your problem. From what you explained you have corrupted the system files on your phone which is preventing it from booting. What your about to do is reinstall the complete system again. That should fix everything for you.