If for some reason your Android powered smartphone does not perform as good as it used to, or you want to sell it I suggest you to bring it to its original factory state.
At any given time you can reset your Nexus 4 smartphone to the factory default settings, meaning you will bring your phone back to the same state as it was on a day when you took it out of the box.
Samsung Android devices such as Galaxy S2 or S3 come with a cool app called Kies Air, enabling you to connect via WiFi connection and manage them using a web browser.