Just try and flash an i777 stock ROM, like Shostock or Cooked. In other words, download whichever one you want and flash it in recovery.
The fact that your buttons don't work is an easy fix, that isn't an issue.
Try and flash one of the ROMs I mentioned via recovery and let us know how it goes. You should have absolutely no trouble at all.