problems with /sdcard while flashing ROM - Android Q&A, Help & Troubleshooting

HI guys, today I was trying to flash my gti-9000 from cyanogen 9 to cyanogen 10.1.3 and something went wrong. I was following this guide http://wiki.cyanogenmod.org/w/Install_CM_for_galaxysmtd. All went well till point 6 of custome recovery and then I restarted in recovery mode. Now, before doing all this I downloaded the cyanogen release on my phone (I don't have a sd card) so I tried to do
Select the option to wipe data/factory reset.
Select install zip from sdcard.
Select choose zip from sdcard.
but I get a "can't mount /sdcard". Now, still in recovery mode, I tried to mount it using adb ( adb shell mount /sdcard), but the computer doesn't seem to pick up the device when it is in recovery mode and I get a error: device not found. How do I get out of this mess please? I need to copy the rom on the phone and I don't seem to be able to do it in any way (needless to say if I switch my phone on it won't work)
thanks

Related

[Q] HELP !!! Streak wont read SDCard to flash Update.pkg

hi
I ahve downloaded a pkg from dell and want to load the phone back but i am just getting errors
it says it cant mount the SDCard:Update.pkg
any ideas ??
This is the wrong section bro. Are you using the stock recovery?
Sent from my Dell Streak 7 using XDA Premium App
If you are trying to install from recovery rename the package to update.pkg. This will wipe all your apps and settings.
You must use stock recovery to install a .pkg file.
You may need to flash the proper recovery first.
See: Radimus’s Universal Guide to Flashing a ROM
Note: if you downloaded direct from Dell tapping on the download complete notice in the notification should start the update process.This will update without wiping your apsp and settings.
followed that guide and when it should be installing from SD i get the following
E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)
(no such file or directory)
E:Can't mount SDCARD:update.pkg
E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)
(no such file or directory)
E:Can't mount SDCARD:update.zip
sorted now, that guide sorted it, but had to change SD Card it was not working in the streak but was ok in the PC.......
anyways... I have never been so happy to see the O2 screen in my life
kelvinbrotherston said:
sorted now, that guide sorted it, but had to change SD Card it was not working in the streak but was ok in the PC.......
anyways... I have never been so happy to see the O2 screen in my life
Click to expand...
Click to collapse
I had same problem with SD today. Windows PC doesn't format card correctly for phone. Remove the external SD card you are currently using. REPLACE WITH CARD THAT WONT WORK. Reboot phone until it will reboot completely. Go to SETTINGS==>SD CARD & PHONE STORAGE==>UNMOUNT SD CARD==>FORMAT SD CARD. Card will now work in Streak. MAKE CERTAIN YOU DON'T FORMAT THE CARD THAT IS WORKING!!!!!
I've had this same problem, I can't flash anything. I've tried to flash 1.9.1, because I only have 1.9, and I get the same error. I -have- tried changing the name. Doesn't work. Can anyone give me a complete step by step to fix this?
i got it solved
so... this is how it's happened to me.
when i reboot the streak after i fastboot flashed the streak with streakmod recovery, the recovery will be back to stock recovery. so... i have to delete install-recovery.sh from /system/etc to prevent the streak reinstalling the stock recovery, before it succeed to boot android OS.
so i flashed to streakmod recovery and reboot it to go into recovery mode and plan to choose "update from sdcard".
and when i tried to choose the update.zip from sdcard, there's error message:
"can't mount /sdcard"
so, i think that maybe because my sdcard was plugged into PC and got 'half-mounted', so recovery can't mount it.
so i powered it off, eject and re-insert the external sdcard again, powered it on and go into recovery mode, choose the superuser.zip to root my streak... AND... TADAAAA.... i'm all rooted

[Q] SGSII Stuck on reboot - couldn't find external SD on CWM

