yashsingh1/xdaforums huggingface dataset:
[HTC One S] I_did_it_just_tmrrow:
And how do I should male a checksum, did you mean from the created /sdcard/mmcblk0p20 ?

Greetings by Idijt
[HTC One S] OCedHrt:
You can take a MD5 hash of thr mount point directly. But it's easier to find the correct radio in the radio thread. If you point me to it i can check if the flash script is correct.
[HTC One S] HTC-One-User:
HTC One S 1.5Ghz Soft Bricked to!

Hallo! I also have a soft bricked HTC One S to with a SD-card that doesn't want to mount. I've tried a lot of fixes and tips from other users on this forum and other forums. Also read into this problem with ideas from this forum a lot!

What I done so far!

Before tampering with the cellphone I took backup .img files of my ROM. I even took a manual ''Copy everything on the cellphone to my PC'' in case this would happen. So....

I have installed Universal ADB Drivers, JDK for Java, Android Studio bundle, HTC sync, The HTC One Toolkit - Squabbi - 3.1.2 version. Not that it done any good so far.

The BIG problem is that the cellphone can't mount it's memory card. So I can't put any ROMS, FLASH FILES, .zips or anything on it. I failed at forcing data into the ''data'' folder to.

And when I try to flash a file directly using ''Fastboot'' the device hangs at:

sending 'zip' (632094 KB)...

OKAY [ 27.661s]

writing 'zip'...

FAILED (remote: not allowed)

finished. total time: 27.691s

I downloaded the RUU for my device as a .zip as there's no existing .exe version to be found. This is the one: OTA_Ville_U_JB_45_S_HTC_Europe_3.16.401.8_1.11.50. 05.28_10.27.50.08L_release_301852xf01hejl416oev96. zip

Now later when I tried flashing it thinks it might be a zip that must be on the SD card and then need to be flashed through TWRP or something.

I've also tried everything I can and looked for to S-OFF my phone but nothing ever works! it persists on staying S-On :P No idea if that matters now anyway.

In the bootloader this information can be seen:

*** TAMPERED ***

*** UNLOCKED ***

VLE PVT SHIP S-ON RL

HBOOT-2.15.0000

RADIO-1.11.50.05.28

OpenDSP-v31.1.0.45.0815

eMMC-boot

Dec 14 2012,17:10:57:-1

NOW! This is what actually works on my cellphone:

1. I can get into BootLoader on my HTC One S!

2. I can get into Fastboot on my HTC One S!

3. The Fastboot on my HTC One S recognizes as ''Fastboot USB'' on when I plug it into my computer.

4. My computer recognizes the cellphone as a ''removable disk''. And using the command ''Fastboot Devices'' in CMD lets me see the ''SH32HW401164'' number. Using the command ''Fastboot getvar all'' gives me this information:

(bootloader) version: 0.5

(bootloader) version-bootloader: 2.15.0000

(bootloader) version-baseband: 1.11.50.05.28

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: SH32HW401164

(bootloader) imei: 359901049737584

(bootloader) product: vle

(bootloader) platform: HBOOT-8960

(bootloader) modelid: PJ4010000

(bootloader) cidnum: HTC__Y13

(bootloader) battery-status: good

(bootloader) battery-voltage: 4150mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-64bedd38

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.063s

I'll thank anyone for advice or input in this matter :)
[HTC One S] Rapier:
What I miss from your info is what recovery do you have on it...have you tried flashing latest TWRP? Also you said the phone is recognized by PC as removable drive...what do you see on it, the contents of your sdcard?

EDIT: Nevermind, I've seen your post in the other thread and you said there you have Philz's CWM recovery. Try flashing latest TWRP and see if you can mount sdcard from recovery. If not, what you can do is to flash the stock recovery, then from bootloader choose the third option (Factory Reset), then flash TWRP again.
[HTC One S] androidcues:
HTC have u tried the stuff by Cannondale or Cannonball? He had the fix. You just gotta remake the symlinks and connect. I have been in your position before! I had a deja vu moment reading your assessment.

I Was able to fix this issue five different ways. The easiest is to get a boot.IMG out of the current ROM you have.. The hardest is to remake symlinks. RUU never worked for me.

I need to go through notes and relive this if u still need help... But keep tinkering... It'll be awesome when you finally fix it!

---------- Post added at 02:47 AM ---------- Previous post was at 02:43 AM ----------

ahhhh... TWRP. I remember getting all the sdcard mount errors on clockworkmod junk. After that.. I went team win and never looked back.

