[HTC One S] tonestar81:
Hello friends,

I'm stumped. Don't know what to do anymore.

Im am not new to rooting/modding but I am at a point now where I can't help myself.

I had CM10 running on my HOS and wanted to go back to Stock. So I relocked the Bootloader and started flashing my device. Unfortunately it didn't work and ended with the Errorcode 155 (as far as i can remember).

From there on nothing worked anymore. I think i got the HTC logo and then a black screen.

So i unlocked the Bootloader again and put CWR on it. I wanted to put CM ROM on it via adb put but didn't work. "Device not found".

So, after that i flashed TWRP and mounted my external storage so i could put the ROM on it. But didn't work. Windows said I had to format it. So i formatted it with FAT32. After that i was able to put ROM and gapps on it. Finally I was able to flash the ROM and gapps. That did work. I wanted to wipe Dalvik Cache but it said "Failed". Rebooted into Fastboot and did fastboot flash boot boot.img

I took boot.img out of the CM-Zip File.

Wiping external storage also failed.

Does anyone have a clue what is going on? How can i fix it?

I got a log from clockwork. Hope anyone can do something with it. :eek:

Starting recovery on Tue Feb 19 09:05:09 2013
framebuffer: fd 4 (540 x 960)
ClockworkMod Recovery v5.8.3.1
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null) 0
1 /recovery emmc /dev/block/mmcblk0p22 (null) 0
2 /boot emmc /dev/block/mmcblk0p21 (null) 0
3 /cache ext4 /dev/block/mmcblk0p34 (null) 0
4 /data ext4 /dev/block/mmcblk0p35 (null) 0
5 /sdcard vfat /dev/block/mmcblk0p36 (null) 0
6 /system ext4 /dev/block/mmcblk0p33 (null) 0
7 /misc emmc /dev/block/mmcblk0p23 (null) 0

W:Unable to get recovery.fstab info for /datadata during fstab generation!
W:Unable to get recovery.fstab info for /emmc during fstab generation!
W:Unable to get recovery.fstab info for /sd-ext during fstab generation!
I:Completed outputting fstab.
I:Processing arguments.
I:Checking arguments.
I:device_recovery_start()
Command: "/sbin/recovery"

ro.secure=1
ro.allow.mock.location=0
ro.debuggable=1
persist.sys.usb.config=adb
ro.build.id=IMM76D
ro.build.display.id=IMM76D
ro.build.version.incremental=eng.koush.20120429.134456
ro.build.version.sdk=15
ro.build.version.codename=REL
ro.build.version.release=4.0.4
ro.build.date=Sun Apr 29 13:45:32 PDT 2012
ro.build.date.utc=0
ro.build.type=userdebug
ro.build.user=koush
ro.build.host=Koushik-Lion.local
ro.build.tags=test-keys
ro.product.model=ville
ro.product.brand=htc
ro.product.name=cm_ville
ro.product.device=ville
ro.product.board=ville
ro.product.cpu.abi=armeabi
ro.product.manufacturer=htc
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=unknown
ro.build.product=ville
ro.build.description=cm_ville-userdebug 4.0.4 IMM76D eng.koush.20120429.134456 test-keys
ro.build.fingerprint=htc/cm_ville/ville:4.0.4/IMM76D/eng.koush.20120429.134456:userdebug/test-keys
ro.build.characteristics=default
ro.cm.device=ville
ro.rommanager.developerid=cyanogenmod
keyguard.no_require_sim=true
ro.url.legal=google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.google.clientidbase=android-google
ro.com.android.wifi-watchlist=GoogleGuest
ro.setupwizard.enterprise_mode=1
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.cm.version=9.0.0-RC0-ville-UNOFFICIAL
ro.modversion=9.0.0-RC0-ville-UNOFFICIAL
ro.config.ringtone=CyanTone.ogg
ro.config.notification_sound=CyanMessage.ogg
ro.config.alarm_alert=CyanAlarm.ogg
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.adb.qemud=1
dalvik.vm.lockprof.threshold=500
net.bt.name=Android
net.change=net.bt.name
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.factorytest=0
ro.serialno=SH24KW405401
ro.bootmode=recovery
ro.baseband=1.11.50.05.28
ro.carrier=HTC-GER
ro.bootloader=2.15.0000
ro.hardware=ville
ro.revision=128
ro.emmc=1
init.svc.recovery=running
service.adb.root=1
init.svc.adbd=running

I:Checking for extendedcommand...
I:Skipping execution of extendedcommand, file not found...
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 115 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 115 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 115 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 115 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 1
fd: 12
ev: 0 0 0

-- Wiping cache...
Formatting /cache...
fd: 12
ev: 1 116 0
fd: 12
ev: 0 0 0
Creating filesystem with parameters:
Size: 268431360
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 65535
Block groups: 2
Reserved block group size: 15
Created filesystem with 11/16384 inodes and 2089/65535 blocks
warning: wipe_block_device: Discard failed

Cache wipe complete.
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 1
fd: 12
ev: 0 0 0
Couldn't open directory.
No files found.
fd: 12
ev: 1 116 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 0
fd: 12
ev: 0 0 0
W:failed to mount /dev/block/mmcblk0p35 (Invalid argument)
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 0
fd: 12
ev: 0 0 0
W:failed to mount /dev/block/mmcblk0p35 (Invalid argument)
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 0
fd: 12
ev: 0 0 0
W:failed to mount /dev/block/mmcblk0p35 (Invalid argument)
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 0
fd: 12
ev: 0 0 0
W:failed to mount /dev/block/mmcblk0p35 (Invalid argument)
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 0
fd: 12
ev: 0 0 0
W:failed to mount /dev/block/mmcblk0p35 (Invalid argument)
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 1
fd: 12
ev: 0 0 0

-- Wiping cache...
fd: 12
ev: 1 116 0
fd: 12
ev: 0 0 0
Formatting /cache...
Creating filesystem with parameters:
Size: 268431360
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 65535
Block groups: 2
Reserved block group size: 15
Created filesystem with 11/16384 inodes and 2089/65535 blocks
warning: wipe_block_device: Discard failed

Cache wipe complete.
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 115 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 115 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 115 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 115 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 1
fd: 12
ev: 0 0 0
fd: 12
ev: 1 114 0
fd: 12
ev: 0 0 0
fd: 12
ev: 1 116 1
fd: 12
ev: 0 0 0