Need some help guys! - Samsung Galaxy Nexus

I tried flashing a rom and it wouldn't load past the bootscreen. I am now stuck in recovery and I can't mount my USB storage to flash another rom. Is there a way i can transfer the file from my computer to my phone while in recovery or the bootloader? I am on a Mac running OSX Lion. thanks for the help.

iPathik said:
I tried flashing a rom and it wouldn't load past the bootscreen. I am now stuck in recovery and I can't mount my USB storage to flash another rom. Is there a way i can transfer the file from my computer to my phone while in recovery or the bootloader? I am on a Mac running OSX Lion. thanks for the help.
Click to expand...
Click to collapse
If u are in recovery u can flash ur Android and start again.
You did to a Android backup, didn't you ?
Sent from my Galaxy Nexus using xda premium

You didn't make a NANDROID BACKUP?!?!?!?!?
I am not sure about the mounting in recovery but I think you can fastboot files to your phone in fastboot mode..
That is all I know.

bbgt2 said:
If u are in recovery u can flash ur Android and start again.
You did to a Android backup, didn't you ?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
no, I didn't do a backup stupid mistake on my part i know...

If its recognized by the computer, then you're fine.
Download ADB and Fastboot (I've attached the .zip to this post). Unzip it to your home folder, and drop whatever files you need to transfer to your phone in that folder.
Open terminal and direct it to the path of your ADB file (aka, type "cd " and drag the folder into Terminal).
Type:
Code:
./adb devices
and hit return. If you get "devices attached xyzxyzxyzyxz" you're good.
Type:
Code:
./adb push FILENAME.zip /sdcard/
and hit return. If it's a full ROM, it'll take a while, you don't get progress or any notification until its finished transferring.
Then load up your CWM and wipe your data etc etc then flash the ROM.

iPathik said:
no, I didn't do a backup stupid mistake on my part i know...
Click to expand...
Click to collapse
i am in fastboot mode and i have the fastboot comand open in terminal and it recognizes my device, how do i transfer files on it? i havent used it before. i've been searching on how to use fastboot and adb but adb isnt recognizing my device in recovery mode or fastboot mode.

iPathik said:
i am in fastboot mode and i have the fastboot comand open in terminal and it recognizes my device, how do i transfer files on it? i havent used it before. i've been searching on how to use fastboot and adb but adb isnt recognizing my device in recovery mode or fastboot mode.
Click to expand...
Click to collapse
Read my post. It's "./adb push FILENAME.zip /sdcard/ " . Just go into your recovery and do the ADB command to push the file. Let it xfer then you're good to go.

Mount /data in mounts and storage
then preform this
Code:
adb push name-of-ROM.zip /data/media
I would have said sdcard but sometimes that doesnt work.. at least the last time i've tried it didnt work correctly and wouldnt bring up my "sdcard" at all and had to reboot the recovery and it wasnt there. I know for sure this method works.
OH oops.. Boot into recovery and go into mounts and storage and mount /data sorry..

ÜBER™ said:
Mount /data in mounts and storage
then preform this
Code:
adb push name-of-ROM.zip /data/media
I would have said sdcard but sometimes that doesnt work.. at least the last time i've tried it didnt work correctly and wouldnt bring up my "sdcard" at all and had to reboot the recovery and it wasnt there. I know for sure this method works.
OH oops.. Boot into recovery and go into mounts and storage and mount /data sorry..
Click to expand...
Click to collapse
how will I flash the file once it transfers? :/

Nevermind, I see it, THANKS SO MUCH GUYS! Really appreciate it. I hit the thanks button on every1 that replied. thanks again for the help

iPathik said:
how will I flash the file once it transfers? :/
Click to expand...
Click to collapse
It'll be visible in CWM when you go select a zip. Just the same as you did the last one. All ADB push does is put it on your phone so you can flash it normally. Exact same as if you moved it via Android File Transfer or download.
---------- Post added at 03:41 PM ---------- Previous post was at 03:40 PM ----------
iPathik said:
Nevermind, I see it, THANKS SO MUCH GUYS! Really appreciate it. I hit the thanks button on every1 that replied. thanks again for the help
Click to expand...
Click to collapse
You're welcome. Next time nandroid backup...
But at least now you know how to ADB push.

Related

Any way to save data on a Nexus in a bootloop?

I have a Galaxy Nexus that after updating is stuck in a boot loop just recycling the Google logo. There is no ADB access as a result.
Is there anyway I can save my photos? Thanks!
You should be able to do is using fastboot to get into CWM - you can then mount the sd card and copy off your data
Like Eddy said. Via fastboot, boot up CWM, either you have it flashed or not.
From CWM, you can access the phone via adb over USB.
In a "adb shell", you can .tar.gz up the stuff you like (or your entire /sdcard). Afterwards you can "adb pull" that off the phone.
Requires quite a bit off commandline, but it's not hard, just cumbersome. If your data is important enough, it's definitely worth it.
EddyOS said:
You should be able to do is using fastboot to get into CWM - you can then mount the sd card and copy off your data
Click to expand...
Click to collapse
You can't mount /sdcard on a Galaxy Nexus.
Like josteink said, boot up CWM, open a command prompt on your computer and type: adb pull /sdcard or adb pull /data/media
That's it. This will pull all your data stored in /sdcard (although I believe it will not keep the directory structure in place). As well, keep in mind that file transfers over adb are very slow, so it may take a while if you have a lot of data...
It's not had CWM Installed. I assume that the process of unlocking the bootloader to install CWM would wipe the phone so that wont work?
Is that correct or am I mistaken?
efrant said:
You can't mount /sdcard on a Galaxy Nexus.
Like josteink said, boot up CWM, open a command prompt on your computer and type: adb pull /sdcard or adb pull /data/media
That's it. This will pull all your data stored in /sdcard (although I believe it will not keep the directory structure in place). As well, keep in mind that file transfers over adb are very slow, so it may take a while if you have a lot of data...
Click to expand...
Click to collapse
You can, just not as USB Mass Storage. Mount it in CWM then use ADB to get your data off
Spinstorm said:
It's not had CWM Installed. I assume that the process of unlocking the bootloader to install CWM would wipe the phone so that wont work?
Is that correct or am I mistaken?
Click to expand...
Click to collapse
Correct. If your bootloader is locked, you're out of luck. Unlocking wipes everything.
EddyOS said:
You can, just not as USB Mass Storage. Mount it in CWM then use ADB to get your data off
Click to expand...
Click to collapse
Once you boot up CWM, you have adb access to the files on your device. Not sure what "mount" you are talking about, but I have never had to do anything to get files off/on the /sdcard directory other than boot up CWM or my ROM.
Sent from my Galaxy Nexus using Tapatalk
Spinstorm said:
It's not had CWM Installed. I assume that the process of unlocking the bootloader to install CWM would wipe the phone so that wont work?
Is that correct or am I mistaken?
Click to expand...
Click to collapse
You are not mistaken. In that case, try booting to the stock recovery and use the adb pull command.
Sent from my Galaxy Nexus using Tapatalk
Boot loop
If you are having difficulty with boot loop, pull the battery. I had the same issue with my N1 didn't wipe dalvik cache after an update. And because of the loop couldn't get the timing for fastboot as the bootloop was not giving an indication of when the keypresses would activate the bootloader.
If you are unrooted and stock then try this:
Put device into the bootloader by holding down Vol Up + Vol Down + Power
use your volume buttons to change options next select (with power button) the fastboot option, after use the ADB instructions from the more knowledgeable members (ADB is somewhat cumbersome.... but it works and has saved my bacon) After wards using the Bootloader you should be able to resore to factory settings and reload your info after.
If you are Rooted with a custom bootloader and rom
same as above to get to bootloader, but then wipe your cache, and dalvik cache. Reflash latest ROM and Gapps. You shouldnt lose anything.
Good luck bud.... your Nexus isn't dead.... only in a Coma.... or a political promise...
J
You can perform a complete backup via adb without root access. You would have to do this from recovery...
http://forum.xda-developers.com/showthread.php?t=1436846
danger-rat said:
You can perform a complete backup via adb without root access. You would have to do this from recovery...
http://forum.xda-developers.com/showthread.php?t=1436846
Click to expand...
Click to collapse
Have you tried and gotten that to work in recovery? Although I haven't tried it, I don't think that works in recovery. It is a feature of ICS, so I'm pretty sure you need to be booted into your ROM for it to work.
Sent from my Galaxy Nexus using Tapatalk
sos lge960
i have one nexus4 lg e960 enter only in recovery mode or clockrecovery mode
but i can't update my rom in to the internal masse storage
how i mount sd card to performe update rom via zip file
command with adb or via menu of recovery clockworkmode
yours
[email protected]
emergency
bibi019 said:
i have one nexus4 lg e960 enter only in recovery mode or clockrecovery mode
but i can't update my rom in to the internal masse storage
how i mount sd card to performe update rom via zip file
command with adb or via menu of recovery clockworkmode
yours
[email protected]
emergency
Click to expand...
Click to collapse
My guess is this question is more appropriate for the nexus 4 forum
Sent from my Galaxy Nexus
Nooooo, necrobumping is fine, since he has the same issue, and this is the first hit on Google... even though he's on a different device. /s
Sent from my Nexus
Hey, I'm running to a similar problem with this guy.
I stupidly reformated my system files without having a rom on my internal sd.
The question is that I'm reading that I can use the adb to push files in but I'm just new to the whole adb.
How would I get my computer to use the adb?
Sorry for such a noob question -_-;
Edit: So it seems from looking around and reading other forums and faq's that I need to have the phone for the adb to be installed.
Is there away around that so that I can access the adb?
Edit2: Nevermind. Fixed it with a toolkit. Sorry to spam

Stuck at TWRP. loaded a stock up date using adb cannot find file

I have rooted and installed custom Roms on my wifes KF and mine and it worked flawlessly. So i assumed i could root my co-workers also. (FAIL)
So i loaded up KFU installed TWRP first. stuck on splash screen, conducted a hard reset and then tried to root.Then it stuck on "attempting to remove root checker" Waiting for Device. and reset again.
Now it reboots though FFF boot loader and then again straight to TWRP. After much reading and trial and error i have (i think ) flashed an up date using adb push C:\kfu\software\update.zip\ /sdcard/ line command but the file is not in the sd card parition of twrp
i have identified the boot mode as obviously 5002 recovery should i be in 4002 fastboot for that to work?
this is a two part thread. adb works fine and the kindle is recognized as a device but i am unable to access the files on it.....
just use mount and put this rom on instead http://forum.xda-developers.com/showthread.php?t=1439916 select mount make sure there are no checks in the boxes of system and data then hit the big button transfer this rom (not the alt version) to the sd card but dont put it inside any folder then umount flash it and enjoy.I have seen more people screw up by trying to flash update.zip not always a good idea unless you know what your doing..
Thepooch said:
just use mount and put this rom on instead http://forum.xda-developers.com/showthread.php?t=1439916 select mount make sure there are no checks in the boxes of system and data then hit the big button transfer this rom (not the alt version) to the sd card but dont put it inside any folder then umount flash it and enjoy.I have seen more people screw up by trying to flash update.zip not always a good idea unless you know what your doing..
Click to expand...
Click to collapse
DL zip now could i use the same process to see the file i pushed earlier?
Forgive me i did not read the whole post
it must be in zip form to flash it no need to wipe this is the only rom you do not have to wipe to flash...
this is the command line is used
adb push C:\kfu\softwear\Gr9.2.zip\ /sdcard/
is that correct? i am in fastboot mode now (kindle fire white/blue)
b.king said:
this is the command line is used
adb push C:\kfu\softwear\Gr9.2.zip\ /sdcard/
is that correct? i am in fastboot mode now (kindle fire white/blue)
Click to expand...
Click to collapse
fastboot isnt for flashing roms and if thats the file path where you placed the rom.zip then its right but you dont need to be in fastboot you need to be in twrp to flash the rom you mis spelled software
Thepooch said:
fastboot isnt for flashing roms and if thats the file path where you placed the rom.zip then its right but you dont need to be in fastboot you need to be in twrp to flash the rom you mis spelled software
Click to expand...
Click to collapse
im back in recovery and recieving no such file or directory message i possibly have the wrong path quoted
yes forget the adb stuff just select mount... transfer the rom by simple copy paste to your sd card
Thepooch said:
yes forget the adb stuff just select mount... transfer the rom by simple copy paste to your sd card
Click to expand...
Click to collapse
i am unable to view my folders in the kindle for some reason it is visable under devices but i cannot access the files or i would done that already
try reinstalling the drivers that came with kfu
---------- Post added at 12:55 PM ---------- Previous post was at 12:51 PM ----------
also the easiest way to set the correct file path is to type
Code:
adb push
then drag drop the file to the terminal this will place the file path then add /sdcard
---------- Post added at 01:03 PM ---------- Previous post was at 12:55 PM ----------
sent you a message
b.king said:
i am unable to view my folders in the kindle for some reason it is visable under devices but i cannot access the files or i would done that already
Click to expand...
Click to collapse
BIG THANKS ThePooch
mounted the sd card to pc loaded files and i am rooted with a custom rom!!!
very good your set next time you go to recovery perform a backup as well as remember this is the only rom you can flash without wiping... next one you will need to wipe factory reset,cache,dalvik and system.... of course all after a backup...

How to push files in fastboot or Recovery?

Hello,
One friend of mine have flashed franco kernel, but problably the kernel was corrupted and now he get stuck at the google logo.
How can he push a new kernel to the phone memory to flash it in the recovery?
Adb push in a custom recovery or you can reflash your ROM
Sent from my Galaxy Nexus using Tapatalk 2
JB has been known to get stuck at "google" for 10min or so. Did you wait long enough?
good day.
RevengeFNF said:
Hello,
One friend of mine have flashed franco kernel, but problably the kernel was corrupted and now he get stuck at the google logo.
How can he push a new kernel to the phone memory to flash it in the recovery?
Click to expand...
Click to collapse
1) boot into bootloader
2) start recovery from bootloader
3) use adb push to copy a ROM to the /sdcard
4) flash it
Petrovski80 said:
1) boot into bootloader
2) start recovery from bootloader
3) use adb push to copy a ROM to the /sdcard
4) flash it
Click to expand...
Click to collapse
Confirmed working, and a BAZILLION times faster than the chrome browser.
Zector said:
Confirmed working, and a BAZILLION times faster than the chrome browser.
Click to expand...
Click to collapse
??? chrome browser can flash roms?
10chars
Does it work with CWM?
Petrovski80 said:
1) boot into bootloader
2) start recovery from bootloader
3) use adb push to copy a ROM to the /sdcard
4) flash it
Click to expand...
Click to collapse
I tried this and it said "insufficient permissions for device" in ADB. My phone randomly rebooted and gets stuck on the boot logo, but everything on my sdcard got deleted. I have a Verizon Galaxy Nexus if that helps
If it's only the kernel causing problems, the easiest would be to run "fastboot flash boot <name of boot.img here>" from fastboot?(the original boot.img from the rom he's using would be found inside the zip file)
But if you screwed something else up in the process, you may need to flash the entire rom again from the recovery. If you are using cwm recovery, I believe it allows you to mount storage, so you can just move the rom file from the computer, and if you are using twrp, they have an option to sideload(under advanced), where you can connect you phone to your pc and run "adb sideload <name of rom.zip file here>" and it will install it right away.
mortenmhp said:
using cwm recovery, I believe it allows you to mount storage, so you can just move the rom file from the computer
Click to expand...
Click to collapse
this will not work, not with cwm nor with twrp, at this point; likely, it will never work as we don't have removable storage.
Then just use the sideload, it works quite well for me.
mortenmhp said:
Then just use the sideload, it works quite well for me.
Click to expand...
Click to collapse
Or just 'adb push rom.zip /sdcard/', or if that doesn't work, 'adb push rom.zip /data/media'.
Sent from my i9250
in my case TWRP didn't do so good with adb,
I think the recovery devs should have ADB in mind first of all. without ADB ur one foot in the grave
GruiaNovac said:
in my case TWRP didn't do so good with adb,
I think the recovery devs should have ADB in mind first of all. without ADB ur one foot in the grave
Click to expand...
Click to collapse
adb works fine with TWRP if you have updated adb drivers/adb daemon.
guess fastboot flashing images also eludes you.
so no, you're not in the grave.
*note* thanks for necroing a thread from December.
No, in bootloader its fine.
And apparently (if It wasn't a fluke) I think i booted normally , and having no rom it just stood there, and adb worked.
that saved me
TWRP dissapoints . have to look for replacement
stuck in recovery
so Im stuck in a similar situation
before installing a ROM which instructed to wipe the device, i did so, in fact i over did it.. wiped data/cache/davlik/system and internal storage
the same storage which had the ROM that i was supposed to install after wiping it.
I felt very dumb, but now stuck with the bootloader / fastboot / and TWRP recovery .. the TWRP recovery version i have HAS the adb sideload feature
which i've tried to install the Cyanogen ROM using ./adb sideload filename.zip , which hasnt work for Cyanogen but worked for the GApps after that ( I thought that was kinda weird).
the sideload command goes thru the sending of the entire ROM to the phone, but it never installs correctly..
NOW im stuck
any suggestions or help on how i can do it with what appears to me to be as fastboot / adb side load / and recovery options"??
thank you very much in advance
=====
update
=====
solved my problem... mounting the partition turns on full ADB to push the files onto the drive and install them using the recovery software
Petrovski80 said:
1) boot into bootloader
2) start recovery from bootloader
3) use adb push to copy a ROM to the /sdcard
4) flash it
Click to expand...
Click to collapse
you just saved my life... and my phone

