[HTC One S] Grabarz19:
Hello mate.

I second this.

I am currently having the exact same issue as described here.

I have rooted my phone, superCID, S-OFF, installed MaximusHD, flashed new firmware for MaximusHD and this is where I hit a roadblock.

It began like this:

I went to TWRP, plugged in phone, mounted it (I chose to mount Data in TWRP not SD card, as SD card could not be selected) - system was asking to format the device - I chose no, and moved over the MaximusHD rom (let's call it ROM.zip) using

adb push ROM.zip /sdcard/ROM.zip

The operation was succesful, TWRP showed the file ROM.zip in /sdcard, however, when I tried flashing it, I couldn't -> the access to SD card was blocked. I followed all the instructions in this thread:

http://xdaforums.com/showthread.php?t=1630459

After this, I went back to TWRP, mounted SD card (this time it was selectable) and pushed ROM.zip onto /sdcard

The operation was succesful, and yet TWRP did not show the file in /sdcard.

Note: System does not ask to format the device anymore, but it shows only 50mb of storage. TWRP also confirms 50mb (47mb, to be exact)

I repeated the process, same result.

I tried to boot into system using TWRP -> reboot -> system, the phone restarts and hangs on HTC One screen.

To try something else, I went into bootloader and locked it using

fastboot oem lock

The device restarted into system, once again went into HTC One screen but this time, after a couple of seconds began optimizing apps.

A system launched. Weird, considering firmware update supposedly wiped everything off the phone, not even mentioning all the resets and wipes I did by following the thread I posted earlier. I went through first launch steps and was now in a fully functioning MaximusHD system, the one I installed the first time.

The device connected to PC easily and now it showed full storage size, with all the folders and structures inside.

Inside I found two icons which surprised me. They looked like two 0 bytes empty partitions that could not be double clicked or deleted (upon deletion system throws an error that device might have been disconnected). I tried to move ROM.zip onto there, after it finished, instead of ROM.zip now there were three 0 bytes empty partitions. This is when it struck me - my 2 previous attempts to bring ROM.zip onto /sdcard with adb push are those two partitions that were already there. I unplugged and plugged my device back on, the partitions disappeared and ROM.zip showed up.

I went back into recovery and it still showed 50mb storage size and nothing inside SD card (nothing other than two folders, TWRP and .android_secure).

I rebooted the device into system and it hung up on the HTC One screen. I unlocked my bootloader and locked it again using

fastboot oem lock

and was able to return to system. Somehow, locking my bootloader lets my device get past the HTC One screen. However, the system started fresh again so I lost all the apps that were meanwhile installed (a file manager) and all settings. I went through the process and was back into working system. This is the moment where I am now, confused as to what to do next.

I went into my file manager which I got from Play Store again, which showed the entire folder structure. When I pressed back to go into the root, I was surprised to see that I actually wasn't in /sdcard.

Right now, the exact same folder structure seems to be located in four places on my phone:

/storage/emulated/legacy

/storage/emulated/0

one of these two were on default in the File Manager,

also found one here:

/storage/sdcard0

and also in:

/sdcard

My theory is that the file system in /sdcard gets wiped every time the phone is restarted and somehow brought back fresh onto /sdcard, but it doesn't make much sense and doesn't explain why TWRP shows completely different paths.

I also flashed TWRP to the newest version, to no result.

I fixed my own issue 5 minutes after posting this response...

I skipped the point where you have to install TWRP that is given in the Install Package in RUU mode. This was the root of all problems.

Reflash your firmware, following the instructions here: http://xdaforums.com/showthread.php?p=45621060 (post 68).

What a way to waste 5 hours just because i thought I don't need TWRP because I already had it installed.

Good luck on your issue.