[Q] Help with flashing custom ROM using TWRP "Unable to mount SDcard" - HTC One S

Hi,
I am quite new to this but have done everything i can to solve this problem. I have a HTC One S (s4 version).
- i have unlocked my HTC via HTC dev.
- i have installed Clockworkmod recovery.
- i have sent a Cyanogen 11 zip file via ADB push command.
- i tried to install the rom but i had status 7 error, didnt work.
- i flashed TWRP2 recovery instead of Clockworkmod, via fastboot on my pc.
And now; i reboot to TWRP recovery, ADB push my Rom again to /sdcard/, this works. I go to install, i can select the zip file, it asks me wether i'm sure i want to install it, i proceed and then get the error "E: Unable to mount '/internal_sd' " "E: unable to mount stoarage".
So i have root acces, ADB works. Fastboot works. But installing a rom doesn't work with either Clockwork or TWRP2.
Versions used are TWRP 2.7.0.0 and Cyanogenmod 11, a snapshot version.
How to solve this?
Thanks

Try fixing permissions from twrp, if it doesn't help try wiping sd via twrp
Sent from my One S

How about using a usb cable to transfer files to you storage?

Twrp 2.6.1.0
HTC One 1.56 S-Off MaximusHD 33

ferdyvw12 said:
Hi,
I am quite new to this but have done everything i can to solve this problem. I have a HTC One S (s4 version).
- i have unlocked my HTC via HTC dev.
- i have installed Clockworkmod recovery.
- i have sent a Cyanogen 11 zip file via ADB push command.
- i tried to install the rom but i had status 7 error, didnt work.
- i flashed TWRP2 recovery instead of Clockworkmod, via fastboot on my pc.
And now; i reboot to TWRP recovery, ADB push my Rom again to /sdcard/, this works. I go to install, i can select the zip file, it asks me wether i'm sure i want to install it, i proceed and then get the error "E: Unable to mount '/internal_sd' " "E: unable to mount stoarage".
So i have root acces, ADB works. Fastboot works. But installing a rom doesn't work with either Clockwork or TWRP2.
Versions used are TWRP 2.7.0.0 and Cyanogenmod 11, a snapshot version.
How to solve this?
Thanks
Click to expand...
Click to collapse
Solved? PM me if still need help.

Related

[Q] Help with custom rom on HTC One S

Hi,
I am quite new to this but have done everything i can to solve this problem. I have a HTC One S (s4 version).
- i have unlocked my HTC via HTC dev.
- i have installed Clockworkmod recovery.
- i have sent a Cyanogen 11 zip file via ADB push command.
- i tried to install the rom but i had status 7 error, didnt work.
- i flashed TWRP2 recovery instead of Clockworkmod, via fastboot on my pc.
And now; i reboot to TWRP recovery, ADB push my Rom again to /sdcard/, this works. I go to install, i can select the zip file, it asks me wether i'm sure i want to install it, i proceed and then get the error "E: Unable to mount '/internal_sd' " "E: unable to mount stoarage".
So i have root acces, ADB works. Fastboot works. But installing a rom doesn't work with either Clockwork or TWRP2.
Versions used are TWRP 2.7.0.0 and Cyanogenmod 11, a snapshot version.
How to solve this?
Thanks
ferdyvw12 said:
Hi,
I am quite new to this but have done everything i can to solve this problem. I have a HTC One S (s4 version).
- i have unlocked my HTC via HTC dev.
- i have installed Clockworkmod recovery.
- i have sent a Cyanogen 11 zip file via ADB push command.
- i tried to install the rom but i had status 7 error, didnt work.
- i flashed TWRP2 recovery instead of Clockworkmod, via fastboot on my pc.
And now; i reboot to TWRP recovery, ADB push my Rom again to /sdcard/, this works. I go to install, i can select the zip file, it asks me wether i'm sure i want to install it, i proceed and then get the error "E: Unable to mount '/internal_sd' " "E: unable to mount stoarage".
So i have root acces, ADB works. Fastboot works. But installing a rom doesn't work with either Clockwork or TWRP2.
Versions used are TWRP 2.7.0.0 and Cyanogenmod 11, a snapshot version.
How to solve this?
Thanks
Click to expand...
Click to collapse
if your device has a forum for itself please use the Q&A there, you would get better help from professionals that own your device, there's lots of devices on xda and its possible this problem only exists on your device. if you ask these questions on the general Q&A you will most likely get answers from people who didnt read your OP and will give you something stupid. http://forum.xda-developers.com/htc-one-s/help hope you fix your problem!

[Q] TWRP and CWM won't work...

