[Ouya Android Development] tcollum:
Hey everyone! I put together some information on how to do a few things on your new Ouya! This info is by no means my own original contributions, but rather just a compilation of several different sources that I discovered through my quest to explore my Ouya. All credit goes to the original authors/brave experimenters.

SDK SETUP:

1. Install the Android SDK

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)

1. Connect OUYA console via mini-usb (or using wireless adb) and run the following commands:

adb shell
su
mount -o rw,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP
chmod 666 /system/build.prop

2. Open another terminal (so we can do things locally) and run the following command:

adb pull /system/build.prop

3. Open build.prop in a text editor, add this line:

service.adb.tcp.port=5555

4. Return to the second command window and run the following command:

adb push build.prop /system

5. Now go back to your shell for the OUYA and run the following commands:

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

6. Disconnect your OUYA, put it where you want it, reboot it.

7. To wirelessly connect to your OUYA, use the following command:

adb connect 192.168.xxx.xxx

(your OUYA's ip address)

=============================================================================================================

HOW TO INSTALL BUSYBOX, SUPERUSER, AND SU BINARIES

1. Make sure you have ADB set up and working (wired or wireless).

2. Download and unzip the needed files here.

3. Place unzipped files in /android-sdk/platform-tools

4. Run the following commands to put su in the proper place:

adb shell
su
mount -o rw,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP
exit
exit
adb push su /sdcard/su
adb shell
su
cat /sdcard/su > /system/xbin/su
ln -s /system/xbin/su /system/bin/su
chmod 6755 /system/xbin/su
exit
exit

5. Install SuperUser and BusyBox:

adb install com.koushikdutta.superuser.apk
adb install stericson.busybox.apk

6. Run SuperUser on the Ouya (from Make > Software) and confirm the update (not in recovery).

=============================================================================================================

Again, this isn't my original content, only slightly edited (since I am OCD about writing).

My only intention is to share this knowledge with other users like me, who don't know much about this sort of thing (yet).

If i stepped on any toes, or did something wrong, I apologize. Let me know if you have any questions or concerns.

Thank you to the following people for their work in contributing to this guide:

WinDroidGuy

elmerohueso