6

I want to sell my Nexus 6P for parts, but I want to wipe it first. The screen of my Nexus 6P broke (internally, the touchscreen MIGHT be fine, idk). The phone is full-disk encrypted with a PIN and the bootloader is locked (no root). I can't fully boot the phone since it will be stuck on the FDE pin entry.

As we know the Nexus 6P does not have external monitor support - so this is not an option. I do have ADB and Fastboot access, but commands like

fastboot erase userdata

are blocked, since the bootloader is locked. Also various adb shell commands did not work.

What I tried:

ADB Shell: Recovery --wipe_data

adb shell
recovery --wipe_data
/system/bin/sh: recovery: not found

source

ADB Shell: Wipe Data

adb shell
wipe data
/system/bin/sh: wipe: not found

source

Fastboot: Wipe

adb devices       # Check the phone is running
adb reboot bootloader
# Wait a few seconds
fastboot devices  # Check the phone is in bootloader
fastboot -w       # Wipe user data
Erasing 'userdata'   FAILED (remote: device is locked. Cannot erase)

source

Fastboot: Erase

adb devices       # Check the phone is running
adb reboot bootloader
# Wait a few seconds
fastboot devices  # Check the phone is in bootloader
fastboot erase userdata
Erasing 'userdata'   FAILED (remote: device is locked. Cannot erase)

source

So the question is, what are my options to wipe my phone?

Patrick
  • 171
  • 1
  • 1
  • 7

1 Answers1

1

I finally got it to work. The base of the solution was to use adb screen casting. I was lucky, the apk was installed and I could remote control the device and made a OS factory reset.

Patrick
  • 171
  • 1
  • 1
  • 7