So my Nexus is stuck in limbo and won't let me actually access the phone. I can only go into recovery but I was hoping I could use USB Mass Storage on CWM to stick a zip for a new rom but that option isn't there. Is there anything else I can do? I'm on a mac btw
You need to use adb to push over a ROM .zip file.
You can't use USB storage option, because the Nexus uses MTP.
Lesicnik1 said:
You need to use adb to push over a ROM .zip file.
You can't use USB storage option, because the Nexus uses MTP.
Click to expand...
Click to collapse
What would I have to type in terminal in order for me to be able to push over that rom .zip?
FishyChips said:
What would I have to type in terminal in order for me to be able to push over that rom .zip?
Click to expand...
Click to collapse
adb push <name of zip>.zip /data/media (the beginning adb bit may be different for mac though)
This will push it on the 'sd card' folder
Unlawful said:
adb push <name of zip>.zip /data/media (the beginning adb bit may be different for mac though)
This will push it on the 'sd card' folder
Click to expand...
Click to collapse
You forgot the last "/".
I would do it like this: adb push nameofzip.zip /sdcard/
Or for MacOS: ./adb push nameofzip.zip /sdcard/
Sent from my Galaxy Nexus using Tapatalk 2
efrant said:
You forgot the last "/".
Click to expand...
Click to collapse
Really? I've never added it and it always goes to the right place.
Related
To make it short, I got downloaded a corrupted ROM (only one on the phone), and with no nandroid. Is there any other way to access my "sd" card on my phone to put another ROM in? Is flashing a stock img the only way to get it back to work without losing my pictures? Thanks..
If its recognized by the computer, just "adb push" the ROM file (and anything else you need) to your phone.
martonikaj said:
If its recognized by the computer, just "adb push" the ROM file (and anything else you need) to your phone.
Click to expand...
Click to collapse
This.
Problem sorted.
Thanks for the suggestion, but can you provide some commands to push this file through adb?
if you are not familiar with adb commands, use Android Commander. Saves alot of time.
I'm a bit more familiar with adb, it's just need the to be directed to the right path with the specific command to push a rom to my phone. Does anyone know?
i tried
adb push "filename"/sdcard/"filename" but it's not giving me any response.
Deekayy said:
I'm a bit more familiar with adb, it's just need the to be directed to the right path with the specific command to push a rom to my phone. Does anyone know?
i tried
adb push "filename"/sdcard/"filename" but it's not giving me any response.
Click to expand...
Click to collapse
Is your ROM file in the Android>Platform Tools folder?
adb push rom.zip /sdcard/
You need the extension (.zip) as well.
Edit: does adb devices indicate you're connected?
Deekayy said:
I'm a bit more familiar with adb, it's just need the to be directed to the right path with the specific command to push a rom to my phone. Does anyone know?
i tried
adb push "filename"/sdcard/"filename" but it's not giving me any response.
Click to expand...
Click to collapse
you just need:
Code:
adb push ROMname.zip /sdcard/
Assuming you put "ROMname.zip" in your platform-tools folder, or another folder you're running ADB out of.
Keep in mind, not any response, aka, just hanging, means it is still working. ADB transfers are slow, so big files will take a little bit.
Nevermind.
martonikaj said:
you just need:
Code:
adb push ROMname.zip /sdcard/
Assuming you put "ROMname.zip" in your platform-tools folder, or another folder you're running ADB out of.
Click to expand...
Click to collapse
Yes I did that, and now for some reason my sdk is not recognizing my phone (funny cause i tried flashing a new recovery.img). Now i'm re-installing sdk tools.
adrynalyne said:
Keep in mind, not any response, aka, just hanging, means it is still working. ADB transfers are slow, so big files will take a little bit.
Click to expand...
Click to collapse
Thanks, gotta fix the first problem though.
Hi guys
I would like to know how i can push a zip ROM through cwm recovery to my Gnex because i have a problem, my phone dont want boot and only i can see fastboot mode and Recovery mode and i dont have a nand backup or a ROM file on my SD memory to flash and fix this problem, someone can help me with this??
Adb push nameofROM.zip /sdcard/ nameofROM.zip
I also believe you have to go to Mounts and Storage and unmount system in CWM beforehand.
Someone double check me but I wouldn't remember it fully unless I had to do it again.
Had to learn how to do this myself recently.
Sent from my Galaxy Nexus using Tapatalk 2
I Am Marino said:
Adb push nameofROM.zip /sdcard/ nameofROM.zip
I also believe you have to go to Mounts and Storage and unmount system in CWM beforehand.
Someone double check me but I wouldn't remember it fully unless I had to do it again.
Had to learn how to do this myself recently.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
thanks but i need more information about this not help me at all.
Connect your phone to your pc,open CMD and use the code below:
adb push {file path} /sdcard/{file path}
Use my guide.
Particularly post 1 to set ADB up if you haven't.
And post 3 (panic section) for this exact scenario.
Had to do this recently.
In mounts and storage mount /data
Then
Adb push ROM.zip /data/media
Then unmount and it should be there on the root of your "sdcard"
Sent from my Galaxy Nexus using xda premium
Jubakuba said:
Use my guide.
Particularly post 1 to set ADB up if you haven't.
And post 3 (panic section) for this exact scenario.
Click to expand...
Click to collapse
Thanks i do all in your guide but i have a problem when im going to open ADB this dont want star, what happens there???
OK guys THANKSSSS DONE!!!:good::good::good:
ÜBER™ said:
Had to do this recently.
In mounts and storage mount /data
Then
Adb push ROM.zip /data/media
Then unmount and it should be there on the root of your "sdcard"
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
THANKS
been tryin to get this done for 2 hours
finially used:
CWM mount data
adb push ROM.zip /sdcard/
CWM unmount data
Hi, my phone seems not to be detected by my computer.
I'm sick of this boot loop after trying to install ARHD 12...
I can still go into HBOOT menu etc.
Please I need your help, commands like "fastboot getvar cid" aren't working. I just get a message saying 'fastboot' is not recognized as an internal or external command
Thank you...
I was running Jelly bean for 2 weeks now and no problems and I hooked the phone up to my charger and it just started to bootload itself over and over and so I just tried to install my backup and start over but it says error while restoring data on all my backups. I need help on whether or not I am screwed or If I can connect my phone to my computer someway and use clockwork and maybe do something that way. I am able to get to clockwork rec and I believe that my files have been erased some how some way and cant connect to my computer to just start over unless one of you guys can really help me out. If I can get step by step help I will def buy someone a beer or two or three. Thanks
If you have a rom zip on your sdcard just boot into recovery, wipe and flash a new rom. If you don't then go into recovery, mount sdcard to your computer and move a zip onto your sd and then flash.
Sent from my Galaxy Nexus using Tapatalk 2
eqjunkie829 said:
If you have a rom zip on your sdcard just boot into recovery, wipe and flash a new rom. If you don't then go into recovery, mount sdcard to your computer and move a zip onto your sd and then flash.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
I dont have a rom zip on my phone my dumbass deleted it 3 days ago. this sounds stupid but I go to recovery5.8.0.2 and how do I mount the sd card to my mac? if that helps....
Try this.
http://forum.xda-developers.com/showthread.php?t=1667929
genethebean33 said:
I dont have a rom zip on my phone my dumbass deleted it 3 days ago. this sounds stupid but I go to recovery5.8.0.2 and how do I mount the sd card to my mac? if that helps....
Click to expand...
Click to collapse
Connect your phone to your computer, boot into CWM recovery, and use ADB to push a ROM.zip, GAPPS, and whatever else you need to flash to your phone. You can then do a data wipe in CWM and flash the ROM.
If you don't know how to use ADB, download the package I've attached to this post. Unzip it to your home directory and drop any files you need to push into that file as well. Open up Terminal, type "cd" (no quotes) and drag that unzipped Mac_ADB_Fastboot folder into the terminal and hit return. It'll take you to that directory.
First, make sure the computer recognized the device by typing:
Code:
./adb devices
and hitting return.
If it detects, then type this into the Terminal, of course substituting any file you need (GAPPS, etc.) where "ROM.zip" is:
Code:
./adb push ROM.zip /sdcard/
cattom2000 said:
Try this.
http://forum.xda-developers.com/showthread.php?t=1667929
Click to expand...
Click to collapse
is there a mac version?
genethebean33 said:
is there a mac version?
Click to expand...
Click to collapse
Read my post.
genethebean33 said:
is there a mac version?
Click to expand...
Click to collapse
adb is a platform tool in android sdk, and can use on mac surely.
you can get one sent by martonikaj.
firstly you have to try to mount your sdcard in the cwm recovery. if it done, you can use adb push send file to sdcard.
martonikaj said:
Connect your phone to your computer, boot into CWM recovery, and use ADB to push a ROM.zip, GAPPS, and whatever else you need to flash to your phone. You can then do a data wipe in CWM and flash the ROM.
If you don't know how to use ADB, download the package I've attached to this post. Unzip it to your home directory and drop any files you need to push into that file as well. Open up Terminal, type "cd" (no quotes) and drag that unzipped Mac_ADB_Fastboot folder into the terminal and hit return. It'll take you to that directory.
First, make sure the computer recognized the device by typing:
Code:
./adb devices
and hitting return.
If it detects, then type this into the Terminal, of course substituting any file you need (GAPPS, etc.) where "ROM.zip" is:
Code:
./adb push ROM.zip /sdcard/
Click to expand...
Click to collapse
I tried what you did and when I try to detect the device it says no such file or directory. is there anything I am doing wrong? when I go to mounts and storage i mount the system and data and nothing happens.
man now I cant mount my sd card........... I am so screwed!!! do i need a new phone now?
genethebean33 said:
man now I cant mount my sd card........... I am so screwed!!! do i need a new phone now?
Click to expand...
Click to collapse
You could always just find someone with a PC that will let you use it for 15 minutes, download the rom, move to your phone, boot into recovery, flash and enjoy. I always have 2 or 3 rom zips on my phone just for that reason.
Sent from my Suxen Yxalag using Xparent SkyBlue Tapatalk 2
yeh I cant even mount my sd card now. just a quick question? do I just sell my phone or is there anything I can do?
genethebean33 said:
yeh I cant even mount my sd card now. just a quick question? do I just sell my phone or is there anything I can do?
Click to expand...
Click to collapse
Maybe this help.
http://forum.xda-developers.com/showpost.php?p=26088161&postcount=5
http://forum.xda-developers.com/showpost.php?p=25850720&postcount=8
I tried to root my Nexus to get Jellybean...all went well till I realized I forgot to get the ROM onto the phone.
I made a backup onto the computer but didn't do it after I booted into clockwork mod. I wiped the cache etc. and installed the Gapps and that is when I realised the ROM wasn't on the phone. My phone wont connect to the computer and the only backup I have is on my computer.
Is there a way to get the stock ICS on the phone or somehow get the JB ROM onto my phone?
Not an expert, but fastboot and flash stock???
Sent from my Galaxy Nexus using Tapatalk 2
If your phone is recognized by the PC, push the ROM with ADB. You can then flash it.
Code:
adb push rom-file.zip /sdcard/
Alternatively if you just want to return to stock, flash the images via fastboot: http://forum.xda-developers.com/showthread.php?t=1626895
martonikaj said:
If your phone is recognized by the PC, push the ROM with ADB. You can then flash it.
Code:
adb push rom-file.zip /sdcard/
Alternatively if you just want to return to stock, flash the images via fastboot: http://forum.xda-developers.com/showthread.php?t=1626895
Click to expand...
Click to collapse
Phone is not recognized by the computer. It tries to install the driver then says it can't.
adb push it.
You can adb push from a custom recovery (CWM)
Jubakuba said:
adb push it.
You can adb push from a custom recovery (CWM)
Click to expand...
Click to collapse
I can't find the AndroidSDK folder on my computer at all...
edit-
downloaded and installed Android SDK.
edit-
got to cmd....I get to the point where I need to adb push but I get this message: 'adb' is not recognized as an internal or external command, operable program or batch file.
and on cwm, I can't toggle the /sdcard to unmount. It stays on mount.
cwpmz3 said:
I can't find the AndroidSDK folder on my computer at all...
edit-
downloaded and installed Android SDK.
edit-
got to cmd....I get to the point where I need to adb push but I get this message: 'adb' is not recognized as an internal or external command, operable program or batch file.
and on cwm, I can't toggle the /sdcard to unmount. It stays on mount.
Click to expand...
Click to collapse
You need to be in the sdk folder where the adb.exe is located, and the file you want to push must be in the same folder aswell.
Swype'ed on my CM10 Galaxy Nexus
cwpmz3 said:
I can't find the AndroidSDK folder on my computer at all...
edit-
downloaded and installed Android SDK.
edit-
got to cmd....I get to the point where I need to adb push but I get this message: 'adb' is not recognized as an internal or external command, operable program or batch file.
and on cwm, I can't toggle the /sdcard to unmount. It stays on mount.
Click to expand...
Click to collapse
Open the directory where you put the adb.exe file. Shift+Right Click the blank screen. Click Run Command Prompt Here. Now you should be able to use adb and all its commands when your phone is in recovery mode and connected to computer. Just to make sure, you can always do "adb devices" to check it the phone is recognized.
Also make sure that the ROM you want to transfer is in the same directory as adb.exe.
After you've done that, do "adb push NAME OF THE ROM.zip /sdcard/"
Now use CWM to flash that zip file and you're good to go.
Thanks everyone! Got it working!
Definitely made my heartdrop before haha but man I learned a lot haha again, Thanks!:good:
So, my problem is that I have recently unlocked the bootloader on my HTC One X using my Mac and the very helpful guide provided on this YouTube link
http://youtu.be/8Y3VbFJIwWU
No problems with the process in that video and I've gotten to the end with the phone bootloader definitely.
My problem is that I've then attempted to install a custom ROM from the SD card. Again, this seems to work fine, but upon reboot I'm immediately hit with a continual pop-up 'unfortunately, the process com.android.phone has stopped' with the only option to press ok. It loops continuously.
I suspect I may have to reinstall the ROM onto the SD card, but this is my problem. I cannot get my phone's USB access to work on my Mac as I am stuck with the above pop-up preventing me. I can't seem to access it via Recovery either.
Can I use fastboot to 'flash' over the *.img or *.zip of a new ROM to get it onto the SD card? Stuck with a phone I can't use otherwise. :crying:
Thanks.
Mount usb storage from the recovery.
Sent from my HTC One X using xda app-developers app
or while in recovery type
Code:
adb push rom.zip sdcard/
Thanks for that, athulele . :good:
I have tried that. On a Mac, for USB access requires that I use software called 'Android File Transfer' rather than the way Windows would do it. That software doesn't kick in via Recovery mounting. So, I'm going to need a different approach.
Since I have Windows installed via Bootcamp, I think I'll try to connect the phone up via Windows and see whether I can access the SD card via USB using that route.
Any other help is most welcome.
you do not need that file, just boot into recovery and type the command above... it's the easiest way
matt95 said:
you do not need that file, just boot into recovery and type the command above... it's the easiest way
Click to expand...
Click to collapse
Having booted into recovery, using Terminal on my Mac and typing
adb push sentinelrom_v4_30_endeavoru.zip sdcard/
gives the following message:
-bash: adb: command not found
Am I doing something wrong here?
well, have you got the sdk installed on your mac?
matt95 said:
well, have you got the sdk installed on your mac?
Click to expand...
Click to collapse
I've now downloaded the sdk for mac. It's a adt bundle folder with many files inside. I've installed 'Eclipse' but I'm still getting the same message as before from the Terminal. What else do I need to do here?
Im not into macs .... but don't you need to enter sudo commands before the adb/fastboot commands ?
no, he only needs to navigate to the adb directory with the terminal and then type
Code:
./adb push rom.zip sdcard/
matt95 said:
no, he only needs to navigate to the adb directory with the terminal and then type
Code:
./adb push rom.zip sdcard/
Click to expand...
Click to collapse
Hi matt95
I'm grateful for the help you are giving me here. I've found the adb file within the following downloaded directory path:
act-bundle-mac-x86_64-20130219 - sdk - platform-tools - adb
When I changed directory in Terminal to this path and ensured the specific rom.zip was also in that path, Terminal is still giving me this:
./adb push sentinelrom_v4_30_endeavoru.zip sdcard/
-bash: ./adb: No such file or directory
I must be doing something not right. Please help further.
that's strange, could you provide me the platform-tools folder and the rom.zip folder? i'll write down what you exactly have to write...
matt95 said:
that's strange, could you provide me the platform-tools folder and the rom.zip folder? i'll write down what you exactly have to write...
Click to expand...
Click to collapse
Folder contents as described.
Thanks.
ok now i need their directory, for ex. /User/yourusernane/Docuemnts/ecc ecc......
matt95 said:
ok now i need their directory, for ex. /User/yourusernane/Docuemnts/ecc ecc......
Click to expand...
Click to collapse
/Users/srafferty73/Downloads/adt-bundle-mac-x86_64-20130219/sdk/platform-tools
and
/Users/srafferty73/Downloads/adt-bundle-mac-x86_64-20130219/sdk/platform-tools/sentinelrom_v4_30_endeavoru
Thanks.
ok, now open the therminal ans type
Code:
cd /Users/srafferty73/Downloads/adt-bundle-mac-x86_64-20130219/sdk/platform-tools
./adb push (drag the rom.zip into terminal) sdcard/
now it should work
matt95 said:
ok, now open the therminal ans type
Code:
cd /Users/srafferty73/Downloads/adt-bundle-mac-x86_64-20130219/sdk/platform-tools
./adb push (drag the rom.zip into terminal) sdcard/
now it should work
Click to expand...
Click to collapse
Slowly making progress. Latest Terminal message after doing that reads 'error: device not found'.
I am using ClockworMod Recovery v5.8.2.7 and have clicked on 'mount /sdcard'. I have tried to 'mount USB storage' but am getting an error message which reads 'E: Unable to open ums lunfile (No such file or directory).'
What should I do next?
Thanks.
fingerbob said:
Slowly making progress. Latest Terminal message after doing that reads 'error: device not found'.
I am using ClockworMod Recovery v5.8.2.7 and have clicked on 'mount /sdcard'. I have tried to 'mount USB storage' but am getting an error message which reads 'E: Unable to open ums lunfile (No such file or directory).'
What should I do next?
Thanks.
Click to expand...
Click to collapse
Flash a newer recovery.
Mr Hofs said:
Flash a newer recovery.
Click to expand...
Click to collapse
I managed to find a copy of ClockworkMod Recovery v5.8.4.0 and flashed this as advised. This has somehow enabled the USB facility on my phone to start working again and I can replace the ROM I've downloaded onto it.
I just tried reinstalling the ROM I had again, but once again got the original message stated in my first post. I'm about to now try a different ROM to see if that makes any difference.
:good: