Forgot to transfer ROM - Samsung Galaxy Nexus

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:

Related

Accessing the internal storage from recovery? No ROM installed or backup available.

I downloaded a ROM for the wrong nexus phone (there's so damn many I forgot to check carefully) and I've already wiped system and moved my nandroid backups to my computer because I wanted to wipe the SD card.
Is there any way to get into the phone's internal storage from recovery and load a new ROM manually?
With my older phones I would just pull the micro SD card and put the ROM on it from my PC, this doesn't seem to be possible with the nexus.
EDIT: I also have the Galaxy Nexus Root Toolkit v1.3. I think I can load a ROM using this right?
Thanks!
Check my faq section in my siggy.
Jubakuba said:
Check my faq section in my siggy.
Click to expand...
Click to collapse
Pulled:
adb push NAMEOFZIP.zip /sdcard/
from your FAQ. Thank you very much! Should work perfectly.
I got:
C:\Program Files\Android\android-sdk\platform-tools>adb push update-cm-9-20120314-NIGHTLY-toro-signed.zip /sdcard/
error: device not found
in my device manager I have:
SAUMSUNG Android Phone
-> Android ADB Interface
I assume typing "adb devices" brings nothing up?
Are you in the fastboot menu?
Do you have the drivers installed (I'd assume so, if you're rooted)
Jubakuba said:
I assume typing "adb devices" brings nothing up?
Click to expand...
Click to collapse
Brings up a blank list with an empty entry:
C:\Program Files\Android\android-sdk\platform-tools>adb devices
List of devices attached
C:\Program Files\Android\android-sdk\platform-tools>
Jubakuba said:
Are you in the fastboot menu?
Click to expand...
Click to collapse
Held down the vol up and vol down buttons while holding power.
Android guy has his chest open with a 4x4 blue square pattern inside of him.
Says FASTBOOT MODE in red and LOCK STATE - UNLOCKED also in red.
Jubakuba said:
Do you have the drivers installed (I'd assume so, if you're rooted)
Click to expand...
Click to collapse
Add / Remove programs says 'SAMSUNG USB Driver for Mobile Phones' 45.5MB version 1.4.6.0
EDIT: Changing to 1.4.8.0 didn't help
EDIT: Seeing Fastboot Command Read Error -2147382647
EDIT: Installing new naked drivers from here didn't work either, same read error sometimes, other times adb devices returns blank
http://forum.xda-developers.com/showthread.php?t=1379875
Okay got into the phone when I used recovery instead of boodloader to talk to it with ADB. I'm pushing the ROM but CWM doesn't see the ZIP after it has been pushed when I choose 'install ZIP from sdcard'
Final edit: Couldn't find the ROM when I pushed it using ADB. I think I was using the command wrong because the file never showed on the SDCARD after pushing it. So what I did was push it as 'update.zip' and then used CWM's 'load update.zip' from SDCARD function and got Cyanogenmod installed and everything is gravy again.
advocat3 said:
Okay got into the phone when I used recovery instead of boodloader to talk to it with ADB. I'm pushing the ROM but CWM doesn't see the ZIP after it has been pushed when I choose 'install ZIP from sdcard'
Final edit: Couldn't find the ROM when I pushed it using ADB. I think I was using the command wrong because the file never showed on the SDCARD after pushing it. So what I did was push it as 'update.zip' and then used CWM's 'load update.zip' from SDCARD function and got Cyanogenmod installed and everything is gravy again.
Click to expand...
Click to collapse
this didn't work for me. adb devices shows serial number recovery (that's the only thing I can boot my phone to)
when I adb push update /scard it eventually says it successfully did so with xxxxx amounts of data.
When I apply update.zip card from CWM menu it tells me can't open /sdcard/update.zip (no such file or directory)
I also renamed latest cm.zip and pushed it to /sdcard/0/Download - even when it says OK I can't find that file in that directory.
Am I royally screwed?
---------- Post added at 10:50 PM ---------- Previous post was at 10:49 PM ----------
advocat3 said:
Okay got into the phone when I used recovery instead of boodloader to talk to it with ADB. I'm pushing the ROM but CWM doesn't see the ZIP after it has been pushed when I choose 'install ZIP from sdcard'
Final edit: Couldn't find the ROM when I pushed it using ADB. I think I was using the command wrong because the file never showed on the SDCARD after pushing it. So what I did was push it as 'update.zip' and then used CWM's 'load update.zip' from SDCARD function and got Cyanogenmod installed and everything is gravy again.
Click to expand...
Click to collapse
this didn't work for me. adb devices shows serial number recovery (that's the only thing I can boot my phone to)
when I adb push update /scard it eventually says it successfully did so with xxxxx amounts of data.
When I apply update.zip card from CWM menu it tells me can't open /sdcard/update.zip (no such file or directory)
I also renamed latest cm.zip and pushed it to /sdcard/0/Download - even when it says OK I can't find that file in that directory.
Am I royally screwed?
Bronyr said:
this didn't work for me. adb devices shows serial number recovery (that's the only thing I can boot my phone to)
when I adb push update /scard it eventually says it successfully did so with xxxxx amounts of data.
When I apply update.zip card from CWM menu it tells me can't open /sdcard/update.zip (no such file or directory)
I also renamed latest cm.zip and pushed it to /sdcard/0/Download - even when it says OK I can't find that file in that directory.
Am I royally screwed?
Click to expand...
Click to collapse
Sorry but this is really really old. You should try doing a flash-back-to-stock if you can using the Nexus Root Toolkit.
I haven't had my Galaxy Nexus for well over a year.
advocat3 said:
Sorry but this is really really old. You should try doing a flash-back-to-stock if you can using the Nexus Root Toolkit.
I haven't had my Galaxy Nexus for well over a year.
Click to expand...
Click to collapse
thanks. Finally got philZ.zip pushed via ADB to internal, rebooted, all gravy! Pushing didn't work cause my battery was weak.
You van also flash a ROM via recovery from your PC with adb sideload. Its awesome.
Sent from my Galaxy Nexus using XDA Premium HD app

Stuck in recovery with no Rom

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.

Phone wont install my backups.......HELP!!!!!

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

[Q] Code?

My KF is bricked. It has TWRP on it but it has been wiped clean and my pc will not recognize it. It does in ADB, I keep seeing write the CODE: then stuff. I was told I could to where I needed to write this code by right clicking on the KFU Tools folder. I then get C:\android\Kindle Fire Utility>
Now that being said.. where do I begin to type the fastboot -i Ox1949 and so on. Sure do need some much appreciated help assistance.
Boot into TWRP and then do what Josepho1997 said. Then you can just flash the rom.
The "Rom.zip" would be the file path to wherever the rom is saved on your computer.
Where can I write the tag
Josepho1997 said:
So you just have no OS?
Boot into TWRP. Then Download and transfer the ROM via adb
Code:
adb push Rom.zip /sdcard
Then flash the ROM.
Sent from my Kindle Fire
Click to expand...
Click to collapse
But where do I code?
adb in cmd not recognized as a command
Josepho1997 said:
In cmd. Open up cmd, run adb, and then type that code. And remember what veeman said. When I say Rom.zip, you must put both the correct name and directory applicable to you. (Ex. C:\AlienDroid.zip)
Sent from my Kindle Fire
Click to expand...
Click to collapse
in cmd, adb is not recognized as a internal or external command, operable program or batch file.
Know how long it's been since I used cmd. Help me out please.
You need to open the cmd window when you are in the directory that contains the adb.exe file. Usually this is in C:/kfu/tools directory. The easiest way to do that is to use windows explorer and navigate to that directory then press shift and right click your mouse then select the option "open command window here". You should now be able to issue adb commands.
Sent from my Amazon Kindle Fire using Tapatalk 2
nacraracer said:
in cmd, adb is not recognized as a internal or external command, operable program or batch file.
Know how long it's been since I used cmd. Help me out please.
Click to expand...
Click to collapse
Easiest way is to download the Kindle Fire Utility and then navigate to the tools directory in the command line. Then you can run adb and fastboot commands.
Still won't communicate
veeman said:
Easiest way is to download the Kindle Fire Utility and then navigate to the tools directory in the command line. Then you can run adb and fastboot commands.
Click to expand...
Click to collapse
I have tried everything to get the computer to see the kindle. adb commands are not working. Just says waiting on device, tried to adb push a rom and it just said device not found.
I was able to bring up a fastboot menu one time but once there it wouldn't respond.
Any ideas please.
I am looking at the TWRP v2.2.0 screen. It will not mount either
nacraracer said:
I have tried everything to get the computer to see the kindle. adb commands are not working. Just says waiting on device, tried to adb push a rom and it just said device not found.
I was able to bring up a fastboot menu one time but once there it wouldn't respond.
Any ideas please.
I am looking at the TWRP v2.2.0 screen. It will not mount either
Click to expand...
Click to collapse
Have you installed the drivers?
veeman said:
Have you installed the drivers?
Click to expand...
Click to collapse
I did install the google drivers at the fire tool kit

[Q] ROM install SDCard USB issues.

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:

Categories

Resources