[One (M7) Q&A, Help & Troubleshooting] Zerotta:
Hello,

I'm stuck in bootloader with TAMPERED RELOCKED and S-ON and I have no idea what I should do. ADB is not working and I'm really worried about my device. Can it still be restored to stock?

I've tried unlock my device with unlock_code.bin, but it doesn't work, device is still RELOCKED. I tried flash RUU, but the only thing I accomplish with it is FAILED (remote : 12 signature verify fail)

I hope someone can help me.

adb

C:\Users\Jere>adb devices

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

List of devices attached

C:\Users\Jere>adb reboot

error: device not found

getvar all

C:\Users\Jere>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.57.0000

(bootloader) version-baseband: 4T.29.3218.08

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 6.09.401.5

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: xxxxxxxxxxxxxxx

(bootloader) imei: xxxxxxxxxxxxxxxxxx

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0710000

(bootloader) cidnum: HTC__Y13

(bootloader) battery-status: good

(bootloader) battery-voltage: 3777mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-6d8a0b9b

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.047s

flash RUU

C:\Users\Jere>fastboot erase cache

******** Did you mean to fastboot format this partition?

erasing 'cache'...

OKAY [ 0.046s]

finished. total time: 0.047s

C:\Users\Jere>fastboot oem rebootRUU

...

(bootloader) Start Verify: 3

OKAY [ 0.030s]

finished. total time: 0.031s

C:\Users\Jere>fastboot flash zip C:\Users\Jere\Desktop\rom.zip

target reported max download size of 1514139648 bytes

Invalid sparse file format at header magi

error: write_sparse_skip_chunk: don't care size 92833182 is not a multiple of the block size 4096

sending sparse 'zip' (1478648 KB)...

error: write_sparse_skip_chunk: don't care size 92833182 is not a multiple of the block size 4096

error: write_sparse_skip_chunk: don't care size 92833182 is not a multiple of the block size 4096

OKAY [131.086s]

writing 'zip'...

(bootloader) signature checking...

FAILED (remote: 12 signature verify fail)

finished. total time: 311.316s

C:\Users\Jere>

Flash recovery

C:\Users\Jere\Desktop>fastboot erase cache

******** Did you mean to fastboot format this partition?

erasing 'cache'...

OKAY [ 0.047s]

finished. total time: 0.047s

C:\Users\Jere\Desktop>fastboot flash recovery C:\Users\Jere\Desktop\recovery-clo

ckwork-6.0.4.8-m7.img

target reported max download size of 1507811328 bytes

sending 'recovery' (8756 KB)...

OKAY [ 1.116s]

writing 'recovery'...

(bootloader) signature checking...

FAILED (remote: signature verify fail)

finished. total time: 1.678s

fastboot OEM lock

C:\Users\Jere>fastboot devices

SH34NW905842 fastboot

C:\Users\Jere>fastboot OEM lock

usage: fastboot [ <option> ] <command>

commands:

update <filename> reflash device from update.zip

flashall flash boot + recovery + system

flash <partition> [ <filename> ] write a file to a flash partition

erase <partition> erase a flash partition

format <partition> format a flash partition

getvar <variable> display a bootloader variable

boot <kernel> [ <ramdisk> ] download and boot kernel

flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it

devices list all connected devices

continue continue with autoboot

reboot reboot device normally

reboot-bootloader reboot device into bootloader

help show this help message

options:

-w erase userdata and cache (and format

if supported by partition type)

-u do not first erase partition before

formatting

-s <specific device> specify device serial number

or path to device port

-l with "devices", lists device paths

-p <product> specify product name

-c <cmdline> override kernel commandline

-i <vendor id> specify a custom USB vendor id

-b <base_addr> specify a custom kernel base address.

default: 0x10000000

-n <page size> specify the nand page size. default:

2048

-S <size>[K|M|G] automatically sparse files greater th

an

size. 0 to disable