Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,740,412 Members 45,259 Now Online
XDA Developers Android and Mobile Development Forum

[HOW-TO] Fix soft brick & error mounting sdcard

Tip us?
 
cannondale0815
Old
(Last edited by cannondale0815; 23rd May 2012 at 10:17 PM.)
#1  
Senior Member - OP
Thanks Meter 207
Posts: 512
Join Date: Apr 2009
Default [HOW-TO] Fix soft brick & error mounting sdcard

EDIT: I solved my own problem. Scroll down to post #8 for the solution.

My problem was that my phone (T-Mobile USA HTC One S) would not boot into ICS anymore, but I was still able to get into recovery (CWM), yet I had no access to the sdcard ("unable to mount /sdcard").

Post #8 below tells you how you can restore access to the sdcard in CWM so that you can push a ROM zip file to the sdcard via adb.

-J
The Following 21 Users Say Thank You to cannondale0815 For This Useful Post: [ Click to Expand ]
 
archie53
Old
#2  
archie53's Avatar
Senior Member
Thanks Meter 44
Posts: 508
Join Date: Jun 2010
Location: New Jersey
Have you made any nandroids? If you have maybe you can restore. Also check in the download file in cwm that is possible place where that file may be.

Sent from my myTouch 4G Slide using xda premium
HTC One X CM10.1 Nightly
Nexus 7 Stock Rooted
The Following User Says Thank You to archie53 For This Useful Post: [ Click to Expand ]
 
cannondale0815
Old
#3  
Senior Member - OP
Thanks Meter 207
Posts: 512
Join Date: Apr 2009
Quote:
Originally Posted by archie53 View Post
Have you made any nandroids? If you have maybe you can restore. Also check in the download file in cwm that is possible place where that file may be.

Sent from my myTouch 4G Slide using xda premium
Unfortunately I didn't have the foresight to make a nandroid backup. My previous phone was a Samsung Galaxy S 4G, which, like most Android phones, has a removable SD-Card that stuff can be copied onto (and then flashed). Not so here obviously.

Is it even possible to push files to the sdcard using the method I tried when in CWM?
 
joshnichols189
Old
#4  
joshnichols189's Avatar
Senior Member
Thanks Meter 1385
Posts: 6,921
Join Date: Jun 2010
Location: Chicago
When you push the file via ADB, have you tried placing it into a folder that you know is on the /sdcard?
Iphone 4S Nokia N9
LG Voyager OG Sidekick
Blackberry Tour 9630 Blackberry Storm 9530
Motorola Droid Droid Bionic; Droid X
HTC Droid Incredible HTC Thunderbolt
HTC Droid Incredible 2 HTC Trophy
HTC Rezound; HTC One S HTC One X HTC G2
Asus Transformer Nook Tablet
Samsung Fascinate Galaxy Nexus Galaxy Note
Galaxy SII i9100 White Galaxy Nexus
Galaxy SIII i9300 Galaxy Tab 2 7.0
 
cannondale0815
Old
#5  
Senior Member - OP
Thanks Meter 207
Posts: 512
Join Date: Apr 2009
Quote:
Originally Posted by joshnichols189 View Post
When you push the file via ADB, have you tried placing it into a folder that you know is on the /sdcard?
It just got worse. I got the idea to format all partitions (data, system, cache, sdcard) through CWM, and now CWM can't even mount /sdcard/ anymore...
 
zylith
Old
#6  
zylith's Avatar
Senior Member
Thanks Meter 164
Posts: 189
Join Date: Aug 2009
Location: Collinsville
I had to do the same thing:
adb push "NameOfFile.zip /sdcard

then go to install from zip.
Look on sd card and it will be there.
I always rename the zip files to there can be less errors.

you can also do
adb shell pull "nameOfFile.zip /sdcard

make sure the zip file is where your adb and fastboot is
 
LuckyMethod
Old
#7  
Junior Member
Thanks Meter 1
Posts: 17
Join Date: May 2010
Location: San Bruno, CA
My problem is CWM can't mount the /sdcard directory, so I can't flash the new OS. Is there anybody that knows how to recover from that problem?
 
cannondale0815
Old
(Last edited by cannondale0815; 9th May 2012 at 12:54 AM.)
#8  
Senior Member - OP
Thanks Meter 207
Posts: 512
Join Date: Apr 2009
Quote:
Originally Posted by LuckyMethod View Post
My problem is CWM can't mount the /sdcard directory, so I can't flash the new OS. Is there anybody that knows how to recover from that problem?
Yes, I just fixed my problem yesterday after some serious trial-and-error.

1) Use the All-in-One-Kit and flash your recovery back to stock

2) Boot into the bootloader and choose to "clear storage" and afterwards to reset to factory defaults.

3) Go back to the all-in-one-kit and flash a CWM recovery version again.

4) Reboot into recovery (CWM). Your /sdcard should now be mounted and visible.

5) Now, try the UTB rom (it worked for me), rename the zip file to something short (i.e. utb.zip), and push it to the sdcard using adb as follows:

Code:
Select Code
adb push utb.zip /sdcard
6) While still in CWM, flash the zip.

The trick here is that only the stock recovery is capable of restoring access to the sdcard by it's proprietary "clear storage" option.

Good luck!

-J
The Following 74 Users Say Thank You to cannondale0815 For This Useful Post: [ Click to Expand ]
 
shootind5nukes
Old
#9  
Senior Member
Thanks Meter 108
Posts: 117
Join Date: May 2010
If that doesn't work an easy fix is boot into bootloader, goto fastboot and use "fastboot flash boot boot.img" and so fouth. In the dev section I seen a stock tmobile naindroid. Download it and you'll have your data.img and boot.img. You should be able to flash them without needing to push to /sdcard. letme know how it works

I know you fixed this already just thought this still might help
The Following 5 Users Say Thank You to shootind5nukes For This Useful Post: [ Click to Expand ]
 
LuckyMethod
Old
#10  
Junior Member
Thanks Meter 1
Posts: 17
Join Date: May 2010
Location: San Bruno, CA
Quote:
Originally Posted by cannondale0815 View Post
Yes, I just fixed my problem yesterday after some serious trial-and-error.

1) Use the All-in-One-Kit and flash your recovery back to stock

...cut...

-J
It worked like a charm, thank you very much. You saved my life, I was in a time crunch.

The Following User Says Thank You to LuckyMethod For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes