[HTC One S] inkyynki12:
Okay. Here's the deal.

My friend gave me a used HTC One S. My idea was to flash a new custom ROM on it (preferably something like CM12). He told me it was rooted, so it seemed like it was no problem. Although, it was S-On.

When I turned out on the phone, I first noticed some things. It stayed on the "HTC: Quietly Brilliant" logo, however, it had that red "This build is for development purposes only" text underneath it. After waiting almost an hour, I realized something was up. After a few attempts, I was able to get into bootloader and loaded up TWRP recovery. I poked around in the files to see what the issue could be, when I realized something. The phone was Romless! The /sdcard folder was completely empty, besides a TWRP folder. If I moved up one level, the only folders were:

and-sec

boot

cache

data

dev

devlog

etc

sdcard

license

proc

recovery

res

root

sbin

supersu

sys

system

tmp

usb-otg

and they were all empty.

Okay, so it didn't have a ROM. No big deal, right?

My first idea was to use the CM12 installer. It didn't work; for some reason it thought the device was a Samsung galaxy S2?!

So my next idea was to connect it to my pc and transfer files. Unfortunately, since it was in TWRP, it wouldn't show up on my PC so I could edit the files. So, first I tried mounting storage, but it failed, saying "E: Can't mount /sdcard". So, my next idea was to use USB OTG. After putting the CM12 file on my flash drive and connecting it to the phone, it showed up and I was able to browse the files to install CM12. On my first try, I flashed it straight from the flash drive and rebooted. When this happened, it was on the HTC logo for a good minute, then it rebooted again straight into TWRP. After that, I decided that maybe I'd have to create folders inside /sdcard. So, after a few minutes, I created the empty folders Android, Download, DCIM, Pictures, etc. in /sdcard. I copied CM12 into download and flashed it. Instant failure, giving the same "Can't mount scard" errors.

I tried rebooting. But when I did, all the folders I made as well as CM12.zip were gone!

I also tried using adb push and sideload commands. It still did not work. Still got sd card mounting errors.

Interesting. With that, I turned to XDA for help. After reading a few forums, I downloaded Hasson's All-In-One-Toolkit and tried reinstalling TWRP recovery. No luck. After that, I switched the recovery to PhilZ Touch 5. Still, once again, got internal sd errors for mounting.

Not knowing what else to do, I settled on one other option. RUU. After doing some searching online and finding the right RUU, which was RUU_Ville_U_JB_45_S_TMOUS_3.14.531.11_Radio_1.13.50.05.31_10.30.50.08L_release_309489_signed_ICS_2 .exe.

I followed instructions online about RUU and looked for a temp file. While I expecting only one ROM.zip, there were two files called rom_01.zip and rom_02.zip. They both had the same files with the same file names in them, the only difference was rom_01. zip was 35 Mb, while rom_02 was 681 mb. I tried both. They'd give me the same "please flush again immediately" the first time, but after flashing again, every time it would give me "signature verify fail."

With that, I am unsure what else to do. The only thing on the phone at the moment is PhilZ touch 5. Mounting storage does not work, and installing via sideload doesn't either. Any help with this situation is very, very appreciated.

I apologize for how long this post was.