4 minute root for Ouya

This is a discussion on 4 minute root for Ouya within the OUYA Hacking forums, part of the OUYA Development category; I tried this root method from XDA and worked perfect. If you cut and paste the code into the command prompt it is quick and ...

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Member Rabid's Avatar
    Join Date
    Jun 2013
    Posts
    82
    Member #
    3635
    Liked
    11 times

    4 minute root for Ouya

    I tried this root method from XDA and worked perfect. If you cut and paste the code into the command prompt it is quick and painless. You can also switch superuser with SuperSu. If you have ADB rivers aready installed it takes about 4 minutes.

    From XDA:


    Setup wired and/or wireless ADB
    (Optional) Put adb.exe in your Windows PATH variable so you can run it from anywhere
    Download and unzip the SuperUser files from Dev-Host - superuser.zip - The Ultimate Free File Hosting / File Sharing Service
    Open an ADB shell with elevated permissions
    Code:

    adb shell su
    Mount the system partition as read-write
    Code:

    mount -o rw,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP
    Exit the ADB shell
    Code:

    exit exit
    or CTRL + C
    Push su to the sdcard
    Code:

    adb push su /sdcard/su
    Open an ADB shell with elevated permissions
    Code:

    adb shell su
    Cat su into /system/xbin
    Code:

    cat /sdcard/su > /system/xbin/su
    Create a symbolic link to su in /system/xbin from /system/bin (safer/cleaner than just putting su directly in the bin folder)
    Code:

    ln -s /system/xbin/su /system/bin/su
    Set the su permissions to -rwsr-sr-x
    Code:

    chmod 6755 /system/xbin/su
    Exit the ADB shell
    Code:

    exit exit
    or CTRL + C
    Install SuperUser
    Code:

    adb install com.koushikdutta.superuser.apk
    Install BusyBox
    Code:

    adb install stericson.busybox.apk
    Run SuperUser on the OUYA (Make > Software > SuperUser) and allow it to update


    Rooted I did a couple of tweaks to clean up the memory and they seem to have worked fine. The biggest thing right now is ro.secure is set to 1 so the root directory only has read access. Everything else is RW.

  2. #2
    Member Rabid's Avatar
    Join Date
    Jun 2013
    Posts
    82
    Member #
    3635
    Liked
    11 times
    Any new update will remove root. Just redo the steps for su, the run Superuser on the Ouya after reboot.

  3. #3
    Administrator Jeffrey's Avatar
    Join Date
    Dec 2012
    Location
    Thailand
    Posts
    270
    Member #
    5
    Liked
    35 times
    Thanks for sharing

  4. #4
    Member Rabid's Avatar
    Join Date
    Jun 2013
    Posts
    82
    Member #
    3635
    Liked
    11 times
    Quote Originally Posted by Jeffrey View Post
    Thanks for sharing
    Thanks, I was going to share the recovery hack, but it looks like one of the last updates removed it.

  5. #5
    Junior Member cronikman84's Avatar
    Join Date
    Jul 2013
    Posts
    3
    Member #
    3721

    Unhappy

    Quote Originally Posted by Rabid View Post
    I tried this root method from XDA and worked perfect. If you cut and paste the code into the command prompt it is quick and painless. You can also switch superuser with SuperSu. If you have ADB rivers aready installed it takes about 4 minutes.

    From XDA:


    Setup wired and/or wireless ADB
    (Optional) Put adb.exe in your Windows PATH variable so you can run it from anywhere
    Download and unzip the SuperUser files from Dev-Host - superuser.zip - The Ultimate Free File Hosting / File Sharing Service
    Open an ADB shell with elevated permissions
    Code:

    adb shell su
    Mount the system partition as read-write
    Code:

    mount -o rw,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP
    Exit the ADB shell
    Code:

    exit exit
    or CTRL + C
    Push su to the sdcard
    Code:

    adb push su /sdcard/su
    Open an ADB shell with elevated permissions
    Code:

    adb shell su
    Cat su into /system/xbin
    Code:

    cat /sdcard/su > /system/xbin/su
    Create a symbolic link to su in /system/xbin from /system/bin (safer/cleaner than just putting su directly in the bin folder)
    Code:

    ln -s /system/xbin/su /system/bin/su
    Set the su permissions to -rwsr-sr-x
    Code:

    chmod 6755 /system/xbin/su
    Exit the ADB shell
    Code:

    exit exit
    or CTRL + C
    Install SuperUser
    Code:

    adb install com.koushikdutta.superuser.apk
    Install BusyBox
    Code:

    adb install stericson.busybox.apk
    Run SuperUser on the OUYA (Make > Software > SuperUser) and allow it to update


    Rooted I did a couple of tweaks to clean up the memory and they seem to have worked fine. The biggest thing right now is ro.secure is set to 1 so the root directory only has read access. Everything else is RW.
    "adb push su /sdcard/su" is not working for me, it gives me an error--->"cannot stat 'su': No Such Files Or Directory"...what am i doing wrong? any help please?

  6. #6
    Member Rabid's Avatar
    Join Date
    Jun 2013
    Posts
    82
    Member #
    3635
    Liked
    11 times
    Quote Originally Posted by cronikman84 View Post
    "adb push su /sdcard/su" is not working for me, it gives me an error--->"cannot stat 'su': No Such Files Or Directory"...what am i doing wrong? any help please?
    You have to have su and superuser.apk in the same folder you are running adb from.

  7. #7
    Junior Member cronikman84's Avatar
    Join Date
    Jul 2013
    Posts
    3
    Member #
    3721
    Quote Originally Posted by Rabid View Post
    You have to have su and superuser.apk in the same folder you are running adb from.
    sorry for my stupidity, but i don't get it...i'm not sure where im running ADB from, i'm just typing the adb commands at the command prompt on my pc and its going threw except that one "adb push su /sdcard/su" message...i feel so stupid right now.

  8. #8
    Junior Member cronikman84's Avatar
    Join Date
    Jul 2013
    Posts
    3
    Member #
    3721
    Quote Originally Posted by cronikman84 View Post
    sorry for my stupidity, but i don't get it...i'm not sure where im running ADB from, i'm just typing the adb commands at the command prompt on my pc and its going threw except that one "adb push su /sdcard/su" message...i feel so stupid right now.
    never mind i figured it out...but when i go to Run SuperUser on the OUYA (Make > Software > SuperUser) and allow it to update, it gives me an error saying---->there was an error installing superuser. please send a log of the error to the developer. what now

  9. #9
    Member Rabid's Avatar
    Join Date
    Jun 2013
    Posts
    82
    Member #
    3635
    Liked
    11 times
    Try re-installing superuser.

  10. #10
    Junior Member jeby's Avatar
    Join Date
    Jul 2013
    Posts
    1
    Member #
    3741
    Hi all,

    I've a problem with this procedure! The

    adb shell
    su

    is not working, I mean... only the "su" part is not working I can't do anything becouse I've not privileges, every operation is not permitted... How can I fix this?

    Thank you

Page 1 of 2 12 LastLast

Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search tags for this page

how to root an ouya
,

how to root ouya

,
how to root the ouya
,

ouya root

,
ouya xda
,
root my ouya
,
root my ouya apk
,

root ouya

,
rooting ouya
Click on a term to search for related topics.