Wipe cache partition: Samsung Galaxy S4. Learn how to wipe the Samsung Galaxy S4 using the hardware keys. If the phone is not working correctly, you may need to master reset it and also clear the cache partition. These two resets clear different parts of the phone storage. Unlike a master reset, wiping the cache partition does not delete your personal data. 1  Turn off the device. 2  Press and hold the following three buttons at the same time: Volume Up key. Home key. 3  When the phone vibrates, let go of the Power key but continue to press and hold the Volume Up key and the Home key.