Android OS Forum banner
1 - 9 of 9 Posts

·
Developer
Joined
·
194 Posts
ANDADB 2.0

This is the sequel to my other installer that adds a few more features automatically. The goal of this program is to automate the installation process as much as possible for those of you that are not as familiar with Linux command-line or those that are just lazy and do not want to go through the process of installing everything again.

Installation Instructions

Download the script from Dropbox: http://db.tt/Hf4HMRKC
or Github using the following command in terminal:
git clone git://gist.github.com/1658401.git gist-1658401​

From terminal type the following commands once the script is downloaded:

Code:
<br />
chmod +x andadb.sh<br />
./andadb.sh<br />

NOTE: DO NOT USE SUDO TO RUN THE SCRIPT, IT WILL BREAK THE PATHING OF THE CODE.

Once you execute the script you will be presented withthe following menu:



There are a series of automated options to choose from; depending on the option and internet speed it could take some time to complete. Also, a bug that is caused by the long wait times is that you may have to enter your password multiple times during the download process depending on the speed of your internet connection and the sudo timeout period.

CURRENT UDEV RULES:

Code:
<br />
#Acer<br />
SUBSYSTEM==usb, SYSFS{idVendor}==0502, MODE=0666<br />
#ASUS<br />
SUBSYSTEM==usb, SYSFS{idVendor}==0b05, MODE=0666<br />
#Dell<br />
SUBSYSTEM==usb, SYSFS{idVendor}==413c, MODE=0666<br />
#Foxconn<br />
SUBSYSTEM==usb, SYSFS{idVendor}==0489, MODE=0666<br />
#Garmin-Asus<br />
SUBSYSTEM==usb, SYSFS{idVendor}==091E, MODE=0666<br />
#Google<br />
SUBSYSTEM==usb, SYSFS{idVendor}==18d1, MODE=0666<br />
#HTC<br />
SUBSYSTEM==usb, SYSFS{idVendor}==0bb4, MODE=0666<br />
#Huawei<br />
SUBSYSTEM==usb, SYSFS{idVendor}==12d1, MODE=0666<br />
#K-Touch<br />
SUBSYSTEM==usb, SYSFS{idVendor}==24e3, MODE=0666<br />
#KT Tech<br />
SUBSYSTEM==usb, SYSFS{idVendor}==2116, MODE=0666<br />
#Kyocera<br />
SUBSYSTEM==usb, SYSFS{idVendor}==0482, MODE=0666<br />
#Lenevo<br />
SUBSYSTEM==usb, SYSFS{idVendor}==17EF, MODE=0666<br />
#LG<br />
SUBSYSTEM==usb, SYSFS{idVendor}==1004, MODE=0666<br />
#Motorola<br />
SUBSYSTEM==usb, SYSFS{idVendor}==22b8, MODE=0666<br />
#NEC<br />
SUBSYSTEM==usb, SYSFS{idVendor}==0409, MODE=0666<br />
#Nook<br />
SUBSYSTEM==usb, SYSFS{idVendor}==2080, MODE=0666<br />
#Nvidia<br />
SUBSYSTEM==usb, SYSFS{idVendor}==0955, MODE=0666<br />
#OTGV<br />
SUBSYSTEM==usb, SYSFS{idVendor}==2257, MODE=0666<br />
#Pantech<br />
SUBSYSTEM==usb, SYSFS{idVendor}==10A9, MODE=0666<br />
#Philips<br />
SUBSYSTEM==usb, SYSFS{idVendor}==0471, MODE=0666<br />
#PMC-Sierra<br />
SUBSYSTEM==usb, SYSFS{idVendor}==04da, MODE=0666<br />
#Qualcomm<br />
SUBSYSTEM==usb, SYSFS{idVendor}==05c6, MODE=0666<br />
#SK Telesys<br />
SUBSYSTEM==usb, SYSFS{idVendor}==1f53, MODE=0666<br />
#Samsung<br />
SUBSYSTEM==usb, SYSFS{idVendor}==04e8, MODE=0666<br />
#Sharp<br />
SUBSYSTEM==usb, SYSFS{idVendor}==04dd, MODE=0666<br />
#Sony Ericsson<br />
SUBSYSTEM==usb, SYSFS{idVendor}==0fce, MODE=0666<br />
#Toshiba<br />
SUBSYSTEM==usb, SYSFS{idVendor}==0930, MODE=0666<br />
#ZTE<br />
SUBSYSTEM==usb, SYSFS{idVendor}==19D2, MODE=0666<br />
MAJOR SYSTEM CHANGES
  • Android ADB will function with the command "adb" from anywhere
  • Android Asset Packaging Tool (AAPT) will function with the command "aapt" from anywhere
  • APKTool will function with the command "apktool" from anywhere
  • ~/bin set to be in the users path so anything can be accessed that is placed in that folder (/user/NAME/bin)
  • Android SDK installed to /usr/local/android-sdk
  • Android NDK installed to /usr/loca/android-ndk
  • Eclipse installed
  • Python installed
  • OpenJDK installed, both java and javac are available for compiling and running java applications
  • repo (http://code.google.com/p/git-repo/) installed to /usr/local/bin/repo, accessible anywhere
  • ia32-libs installed for 64-bit systems
 

·
Premium Member
Joined
·
50 Posts
Hey Tahl, your script is frickin sweeeet and thanks to you I ended up getting ADB installed and set up no problem, I do want to let you know that it currently does not work for Ubuntu 12.04 just in case you happen to not know, I just reinstalled 11.10 so no fuss from me :) but anyway again words don't describe how much your script has helped so thank you! and when I get a few bucks its definitely going your way lol
 

·
Developer
Joined
·
194 Posts
Discussion Starter · #8 ·
Hey Tahl, your script is frickin sweeeet and thanks to you I ended up getting ADB installed and set up no problem, I do want to let you know that it currently does not work for Ubuntu 12.04 just in case you happen to not know, I just reinstalled 11.10 so no fuss from me :) but anyway again words don't describe how much your script has helped so thank you! and when I get a few bucks its definitely going your way lol
I've started working on a newer version specifically for the Galaxy Nexus that you could try: http://rootzwiki.com/topic/20849-script-ubuntu-adb-android-sdk-nautilus-right-click-to-push-mtp-support-aapt-apktool/

It'll still work for all phones, but has extra features for the Galaxy Nexus (MTP, which is less important for devices that don't need it). Also, I haven't gotten any reports yet of it not working with 12.04, so that is a plus.
 
1 - 9 of 9 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top