SOLVED! How to put files on phone while in cwm? mount sdcard not working! - Samsung Galaxy Nexus

so i "crashed" my nexus because i installed a wrong .zip (or anything). now it stucks on the boot logo. i just want to reflash the firmware using the cwm. unfortunately i dont have it on the phone. is there a way to put it back on??

little update...
i can now access the phone via adb BUT i cannot mount the sdcard. when i click it, it just stays "mount /sdcard".

thebigchair said:
little update...
i can now access the phone via adb BUT i cannot mount the sdcard. when i click it, it just stays "mount /sdcard".
Click to expand...
Click to collapse
sigh... this has been mentioned a lot
you cannot mount /sdcard because there is no sdcard in the phone.
you need to use adb push to get the file you want on your phone.

Zepius said:
sigh... this has been mentioned a lot
you cannot mount /sdcard because there is no sdcard in the phone.
you need to use adb push to get the file you want on your phone.
Click to expand...
Click to collapse
okey sorry...yeah done this already. haven't found the .zip so i thought the mounting was the problem.
So i pushed it again.. still no zip on sdcard?!

adb push locationofzip /data/media/

okay..and after i pushed it in /media/ i will find it on my sdcard?
/EDIT: NOWAY! you saved my day!!! wtf thx!!

thebigchair said:
okay..and after i pushed it in /media/ i will find it on my sdcard?
/EDIT: NOWAY! you saved my day!!! wtf thx!!
Click to expand...
Click to collapse
Nothing to be surprised about, /data/media/ -> /sdcard/ symlink isnt working, but we're glad you got it working.
Sent from my i9250

Related

Help, was in recovery then I pushed a file to /sdcard, what happens!?!?

So I rebooted to recovery and I push a file into /sdcard
after I shell, I check it's only file in there!! So then I reboot and then adb shell again when phone is regular mode and I don't see that file
Where did I push the file when in recovery? I can't find it next time I reboot to recovery then did LS, the file is gone! Can I delete that file or its lost/hidden or what's going on?
Im not even going to read the whole thing. If u pushed the file and u can't figure out how to reboot from recover just pull battery and restart
Sent from my SCH-I500 using XDA App
You need to mount your sd card to /sdcard.
The file was stored to / on the temporary ramdisk. Do "mount -a" in shell first.
pulser_g2 said:
You need to mount your sd card to /sdcard.
The file was stored to / on the temporary ramdisk. Do "mount -a" in shell first.
Click to expand...
Click to collapse
Thanks for the good info! SO basically the file I pushed over was removed upon rebooting correct? I just don't want that file to be on the ramdisk or sdcard anywhere since the /sdcard was not mounted.

Problem Loading ROM

I've load many ROMS before without issues until today. I forgot to copy the ROM to the phone before flashing. So, while in recovery mode, I used "adb push <ROM.zip.." to the sdcard. This says it pushed ok. But, when I go to "choose zip from sdcard", it's no where to be found. Any ideas?
Reboot the damn thing back into the existing rom and copy it over.
Hopefully they get the "mount SD Card" working. It was nice to copy files over to the phone while in CWM.
I think you could probably copy it to where the sdcard is actually mounted at, which is /data/media/ or something like that.
player911 said:
Reboot the damn thing back into the existing rom and copy it over.
Hopefully they get the "mount SD Card" working. It was nice to copy files over to the phone while in CWM.
Click to expand...
Click to collapse
I tried and it hangs on a screen with the word "Google" and an unlocked lock at the bottom.
Mills00013 said:
I think you could probably copy it to where the sdcard is actually mounted at, which is /data/media/ or something like that.
Click to expand...
Click to collapse
Thank you. Thank you. This worked. adb push <rom name> /data/media
This placed the file at the "root" of the virtual sdcard seen by clockworkmod.
Thats great!
I'm sure it will only be a matter of time before CWR mounts that directory as default when you select to do the mount USB storage option. Alternatively (and a little more complexly), they could create a symlink at /storage to point there, temporarily while you are in CWR.

[Q] Cant mount "mount /sdcard in CWM

hi guys,
i was coming back from CM10 to stock 4.1.1 on my nexus and when in CWM, i deleted all the content on sdcard by accident.
now there is no zip file on the sd card to install the rom,
I tried mounting sdcard and copy but it doesnt mount.when i press mount /sdcard, nothing happens>(doesnt show the partition on computer and doesnt go ot :unmount /sdcard.)
Im stuck in here and dont know what to do.
please help!
use search, or read a few pages back, you'll find your answer.
sent from my i9250
A quick search yielded this useful thread.
http://forum.xda-developers.com/showthread.php?t=1916108&highlight=recovery+mount+sdcard
i tried ODIN to stock but the ODIN software does not find the phone on any port when it is connected. i installed all drivers but still nothing.
cant i use ODIN for this ? thanks
adb push whateverromyouwant.zip /storage/sdcard0
Since nobody did explain why it can't mount, I will.
GALAXY NEXUS HAS NO SDCARD. It only has folder that is used as sdcard. CWM doesn't know that, thus making that mount feature useless on Galaxy Nexus
Like El Daddy said, connect your computer while your phone is in recovery mode, open cmd on the directory where you have fastboot.exe, then type "adb push ROMNAME.zip /sdcard/". You will also need to place your ROM file into the directory where you have fastboot.exe
Since that's done, please use search next time. There are too many threads talking about this exact problem.
Besides, using adb is more badass
Sent from my Galaxy Nexus using xda app-developers app
kyokeun1234 said:
You will also need to place your ROM file into the directory where you have fastboot.exe
Click to expand...
Click to collapse
or adb.exe, depending on what are you trying to do. one could also add said folder to $PATH and have the commands system-wide to avoid the need of placing files to flash/push on the same folder that the binaries are.
note: if pushing to /sdcard/ doesnt work in recovery, push to /data/media.
sent from my i9250
bk201doesntexist said:
or adb.exe, depending on what are you trying to do. one could also add said folder to $PATH and have the commands system-wide to avoid the need of placing files to flash/push on the same folder that the binaries are.
note: if pushing to /sdcard/ doesnt work in recovery, push to /data/media.
sent from my i9250
Click to expand...
Click to collapse
Thanks for extra info
Just to add (and clarify) a bit to what was said:
1) if we are talking about mounting as in getting read/write access to /sdcard via ADB, it is already mounted by default in CWM. The /sdcard is just a symlink to /data/media, and /data is mounted by default when you boot CWM.
2) if we are talking about mounting as in USB Mass Storage, mounting /sdcard is not possible for the same reason in point #1: /sdcard is just a symlink to /data/media.
kyokeun1234 said:
Since nobody did explain why it can't mount, I will.
GALAXY NEXUS HAS NO SDCARD. It only has folder that is used as sdcard. CWM doesn't know that, thus making that mount feature useless on Galaxy Nexus
Like El Daddy said, connect your computer while your phone is in recovery mode, open cmd on the directory where you have fastboot.exe, then type "adb push ROMNAME.zip /sdcard/". You will also need to place your ROM file into the directory where you have fastboot.exe
Since that's done, please use search next time. There are too many threads talking about this exact problem.
Click to expand...
Click to collapse
Thank you so much, really solve my big problem
so much easier
for those who will come to this thread with the same problem, there is the very simple solution. use any of the Toolkits from this forum ( N-Cry or Nexus 4 Toolkit 2.0 ) and from the recovery menu select install from Sideload, after that launching ( pushing ) the ROM via sideload from the Tookit. Works like a charm.
Mango Polo said:
for those who will come to this thread with the same problem, there is the very simple solution. use any of the Toolkits from this forum ( N-Cry or Nexus 4 Toolkit 2.0 ) and from the recovery menu select install from Sideload, after that launching ( pushing ) the ROM via sideload from the Tookit. Works like a charm.
Click to expand...
Click to collapse
1) this is the galaxy nexus, not the nexus 4
2) just say no to toolkits
3) adb is not hard
4) fastboot is also, not hard.

CWM problem

