[TUT] Getting Windows to detect your Adam via ADB - Adam Android Development

How to get ADB to work with Adam by detecting in Windows properly.
Hello I wanted to document a way to get this going so hopefully this helps anyone interested in using ADB with their Adams since the original tutorial seems to lack some important "how-to" parts.
Another thing.. I am only trying to help and add to the adam experience.. I am not a teacher or anything so if you are unsure about a step STOP and go do some research.. this is for someone who already has a general knowledge and to assist those to are trying to learn this.. its not a substitute for learning it yourself.
----------
Here are the steps that you need to follow in order to enable these drivers:
You must have Android SDK installed before you can proceed!!
If you don’t have it already, proceed to download here and you can see a ADB guide found here.
Make sure you download the Google USB Driver Package as well.
Open the google-usb_driver folder that you will find inside your Android SDK folder.
Open the android_winusb.inf file in notepad or any text editor to edit it.
Add these lines under [Google.NTx86] or [Google.NTamd64] depending on whether you are using 32 bit or 64 bit Windows. If unsure, it is safe to add these under both these sections.
Code:
;NVIDIA Tegra
%SingleAdbInterface% = USB_Install, USB\VID_0955&PID_7000
%CompositeAdbInterface% = USB_Install, USB\VID_0955&PID_7100&MI_01
Don’t edit or replace any other text that is already there; just add these new lines and save the file. You can add them right before the
Code:
; HTC Dream
To be able to use ADB and other SDK tools with your device, you can proceed as follows:
On your tablet, go to Menu > Settings > Applications > Development and enable ‘USB Debugging’.
Connect your tablet to your PC via USB. You will get a notification that some drivers were not installed, which is OK for now.
Go to device manager and Identify your device from the list, right-click it and click ‘Update Driver Software..’.
Choose to browse your computer for driver software and then select to pick from a list device drivers on your computer.
Choose to view all devices and click ‘Have Disk…’.
Browse to the google-usb_driver folder inside your Android SDK folder and select the android_winusb.inf file.
If you get any warnings prompts telling you that the driver might not be compatible, just choose to continue installing.
Once the drivers have been installed, you should be able to use ADB with your device.
You will want to connect your device via usb and make sure usb debugging is on. (Settings, applications, development, usb debugging CHECKED!!)
To confirm that your device is recognized, launch a Command Prompt window and enter these commands:
Code:
adb kill-server
adb start-server
adb devices
If you see your device name or a few numbers as the output under the list of devices, your device is now recognized by ADB.
Happy Developing!
--------------------------------------
My Notion Ink Adam Videos

ADB / QtADB
Then there's the easy way .... http://forum.xda-developers.com/showthread.php?t=1009982

stewarta said:
Then there's the easy way .... http://forum.xda-developers.com/showthread.php?t=1009982
Click to expand...
Click to collapse
Well I took a look at your "easier way" and its exactly what I explain to do in my tutorial but maybe others will enjoy your wording better, thank you for your input and for sharing.

Related

[How to] Install android_winusb.inf, create adb shell loop, and root your phone

First off you need to have Android-SDK installed on your computer. I will not go into details about that process but here is the link to Google's official install page. Navigate to the folder you placed Android-SDK and run the SDK Setup.exe and make sure that you download the usb 3.0 driver software from the sdk updater window. I recommend erasing any HTC Sync software or drivers so that you can start from a clean point then reinstalling them.
Once you get the SDK installed from Google you need to go in a modify the USB 3.0 .inf file. Navigate to the folder you placed the Android-SDK and one step down you will see a folder that is named usb driver. Open the usb driver folder and then open the android_winusb.inf file in notepad. It should default into notepad when you click it. Next you need to copy and paste this text into notepad.
Find the section labeled [Google.NTx86]. At the end of that section, add the following lines.
;
;HTC Incredible
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C9E
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C9E&MI_01
Then find the section [Google.NTamd64]. At the end of that section, add the following lines.
;
;HTC Incredible
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C9E
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C9E&MI_01
Again just copy and paste. I have attached pictures to show where these need to go.
So now we have the USB driver on the computer and ready to be installed once you plug-in your Incredible.
On your Incredible press->Menu->Settings->Applications->Development->(check)USB debugging. Plug in your Incredible and you should get the found new hardware notification, select the No, not this time radio button, Install from a specific location(Advanced), Don't search, I will chose the driver to install. You should now have "Android Composite USB Device" in the white field selection box, click have disk and browse to the location of the android_winusb.inf file and click ok. Click next and it should install the USB driver you need for ADB to work properly.
Now if you click Start->(right click)My Computer->Properties->Hardware(tab)->Device Manager, you should see Android Phone at the top then when you open the tree you should see Android Composite USB Interface.
This will enable you to use the Android SDK from a command prompt to access your Incredible.
Once that is done open a command prompt by clicking Start->Run(XP) or the search box in W7 and type CMD(in W7 you need to right click command prompt and run as admin.). Then in the command prompt window type; cd (your file path to Android-sdk). now to test it type adb shell and press enter then reboot recovery and press enter. This should reboot your Incredible into recovery. (You can also type reboot bootloader to get to that screen.)
Once you make sure that is working press vol. up and power, then select reboot with the power button. GO back into Settings and deslect the USB debugging check box. Now we need to get adb shell to loop so that it can catch the Incredible in its flawed sequence that allows us to access the phone in recovery. Navigate your command prompt box to your tools folder and then follow these directions courtesy of prerunnerseth over at AndroidForums.com
type edit loop.bat
in edit enter the following
Code:
@echo off
:TOP
adb shell
GOTO TOP
press alt-f then x
hit enter for yes
Here is a link to Androidforums.com with two different methods for gaining root access on your phone.
This is a great 10 min. video on how to root as well.
I hope this helps clear some confusion up for those that can't quite get the Android Composite USB interface going. This credited to all parties involved and is just a collection of info.
So what you are saying is we need to take it off of debug mode before looping the shell command?
Hmmm...I had mine in Debug mode every time (failed every time, too). Ok...headed to BB to get the PNY card and try again w/o debug mode on.
Here's the android_winusb.inf file for the Incredible.
Switch this file out with the one that's inside your AndroidSDK/usb_driver folder.
http://www.megaupload.com/?d=S2H4R3QZ
Here's the adb shell loop for Windows.
I placed it inside my AndroidSDK/tools folder.
http://www.megaupload.com/?d=N0150VUI
I hope this helps!
SeanRinVA said:
Hmmm...I had mine in Debug mode every time. Ok...headed to BB to get the PNY card and try again w/o debug mode on.
Click to expand...
Click to collapse
I had mine on and it worked. Try, try, try you'll get it!
Good luck!!!
SeanRinVA said:
Hmmm...I had mine in Debug mode every time. Ok...headed to BB to get the PNY card and try again w/o debug mode on.
Click to expand...
Click to collapse
Report back. Rooting the DI will only get simpler and more reliable the old fashioned way: a LEAK from HTC!! If we had something to flash from fastboot or recovery without first obtaining root, we would all have root except for those who didn't check their MD5's, in which case they'd brick. So this new (not you, OP, or you Unrevoked team, but this exploit in general), ****ty, hard way = relatively safe, totally unreliable. Old way = almost 100% reliable but little room for error.
jesus this is frustrating
when i click on android phone it says android adb interface am i doing something wrong??! also when i try to install sdk a black box flashes then leaves immediately
sylent101 said:
when i click on android phone it says android adb interface am i doing something wrong??! also when i try to install sdk a black box flashes then leaves immediately
Click to expand...
Click to collapse
It is supposed to say that... and you can't install the android sdk you can only open it... its is just a basic dos applicarion with a GUI front of it if I'm not mistaken so just try redownloading it
Try following the 10 minute video exactly on a cpu that does not have the sdk already on it. I used the same exact sd card and could not get it on my pc that already had the sdk , sync , drivers on it. I followed the instructions on the 10 minute video using the sdk and htc sync from the video link on a machine that did not have them prior and it worked first try using the first (adb shell) method. I think it had something to do with the prior sdk install I had.
another let down, tried with the 10 mins video also, oh well
sylent101 said:
when i click on android phone it says android adb interface am i doing something wrong??! also when i try to install sdk a black box flashes then leaves immediately
Click to expand...
Click to collapse
Right click on Android adb interface and then select update drivers, then follow the instructions above for installing the android_winusb.inf file. As stated before SDK doesn't actually "install' it is more on an interface that you can open to download the new sdk's for app development and debugging. you should get the black box and another box that is called Android SDK and AVD manager. Within that window you should have these options on the left; Virtual devices, installed packages, available packages, Settings, and About.
Edit; Did you follow the instructions about editing PATH with the C:\Android-SDK-Windows\tools directory path?

