My TP2 does that vertical line thing too...
I noticed it does it more frequently when theres a bright light in the picture or background...
I took a picture in my kitchen and those lines were going off like crazy...
And I'm on MightyROM, so it's not a ROM issue since you experienced it on a stock ROM...