Try TWRP.
[HTC One S] HTC-One-User:
Thanks! Downloaded latest TWRP now and flashed it. Worked great! So now I have that. All the other problems still persist though. The SD card still doesn't want to mount. And to answer the other question about what I see on the card. it appear as a ''removable disk''. And needs to be formatted in order to be used. I cannot enter it or check what files is on it sadly.
[HTC One S] Rapier:
And if you mount sdcard from TWRP what does it shows on your PC?

If still nothing, I would do what I've suggested in my first post...download and flash stock recovery, do a factory reset FROM bootloader (this will wipe and properly format your sdcard), then flash TWRP again. You should have an empty, but usable sdcard at this point, you could mount it in TWRP and copy a ROM zip onto it for flashing

Sent from nowhere over the air...
[HTC One S] HTC-One-User:
I actually have the boot.img from the stock room as I took backups before I flashed or wiped anything. Flashing it did not help sadly :( What is ''symlinks'' though?

---------- Post added at 06:25 PM ---------- Previous post was at 05:43 PM ----------

Oh thanks! I'll try that in that exact order and see if that works! Mounting ''USB storage'' in TWRP did not show any sign in my computer so will try that other thing now instead ;)

26minutes later: Yeah now the cellphone appear as a media driver in windows. I still get error when trying to copy something over there no matter what it is. In fastboot, the RUU ROM get errors due to SD card mounting failure. And the Viper ROM get errors to but actually copies over. But doesn't start. Cellphone hangs up in the white logo screen instead. Soo.... back to finding a ROM or way to flash things through fastboot I guess?!
[HTC One S] kdd998:
Last time I couldn't access my internal SD Card, I had to reformat it. This was after an HBOOT change from 2.16 to 2.15. The only way I managed this was with the latest official CWM recovery.

I tested with an adb shell with the busybox tools, with TWRP and other tools by accessing the raw device from Linux without success. [emoji15]
[HTC One S] arximus:
I have lost access to my sd-storage0 and was not able to fix it in cwrm recovery. I fix it with flashing this RUU http://xdaforums.com/showthread.php?t=2751518 through fastboot. It updated my hboot 2.15 to 2.16 and radio from 1.15.50.05.29 to 1.20.50.05.16. And returned missed memory BUT in form of one whole 12Gb storage.
[HTC One S] Rapier:
Yes, this is happening when switching to 2.16 firmware. Don't understand what is the problem tho...

Sent from nowhere over the air...
[HTC One S] arximus:
Thanks for answer! Right now it's not my problem, I just want to say that fixed storage problem in a way of flashing RUU.
[HTC One S] Bad.Fish:
can you post a link to the toolkit? its not available on hasoons thread anymore and i really need
[HTC One S] mjlnr:
I had the same sdcard issue and here's my notes on what worked.

Since the All-in-one kit is not available/maintained (true?), I instead attempted [Tutorial][S4/S3] How to use OTA zip to get back to Stock OS steps 1 thru 18 (including the blue part 11 - 16) to revert to stock OS. However, it did not seem to restore access to the sdcard (although I don't remember if I also correctly performed the steps in OP thread post #8).

Since my HTC One S (Rogers = Fido in Canada) has one OTA but also two RUU's at the Ville page on androidruu.com, I then used a suggestion in Cannot mound SD Card/Storage, No ROM on HTC One S (forums.androidcentral.com). I found that each of my RUUs had a "rom.zip" file containing a "recovery_signed.img". I could not extract them on Windows 10 using 7-Zip, but instead using the unzip tool on a Mac. I used fastboot to flash the recovery image, then used the bootloader (hboot 2.15) to Clear Storage and Factory Reset. I flashed TWRP 3.x and was able to see the sdcard (finally!!), and thus copy over an old TWRP backup, restoring my phone back to 4.1 Jelly Bean. (Because the process wiped the sdcard, I used TWRP "backup" to recreate the backup file directory, and then copied my backup to the proper location so that TWRP could find it.)

In the end, I am not sure if it was using the OTA or the RUU or a combination to restore stock that worked. Does anyone know what might be the difference? For reference, the RUU method in the androidcentral link is as follows:

1. Download the correct RUU for your provider/carrier ID (CID). If not correct, do not proceed.

2. Run the RUU executable in Windows. Minimize any windows/screens that it opens.

3. Open the temporary folder (Windows key + R, and type %temp%, press OK). Use search to find a file named rom.zip (or possibly rom1.zip, etc.) whose time of creation equals when the RUU was launched.

4. Copy the rom.zip, unzip it and find recovery_signed.img. Copy it.

5. Flash the recovery image:

fastboot flash recovery recovery_signed.img

6. Use hboot to Clear Storage and also Factory Reset.

7. Flash your custom recovery and check that sdcard is now accessible.
[HTC One S] kvnly2:
So i tried every rom and tried MIUI and it worked like a charm, utb did not work for me. for those that used utb and it did not work, i say try miui. great tutorial btw
[HTC One S] KazeMurasaki:
Hey, I followed the steps but cannot push the rom.zip to the phone. The only recovery that seems to work after the factory reset step seems to be the interim one, but it gives me errors:

- when I try 'mount USB storage I get this:

E: Unable to open ums lunfile (No such file or directory)

- when I 'mount /sdcard' and try to push the rom.zip with adb I get this:

protocol failure

Although some part of the file goes through, cuz when I go to choose zip from sdcard the file name is there, but when I try to flash it I get another error:

Finding update package...

Opening update package...

E: Can't open /sdcard/rom_name.zip

(bad)

Installation aborted.

So any ideas?
[HTC One S] Thongvilay:
Got as far as being able to mount the SD card

Alright, got the sdcard to mount, now I can't seem to adb push the ROM.zip....any clues? It keeps telling me that device not found.
[HTC One S] cannondale0815:
Can you post the exact adb output, including the command you used?
[HTC One S] androidcues:
Cant wait for my next sdcard problem...

i know that sounds strange, but it should be happening soon... anyone know how to trigger the sdcard nomount? destroy the file system? (unlink sdcard / mnt/sdcard/ or just rmdir sdcard?) Anyway, I wonder if this will work... I will be trying this next time

http://xdaforums.com/showpost.php?p=20633584&postcount=5 death2all110's post in the kindle fire forum

obviously substitute mccblk0p12 with 0p34 or 36 whatever works. the point is i wonder if

adb shell
echo /dev/block/mmcblk0pXX > /sys/devices/platform/usb_mass_storage/lun0/file

will also do the trick and save us from having to mess with htc proprietary stuff.
[HTC One S] leonchristianson:
Can't mount sdcard

Tried the all-in-one but I can't get CWM to load through it. I can manually load CWM and access recovery but the sdcard is still unmounted. any help would be appreciated.
[HTC One S] KazeMurasaki:
Hey, I had a similar problem. I'm not exactly sure what you've tried already but in my case I had to mount/unmount the sdcard a few times through CWM, before I could adb push the rom.zip with no error messages. Also try pushing the rom after unmount, if it doesn't work, mount and try again. I did it a bunch of times before it finally worked.
[HTC One S] leonchristianson:
I ended up installing TWRP and that fixed the problem. I installed it and did an adb push of Zyroid 3.1 even though it said the SD card wasn't mounted, and it worked! I think I like TWRP's interface a little more. I'm kind of new to the Android stuff but have been a computer guy for 20+ years and it's kind of fun working out these problems. I might look for some development books..

Here's CWM vs TWRP: http://xdaforums.com/showthread.php?t=1706965&highlight=twrp

Thanks for the reply!
[HTC One S] roakes:
Hi,

The All in One kit no longer contains the stock recovery, where can I get this from?

Thanks

Russell
[HTC One S] zxcycle:
for those who have "protocol failure" just try and try and try until it push successfully
[HTC One S] tsh:
Yes ... where is the stock ROM for TMOUS 1.84? Searching is fruitless thus far. :(

---------- Post added at 11:05 AM ---------- Previous post was at 10:26 AM ----------

Found an old archive of all-in-one-kit-v1.0 ... extract use the stock recovery from in there. Just copy the stock_recovery.img file to your install directory for One_S_All-In-One_Kit_v1.1\data\recoveries\ and rename stock_recovery.img to recovery.img and flash with the tool as "Your own recovery".

http://www.mediafire.com/?xx7k6ejd0vrh2b5

Worked finally, using all steps in post 8, and just keep retrying the adb push when I got "protocol failure".
[HTC One S] cam_96:
HTC ONE S no .ZIP

Hi guys,

So I’ve been looking everywhere on the internet for a solution of my HTC One s. I’ve come close, but always encounter another issue. Basically my problem is the following:

I wanted to put a custom ROM, leedroid, and followed all the steps of rooting, unlocking,…. However, I forgot to put the .zip file of the ROM on the phone before doing so, and thus once I get to the CWM 5.8.2.4 or TWRP 2.1.7 menus, I obviously don’t see it and as a result cannot install it. I THINK MY ONLY ISSUE IS GETTING THE ROM.ZIP ON MY HTC ONE S.

Currently, when I turn on my phone, the HTC one logo pops up and I get a red texts warning. This simply stays and I basically cannot access my phone. The mounting options in both CWM and TWRP do not work, so I cannot simply plug to PC and transfer the .zip. I’ve tried the fastlooder USB, to flash, all-in-one, ADB,….

Im very new to this, especially to the android world. I’ve read that people have a similar problems, and all have been able to fix it, however I try those steps and other issues appear. My patience’s is wearing thin and I feel like opening up the HTC one S and simply remove the SD card (I don’t even know if that’s possible).

Anyways, any help is as always much appreciated, and please ask me questions if need be, I need all the help I can get!

Thanks
[HTC One S] Equlibryum:
Try the new version of TWRP , me too didnt manage to get from SD with CWM or TWRP 2.1.7 , but the new version of TWRP >> 2.1.8 can do more . You can even mount the SD and upload a file using PC USB connection (check the TWRP thread for more info ).

For those having problems with other roms , could try change CID , check this post >> http://xdaforums.com/showthread.php?p=26516911#post26516911

Changing CID would allow to write any rom want ( compatible with your device of course ) . I did it myself on my One S , using the info from that post .

I have tested a lot of roms from around here and in the end i flashed a stock rom . Very good battery life and no problems at all .
[HTC One S] milesmarrero:
Ok guys, new to the forums but this problem has had me fully occupied for the last 6 hours and I feel like I have tried everything. I had cm9 alpha 12, and went to flash TrickDroid v5.0, something happened and I'm currently stuck in some wierd bootloop/soft brick. I had access to CWM but my SD card wouldn't mount and my adb push attempts didn't do anything, for reasons I don't know why. My phone would start up into the wierd trickdroid bootup and last for like 30 minutes. I tried the solution as listed in step #8, but now I dont have any CWM access and I can only access the bootloader or the endless bootup screen. I tried using the all in one tool to flash the CWM again but it just restarts it and puts it back into the bootup, and when i restart to go to bootloader to acess the recovery, it goes back to bootup. Thanks in advance
[HTC One S] rykardo1981:
I had the same issue just now, and I was able to solve it.

I downloaded a file from this other threat . Just follow step 2 and you will solve that issue you have.

Download the Interim CWM Touch Recovery of Paul or Official CWM of koush (HTC One S)

(Thanks Paul/koush for the Recovery!)

Place the CWM File where the fastboot.exe is (Downloaded with the SDK)

Now open the cmd and navigate to the folder where the CWM File is located

Now type:

fastboot flash recovery name_of_the_recovery.img

For Paul's:

fastboot flash recovery r2-modaco-recovery-clockwork-touch-ville.img

If for any reason after you fix the issue, and you get a "protocol failure" when you do this step:

adb push utb.zip /sdcard

All you have to do is disable HTC Sync on the taskbar.

Hope that helps.
[HTC One S] masca88:
thx very much!!! you saved my life :D
[HTC One S] dave il barbaro:
the command sent the file, but i still can't access to the sdcard...

i'm desperated....:crying:

Edit: now i can access to sdcard, but when i click on "choose zip from sdcard" i get the error "no files found"

Edit2: i followed this guide http://xdaforums.com/showthread.php?t=1667929&highlight=ruu and now everything works!!!
[HTC One S] k1ll1nt1m3:
Thank you. I could not figure out how to get my sdcard back. You made it so easy.
[HTC One S] jdsign:
I am on a mac and thus cannot us the all in one kit. So my question is: where do i get this STOCK RECOVERY ? It is so often refered to but i dont have an idea where to get this! :'-(
[HTC One S] schMATKA:
stock recovery

unable to reinstall stock recovery (now i have CWM v5.8.3.1 and work only this ver) ?

I try lock and unlock but see error:

sending 'recovery' (9480 KB)... OKAY [ 4.806s]

writing 'recovery'... FAILED (remote: image update error)
[HTC One S] snooffy:
Hi Guys,

I've managed to unbrick my friends One S flashing the stock recovery, clearing storage, factory reset, flashing CWM recovery, pushing the custom rom with ADB as per post 8. It worked BUT. I cannot still mount USB storage in recovery I guess this is an issue with the CWM recovery, but is there a workaround for this? I've tried even 5.8.3.1 official CWM latest with the same issue.
[HTC One S] RepusJonathan:
Hello,

So far I got TWRP installed which seems to be more powerful than CWM and it can kinda see folders when I click "install" However I STILL cannot mount the sdcard...

plesae help. I push ROM files via adb but it can't flash it because of the following errors:

"E:Unable to mount '/sdcard' (tw_moun)

E:failed to mount /sdcard (Invalid argument)

HOWEVER, I can mount the sdcard via TWRP and I even formatted with my windows 7 with NTFS format because it prompted me to format it before I could use/view the 9gb sdcard drive. Is this why I'm having problems right now? Thanks so much for help! please help!

Please help!
[HTC One S] manicbomber:
It worked. Thank you so much.
[HTC One S] VivaEspana:
thank you :cyclops:
[HTC One S] ipit:
Oh man. None of that stuff worked for me. I couldn't even go back to stock recivery as windows wasn't even loading the driver. Kept saying android driver not found (despite me having all the HTC stuff installed). Luckily I had TWRP so jumped on their IRC site and asked for help.

This may not be the solution for everyone but just writing it up in case there's someone else in my situation.

I actually had TWRP FULL backup on my PC (not on the SD card though)

Went into TWRP recovery > Mount USB Storage whilst connected to the PC>Asked me to FORMAT> Which I did (use NTFS)> I was then able to see the drive on my PC

I copied my TWRP backup directory from PC to phone

Disconnected from PC and unmounted

Went into Restore and restored EVERYTHING i had backud up

Rebooted to system and everything is perfect again

I was absolutely sh**ing myself thinking I screwed up my brand new phone (I'm a noob)

This would only work if you have a full backup somewhere.
[HTC One S] Hardstyle14:
I fixed it by going into recovery select the USB storage mount and then formatted the SD card from windows.
[HTC One S] srsriharsha:
I need some help here.

I flashed the stock recovery -> "clear storage"-> reset to factory defaults and then when I try to flash CWM i still get "error: device not found". Although then it says CWM was installed, I cannot go into CWM

I was able to install TWRP but when I try to mount SD card I get

"E:Unable to open ums lunfile: (No such file or directo"

I tried to Wipe SD card but log shows Formatting /sdcard... and does nothing further.

How do I flash a ROM now, please advice. Also if someone can share their Nandroid backup it would be awesome.

(I did a restore and then a factory reset before falling into this unable to mount sd card trap.)

(EDIT: I was able to push a ROM after I installed Android SDK. Now everything is working fine) I realized not wiping before going back to Nandroid backup was the cause of all issues
[HTC One S] ste69:
Good procedure

Works like a charm.

Thanks
[HTC One S] srsriharsha:
Here is the stock recovery :good:

View attachment Recovery.zip
[HTC One S] ravvio:
sd card munt error

If your running windows 7 and have ever formatted your card via built in format program, it messes it up. I know how to fix this though:, first mount usb storage...make sure u have all hidden files shown, and copy/paste all your entire sd card somewhere on ur pc to back it up...then download this program http://dl.dropbox.com/u/65761686/sdfmt3_1 (2).zip extract the zip, and run it, choose format option erase all. upon format completion, load your files back onto the card, and you should be all set.:good:
[HTC One S] mahdi12:
i had a problem but resolved

i flashed stock recovery and choose clear storage but when flash cwm one s wont bootup to recovery

to fix this problem i flash stock recovery and clear storage and flashed with new ruu..............:cowboy:
[HTC One S] Holypancake:
since all the previous options failed for me, this is how i managed to mount the sd card.

very simple actually, just flash the newest version of TWRP. that DID let me mount my sdcard which solved all my problems.
[HTC One S] obutto:
Flashed a corrupted version of something and went through straight hell. You don't need to ADB, just install the latest version of TWRP (not included in the All in One but just DL and flash it). God finally my phone works.
[HTC One S] sleepy_76:
Thanks to the OP and everyone for the suggestions. Loaded a rom which was apparently a corrupted zip file and got the dreaded "error mounting sdcard" message in recovery. Tried reflashing cwm which didn't work. Tried the updated TWRP and bingo! Able to see the sdcard in windows, format, push proper zip and able to get things going again. I was so angry that I had almost screwed up the phone after something very similar happened last winter with my Nexus S. Wish I had know about trying TWRP to see if it could fix that phone also. Oh well, you live & you learn.
[HTC One S] e3rfn:
how can i flach back to the stock recovery using all in one kit ?
[HTC One S] massd:
I found the solution for me in this thread:

http://xdaforums.com/archive/index.php/t-1689773.html
[HTC One S] jerico9:
i messed up with the CM10 rom now i have a bricked one s

i installed TWRP but cant mount it. i've tried to use the recovery in the all in one for cwm but no joy.

how do i mount and how do i push a new rom on to it

please help
[HTC One S] teh_pwnrer:
Flash stock recovery in 1.1 toolkit then wipe and restore phone in fastboot then flash 2.2.1 twrp
[HTC One S] Hallonaut:
Hallo, I have a software brick on my One S. I come of mac and the OneToolKit does not work for me. SD can't mount and no Installation is possible. Two different Macs do not detected that One S.

Excuses my bad English