Seems some of the user unable to get the ADB working on Android 4.2.2 as the command prompt always stated that the device is offline so now I open my first thread after I found out the solution
What is ADB?
Android 4.2.2 now enforces RSA authentication via ADB and this is only supported in the latest versions of ADB.
Information from GitHub
ADB with version of 1.0.31 or later will works for Android 4.2.2
In order to use ADB :
Go to the ADB directory. Example C:\android-sdk-windows\platform-tools
To check for ADB version :
![]()
There are two ways of upgrading your ADB version
Before upgrading your ADB :
![]()
After upgraded ADB :
If your ADB is working correctly, you will see this when you plug in for the first time.
NOTE : Cyanogenmod (based) ROMs require the following setting to export kernel logs via adb: Settings >> Developer Options >> Root access >> select "Apps and ADB"
NOTE : The RSA key for the host computer is stored in directory /data/misc/adb/adb_keys
![]()
After you press the OK button, in command prompt :
NOTE : Some user reported that the ADB over network doesn't works if the option "Always allow from this computer" is not checked. So make sure you select the option if you want to use ADB over network
![]()
now you will get something like this and you are done...ENJOY ;)
What is ADB?
Android 4.2.2 now enforces RSA authentication via ADB and this is only supported in the latest versions of ADB.
Information from GitHub
ADB with version of 1.0.31 or later will works for Android 4.2.2
In order to use ADB :
Go to the ADB directory. Example C:\android-sdk-windows\platform-tools
- Shift + Right click and then click "Open command window here"
- OR use the command in command prompt
Code:cd C:\android-sdk-windows\platform-tools
Code:cd <your directory>
To check for ADB version :
Code:
adb version
There are two ways of upgrading your ADB version
- Upgrade through Android SDK Manager
- Extract the ZIP file that I attached below to the directory you want (example C:\ drive) and redirect your command prompt to the specific directory using "Shift + Right click" or by using the command in command prompt :
Code:cd <your directory>
Before upgrading your ADB :
After upgraded ADB :
If your ADB is working correctly, you will see this when you plug in for the first time.
NOTE : Cyanogenmod (based) ROMs require the following setting to export kernel logs via adb: Settings >> Developer Options >> Root access >> select "Apps and ADB"
NOTE : The RSA key for the host computer is stored in directory /data/misc/adb/adb_keys
After you press the OK button, in command prompt :
Code:
adb devices
now you will get something like this and you are done...ENJOY ;)