FORUMS
Remove All Ads from XDA

[TOOL][ROOT][RECOVERY]Ouya Toolbox v1.1.2 - 07/10/2013 - One-Click

195 posts
Thanks Meter: 211
 
By foil, Senior Member on 4th July 2013, 07:04 PM
Post Reply Email Thread
Ouya ToolBox v1.1.2 - 07/10/2013
One-Click-Style Root/Recovery/Backup/Restore/Sideload/WifiADB


This is a compilation of commands that I found in tcollum's post in this thread in order to obtain a usable su binary, Superuser, CWM Recovery, BusyBox, and some other cool tweaks!
THIS DOES NOT CONFIGURE DRIVERS OR ANYTHING LIKE THAT!
YOU MUST HAVE YOUR DRIVERS INSTALLED PROPERLY OR THIS WILL FAIL
This is for the people who do not know how to download/setup Android SDK/ADT, or know much about ADB in general, and will root for them!
If you've never rooted before - this will root your device.
If you've lost root for some reason - this will root your device.
If you've lost root due to an OTA update - this will root your device.
(for the record: if you have lost your su binary from /system/xbin, you need to reinstall an ota update to recover it. this program does not restore that file, yet.)

If you are having any problems with this program not working right, or getting "exception" errors while using it, please use the TEST VERSION below!

Download:
Ouya ToolBox v1.1.2 - Download
Ouya ToolBox v1.1.2 *TEST* - Download

*TEST VERSION* If you're receiving an 'unhandled.exception' error when you load the program, PLEASE USE THIS VERSION FOR NOW!
50% of you guys are having issues with 1.1.1 or 1.1.2, and the other half aren't (myself included.) There is a problem with the way AndroidLib.dll interfaces with the Ouya's ADB responses. The author, @regaw_leinad and I are going to try to work together to get it resolved!
This version WILL work for you, for root and recovery, but there is NO detection support! It will ALWAYS say that the Ouya is connected!


Instructions
Connect Ouya to your computer via usb
If you're not already rooted (or have lost root,) your first step is to click the Root button. This will configure SU.
Next, install both Superuser and Busybox.
On the Ouya, run Superuser and select "Install" (NOT install from recovery!) from the options.
Run Busybox, grant it root access when it asks, wait for the files to verify on the screen, then select Smart Install.
After that, the rest is up to you! I would suggest installing CWM Recovery and making a full backup!

This program takes a few seconds to open when you run it, because it scans your computer to see if an Android device is attached, and also generates all of the files needed during the process.

I will be implementing more features very soon, and will try to make it look prettier for you guys!
PLEASE let me know of ANY bugs or problems that you encounter! This program is nowhere near complete or finished!

Working
* Root (su configuration)
* Install Superuser
* Install Busybox
* Device detection
* CWM Recovery Installation
* Sideloading APKs
* Manually reboot to.. system/recovery/bootloader
* Manually boot into cwm recovery from bootloader
* Real-time logcat system log viewer
* Open a standard user, or root shell
* Manually mount filesystem as RW or RO

Not Working YET (coding now)
* Wifi ADB toggles
* System Backup/Restore
* APK Backup/Restore
* Wireless ADB connection support


Thank you guys!


Changelog

Ouya ToolBox 1.1.2 (released 07/10/2013)

Modified AndroidLib.dll (thanks to regaw_leinad!) bug fixes&features:

* More detection bug fixes for those with Exception errors.
* Chaned gui appearance slightly
+ Manual installation of APKs
+ Links to FAQs
+ Manually mount filesystem as RW or RO
+ View logcat in real-time
+ Manually open a standard or root shell
+ Manually reboot to Bootloader
+ Manually boot into CWM from Bootloader mode

Ouya ToolBox 1.1.1 (released 07/08/2013)

Complete rewrite of root and recovery functions:

* Fixed broken root script from 1.1
* Fixed broken recovery script from 1.1
* Again fixed detection issues
+ Upgraded to AndroidLib 1.5.1.0 for better stability and improvements

Ouya ToolBox 1.1 (released 07/07/2013)
+ Added CWM Recovery feature

Ouya ToolBox 1.0.1 (released 07/07/2013)

Bug fixes:

* Fixed major bug where su file was not being generated sometimes
* Modified device detection, and it should not hang/freeze now

Ouya ToolBox 1.0 (released 07/05/2013)

This was the first public GUI release:

+ Auto-detects Android device connection
+ Configures SU binaries
+ Installs Superuser.apk and Busybox.apk
+ Quick system reboot
+ Reboot to recovery
+ Displays connected device ADB ID
+ About section with support and donation links
+ Manual device connection scan with Refresh Device button
+ Events disable functions if no device is found
+ Kills adb server upon exit
+ Auto populates resources if they're not found

Ouya ToolBox 0.1a (released 07/04/2013)

This was the first alpha, command-line batch script release:

* Configured SU binaries through ADB
* Installs Superuser and BusyBox APKs through ADB

Very special thank you to:
Natan G - For his $20 donation!
Dennis G For his $4 donation!
Attached Thumbnails
Click image for larger version

Name:	ouya_toolbox.jpg
Views:	1215
Size:	47.5 KB
ID:	2100723  
The Following 40 Users Say Thank You to foil For This Useful Post: [ View ] Gift foil Ad-Free
 
 
4th July 2013, 07:44 PM |#2  
Member
Thanks Meter: 3
 
More
Quote:
Originally Posted by foil

