0

I bought a used nexus 5x and got a message saying to lock the bootloader to allow OTA updates. So I did, not fully understanding what my situation was. It wiped the phone and now it won't boot. I can get into TWRP but that's it.

I tried loading a bullhead factory image (as well as a lineage zip) on a USB-C flash drive from the TWRP install menu but it failed with error 7.

I'm not really sure what to do now. Is there any way I can get my phone flashed with a working image? Ideally the factory image.

edit: I should add that I tried the standard flashing instructions but they all start with unlocking with fastboot which doesn't work apparently because i need to check a box in the unbootable OS.

update:
Well, for some reason poking the clear cache button in TWRP fixed it and it booted, I was then able to unlock the boot loader and install the factory rom. Not sure how to evaluate the answers now as I can't test them.

2
  • Well, for some reason poking the clear cache button in TWRP fixed it and it booted, i was then able to unlock the boot loader and install the factory rom. Not sure how to evaluate the answers now. Dec 11, 2017 at 2:31
  • Content of your comment can be helpful, so please, place it in your question as an edit to give option for voting. Dec 11, 2017 at 13:32

2 Answers 2

1

Both locking and unlocking bootloader performs a factory reset on your device on the next boot. This wiping needs stock recovery. You had installed TWRP to the device and since you locked back bootloader. It needed the default recovery to be able to wipe it, since it wasn't there, TWRP tries to wipe, boot and fail, back to TWRP on and on forever. Flashing stock recovery either via fastboot, or flasing software will help it reset hence boot again. If you feel new to this. You can request a full more detailed answer from me and I'll edit this to your convenience.

Note: Flashing software will always download in firmware regardless of the state of that checkbox

1

If flashing stock recovery image from appropriate factory image with fastboot and factory reset doesn't help, you can restore factory Nexus 5X image with TOT file with LGUP.

For this operation, no ADB && Fastboot is required.

Unfortunately, I had direct experience with Nexus 5X with erased bootloader or locked bootloader with non-factory ROM - though, with successful outcome.

Even I do complete procedure from Windows 7 virtual machine, it should be done natively

Download TOT file
Disconnect device from computer and turn it off
Install LG usb drivers
Install LGUP
Install 8994 dll for LGUP
Enter download mode by pressing and holding the volume+ 
button while connecting device to computer with USB cable - 
if done in timely manner, Windows should install drivers
Start LGUP - if everything is done correctly, device should 
be detected - then navigate - browse downloaded TOT file, 
select refurbish and click start

Original information can be read from here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .