Backflip How-To:ADB in linux

This is a discussion on Backflip How-To:ADB in linux within the Motorola Backflip Development & Hacking forums, part of the Motorola Backflip category; The first thing to do is download android sdk from http://developer.android.com/sdk/index.html and extract it to wherever you want then log in as root and create ...

Results 1 to 10 of 10

Thread: Backflip How-To:ADB in linux

  1. #1
    Moderator SSeymour's Avatar
    Join Date
    Mar 2010
    Posts
    97

    Backflip How-To:ADB in linux

    The first thing to do is download android sdk from http://developer.android.com/sdk/index.html and extract it to wherever you want then log in as root and create a new plain text document in
    Code:
    /etc/udev/rules.d
    and name it
    Code:
    51-android.rules
    In the text document type:

    Code:
    SUBSYSTEM=="usb",SYSFS{idVendor}=="22b8",MODE="0666"
    and save it to that directory.Then open Terminal and execute
    Code:
    chmod a+r /etc/udev/rules.d/51-android.rules
    Restart the computer and go to the adb directory and execute
    Code:
    ./adb devices
    If the device ID shows instead of the question marks you should be ready to execute any adb commands.ENJOY!

    (Dont forget to enable USB debugging on you're phone!)

  2. # ADS
    Ads
    Google Advertisement
    Join Date
    Always
    Posts
    Many
    Android.net is the premier Android Forum on the internet.


  3. #2
    Senior Member jmgib's Avatar
    Join Date
    Mar 2010
    Location
    Kentucky
    Posts
    1,350
    Good job. I probably should have posted that when I found them after getting my phone. I did post a link on the FedoraForums. Didn't think to post it here.

    If you're using Linux, you may also be interested in looking at this and this. This link also gives some of the supported format for Banshee. Pretty sure it will work on Rhythmbox and such also.

    Gives the steps to add a .is_audio_player to the phone's storage to make it auto-detect to music player (such as Rhythmbox or Banshee) in Linux so that you can sync your music library with the phone ala iTunes style.

  4. #3
    Junior Member martindiv's Avatar
    Join Date
    Jun 2010
    Posts
    9
    Out of curiosity:

    Why do you restart the system?

  5. #4
    Senior Member jmgib's Avatar
    Join Date
    Mar 2010
    Location
    Kentucky
    Posts
    1,350
    I'm guessing so that Udev will read the new rule. Not sure if it's actually necessary, but I'm sure it doesn't hurt.

  6. #5
    Junior Member martindiv's Avatar
    Join Date
    Jun 2010
    Posts
    9
    When I added this rule, I caught the following in my logs:
    Code:
    [udevd] SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/51-android.rules:1
    Some Googling turned up that the line in /etc/udev/rules.d/51-android.rules should read:
    Code:
    SUBSYSTEM=="usb",ATTR{idVendor}=="22b8",MODE="0666"
    For reference:
    Code:
    Belgarath ~ # emerge --search udev
    Searching...    
    [ Results for search key : udev ]
    [ Applications found : 3 ]
    
    [ . . . ]
    
    *  sys-fs/udev
          Latest version available: 160
          Latest version installed: 160
          Size of files: 663 kB
          Homepage:      http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
          Description:   Linux dynamic and persistent device naming support (aka userspace devfs)
          License:       GPL-2
    
    Belgarath ~ # uname -a
    Linux Belgarath 2.6.31-gentoo-r6 #2 SMP PREEMPT Tue Nov 24 16:54:16 EST 2009 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ AuthenticAMD GNU/Linux

  7. #6
    Moderator SSeymour's Avatar
    Join Date
    Mar 2010
    Posts
    97
    May I ask what version of Linux I have ubuntu 10.04
    CURRENT
    HTC Aria-Rooted
    Motorola Backflip Bricked getting replacement =(

    FORMER
    HTC Touch Pro (Fuze)
    LG Incite-Returned.
    ATT Tilt Broken charger port.

  8. #7
    Junior Member martindiv's Avatar
    Join Date
    Jun 2010
    Posts
    9
    It's Gentoo.

  9. #8
    Junior Member mojohn's Avatar
    Join Date
    Apr 2010
    Location
    Missouri USA
    Posts
    28
    SSeymour, I'm running Ubuntu 10.04. I followed your how to, but when I attempt to run .adb devices, I get the following error:


    john@john-desktop:~/android-sdk-linux_86/tools$ .adb devices
    .adb: command not found
    john@john-desktop:~/android-sdk-linux_86/tools$ adb devices
    No command 'adb' found, did you mean:
    Command 'cdb' from package 'tinycdb' (main)
    Command 'gdb' from package 'gdb' (main)
    Command 'aub' from package 'aub' (universe)
    Command 'dab' from package 'bsdgames' (universe)
    Command 'zdb' from package 'zfs-fuse' (universe)
    Command 'mdb' from package 'mono-debugger' (universe)
    Command 'tdb' from package 'tads2-dev' (multiverse)
    Command 'pdb' from package 'python' (main)
    Command 'jdb' from package 'openjdk-6-jdk' (main)
    Command 'ab' from package 'apache2-utils' (main)
    adb: command not found

    Any guidance?

    Thanks, mojohn

  10. #9
    Junior Member martindiv's Avatar
    Join Date
    Jun 2010
    Posts
    9
    It's ./adb (dot slash a d b) not .adb. Minor difference but an important one.

  11. #10
    Junior Member mojohn's Avatar
    Join Date
    Apr 2010
    Location
    Missouri USA
    Posts
    28
    Thank you martindiv. I'll try it tonight.

Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search tags for this page

adb command not found in linux
,

adb command not found linux

,

adb for linux

,
adb gentoo
,

adb linux

,
gentoo adb
,

linux adb

,

linux adb command not found

,
linux adb commands
,
linux adb package
,

linux on motorola backflip

,

motorola adb linux

,

motorola backflip linux

,
no command adb found
,

no command adb found, did you mean:

Click on a term to search our sites for related topics.
Android Forum