Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,742,223 Members 52,387 Now Online
XDA Developers Android and Mobile Development Forum

[Q] adb device offline

Tip us?
 
lingd
Old
(Last edited by lingd; 5th March 2013 at 06:21 PM.) Reason: probable answer
#1  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Mar 2011
Prompt [Q] adb device offline

After flashing recent Infuse 4.2.2 ROMS, if I connect my PC via USB, then:
adb device

I get the error:
0123456789ABCDEF offline

I have to go back to flash: cm-10.1-20130114-UNOFFICIAL-infuse4g.zip, and then I do not experience the offline problem? Can someone offer direction on how to resolve this? I have enabled "developer options".

I have definitely had the device offline problem with ROMs:
cm-10.1-20130215-UNOFFICIAL-infuse4g.zip
cm-10.1-20130302-UNOFFICIAL-infuse4g.zip
pa_infuse4g-3.10-04MAR2013-202019.zip
AvatarROM-v3.0-JB-INFUSE4g.zip

I'm not sure about ROM:
cm-10.1-20130203-UNOFFICIAL-infuse4g.zip
as I experienced the status bar/notification issue (http://forum.xda-developers.com/show...r#post38668253), which may have been resolved by either of the above, subsequent ROM releases.

I have searched the Infuse "General" and "Q&A" forums, but was unable to find mention of the problem. I apologize if I missed any posts already discussing this.

Thank you for your time. It is appreciated.

Thank you, scott.hart.bti, for your work.:good

***************************
Update
***************************

Oh, this looks like a probable solution/explanation. I will have to re-try the process.

http://forum.xda-developers.com/show....php?t=2147483
 
lingd
Old
#2  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Mar 2011
Quote:
Originally Posted by lingd View Post
After flashing recent Infuse 4.2.2 ROMS, if I connect my PC via USB, then:
adb device

I get the error:
0123456789ABCDEF offline

I have to go back to flash: cm-10.1-20130114-UNOFFICIAL-infuse4g.zip, and then I do not experience the offline problem? Can someone offer direction on how to resolve this? I have enabled "developer options".

I have definitely had the device offline problem with ROMs:
cm-10.1-20130215-UNOFFICIAL-infuse4g.zip
cm-10.1-20130302-UNOFFICIAL-infuse4g.zip
pa_infuse4g-3.10-04MAR2013-202019.zip
AvatarROM-v3.0-JB-INFUSE4g.zip

I'm not sure about ROM:
cm-10.1-20130203-UNOFFICIAL-infuse4g.zip
as I experienced the status bar/notification issue (http://forum.xda-developers.com/show...r#post38668253), which may have been resolved by either of the above, subsequent ROM releases.

I have searched the Infuse "General" and "Q&A" forums, but was unable to find mention of the problem. I apologize if I missed any posts already discussing this.

Thank you for your time. It is appreciated.

Thank you, scott.hart.bti, for your work.:good

***************************
Update
***************************

Oh, this looks like a probable solution/explanation. I will have to re-try the process.

http://forum.xda-developers.com/show....php?t=2147483
Still no good . I have the latest version of ADB installed (1.0.31), per:
http://developer.android.com/tools/help/adb.html


Some in the Development thread mentioned missing RSA keys from:
/data/misc/adb/adb_keys
I'm guessing I'll need to find my PC pub key. If so, I'd need to downgrade my ROM so I can connect to my PC to transfer.

Thanks.
 
lingd
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Mar 2011
Quote:
Originally Posted by lingd View Post
Still no good . I have the latest version of ADB installed (1.0.31), per:
http://developer.android.com/tools/help/adb.html


Some in the Development thread mentioned missing RSA keys from:
/data/misc/adb/adb_keys
I'm guessing I'll need to find my PC pub key. If so, I'd need to downgrade my ROM so I can connect to my PC to transfer.

Thanks.
Above blurb is from:
http://forum.xda-developers.com/show...e#post38332119
"Don't know if anyone had the same trouble, but to enable ADB over Wifi (had a adb devices offline tag without this) i had to manually put my RSA key into /data/misc/adb/adb_keys on the android terminal emulator. Hope anyone can save some time and googling by finding this." Thanks johnvillar.

So, I attempted to copy Windows RSA key from (https://code.google.com/p/android/is...etail?id=49465)
%USERPROFILE%\.android

to /data/misc/adb/adb_keys (mentioned above) on my Samsung Infuse.

I believe "adbkey" is the private key. I believe "adbkey.pub" is the public key. I.e.
cd %USERPROFILE%\.android
adb push adbkey.pub /data/misc/adb/adb_keys

"permission denied"

Too bad, Android 4.2.2 at this point is unattainable.
 
joel.maxuel
Old
#4  
joel.maxuel's Avatar
Senior Member
Thanks Meter 22
Posts: 149
Join Date: Feb 2014
Location: Halifax
Default Same Problem Here

Quote:
Originally Posted by lingd View Post
Above blurb is from:
http://forum.xda-developers.com/show...e#post38332119
"Don't know if anyone had the same trouble, but to enable ADB over Wifi (had a adb devices offline tag without this) i had to manually put my RSA key into /data/misc/adb/adb_keys on the android terminal emulator. Hope anyone can save some time and googling by finding this." Thanks johnvillar.

So, I attempted to copy Windows RSA key from (https://code.google.com/p/android/is...etail?id=49465)
%USERPROFILE%\.android

to /data/misc/adb/adb_keys (mentioned above) on my Samsung Infuse.

I believe "adbkey" is the private key. I believe "adbkey.pub" is the public key. I.e.
cd %USERPROFILE%\.android
adb push adbkey.pub /data/misc/adb/adb_keys

"permission denied"

Too bad, Android 4.2.2 at this point is unattainable.
I am late to the party, but I am encountering the same problem with my Infuse 4G. Using ADB 1.0.31, CM 10.1 (unofficial). I've tried different computers (Debian Wheezy, Windows XP in VM, WInXP outside VM), USB connect, Wifi connect (I did turn on Android debugging in Developer options), even restarted the adbd service, to no avail. Did you ever get the problem figured out?

This is low priority for me, as I don't need to use ADB for this phone, (was really prepping myslef for ADB use with another phone) but it is an annoyance at that. Thanks for any insight.

--
Joel Maxuel
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes