[One (M9) Q&A, Help & Troubleshooting] kinkywtf:
Hi guys so i have a htc one m9, I have been struggling with for a few days now .

ill try and make it short,

Software status=Modified

Locked

S-ON

the phone is in a boot loop can't charge or anything. going into Download mode says it is for devs only.

Tried pushing twrp and rom via SD card gives me the EMMC errors can't mount etc etc

Via adb it keeps blocking me not allowed "due to s-on"

fastboot getvar all

=

(bootloader) version:0.5

(bootloader) variant:MTP eMMC

(bootloader) secure:yes

(bootloader) version-baseband:

(bootloader) version-bootloader:

(bootloader) max-download-size: 0x20000000

(bootloader) partition-type:cache:ext4

(bootloader) partition-size:cache: 0x14000000

(bootloader) partition-type:userdata:ext4

(bootloader) partition-size:userdata: 0x5e0000000

(bootloader) partition-type:system:ext4

(bootloader) partition-size:system: 0x118000000

(bootloader) serialno:FA558YJ02109

all:

finished. total time: 0.132s

PS C:\Users\Frederik\Desktop\android>

PS C:\Users\Frederik\Desktop\android> fastboot format userdata

Creating filesystem with parameters:

Size: 25232932864

Block size: 4096

Blocks per group: 32768

Inodes per group: 8192

Inode size: 256

Journal blocks: 32768

Label:

Blocks: 6160384

Block groups: 188

Reserved block group size: 1024

Created filesystem with 11/1540096 inodes and 140700/6160384 blocks

target reported max download size of 536870912 bytes

erasing 'userdata'...

FAILED (remote: Not allow when s-on)

finished. total time: 0.015s

PS C:\Users\Frederik\Desktop\android> fastboot format cache

Creating filesystem with parameters:

Size: 335544320

Block size: 4096

Blocks per group: 32768

Inodes per group: 6832

Inode size: 256

Journal blocks: 1280

Label:

Blocks: 81920

Block groups: 3

Reserved block group size: 23

Created filesystem with 11/20496 inodes and 2620/81920 blocks

target reported max download size of 536870912 bytes

erasing 'cache'...

FAILED (remote: Not allow when s-on)

finished. total time: 0.012s

PS C:\Users\Frederik\Desktop\android> fastboot format system

Creating filesystem with parameters:

Size: 4697620480

Block size: 4096

Blocks per group: 32768

Inodes per group: 8192

Inode size: 256

Journal blocks: 17920

Label:

Blocks: 1146880

Block groups: 35

Reserved block group size: 279

Created filesystem with 11/286720 inodes and 38161/1146880 blocks

target reported max download size of 536870912 bytes

erasing 'system'...

FAILED (remote: Not allow when s-on)

finished. total time: 0.010s

PS C:\Users\Frederik\Desktop\android>

PS C:\Users\Frederik\Desktop\android> fastboot format sdcard

Formatting is not supported for filesystem with type ''.

PS C:\Users\Frederik\Desktop\android> fastboot format recovery

Formatting is not supported for filesystem with type ''.

PS C:\Users\Frederik\Desktop\android> fastboot reboot-bootloader

>>

rebooting into bootloader...

OKAY [ 0.006s]

finished. total time: 0.007s

PS C:\Users\Frederik\Desktop\android> fastboot oem lock

>>

...

FAILED (remote: unknown command)

finished. total time: 0.010s

PS C:\Users\Frederik\Desktop\android> fastboot getvar all

(bootloader) version:0.5

(bootloader) variant:MTP eMMC

(bootloader) secure:yes

(bootloader) version-baseband:

(bootloader) version-bootloader:

(bootloader) max-download-size: 0x20000000

(bootloader) partition-type:cache:ext4

(bootloader) partition-size:cache: 0x14000000

(bootloader) partition-type:userdata:ext4

(bootloader) partition-size:userdata: 0x5e0000000

(bootloader) partition-type:system:ext4

(bootloader) partition-size:system: 0x118000000

(bootloader) serialno:FA558YJ02109

all:

finished. total time: 0.132s

PS C:\Users\Frederik\Desktop\android>

If anyone has any input I would love to hear from you.

I dot know the history of the phone it's a clients phone, yeah I fix phones first HTC though and im stumped.