[Q] usb sorage dosen't work in CWM? Can i push files to sd cards? - Samsung Galaxy Nexus

Hi!
My problem is that i flashed a mod and my phone went crazy, so i booted back to cwm.
But i can't use "mount USB storage". Is says "unable to open ums lunfile ( no such file or directory). Got cwm 5.5.0.2, So how can i send files to my phone?
P.S I forgot to make a backup so i can't restore :/ and i can't boot into cwm from the phone. I must connect it to my pc and open Galaxy Nexus ToolKit and launch it from there?

You can't mount USB storage in cwm because the phone does not support USB mass storage. You can push files in cwm using ADB.
Sent from my Galaxy Nexus using xda premium

joshnichols189 said:
You can't mount USB storage in cwm because the phone does not support USB mass storage. You can push files in cwm using ADB.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Okay but how do i push files from adb?
tried this but dosen't work?
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb push C:\Galaxy Nex
us ToolKit\put_files_to_push_here/build21.zip /mnt/sdcard/Roms/
Just give me a list of commands
And if i try adb device, then i can see that my device is connected

jullejul said:
Okay but how do i push files from adb?
tried this but dosen't work?
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb push C:\Galaxy Nex
us ToolKit\put_files_to_push_here/build21.zip /mnt/sdcard/Roms/
Just give me a list of commands
And if i try adb device, then i can see that my device is connected
Click to expand...
Click to collapse
Got it to work Thanks!

Sorry had baseball practice but glad you got it working
Sent from my Galaxy Nexus using xda premium

I need of serious help
Okay so i have CWM and i had backups or so i thought i did. I was using cyanogenmod 9 then tried out AOKP well didnt care for it so i was going to access my last backup and after wiping everything on my Galaxy Nexus i went into recovery mode and tried to install my back up. When i did that it said nothing was found SOOOOO now i have nothing and im stuck in recovery mode. I tried to "mount USB storage" so i can put a ZIP on there but i get the well know message of "Unable to open ums lunfile (no such file or directory)" Does anyone know of how i can get into my phones SDcard on my mac so i can put a ROM on there to flash. Yes i knew so if you start saying MTP and ADP i do not know what that means im sorry. PLEASE HELP!

Do you have ADB set up?
If so you can ADB push a rom.zip to your SD card and flash it.
Edit:
Actually...just flash any available ROM.
Even one you didn't like.
At least then you can boot up and access your SD card.

See thats the thing i thought i could do from my back ups so i didnt put any new ROM on there. And adb i do not know how to do that at all so im assuming no i dont

Related

[Q] Cannot format virtual SD card

I am trying to wipe my virtual SD card on my LTE Galaxy Nexus and it is acting weird.
If I do a factory reset via the settings on the phone, it says it erases all of the files on the SD card. When I hook the phone up to my computer and view the files in explorer, it shows a stock directory structure and root. However, if I try and copy over a file that existed on the SD card before formatting, it says the file is already there and asks me if I want to replace it. If I view the SD card in root explorer, it shows all of the old folders and files, even though they dont show up in windows explorer. Also, if I boot into Clockwork and choose a .zip to flash, it shows all of the old folders and files as well.
I have tried using the super wipe lite script that comes with Android revolution. I have also factory reset the phone a few times via the settings. I previously had Android Revolution installed and I am currently running GummyNex 0.4.2.
No matter what I do, I cannot for the life of me get the SD card to truly reformat.
Am I doing something wrong? Is there an ADB command I can do to reformat it?
oRAirwolf said:
I am trying to wipe my virtual SD card on my LTE Galaxy Nexus and it is acting weird.
If I do a factory reset via the settings on the phone, it says it erases all of the files on the SD card. When I hook the phone up to my computer and view the files in explorer, it shows a stock directory structure and root. However, if I try and copy over a file that existed on the SD card before formatting, it says the file is already there and asks me if I want to replace it. If I view the SD card in root explorer, it shows all of the old folders and files, even though they dont show up in windows explorer. Also, if I boot into Clockwork and choose a .zip to flash, it shows all of the old folders and files as well.
I have tried using the super wipe lite script that comes with Android revolution. I have also factory reset the phone a few times via the settings. I previously had Android Revolution installed and I am currently running GummyNex 0.4.2.
No matter what I do, I cannot for the life of me get the SD card to truly reformat.
Am I doing something wrong? Is there an ADB command I can do to reformat it?
Click to expand...
Click to collapse
Try formatting with cwm recovery. Reboot into recovery, go to mounts and storage, and select format sdcard
Sent from my Galaxy Nexus using xda premium
There is not an option in CWM to format the SD card
oRAirwolf said:
There is not an option in CWM to format the SD card
Click to expand...
Click to collapse
Sorry, I meant format system
Sent from my Galaxy Nexus using xda premium
http://forum.xda-developers.com/showthread.php?p=20999408#post20999408
There isn't any "SD Card" partition.
EDIT: Format /data cannot be done in adb, if you really want to do so just make a CWMR flashable zip with
Code:
format("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.0/by-name/userdata", "0");
in the updater-script.
I'm sorry man, I really appreciate the help but my Google-fu has failed me. Is there a template or something I can create the script from?
bumping this... same issue and its driving me crazy. i can't see any of my files unless i use a file explorer (or if i'm in recovery)
mendy817 said:
bumping this... same issue and its driving me crazy. i can't see any of my files unless i use a file explorer (or if i'm in recovery)
Click to expand...
Click to collapse
If you are having an issue finding your files from your PC it's due to the way Android exposes your "internal sdcard" via MTP. Download an app from the Market called SDrescan which will force the media services on your phone to re-index your files on the phone. Then they will show up on your PC.
thanks, but i've already tried that. it just sits on "scanning" for literally hours (i left it up overnight once just to make sure). any other advice?
oRAirwolf said:
I'm sorry man, I really appreciate the help but my Google-fu has failed me. Is there a template or something I can create the script from?
Click to expand...
Click to collapse
I do not recommend doing this indeed. To be failsafe just delete everything in the /sdcard folder with an explorer app.
I use
fastboot /w
To do a full wipe. This will wipe /sdcard.
Sent from my Galaxy Nexus using XDA App
mendy817 said:
thanks, but i've already tried that. it just sits on "scanning" for literally hours (i left it up overnight once just to make sure). any other advice?
Click to expand...
Click to collapse
Are you on a ROM and/or modified kernel? If you are using Franco's kernel he has made modifications to how the "sdcard" works.
silow said:
Are you on a ROM and/or modified kernel? If you are using Franco's kernel he has made modifications to how the "sdcard" works.
Click to expand...
Click to collapse
yeah, i'm on the latest CND and using franco's latest too... but i've flashed other kernals and had the same problem (but are you saying this might have started the first time i flashed a franco kernal?)
anyway to fix it that you know of?

How can I put a zip in internal memory through fastboot?

