mastermind1024
Android Expert
I found many having difficulty in getting adb working especially in linux so created this seperate fullproof thread as tried,tested & working method to get adb working.
This method can also be used for other Android phones which are not supported by google drivers (so called third party usb vendors).Replace 0x1d91 with your device vendor id.If u don't know vendor id then ask here I will guide u how to know vendor id.
If u don't have usb drivers for your device then also ask me I will guide how u can modify google usb drivers to use with your device.
Now let's talk of Micromax A70:
WINDOWS 7:
Drivers for Micromax A70- Micromax A70 USB Driver.rar
Install JDK and Android SDK and update SDK.(google if u want to know how)
Turn on USB Debugging in phone in Settings>Applications>Development
Connect phone to PC & install drivers
Your pc may not find the drivers so go to Device Manager n Update Driver n choose location of the downloaded drivers.
Now Most important part.
Create adb_usb.ini file in C:\Users\YOUR USERNAME\.android folder and add following to the file.
0x1d91
(filename is adb_usb.ini, if u already have that file then delete it & create new one OR u can add 0x1d91 to next line without deleting anything in file.)
Save the file and exit.
OR
Download this adb_usb.ini file n place it in C:\Users\YOUR USERNAME\.android
Now open command prompt and navigate to platform-tools directory of android sdk.
Type "adb devices" without quote and hit enter.
Your Micromax A70 will show up in connected devices for sure.
No need to install 91pc suite anymore.
WINDOWS 7 64bit:
Same steps of above 32bit system but I added this to avoid Driver not signed problem at boot which forced to use F8 option to disable driver signing check.
Driver Signature Enforecement Overrider
This software will take care of this issue.How-to is also on the download page.U can download it here-
Download Driver Signature Enforcement Overrider 1.3b Free - Use this tool to easily bypass the Driver Signature Enforcement in both 32-bit and 64-bit version of Microsoft Windows Vista - Softpedia
LINUX (Ubuntu):
Install JDK and SDK. (i will provide link to install jdk 7 which i used)
JDK- How To Install Oracle Java 7 (JDK) In Ubuntu ~ Web Upd8: Ubuntu / Linux blog
SDK-
Download tar.gz package & extract it.
In terminal
cd /home/user/extracted_folder/android-sdk-linux_x86/tools
./android
Download all necessary packages by clicking on "Available packages" and checking "Android Repository". Then click on "install selected" button and another window will pop up. Check "accept all" and click on "install" button. Wait and you will have all SDK packages installed,adb too.
Then paste following in it.(I am writing code for Micromax only,there is a list of all manufactures,if u want I can give it.U can also get it using link at bottom from xda)
#Micromax
SUBSYSTEM=="usb", SYSFS{idVendor}=="1d91", MODE="0666"
Now, use following instead so u will also get fastboot working alongwith adb.
#ADB on Micromax A70
SUBSYSTEM=="usb", SYSFS{idVendor}=="1d91", MODE="0666"
#fastboot on Micromax A70
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
Save & Exit.
For ubuntu 11.04,paste this.(i m not sure of this but found in more then 2 guides)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d91" TEST=="/var/run/ConsoleKit/database", RUN+="udev-acl --action=$env{action} --device=$env{DEVNAME}"
Save & exit.
FOR UBUNTU 12
#ADB on Micromax A70
SUBSYSTEM=="usb", ATTRS{idVendor}=="1d91:0009", SYMLINK+="android_adb", MODE="0666" GROUP="plugdev"
TEST=="/var/run/ConsoleKit/database", \
RUN+="udev-acl --action=$env{action} --device=$env{DEVNAME}"
#fastboot on Micromax A70
SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1:0009", SYMLINK+="android_fastboot", MODE="0666" GROUP="plugdev"
TEST=="/var/run/ConsoleKit/database", \
RUN+="udev-acl --action=$env{action} --device=$env{DEVNAME}"
save & exit.
At the end paste this-
export PATH=${PATH}:/home/YOUR-USERNAME/android-sdk-linux_x86/platform-tools
(this may change according to your android-sdk directory)
Now the most important part, again at Terminal,
Viola!!!
Trust me,if you follow all steps properly adb will work for sure.
HIT THANKS IF IT HELPED...
This method can also be used for other Android phones which are not supported by google drivers (so called third party usb vendors).Replace 0x1d91 with your device vendor id.If u don't know vendor id then ask here I will guide u how to know vendor id.
If u don't have usb drivers for your device then also ask me I will guide how u can modify google usb drivers to use with your device.
Now let's talk of Micromax A70:
WINDOWS 7:
Drivers for Micromax A70- Micromax A70 USB Driver.rar
Install JDK and Android SDK and update SDK.(google if u want to know how)
Turn on USB Debugging in phone in Settings>Applications>Development
Connect phone to PC & install drivers
Your pc may not find the drivers so go to Device Manager n Update Driver n choose location of the downloaded drivers.
Now Most important part.
Create adb_usb.ini file in C:\Users\YOUR USERNAME\.android folder and add following to the file.
0x1d91
(filename is adb_usb.ini, if u already have that file then delete it & create new one OR u can add 0x1d91 to next line without deleting anything in file.)
Save the file and exit.
OR
Download this adb_usb.ini file n place it in C:\Users\YOUR USERNAME\.android
Now open command prompt and navigate to platform-tools directory of android sdk.
Type "adb devices" without quote and hit enter.
Your Micromax A70 will show up in connected devices for sure.
No need to install 91pc suite anymore.
WINDOWS 7 64bit:
Same steps of above 32bit system but I added this to avoid Driver not signed problem at boot which forced to use F8 option to disable driver signing check.
Driver Signature Enforecement Overrider
This software will take care of this issue.How-to is also on the download page.U can download it here-
Download Driver Signature Enforcement Overrider 1.3b Free - Use this tool to easily bypass the Driver Signature Enforcement in both 32-bit and 64-bit version of Microsoft Windows Vista - Softpedia
LINUX (Ubuntu):
Install JDK and SDK. (i will provide link to install jdk 7 which i used)
JDK- How To Install Oracle Java 7 (JDK) In Ubuntu ~ Web Upd8: Ubuntu / Linux blog
SDK-
Download tar.gz package & extract it.
In terminal
cd /home/user/extracted_folder/android-sdk-linux_x86/tools
./android
Download all necessary packages by clicking on "Available packages" and checking "Android Repository". Then click on "install selected" button and another window will pop up. Check "accept all" and click on "install" button. Wait and you will have all SDK packages installed,adb too.
Code:
sudo gedit /etc/udev/rules.d/99-android.rules
Then paste following in it.(I am writing code for Micromax only,there is a list of all manufactures,if u want I can give it.U can also get it using link at bottom from xda)
#Micromax
SUBSYSTEM=="usb", SYSFS{idVendor}=="1d91", MODE="0666"
Now, use following instead so u will also get fastboot working alongwith adb.
#ADB on Micromax A70
SUBSYSTEM=="usb", SYSFS{idVendor}=="1d91", MODE="0666"
#fastboot on Micromax A70
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
Save & Exit.
For ubuntu 11.04,paste this.(i m not sure of this but found in more then 2 guides)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d91" TEST=="/var/run/ConsoleKit/database", RUN+="udev-acl --action=$env{action} --device=$env{DEVNAME}"
Save & exit.
FOR UBUNTU 12
#ADB on Micromax A70
SUBSYSTEM=="usb", ATTRS{idVendor}=="1d91:0009", SYMLINK+="android_adb", MODE="0666" GROUP="plugdev"
TEST=="/var/run/ConsoleKit/database", \
RUN+="udev-acl --action=$env{action} --device=$env{DEVNAME}"
#fastboot on Micromax A70
SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1:0009", SYMLINK+="android_fastboot", MODE="0666" GROUP="plugdev"
TEST=="/var/run/ConsoleKit/database", \
RUN+="udev-acl --action=$env{action} --device=$env{DEVNAME}"
save & exit.
Code:
sudo chmod a+rx /etc/udev/rules.d/99-android.rules
sudo service udev restart
sudo gedit .bashrc
At the end paste this-
export PATH=${PATH}:/home/YOUR-USERNAME/android-sdk-linux_x86/platform-tools
(this may change according to your android-sdk directory)
Code:
source ~/.bashrc
Now the most important part, again at Terminal,
Code:
mkdir -p ~/.android && echo 0x1d91 > ~/.android/adb_usb.ini && adb kill-server && adb devices
Viola!!!
Trust me,if you follow all steps properly adb will work for sure.
HIT THANKS IF IT HELPED...