Any way to flash factory firmware back?

Made some root changes on the file system, I want to flash back the original factory firmware to undo this, I am NOT talking of the android base reset, but a whole firmware one.

Where I can get the rom/firmware files and how I can flash it?

cheers

Hi, take a look here: