Razr Maxx HD, How to wipe data with broken screen My screen is totally destroyed, it's black and unresponsive. The phone turns on just fine, though. I just got my new phone and I have to send this one back now.

I want to wipe the phone before I send it back, but I'm not sure how. I don't care too much about sending back a rooted phone, it seems Asurion doesn't really care about that from what I've read, but I don't want my personal data on the phone when I send it in.

What are my options to wipe the phone without a screen? I've already read a lot of threads on other forums and here on the subject, but everyone seems to say to wipe through ADB shell. Well, I can see the phone in ADB, but I am unable to enter SU through ADB shell. I assume it's because the screen is locked, and I have no way to unlock it. Others have also said to wipe through fastboot in ADB, but I am seeing conflicting recommendations and I'm not sure how to proceed. I'm not that proficient with ABD, so I want to make sure I don't mess this up.  Any advice would be greatly appreciated.
You can obtain the adb and fastboot utilities as part of the Android Software Development Kit (or separately from third parties, but watch out for Trojan binaries). If you install the SDK, you will need to install the Platform Tools and (if using Windows) the USB Driver for Windows.

Once you have them, from whatever source, this is what you will do:


Reboot the phone to the bootloader (fastboot):

adb reboot bootloader


adb may not work if the phone hasn't previously been placed in USB Debugging mode. In this case, boot the phone to fastboot mode by first powering it off, then powering it on by holding all three of the Power, Volume Up and Volume Down keys at the same time for two seconds, then releasing all three keys, then touching Volume Down twice, then Volume Up once.
Check to see if the phone is in fastboot mode. If it doesn't show anything, wait a few seconds and try again:

fastboot devices

Wipe the user data/cache:

fastboot -w