[OnePlus 2 General] PhoenixNghi:
UPDATE: see the solution at the end

Guys, I need help :crying:

TL;DR current status: continuously bootloop with vibration, can access and recognize Fastboot, BL was relocked somehow

Before:

- unlocked BL

- was running AOSP Extended 4.0, Android 7.1.1

- TWRP 3.0.2.2

My dummy sin:

- such a beautiful day and I decided to flash a 9.0 ROM

- went to my twrp recovery and flashed a corrupted TWRP img (twrp-3.2.1-0-oneplus2.img)

=> could not access the recovery (of course), could boot to the system, I tried to install the correct twrp img, but it said Writing 'recovery' FAILED (remote: device is locked. Cannot flash images)

then I went to Developer settings > OEM Unlocking and that option was off, I turned it on

then went to the Fastboot mode and ran fastboot oem unlock, my phone automatically rebooted, now it was stuck at the 1+ bootscreen

it seems my BL was relocked because I didn't remove the pattern lock

> fastboot oem device-info

(bootloader)	Device tampered: false

(bootloader)	Device unlocked: false

(bootloader)	Device is_verified: false

(bootloader)	Charger screen enabled: false

(bootloader)	Display panel:

(bootloader)	console_locked: 1

(bootloader)	exec_console_unconsole: 0

OKAY [ 0.074s]

Finished. Total time: 0.074s

Here I followed the guide in this thread:

- OP2 can power on itself from an alarm, so I can't turn it off completely, it keeps powering on itself, was really hard to boot into QUALCOMM-HS USB Diagnostics mode, but finally I did it (by keep holding power + volup)

- first time the program Qualcomm firehose started running for a few seconds then it exited itself

- then I replaced another recovery from the OP https://mega.nz/#!okl3DYqZ!lu5q0SGLyAMW_agUBoa8e6tgy5vdDDRVtwWLi8tD1qo, the program ran successfully (green alien texts)

Here my phone ran into continuous bootloops, if I press vol- power, I can see a small Linux penguin blinking, but still can access Fastboot mode

Now I'm stuck, 2 deadly errors in a row :eek: (didn't remove the screen lock before flashing a new ROM and flashed a corrupted TWRP img)

____________________________

ok, I unbricked my OP2, I'm sad because I can't upgrade to OP 6T.. :rolleyes:

to summarize my problem:

- I flashed a corrupted TWRP img, then BL was relocked

- When using Qualcomm tool to reflash the recovery, if you press Start button and it fails for any reason, open that program again and try again until the progress bar flashes some files to your phone and shows up a green status, your phone will restart, choose the first option to unlock the BL

- Then you can install OOS by booting to the recovery (H2O or OOS Idk exactly), choose Install from USB, sideload the .zip to install OOS (to charge your phone before flashing TWRP and other ROMs, in my case I can't boot to the system to charge my phone)

- At this step, you can flash the TWRP recovery and flash any custom ROMs

There's 2 tricks in my case:

- to go into the Qualcomm mode (something like "QUALCOMM-HS USB Diagnostics 9006"), keep pressing power + vol up, the screen will show nothing (black screen), keep your eyes on the Device Manager's tree: Ports)

- Qualcomm flash tool may show a red status, or exits itself, just open it again and press the Start button again.

Ref:

https://forums.oneplus.com/threads/...ck-guide-for-a-hard-bricked-oneplus-2.347607/

https://www.youtube.com/watch?v=ARyaWKpRz3U

https://www.youtube.com/watch?v=R4SVSovw4Jo