[SOLVED] Error mounting the SD-Card - HTC One S

Hello!
For days I have been struggling with my HTC One S. It all started when I forgot to reflash the boot.img after updating Cyanogenmod. At first I didn't understand that I needed this after kernel changes, and just installed different versions of Cyanogenmod because I thought that "that version has a bug and doesn't work". The screen had only stripes of different colours, and couldn't boot. After trying different versions, wiping and flashing, I found out about the important boot.img. Just when I figured out that, and booted recovery an evening I noticed that the sd-card couldn't be mounted longer. I didn't think too hard about it, and just connected my phone to the computer to flash the boot.img and a new recovery. I only have Windows 8.1 on my computers, which didn't work. Therefor I decided to install Ubuntu alongside Windows (took me 6 hours now to do so), and now Fastboot finally worked! Than I flashed boot.img and a new recovery. The strang thing now was that I could finally boot the last Cyanogenmod version I flashed before the SD-card mount error (10.2.0), but still in recovery the SD-Card can't mount, nor in Android. I have tried to follow different guides here to avoid doublepost, but without success. Can someone please help me?

I think you should try to install the recovery that linked at the cyanogenmod thread's first post and then retry to flash cm and boot.img
If can't mount sd after flashing twrp try wiping sd card
Sent from my One S using xda app-developers app

Thanks!
ka_55 said:
I think you should try to install the recovery that linked at the cyanogenmod thread's first post and then retry to flash cm and boot.img
If can't mount sd after flashing twrp try wiping sd card
Sent from my One S using xda app-developers app
Click to expand...
Click to collapse
Thank you so much! First I tried to install TWRP, and it did go well, but still could not mount sd-card. Than I tried to wipe the sd-card, and after all was back to normal. Thanks again! I am happy

Norwegianones said:
Thank you so much! First I tried to install TWRP, and it did go well, but still could not mount sd-card. Than I tried to wipe the sd-card, and after all was back to normal. Thanks again! I am happy
Click to expand...
Click to collapse
i'm happy too if i could help and you should mark this thread as solved

Marked
ka_55 said:
i'm happy too if i could help and you should mark this thread as solved
Click to expand...
Click to collapse
Marked Having latest nightly of Cyanogenmod 11 installed now

Have fun with cm then
Sent from my One S using xda app-developers app

ka_55 said:
Have fun with cm then
Sent from my One S using xda app-developers app
Click to expand...
Click to collapse
I will

Related

[Q] TWRP wont let me flash rom, no OS installed

Well i was trying to install cleanROM 5.1 and cleanKERNEL on my HOX, but every time i would try it would say failed (unable to mount /sdcard, etc.) so i wiped my cache, did a factory reset, wiped external storage, then accidentally did a system reset so i have no OS installed now, i was running 2.20 before but found a tut to unlock bootloader and root. in bootloader it says ***tampered*** and ***unlocked***
So if i have a custom recovery installed that means im rooted right?
and basically what can i do to install this rom and kernel without an error
LoudonLoud said:
Well i was trying to install cleanROM 5.1 and cleanKERNEL on my HOX, but every time i would try it would say failed (unable to mount /sdcard, etc.) so i wiped my cache, did a factory reset, wiped external storage, then accidentally did a system reset so i have no OS installed now, i was running 2.20 before but found a tut to unlock bootloader and root. in bootloader it says ***tampered*** and ***unlocked***
So if i have a custom recovery installed that means im rooted right?
and basically what can i do to install this rom and kernel without an error
Click to expand...
Click to collapse
You have to plug it in to computer, open up "my computer" and click it... It'll ask you to reformat sdcard. Once its done, download cleanrom on your computer, mount your sdcard in trwp, and drag it onto your phone. open up recovery on your phone and flash entire rom :thumbup:
Sent from my One X using Tapatalk 2
InflatedTitan said:
You have to plug it in to computer, open up "my computer" and click it... It'll ask you to reformat sdcard. Once its done, download cleanrom on your computer, mount your sdcard in trwp, and drag it onto your phone. open up recovery on your phone and flash entire rom :thumbup:
Sent from my One X using Tapatalk 2
Click to expand...
Click to collapse
i tried that, and now instead of saying failed to mount it says
E: Unable to open zip file.
Error flashing zip '/sdcard/firmware.zip'
Updating partition details...
Edit:nevermind my own mistake,, it worked tho! thank you soo much
Lol glad you got it. Enjoy bro
Sent from my One X using Tapatalk 2
Same prob but...
InflatedTitan said:
Lol glad you got it. Enjoy bro
Sent from my One X using Tapatalk 2
Click to expand...
Click to collapse
I have the same problem with my galaxy nexus but I don't have an external sd card, it's all internal only. I wiped my cache partition, I don't know why, then my cwm recovery was changed to twrp where I wiped my system. How do i fix it? Pls help!!
SuryaThunder said:
I have the same problem with my galaxy nexus but I don't have an external sd card, it's all internal only. I wiped my cache partition, I don't know why, then my cwm recovery was changed to twrp where I wiped my system. How do i fix it? Pls help!!
Click to expand...
Click to collapse
Just wanted to let you know that you are in the wrong forum. This is the HTC One XL forum, you need to ask your question in the Galaxy Nexus forum. That will be the best place to get an answer.
pside15 said:
Just wanted to let you know that you are in the wrong forum. This is the HTC One XL forum, you need to ask your question in the Galaxy Nexus forum. That will be the best place to get an answer.
Click to expand...
Click to collapse
Thx.. im kinda new to xda.
InflatedTitan said:
You have to plug it in to computer, open up "my computer" and click it... It'll ask you to reformat sdcard. Once its done, download cleanrom on your computer, mount your sdcard in trwp, and drag it onto your phone. open up recovery on your phone and flash entire rom :thumbup:
Sent from my One X using Tapatalk 2
Click to expand...
Click to collapse
i have install new ROM with this way but still same problem it wont go pass the beginning screen. i tried CM10 stable and paranoid 2+ both same, first screen and it will stuck on logo. what i am missing?
gilean86 said:
i have install new ROM with this way but still same problem it wont go pass the beginning screen. i tried CM10 stable and paranoid 2+ both same, first screen and it will stuck on logo. what i am missing?
Click to expand...
Click to collapse
You have to flash the boot.img separately. There are only about 100 threads on this issue.

