This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x Start Kit to connect Android Phone

Dear All,

I plan to use AM335x Start Kit to connect Android Phone.

I download the ARM adb binary. Executing adb and have message No Such file or directory.

Can anyone send me the idea about how to use AM335x Start Kit in linux platform to connect Android Phone?

Thanks very much!

  • Hi Dennis,

    I suppose you are using the adb binary from the forum post I suggested here.

    Where did you put the binary inside your StarterKit device? It needs to be inside a folder which is included in $PATH.

    How are you trying to execute it? It seems like you are trying to execute it from a non-existent place in your file system.

    Please answer these questions and also post the output of these commands:

    echo $PATH

    which adb

    Best regards,
    Miroslav

  • Hi Miroslav,

    I place adb at /usr/bin/adb.

    Searching from internet, it states that No such file or directory is due to adb cannot find ia32.lib.

    Can you send me the adb can run standalone with the need of ia32.lib

    BR
    Dennis 

  • Hi Dennis,

    I just downloaded the adb binary from this link here and copied it to the root file system of my SD card. I'm using the Sitara AM335x EVM board with the pre-built LINUX binaries from the TI SDK. Here are the steps I did later (inside the EVM):

    am335x-evm login: root
    root@am335x-evm:~# cd /
    root@am335x-evm:/# chmod +x ./adb #(make adb executable)
    root@am335x-evm:/# mkdir /home/root/.android
    root@am335x-evm:/# touch /home/root/.android/adb_usb.ini
    root@am335x-evm:/# lsusb
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 003: ID 18d1:4e22 Google Inc. Nexus S (debug) #(The Android device should be in USB debugging mode)
    root@am335x-evm:/# vi /home/root/.android/adb_usb.ini #(add this to the file: 0x18d1 (the device ID from "lsusb" command))
    root@am335x-evm:/# ./adb root
    root@am335x-evm:/# ./adb devices
    List of devices attached
    3833**************    offline

    The device is detected, but is shown as offline, because my Android version is 4.2.2 and this requires the new SDK platform-tools, which means that the adb binary for the Sitara should be recompiled. If you are going to connect a device with a previous Android version, then you should have no problems.

    Best regards,
    Miroslav

  • Hi Miroslav,

    Many thanks for your full and detail usage about adb.

    Follow your instruction, now I can find my phone 4C54************* device on AM335x start kit

    It is my first time to use AM335x and I hope I can catch a.s.a.p

    BR

    Dennis