I can’t find the “OUYA” for unknown devices to install the ADB driver!!!
You are not going insane in finding an ADB driver to install and this is not an error to my original tutorial about how to Mod the Ouya for Cyanogen tutorial. This problem directly ties into the “NEW and Improved” way windows 10 64-bit edition handles drivers and how outright malicious Microsoft has become by fulfilling their own drivers over hardware vendors they have no business in half-ass’edly supporting.
All of the documents and screen captures that I will be providing for you are accurate as of 4/27/2016 and when I originally made the Cyanogen tutorial I wanted this process to be as simple as possible. It’s turning out that Microsoft has other plans about their OS and the way it works forcing bloggers like myself to constantly made addendum entries about the same tutorials. Read on if you want to learn more about this beautiful disaster.
Video tutorial fallback mirrors:
In case you have no-script enabled or for some reason cannot see the title video on this website. We have provided direct links for these videos. For more information about the standards we use on this site click here if you would like to know more.
AV1 - Link WebM VP9 - Link OGV - Link MP4/.h264 - Link
Acquire the software:
If you have not already done so we have set up a link for all of the Cyanogen mod to take place onto your Ouya known as “cyanouya.zip”. Click here or on the Download icon to the right to begin downloading the .zip file (approximately 314MB in size). As a note, we will be referencing this download file similar to how it is referenced in the CyanogenMOD tutorial in an effort to maintain consistency.
The device manager problem.
The first thing that you’ll notice upon plugging in your Ouya NOW with Windows 10 64-bit is it no longer goes underneath unknown devices catagory anymore. But it instead goes underneath the “Universal Serial Bus Devices” section of Windows 10 and the “OUYA” is placed underneath there inside of some quasi-generic-driver that Microsoft encapsulated the hardware in to prevent this hardware ID from showing up in the logs that they are constantly sniffing off of your PC. What?
Did you really think a free OS was going to come with privacy? Not from Microsoft, it will! Also noted that you will find an “Ouya MTP” underneath the “Portable Devices” category. But that is not what we want. That only handles the ability to transfer files back and forth via explorer if you have an android device like the Ouya Hooked up.
If you right-click on the OUYA and pull up its properties, then go over to the details and click on hardware IDs. You get confirmation that this is indeed the ADB bridge we are looking to install as it will give you a device hardware ID of USB\VID_2836&PID_0010&REV_0232&MI_01.
Thanks, S, I can just go back to the tutorial and install the driver now that I know where it is right?
Not so fast! If you attempt to install the driver in the mode that it is currently in right now Windows 10 x64 bit will instantaneously reject your file! This is part of a new security effort Windows 10 has put into place over the drivers that it accepts within Windows. Any and all modifications to the .inf file will result in an error displayed above because windows believes that people like me are behaving in a malicious way and rather than allow the user to trust whether or not I am Microsoft thinks that you are not smart enough to know any better and makes that decision for you.
How do we get around this S?
The good news is disabling integrity checking and turning on test signing so the OS no longer checks the certificate of a driver can be achieved with just a few lines of code right-click on your Windows icon and click on command prompt (admin). Click yes to approve and it will open up a DOS shell. Type in the following:
bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS bcdedit -set TESTSIGNING ON shutdown /r
There will also be a “disable.bat” script you can run as administrator in the C:\cyanouya\win10 folder of cyanouya.zip to help automate this process. Upon the passing of the last commands, you will be greeted with this message asking you to shut down and save your work. Also, note that I will be placing a “Disable.bat” file into the cyanouya.zip file that you will be downloading on the Cyanogen Tutorial.
Upon restart, you will see a watermark in the corner of your screen indicating that your OS is in ‘test mode’ meaning it will accept any driver that you give it.
We can now go back into device manager and right-click on that “OUYA” we tried to install earlier and click Properties.
Click on the Update Driver button.
The search automatically will not work because Windows 10 will simply pick the quasi ADB driver that Microsoft made. We will want to Browse my computer for the driver.
Click on the “Have Disk” button to continue.
Either type in C:\cyanouya\driver\ or click the browse button to locate the folder C:\cyanouya\ is extracted to and click OK.
Android Composite ADB Interface will be the only one selected. Click next to continue.
Instead of erroring out, it will now come back with something a little more familiar . A warning from windows stating that it does not trust what you are doing. Click “Install this driver software anyway.” to continue installing the ADB driver.
Now that the Android Composite ADB Interface is installed we can now ADB into our Ouya with the new ADB driver to make sure everything is working good.
Because of the modifications, I made in the .inf fastboot should immediately come back into your device manager as “Android Bootloader Device” underneath the “Android Device” Category. In the event that it does not. Repeat the following steps above to install the driver.
Getting your system out of test mode.
Once again, right-click on the windows icon and click on Command Prompt (Admin) so we don’t get any trouble and copy/paste the following commands back in:
bcdedit -set loadoptions ENABLE_INTEGRITY_CHECKS bcdedit -set TESTSIGNING OFF shutdown /r
There will also be a “Enable.bat” script you can run as administrator in the C:\cyanouya\win10 folder of cyanouya.zip to help automate this process. This will remove the watermark at the bottom. However, the android driver will stop working as the driver does not have a public key on trusted domain authority to verify against. In most situations, this is not a big deal because upgrades, installation, and general file maintenance via ADB can be done over the network within Cyanogen.
Keeping test mode on while removing the watermark.
A highly recommended application is called universal watermark disabler for those who want to keep their windows 10 box in test mode. It will remove the watermark that Microsoft insists that you have. As for the overall safety of keeping Windows 10 in test mode really is up to the user. It feels more like the security of Windows 7 instead of having some overbearing company telling me what we can and cannot install onto my own PC. There are probably more security concerns than that but for now, I will simply state that is could be a risk to keep your PC in the test mode all of the time.
But S, can’t you just sign the driver and give us a fully domain trusted version so we don’t have to go into test mode?
Like my XBCD blog. unfortunately, I can’t because that actually costs money to have a domain trust authority with a company such as VeriSign or GoDaddy in regards to holding up a yearly fee. If there is a way to totally sign a driver without going through
Microsoft’s Extortion Racket the proper channels I would be happy to hear it. For those who think I’m being a little tough on Microsoft, yeah, I kind of am. They are after all making me re-write half of my blog entries because they want to table-flip the way users have been installing drivers for years now all for a few shreds of security. So it’s a little annoying.
Anyhow. That’s all server has to say about Windows 10 ADB drivers and Ouya, you can go back to the Cyanogen Install and proceed happily with modding your Ouya.
+++END OF LINE
12 thoughts on “Installing ADB driver for Ouya in Windows 10”
I’m having a problem with an Ouya that I got on eBay factory reseted. All I’m looking for is to look into the devices files so I can place a file that will reroute the servers that it will connect to the community servers that were placed online, however I’m noticing that no matter what I do, none of my computers that I have (including my raspberry pi) will recognize the device as connected. Not even my ADB servers will reconize it. I’m not sure if there’s something that I’m doing wrong, or if there’s something in my Ouya is busted. If you need more information, let me know.
Okay, the first thing we need to establish is does the Ouya do -anything- when you plug your micro-USB cable into it and over to your PC and/or Raspberry Pi? On the PC does it show anything in device manager? does it even flicker? On the Raspberry Pi when you type in ‘sudo dmesg’ after plugging it in does it give any indication that a new USB device has been plugged in? If the answer is “no” on this then I’d try a different Micro-USB cable. In almost every situation when it comes to loading ADB or fastboot and people had problems it’s usually because people got themselves some total garbage USB-Micro cable. If you want a reputable cable vendor look up “SyncWire” on ebay. Every SyncWire cable I have ever gotten has never failed me on the Ouya, Samsung, Nvidia Shield, or even firing 2 amps down it to power a Raspberry Pi 3.
I have been trying to do this, but my Ouya only shows up in the device manager as a portable device, it does not show under Universal Serial Bus controllers, so I am not able to install the drivers on win10.
It will probably show up as two devices actually.. MTP device which is that ‘portable device’ that you seen when you click on my computer. and finally. ADB device. which microsoft actually loaded a ‘fake’ ADB drive and stored it into the USB catagory of device manager. that ADB driver that microsoft placed onto your computer must be uninstalled so that you can load the legit ADB driver that is within this documentation.
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS
The operation completed successfully.
C:\WINDOWS\system32>bcdedit -set TESTSIGNING ON
An error has occurred setting the element data.
The value is protected by Secure Boot policy and cannot be modified or deleted.
Here’s a Microsoft tech-net article dealing with Secure Boot. Many OEM companies like HP, Dell, Lenovo tend to enable this in order to make their laptops and desktops more secure.
I didn’t include the instructions in the article because it’s dealing more with a BIOS issue of your mainboard and less with the OS itself.
I am not getting “Android Bootloader Device” underneath the “Android Device” Catagory. I have repeated the steps again and again but nothing. What else can I do?
I was having the same issue. To resolve it I changed the settings for AutoPlay.
Windows Icon (lower left)
Ask me every time
I’ve followed other tutorials where a need of more indepth computer knowledge is essential. I found your tutorial very easy to follow. Many thanks!!!
Follow up on my previous comment.
I went and booted the Windows 10 the way the previous comment describes and it worked.
It gave no errors that aren’t part of it’s already “are you sure” flags.
Yeah, Microsoft goes through the GUI method of passing those two commands which GUI’s are supposed to make life easier. But I don’t know how easy it is when you have to hold keys down as you’re restarting then bounce through a bunch of options to get what you want. And besides, since we’re talking about ADB which is a shell extension in itself minus well pass the commands via shell too! It gives more control that way. :)
Anyhow, glad it worked out for you!
Does this do the same thing? Seems like option 7.