Search code examples
androideclipseubuntuadb

Android, Setup my Fairphone (FP1) for development, (?????? no permission)


I am running Eclipse v4.3.1 on Ubuntu 12.10.

I just received my Fairphone and wanted to start some simple and basic development (I am not an experienced Android developer).

For whatever reasons, adb did not recognise the FP1.

I then found the following workaround.

Enter the following commands:

adb kill-server
sudo adb start-server 
adb devices

After that, the FP1 did appear in the list of devices. But, I don't understand why I had to do that. With the Samsung Galaxy S Plus phone (stock rom and custom rom) I had before, I never had to run the adb server as root. I assume running the adb server as root is only a workaround.

Does anybody know what could be real problem? And the proper solution?


Solution

  • To connect to fairphone, as well as any other device just go to settings -> developper -> Turn on USB Debugging.

    On linux you need to add to your 51.android-rules file, the USB driver for the device: ATTR{idVendor}=="109b", ENV{adb_user}="yes"

    its the same as the HTC USB property

    You can also mess with the Fairphone OS, Peace of Mind, just download from the official GIT.

    By the way, I was the lead developer for Fairphone during the last 8 months, great adventure, thanks for being one of the initial buyers.