Whenever I flash TWRP with the AIO Toolkit from Hasoon2000, TWRP recovery will load, but the internal SD (/data/media) is blank. The files are there when it boots to the system, but they're not showing up in TWRP. CWM won't boot at all when flashed (it just goes to back to fastboot). I tried flashing the generic TWRP in the AIO Toolkit and the Sprint version, both seem to behave the same. Also if I try to flash a ROM, it always fails (CM fails immediately, Viper installs then says failed, InsertCoin says it succeeded, but then it never boots). I tried flashing TWRP 2.7.1.0 as downloaded from the TWRP website and it won't flash ("BootMagic failed" error). And GooManager doesn't find the right file to flash for my M8. Does anyone know how to fix this? I like the stock ROM alright, but I want to try some others. Oh, also when I try to do a backup it fails, saying it can't mount /data/media.

[Q] Stuck in recovery some time after flashing cwm

Actually it might be a little more complicated...
Full story: I was trying to flash cyanogenmod so I unlocked the bootloader and flashed cwm and SuperSU. Until this point everything worked just fine. I copied the CM-zip to the root of my phone. When trying to install CM however I got an error saying "Some changes failed" (Status 7), basically this. Also I started having trouble booting the system normally. The phone would either get stuck at the bootloader unlocked screen or just boot into recovery. I had done a backup at some point (not prior to starting to try to flash CM, I didn't really think I'd need one since the phone was brand new and I didn't there was any data on it I'd miss... yeah, well...) and sometimes restoring it would enable me to boot normally. However, after the factory reset before my nth attempt to install CM, that was gone as well. After doing a bit of research I found this thread. Since I had version 6.0.13 of cwm as well, I flashed twrp v2.7.1.2 instead. The interface is a little friendlier, but other than that there have been no changes.
Now I can't boot the system normally, not even by selecting "System" when rebooting it from recovery, it will just keep booting into recovery. I can still fastboot, though. My CM-zip is gone since that infamous factory reset and I can't get it back on the phone, or anything else for that matter, since my pc only detects the phone when it's booted normally. I tried pushing CM with adb but when I try to mount any partition I get an error saying E: Unable to find storage partition to mount to USB.
Any ideas how I could fix this mess? Or suggestions on how to avoid ****ing it up any further...
If you can adb, you can adb push... You are just adb push'ing to the wrong place I suppose.
Code:
adb push blah.zip /sdcard/
Should work...
Or even better, just sideload (put phone in recovery & 'sideload mode' before running):
Code:
adb sideload blah.zip
Either way, CWM for our device is ancient and does not support the latest ROM's. The version of TWRP should work fine, as should the latest OpenRecovery (2.09 IIRC).
Sideload worked perfectly! Thank you so much!
cm11 working only TWRP here , with cwm appears same error
mmichaelalves said:
cm11 working only TWRP here , with cwm appears same error
Click to expand...
Click to collapse
Did you not read my post?
arrrghhh said:
Either way, CWM for our device is ancient and does not support the latest ROM's. The version of TWRP should work fine, as should the latest OpenRecovery (2.09 IIRC).
Click to expand...
Click to collapse

Not booting to recovery

