The main riff is just a telecaster into a cranked Vox AC30 amplifier and him doing some dramatic bends/tremolo
The solo/noise section at the end could be a few things..seems like the amp is just cranked and probably pushed with some sort of overdrive.. if ANY effect it's some sort of fuzz, possibly with octave content though set low (which seems likely as the harmonic content is high).
edit: I had to relisten on a ghetto youtube copy, I'll check it out later w/ headphones and let you know for sure but I think I'm right.