HELP pushing files

hey guys i need some serious help here. so i accidentaly erased my sd card with my custom roms on it. im sitting at the "google" screen right now and my computer (windows 8 64) recognizes the phone in adb, if i go into CWM i cannot install drivers windows 8 will not let me no matter how i try. but this is my huge dilemma im trying to push the rom to my sdcard with adb and i keep getting either permission denied, or failed to copy..... is a directory. what command am i missing? i have done this plenty of times before and it worked. currently i have tried the directories on the device: /data/media/sdcard, /sdcard/, /sideload, /mnt/sdcard/ and all come back with a similar error. please help i cant figure out what is wrong.
Chyrio said:
hey guys i need some serious help here. so i accidentaly erased my sd card with my custom roms on it. im sitting at the "google" screen right now and my computer (windows 8 64) recognizes the phone in adb, if i go into CWM i cannot install drivers windows 8 will not let me no matter how i try. but this is my huge dilemma im trying to push the rom to my sdcard with adb and i keep getting either permission denied, or failed to copy..... is a directory. what command am i missing? i have done this plenty of times before and it worked. currently i have tried the directories on the device: /data/media/sdcard, /sdcard/, /sideload, /mnt/sdcard/ and all come back with a similar error. please help i cant figure out what is wrong.
Click to expand...
Click to collapse
Try /storage/sdcard0
But if that doesnt work, reboot to bootloader and flash stock userdata.img through fastboot; reboot to recovery right after that, push rom.
Sent from my i9250
I ran into the same problem, I erased my internal memory and i'm now stuck with the google screen
i have TWRP recovery but there is nothing on the sd card to flash from, how do i push files to the sd card from the computer?
I tried use the nexus root toolkit but i get "fastboot device not found" even though the bootloader says that it is in fastboot mode.
please help
nope that didnt work either but i found a work around. i had never played with CWM's sideload feature. FOR FUTURE GOOGLE GOERS
NOTE: you need CWM 6.0.1.5 and above i think
reboot into recovery
select install from sideload
make sure drivers are installed (i used the universal android drivers here: http://forum.xda-developers.com/showthread.php?t=1514942)
open up adb in cmd (hopefully you have adb in your com)
and type "adb sideload <filename.zip>" without quotes or the little arrows
and you should see it start copying
I would like CWM and TWRP for using this in their recovery!!!!!
Chyrio said:
nope that didnt work either but i found a work around. i had never played with CWM's sideload feature. FOR FUTURE GOOGLE GOERS
NOTE: you need CWM 6.0.1.5 and above i think
reboot into recovery
select install from sideload
make sure drivers are installed (i used the universal android drivers here: http://forum.xda-developers.com/showthread.php?t=1514942)
open up adb in cmd (hopefully you have adb in your com)
and type "adb sideload <filename.zip>" without quotes or the little arrows
and you should see it start copying
I would like CWM and TWRP for using this in their recovery!!!!!
Click to expand...
Click to collapse
I tried to use your sideload command but it didn't work. It said "ERROR: CLOSED"
i'm really anxious and worried if i can get the phone to work at all:crying:. any help will be greatly appreciated!
Download Wugfresh Galaxy Nexus Tool. You can't possibly have a bricked phone after using that tool
italbomber said:
Download Wugfresh Galaxy Nexus Tool. You can't possibly have a bricked phone after using that tool
Click to expand...
Click to collapse
Thank you. I tried doing that but it wasn't any help. however, i figured how to sideload using the TWRP setting. It took a little trial and error but finally got it to work.
i don't see how can you guys not get it to work through normal adb, other than you're using Windows, but glad you got it to work.
Glad to hear you are up and running again. Sorry i just always had great luck with his toolkit. Adb was always failsafe too.
Sent from my Galaxy Nexus using Tapatalk 2
Just a note you were probably getting an error because you didn't Mount the sdcard in recovery before trying to push to it.
Sent from my Galaxy Nexus using xda premium
I did a full wipe of the phone and SD card and was unable to see my phone in adb while in CWM recovery.
I run the push command any way and it did push to the file to the phone.
I push the file to /data/media/ no need to mount SDcard as it doesn't have a real one, in the past (while using ics) I have had to mount data to push files to /sdcard/

Possible Brick!!!! PLEASE HELP

while updating to the new 4.2.1 rom and the annoying restructure of the file system. i think my phone is bricked. its STUCK in the google screen. I HAVE NO ROM OR FILES on the phone, how do I get something on it
please and thanks
AW: Possible Brick!!!! PLEASE HELP
eyekyu said:
while updating to the new 4.2.1 rom and the annoying restructure of the file system. i think my phone is bricked. its STUCK in the google screen. I HAVE NO ROM OR FILES on the phone, how do I get something on it
please and thanks
Click to expand...
Click to collapse
How long is it now booting? And what have you done, explain with details please. Can you enter fast boot?
Bricked means it doesn't power on. Don't use the term so loosely.
Boot into recovery and flash something.
Boot into fast boot and reflash the stock ROM
Boot into recovery and factory reset.
Read the stickies and help posts that are all around you.
See? Lots of options to try before posting on here.
Sent from my Galaxy Nexus
thanks for the fast responses, sorry for the short-ness...
Im able to get into Recovery Mode and thats pretty much it.
/// how the problem occurred, I formatted my SDcard and System. idk why i got click happy. I have NO files on the phone. and my computer wont recognize my phone. There is NO ROM on it, I didnt save a backup/restore
As of now, im download the SDK DEV kit and trying "ADB Push"
Im also on a Mac for what its worth
thanks
You're better off using fastboot to flash CWM back to the phone OR use fastboot to flash the factory image to at least get it working again and then you can start again
you formatted system. there is no OS on the phone as to why its stuck on the google screen. your phone is in no way bricked.
you should be able to boot into cwm/twrp and use adb to push files to /data/media/
OR
fastboot back to stock.
Fastboot back to stock.
again thanks for all the speedy responses maybe im using adb wrong, but i need to be in recovery mode correct...
Code:
Christopher-Kerrs-MacBook-Pro:Downloads christopherkerr$ adb devices
List of devices attached
0**************** recovery
Code:
Christopher-Kerrs-MacBook-Pro:Downloads christopherkerr$ adb push cm-10.1-20130121-NIGHTLY-toro.zip
when I try ADB Push nothing happens, im guessing im missing something
you're not telling it where to push the file to.
adb push pathoffile\filename /sdcard/
Zepius said:
you're not telling it where to push the file to.
adb push pathoffile\filename /sdcard/
Click to expand...
Click to collapse
Just yesterday, there was a thread around about the exact same ****
sent from my Google Galaxy Nexus
Code:
Christopher-Kerrs-MacBook-Pro:Downloads christopherkerr$ adb push cm-10.1-20130121-NIGHTLY-toro.zip /sdcard/
failed to copy 'cm-10.1-20130121-NIGHTLY-toro.zip' to '/sdcard/': Is a directory
my system, cache & data are unmounted but my sdcard won't unmount
you dont have a sdcard so...
use /data/media/ then... same folder.
Thank YOU!!!!!
and thanks to everyone, even those who only suggest to use search.

Categories

Resources