[Galaxy S II Android Development] cybernetus:
I believe this is a problem with my adb version .

ataliba@neo ~$ lib/android-sdk-linux/platform-tools/adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

error: device offline
ataliba@neo tools$ ./android update adb
adb has been updated. You must restart adb with the following commands
adb kill-server
adb start-server
ataliba@neo tools$ ../platform-tools/adb kill-server
ataliba@neo tools$ ./android update sdk --no-ui
Refresh Sources:
Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
Validate XML
Parse XML
Fetched Add-ons List successfully
Refresh Sources
Fetching URL: https://dl-ssl.google.com/android/repository/repository-7.xml
Validate XML: https://dl-ssl.google.com/android/repository/repository-7.xml
Parse XML: https://dl-ssl.google.com/android/repository/repository-7.xml
Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
Fetching URL: https://dl-ssl.google.com/android/repository/addon-6.xml
Validate XML: https://dl-ssl.google.com/android/repository/addon-6.xml
Fetching URL: https://dl-ssl.google.com/glass/gdk/addon.xml
Validate XML: https://dl-ssl.google.com/glass/gdk/addon.xml
Parse XML: https://dl-ssl.google.com/glass/gdk/addon.xml
Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
Validate XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
Parse XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
Refresh Sources:
Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
Fetching URL: https://dl-ssl.google.com/android/repository/addon-6.xml
Validate XML: https://dl-ssl.google.com/android/repository/addon-6.xml
Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
Refresh Sources:
Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
Fetching URL: https://dl-ssl.google.com/android/repository/addon-6.xml
Validate XML: https://dl-ssl.google.com/android/repository/addon-6.xml
Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
Installing Archives:
Preparing to install archives
Downloading Android SDK Platform-tools, revision 19.0.1
Installing Android SDK Platform-tools, revision 19.0.1
Stopping ADB server succeeded.
Installed Android SDK Platform-tools, revision 19.0.199%)
Downloading Android SDK Tools, revision 22.6.2
Installing Android SDK Tools, revision 22.6.2
Installed Android SDK Tools, revision 22.6.299%)
Skipping 'Glass Development Kit Preview, Android API 19, revision 8'; it depends on a missing package.
Stopping ADB server succeeded.
Starting ADB server succeeded.
Done. 2 packages installed.
ataliba@neo tools$ ../platform-tools/adb devices
bash: ../platform-tools/adb: No such file or directory
ataliba@neo tools$ cd ..
ataliba@neo android-sdk-linux$ ls
add-ons extras platforms platform-tools temp tools
cataliba@neo android-sdk-linux$ cd platform-tools/
ataliba@neo platform-tools$ ls
adb api fastboot NOTICE.txt source.properties systrace
ataliba@neo platform-tools$ ./adb devices
List of devices attached
xxxxxxxxxx	unauthorized

ataliba@neo platform-tools$ ./adb devices
List of devices attached
xxxxxxxxxx	device

ataliba@neo platform-tools$ ./adb logcat

After the update i receive an prompt on my phone

I accept and my adb is back :)