ReRoot Your OUYA 8


So you want to root your OUYA?

Before I updated my OUYA to the latest firmware “Chickcharney” I decided to come up with a way to backup some regularly used application locations. Mainly so I don’t have to setup the locations and files again and thus ReRoot was born. The application will install a number of apks and will also back up a few directories, listed below.

 

Directories Backed up

  • /system/xbin
  • /etc/init.d
  • /etc/cron.d

 

How To Use

This application is used over ADB and requires two steps. To connect via ADB I recommend using the wireless ADB option under the Manage -> Development area on the OUYA.

 

Copy files to the OUYA:

You first need to get the extracted folder onto the OUYA, either put it on a thumbdrive or copy it over via ADB.

 

Prepare forĀ a Firmware Update

Backup the data before you install an update, this is a must if you want to keep your settings.

 

Restore your settings and apks

After you update your OUYA you can restore your settings and missing apps.

 

This is my first go at Root

If this is your first go at rooting then just use this command to install all the regular root applications

 

What Can This Do?

  • Install Root
  • Install Init.d (Requires Root)
  • Install Cron.d (Requires Root & Init.d)
  • Install Google Play Store (Requires Root)
  • Permanently Enable Network ADB (Requires Root)
  • Download the latest OTA to /sdcard (Requires Root)
  • Setup cleanup script to run every hour (Requires Crond)
  • Setup cache cleaner and reboot to run every week (Requires Crond
  • Setup swap on USB (Requires Init.d)

 

Say Thanks

If you like this script or find it useful then please consider buying me a pint! As we all know it takes time to develop things like this and test them, so yea.

Donate

 

NOTE

This is not a silver bullet, though it is damn close. You will still need to enter the installed applications to turn them on or reactivate some settings in some cases. But at least you will be able to cut down on much of the manual labour.

 

UPDATE

You asked I have done it, now you can pick and choose what features you want to install and there are even more things you can do with the script!

Download


Keep it clean and witty!

8 thoughts on “ReRoot Your OUYA

    • Eldon McGuinness Post author

      No it will not, to be clear this does not automatically retain anything, it is up to the user to run this script when they have their system setup they way they like in order to make a backup. After which they need to run the restore to restore the backed up settings.

      I could add the directory that the file is in to be backed up, but is it something that you think needs to be backed up?

  • Hamilton McWhorter

    I did the first steps (Copy files to the OUYA:) successfully and was able to enter shell and get the “shell@android:/ $” prompt in the cmd window, but when I try to follow the “This is my first go at Root” instructions, I get this:

    So, I figured out I needed to change to the reroot directory (doh!), and get this:

    I know this is a really nooby question but can you offer any advice?

    Thanks in advance,

    – Hamilton

    • Eldon McGuinness Post author

      If you run “su” via adb and you get a permission denied error then it is likely the permissions of the su file are not right. The quickest way to fix it is to get the OUYA into the recovery console and then sideload the latest OTA onto the OUYA. This will result in the OUYA be reset and all your data being wiped from it.

      In case you were wondering, a normal reset will not do the trick as it does not seem to touch the su binary or its permissions.

      How to recover your OUYA

      • Hamilton McWhorter

        Thank you for answering so quickly,

        I was able to get the OUYA rooted using KingRoot using the instructions found here;

        http://ouyabrew.com/updated-one-click-root/

        I then loaded Koying’s SPMC with the launcher and all is good now! I can shut down or reboot the OUYA right from SPMC (which was what I was after).

        Again, thanks for all your help,

        – Hamilton