full master reset?

view story

http://forum.xda-developers.com – I have a e970 lgog It is rooted and unlocked with a custom ROM I want to do a complete master reset and bring it back to a fresh original new phone Reason being is that I have a lot of garbage file build up and want a new start My question is, if I do a factory reset will it affect my phone being rooted and unlocked? Do I have to revert those before I do the reset? Or will it stay rooted and unlocked? Any tips on the best way to do this? Thanks Im a n00b (HowTos)