Which OEM Would You Like to Help?

Most manufacturers have moments of greatness and moments of decadence, and in the past few years … more

Root T-Mobile S6/Edge on 5.1.1 Without Tripping Knox

If you purchase phones from a carrier, you may be no stranger to the difficulties … more

IonVR Coming Soon, HTC M9 Dev Edition Gets Android 5.1 – XDA TV

The HTC M9 Developer Edition has received Android 5.1. That and … more

Android 5.1.1 Omni ROM For Motorola Xoom

Back in Feb 2011, the Motorola Xoom became the first device to be sold with Android 3.0 … more

[HOWTO] Expand storage space with Link2SD and SDExt2Mounter

141 posts
Thanks Meter: 121
By WhoDunnit, Senior Member on 30th June 2013, 11:36 PM
Post Reply Subscribe to Thread Email Thread
I guess everybody would like to expand the Ouya's internal memory. I tried the usual tools, and although DirectoryBind is working, it doesn't help much because there are no obb or data directories to be moved for Ouya games.

However, Link2SD works just fine!

  1. Installed SuperUser on Ouya
  2. Link2SD apk
  3. USB drive with a 2nd primary partition formatted as ext4

There are plenty of guides that explain how to get the SuperUser apk installed, so just use the search button above.

The Link2SD apk you can install on your phone from Google Play, and copy it to some place from where you can install it on your Ouya.

Use any tool (gparted, MiniTool Partition, etc.) to create a 2nd, primary partition on your USB drive, and format it to ext4. Use the search button if you are in doubt.

Now, Link2SD does not seem to recognize that there is indeed an ext4 formatted 2nd partition on the USB drive.
To make it work you have to mount it manually (see below), or install my SDExt2Mounter for Ouya, or use the script in post #3.

Manual way:
So, insert the USB drive in Ouya, and do the following:
[in adb shell]:
  1. su
  2. mkdir /data/sdext2
  3. mount -t ext4 /dev/block/vold/8\:2 /data/sdext2
  4. exit

Now start Link2SD on the Ouya, and start using that cumbersome touchpad to move apps and data (use the Link button, as Move to SD card does not work for Ouya) to your new found storage space! There are some options in the Link2SD menu to make all future installed app be automatically moved (and linked) to the new location, but I haven't tested that one yet.

Of course things will break if you remove the USB drive from the Ouya, and if you really power down the Ouya, you have to make sure you first mount the ext4 partition before the launcher starts, or you cannot use the games!

Use SDExt2Mounter:
Make sure you have rooted your Ouya and installed busybox; you will have to reroot your Ouya after each firmware upgrade!
Install SDExt2Mounter; you will find the app in the "PLAY" menu, not in the "MAKE" menu. Yes! My first Ouya app!
  • Start SDExt2Mounter
  • Grant it PERMANTENT root access if asked
  • Press the (make and) mount button
  • Press the AutoMount on Boot button
  • Reboot your Ouya
After the reboot step, your Ouya will automatically mount the sdext2 partition so your games will show up in the launcher. Obviously, you only need to go through these steps once.

Start the app, grant it PERMANTENT root access, and hit the "(make and) mount button".

v1.2: Added Automount option to mount sdext2 on boot, so your games show up in the launcher.
v1.1: Corrected directory path; added SuperUser permission
Attached Files
File Type: apk SDExt2Mounter_1.1.apk - [Click for QR Code] (94.9 KB, 298 views)
File Type: apk SDExt2Mounter_1.2.apk - [Click for QR Code] (97.7 KB, 927 views)
Last edited by WhoDunnit; 31st July 2013 at 02:46 PM. Reason: updated SDExt2Mounter
The Following 19 Users Say Thank You to WhoDunnit For This Useful Post: [ View ]
1st July 2013, 12:40 AM |#2  
professorpoptart's Avatar
Senior Member
Thanks Meter: 108
Awesome! on the todo list.. FYI though be sure not to put your main launcher or su stuff on the linked partition.
1st July 2013, 07:28 AM |#3  
natorus87's Avatar
Senior Member
Thanks Meter: 547
Donate to Me
Thumbs up
here i have made smal script....extract it to system/etc/init.d an then install Universal Init.d

Now open the app and give it su permissions and turn inti.d support on! Now all goes automatically
Attached Files
File Type: zip - [Click for QR Code] (230 Bytes, 454 views)
The Following 4 Users Say Thank You to natorus87 For This Useful Post: [ View ]
1st July 2013, 08:08 AM |#4  
Senior Member
Thanks Meter: 34
What happens if you start up your OUYA with the USB drive not plugged in? Would it just not show the apps? Or maybe show an error? Basically I'm wondering if there could be any complications with the OUYA if I forgot to add the HDD to the OUYA before turning it on.
1st July 2013, 12:18 PM |#5  
professorpoptart's Avatar
Senior Member
Thanks Meter: 108
Originally Posted by JLCollier2005

What happens if you start up your OUYA with the USB drive not plugged in? Would it just not show the apps? Or maybe show an error? Basically I'm wondering if there could be any complications with the OUYA if I forgot to add the HDD to the OUYA before turning it on.

The links are basically shortcuts made to the app on the new partition. The same idea if you remove a drive with all your steam games on it, worst case the shortcut won't work.

Also they would then just show a link icon instead of the actual app icon as this is rendered from a file in the apk itself.
7th July 2013, 04:15 AM |#6  
Senior Member
Flag Indio
Thanks Meter: 11
After reboot even with the init script any linked apps were gone for me

Sent from my OUYA Console using xda app-developers app
8th July 2013, 03:43 AM |#7  
Junior Member
Thanks Meter: 0
Someone correct me if I'm wrong, since I am in no way an expert, but looking at the init.d script I think there should be a space in between 'shmkdir /data/sdext2' and 'mount -t...' ? Haven't powered down yet so I can't confirm whether it works or not.
10th July 2013, 08:26 PM |#8  
Junior Member
Flag Minneapolis
Thanks Meter: 1
I have this working great now!

When I tried to go to the play store and download Universal Init.d, it would force close upon opening. I had to search for and download an earlier version, Uni-init v1.0.apk.

It does take longer for my OUYA to boot now, so just wait for it.
10th July 2013, 11:51 PM |#9  
foil's Avatar
Senior Member
Flag 0x000000FF
Thanks Meter: 198
Do you mind if I add this script into my Ouya ToolBox?
All credit will be given to you, of course.
Thank you!
The Following 3 Users Say Thank You to foil For This Useful Post: [ View ]
11th July 2013, 01:59 AM |#10  
Asadullah's Avatar
Senior Member
Flag casselberry
Thanks Meter: 303
I believe that you can add the ability to mount the ext partition to the ramdisk in the boot.img
Post Reply Subscribe to Thread

app2sd, ext4, link2sd, ouya, storage
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes