[HOWTO] adb / sideloading / superuser access

DivinityCycle

Senior Member
Jul 29, 2010
484
265
0
Portland, OR
Many thanks to OP, this thread made rooting my Ouya easy, and now I have both ADB working over the network AND an SSH / SFTP server running on my Ouya as well. That plus a static IP has made sideloading apps and messing around with the device trivial, and I can easily do that without removing it from my home theater or changing any cabling :)
 

TadeoNYC

Senior Member
May 9, 2013
281
50
0
New York
Interesting. Neither my laptop nor desktop would use the driver until I added that to the 64 section. I have the 64-bit SDK.

Sent from my Nexus 10 using XDA Premium HD app
Out of curiosity, when putting the driver in both sections did it install automatically

Sent from my SCH-I535 using Tapatalk 2
 

tennisbgc

Senior Member
May 27, 2013
90
3
0
After rooting the ouya I resently connected it to my pc and it doesnt show up at all under device manager.

Update: I did a factory reset and ouya showed up under mobile device and other device and I was able to have it show up as android adb device but when I run this command
adb kill-server
echo 0x2836 >> "%USERPROFILE%\.android\adb_usb.ini"
adb start-server
adb devices
theres no number after adb devices

Update: got it working
 
Last edited:

jhitesma

Member
Mar 30, 2009
44
9
0
Yuma
Ok, something odd seems to have happened to my adb/su and I'm trying to figure out what...

After the last OTA I went to restore SU access and was able to modify the build prop to re-enable wireless adb which is what I prefer since the computer next to my Ouya has a lousy keyboard so I prefer using on in the other room for adb stuff.

I was able to get wireless adb going and can connect - but when I try to 'su' I get 'Permission Denied'.

And when I plug in over USB the Ouya isn't showing up under adb devices anymore (I've tried killing and restarting the adb server.) The Ouya gives a notification that USB debugging is connected, but I can't find it in device manager (I do get the media device connection still.)

So I can't load busybox superuser and the modified su.

Any thought?
 

jhitesma

Member
Mar 30, 2009
44
9
0
Yuma
Apparently I got further than I remember last night after the reset. I was able to install busy box and superuser and they both worked, could also run titanium. So maybe I did get su updated before I fell asleep. But I can't su in the adb shell and still don't see the Ouya when I plug in through USB. Is this normal when using wireless adb?
 

tcollum

Senior Member
Feb 10, 2011
142
57
0
Apparently I got further than I remember last night after the reset. I was able to install busy box and superuser and they both worked, could also run titanium. So maybe I did get su updated before I fell asleep. But I can't su in the adb shell and still don't see the Ouya when I plug in through USB. Is this normal when using wireless adb?
In the past I haven't seen the Ouya when I plug it in, after I've enabled adb over wireless. I don't know why you can't get su in the shell, however.
 

lovekeiiy

Senior Member
Jun 28, 2011
1,044
207
0
SF Bay Area
I had a few issues trying to get Ouya to be seen by ADB. I was having a driver issue. I found a nice YouTube that help me a lot. And just goes over a few more details that the OP does cover, which are more to cover some potential problems

I found both the OP and what Ouya gave were on the same lines: Setting Up OUYA ODK
 
  • Like
Reactions: tcollum

OreBoySwaggin

Senior Member
Feb 26, 2012
135
26
0
Portland Metro
Don't Do ADB over network!

I don't want to sound like a n00b but i did adb over network and i couldn't install CWM because in the bootloader i couldn't adb since network adb was default. everytime i'd turn on my ouya ADB over network was on. Caused me to screw up my ouya and return it :( but whatever ill buy a new one later.
 

simbaba

Member
Jun 27, 2013
37
3
0
Hi,
I have a problem with this part :
HOW TO INSTALL BUSYBOX, SUPERUSER, AND SU BINARIES

...

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

Code:
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
The dos window say that :


What the problem ?

Thanks a lot.
 
  • Like
Reactions: Ouya-XD

Phen0m

Senior Member
Aug 10, 2008
207
8
0
So, I am able to push the su and superbusy/busybox apks, to my Ouya, but The superuser app, always fails to update when I enter it. It states that I should contact the developer. The busybox then states that SU cannot be found, so it also will not run.

I have used rootchecker to check my root status, and it says im ok in that regard.

Any thoughts?
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone