The only way I have been able to get adb working to OUYA is through editing the Windows driver manually this way (the first part) Open android_winusb.inf and 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
and then:
adb kill-server
echo 0x2836 >> "%USERPROFILE%\.android\adb_usb.ini"
adb start-server
adb devices
But I know this is editing the Windows speicific generic driver that comes in the SDK. Does anyone know if I need to edit something like this on Ubuntu or how to get it connected to ADB on there? Thanks in advance for any help. I mainly use Ubuntu on a desktop, and my OUYA sits right beside that monitor and its MUCH easier to use Ubuntu, otherwise I have to sit at tihs computer with a laptop in my lap connected to the OUYA. So more of a convenience thing.
lemonoid said:
The only way I have been able to get adb working to OUYA is through editing the Windows driver manually this way (the first part) Open android_winusb.inf and 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
and then:
adb kill-server
echo 0x2836 >> "%USERPROFILE%\.android\adb_usb.ini"
adb start-server
adb devices
But I know this is editing the Windows speicific generic driver that comes in the SDK. Does anyone know if I need to edit something like this on Ubuntu or how to get it connected to ADB on there? Thanks in advance for any help. I mainly use Ubuntu on a desktop, and my OUYA sits right beside that monitor and its MUCH easier to use Ubuntu, otherwise I have to sit at tihs computer with a laptop in my lap connected to the OUYA. So more of a convenience thing.
Click to expand...
Click to collapse
Yes, you still need to add the ouya ID to adb_usb.ini. Assuming you have a ~/.android/ directory, use this command to add the ID.
Code:
echo 0x2836 >> ~/.android/adb_usb.ini
Related
Just hooked this baby up. Amazon, of course, doesn't provide any information on USB drivers or on how to enable debugging on the device. Probably one of their attempts at "security".
Anyway, looking for two things:
1. Any leads on drivers for windows. I could also do this on a Mac
2. How to enable debug mode so that I can actually test my damn apps on the device.
Everyone keeps talking about how they suspect this is running on cheapened-up BB Playbook hardware... not sure that would help at all...
breon said:
Found it. It's pretty easy. http://blog.actlocalmedia.com/2011/11/developing-on-kindle-fire.html
Click to expand...
Click to collapse
keyesdav, this should help. Thought I'd cross-post (cross-quote?) it over here in case you didn't see / haven't found it yet.
I was able to use the google adb driver on win7 x64, but you have to add the device id to the ini file.
Edit %androidsdkdir%\google-usb_driver\android_winusb.inf
Try adding the following lines under [Google.NTx86] AND [Google.NTamd64]
;Kindle Fire
%SingleAdbInterface% = USB_Install, USB\VID_1949&PID_0006
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0006&MI_01
Still unable to get Kindle Fire to attach to Win 7 x64
I have a Lenovo W520 laptop. I've made these changes, however the Kindle Fire still comes up unrecognized in the Device Manager.
adb devices shows nothing
repeated adb kill-server, adb start-server no change
Help!
BTW, my "google_usb_driver" directory is in C:\Program Files (x86)\Android\android-sdk\extras\google\usb_driver.
Did they move it recently?
Did you go to Device Manager on your PC and then select the Kindle 'Unknown Device' and update the driver by selecting the Inf file you had edited? After updating the driver the system will then show the ADB connection. This is the same process to go through when doing the Root.
That worked!! Thanks!
(I didn't have to do this when I rooted my Galaxy Tab. Samsung provided a driver.)
As title suggests, prior to rooting the Kindle and flashing JB 4.4.2 I was able to access the Kindle via the ADB. Now when I plug in my kindle it detects the Kindle as a Portable Media Player and Device Manager shows Amazon Kindle Fire under Other Devices with a yellow exclamation as well as under Portal Devices with no excalamation (I believe this is the Portable media Player).
I have tried to follow the same steps prior to rooting to get it connected to the ADB but when I attempt to install the drivers from the Android SDK after updating
android_winusb.inf
;Kindle Fire
%SingleAdbInterface% = USB_Install, USB\VID_1949&PID_0006
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0006&MI_01
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_0100
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_0100&MI_01
and adb_usb.ini
# ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.
# USE 'android update adb' TO GENERATE.
# 1 USB VENDOR ID PER LINE.
0x1949
When attempting to install the driver via 'Update Driver' in device manager. I am getting a "Windows could not find driver software for you device"
When booting into TWRP the driver that loads is connected to the ADB.
Any help would be much appreciated.
Thanks,
Jmack
http://forum.xda-developers.com/showthread.php?t=2179748
its pretty early in the morning and all i want to do is sleep, so i got to apologize for possible typos and lazy writing, and whats even worse is that im a complete noob on the android platform, so please bear with me. (hi, im the new guy btw)
anyways, i fu'd my "su" up by resetting after rooting and now i cant sideload the ota in recovery mode to fix it.
what i do:
get ouya into recovery (adb reboot recovery) and select "something something from adb"
(sorry, its really, REALLY early and i ran out of coffee)
the screen then gives me the message:
Now send the package you want to apply to the device with "adb sideload <filename>"...
and thats the point where im stuck, after typing "adb sideload RC-OUYA-1.0.346-r1_ota.zip" it just tells me: error: device not found.
i also tried "adb install RC-OUYA-1.0.346-r1_ota.zip" but that just gave me the same error with the message "- waiting for device -" below.
also adb doesnt recognize the ouya in recovery mode (adb devices gives me an empty list) but DOES recognize the console out of recovery.
i can also still boot it up and play with the settings, the only issue is that sometimes wifi just randomly refuses to work (and i dont have any games installed so i cant test that)
its not really important but,
what i did:
i sucessfully finished the [how to] adb sideloading superuser-access tutorial by ty collum (not the wireless part)
and then i tried booting CWM (the one click batch thing) which gave me the "OUYA!" screen (just like in recovery mode) so i made a factory reset, after which i couldnt access su anymore. (which again is why i want to sideload the ota, to start over.)
thats all i can think of for now, if someone needs more infos just ask, apologies again for being a little inconvenient, but im really tired.
sincerely smokey.
EDIT:
nobody has even the slightest clue what could cause this? drivers, missing librarys, a bug in the sdk, nothing?
just reinstalled windows 7 ultimate x64 (had to do it anyway) and going to retry the procedure now, reporting back once im done.
UPDATE
solved it by trial & error. what happened:
apparently my (any?) ouya changes its hardware id after going into recovery, so i had to reinstall the driver IN recovery mode:
its basically the driver installation procedure
(google "setup instructions for the ouya odk" for a text or "ouya on windows driver setup" for a video tutorial)
with a slight change, instead of pasting:
Code:
;OUYA Console
%SingleAdbInterface% = USB_Install, USB\VID_2836&PID_0010
%CompositeAdbInterface% = USB_Install, USB\VID_2836&PID_0010&MI_01
into the android_winusb.inf open your hardware monitor and check your ouya's hardware id
(right click on the device->properties->details->and select hardware id's from the dropdown menu,
you need the one WITHOUT "REV_xxxx" in it)
and replace your id with the one in the "%CompositeAdbInterface%" line above, in my excample it now looks like this:
Code:
;OUYA Console
%SingleAdbInterface% = USB_Install, USB\VID_2836&PID_0010
%CompositeAdbInterface% = USB_Install, [B]USB\VID_18D1&PID_D001[/B]
EDIT
at this point you can simply continue the driver installation tutorial
Click to expand...
Click to collapse
after that proceed to sideload the ota via "adb sideload *filename*.zip"
also it now shows up in the "adb devices" list while in recovery mode (my ouya never showed up in recovery before)
greetings smokey.
THANKS!!!
iAmSmokey said:
UPDATE
solved it by trial & error. what happened:
apparently my (any?) ouya changes its hardware id after going into recovery, so i had to reinstall the driver IN recovery mode:
its basically the driver installation procedure
(google "setup instructions for the ouya odk" for a text or "ouya on windows driver setup" for a video tutorial)
with a slight change, instead of pasting:
Code:
;OUYA Console
%SingleAdbInterface% = USB_Install, USB\VID_2836&PID_0010
%CompositeAdbInterface% = USB_Install, USB\VID_2836&PID_0010&MI_01
into the android_winusb.inf open your hardware monitor and check your ouya's hardware id
(right click on the device->properties->details->and select hardware id's from the dropdown menu,
you need the one WITHOUT "REV_xxxx" in it)
and replace your id with the one in the "%CompositeAdbInterface%" line above, in my excample it now looks like this:
Code:
;OUYA Console
%SingleAdbInterface% = USB_Install, USB\VID_2836&PID_0010
%CompositeAdbInterface% = USB_Install, [B]USB\VID_18D1&PID_D001[/B]
after that proceed to sideload the ota via "adb sideload *filename*.zip"
also it now shows up in the "adb devices" list while in recovery mode (my ouya never showed up in recovery before)
greetings smokey.
Click to expand...
Click to collapse
you are a legend, i was having the same issue with x64, i just did a system restore to back up right before I started all this jazz. through hours of researching, regarding how to reset my drivers from the MTP USB device, to click ALT+Sysrq+i for a solid half hour. this post with the the slight alter in code was the final touch to being able to sideload. my OUYA is now back up and running! THANKS!
You can also append the line, you don't have to replace it.
Like this:
Code:
;OUYA Console
%SingleAdbInterface% = USB_Install, USB\VID_2836&PID_0010
%CompositeAdbInterface% = USB_Install, USB\VID_2836&PID_0010&MI_01
%CompositeAdbInterface% = USB_Install, [B]USB\VID_18D1&PID_D001
[/B]
Btw thanks mate!
I was setting up adb to fix the wifi on hashcodes 4.3 rom.....after i got it set up i tried to run it but it wouldnt run adb shell fix-mac.sh without being in the platform-tools folder....(yes my drivers are installed) and it asked for root#otter when i entered the command....supersu is set to allow commands from the computer and i dont know what to do...i dont want to switch roms...and yes i just reinstalled my drivers (they werent working before).Can anybody tell me whatt to enter in after that or a way around it?
Go to developer options and enable Android Debugging. On your computer does it come up Android Composite ADB Interface? If not it is likely that modifications will have to be done to the win_usb.ini file and the driver reinstalled. Also when it is fixed you should see a prompt on your kindle screen to allow ADB from your computer specifically. Here is where you can find answers to resolve most issues with ADB http://forum.xda-developers.com/showthread.php?t=2179748 .
Thepooch said:
Go to developer options and enable Android Debugging. On your computer does it come up Android Composite ADB Interface? If not it is likely that modifications will have to be done to the win_usb.ini file and the driver reinstalled. Also when it is fixed you should see a prompt on your kindle screen to allow ADB from your computer specifically. Here is where you can find answers to resolve most issues with ADB http://forum.xda-developers.com/showthread.php?t=2179748 .
Click to expand...
Click to collapse
His thread isn't relevant as I installed the drivers (it said the drivers were adb composite interface) via windows update and I used android SDK for other things..my kindle does show up in adb devices and I do have USB debugging right now...I don't have access to my backup laptop right now (my backup laptop has everything on it and runs windows xp) and my main laptop is how can I word it.....dead so I can't check what it shows up as
Jacobloveskindles said:
His thread isn't relevant as I installed the drivers (it said the drivers were adb composite interface) via windows update and I used android SDK for other things..my kindle does show up in adb devices and I do have USB debugging right now...I don't have access to my backup laptop right now (my backup laptop has everything on it and runs windows xp) and my main laptop is how can I word it.....dead so I can't check what it shows up as
Click to expand...
Click to collapse
So what are you doing? You have me confused and I can resolve about 90% of driver related issues. I could always look then it doesn`t have to be guessing game .
Thepooch said:
So what are you doing? You have me confused and I can resolve about 90% of driver related issues. I could always look then it doesn`t have to be guessing game .
Click to expand...
Click to collapse
I was just saying I'll check if it says adb composite interface when I plug it in into my backup laptop in the morning
Jacobloveskindles said:
I was just saying I'll check if it says adb composite interface when I plug it in into my backup laptop in the morning
Click to expand...
Click to collapse
Ahh got ya.
Thepooch said:
Ahh got ya.
Click to expand...
Click to collapse
Well when I plug it in it shows up as this: http://m.imgur.com/7d3tIdJ but in device manager it shows this: http://m.imgur.com/GlQZLnS
I'm running windows xp pro 32-bit and my kindle is (you know) on hashcodes stock 4.3 ROM and I'm trying to issue the WiFi fix command
I have superSU installed from recovery and usb debugging enabled...although i don't think it matters it has cotr recovery installed
Jacobloveskindles said:
Well when I plug it in it shows up as this: http://m.imgur.com/7d3tIdJ but in device manager it shows this: http://m.imgur.com/GlQZLnS
I'm running windows xp pro 32-bit and my kindle is (you know) on hashcodes stock 4.3 ROM and I'm trying to issue the WiFi fix command
I have superSU installed from recovery and usb debugging enabled...although i don't think it matters it has cotr recovery installed
Click to expand...
Click to collapse
No it doesn`t matter that you have COTR installed I see that is shows up as android adb interface that is the incorrect facet of a multi-faceted driver. it is appear as if the device is in fastboot. It needs to read Android Composite ADB Interface. Right click where it sad Android ADB Interface select update driver then point it to the driver folder in KFU. XP is inherently difficult to make this happen several things need to be in place to force it to work because it refuses often to install a driver that is Unsigned. Right click on Android ADB interface select properties, then hardware id. Make sure the correct VID and PID matches are in the android_winusb. ini .
Code:
[Google.NTx86]
;Kindle Fire
%SingleAdbInterface% = USB_Install, USB\VID_1949&PID_0006
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0006&MI_01
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_0100
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_0100&MI_01
%SingleAdbInterface% = USB_Install, USB\VID_1949&PID_0001
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0001&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0001&REV_0216&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0004&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0004&REV_0216&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0007&REV_0216&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0007&MI_01
Code:
[Google.NTamd64]
;Kindle Fire
%SingleAdbInterface% = USB_Install, USB\VID_1949&PID_0006
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0006&MI_01
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_0100
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_0100&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0004&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0004&REV_0216&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0007&REV_0216&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0007&MI_01
If not add them, then click save make sure there is a copy of this in your .android folder as well as a copy of the adb_usb. conf with is line inside 0x1949 then reinstall the driver by pointing it to the driver do not allow Microsoft to help you with the update it is pointless simply just direct the installation to the driver folder skip searching update and it may install. Sometimes you must uninstall then reinstall to get it right. As you can see there is alot more to it. If it comes up with this code
Code:
0123456789 offline
instead of
Code:
0123456789 device
when you
Code:
adb devices
your not there yet so keep trying or let a pro in there to help you fix it . Watch for the prompt on your kindle screen to allow adb specifically from your computer. Good luck.
Thepooch said:
No it doesn`t matter that you have COTR installed I see that is shows up as android adb interface that is the incorrect facet of a multi-faceted driver. it is appear as if the device is in fastboot. It needs to read Android Composite ADB Interface. Right click where it sad Android ADB Interface select update driver then point it to the driver folder in KFU. XP is inherently difficult to make this happen several things need to be in place to force it to work because it refuses often to install a driver that is Unsigned. Right click on Android ADB interface select properties, then hardware id. Make sure the correct VID and PID matches are in the android_winusb. ini .
Code:
[Google.NTx86]
;Kindle Fire
%SingleAdbInterface% = USB_Install, USB\VID_1949&PID_0006
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0006&MI_01
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_0100
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_0100&MI_01
%SingleAdbInterface% = USB_Install, USB\VID_1949&PID_0001
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0001&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0001&REV_0216&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0004&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0004&REV_0216&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0007&REV_0216&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0007&MI_01
Code:
[Google.NTamd64]
;Kindle Fire
%SingleAdbInterface% = USB_Install, USB\VID_1949&PID_0006
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0006&MI_01
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_0100
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_0100&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0004&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0004&REV_0216&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0007&REV_0216&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0007&MI_01
If not add them, then click save make sure there is a copy of this in your .android folder as well as a copy of the adb_usb. conf with is line inside 0x1949 then reinstall the driver by pointing it to the driver do not allow Microsoft to help you with the update it is pointless simply just direct the installation to the driver folder skip searching update and it may install. Sometimes you must uninstall then reinstall to get it right. As you can see there is alot more to it.
Click to expand...
Click to collapse
I used the found new hardware wizard to reinstall the drivers from kfu because those drivers didn't install for me this was before...and yes the kfu drivers said they were unsigned.I also have the android SDK installed if that helps...you are confusing me....before I had the drivers installed it showed up as mtp...I'm not in fastboot I'm in the ROM when I plug it in.....please help me..not..be..confused
Jacobloveskindles said:
I used the found new hardware wizard to reinstall the drivers from kfu because those drivers didn't install for me this was before...and yes the kfu drivers said they were unsigned.I also have the android SDK installed if that helps...you are confusing me....before I had the drivers installed it showed up as mtp...I'm not in fastboot I'm in the ROM when I plug it in.....please help me..not..be..confused
Click to expand...
Click to collapse
I can fix your problem not your confusion best you let me show you. PM sent unread your private messages.
Thepooch said:
I can fix your problem not your confusion best you let me show you.
Click to expand...
Click to collapse
K.show me :cyclops::good: (I'm bored right now...sorry)
Jacobloveskindles said:
K.show me :cyclops::good: (I'm bored right now...sorry)
Click to expand...
Click to collapse
Unread your private messages.
I for the life of me can't figure out why my computer won't recognise my Pixel C for ADB.
Bit of background, using Win 7 64 bit. Never had a problem with this computer recognising phones for ADB (including various Nexus phones/tablets and Sony Xperia Z3 Dual).
My computer recognises the Pixel C as a device, and I've read through the various other posts of people having these problems, including:
http://forum.xda-developers.com/pixel-c/help/help-getting-pixel-c-recognized-adb-t3268991 and installing the adb installer suggested in that thread. I normally use Wug's Nexus toolkit and I don't think I've got a problem with the ADB drivers on my computer. I've tried to uninstall and then reinstall adb drivers a few times, but that doesn't work either.
I don't think its the cable I bought as well, because I have used the cable on another computer (borrowed) and ADB worked fine on that computer.
Any suggestions, or am I missing something?
Does it show up but can't find the driver? I have this issue with Windows 10 (currently fighting with it, that's how I found this thread). You need to add these device strings to android_winusb.inf for it to install the drivers, but it keeps telling me the correct hash isn't there, this is how I fixed it before.
Code:
;Google Pixel C
%SingleBootLoaderInterface% = USB_Install, USB\VID_18D1&PID_5201
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_5201
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_5201&MI_01
Edit: Just remembered an easier way: if the driver isn't installed, try to install it manually and select it from the list and select "Android Devices" then "ADB interface", and it should work.
Hi sorry, no-one every responded to the thread, so I didn't update it. I actually got it to work. Basically I deleted all my ADB drivers (and I had a lot, from all the various devices I have had over the years). I then plugged the pixel c in and boom it installed the driver correctly.