I am running tests on my new mac to see if i can root my galaxy nexus to install the tablet mod. Anyway, when i type adb devices or anything of the sort it tells me my device is offline. I have googled it with no results of how to make device online.
So my question is how do I make my device online so i can execute commands?
I have usb debugging on.
Phone is offline when booted, but also did not work in recovery mode which is what i want.
I'm on Android 4.0.4 if that matters.
Any other questions please ask!
Thank you amazing brainiacs of XDA!
So you have terminal pointed to the folder where you have ADB at, and you're using the command:
Code:
./adb devices
Right?
I had to do nothing special. Download ADB, plug in phone + turn on USB debugging, and I was good to go.
I did it with mine using the method I sis with my old nexus s 4g. Here's a video I made.
https://www.youtube.com/watch?v=sP9ZDWmbLVM&feature=youtube_gdata_player just follow the instructions but make sure u use a galaxy nexus recovery.img and not the nexus s 4g.
Sent from my Galaxy Nexus using xda premium
Yes I type that command and it comes back with (my device id) : offline
Could it be my usb cable?
Sent from my Galaxy Nexus using Tapatalk
I'm gong to explain this once more because realized I missed saying something. When I type a command in terminal it works. I can type ./adb devices and it will show my device. The problem comes when I type say ./adb pull. Instead of pulling what I asked, it says "error device offline." Has anyone experienced this?
Sent from my Galaxy Nexus using Tapatalk
patalo said:
I'm gong to explain this once more because realized I missed saying something. When I type a command in terminal it works. I can type ./adb devices and it will show my device. The problem comes when I type say ./adb pull. Instead of pulling what I asked, it says "error device offline." Has anyone experienced this?
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
OK so what exactly are you trying to pull? I thought u said u wanted to rooted so u can then install the tablet mod?
Sent from my Galaxy Nexus using xda premium
I'm going to root and pull framework-res.apk so I can edit books.XML to rid of the nav bar. I like to do things myself if I can figure them out haha. But I'm stumped :/
Sent from my Galaxy Nexus using Tapatalk
Anyone have more ideas or questions?
Sent from my Galaxy Nexus using Tapatalk
patalo said:
Phone is offline when booted, but also did not work in recovery mode which is what i want.
Click to expand...
Click to collapse
ADB won't work in recovery...can you see it in recovery with Fastboot?
Yes, the device is recognized In recovery, fastboot, and regularly booted. I just cannot issue a command. Anything I type for example ( ./adb pull /system/framework/framework-res.apk) it tells me cannot issue command, device offline. Hopefully that makes sense!
Sent from my Galaxy Nexus using Tapatalk
You can't/don't have to be in recovery to use ADB... you need your phone on! Fast boot commands = recovery, ADB commands = phone in android.
Sent from my Galaxy Nexus using Tapatalk
I know this. I'm saying any command, adb or fastboot. Returns the same response "phone offline" in every state. Last night when I used adb my phone was on in android, but returned the same error "phone offline, cannot execute command.) even when I type adb devices it shows my phone as plugged in but next to it it shows my phone is offline. How do I make the phone online? The phone was on the homescreen with adb debugging on. I cannot issue any other command when my phone is offline.
Sent from my Galaxy Nexus using Tapatalk
I want everyone reading this to know that I know when to use adb and fastboot. My problem is I cannot use them because my Mac terminal says my device is offline. I read on Google it should be online, but have yet to find a way to make it online. That is my question
Sent from my Galaxy Nexus using Tapatalk
That sounds like a driver issue...I'm horribly unfamiliar with Macs, but you can try uninstall and re-install of the drivers?
This help?
http://www.droidrzr.com/index.php/t...s-my-device-is-either-not-connect-or-offline/
Okay well I thought that worked but I have a galxy nexus so I don't have safestrap
Sent from my Galaxy Nexus using Tapatalk
I used this tutorial to get adb and fastboot working on my Mac and everything works fine for me. Hopefully it helps you out.
http://blog.wapnet.nl/2011/05/setup-adb-and-fastboot-with-android-sdk-on-mac-osx/
anton2009 said:
You can't/don't have to be in recovery to use ADB... you need your phone on! Fast boot commands = recovery, ADB commands = phone in android.
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Please don't post wrong information. You can use adb in either recovery or in the OS. Fastboot commands can only be used when booted into fastboot mode (i.e., the bootloader), not in recovery.
Sent from my Galaxy Nexus using Tapatalk
And now for some reason it is working. thank you to everyone that helped! Love ya XDA
Related
Hello every body!
I want to transfer data vida unix terminal (console) in this case, via mac os x...
my macbook recognize my galaxy nexus via flashboot but not via adb
do you have an idea??
thanks a lot in advance!!
Your phone is in fastboot mode, so of course adb commands don't work
Sent from my Galaxy Nexus using XDA App
jstegeman said:
Your phone is in fastboot mode, so of course adb commands don't work
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
Thanks a lot!
you're right!
in recovery mode works!
How do you transfer files from Ubuntu to the Verizon galaxy nexus?
Sent from my Galaxy Nexus using XDA
rolltide1995 said:
How do you transfer files from Ubuntu to the Verizon galaxy nexus?
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
Use ADB, MTP sucks on Linux.
Could try some type of wifi transfer app too. Like AirDroid.
Sent from my Galaxy Nexus using xda premium
thracemerin said:
Use ADB, MTP sucks on Linux.
Click to expand...
Click to collapse
How do u use adb to transfer files?
Sent from my Galaxy Nexus using XDA
rolltide1995 said:
How do u use adb to transfer files?
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
Setup ADB and connect the phone w/ USB debugging turned on.
Use "adb push" and "adb pull" to take/send files to your device. For example:
Code:
adb push <file> /sdcard/
martonikaj said:
Setup ADB and connect the phone w/ USB debugging turned on.
Use "adb push" and "adb pull" to take/send files to your device. For example:
Code:
adb push <file> /sdcard/
Click to expand...
Click to collapse
How do I set up adb. I have adb-linux from a root kit but I have never did anything with it.
Sent from my Galaxy Nexus using XDA
I wrote a tutorial how to connect and setup adb and such with Ubuntu for the Galaxy Nexus. Take a look at it -- its not as intimidating as it seems. Just read the tutorial like 3 times and then it will all come clear:
http://ubuntuforums.org/showthread.php?t=1918512
So I screwed up, wasn't paying attention and wiped everything including the internal sd card. Now I'm stuck in recovery with no rom to flash. I tried mounting usb storage in recovery but nothing happens. My computer dings when I plug the phone in but it doesn't show up, then I press mount and nothing happens. Any ideas?
Sent from my SCH-I535 using Tapatalk 2
Guide in my signature.
Post one for ADB.
Post three for pushing a ROM.zip to your phone.
You can use ADB to push a ROM .zip to the internal storage while in the recovery.
Ok awesome, thanks guys. For a minute I was thinking I might be screwed since I couldn't mount.
Sent from my SCH-I535 using Tapatalk 2
ajk511 said:
Ok awesome, thanks guys. For a minute I was thinking I might be screwed since I couldn't mount.
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
ADB and fastboot can usually save your ass.
Ok, downloaded latest drivers, reinstalled ADB using the ADB for dummies app. copied rom to platform tools, held shift and right clicked inside the platform tools folder, clicked "open command window here".
In the command window I have after trying to push looks like this:
C:\android-sdk-windows\platform-tools>adb push milestone4.zip /sdcard/
error: device not found
C:\android-sdk-windows\platform-tools>
Any idea how to get my device to be found?
ajk511 said:
Ok, downloaded latest drivers, reinstalled ADB using the ADB for dummies app. copied rom to platform tools, held shift and right clicked inside the platform tools folder, clicked "open command window here".
In the command window I have after trying to push looks like this:
C:\android-sdk-windows\platform-tools>adb push milestone4.zip /sdcard/
error: device not found
C:\android-sdk-windows\platform-tools>
Any idea how to get my device to be found?
Click to expand...
Click to collapse
You have your phone connected and booted into recovery? Then you need to install the adb driver. Use the naked driver mentioned in the 101 & faq (link is in my signature).
Sent from my Galaxy Nexus using Tapatalk 2
Petrovski80 said:
You have your phone connected and booted into recovery? Then you need to install the adb driver. Use the naked driver mentioned in the 101 & faq (link is in my signature).
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Still not getting anything.
ajk511 said:
Still not getting anything.
Click to expand...
Click to collapse
Open the device manager before plugging in your phone. Plug in your phone watch for newly listed devices. You should see your phone be added to the list.
Petrovski80 said:
Open the device manager before plugging in your phone. Plug in your phone watch for newly listed devices. You should see your phone be added to the list.
Click to expand...
Click to collapse
Got it going now, in installed in device manager and reinstalled. Thanks for all the help man.
Sent from my SCH-I535 using Tapatalk 2
I have always been able to get ADB working over USB in Clockwork Recovery. Recently I tried out TWRP as an alternative, and I really like it, but I couldn't get ADB to work. Is that just not available in TWRP, or are there other drivers I need to install? Or is there an option I need to enable?
Sent from my Galaxy Nexus using Tapatalk 2
cmstlist said:
I have always been able to get ADB working over USB in Clockwork Recovery. Recently I tried out TWRP as an alternative, and I really like it, but I couldn't get ADB to work. Is that just not available in TWRP, or are there other drivers I need to install? Or is there an option I need to enable?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
It should work... What driver are you using?
Mount /data?
Make sure your pushing to /data/media?
Is adb not working period like adb devices returns nothing or it won't push?
Sent from my Galaxy Nexus
Also could you do adb devices? This will show if the adb detects your phone or not. If you see a serial number, then the adb recognizes your phone and you're doing something wrong ( such as wrong command or won't directory)
Swyped on my Galaxy Nexus running AOKP with Franco Kernel
ADB devices works when booted into the OS, and works from CWM. I get nothing listed under ADB devices when in TWRP.
I'm using whatever drivers I installed when I first bought my GNex.
It's TWRP v 2.3.1.0, installed from the Goo Manager app.
EDIT: Odd, I unplugged/replugged the phone and now it does show up in recovery. Maybe it doesn't click in if I reboot with the phone attached.
Let me further amend... it does not appear on adb devices until I open up Windows Device Manager and tell it to scan for hardware changes. Then after about a minute the phone appears in adb devices.
With CWM it appears instantly in adb devices, no delay.
well, post your issue in TWRP [email protected] section
bk201doesntexist said:
well, post your issue in TWRP [email protected] section
Click to expand...
Click to collapse
Where is that thread? I'm also facing the same issue in my ZTE V970M...
Nevermind, sorry for the necroposting. I solved it by installing ZTE Composite ADB Device in the C:\Program Files\ZTE <whatever>\Driver\amd64 folder. Using Win8 x64 btw.
i have an e4gt screen cracked and i need to get internal sd card data. i have done several searches and have come across ADB pull but not clear on how to perform this. i am rooted w stock 4.1 using whatever recovery came with the stock+rooted ROM. (SPH-D710_GB27_1014481_Rooted_Nodata.tar.md5 from Rwilco12's Android Repository). If I could just remember the exact steps to mount usb from recovery i would be good lol... any suggestions would be greatly appreciated!
Ive the same problem if someone would help.
Sent from my GT-I9300 using xda premium
No need. Just power up your device and connect to your pc. It will connect using mtp and allow you to access your files that way (as long as you hadn't deactivated it prior to cracking your screen.)
Sent from my SPH-D710 using Tapatalk 2
There's a way to get your screen to pc...
Sent from my GT-I9300 using xda premium
hlxanthus said:
No need. Just power up your device and connect to your pc. It will connect using mtp and allow you to access your files that way (as long as you hadn't deactivated it prior to cracking your screen.)
Sent from my SPH-D710 using Tapatalk 2
Click to expand...
Click to collapse
i have done that and i get a box that says "there was a problem installing this MTP device." then another box says MTP was not installed correctly. Well i do have the Samsung drivers installed. Even installed a fresh copy direct from samsung support. Maybe something to do with my screen being locked with pin? Just got the Galaxy4 cant wait to get my data back...lol
Okay, assuming you already have android SDK set up and working ( you get adb this way), flash a recovery. I would likely use the direct boot for simplicity.
http://www.rwilco12.com/downloads.p...overy Kernels/GB/Noobnl Direct Boot/One-Click
That is for the one click version of the direct boot kernel/recovery. It is gingerbread based, but that shouldn't matter if it will boot the ROM later a due to kernel mismatch due to the broken screen lol.
Give it some time too verify you are in the recovery. Now the magic. Find where your adb is at, usually within android/platform_tools if memory serves. You can do a system search for adb and it should pop up. Move to that location. Make a note of the exact path to that location. Now open a command prompt (search for cmd.exe). You then need to switch to the location of your adb. It should be something like the "cd c:/path/to/adb" (no quotes) where you fill in the path you noted earlier. Once there, give this a go. Type "adb devices" (again no quotes) and if you get a string of numbers that means you have adb access!!! Then you can just type "adb pull /sdcard/" and that will drop the contents of your internal storage into the folder holding your adb files (kind of a mess but it is the easiest way to do it). If you would rather it be dropped in a location of your choosing, use this "adb pull /sdcard/ /path/to/desired/location/" and note there is a space between /sdcard/ and your path to desired location.
I am not expert at this, but let me know if you get stuck somewhere in this and I will try to help.
Sent from my Nexus 7 using Tapatalk 2
Hi thanks for the detailed response. i will need to make some time to go through these steps lol however i will update!