[Q] Mounting Issues, No OS!

Hey Guys,
I am a new user of the HTC ONE S which I got this march. I have basically no knowledge of adb, but I used the all in one toolkit to unlock my bootloader and install TWRP. My HBoot version is 2.15.0000 with S-ON.
I have the following issue:
By mistake, I wiped the system using TWRP. I now do not have an operating system on my phone. I tried the method suggested here : http://forum.xda-developers.com/showthread.php?t=1630459. I was able to format my SD card to FAT 32, and place the ROM on the root of my Sd card. Then, I booted into TWRP and am able to view the rom, but when I tried to flash it, it gives me errors. I am unable to mount cache, dalvik, and the sd card. Aroma installer does not work, nor does the factory RUU found in the dev section. I also tried placing a nandroid backup on my phone (found in dev) for TWRP, but I cant see it in recovery, while my computer can.
I have tried almost all the solutions, can someone please help me.
Note : Please be kind and patient while explaining it to me, I am a noob who needs step by step instructions. Thank you in advance.
It also does not mount usb - otg.
If you can get to the bootloader you might want to just try an RUU. http://forum.xda-developers.com/showthread.php?t=2140967
It would take you back to complete stock and you can start over.
From your post, I'm guessing you already tried pushing a zip through adb.
Sent from my HTC VLE_U using xda app-developers app
deleted.
Thank you for your reply.
Just to clarify, I CAN use my card perfectly on the computer and copy ROMs etc. The TWRP runs the ROM.zip, but because the system, cache etc is not mounted, installation fails. I tried the method linked in the first post, as well as the stock OTA with no success. So, I would like to know how to run the RUU.exe
EtotheZ said:
Thank you for your reply.
Just to clarify, I CAN use my card perfectly on the computer and copy ROMs etc. The TWRP runs the ROM.zip, but because the system, cache etc is not mounted, installation fails. I tried the method linked in the first post, as well as the stock OTA with no success. So, I would like to know how to run the RUU.exe
Click to expand...
Click to collapse
Try this walk through. Just make sure you download the right RUU.
http://androidforums.com/one-s-all-things-root/691874-guide-how-run-ruu-your-htc-one-s.html
Sent from my HTC VLE_U using xda app-developers app
SOLVED!!!
npiper05 said:
Try this walk through. Just make sure you download the right RUU.
http://androidforums.com/one-s-all-things-root/691874-guide-how-run-ruu-your-htc-one-s.html
Sent from my HTC VLE_U using xda app-developers app
Click to expand...
Click to collapse
Hey, I thank you for your help. All I needed to do was update my TWRP to version 2.5, and it mounted everything and now I am running a great custom rom. Thank you for your help.

[Q] TWRP/NO OS - ROGERS - Searching forums and nothing!