I recently had to revert back to stock so my internal memory was wiped. I wiped everything in CWR in preparation for a ROM, but I forgot to add that ROM back to the memory. How do I place a zip through fastboot to the internal memory?
Thank you!
brkshr said:
I recently had to revert back to stock so my internal memory was wiped. I wiped everything in CWR in preparation for a ROM, but I forgot to add that ROM back to the memory. How do I place a zip through fastboot to the internal memory?
Thank you!
Click to expand...
Click to collapse
Go to recovery, mounts and storage, mount USB storage and it will show in your computer.
Drag and drop.
nodstuff said:
Go to recovery, mounts and storage, mount USB storage and it will show in your computer.
Drag and drop.
Click to expand...
Click to collapse
I don't have that option in CWR. I'm using the touch version.
brkshr said:
I don't have that option in CWR. Should I use stock recovery?
Click to expand...
Click to collapse
You don't have mounts and storage option in cwm?
Or you don't have mount USB storage?
I just checked and I have it.
If you can't mount the storage then chances are you will have to flash stock images via fastboot.
Do you have the Android SDK package? If so you can adb push it to your sdcard.
Could also try Droid Explorer, QTadb, et al, although I've never used those particular programs.
nodstuff said:
You don't have mounts and storage option in cwm?
Or you don't have mount USB storage?
I just checked and I have it.
If you can't mount the storage then chances are you will have to flash stock images via fastboot.
Click to expand...
Click to collapse
I don't have mount usb storage... I'll just go back to stock. Thank you!
mudferret said:
Do you have the Android SDK package? If so you can adb push it to your sdcard.
Could also try Droid Explorer, QTadb, et al, although I've never used those particular programs.
Click to expand...
Click to collapse
Will adb work in bootloader??
mudferret said:
Do you have the Android SDK package? If so you can adb push it to your sdcard.
Could also try Droid Explorer, QTadb, et al, although I've never used those particular programs.
Click to expand...
Click to collapse
I do have the SDK package installed, but I'm not really familiar with how to use it, other than fastbooting images.
nodstuff said:
Will adb work in bootloader??
Click to expand...
Click to collapse
I've done it with the phone in CWM recovery a few times.
brkshr said:
I don't have mount usb storage... I'll just go back to stock. Thank you!
Click to expand...
Click to collapse
you should have it..try with volume down to see it (even if u are on the touch version)
EDIT: it seems removed since it doesn't work with the GN..the gn only work with the MTP and not with the usb mass storage..the same for the non-touch cwm, even if the option is there, it does not work
mudferret said:
I've done it with the phone in CWM recovery a few times.
Click to expand...
Click to collapse
Damn!! Why the hell didn't I know this!!!!
All you need to do is adb/push/sdcard/
I think that's right anyway
brkshr said:
I do have the SDK package installed, but I'm not really familiar with how to use it, other than fastbooting images.
Click to expand...
Click to collapse
It's fairly straight forward.
Easiest to place the ROM in the platform-tools folder, that way you don't have to type or copy/paste a long convoluted file path.
Open command prompt within platform-tools and type (don't type quotes):
"adb devices" (this will tell you if it's seeing your phone, not a necessary step)
"adb push ROMFileName.zip /sdcard/" (don't forget the file extension .zip)
It won't work if there happen to be spaces in the file name, so edit the name before hand if necessary.
Useful link: http://forum.xda-developers.com/showthread.php?t=1058431
andQlimax said:
you should have it..try with volume down to see it (even if u are on the touch version)
Click to expand...
Click to collapse
IDK, I'm on touch 5.8.0.2. I could try the non touch version. I've looked everywhere for mount usb
^^^^ what he said!
nodstuff said:
Damn!! Why the hell didn't I know this!!!!
All you need to do is adb/push/sdcard/
I think that's right anyway
Click to expand...
Click to collapse
I had to become familiar with adb when running the SGS2 on CM9, kernel sources weren't out so MTP was broken, and adb was the easiest option for me.
mudferret said:
It's fairly straight forward.
Easiest to place the ROM in the platform-tools folder, that way you don't have to type or copy/paste a long convoluted file path.
Open command prompt within platform-tools and type (don't type quotes):
"adb devices" (this will tell you if it's seeing your phone, not a necessary step)
"adb push ROMFileName.zip /sdcard/" (don't forget the file extension .zip)
It won't work if there happen to be spaces in the file name, so edit the name before hand if necessary.
Useful link: http://forum.xda-developers.com/showthread.php?t=1058431
Click to expand...
Click to collapse
Somehow my drivers must have messed up in the last hour. I'm not showing any devices
mudferret said:
I had to become familiar with adb when running the SGS2 on CM9, kernel sources weren't out so MTP was broken, and adb was the easiest option for me.
Click to expand...
Click to collapse
I haven't used it since I had my Sony Ericsson x8, got the nexus S after that and just used fastboot after that to flash cwm and that to flash a rooted rom so I never really needed it!
Time to brush up on my adb skills I think!
updating adb drivers now
Ugh, disregard, perhaps I was smoking crack, or I have different drivers on my home PC. No luck from my work PC at the moment.
Edit: you have to mount /data, but if you're not seeing mounts and storage that's an issue. I'm confused as to why they're not there.
Not having mounts and storage in cwm is quite strange.
If adb won't recognise the device then maybe try fastboot flash another recovery and see if it has mounts and storage.

[Q] Unable to mount USB in CWM 5.8.3.1

Hi,
In Mount and storage when im trying to get access to internal memory I get an error 'Unable to open ums lunfile'
Yesterday I thought I have bricked one of my HOX coz my zip with ROM was corrupted (I have not transfer the file in 100% - stupid me) then it took me a while to get a working adb command to push the file on 'sdcard' and finally install the ROM. Its not right that I cant mount the sdcard.. isnt it ...
I was trying to find the answer but I cant find anything clear....
Please help.. I have same problem with both my HOX'es
Why can't you just push with adb..?
darqadius said:
Its not right that I cant mount the sdcard.. isnt it ...
Click to expand...
Click to collapse
CWM recovery doesn't support usb mounting, as you can see from the first post of the CWM thread, so yes that is normal.
hopscotchjunkie said:
CWM recovery doesn't support usb mounting, as you can see from the first post of the CWM thread, so yes that is normal.
Click to expand...
Click to collapse
Doh.... sorry for asking... I should get a beer and then go straight to bed...
Hello mate, how did you sort the problems out?
darqadius said:
Hi,
In Mount and storage when im trying to get access to internal memory I get an error 'Unable to open ums lunfile'
Yesterday I thought I have bricked one of my HOX coz my zip with ROM was corrupted (I have not transfer the file in 100% - stupid me) then it took me a while to get a working adb command to push the file on 'sdcard' and finally install the ROM. Its not right that I cant mount the sdcard.. isnt it ...
I was trying to find the answer but I cant find anything clear....
Please help.. I have same problem with both my HOX'es
Click to expand...
Click to collapse
Hi, bro. I have got exact the same problem with you. Could you share your experience with me?
Thank you
BreraGT said:
Hi, bro. I have got exact the same problem with you. Could you share your experience with me?
Thank you
Click to expand...
Click to collapse
As of 5.8.4.0, ClockworkMod supports usb mount. It was released in June. You can still use adb push to put files on your phone if you wish.
Sent from my HTC One X using xda premium

[Q] htc evo 4g abd not working at all

can someone help me i almost tried everything sdk and installin htc sync and nothing my phone wont go in to usb debugging mode and i do have debugging enabled but it will not go into it so that i can connect it to my computer so that i can put files on the sd card
lc27 said:
can someone help me i almost tried everything sdk and installin htc sync and nothing my phone wont go in to usb debugging mode and i do have debugging enabled but it will not go into it so that i can connect it to my computer so that i can put files on the sd card
Click to expand...
Click to collapse
Are you just trying to transfer files cuz you don't need adb to transfer. Just mount your SD card, drag and drop.
Now if you are trying to push system files, then ok. To start, what Rom are you running? Also, you can do what I said above then use a root browser from the play store to move the files within.
Sent from my PC36100 using xda app-developers app
the.emilio said:
Are you just trying to transfer files cuz you don't need adb to transfer. Just mount your SD card, drag and drop.
Now if you are trying to push system files, then ok. To start, what Rom are you running? Also, you can do what I said above then use a root browser from the play store to move the files within.
Sent from my PC36100 using xda app-developers app
Click to expand...
Click to collapse
the latest cm7 gb nitely and i updated my radio to 2.15.00.12.19 with
mason-Gd15r c4-sbc kernel i want abd so that when i download a new rom i can move it from the computer to the phone instead of downloading it str8t to the phone can you help me
First. it's ADB, not ABD.
Second, it's definitely that the phone's not going into Debug mode?? You have the path for ADB Set in your command line, the server starts, stops, etc?
Also, why can't you just connect the phone to your computer with the USB Cable, toggle USB Connect and have at it?

[Q] Galaxy Nexus reboot loop

Greetings:
I'm trying to help a friend to fix her Galaxy Nexus (SC-040 from Japan). Her phone would boot past the Google logo (with the unlocked icon at bottom), then freezes a second and restart at the "Franco Kernel" screen. The only hint I have is that her storage is getting somewhat full around 100MB or so left when the phone suddenly go into this mode without her touching anything system related.
I'm an IT person but don't have experience using android phones or rooting them, so appreciate your help here. Checked online and played a bit with the phone and here's what I tried:
1) Tried booting into the CWM recovery mode (v.5.5.0.2) - Wipe cache partition, as well as wipe Dalvik cache, reboot again same issue
2) Since there is no easy way to get the phone working, I plan to backup the user data (pictures, app and messages) and restore to factory settings. I tried mouintg USB storage - and get "E:Unable to open ums lunfile (No such file or directory)". Read on here somewhere that it is an issue with CWM and/or Galaxy Nexus doesn't support this (can someone confirm)? Perhaps using the more updated version 6 would help, which leads to next issue
3) Tried to flash to the latest CWM mod for Galaxy Nexus, but then I realize that the Galaxy Nexus has no external SD card option. Then I tried the "install zip from sd card" > "choose zip from sd card" just to see what comes up, and it appears to show me the internal flash storage folders (contains folder such as Android, DCIM, Download, etc...). Since it can "see" the internal storage, I can assume the flash storage seems to be working ok (at least at reading the folders)
4) Since I cannot transfer from an external SD card into the Nexus, I tried downloading the SkipSoft Android Toolkit. After playing around with it a little, it appears to have the option to let me: a) push and pull file from Nexus, b) flash CWM. However, after I tried using the options (and installing all files necessary at the prompt), it's telling me my phone is not in developer / debug mode and that I need to enable that after booting into Android (which I can't)
So here's my 3-4 hours of playing with the phone / online to try to fix it to no avail. My question is:
1) Is there another tool that will let me access the internal storage while in the CWM recovery mode so I can backup the files to my PC
2) Anything else I can try to get pass the reboot loop without getting to storage (step 1)?
Many many thanks!!!!
Just download fastboot and adb. Then download the latest cwm (6.0.4.5 i think) and flash it via fastboot. After that boot into CWM and type: adb pull /sdcard/ C:/ to get all the files from the phone into the root of the C: drive. If you need any explanation or guides just let me know
Sent from my Galaxy Nexus using XDA Premium HD app
Thank!
mrgnex said:
Just download fastboot and adb. Then download the latest cwm (6.0.4.5 i think) and flash it via fastboot. After that boot into CWM and type: adb pull /sdcard/ C:/ to get all the files from the phone into the root of the C: drive. If you need any explanation or guides just let me know
Sent from my Galaxy Nexus using XDA Premium HD app
Click to expand...
Click to collapse
Thanks man for your prompt response. Will try it tonight

Categories

Resources