Adb usp help! - myTouch 4G Q&A, Help & Troubleshooting

SLOVED
adb usb help!
I have the Mytouch 4G and i want to root it but im having a problem getting the adb driver to install in my system i'm running Windows 7 64x. when i open my comandprompt and type "adb devices" it SAYS "LISTED DEVICES" but no numbers iv uninstalled the drivers like discribed by theunlocker.com and reinstalled them and nothing changes. i look at what gets installed and the adb driver never gets sucsfuly installed.
[HOW TO] Get ADB to recognize your myTouch 4G
Options
11-08-2010 01:56 PM
Rather than reinvent the wheel, just going to "borrow" zapote21's excellent guide for setting up ADB, this time for the myTouch4G (if you're weird like me and immediately swapped out SDcards or just prefer not running exe files):
-----
I am going to assume that you have the SDK installed and that you have a clue as to what I am about to say...
If you dont understand this language, then you probably dont need to be trying to use ADB... lol
Go to the "usb_driver" folder in your SDK and find the *.inf file...
Use notepad++ to edit that file and add the following lines to the "[Google.NTx86]" and the "[Google.NTamd64]" sections:
;T-Mobile myTouch4G
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C96
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C96&MI_01
;
Save the file, reinstall drivers, and done...

IF YOUR SDK DOES NOT HaVE A usb_driver folder you can find it here
http://download1164.mediafire.com/d69p3q3k6wzg/wzdjcmowziw/usb_driver.rar

Related

ADB under Windows XP Install Issue

I've managed to get the Incredible to install fine under Windows 7, but the ADB wont' install for me under Windows XP. Has anyone else had this issue, or am I just that unlucky today?
A fix
Hey I managed to get it working here is how:
Go to the location of your ADB USB driver which you can find in your_sdk_path\usb_driver. (ex. C:\Program Files\android-sdk-windows\usb_driver)
Open up: android_winusb.inf.
Now if your on a 32 bit install of XP scroll down to the section labled [Google.NTx86], if you're on a 64-bit system scroll down to the [Google.NTamd64] section. In that that section paste in:
; HTC Incredible
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C9E&MI_01
;
Now save the file.
Now if you plugin in the device and select that directory to install the USB driver from to install it should work. Finally go to your_sdk_path\tools. (ex. C:\Program Files\android-sdk-windows\tools) and run adb kill-server, and then adb start-server. When the server has started run adb devices and your incredible should show up.
thanks man, just had the same prob and came across your thread. worked perfectly

[Q] assiatance with adb please any one

hi guys im getting anoyed with my pc and phone now ive followed so meany tutorial etc on how to install adb but still not getting any where so far i have done
1. downloaded sdk from code.google.com
2. extracted to c:/android-sdk-windows
3.installed htc wildfire drivers
4.created a path on enviromentable variuble
5.ive loaded the skd.exe
6. ran cmd and ran adb and adb devices but my pc will not reconise this command any adice please thanks
ps ive also tryed using qtaADB it connect to the phone but dnt show any thing frustrated now lol thanks daddyspud
First download adb for windows from " http://developer.android.com/sdk/ ".
then u will get a file named " android-sdk_r08-windows ".rename it as "Android SDK" after extracting.
download proper driver for your phone and install them .now move "Android SDK" to root of hard drive that is to c\Android SDK...
now update the adb using SDK manager that is inside Android SDK.all packeges even usb drivers.
connect the phone via usb and windows should recognize it as android phone .
now take "cmd".command prompt and type the following code .
cd\
cd Android SDK\tools\
adb devices
Now Adb is set if it shows your phone code ..
Sorry about my english .
I had a hardtime making my computer recognize my wildfire, I had to manipulate the driver to make it find it. just google it and you shall find .. if thats the problem ..
thanks worked a dream cheers buddie
They changed the location of the adb.exe file with the new SDK release using the example given would be :-
cd\
cd Android SDK\platform-tools\
easier in my opinion to add to path in windows
c:\android sdk\platform-tools\adb.exe
make sure u add java.exe to path aswell
Hope this helps
ok i got that and it worked, ie picked up my device, then what do i do?
magpie22 said:
ok i got that and it worked, ie picked up my device, then what do i do?
Click to expand...
Click to collapse
Well what do you want to do with adb?
run the sdk but i get errors when i start it "error 2" cant find file.
Failed to get the adb version.
Edit - Never mind i have sorted it.

Notion Ink Adam and ADB/QtADB for Screen Capture etc

Screen capture is made easy by:
1. Downloading and installing the SDK onto your PC from http://developer.android.com/sdk/index.html
2. Modifying the \android-sdk-windows\extras\google\usb-driver\android_winusb.inf to include the Tegra device as follows under the headings shown (the second one for Win7 x64 users) leaving all other devices in place:
[Google.NTx86]
; NVIDIA Tegra
%SingleAdbInterface% = USB_Install, USB\VID_0955&PID_7000
%CompositeAdbInterface% = USB_Install, USB\VID_0955&PID_7100&MI_01
;
etc
[Google.NTamd64]
;NVIDIA Tegra
%SingleAdbInterface% = USB_Install, USB\VID_0955&PID_7000
%CompositeAdbInterface% = USB_Install, USB\VID_0955&PID_7100&MI_01
;
etc
3. Downloading and installing QtADB (particularly useful for Noobs, instead of running \android-sdk\tools\ddms.bat) from http://qtadb.wordpress.com/about/
4. OPTIONAL STEP: If you are going to run ADB put the location in your PATH on Windows ... right click on Computer >> Properties >> Advanced System setting >> Environment Variables >> under System Variables add adb and the path.
5. This step is a MUST and stops most installations .... use Windows Explorer and locate the following file and DELETE it. You MUST replace it by opening a COMMAND window (Windows START as administrator) and typing at the prompt:
echo 0x955 >> "%USERPROFILE%\.android\adb_usb.ini" (leave it exactly as this).
If you want to see that this has taken place, search out adb_usb.ini which will be under users\yourname\.android\
6. This step is a MUST and stymies most attempts to get the NI Adam hooked up to ADB or QtADB ... Open device manager on your PC and now CONNECT the PC and NI Adam via USB cable. On mine, perhaps because I also connect a Nexus One, under Android Phone, it shows Android Composite ADB Interface. Right-click on this and UPDATE the DRIVER to the \android-sdk-windows\extras\google\usb-driver\ ...i.e., the same folder where you modified the inf file earlier.
7. Now run QtADB and your NI Adam will appear. You can screen capture (not rooted) or gather info like I've shown (rooted).
Enjoy!

[GUIDE] Root Kindle with 6.2.1 using JCase method

