Advertisement
iamtyy

Useful Ouya Information

May 10th, 2013
1,635
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.88 KB | None | 0 0
  1. SDK SETUP:
  2.  
  3. 1. Install the Android SDK
  4. Link: http://developer.android.com/sdk/index.html
  5.  
  6. 2. Open SDK Manager and install the following packages:
  7. - Tools: Including both Android SDK and Android SDK
  8. - Android 4.1 (API 16): SDK Platform
  9. - Android 4.0 (API 14): SDK Platform
  10. - Extras: Android Support Library, Google USB Driver
  11.  
  12. 3. Navigate to /android-sdk/extras/google/usb_driver
  13.  
  14. 4. Open android_winusb.inf in an editor (I use Notepad++)
  15.  
  16. 5. Add the following lines beneath [Google.NTx86]:
  17. ;OUYA Console
  18. %SingleAdbInterface% = USB_Install, USB\VID_2836&PID_0010
  19. %CompositeAdbInterface% = USB_Install, USB\VID_2836&PID_0010&MI_01
  20.  
  21. 6. Connect your Ouya via micro USB to your computer and turn it on (it needs to be on for adb to work)
  22.  
  23. 7. Open a command window in /android-sdk/platform-tools and run the following commands:
  24. adb kill-server
  25. echo 0x2836 >> "%USERPROFILE%\.android\adb_usb.ini"
  26. adb start-server
  27. adb devices
  28.  
  29. 8. After 'adb devices' you should see a number, which signifies your connected console
  30.  
  31. 9. You are now ready to use adb to sideload apps
  32.  
  33. =============================================================================================================
  34.  
  35. SIDELOADING APPS:
  36.  
  37. 1. Place the desired .apk file to be installed within /android-sdk/platform-tools
  38.  
  39. 2. Connect the Ouya and open a command window in /android-sdk/platform-tools and run the following command:
  40. adb install [name.of.apk.file.here]
  41.  
  42. 3. Wait for it to complete the installation
  43.  
  44. 4. On the Ouya, navigate to 'Make' and 'Builds' and your app will be there
  45.  
  46. =============================================================================================================
  47.  
  48. ADDITIONAL STUFF BELOW
  49.  
  50. =============================================================================================================
  51.  
  52. HOW TO SET UP WIRELESS ADB (will allow you to wireless use adb command, without connecting directly to your computer)
  53.  
  54. Connect OUYA console via mini-usb
  55. adb shell
  56. su
  57. mount -o rw,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP
  58. chmod 666 /system/build.prop
  59. Open another terminal (so we can do things locally)
  60. adb pull /system/build.prop
  61. Open build.prop in a text editor, add this line
  62. service.adb.tcp.port=5555
  63. adb push build.prop /system
  64. Now go back to your shell for the OUYA
  65. chmod 644 /system/build.prop (seriously! the console won't boot if you forget this)
  66. mount -o ro,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP
  67. Disconnect your OUYA, put it where you want it, reboot it.
  68. adb connect 192.168.xxx.xxx (your OUYA's ip address)
  69.  
  70. =============================================================================================================
  71.  
  72. HOW TO INSTALL BUSYBOX, SUPERUSER, AND SU BINARIES
  73.  
  74. Link: http://forum.xda-developers.com/showthread.php?t=2270589
  75.  
  76. (These instructions are specific to Mac but are nearly identical to the Windows procedures)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement