Preparing a Sprint Epic 4G Touch for Sale

Some people might be surprised to learn that performing a factory reset on a Sprint Android phone won’t clear out all of your personally identifying information. In fact, a factory reset will only erase your previously installed applications, user data, and configuration settings. It won’t clear the phone’s NVRAM nor will it remove your Sprint mobile number or user name which usually contains your full name, e.g., You probably don’t want that kind of personal information left on your phone if you plan to sell it on eBay or Craigslist.

To clear your phone’s NVRAM, you’ll need to locate your Master Subsidy Lock (MSL) code. You may be able to get your MSL by calling Sprint or you can try to locate it on your own. Assuming that you haven’t already performed a factory reset, the easiest way to find your MSL code would be to use one of the MSL lookup apps available on Google Play such as Get My MSL. Alternatively, you could install one of the free terminal emulators such as Terminal IDE and use the following command:

getprop ril.MSL

Note that the above command is case-sensitive. Some custom keyboards may auto-capitalize the “r” in ril.MSL preventing the command from working properly.

Your next best option, assuming you’ve already factory reset your phone, would be to install the Android SDK on your computer and use the Android Debug Bridge (ADB) to look up your phone’s MSL over a USB connection. This procedure is somewhat more time consuming but doesn’t require reconfiguring your phone. To install the Android SDK and adb tool on your computer, please do the following:

  1. Download and install the latest Android SDK from
  2. Run the Android SDK Manager. The first time you run the SDK manager, you will be list of packages to install. If all you need is adb, select the “Android SDK Plaform-tools” and “Google USB Driver” and de-select all of the other options. Note that you’ll need to scroll down to confirm that the Google USB Driver is selected. Most likely both options will be selected by default.
  3. Android SDK Platform-tools

    Google USB Driver

  4. Click the button “Install 2 packages…”
  5. Next, you’ll be prompted to accept the license agreements for each of the selected packages. Either click “Accept” under each one or click the “Accept All” radio button.
  6. Choose Packages to Install

  7. Click Install to download the packages and begin the installation.
  8. Click Close when done loading packages then close out of the Android SDK Manager.

Once installed, you should see a platform-tools folder inside your Android SDK folder, e.g., C:\Program Files (x86)\Android\android-sdk\platform-tools. To make it easier to run adb as well as the other SDK and platform tools, you can add the tools and platform-tools directories to your PATH.

With the Android SDK and platform tools installed, you’ll want to connect your Android phone via USB and verify that adb is working.

  1. On your Android phone, go to the home screen, press Menu, select Settings –> Developer options (ICS) or Settings –> Applications –> Development (Gingerbread), and enable USB debugging.
  2. Click OK or Yes when prompted whether to allow USB debugging.
  3. Now connect your phone to your PC using a USB cable. Windows should automatically launch the new hardware wizard and install the required USB device drivers.
  4. Android USB Driver

  5. Verify that adb is ready to be used with your device by opening a command prompt on your computer, typing adb devices, and pressing Enter. If properly configured, you should see the serial number of your Android device listed in the result.
  6. adb devices

  7. To get the MSL for your Android phone using adb, type the following command: adb shell getprop ril.MSL

Finally, to clear the NVRAM on the phone, perform a ##72786# reset from the Dialer and enter the MSL when prompted. After pressing OK, the following message should appear prompting you to confirm that you want to reset your phone to factory defaults:

SCRTN is change to factory default value for DSA.

Click Yes to clear the NVRAM. The phone should restart automatically.

Confirm that all personal identifying information has been cleared by going to the Home screen and pressing Menu –> Settings –> About Phone –> Status. Note that you will likely be prompted to perform a handsfree activation. This indirectly confirms that all user identifiable information has been wiped.

At this point, I recommend performing one final factory reset.

  1. Select Settings –> Privacy –> Factory data reset
  2. Select the option to “Format USB storage” then click the Reset phone button.
  3. Click “Delete all” to confirm.

Your phone is now ready for sale. 🙂

What Is ADB And How To Install It With Android SDK

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.