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.
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.
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 disable 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 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