Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SDK SETUP:
- 1. Install the Android SDK
- Link: http://developer.android.com/sdk/index.html
- 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]:
- ;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:
- 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:
- 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)
- Connect OUYA console via mini-usb
- adb shell
- su
- mount -o rw,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP
- chmod 666 /system/build.prop
- Open another terminal (so we can do things locally)
- adb pull /system/build.prop
- Open build.prop in a text editor, add this line
- service.adb.tcp.port=5555
- adb push build.prop /system
- Now go back to your shell for the OUYA
- chmod 644 /system/build.prop (seriously! the console won't boot if you forget this)
- mount -o ro,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP
- Disconnect your OUYA, put it where you want it, reboot it.
- adb connect 192.168.xxx.xxx (your OUYA's ip address)
- =============================================================================================================
- HOW TO INSTALL BUSYBOX, SUPERUSER, AND SU BINARIES
- Link: http://forum.xda-developers.com/showthread.php?t=2270589
- (These instructions are specific to Mac but are nearly identical to the Windows procedures)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement