[Q] Stuck in boot loop after enabling second screen in developer options.

view story

http://forum.xda-developers.com – While attempting to get HDMI working, I stupidly enabled second screen in developer options in my aosp ROM, which immediately rebooted the phone. I'm now stuck in a loop whereby the phone boots and then restarts when loading the lock screen (presumably it's enabling the second screen). Is there a simple way of resetting settings to default or bypassing this during boot? I'm away from home else I'd wipe and recover, so any help would be appreciated. I'm using teamwin recovery if that's relevant. (HowTos)