In order to hard reset a LG T5100, you should perform the following steps.
1. Power up the phone.
2. Open the phone's dialer with a press of a Call button.
3. Now type this code into the dialer: 2945#*5301#
4. Lastly, press the Call button again. Your phone will now reset and restart. Well done.