INSTALLING COMMAND LINE ABC TOOLS ON ANDROID -------------------------------------------- This is only tested on Linux; the procedure for Windows or OSX should be very similar. You will need some software and a bit of hacking. Minimal requirements: - a stock, non-rooted Android device. Tested with 4.0.4 and 4.1.1. Unless you want to go blind, a reasonably sized tablet is preferable. - Android Terminal Emulator: https://github.com/jackpal/Android-Terminal-Emulator/wiki - ADB Bundle for Linux: http://developer.android.com/sdk/index.html - ABC Tools for ARM Android, http://abcplus.sourceforge.net/#abctools - (highly recommended) Hacker's Keyboard: http://code.google.com/p/hackerskeyboard/ How to install: 1. install Terminal Emulator (and Hacker's Keyboard, if you wish) on your Android device. 2. install the ADB Bundle on your Linux machine. On Debian and other Debian-based distributions, a package is available and can be installed with: # apt-get install android-tools-adb 3. open a terminal on the Linux machine. 4. unpack the abctools-arm-android.zip file and cd to its folder: ~$ unzip abctools-arm-android.zip Archive: abctools-arm-android.zip creating: abctools-arm-android/ inflating: abctools-arm-android/abcm2ps-6.6.22 inflating: abctools-arm-android/abcm2ps-7.8.14 inflating: abctools-arm-android/README.txt inflating: abctools-arm-android/INSTALL.txt inflating: abctools-arm-android/abc2abc inflating: abctools-arm-android/abc2midi inflating: abctools-arm-android/abcmatch inflating: abctools-arm-android/mftext inflating: abctools-arm-android/midi2abc inflating: abctools-arm-android/midicopy inflating: abctools-arm-android/yaps ~$ cd abctools-arm-android/ /home/guido/abctools-arm-android ~/abctools-arm-android$ _ 5. connect your Android device to your PC using a usb cable, and enable USB debugging (Settings/Developer Options/USB debugging). 6. make sure that adb sees your device: ~/abctools-arm-android$ adb devices * daemon not running. starting it now on port 5037 * * daemon started successfully * List of devices attached 245a16e41fe71a95427cc4e65d36cc9f device ~/abctools-arm-android$ _ 7. run the following command to copy the files to /data/local/tmp/, which is a writeable directory in the Android filesystem: ~/abctools-arm-android$ for FILE in $(\ls); do > adb push $FILE /data/local/tmp/ > done 5824 KB/s (542028 bytes in 0.090s) 5973 KB/s (673608 bytes in 0.110s) 5339 KB/s (960916 bytes in 0.175s) 5883 KB/s (979828 bytes in 0.162s) 5693 KB/s (550028 bytes in 0.094s) 22 KB/s (959 bytes in 0.040s) 5647 KB/s (512580 bytes in 0.088s) 5743 KB/s (545364 bytes in 0.092s) 5850 KB/s (516684 bytes in 0.086s) 2 KB/s (108 bytes in 0.040s) 5959 KB/s (744148 bytes in 0.121s) ~/abctools-arm-android$ _ 8. make the files executable and delete the .txt files: ~/abctools-arm-android$ adb shell shell@android:/ $ cd /data/local/tmp shell@android:/data/local/tmp $ rm *txt shell@android:/data/local/tmp $ chmod 755 * shell@android:/data/local/tmp $ ls abc2abc abc2midi abcm2ps-6.6.22 abcm2ps-7.8.14 abcmatch mftext midi2abc midicopy yaps shell@android:/data/local/tmp $ exit ~/abctools-arm-android$ _ 9. on the Android device, start Terminal Emulator. From the Settings menu, change the 'Initial command' to: export PATH=/data/local/tmp:$PATH 10. restart Terminal Emulator and type 'abc2midi'. If you see its output, you're done! -- Brought to you by Guido Gonzato, PhD.