[Q] Error trying to copy proprietary files [Solved]

Search This thread

JDV28

Senior Member
Aug 1, 2010
645
102
Chicago
I have an HTC Glacier (MT 4G), and I'm trying to get to the point where i can compile the CM source. following this guide, Im at the step called "Copy Proprietary Files" but when I execute the command "./extract-files.sh" I get flooded with errors::

./extract-files.sh: 21: adb: not found
./extract-files.sh: 22: adb: not found
./extract-files.sh: 23: adb: not found
./extract-files.sh: 24: adb: not found
./extract-files.sh: 25: adb: not found
./extract-files.sh: 26: adb: not found
./extract-files.sh: 27: adb: not found
./extract-files.sh: 28: adb: not found
./extract-files.sh: 29: adb: not found
./extract-files.sh: 30: adb: not found
./extract-files.sh: 31: adb: not found
./extract-files.sh: 32: adb: not found
./extract-files.sh: 33: adb: not found
./extract-files.sh: 34: adb: not found
./extract-files.sh: 35: adb: not found
./extract-files.sh: 36: adb: not found
./extract-files.sh: 37: adb: not found
./extract-files.sh: 38: adb: not found
./extract-files.sh: 39: adb: not found
./extract-files.sh: 40: adb: not found
./extract-files.sh: 41: adb: not found
./extract-files.sh: 42: adb: not found
./extract-files.sh: 43: adb: not found
./extract-files.sh: 44: adb: not found
./extract-files.sh: 45: adb: not found
./extract-files.sh: 46: adb: not found
./extract-files.sh: 47: adb: not found
./extract-files.sh: 48: adb: not found
./extract-files.sh: 49: adb: not found
./extract-files.sh: 50: adb: not found
./extract-files.sh: 51: adb: not found

Any Ideas? I am using Ubuntu 10.10 (via VMware Workstation)

edit: Yes the phone shows up with ./adb devices
 
Last edited:

Gene Poole

Senior Member
Jul 15, 2010
1,700
567
Brighton IL
the ./adb implies that adb is NOT in the path. Try adding its location to your path or creating a symlink to adb in /usr/local/bin (that's what I did).
 

Gene Poole

Senior Member
Jul 15, 2010
1,700
567
Brighton IL
When you type "./adb devices" what directory are you in (try "pwd" if you don't know)? Add this directory to your global PATH environment variable (I'm not sure how to do this in Ubuntu). Otherwise, you can create a symlink: as root, "ln -s [path_to_adb] /usr/local/bin/adb" where path_to_adb is the complete path including the adb file itself (i.e. "/opt/android-sdk-linux_x86/platform-tools/adb" in my case).
 
  • Like
Reactions: JDV28

JDV28

Senior Member
Aug 1, 2010
645
102
Chicago
When you type "./adb devices" what directory are you in (try "pwd" if you don't know)? Add this directory to your global PATH environment variable (I'm not sure how to do this in Ubuntu). Otherwise, you can create a symlink: as root, "ln -s [path_to_adb] /usr/local/bin/adb" where path_to_adb is the complete path including the adb file itself (i.e. "/opt/android-sdk-linux_x86/platform-tools/adb" in my case).

Its in ~/android-sdk-linux_x86/platform-tools
when i try creating that symlink i get:
"ln: creating symbolic link 'usr/local/bin/adb': No such file or directory"
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Its in ~/android-sdk-linux_x86/platform-tools
    when i try creating that symlink i get:
    "ln: creating symbolic link 'usr/local/bin/adb': No such file or directory"

    it's: /usr/local/bin/adb

    try exactly this:
    Code:
    ln -s ~/android-sdk-linux_x86/platform-tools/adb /usr/local/bin/adb
    1
    When you type "./adb devices" what directory are you in (try "pwd" if you don't know)? Add this directory to your global PATH environment variable (I'm not sure how to do this in Ubuntu). Otherwise, you can create a symlink: as root, "ln -s [path_to_adb] /usr/local/bin/adb" where path_to_adb is the complete path including the adb file itself (i.e. "/opt/android-sdk-linux_x86/platform-tools/adb" in my case).