I have been reading for the last couple weeks, thinking I have an answer and end up further into the hole.
Rogers HTC One X / EVITA / HBOOT 2.14. / 2.4 TWRP initially, now 2.6 / Unlocked boot loader / s-on
1. Started trying to flash AOKP 4.2.2. Flashed boot.img, then followed with TWRP recovery. All I could get was the language screen and then it stalled. Tried numerous iterations of this with various wipes and flash first and flash after.
2. Next tried Viper 3.2.7. All good till it gets to startup screen then it stops (I understand Viper has its boot.img installed to start not needing it flashed).
3. While trying various wipes to see if it would install completely I mistakenly did a factory reset! Now no OS! No Nandroid! No ROM.zip!
4. To get a ROM on SDCard tried ADB sideload thru TWRP. after running script it says unable to mount SDCARD! Suggests I reboot system! Now a little leery of rebooting for fear it will not.
5. Also tried to MOUNT HTV via TWRP on to laptop. Did not recognize said ti initialize. Formatted FAT 32 (via MAC). Now will not mount SD Card. I did drop Viper.zip into mount (cache and system OK) but can not find it using FILE MANAGER via TWRP
6. Now am in BOOTLOADER screen of Android. Thought I could flash a ROM but from what I read it does not look possible.
Can any one point me in the right direction to get this thing up and running. At this point, as much as I am learning all the time, it does me no good having my phone down for two weeks (sure glad I kept my Nexus One).
Any answer at this stage is a good answer and I appreciate all input!
Thanks
D
Sounds like you did a factory reset in bootloader which corrupts the sd card after unlocking the bootloader. You used to be able to just mount it on pc and format it but after the jb update I don't think that's possible due to the drive no longer being a mass storage device but an mtp device instead. There was a method to fix it developed by team nocturnal but it looks like the site is inaccessible right now. I'll see if there's a way to fix it and get back to you. Bear with me.
[/COLOR]By any chance have you tried wiping sd card in twrp 2.6?
Also, have done SuperCID yet?
Sent from my One X using xda app-developers app
exad said:
Sounds like you did a factory reset in bootloader which corrupts the sd card after unlocking the bootloader. You used to be able to just mount it on pc and format it but after the jb update I don't think that's possible due to the drive no longer being a mass storage device but an mtp device instead. There was a method to fix it developed by team nocturnal but it looks like the site is inaccessible right now. I'll see if there's a way to fix it and get back to you. Bear with me.
[/COLOR]By any chance have you tried wiping sd card in twrp 2.6?
Also, have done SuperCID yet?
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
SuperCID has not been done. It is S-ON presently.
I wiped SD Card as suggested. Saw it set up partitions. And now TWRP shows up when I mount . Can I just drop a ROM in and flash via TWRP? Any suggestions for a ROM. Could not get AOKP 4.2.2 to run or Viper 3.2.7.
Thanks for the quick assist at getting it to MOUNT.
Flash a stock sense rom and then fastboot flash boot boot.img extracted from the rom. Then use jet to downgrade hboot and SuperCID and then s-off. It'll save you lots of headaches.
Sent from my One X using xda app-developers app
exad said:
Flash a stock sense rom and then fastboot flash boot boot.img extracted from the rom. Then use jet to downgrade hboot and SuperCID and then s-off. It'll save you lots of headaches.
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
It all sounds simple when you say it.
I will find a stock sense ROM to install then follow with boot.img.
Is it necessary to wipe anything more then Dalvik and Cache?
Thanks again.
David
In twrp 2.6 the factory reset wipes everything except sd card and system. You don't have to wipe system but I always do when I'm flashing a new rom.
Sent from my One X using xda app-developers app
exad said:
In twrp 2.6 the factory reset wipes everything except sd card and system. You don't have to wipe system but I always do when I'm flashing a new rom.
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
Will wipe the system then.
Thanks again.
D
Anytime pip
Sent from my One X using xda app-developers app

Softbricked One Mini