what i did -->
1. Unlock bootloader
2. Flash cwm via "fastboot flash recovery recovery.zip"
3. Boot to recovery
4. Factory reset
5. Flash cm zip from sd card.
what i got -->
1. "E:Can't open /sdcard/cm.zip
(bad)
Installation aborted."
Then -->
1. Rebooted, copied again, booted to bootloader
2. selected recovery
Now -->
1. shows the android mascot with its lid open and "No command"
2. no cwm (where did it go ?!?!)
Everytime i flash recovery, it boots the first time (till the time I've not rebooted after flashing recovery) and still won't flash my zip file, and then the recovery won't show.
EDIT (FIXED)
WHAT WENT WRONG...
1. Was using CWM (When i was last active in android flashing, twrp was just another custom recovery, cwm was needed for cm)
2. When i did use TWRP, it was an older version, and did not work (did not even boot to recover, in fact)
3. When i did get twrp working, i used a bad cm.zip file (corrupted)
nishant_713 said:
what i did -->
1. Unlock bootloader
2. Flash cwm via "fastboot flash recovery recovery.zip"
3. Boot to recovery
4. Factory reset
5. Flash cm zip from sd card.
what i got -->
1. "E:Can't open /sdcard/cm.zip
(bad)
Installation aborted."
Then -->
1. Rebooted, copied again, booted to bootloader
2. selected recovery
Now -->
1. shows the android mascot with its lid open and "No command"
2. no cwm (where did it go ?!?!)
Everytime i flash recovery, it boots the first time (till the time I've not rebooted after flashing recovery) and still won't flash my zip file, and then the recovery won't show.
Click to expand...
Click to collapse
first mistake here is u used Flash cwm via "fastboot flash recovery recovery.zip" which is wrong u need to use .img after recovery but not zip so try once again and flash latest twrp as cwm support is ended
bloodhound42 said:
first mistake here is u used Flash cwm via "fastboot flash recovery recovery.zip" which is wrong u need to use .img after recovery but not zip so try once again and flash latest twrp as cwm support is ended
Click to expand...
Click to collapse
Thanks for the promt reply mate. Actually it was recovery. IMG only, not zip, i typed it wrong here otherwise the recovery wouldn't have loaded at all, as mentioned earlier. Moreover, I did try flashing twrp, but using twrp, I can't even get recovery to boot once (which does happen on cwm 6.0.4.7)
P.S - can it anyhow be related to bootloader ? I am on stock Lollipop. And device is dual sim (xt1033)
nishant_713 said:
Thanks for the promt reply mate. Actually it was recovery. IMG only, not zip, i typed it wrong here otherwise the recovery wouldn't have loaded at all, as mentioned earlier. Moreover, I did try flashing twrp, but using twrp, I can't even get recovery to boot once (which does happen on cwm 6.0.4.7)
P.S - can it anyhow be related to bootloader ? I am on stock Lollipop. And device is dual sim (xt1033)
Click to expand...
Click to collapse
If u r on stock lollipop then u boot loader is already upgraded and its good for twrp recovery can u try flashing twrp v 2.8.6.0 and check it out using adb if it is already rooted then try flashing by flashify and let me know
bloodhound42 said:
If u r on stock lollipop then u boot loader is already upgraded and its good for twrp recovery can u try flashing twrp v 2.8.6.0 and check it out using adb if it is already rooted then try flashing by flashify and let me know
Click to expand...
Click to collapse
Ok did that. When it booted to cwm (which is all i can manage to boot to, if at all) i selected root phone option. But it didn't root actually. Then i rooted successfully using cf auto root. Then used flashify to flash twrp image, and now when i select recovery from bootloader, it boots normally, not even showing the "no command" screen. (And yea, I'm pressing vol up to select, not power)
Update -- Ok flashed 2.8.6.0 and now boots to revovery (even after a restart) but still can't flash cm. Something pops on screen for a fraction of screen and then recovery reboots. It says "no md5 file found". Any chance of zip being corrupt ?
Update 2 -- Now my internal memory has stopped working :/ can't even take a screenshot, nor a photo. says memory full. Doesn't even copy file to memory when connected to pc. Although in recovery mode (twrp) , with usb mounted, it does copy.
nishant_713 said:
Ok did that. When it booted to cwm (which is all i can manage to boot to, if at all) i selected root phone option. But it didn't root actually. Then i rooted successfully using cf auto root. Then used flashify to flash twrp image, and now when i select recovery from bootloader, it boots normally, not even showing the "no command" screen. (And yea, I'm pressing vol up to select, not power)
Click to expand...
Click to collapse
weird did u flash normal recovery or gpe recovery ? U have to flash normal recovery and one more thing are u sure that its going into cwm recovery ?
May be the ROM is corrupted buddy download again and flash or try other Roms
Haha. After a hell lot of effort, i did get TWRP installed, and after breaking my head on why cm nightly won't install, i downloaded another one, and it installed fine. Now rocking CM 12.1 (4th device which I'm using on CM, and yet never had so much trouble getting it running..)

updating twrp

i currently have twrp 3.1.1.0 multirom and wish to remove this and install the latest 3.4.0.0 as i am unable to install any roms.
Not sure if bug in the custom twrp but i cannot use it and have already tried wiping and cant get latest lineageos to install.rp
keep getting error 6 error 7. so i think twrp needs updating
I tried putting the .img file onto phone storage and off usb and install via "install image"
however i get
"select partition to flash image:"
Boot
it doesn’t list recovery for some reason so now im stuck with this
I have no images working i have tried getting old os to install but they are unable to work now and have already wiped the phone to make sure its clean install but i keep getting error.
wbb1 said:
i currently have twrp 3.1.1.0 multirom and wish to remove this and install the latest 3.4.0.0 as i am unable to install any roms.
Not sure if bug in the custom twrp but i cannot use it and have already tried wiping and cant get latest lineageos to install.rp
keep getting error 6 error 7. so i think twrp needs updating
I tried putting the .img file onto phone storage and off usb and install via "install image"
however i get
"select partition to flash image:"
Boot
it doesn’t list recovery for some reason so now im stuck with this
I have no images working i have tried getting old os to install but they are unable to work now and have already wiped the phone to make sure its clean install but i keep getting error.
Click to expand...
Click to collapse
There's no need to put the img file into the internal storage of the phone. Just flash it with fastboot:
Code:
fastboot flash recovery twrp.img
Or, if you are rooted, use the official TWRP app, it should be even easier.

Categories

Resources