Default Bricked over mistake, please help.

i have a Japanese HTC One or HTL22. I tried to sim unlock it as shown in this URL.

Code:
Select Code
adb push misc.img /
adb shell
# dd if=/misc.img of=/dev/block/mmcblk0p19
# reboot
Upon writing this codes in cmd, i made a mistake: instead of /mmcblk0p19 I input /mmcblk0p1.
There was a message saying
Code:
Select Code
 /dev/block/mmcblk0p1: write error: No space left on device
257+0 records in
257+0 records out
131072 bytes transferred in ...
So i think the misc.img is transferred into the device (though it said no space left). And now the device wont boot.

Please help. Thanks.