so I've got a interesting situation. A friend managed to softbrick his Mini. I don't know how he got it in this state, but, it has TWRP installed, its copy of android does not boot, and it's S-ON. I played with RUUs for a few hours and couldn't get any of them to work. If I can get any working copy of android on it I can then get S-OFF and fix it. As far as I see there's two routes to fix this.
-Get S-OFF without using android
-Get a android ROM on there without S-OFF.
I pretty much have access to fastboot and twrp that can't flash Roms because of s on. Recoveries also have errors about mounting /system or /cache.
Any help in fixing this would be appreciated.
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Adding abit more information, I tried using a RUU but get errors because of firmware version. When I get the rom.zip out of the RUU and try to use fastboot to flash it, on windows I get a error about header errors (error 32). On Linux I get errors about the file is too large.
Also, nomatter what recovery I can try, neither can mount either /system or /cache unless you format them, then after a reboot they cant be mounted again.
I had an issue where my os was completely wiped after a botched update attempt. Lol I went through every possible I could think of or find until I see something about using an external drive. So what I did was use fastboot to flash a recovery, which you already have which is good. And then from there I used an OTG cable, and connected my USB drive to it, which had a ROM zip on it and flashed it. It worked. I am bootloader unlocked but not s-off. But as long as you have a recovery you can do this. I actually wasn't even rooted.
Sent from my One Mini using XDA Premium 4 mobile app
dizzyman1180 said:
I had an issue where my os was completely wiped after a botched update attempt. Lol I went through every possible I could think of or find until I see something about using an external drive. So what I did was use fastboot to flash a recovery, which you already have which is good. And then from there I used an OTG cable, and connected my USB drive to it, which had a ROM zip on it and flashed it. It worked. I am bootloader unlocked but not s-off. But as long as you have a recovery you can do this. I actually wasn't even rooted.
Sent from my One Mini using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I'm still worried about the failing to mount /system and /cache errors. Did you have those as well?
Sent from my HTC6525LVW using XDA Premium 4 mobile app
polaric said:
I pretty much have access to fastboot and twrp that can't flash Roms because of s on.
Click to expand...
Click to collapse
You don't need S-OFF to flash roms. As long as you unlocked the bootloader you can fastboot-flash boot, system and recovery. And so you can flash ROMs when in recovery mode.
polaric said:
I'm still worried about the failing to mount /system and /cache errors. Did you have those as well?
Click to expand...
Click to collapse
What HBOOT version do you have?
morschesholz said:
You don't need S-OFF to flash roms. As long as you unlocked the bootloader you can fastboot-flash boot, system and recovery. And so you can flash ROMs when in recovery mode.
What HBOOT version do you have?
Click to expand...
Click to collapse
HBOOT is 2.22
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Well, then it looks like the same issue as in the thread next to this one. So please go over there and perhaps you'll try my next steps written down there: http://forum.xda-developers.com/showthread.php?p=51737651
morschesholz said:
Well, then it looks like the same issue as in the thread next to this one. So please go over there and perhaps you'll try my next steps written down there: http://forum.xda-developers.com/showthread.php?p=51737651
Click to expand...
Click to collapse
I followed that and it got me a working recovery, but both twrp versions and the cwm version won't flash the cm zip, regardless if its modified, if I modify it myself or use a attached update-script. Both recoveries simply say "Failed to flash zip".
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Then you should repeat the flashing and have a look at the recovery log right after it. At TWRP it's located at /tmp/recovery.log (don't know for CWM).
Either do a
Code:
adb shell cat /tmp/recovery.log
or pull it to your pc:
Code:
adb pull /tmp/recovery.log
morschesholz said:
Then you should repeat the flashing and have a look at the recovery log right after it. At TWRP it's located at /tmp/recovery.log (don't know for CWM).
Either do a
Code:
adb shell cat /tmp/recovery.log
or pull it to your pc:
Code:
adb pull /tmp/recovery.log
Click to expand...
Click to collapse
Already tried multiple times, of course. I looked at the log and didnt see anything of value though. I can post it if you like.
Sent from my HTC6525LVW using XDA Premium 4 mobile app
That's what I recommended in another post:
morschesholz said:
Meanwhile you could try flashing CM11. There is an edited updater-script and boot.img over here: http://forum.xda-developers.com/showthread.php?p=51613028
I used it with cm-11-20140403-NIGHTLY-m4 successfully. Maybe the edited script works with newer versions of the CM nightlies as well, but I didn't test that yet.
Click to expand...
Click to collapse
This is the 0403 CM11 nightly I modified to match the new partition layout: https://dl.dropboxusercontent.com/u/5035075/m4kk/cm-11-20140403-NIGHTLY-m4kk.zip
You should be able to flash it with the modified version of TWRP 2.7.0.5

TWRP 2.7.0.8 Unofficial