This is a small .bat script that will run the commands listed in tcollum's post in this thread in order to obtain Superuser (su) and BusyBox!
THIS DOES NOT CONFIGURE DRIVERS OR ANYTHING LIKE THAT!
YOU MUST HAVE YOUR DRIVERS INSTALLED PROPERLY OR THIS WILL FAIL
This is for the people who do not know how to download/setup Android SDK/ADT, or know much about ADB in general, and will root for them!

This does not do anything else (ie: setup wireless ADB, etc..,) so check his thread if you want to manually do those things.'

I figured I would post this for now, until I finish my one-click style GUI application that I'm currently working on that will root/wifi-adb/backup/restore/install/recovery for the Ouya

I will modify this thread once my application is complete!
eta: 1-2 days

Download:
http://www.f0il.com/OuyaToolbox.zip

Instructions
Run ouya.bat
That's all

(package includes: adb, adbwinapi, adbwinusbapi, ouya.bat, smile.txt, fastboot, superuser apk, su binary, busybox apk)

Please let me know if you you have any problems, as this is just something that I threw together very quickly before work!

Thank you guys!

Thanks a lot, what is the differences with Ouya sdk helper ?

My edition : it'snt the same thing.
4th July 2013, 07:52 PM |#3  
foil's Avatar
OP Senior Member
Flag 0x000000FF
Thanks Meter: 211
 
More
I'm not sure what sdk helper is??
The Following User Says Thank You to foil For This Useful Post: [ View ] Gift foil Ad-Free
4th July 2013, 08:04 PM |#4  
Member
Thanks Meter: 3
 
More
Quote:
Originally Posted by foil

I'm not sure what sdk helper is??

this : http://news-ouya.blogspot.com/2013/0...er-beta-2.html
The Following User Says Thank You to simbaba For This Useful Post: [ View ] Gift simbaba Ad-Free
4th July 2013, 08:31 PM |#5  
foil's Avatar
OP Senior Member
Flag 0x000000FF
Thanks Meter: 211
 
More
Quote:
Originally Posted by simbaba

this : http://news-ouya.blogspot.com/2013/0...er-beta-2.html

Oh wow, I've never seen that before! Looks pretty cool, though, I'm going to check it out.
Thank you!
The Following User Says Thank You to foil For This Useful Post: [ View ] Gift foil Ad-Free
5th July 2013, 01:14 AM |#6  
Senior Member
Thanks Meter: 58
 
More
Very cool!
The Following User Says Thank You to tcollum For This Useful Post: [ View ] Gift tcollum Ad-Free
5th July 2013, 04:26 AM |#7  
Senior Member
Flag Boston
Thanks Meter: 33
 
More
When I go into SuperUser I get an install via recovery or install option. I picked the plain install option and it fails.

Something ain't right here, because I had SU before but jacked up my system trying to do the App store mod, so I had to manually sideload the latest ota update through adb.

Sent from my Nexus 10 using Tapatalk HD
5th July 2013, 07:45 AM |#8  
Senior Member
New York
Thanks Meter: 53
 
More
Could you pare this down so that it only gets su back up and running after an OTA? I've been doing it with the Google sdk, but that is getting annoying to do so frequently.

Sent from my SCH-I535 using Tapatalk 4 Beta
5th July 2013, 07:54 AM |#9  
Senior Member
Thanks Meter: 34
 
More
Sorry if this is obvious to others, but I wanted to ask to make sure.

This can be used after losing root from an update? I originally followed tcollums instructions, but after each update you lose SU binary's.

I'm also assuming this script tries to sideload SU and busybox, but in my case those are still installed, so would you consider making two files, one that does everything from scratch and one that is made for those who have lost root from an OTA update?

One last question, and I'm pretty sure I know the answer, you just run this from your computer connected to the OUYA, right?


Thanks!
5th July 2013, 06:08 PM |#10  
foil's Avatar
OP Senior Member
Flag 0x000000FF
Thanks Meter: 211
 
More
Quote:
Originally Posted by JLCollier2005

Sorry if this is obvious to others, but I wanted to ask to make sure.

This can be used after losing root from an update? I originally followed tcollums instructions, but after each update you lose SU binary's.

I'm also assuming this script tries to sideload SU and busybox, but in my case those are still installed, so would you consider making two files, one that does everything from scratch and one that is made for those who have lost root from an OTA update?

One last question, and I'm pretty sure I know the answer, you just run this from your computer connected to the OUYA, right?


Thanks!

Yes, if you lose root after an update, just connect your Ouya to your computer via usb, run this script, and it will setup everything you need in order to be rooted again.


For everybody else that asked - I have added a NoAPK package in the original post, that does not contain Superuser or Busybox apk's, only SU binaries.

Kevinb - choosing the regular "install" option (not install from recovery) was the right choice, it should have worked for you.. When you run the script, are you seeing any errors or anything? I've ran it on my Ouya quite a few times before I posted it, and it worked every time, along with a few other people that were testing it for me.
The Following 2 Users Say Thank You to foil For This Useful Post: [ View ] Gift foil Ad-Free
6th July 2013, 12:03 AM |#11  
Senior Member
Thanks Meter: 34
 
More
Quote:
Originally Posted by foil

Yes, if you lose root after an update, just connect your Ouya to your computer via usb, run this script, and it will setup everything you need in order to be rooted again.


For everybody else that asked - I have added a NoAPK package in the original post, that does not contain Superuser or Busybox apk's, only SU binaries.

Thank you, foil! This is perfect! I was thinking of doing a script for it, but I have such limited knowledge of how to do them I was worried I might screw something up, so again thank you for doing this! I downloaded it and will be trying it out in a few minutes.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes