[Q] adb device offline

Search This thread

lingd

Member
Mar 9, 2011
6
0
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?:confused: 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://xdaforums.com/showthread.php?p=38668253&highlight=status+bar#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.:angel:

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://xdaforums.com/showthread.php?t=2147483
 
Last edited:

lingd

Member
Mar 9, 2011
6
0
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?:confused: 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://xdaforums.com/showthread.php?p=38668253&highlight=status+bar#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.:angel:

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://xdaforums.com/showthread.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

Member
Mar 9, 2011
6
0
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://xdaforums.com/showthread.php?p=38332119&highlight=offline#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/issues/detail?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" :mad:

Too bad, Android 4.2.2 at this point is unattainable.
 

OfficerJimLahey

Retired Forum Moderator
Feb 12, 2014
2,716
1,306
Sunnyvale
www.chebucto.ns.ca
Same Problem Here

Above blurb is from:
http://xdaforums.com/showthread.php?p=38332119&highlight=offline#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/issues/detail?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" :mad:

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