I am dealing with some issues here. I have a nandroid of CM10 from a just a couple of days ago, before I f'ed up my phone. The problem is that CWM can't seem to find its own backup?? I keep getting "Couldn't open directory", "No files found". Has anyone else had this issue??
It is the same version of CWM that I used to make the back up in the first place. Very frustrating.
is it the new version of CWM? did you move the backup off your phone then back on to it? if so, did you remember the blob folder?
U on 4.2?
Sent from my Galaxy Nexus using Tapatalk 2
waveboy said:
U on 4.2?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
This is same prob for me. I went to 4.2 from jbsourcery but want to go back and i get the same problem. cwm 6.0.1.0
I think there is a newer version of cwm so im going to try that first. but when i go to flash zip from sd card it says
0/
legacy/
obb/
not sure if that has anything to do with it though.....?
myboyblake said:
This is same prob for me. I went to 4.2 from jbsourcery but want to go back and i get the same problem. cwm 6.0.1.0
I think there is a newer version of cwm so im going to try that first. but when i go to flash zip from sd card it says
0/
legacy/
obb/
not sure if that has anything to do with it though.....?
Click to expand...
Click to collapse
Nope same problem with updating to 6.0.1.5.
There are new mounting points in 4.2 because of multi-user-support.
Main user entry point is now /sdcard/0/ folder on your internal storage, all data is moved in there. So you have to manually copy and paste your backups to fit the folder where your custom recovery is expecting those backups.
LuckOne79 said:
There are new mounting points in 4.2 because of multi-user-support.
Main user entry point is now /sdcard/0/ folder on your internal storage, all data is moved in there. So you have to manually copy and paste your backups to fit the folder where your custom recovery is expecting those backups.
Click to expand...
Click to collapse
but all 3 of those points have the same data...I can't copy from legacy to /0 or obb. They all have the backups there. i can't mount sdcard in recovery though....I think the only way is to flash a 4.1 ROM and then do a restore until a recovery comes out with 4.2 mounting support. Am I correct here?
You wouldn't have this problem if you just used TWRP
Sandman-007 said:
You wouldn't have this problem if you just used TWRP
Click to expand...
Click to collapse
my idea didnt work with switching to 4.1 rom. But sandman, the backups from CWM won't work in TWRP though right?
myboyblake said:
my idea didnt work with switching to 4.1 rom. But sandman, the backups from CWM won't work in TWRP thought right?
Click to expand...
Click to collapse
yeah they wont
Sandman-007 said:
You wouldn't have this problem if you just used TWRP
Click to expand...
Click to collapse
well i installed twrp and the restore files still don't come up....i think its time to forget this until cyanogen comes out with a fix for this.....
myboyblake said:
well i installed twrp and the restore files still don't come up....i think its time to forget this until cyanogen comes out with a fix for this.....
Click to expand...
Click to collapse
Cwr backups don't work with TWRP
Edit: sorry didn't see k786 post
Copy your /sdcard/clockworkmod/backup to /data/media/clockworkmod/backup
This is where your stuff is mounted in 4.2
After restoring you will still have problems though. All you stuff that used to be in /sdcard will now be in /sdcard/0 so many things won't work. Again copy or move all contents of /sdcard/0 to /sdcard and you are back to how it was.
I did all the copying from Terminal Emulator because file explorers could not see anything inside /data/media but it's there. Typing 'su' first and then using 'ls' in Terminal Emulator will show what is in there, so use it. Use 'cp - r' to copy the folder. Needless to say you need to be rooted for this.
meranto said:
Copy your /sdcard/clockworkmod/backup to /data/media/clockworkmod/backup
This is where your stuff is mounted in 4.2
After restoring you will still have problems though. All you stuff that used to be in /sdcard will now be in /sdcard/0 so many things won't work. Again copy or move all contents of /sdcard/0 to /sdcard and you are back to how it was.
I did all the copying from Terminal Emulator because file explorers could not see anything inside /data/media but it's there. Typing 'su' first and then using 'ls' in Terminal Emulator will show what is in there, so use it. Use 'cp - r' to copy the folder. Needless to say you need to be rooted for this.
Click to expand...
Click to collapse
None of that is necessary with TWRP, it just works like normal on JB 4.2 lol
Sent from my Galaxy Nexus using xda premium
myboyblake said:
but all 3 of those points have the same data...I can't copy from legacy to /0 or obb. They all have the backups there. i can't mount sdcard in recovery though....I think the only way is to flash a 4.1 ROM and then do a restore until a recovery comes out with 4.2 mounting support. Am I correct here?
Click to expand...
Click to collapse
Copy your /sdcard/clockworkmod/backup to /data/media/clockworkmod/backup
This is where your stuff is mounted in 4.2
Click to expand...
Click to collapse
Exactly!
None of that is necessary with TWRP, it just works like normal on JB 4.2 lol
Click to expand...
Click to collapse
Yes, but only since the new TWRP-Version. With installed older versions you get same issues as with cwm.

stuck @ bootloader/cwm

Hi, i flashed a maguro rom and got stuck at bootscreen.
i couldnt mount my sdcard in cwm, because it made a 0/ directory and couldnt find sd_ext
i had no other rom on my sd card, so i started looking for a way out, ended up formatting my sdcard ..
no sweat : -) lmao
next i got the sdk, installed the fastboot driver , ok, i got connection to my device.
but apparently to push a rom i need ADB, and i cant get ADB working, neither when im in cwm or on fastboot mode.
so i need access to the sdcard inside the Phone, i checked youtube , but dissasembling the Phone doesnt reveal the sd card :/
its soldered in there or smthn.
please help me get a rom on my sdcard.
Thanks in advance for any responses.
Grtz
Woah woah woah woah woah. Slow down! How did this escalate to unsoldering the sdcard so quickly? All the files you had WERE still on your sdcard in the /0/ folder. Pretty sure you deleted them all when you formatted your sdcard. I think you can push the files via adb?. Would have been really simple if you would have searched/asked before formatting.
adb working
WiredPirate said:
Woah woah woah woah woah. Slow down! How did this escalate to unsoldering the sdcard so quickly? All the files you had WERE still on your sdcard in the /0/ folder. Pretty sure you deleted them all when you formatted your sdcard. I think you can push the files via adb?. Would have been really simple if you would have searched/asked before formatting.
Click to expand...
Click to collapse
I got adb working in clockwordmod now, i pushed the cwm10 rom, renamed it to update.zip
and used this command : adb push update.zip /sdcard/update.zip
it transfers and gives me the speed message in the cmd prompt.
but when i then reboot and go into fastboot i type fastboot update /sdcard/update.zip , it says cant find file.
also when im in cwm and i try to "install zip from sdcard" -> "choose zip from sdcard" i get message in the advanced-log :
using data/media for /sdcard/ , im looking now for a command to browse the directory structure of my Phone.
is this possible with adb?
any tips are greatly appreciated !
Grtz
flashed , trying to boot now..loading...
in my last post i said it was using /data/media for sdcard/
so i adb pushed the file to /data/media and in clockworkmod , selected choose from sdcard
and it worked ! i saw update.zip , installed it, im now running cyanogmod10.
thanks for the reply's even tought it didnt help.
any effort is appreciated.
Thanks! bye! =)

Categories

Resources