These are my notes and guide for rooting the Kindle with 6.2.1 firmware. If I left something out, or something is not working, please leave a comment and I'll try to update.
Credit goes to JCase for the root. Please consider making a donation to him here:
https://market.android.com/details?id=net.andirc.jcasedonate
Original procedure is here:
http://www.androidpolice.com/2011/1...on-kindle-regardless-of-its-software-version/
ADB INSTALL AND TEST - Method 1 (skip to the ROOT INSTALL section if you already have a working ADB)
NOTE: ADB = Android Debug Bridge. It is a command line interface to the android device. A working ADB is required before you can root your Kindle. ADB is installed on a PC and accesses the Kindle via USB cable.
Install Java SE Development Kit 7 on PC
The Android SDK Manager requires Java SDK
http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u1-download-513651.html
Install Android SDK Manager on PC
The Android SDK has the drivers and ADB needed to perform the root procedure
http://developer.android.com/sdk/index.html
Uncheck Android 4.0
Check 2.33
Ensure Google USB Driver is checked
Install to c:\android to make typing easier later on
NOTE: The install can take a long time!
Manually update files so drivers will properly install
Open c:\users\your account name\.android\adb_usb.ini (or c:\documents and settings... if you have XP) and add the following
Code:
0x1949
Open c:\android\extras\google\usb_driver\android_winusb.inf and make additions as shown:
Code:
[Google.NTx86]
;Kindle Fire
%SingleAdbInterface% = USB_Install, USB\VID_1949&PID_0006
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0006&MI_01
....
[Google.NTamd64]
;Kindle Fire
%SingleAdbInterface% = USB_Install, USB\VID_1949&PID_0006
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0006&MI_01
Install drivers
Find the Kindle device in device manager and update drivers. Point to the location with android_winusb .inf
Verify ADB works
Open a command prompt
CD to c:\android\platform-tools
Code:
adb kill-server
adb devices
If it's working, ADB will return a large number, like this:
Code:
312342134231342 device
ADB INSTALL AND TEST - Method 2
NOTE: I have not tried this, but Vashypooh's app can apparently handle the driver install, and run ADB without installing the above software. If all of this works, then his app would be the best way IMO.
NOTE 2: I've seen a lot of comments suggesting the driver install in Vashypooh's app doesn't work at this point.
http://forum.xda-developers.com/showthread.php?t=1399889
ROOT INSTALL - Method 1
Install JCase's kindleroot_androidpolice.apk
JCase's app gives ADB root access. Once this is done, you still need to install the superuser app
Download kindleroot_androidpolice.apk to PC
http://www.multiupload.com/VNZ6Y41EQF
Ensure the Kindle is connected via USB, and copy file to Kindle sdcard
Using ES File Explorer on Kindle, navigate to the kindleroot_androidpolice.apk and launch
Follow prompts and click root
Install superuser app
Download superuser-2 to PC
http://www.multiupload.com/M2CX14W7Y0
Unzip to c:\download\sufiles
Use ADB to install SU app
Code:
adb root
adb remount
adb push c:\download\sufiles\su /system/xbin/su
adb shell chown 0.0 /system/xbin/su
adb shell chmod 06755 /system/xbin/su
adb install c:\download\sufiles\Superuser.apk
adb reboot
ROOT INSTALL - Method 2
NOTE: I have not tried this, but Vashypooh's app can apparently handle the root process.
BurritoRoot (Temporary)
Install Permanent Root with Superuser
http://forum.xda-developers.com/showthread.php?t=1399889
A+ instructions, wish I could write my own that good lol.
jcase said:
A+ instructions, wish I could write my own that good lol.
Click to expand...
Click to collapse
Thanks to you for the root. I hope the guide will help those trying to root!
Thanks for the clear and easy steps.
Great guide Ectoplasmic!
One thing I would add though, in step 5 "Verify ADB Works", before you use the "adb devices" command, you need to type "adb kill-server". If you don't type in "adb kill-server" first, the device won't show up when you use the "adb devices" command. Or at least it didn't for me.
Otherwise, everything worked FLAWLESSLY. I verified I was rooted using Root Checker. Thank you!
zopzop25 said:
Great guide Ectoplasmic!
One thing I would add though, in step 5 "Verify ADB Works", before you use the "adb devices" command, you need to type "adb kill-server". If you don't type in "adb kill-server" first, the device won't show up when you use the "adb devices" command. Or at least it didn't for me.
Otherwise, everything worked FLAWLESSLY. I verified I was rooted using Root Checker. Thank you!
Click to expand...
Click to collapse
Thanks, I added this to the guide.
Hi I use JCase method to root my 6.2.1 KF, then I need to unroot it so my kids can still enjoy the prime video, but I cannot. I try rootkeeper but failed. I also try the "kindleroot_androidpolice.apk" and click the unroot button, but it still cannot unroot. Pls help!
Get help in irc from jcase and vashypool theyll probably be able to help u
tkcctkcc said:
Hi I use JCase method to root my 6.2.1 KF, then I need to unroot it so my kids can still enjoy the prime video, but I cannot. I try rootkeeper but failed. I also try the "kindleroot_androidpolice.apk" and click the unroot button, but it still cannot unroot. Pls help!
Click to expand...
Click to collapse
Unroot in my app (BurritoRoot) does not remove su, it just turns off adb root (which is what my app turns on) sorry for the confusion.
Will add in the future when I release burritomod
Here's the equivalent instructions for Mac
I am pretty new myself, but I'm happy to share what I've come up with so far. I am on a Mac OS X 10.6.8
Download the Android SDK for Mac (dl.google.com/android/android-sdk_r16-macosx.zip), the easiest place to put it is at the top of your user directory, from the browser download window chose your username from places on the left side, then name the zip "Android"
Next from Finder, navigate to the place where you downloaded the SDK, and double-click on it which should unzip it and create a folder of the same name e.g "Android". Open that and inside it will be a folder "tools", and inside that there will be a file "android". Double-click that to run it and the "Android SDK Manager" program window will pop up, you will also see a Terminal window in the background, don't worry about that. Uncheck all the boxes, then check "Android SDK Platform-tools" which should be the third from the top, and click install. This gets you the actual "dab" program.
Once adb is setup, to get it to recognize your kindle fire on your mac, you may need to make an entry in a config file if you haven't already.
Start Terminal Applications > Utilities > Terminal or if you are used to using spotlight, simply type in "Terminal". (here's an intro to using Terminal guides.macrumors.com/Terminal) and navigate to the directory where you have adb, e.g. if you placed it at the top of your user directory that would be
Code:
cd Android
or if you left it in the default downloads directory it would be
Code:
cd Downloads/android-sdk-macosx/
then enter the following commands
Code:
mkdir ~/.android
You may get the following error
Code:
mkdir: /Users/<username>/.android: File exists
If so, that is fine, continue to the next step
Code:
touch ~/.android/adb_usb.ini
open -e ~/.android/adb_usb.ini
TextEdit will open with that file open, you should have an entry in it on a single line that says
Code:
0x1949
if not, copy that in, then save and close it, then
Code:
./adb kill-server
Connect your kindle to the mac if it isn't already, then
Code:
./adb devices
You should see a message like
Code:
List of devices attached
2ED6000600000001 device
On your kindle, make sure you have a file navigation app, the example above ES FileExplorer is excellent and is the one I use from Amazon app store
Download Burrito Root from Android Police ( androidpolice.com/2011/12/23/exclusive-how-to-easily-root-the-amazon-kindle-regardless-of-its-software-version/)
Also download the Superuser.zip from the same page (multiupload.com/ONH28CB1GU) and unzip, then make sure you move the contents "su" and "Superuser.apk" into the same directory as adb
Through Finder copy the "kindleroot_androidpolice.apk" file you downloaded earlier to your kindle, some place like "download" so you can find it easily later
Now on the Kindle, tap disconnect on your KIndle so you can get back to the apps screen, launch the file explorer you installed earlier, navigate to folder you copied it to, e.g. "download" then install the "kindleroot_androidpolice.apk", open it, and go through the steps to launch click "Root"
Back on the Mac, in the terminal window where you had adb going, enter the commands
Code:
./adb root
./adb remount
./adb push su /system/xbin/su
./adb shell chown 0.0 /system/xbin/su
./adb shell chmod 06755 /system/xbin/su
./adb install Superuser.apk
./adb reboot
You should be rooted now, then you can follow the other instructions out there for getting Android market, etc working
TIP
here's a tip if you don't want to have to type in the period and slash ahead of adb every time. from your terminal window enter the
Code:
cd ~
touch .profile
open -e .profile
That will open text editor, and paste in the following line,
Code:
PATH=${PATH}:/Users/<username>/<sdk-directory>/platform-tools
replacing both our user name and the path to where you have sdk e.g. in my case
Code:
PATH=${PATH}:/Users/kbiz/Android/platform-tools
Then close the terminal window and reopen a new one and you should be good to go, now you'll only need to type in "adb".
Let me know if I missed something, trying to give back since this forum has been super helpful.
---------- Post added at 01:04 AM ---------- Previous post was at 12:58 AM ----------
tkcctkcc said:
Hi I use JCase method to root my 6.2.1 KF, then I need to unroot it so my kids can still enjoy the prime video, but I cannot. I try rootkeeper but failed. I also try the "kindleroot_androidpolice.apk" and click the unroot button, but it still cannot unroot. Pls help!
Click to expand...
Click to collapse
OTA Rootkeeper should work but since its not, try this (courtesy rootkindlefire.com/kindle-fire-unroot/how-to-unroot-kindle-fire/)
Code:
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
rm /system/app/Superuser.apk
rm /system/xbin/su
reboot
after your Kindle restarts you won't have root and Amazon Video should work just fine.
Hello,
I have successfully rooted my device with the above instructions. While installing the Android market I was abusing of my root privileges and I've successfully "burned" my device. That is, the Kindle won't start up anymore (it stays forever in the initial phase showing the kindleFire logo).
I don't know where else to turn for help so I'm writing about this here. If anyone has hints of how I could recover my kindle from the void, please let me know
Cheers
http://forum.xda-developers.com/showthread.php?t=1356257
Yesssssssssss
Yesssssssssssssssssss. So nice to have root again. My Titanium Backup and SUFBS works again
I had ADB and SDK working when I had my Glacier, but since I have gotten my SGS2, and my Kindle, Android SDK Manager will not open... It just opens a command prompt, and then closes.. I have reinstalled both the SDK Manager and the Java Kit... Any ideas?
EDIT:
I must have messed with something in my system settings somewhere to corrupt a bunch of stuff... I did a system restore to the 18th of December, reinstalled, and everything works perfect now... Oh well! Haha
Hey, I used a combo of the link JCase gave me when I had questions, this guide, and the links off the rootzwiki guide and managed to get it first try. It was actually easier than I thought it was going to be. I've never rooted anything before, I didn't even have ADB or the SDK until tonight. The process (while using both guides and video tut) went smoothly without a hitch. I just finished installing the Android Market but have to wait til morning to access it, as I have no WiFi at home, and its too late for me to be driving to a hotspot. Thank you very much. You(JCase) and your comrades who put this all together f**king rule.
a really clear and easy guide ! - congratulations - you shoud try to let it pin on top !
Ectoplasmic said:
NOTE 2: I've seen a lot of comments suggesting the driver install in Vashypooh's app doesn't work at this point.
Click to expand...
Click to collapse
the reason people have problems with vashipooh's driver installation seems to be the old drivers - they don't manage to clean up the old drivers:
disconnect KF
Open an (elevated for win7) command prompt:
set devmgr_show_nonpresent_devices=1
devmgmt.msc
device manager opens - click "view" - click "show hidden devices"
now you see all devices ever connected/installed
uninstall all devices regarding "kindle" and "android (composite) adb device"
connect KF - will startup by itself
select the most recent driver (that you have installed before by install_driver.bat from KFU) manually (check date/time)
now you should be set up with a good driver installation
btw. i'm on xp - it's working for xp and 7, 32 and 64 bit

ADB - Not working for fire but does for phone. 64bit Windows 7.

For my Kindle Fire:
Adb works on my desktop pc and that is what I have been using to adb. But my laptop doesn't see my kindle fire.
My laptop can see my android phone though. And works fine with it.
I installed the drivers from kindle fire utility, tried the others that people have been suggesting too. Still nothing for the fire.
The .inf file has all the right stuff for getting it to see a kindle fire. I have uninstalled and reinstalled the drivers about 50 times and I can't see why it won't see it.
And KFU acts strange on my laptop. A lot of 'could not find specified file' etc.
I have Windows 7 64bit on my laptop. My desktop is 32bit which could be the difference.
What should I do?
I have Windows 7 64bit as well on my laptop and I got it to work just fine.
Here are the two things that you need to get it to work.
1. Drivers
Find your driver file ("android_winusb.inf"). It could be in couple of places depending on how you installed them. Make sure that Google.NTx86 and google.NTamd64 sections have the following code.
;Kindle Fire
%SingleAdbInterface% = USB_Install, USB\VID_1949&PID_0006
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0006&MI_01
2. adb_usb.ini
You need to have 0×1949 somewhere in this file (%USERPROFILE%\.android\adb_usb.ini). You can easily add this by running this command in your command prompt.
echo 0×1949 >> “%USERPROFILE%\.android\adb_usb.ini”
ossom said:
I have Windows 7 64bit as well on my laptop and I got it to work just fine.
Here are the two things that you need to get it to work.
1. Drivers
Find your driver file ("android_winusb.inf"). It could be in couple of places depending on how you installed them. Make sure that Google.NTx86 and google.NTamd64 sections have the following code.
;Kindle Fire
%SingleAdbInterface% = USB_Install, USB\VID_1949&PID_0006
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0006&MI_01
2. adb_usb.ini
You need to have 0×1949 somewhere in this file (%USERPROFILE%\.android\adb_usb.ini). You can easily add this by running this command in your command prompt.
echo 0×1949 >> “%USERPROFILE%\.android\adb_usb.ini”
Click to expand...
Click to collapse
I tried it. Still nothing.
I have two .android folders. One in C:/ and the other in D:/
Could this be a problem?
I had a similar issue but with a 32bit version of 7. My phone loaded up but my Kindle never would show using adb devices in command prompt. The fix for me was to Google and dowload the android sdk and install it. When I tried to open it it said something about Java runtime environment and other Java related things ( sorry I cant remember everything). After that it worked. I'd suggest starting at the sdk download and install. If that's doesn't help them I'm sorry. That was my experience. Good luck.
Sent from my Kindle Fire using xda premium
Supercluster said:
I tried it. Still nothing.
I have two .android folders. One in C:/ and the other in D:/
Could this be a problem?
Click to expand...
Click to collapse
Open Run window and type in %USERPROFILE%. We are talking about .ANDROID folder in there.

Categories

Resources