Hi I was on the last step of installing Cyanogen Nighly build 116 on my SGS2 and got to step 7 of the guide on their wiki
http://wiki.cyanogenmod.com/wiki/Samsung_Galaxy_S_II:_Full_Update_Guide
but I couldnt find my external SD card on Clockwork mod recovery. I tried to reboot back to my normal samsung OS so I could use USB to put the 2 update zip files on my internal storage but the phone is now boot looping. I boot up to the samsung logo then the phone restarts.
What do I do please?
Hi again,
I have tried booting in download mode which does nothing but show me the android man withthe word Downloading... underneath (VolDown, Home, Power). I have tried booting back to Clockwork Mod recovery (VolUp, Home, Power) and I have tried messing around with adb to see if it sees any devices- which it does, it sees
304D19A75555E24E
but it doesnt accept adb push update.zip I guess because the phone is busy rebooting :S
My guess would be you've installed a different version of CWM recovery. Choose "Install zip from internal Sdcard" instead.
oinkylicious said:
My guess would be you've installed a different version of CWM recovery. Choose "Install zip from internal Sdcard" instead.
Click to expand...
Click to collapse
Hi
It says Clockwork Mod Recovery v4.0.1.4
It doesnt have an option other than install zip from sdcard
and it doesnt see the external sd card either.
I have
- reboot system now
- apply update from sdcard
- wipedata/factory reset
- wipe cache partitions
- install zip from sdcard
- backup and restore
- mounts and storage
- advanced
- power off
I chose install zip from sd card
then chose zip from sdcard
and I get the internal listing of files on the internal phone storage but no access to the external sd card. There is a folder there called, external_sd but when I select it, it just says No files found. It shows this when the sd card is inserted and uninserted though.
Do you know any way I can put the update files on the internal phone memory from my PC? I have adb installed and the android sdk. but adb wont push files to the phone. I used to know a way to boot the phone with fastboot but dont remember how to do that any more
You need to tell it where to save the file if you're going to do adb push, i.e. adb push update.zip /sdcard/cm7.zip, but you might need to mount somewhere to store it in mounts and storage first for it to work.
oinkylicious said:
You need to tell it where to save the file if you're going to do adb push, i.e. adb push update.zip /sdcard/cm7.zip, but you might need to mount somewhere to store it in mounts and storage first for it to work.
Click to expand...
Click to collapse
ah but I cant get it to boot so I cant get it to mount. The closest I can get is getting adb to recognise it as a device while it is bootlooping (it only gets up to the Samsung logo then reboots)
I did try "adb push update.zip /sdcard/cm7.zip"
failed to copy 'update.zip' to 'sdcard/cm7.zip' : Read-only file system
The phone is still rebooting over and over. Out of curiosity, would CWM not give the option to install zip from the external sd card if the phone didnt have root?
I bought this phone from a friend and he said the phone did have root but I actually am not sure if it does. Would that also cause me not to be able to use adb to push the file because the internal sd card was read only?
Either way - how do I get the phone back to a usable state please?
I mean from within CWM recovery, which you said you can access (ADB should work there after 30 seconds or so).
oinkylicious said:
I mean from within CWM recovery, which you said you can access (ADB should work there after 30 seconds or so).
Click to expand...
Click to collapse
booted to CWM - waiting for pc to notice phone exists so I can use adb...
... nothing is happening. (tried using mount usb storage too)
EDIT1: I rebooted CWM and when it came back - tada - windows noticed it. Ran the ADB command and the copy has worked over 36s.
Watch this space...
EDIT2: Got the phone to finally let me upload update.zip (the 116 nightly build from cyanogen) and gapps (for cyanogen7) using the mount option under Clockwork Mod recovery
installed update.zip
installed gapps.zip
rebooted and...
stuck at
Samsung
GALAXY S II
GT-I9100
/!\
``
nothing is happening, the phone doesnt boot... but CWM has changed colour to a pretty blue and I am now on v5.0.2.7. What am I meant to do next? I ran out of steps on http://wiki.cyanogenmod.com/wiki/Samsung_Galaxy_S_II:_Full_Update_Guide
Flash the update twice in succession, if the first one was quick.
oinkylicious said:
Flash the update twice in succession, if the first one was quick.
Click to expand...
Click to collapse
yes your right, it was quick. I flashed it again - much slower this time and it seems to be working - I finally got off the stuck screen. Currently watching the new cyanogen mod 7 boot screen.
Big thanksometer - if your anywhere near me i'd buy you a coffee.

