Android ADB No Permissions Fix (Ubuntu)

The Problem

You connected your device (phone, tablet ..etc ) to your computer via USB to use Android Debugging Bridge (ADB) – to run apps on your device from your computer or a lot of other stuff that you can do using ADB, for more see this – . However, your phone is appearing as “????????????     no permissions”

The Fix (2 solutions)

The Simple Solution (Easy & Not Permanent)

  1. Open Terminal (Shortcut: Ctrl+Alt+T)
  2. Change directory to the Android SDK Tool directory (e.g. /home/mzaher/Downloads/android-sdk-linux_x86/platform-tools)
    1. cd /<your android sdk tools directory location>/android-sdk-linux_x86/platform-tools
  3. Switch to root user and type the root password when asked to.
    1. su
  4. Kill ADB server
    1. ./adb kill-server
  5. Start ADB Server again (note: this time will be running as root)
    1. ./adb start-server
  6. Exit root session
    1. exit
  7. Test if the device is shown normally, you shoudn’t see the “????????????     no permissions”
    1. ./adb devices
  8. After every reboot you will need to re-do the past steps OR follow the solution below for a permanent fix.

The Hard Solution (Hard & Permanent)

Stay tuned

Advertisements

How to use SVN with Google code

For a more updated version of this blog post go to my new Blog http://blog.m-zaher.com/2011/10/how-to-use-svn-with-google-code/

1. Download TortoiseSVN

http://tortoisesvn.net/downloads

2. Installing  TortoiseSVN and restart your computer.

3. To get your GoogleCode.com password go to:

http://code.google.com/hosting/settings

svn3

4.You should now see this new items below if you press right-click on any empty place in the explorer or on any folder

svn1

5. Create a New Folder to hold all your files that you will work on.

6. Right-click on this folder and choose “SVN Checkout…”.

Read more of this post