Mods feel free to move if this is in the wrong section.
This is an unofficial build of TWRP RECOVERY built from the latest twrp sources
I just compiled this out and it fixes the new fstab layout starting from tonight's Cyanogenmod build
Credit: Mdmower --> https://github.com/mdmower/twrp/tree/twrp-2.7.0.8
Download: http://d-h.st/kgR
Note: If after installing the recovery, it will not pass the screen TWRP:
Restart and boot normally (system), then with any file manager to delete this "/sdcard/TWRP/.twrps
Click to expand...
Click to collapse
Sorry, this thread isn't pretty, but whatever
Mdmower also compiled his...didn't notice lol
feel free to take either one, won't hurt my feelings, as long as it gets the job done
http://mdmower.cmphys.com/download/267/?version=2.7.0.8
How did this recovery pan out? What's diff of this one and 2.7. Just wondering
Sent from my Desire HD using Tapatalk
chrisb906 said:
How did this recovery pan out? What's diff of this one and 2.7. Just wondering
Sent from my Desire HD using Tapatalk
Click to expand...
Click to collapse
CM is having a new fstab layout for a number of devices. One of these changes include a by-name partition support (instead of say mmcblk0p33 called as "system"). you need this recovery to flash CM from today, and probably all 4.4.2 ROMs soon
That's the major change...other than that: adb fixes (big issue for me while trying to pull kmesg logs for Sense 6 building :fingers-crossed, LED fixes, dual core support, fix of backup and restoration of encrypted backups
Is the mounting to pc issue solved?
Sent from my HTC One XL using xda premium
paras33 said:
Is the mounting to pc issue solved?
Sent from my HTC One XL using xda premium
Click to expand...
Click to collapse
I haven't tried. I know adb works now though so I can guess that mass storage will too
Sent from my HTC One XL using Tapatalk
Tried flashing, then tried booting both versions directly from fastboot and neither will completely boot for me. All I get is a flashing TWRP splash.
jacobas92 said:
Tried flashing, then tried booting both versions directly from fastboot and neither will completely boot for me. All I get is a flashing TWRP splash.
Click to expand...
Click to collapse
Is anyone else having this issue? because its working for me fine. Maybe an ruu will fix it
Sent from my HTC One XL using Tapatalk
pandasa123 said:
Is anyone else having this issue? because its working for me fine. Maybe an ruu will fix it
Sent from my HTC One XL using Tapatalk
Click to expand...
Click to collapse
I guess I could try that. I'm fairly certain I've got the latest firmware and hboot, but its worth a shot
Sent from my Wabbajack using Tapatalk Classic
jacobas92 said:
Tried flashing, then tried booting both versions directly from fastboot and neither will completely boot for me. All I get is a flashing TWRP splash.
Click to expand...
Click to collapse
I did what Jose mentioned in the Pacman Kitkat thread as the fix to this--"Note: If after installing the recovery, it will not pass the screen TWRP
Restart and boot normally (system), then with any file manager to delete this "/sdcard/TWRP/.twrps"
It worked for me, and I had the same flashing TWRP screen issue as you.
Rayvin56 said:
I did what Jose mentioned in the Pacman Kitkat thread as the fix to this--"Note: If after installing the recovery, it will not pass the screen TWRP
Restart and boot normally (system), then with any file manager to delete this "/sdcard/TWRP/.twrps"
It worked for me, and I had the same flashing TWRP screen issue as you.
Click to expand...
Click to collapse
Ahh. Thanks bud, I'll get right on that.
Mounting to PC is not working in this version of TWRP
sathish804 said:
Mounting to PC is not working in this version of TWRP
Click to expand...
Click to collapse
It is for me, you could try uninstalling the currently installed driver on windows and reinstall it.
jacobas92 said:
It is for me, you could try uninstalling the currently installed driver on windows and reinstall it.
Click to expand...
Click to collapse
I tried to uninstall and re-install the drivers but no luck for me to enable USB mounting in TWRP 2.7.0.8
I just flashed this via fastboot and when I go into recovery, it gets stock on the teamwin logo forever?? md5 checks out?
Lunatic00 said:
I just flashed this via fastboot and when I go into recovery, it gets stock on the teamwin logo forever?? md5 checks out?
Click to expand...
Click to collapse
Go back, one page.
I flashed this today and now my internal SD card doesn't mount. I'd be grateful for any assistance.
[email protected] said:
I flashed this today and now my internal SD card doesn't mount. I'd be grateful for any assistance.
Click to expand...
Click to collapse
All you needed to do was read the last few posts in this thread for suggestions on what to do.
Sent from my Evita
I flashed mine with Flash GUI Image. It worked flawlessly and TWRP is super smooth and stable. I couldn't use fastboot because my phone can't be recognized by my PC.
timmaaa said:
All you needed to do was read the last few posts in this thread for suggestions on what to do.
Sent from my Evita
Click to expand...
Click to collapse
I'm sorry timmaaa, I'm not sure what you mean. When I use a file explorer on my phone, it says my internal storage sd card is unmounted.

Categories

Resources