[Q] /data is encrypted, so CWM can't mount /sdcard from zip installing

Hi!
I used to run CyanogenMod 9.1 with device encryption on my Galaxy S3, and decided today that I wanted to try a CM 10 nightly.
A problem with device encryption that I didn't know about before is that it's impossible to turn off. ClockworkMod Recovery (5.8.4.3) can't mount the /data partition (and, by extension, /sdcard). This means that I can't use CWM to factory reset or install a new update.zip, since the update.zip must lie on the internal sdcard.
Trying "choose zip from sdcard" gives "E:Can't mount /sdcard/" and choosing "apply /sdcard/update.zip" gives "E:Can't mount /sdcard/update.zip". This happens even if I've used adb to put the update.zip in the /sdcard mountpoint.
Factory resetting from CWM gives these two errors: "Error mounting /data!" and "Error mounting /sdcard/.android_secure!". Factory resetting from CM9 didn't work. I've since tried to flash CM10 with MobileOdin, which didn't work, and now I can only boot to CWM.
Does anyone have any idea about how I could mount /data or otherwise get a working ROM? I've taken backups of everything.
TL;DR: S3 only boots to CWM, but CWM won't mount /data and so can't flash zips.
I have the exact smae problem. i hope someone knows how to fix!!

[Q] Removed my OS from HTC One S Can't Mount SD Card to Computer from Recovery

Hey everyone last night I rooted my phone and this morning I attempted flashing a ROM called ViperOneS that you can look at here -->http://forum.xda-developers.com/show....php?t=2105863. So in order to install it the OP wrote in the instructions to factory restore the phone which I did. When I cleared the cache and everything and went to install it TWRP said it failed so I just erased it. Then when I went to reboot it was stuck on the screen with the red writing so I rebooted it in Recovery and it said there was no OS installed. I looked for this problem online and found that if I mounted the phone to my computer I could copy and paste a new ROM for my phone which I eventually tried to do but for some reason it does not allow me to check off either of the boxes next to "Mount SD Card" or "Mount Internal." It does let me mark all the other boxes. Could somebody explain what I should do so the computer recognizes the phone as a "Removable Disk" like it used to so I can just drag and drop a new OS into my phone and put this thing behind me already? If you can't tell already I'm a newby at this stuff so if you can make simple steps that'd be great. Thanks in advance.
try this:
1-flash recovery again (fastboot flash recovery recovery) or change to CWM
2-erase dalvik cache and cache
3-connect as mass storage via recovery
---------------------------------------------------------------------
remember always have a backup of your system specially when is your first rom

[Q] need to bring a file to the phone, no ROM installed

I've attempted to flash a newer version of cyanogenmod on my phone (10.1.3 to 11). I'm using TWRP 2.6.1.0
I can not boot because I've wiped the phone (dalvik, system, data, internal storage, cache), and I suspect the ROM I have is corrupted but I can't connect it to my computer and transfer the file via USB because I have no ROM installed and can not boot. I also can't take the SD card (since there's non) and put the file that way.
My phone is Oppo find 5
My root file flashing was successful, but installation of the ROM cm-11-20140204-NIGHTLY has failed. I assume the file was corrupted, but I have no way to find out what it is.
I now realize my mistakes, like wiping the system unnecessarily.
Is there any way to get another file on the device? any other suggestions?
Also, I'm not sure if this is the correct place to post this, but I was not able to find the right place. I apologize in advance.
Eyal,
http://forum.xda-developers.com/showthread.php?t=2141817
Check that thread, set up adb and push a ROM to the internal sd of your phone via adb. You can use adb in recovery mode (I could in CWM, dont know about your recovry) so if you can boot into recovery, you can push the rom. (There is info on the thread about adb pushing/pulling)
Sent from my GT-S5660
Cwm has an option to mount storage to PC in mounts & storage menu
Check if twrp has the option
You can mount it that way:good:
vneogi199 said:
Cwm has an option to mount storage to PC in mounts & storage menu
Check if twrp has the option
You can mount it that way:good:
Click to expand...
Click to collapse
it doesn't seem to recognize anything.

Categories

Resources