Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
oldblue910
Old
(Last edited by oldblue910; 13th February 2013 at 09:07 PM.)
#1  
oldblue910's Avatar
Recognized Contributor - OP
Thanks Meter 1355
Posts: 1,954
Join Date: Jan 2011
Location: Durham, NC

 
DONATE TO ME
Default New Security Features for ADB in 4.2.2

After upgrading to 4.2.2, some N10 will not be seen by any computer via USB and the only way to remedy it is to shut off USB debugging. On other devices, the computer will see the N10 even if USB debugging is enabled, but running "adb devices" will show the device as offline. This is a problem with the Nexus 7 as well.

UPDATE: Looks like this is a security feature. You will need to update to the latest version of adb if you want to keep using it with 4.2.2.

Sent from my Nexus 7 using Tapatalk HD

Daily Drivers:
Samsung Galaxy Nexus (SCH-I515/Verizon) :: mysid 4.2.2/JDQ39 :: Radio I515.FK01 (CDMA) / I515.FK02 (LTE) :: Bootloader PRIMELC03
Motorola Xoom (MZ602/Verizon) :: trygon 4.0.4/IMM76L :: Radio 03.1A.65P (CDMA) / 07.1F.00 (LTE) :: Bootloader 1050

Toys:
LG Nexus 4 (LGE960/AT&T) :: occam 4.2.2/JDQ39 :: Radio 2.0.1700.48 :: Bootloader MAKOZ10O
Asus Nexus 7 (ME370T) :: nakasi 4.2.2/JDQ39 :: Bootloader 4.18
Samsung Nexus 10 (GT-P8110) :: mantaray 4.2.2/JDQ39 :: Bootloader MANTALJ12

OTAs and factory images, past and present, for every Nexus and "Google Experience" device since the HTC Magic at http://www.randomphantasmagoria.com/firmware
 
alteredlikeness
Old
#2  
alteredlikeness's Avatar
Recognized Contributor
Thanks Meter 2052
Posts: 1,613
Join Date: Mar 2012
Location: reflecting on Indra's net

 
DONATE TO ME
Default Re: Warning: 4.2.2 Breaks ADB and USB Debugging

adb works fine for me.
Actually, at first it did show up as "offline" but still worked fine. Then I toggled the adb setting, now it shows up as "device", and still works fine.

I had just finished sideloading, then I see this post - you had me going for a second there..

Sent from my Nexus 10 using xda app-developers app
Quote:
Originally Posted by doseone/themselves View Post
Code:
watch your hand, the motorized lifestyle likes to bite and grind
A2 Edison | N10 Manta

/-\ |_ T F |2 F |)
 
noname580
Old
#3  
Junior Member
Thanks Meter 0
Posts: 25
Join Date: Jun 2010
Location: 33312
I only had an issue with WugFresh's Toolkit because of it being "offline". With mskip's Toolkit I had no issues though it did state it was offline.
 
jonstrong
Old
#4  
jonstrong's Avatar
Senior Member
Thanks Meter 392
Posts: 1,107
Join Date: Jan 2012
Quote:
Originally Posted by noname580 View Post
I only had an issue with WugFresh's Toolkit because of it being "offline". With mskip's Toolkit I had no issues though it did state it was offline.
ADB works fine for me with 4.2.2 installed, and I can browse my GNex (toro) from my PC, drag/drop files, etc. All working just fine.
[I]Galaxy Nexus - (toro) - JB 4.2 2 JBSourcery / Rom] -or- AOKP PUB (Apophis9283 build)
Nexus 10 32GB -- AOKP PUB 4.2.2 (mrRobinson's build)
Innovate
 
pradeepcse
Old
#5  
Junior Member
Thanks Meter 2
Posts: 4
Join Date: Jan 2012
Location: Coimbatore
Thumbs up Just update your PC Android SDK to API Level 16 or latest

Android 4.2.2 brought up this limitation owing to security breach by ADB-Savy

To enable ADB on your PC, Update your Android SDK-r16 or LATEST, Update the system path for Platform tools --> Execute ADB cdevices command --> check the Device --> Tap Allow on Pop-up. Thats it!

Android Dev site comments :

"When you connect a device running Android 4.2.2 or higher to your computer, the system shows a dialog asking whether to accept an RSA key that allows debugging through this computer. This security mechanism protects user devices because it ensures that USB debugging and other adb commands cannot be executed unless you're able to unlock the device and acknowledge the dialog. This requires that you have adb version 1.0.31 (available with SDK Platform-tools r16.0.1 and higher) in order to debug on a device running Android 4.2.2 or higher."
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...