[Q] ABD Drivers + Windows 7 issues (plus a couple more questions)

Hello XDA Community.
I'm attempting to install the new RC of CyanogenMod-6 for the Hero CDMA. I'm currently running the stock 2.1 version of Android. I've been following the guides that were referred to in the thread (I tried posting the urls but new users can't do so to prevent spam).
I've successfully rooted my phone and now I'm trying to do a Nandroid backup. I'm running Windows 7 32-bit and have hit a road block with ADB not recognizing my device. I followed the guide put together by Nephron to install the Android SDK. I've spent several hours going through threads and doing google searches looking for the solution. I have debugging turned on and I don't mount my SD drive when I plug the USB cord in. I've used USBDeview as some have suggested to delete current HTC drivers and then reinstall - no luck.
Here is a screen shot of what happens when I plug in my Hero:
See attached - "failedinstall.jpg"
Then I'll go to device manager to manually install the driver (it never allows me to manually select upon connection for some reason):
See attached "devicemgr.png"
And then this is the message I get when I point it to the "right" folder with the drivers:
See attached - "unabletoinstall.png"
So, on the Android SDK site I noticed this message:
"The USB driver for Windows provides support for the following Android-powered devices:
T-Mobile G1* / ADP1
T-Mobile myTouch 3G* / Google Ion
Verizon Droid*
Nexus One
* Or similar hardware on other carriers
Any additional devices will require Windows drivers provided by the hardware manufacturer.
^So is all of this HTC's fault? I've downloaded a couple of different .zip folders from different threads claiming that these drivers would work. But none of them have yet to do the trick for me.
I'm new at this so I have a few other questions as well:
Most guides I've read about how to do a Nandroid backup always recommend flashing a ROM b/f doing a backup. But I want to backup my current stock rom and settings before I flash. Wouldn't I want to create a recovery image before installing any other ROMs? Perhaps I'm misunderstanding some requirements?
Referring again to the thread on the CyanogenMod RC, can someone help me understand step #3? How do I know if it is necessary to update my radio? What implications does this have? I tried looking for info about this on the wiki and I couldn't find anything comprehensive enough to answer my question.
I'd appreciate any guidance!
Before you modify anything you will want to boot into recovery, assuming you flashed one, by holding down Home and turning the phone phone back on(power button). But since you don't have adb working then you probably haven't. You can still do this using terminal on your phone.
Download terminal emulator from market and then download a revoery image (AmonRa 1.6.2 or Darch's 1.7xx) and then mount your sdcard to the computer and transfer the recovery to the root of the sdcard. Open up terminal emulator and type in
Code:
su
cd /sdcard
flash_image recovery recovery-RA-heroc-v1.6.2.img(type the exact file name of the recovery you are using)
reboot recovery
If you had factory 2.1 on your phone then you have the latest radio. The radio can be flashed just like any ROM, but make sure that the radio is not for GSM phones as this will destroy your phone.
Instructions from Android Developers and ADB, Fastboot, and Nandroid for Noob
Download the latest Android SDK.
Unzip to C:\AndroidSDK
Right-click on (My) Computer, and select Properties
Go to Advanced settings
XP: Click the Advanced tab
Vista/7: Click Advanced system settings on the left
Click the Environment Variables button
double-click on Path (under System Variables)
Add the full path to the tools/ directory:
C:\AndroidSDK\tools\
(make sure a semicolon ( separates this new path from all the others)
Latest windows sdk version appears to need: "C:\AndroidSDK\android-sdk-windows\tools", install location may change with further updates..
Run C:\AndroidSDK\SDK Setup.exe
If you get an error about not having Java SDK installed but you do, add the path to 'bin' within your Java installation location to the Path environmental variable as described above before the sdk entry you just made. (eg add "C:\Program Files\Java\jdk1.6.0_20\bin;") This is likely to only be necessary where the 64 bit Java SDK is installed (obviously) on a 64 bit machine.
If it gives you an error about http go to settings and click on "Force http//....."
Unselect all options except for the USB driver
If you can't get the setup to work, download the USB-DRIVERS folder - HERE (Windows XP/Vista/Windows 7)
On your phone, click Settings > Applications > Development and make sure USB Debugging is on.
Plug your phone into your computer via USB cable (it needs to be on). It should say installing drivers if using Windows.
After it installs the drivers, goto the Start menu and type cmd into the search bar (Vista or higher) or click Run then type in cmd (XP) to open the command prompt.
Type the following into the command prompt window:
adb devices
You should see a serial number pop up, it’s the serial number of your phone. This means you are all set. If you do NOT see a serial number, then we need to reinstall the drivers.
Download USBDeview
While the phone is still plugged in, open USBDeview and sort by manufacturer. Find all the HTC/Android drivers and uninstall them all. (Windows Vista requires program to be run as an administrator, otherwise files won't uninstall.)
Once all have been uninstalled, unplug the phone from the USB cable and plug it back in.
The correct drivers should reinstall automatically (check the drivers as they are installing, one should say ADB Device driver).
To check, go to Devices in your Start menu then click on the “Android Phone”. Click on the Hardware tab, and check the list of drivers for ADB Interface under Type.
Done! Now you can use ADB to alter your phone from your computer.
If all else fails try installing HTC Sync software-- http://member.america.htc.com/download/Driver/HTC Hero (Sprint)/HTC_Sync_2.0.40.exe and then removing the drivers for it and then trying to install the android sdk drivers
Or you can dual boot with Linux and all you will need to do is download and unzip android sdk and edit 2 files and everything will work.
WOW>>>>>no that is way to confusing. the best thing to do is install vmware workstation. Then do a virtual WINDOWS XP MODE. from there you will be able to install the drivers and such in order to get the phone to be seen.
the version of htc sync i used for all my computers including win 7 was 2.0.33
if you want it then just pm me and I will get it to you
they don't offer it for a download anymore
this version corrected all my driver issues

[TUT] ADB Guide

Hopefully this helps someone...
If something doesn't work here let me know and I'll add it and make corrections. I will gladly accept recommendations and input from anyone. Also Mac and Linux users please post your info and I'll gladly add your pieces to my guide as well.
Step 1:
Some files are needed such as the SDK and USB driver. Note: Some devices require Windows drivers provided by the manufacturer we will have to play around and see what works with Adam...
System Requirements
USB Drivers
Android SDK
- Download the zip file
Step 2:
Extract the zip and run the exe to install. It should check for JAVA dependencies and get you all setup.
Copy the SDK folder to the root of your C: drive or where ever you want. Plug in the device (Adam in this case), DO NOT MOUNT ANYTHING, and when prompted install the USB driver. NOTE: I'm not sure yet if the drivers in the link will work with Adam or not so play around and see what works. You can always go into Device Manager and remove the driver.
Step 3:
Create environment variables for ADB by right-clicking on "My Computer" and select Properties. Then go to Advanced tab (or Advanced Settings in Vista) and select Environment Variables. Add the following:
Variable name: adb
Variable value: C:\android-sdk-windows\tools
Note: that variable value may change if you do not run the sdk from the root of your C: drive and depending on the name of your SDK folder...
Step 4:
Code:
adb [COMMAND]
If you replace "[COMMAND]" with an adb command, the above should work for you. Go here for a listing of ADB commands...
A simple command to test with is:
Code:
adb shell
"adb shell" should return one of two values, "$" or "#". And this should be the shell prompt from the device, not your local terminal window.
If that code didn't work, put in your full SDK folder path and try again. If it works that way, look into the environment variable and make sure its the same as the path to your SDK folder.
References:
The first is the sweet guide from XDA member VanillaTbone and is widely used here at XDA.
The second is one I wrote over at NotionInkHacks. This one is only for Windows at the time being, but once people with other OSs leave feedback I will update to include those other OSs as well.
Thanks for the links!
They were helpful to me and I am sure they will be to others.
Thank you, stickied! This is useful to people unfamiliar with ADB.
Updated the OP so this is now a full guide. I also updated the title to reflect tutorial.
webs05 said:
Updated the OP so this is now a full guide. I also updated the title to reflect tutorial.
Click to expand...
Click to collapse
Excellent work. This will help all the first time Androiders here!
How to get your Adam detected in Windows
After following this.. you can follow this next to now make sure windows detects your Adam.
http://forum.xda-developers.com/showthread.php?p=12022670#post12022670
it would be more uniform if people installed the .exe and have 2 paths for step 3 depending on 64 bit or 32 bit
for 64 bit when installing the exe the path is
C:\Program Files (x86)\Android\android-sdk-windows\platform-tools
and for 32 bit I believe its (not sure on this one because I have 64 bit)
C:\Program Files\Android\android-sdk-windows\platform-tools
Also might be wise to mention that if you do not define a push or pull path way when you start up the command prompt it will look in C:\users\"UserName"
edit: fixed: http://developer.nvidia.com/tegra/forum/after-installing-froyo-adb-cant-see-device
thanks for your help
howdy,
I have previously installed the adb driver for my sgs and sgs2. When I plug in my adam, the mass storage components come up, but nothing shows up with regards to android devices which will allow me to update the driver for.
Debugging is enabled on my adam (it is a PixelQi/Wifi version running beast+clemsync v3) and shows up in the notifications. USB Mass storage works fine.
ADB also works fine for my SGS2 when I plug it in and run adb shell/devices. When I plug my adam in, adb does not see anything related to it.
Where should I go from here to get windows to like this thing?
edit:
When I plug it in I can see these things:
If the nvidia harmony device shows up in the device manager I don't know where
Click to expand...
Click to collapse

[HOWTO] adb / sideloading / superuser access

Hey everyone! I put together some information on how to do a few things on your new Ouya! This info is by no means my own original contributions, but rather just a compilation of several different sources that I discovered through my quest to explore my Ouya. All credit goes to the original authors/brave experimenters.
SDK SETUP:
1. Install the Android SDK
2. Open SDK Manager and install the following packages:
- Tools: Including both Android SDK and Android SDK
- Android 4.1 (API 16): SDK Platform
- Android 4.0 (API 14): SDK Platform
- Extras: Android Support Library, Google USB Driver
3. Navigate to /android-sdk/extras/google/usb_driver
4. Open android_winusb.inf in an editor (I use Notepad++)
5. Add the following lines beneath [Google.NTx86]:
Code:
;OUYA Console
%SingleAdbInterface% = USB_Install, USB\VID_2836&PID_0010
%CompositeAdbInterface% = USB_Install, USB\VID_2836&PID_0010&MI_01
6. Connect your Ouya via micro USB to your computer and turn it on (it needs to be on for adb to work)
7. Open a command window in /android-sdk/platform-tools and run the following commands:
Code:
adb kill-server
echo 0x2836 >> "%USERPROFILE%\.android\adb_usb.ini"
adb start-server
adb devices
8. After 'adb devices' you should see a number, which signifies your connected console
9. You are now ready to use adb to sideload apps
=============================================================================================================
SIDELOADING APPS:
1. Place the desired .apk file to be installed within /android-sdk/platform-tools
2. Connect the Ouya and open a command window in /android-sdk/platform-tools and run the following command:
Code:
adb install [name.of.apk.file.here]
3. Wait for it to complete the installation
4. On the Ouya, navigate to 'Make' and 'Builds' and your app will be there
=============================================================================================================
ADDITIONAL STUFF BELOW
=============================================================================================================
HOW TO SET UP WIRELESS ADB (will allow you to wireless use adb command, without connecting directly to your computer)
1. Connect OUYA console via mini-usb (or using wireless adb) and run the following commands:
Code:
adb shell
su
mount -o rw,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP
chmod 666 /system/build.prop
2. Open another terminal (so we can do things locally) and run the following command:
Code:
adb pull /system/build.prop
3. Open build.prop in a text editor, add this line:
Code:
service.adb.tcp.port=5555
4. Return to the second command window and run the following command:
Code:
adb push build.prop /system
5. Now go back to your shell for the OUYA and run the following commands:
Code:
chmod 644 /system/build.prop
(seriously! the console won't boot if you forget this)
Code:
mount -o ro,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP
6. Disconnect your OUYA, put it where you want it, reboot it.
7. To wirelessly connect to your OUYA, use the following command:
Code:
adb connect 192.168.xxx.xxx
(your OUYA's ip address)
=============================================================================================================
HOW TO INSTALL BUSYBOX, SUPERUSER, AND SU BINARIES
1. Make sure you have ADB set up and working (wired or wireless).
2. Download and unzip the needed files here.
3. Place unzipped files in /android-sdk/platform-tools
4. Run the following commands to put su in the proper place:
Code:
adb shell
su
mount -o rw,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP
exit
exit
adb push su /sdcard/su
adb shell
su
cat /sdcard/su > /system/xbin/su
ln -s /system/xbin/su /system/bin/su
chmod 6755 /system/xbin/su
exit
exit
5. Install SuperUser and BusyBox:
Code:
adb install com.koushikdutta.superuser.apk
adb install stericson.busybox.apk
6. Run SuperUser on the Ouya (from Make > Software) and confirm the update (not in recovery).
=============================================================================================================
Again, this isn't my original content, only slightly edited (since I am OCD about writing).
My only intention is to share this knowledge with other users like me, who don't know much about this sort of thing (yet).
If i stepped on any toes, or did something wrong, I apologize. Let me know if you have any questions or concerns.
Thank you to the following people for their work in contributing to this guide:
WinDroidGuy
elmerohueso
The driver section doesn't seem to work on Windows 8 Pro 64-bit. I don't think the Google driver has been updated for Win8 yet.
You're probably right. I'm on Windows 7. I'll see if I can jump on a buddy's computer to play around with it.
Upon a quick Google search, I found this: http://forum.xda-developers.com/showthread.php?t=1161769
Perhaps give this a try? Please let me know how it goes.
I also tried Koush/ClockwordMod's universal ADB driver (adding in the Ouya section to 32/64) but same results about a bad hash in the driver file.
Well it was worth a try. I'll keep my ears open for a Windows 8 solution.
Did you try setting up adb over wireless by any chance? I don't know much about this stuff, but perhaps that's worth a try as well?
cosine83 said:
The driver section doesn't seem to work on Windows 8 Pro 64-bit. I don't think the Google driver has been updated for Win8 yet.
Click to expand...
Click to collapse
My Ouya was listed twice in Device manager and one of them was a driver problem. I manually selected my Samsung adb drivers from the list and it works fine. the easiest way yo get those is to install KIES. This was with 64 bit Windows 7.
TIP: The micro usb port is extra deep and my samsung cables don't work, fortunately I have a Kodak one that does.
It motivated to set up wireless adb.
Not getting very far, first I downloaded the SDK, which will not run on my system, might be the AV/FW or something else, but it attempts to find java (which is in the path), and then it does nothing. So I try to go the ClockWorkMod way using the Universal driver (as I saw that should work), that is better as I at least have drivers and it finds my device, but it also will not install throwing a message: "hash for the file is not present in the specified catalog. The file is likely the corrupt or the victim of tampering." Well duh, I modified the inf to get it to find the hardware for the OYUA. I'd just use Google's if I could get a copy without installing the SDK since that is obviously not going to working on this system. Any suggestions, so far while adb works fine with the G3 on this system it appears impossible to setup for the OUYA.
Please note: in C:\Java\jdk1.7u21 is the JDK in c:\java\jre is the JRE. So they are both present and up to date. If I open a command prompt and type java -version it is located and works fine, so no understanding of what "SDK Manager.exe" is doing.
Also, yes I followed the thread as best I could, first copying java into c:\android makes no sense, but I tried it (did nothing), second the adb driver does not require any extraction, where is the usb driver, it must be in a zip somewhere in the SDK for it to be installable, so can I just manually extract it?
Thanks,
ERIC
egandt said:
Not getting very far, first I downloaded the SDK, which will not run on my system, might be the AV/FW or something else, but it attempts to find java (which is in the path), and then it does nothing. So I try to go the ClockWorkMod way using the Universal driver (as I saw that should work), that is better as I at least have drivers and it finds my device, but it also will not install throwing a message: "hash for the file is not present in the specified catalog. The file is likely the corrupt or the victim of tampering." Well duh, I modified the inf to get it to find the hardware for the OYUA. I'd just use Google's if I could get a copy without installing the SDK since that is obviously not going to working on this system. Any suggestions, so far while adb works fine with the G3 on this system it appears impossible to setup for the OUYA.
Please note: in C:\Java\jdk1.7u21 is the JDK in c:\java\jre is the JRE. So they are both present and up to date. If I open a command prompt and type java -version it is located and works fine, so no understanding of what "SDK Manager.exe" is doing.
Also, yes I followed the thread as best I could, first copying java into c:\android makes no sense, but I tried it (did nothing), second the adb driver does not require any extraction, where is the usb driver, it must be in a zip somewhere in the SDK for it to be installable, so can I just manually extract it?
Thanks,
ERIC
Click to expand...
Click to collapse
By G3 do you mean Galaxy S3? If so then hopefully you already have Kies installed. When I connected my OUYA and started all of this, it did not install properly. It showed up twice in device manager, it was installed as a portable device, but was also listed as "other device" and not installed. After a lot of searching,I saw that people had been able to get out working by manually selecting the Samsung adb drivers that are included with Kies. It worked for me. You need to manually select the drivers (have disk) and install OUYA as a MTP device.
Regarding the SDK I know nothing. It installed just fine on Windows 7 for me.
Good luck
Sent from my SCH-I535 using Tapatalk 2
I was able to get ADB to work on Windows 7 64bit and Windows 8 64 bit by installing Samsung KIES and forcing it to use that driver.
eatmybiglazer said:
I was able to get ADB to work on Windows 7 64bit and Windows 8 64 bit by installing Samsung KIES and forcing it to use that driver.
Click to expand...
Click to collapse
Try this driver, got it to work, by selecting i from the list and forcing it
ERIC
Sideloading it relatively trivial for this. It is on by default (and can be toggled the usual way, you can access setting at manage->system->advanced-> security).
I used Real APK Leecher to snag ES File Explorer's APK, threw it on a web server, then downloaded it using OUYA's browser (make->software->browser). Installed it from settings (manage->system->advanced->storage->downloads)
The app then shows up under make->software
I have not tried a pen drive yet, but you could probably throw apks on a drive and use the USB port and install in a similar fashion.
I'm trying to do step 7. I input C:\Android\sdk\platform-tools into comand promt but get not regognizable message. What am I doing wrong?
You need to open the command prompt from wherever within platform-tools, or navigate to that folder from your command prompt. You can't run the adb command (which is located in platform-tools) unless your in that directory.
thanks. hopefully i'll get my OUYA soon. only 1 state away.
I dont get a number after adb devices. I editited the google usb file. Im using the 64 version of android sdk is that ok?
@tcollum: Perhaps you should add this to the OP, I tested and it worked. You can add that ;Ouya to the amd64 section of the USB driver, too
FrostyWolf said:
Sideloading it relatively trivial for this. It is on by default (and can be toggled the usual way, you can access setting at manage->system->advanced-> security).
I used Real APK Leecher to snag ES File Explorer's APK, threw it on a web server, then downloaded it using OUYA's browser (make->software->browser). Installed it from settings (manage->system->advanced->storage->downloads)
The app then shows up under make->software
I have not tried a pen drive yet, but you could probably throw apks on a drive and use the USB port and install in a similar fashion.
Click to expand...
Click to collapse
I just find it easier to ADB over Network and install from my laptop.
Sent from my Nexus 10 using XDA Premium HD app
TadeoNYC said:
My Ouya was listed twice in Device manager and one of them was a driver problem. I manually selected my Samsung adb drivers from the list and it works fine. the easiest way yo get those is to install KIES. This was with 64 bit Windows 7.
TIP: The micro usb port is extra deep and my samsung cables don't work, fortunately I have a Kodak one that does.
It motivated to set up wireless adb.
Click to expand...
Click to collapse
This was a great post...I did what you suggested and selected the latest Samsung ADB Interface driver in the windows list (think it was 23/1//2013) and voila. Thanks!
uncynd said:
This was a great post...I did what you suggested and selected the latest Samsung ADB Interface driver in the windows list (think it was 23/1//2013) and voila. Thanks!
Click to expand...
Click to collapse
You can also do the original USB driver edit in the OP and add it under the amd64 section in the inf file. Its how I did it.
dibblebill said:
You can also do the original USB driver edit in the OP and add it under the amd64 section in the inf file. Its how I did it.
Click to expand...
Click to collapse
Ahh, did not see your post that would have been a lot faster, good advice and maybe should be added to OP?

Nexus 6 not detected during recovery/sideloading? Try this

So I've been figthing this battle for the last couple of days... and no matter what drivers I installed (and trust me I've installed everything from the latest google drivers to Khoush's Universal drivers) I could never for the life of me get the Nexus 6 to show up during recovery - and hence couldn't sideload the 5.1 OTA. Mind you I'm completely stock - boatloader, recovery, kernel and all....
I Knew it was a driver issue - so I went back to the drawing board. Here's what I did and you should try.
Step 1 : Assuming you have SDK installed/Minimal ADB fastboot installed , download the latest usb drivers.
Code:
https://dl-ssl.google.com//android/repository/latest_usb_driver_windows.zip
Unzip and remember location.
Step 2 : Unplug your phone and Use usbdeview (google USBdeview) to uninstall all existing devices that say something like
Code:
nexus 6
android
google
Step 3 : With USB debugging enabled and MTP on , plug your phone in... If it installs drivers - dont worry. Go to device manager - look for anything that says Andoid/ADB composite device or MPT/Nexus. Right click and select Uninstall. Check Delete driver software for this device and press OK. You may need a restart, if windows tells you to. Either way unplug your phone.
Step 4: Plug your phone in. Let it try to figure out devices/drivers. Then go to Device manager. The Nexus should have an exclamation on it. Right click and go to properties-->Details. Select Hardware Id's from the dropdown. There should be one or two. Either one is valid. Now open the USB drivers folder you unzipped earlier and open the android_winusb.inf file with notepad (usually double click should open it).
If you're on a 32 bit operating system - scroll the [Google.NTx86] section.
If you're on a 64bit OS (like most on Windows 7/8/8.1) scroll to the [Google.NTamd64] section.
If you don't know which OS you are on - please wait for the OTA to arrive on your phone because this guide( and other guides) maybe beyond you .
Scroll down to the Google Nexus (Generic) section for your OS type. It should say something like
Code:
;Google Nexus (generic)
%SingleBootLoaderInterface% = USB_Install, USB\VID_18D1&PID_4EE0
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_4EE2&MI_01
....
Now from device manager copy the hardware id for your device. Say its
Code:
USB\VID_18D1&PID_4EE7&MI_01
If your Hardware Id (atleast one) isnt listed in the CompositeAdbInterface list on the driver file then insert a new line. Like below.
Code:
;Google Nexus (generic)
%SingleBootLoaderInterface% = USB_Install, USB\VID_18D1&PID_4EE0
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_4EE2&MI_01
....
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_4EE7&MI_01 <----New line
Save the driver file. Now open device manager again and Right Click the nexus device... Update Device Driver --> Browse my computer.. --> Specify the newly modifed USB file.--> press Next to completion. If you are prompted saying device is unsigned... ignore it.
Step 5 : Open command prompt /cmd (Start-->search for cmd). Browse to the ADB location. Then type
Code:
adb devices
It should show you the a device. (You may have to allow adb usage on your phone from that specific computer - should popup on your phone when connected). Next type
Code:
adb reboot bootloader
Your phone will automatically reboot into the bootloader.If you see a device listed under Android Bootloader Interface of If you see a new nexus device in your device manager then Uninstall the device while deleting driver. If you dont see a device - use USBdebiew to uninstall devices. Right Click on the computer name in device manager and click scan for hardware changes. You now have a device showing up with Exclamation. Now add the hardware ID for this device to the usb file. Make sure you add it under CompositeAdbInterface and not SingleBootLoaderInterface. If your device is listed under SingleBootLoaderInterface - Then use a semi-colon ( ; ) at the beggining of the line to comment it out... and then add the Hardware Id to the CompositeAdbInterface. Save and update driver.
Now choose recovery from the options. At this point unplug your phone. Now hold the Power button on your phone for about 5 seconds and then press Volume UP. It should take you to the recovery options screen. Use your volume button to move to "apply update from ADB" and press Power Button to select. It will take you to another screen saying its ready for adb sideloading.
Now Plug your phone in. If you see a new nexus device in your device manager then Uninstall the device while deleting driver. If you dont see a device - use USBdebiew to uninstall devices. You now have a device showing up with Exclamation. Now add the hardware ID for this device to the usb file. Make sure you add it under CompositeAdbInterface and not SingleBootLoaderInterface. If your device is listed under SingleBootLoaderInterface - Then use a semi-colon ( ; ) at the beginning of the line to comment it out... and then add the Hardware Id to the CompositeAdbInterface. Save and update driver.
Go to the command shell and look for adb devices again. It should now list your Device.
Sorry about providing links as code : Dont have enough post apparently to directly link stuff.
Happy sideloading!!!
i DID WHAT YOU SAID NOW DRIVER INSTALL SAYS THE HASH FOR THE FILE IS NOT PRESENT IN THE SPECIFIED CATALOG FILE
This should be stickied, I just searched google for this and found this exact post on Reddit and was just about to make a new thread on here referencing it.

Categories

Resources