[HTC One S] ali.uosefi:
Downgrade ONE S TEST OK 10000000%

This method was successfully tested with Htc One S

Special thanks to absolutelygrim

poyesh@poyesh-System-Product-Name:~$ sudo dmesg | grep "qcserial"

[ 10.811491] usbcore: registered new interface driver qcserial

[ 10.814207] qcserial 1-1.1:1.0: >Qualcomm USB modem converter detected

[ 220.576873] qcserial ttyUSB0: >Qualcomm USB modem converter now disconnected from ttyUSB0

[ 220.576892] qcserial 1-1.1:1.0: >device disconnected

[ 247.441420] qcserial 1-1.1:1.0: >Qualcomm USB modem converter detected

poyesh@poyesh-System-Product-Name:~$ sudo modprobe qcserial

poyesh@poyesh-System-Product-Name:~$ sudo modprobe -r qcserial

poyesh@poyesh-System-Product-Name:~$ sudo mknod /dev/ttyUSB0 c 188 0

poyesh@poyesh-System-Product-Name:~$ cd Desktop/ville

poyesh@poyesh-System-Product-Name:~/Desktop/ville$ chmod +x emmc_recover

poyesh@poyesh-System-Product-Name:~/Desktop/ville$ sudo ./emmc_recover -f ./hboot.nb0 -d /dev/sdd12 -c 24576

================= emmc_recover 0.3 alpha 2 ==========================

Using chunksize 24576

Messing up with device /dev/sdd12, ARE YOU SURE?

CTRL+C if not, ENTER to continue

Ok, ready to flash

Filesize:	1047808

Chunksize is:	24576

Cycle count is: 43.135417

Press ENTER if everything is correct, CTRL+C if not

Ready to write 24576 bytes

Resetting device

Cannot reset device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x00000000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x00006000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x0000C000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x00012000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x00018000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x0001E000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x00024000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x0002A000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x00030000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x00036000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x0003C000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x00042000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x00048000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x0004E000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x00054000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x0005A000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x00060000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x00066000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x0006C000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x00072000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x00078000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x0007E000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x00084000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x0008A000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x00090000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x00096000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x0009C000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x000A2000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x000A8000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x000AE000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x000B4000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x000BA000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x000C0000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x000C6000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x000CC000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x000D2000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x000D8000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x000DE000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x000E4000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x000EA000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x000F0000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 24576 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 24576 bytes to offset 0x000F6000

Waiting mode-switch

Device changed mode

Detected mode-switch

Ready to write 15616 bytes

Resetting device

Reset command sent

Waiting device /dev/sdd12.......

Found device!

Writing 15616 bytes to offset 0x000FC000

Waiting mode-switch

Device changed mode

Detected mode-switch

poyesh@poyesh-System-Product-Name:~/Desktop/ville$