[MOD][XPOSED]Mod Collection For Ouya(Play Store, Moga Controller Emu) (11/20/2013)

Search This thread

WonderEkin

Senior Member
Jul 7, 2007
162
306
Hi, another mod using Xposed framework to preserve su & mods during update.

attachment.php


Features:
  1. Google Play Store Mod
  2. Preserve su & Play Store's apk on firmware update(still under testing, read next post for details)
  3. Disable Auto Update, but still can check the update in "SYSTEM UPDATES"
  4. Force HDMI resolution to 720p or 1080p
  5. Overscan fix, reference link
  6. Controller support: Emulate Moga Controller, works on most MOGA Enhanced Games, SU is required when game starts

Download:
Dev-Host: Mod_Collection4Ouya.5.1.apk
Google Drive: Mod_Collection4Ouya.5.1.apk

Play Store zip
Google Drive: ps4ouya.zip sideload this to /sdcard/Download

Changelog
Ver 5.1
Fix: Emulate Moga Controller, non-listed app also prompt for SU

Ver 5.0
Change: Emulate Moga Controller, rewrite code, now support native apps, SU is required when game starts. Please disable & enable the option and re-check all apps
Change: Emulate Moga Controller, move to second tab
Change: Moga Pivot, must install to make Moga emulation works
Add: Virtual mouse in Moga Enhanced Games, press L1, R1, Left Thumb & Right Thumb to activate
Add: Ouya Launcher hack, for some apps(like DH4) can't launch in the MAKE menu

Ver 4.9
Fix: Latest Xposed Framework supported

Ver 4.8
Change: Disable Xposed Framework checking

Ver 4.7
Fix: NOVA 3 support

Ver 4.6
Add: Debug mode for troubleshooting

Ver 4.5
Add: Controller support - Emulate Moga Controller, works on most Gameloft games
Add: Controller support - MOGA Pivot Hack, Some games like Modern Combat 4 needs MOGA Pivot to report OUYA controller as MOGA Pro
Remove: Controller support - Gameloft Dungeon Hunter 4
Remove: Controller support - Gameloft Modern Combat 4
Remove: Controller support - Gameloft Wild Blood
Remove: Controller support - Gameloft Six-Guns

Ver 4.4
Add: Controller support - Gameloft Dungeon Hunter 4
Add: Controller support - Gameloft Modern Combat 4, remap L2 & R2 to L1 & R2
Change: Controller support - Gameloft Six-Guns, Invert Y axis, remap L2 & R2 to L1 & R2
Change: Controller support - Gameloft Wild Blood, map R stick thumb(press) as Select

Ver 4.3
Add: Controller support - Gameloft Six-Guns

Ver 4.2
Add: Controller support - Gameloft Wild Blood

Ver 4.1
Add: In Gameloft games, report Bluetooth HID Device as Moga HID
Add: Install fake Motion Sensors driver

Ver 4.0
Add: Asphalt 8 Game Controller Support

Ver 3.8
Fix: Cannot Install CWM Recovery

Ver 3.7
Fix: Overscan cannot be disabled
Change: Check downloaded Play Store & CWM file size before install

Ver 3.6
Add: "Install CWM Recovery" function
Fix: Preserve function on 1.0.393-r1

Ver 3.5
Add: "Install Play Store" function
Add: "Reboot" button at the bottom
Change: Custom Overscan Scale Val (0.00 - 0.20)

Ver 3.0
Add: Disable Auto Update, but still can check the update in "SYSTEM UPDATES"
Add: Overscan fix
 

Attachments

  • main.jpg
    main.jpg
    87.8 KB · Views: 120,293
Last edited:

WonderEkin

Senior Member
Jul 7, 2007
162
306
For Preserve su & Play Store's apk on firmware update, please read below.

How it works:
When Ouya finished download the update.zip, the mod will inject a pre-script & post-script into updater-script to backup & restore the su & mods. So we won't loss them after update.

Requirement: Root your Ouya, Xposed framework installed
  1. Use CWM to backup you system first
  2. Sideload Mod_Collection4Ouya.apk and enable "Mod Collection For Ouya" in the Xposed installer
  3. Open "Mod Collection For Ouya" in the MAKE menu(or in the Xposed installer), Enable "SU & Mods Preserver".
  4. Few files will be extract into /data/xposed and you may edit them to fit your purpose.
    Code:
    /data/xposed/updater-script.pre   #Injection script for updater-script(Pre-script)
    /data/xposed/updater-script.post  #Injection script for updater-script(Post-script)
    /data/xposed/ouya_script.sh       #Script to inject the pre-script, post-script & busybox into the update.zip
    /data/xposed/busybox              #busybox in recovery mode
    /data/xposed/7z                   #To reassemble the update.zip
How to test:
Edit /system/build.prop, find ro.ouya.version and change the version, reboot.
 

toidimaet

Senior Member
Aug 15, 2012
236
92
720 working great overscan fixed. mc4 and ravensword show nice fps boost
playstore fine though i just disabled the orig standalone. might need someone who is installing ps for first time to confirm.
greatstuff so far thx. typing this on my ouya apologies for errors

danny
 

mikeones42

Senior Member
May 10, 2008
58
25
I appreciate your work on these Xposed mods. I installed the standalone Play Store mod but I would like to install the 720p mod also. Should I uninstall the original mod before installing Mod_Collection4Ouya.2.0.apk? Is there are process for installing this when the Play Store mod is already enabled?
 

BlakMajick

Member
Jun 24, 2008
38
8
Install this, uncheck the original mod, check this, configure it to mod the play store, reboot. Enabling and disabling Xposed mods only take effect on reboot, so as long as you don't have both enabled when you actually reboot...

I had the Playstore standalone mod installed and enabled in Xposed when I installed this and forgot to uncheck the standalone. When I rebooted it still worked fine. I was able to still use the Play store with no problem.
 
Yes... having multiple enabled shouldn't cause problems, but if you remove one of them in the future, chaos may ensue. Or it might not. You never know. :) That would be why you might want to only have one enabled at a time.

As long as you're never planning on manually updating the two mods though and you're just leaving this with its 3 and the PS mod with its one enabled forever, it will probably keep working fine.
 

WonderEkin

Senior Member
Jul 7, 2007
162
306
It won't have any problem if you enable both mod at the same time, but it is not recommended

Sent from my Nexus 4 using xda premium
 

robinscp

Senior Member
Feb 20, 2012
80
7
I had an update today. I had this mod installed but lost root and the play store got uninstalled

Sent from my GT-I9100 using xda app-developers app
 

amdboomer

Member
Feb 28, 2008
14
0
I had an update today. I had this mod installed but lost root and the play store got uninstalled

Sent from my GT-I9100 using xda app-developers app

I got the same update, but did not lose root or the play store, but then again I also had installed OTA rootkeeper and it may have helped. I had this mod collection installed as well and made sure it was turned on. I also made sure the module was active in the Xposed app. The new build is 1.0.365_r1. Does anybody know what they actually changed? I know when I ran the update it ran like 2 or 3 scripts before it was done.
 

frickinjerms

Senior Member
Sep 14, 2008
715
378
36
Victoria, TX
I got the same update, but did not lose root or the play store, but then again I also had installed OTA rootkeeper and it may have helped. I had this mod collection installed as well and made sure it was turned on. I also made sure the module was active in the Xposed app. The new build is 1.0.365_r1. Does anybody know what they actually changed? I know when I ran the update it ran like 2 or 3 scripts before it was done.

I had an update today. I had this mod installed but lost root and the play store got uninstalled

Sent from my GT-I9100 using xda app-developers app

I didn't lose anything but init.d support with the update, I have cwm installed with the play store mod and preserve su modules but don't see how that makes a difference.. But after granting su to the ouya framework which I guess was the Xposed scripts, it booted me into cwm and had me flash an "untrusted zip" then reboot like normal after it was done

But the update supposedly fixes that null problem when you go to view game/app info in the discover or play sections.. Nothing useful whatsoever haha

Sent from my Galaxy Nexus using xda premium
 
Last edited:

robinscp

Senior Member
Feb 20, 2012
80
7
I wonder what I did wrong then.

Did you allow the official update su acess when it asked for it?

Sent from my GT-I9100 using xda app-developers app
 

mikeones42

Senior Member
May 10, 2008
58
25
I just let my Ouya update and this mod worked as expected. The Play Store and su were preserved.

Once the update was done downloading and the message appeared stating to install the update and reboot I clicked OK. A few seconds later superuser prompted me to allow Xposed access to su. I accepted the root request and the installation completed, then the Ouya rebooted. Once it rebooted the screen came up stating the Ouya would continue installing the update that was just downloaded. After this it went to the Ouya screen with the red exclamation point. I grabbed my USB keyboard and connected it thinking I would need to press the Home key and enter CWM. I guess because the keyboard was not connected at boot, the Ouya did not recognize a keyboard was connected so I was unable to enter CWM. Then I held the power button down till is Ouya powered off and I powered it back on. This time is booted up without the red exclamation point and Nova launcher loaded. Root and Play store were working fine.
 
Last edited:

kronix

Member
Oct 17, 2007
15
0
I also seem to be among the few that this did not work for with today's update. After the update was complete I lost su and the Play Store went missing. I had to reapply SU and reinstall the Play Store. Ever since getting everything set up again, the Play Store does work, but I get the message "Unfortuneatly, Google Play service has stopped" on every reboot and occasionally while navigating the store. Never happened before.

Questions for the other members that this mod didn't work for: Is your Ouya a Kickstarter unit? Did you allow su access to the Ouya update when it asked right before rebooting?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 54
    Hi, another mod using Xposed framework to preserve su & mods during update.

    attachment.php


    Features:
    1. Google Play Store Mod
    2. Preserve su & Play Store's apk on firmware update(still under testing, read next post for details)
    3. Disable Auto Update, but still can check the update in "SYSTEM UPDATES"
    4. Force HDMI resolution to 720p or 1080p
    5. Overscan fix, reference link
    6. Controller support: Emulate Moga Controller, works on most MOGA Enhanced Games, SU is required when game starts

    Download:
    Dev-Host: Mod_Collection4Ouya.5.1.apk
    Google Drive: Mod_Collection4Ouya.5.1.apk

    Play Store zip
    Google Drive: ps4ouya.zip sideload this to /sdcard/Download

    Changelog
    Ver 5.1
    Fix: Emulate Moga Controller, non-listed app also prompt for SU

    Ver 5.0
    Change: Emulate Moga Controller, rewrite code, now support native apps, SU is required when game starts. Please disable & enable the option and re-check all apps
    Change: Emulate Moga Controller, move to second tab
    Change: Moga Pivot, must install to make Moga emulation works
    Add: Virtual mouse in Moga Enhanced Games, press L1, R1, Left Thumb & Right Thumb to activate
    Add: Ouya Launcher hack, for some apps(like DH4) can't launch in the MAKE menu

    Ver 4.9
    Fix: Latest Xposed Framework supported

    Ver 4.8
    Change: Disable Xposed Framework checking

    Ver 4.7
    Fix: NOVA 3 support

    Ver 4.6
    Add: Debug mode for troubleshooting

    Ver 4.5
    Add: Controller support - Emulate Moga Controller, works on most Gameloft games
    Add: Controller support - MOGA Pivot Hack, Some games like Modern Combat 4 needs MOGA Pivot to report OUYA controller as MOGA Pro
    Remove: Controller support - Gameloft Dungeon Hunter 4
    Remove: Controller support - Gameloft Modern Combat 4
    Remove: Controller support - Gameloft Wild Blood
    Remove: Controller support - Gameloft Six-Guns

    Ver 4.4
    Add: Controller support - Gameloft Dungeon Hunter 4
    Add: Controller support - Gameloft Modern Combat 4, remap L2 & R2 to L1 & R2
    Change: Controller support - Gameloft Six-Guns, Invert Y axis, remap L2 & R2 to L1 & R2
    Change: Controller support - Gameloft Wild Blood, map R stick thumb(press) as Select

    Ver 4.3
    Add: Controller support - Gameloft Six-Guns

    Ver 4.2
    Add: Controller support - Gameloft Wild Blood

    Ver 4.1
    Add: In Gameloft games, report Bluetooth HID Device as Moga HID
    Add: Install fake Motion Sensors driver

    Ver 4.0
    Add: Asphalt 8 Game Controller Support

    Ver 3.8
    Fix: Cannot Install CWM Recovery

    Ver 3.7
    Fix: Overscan cannot be disabled
    Change: Check downloaded Play Store & CWM file size before install

    Ver 3.6
    Add: "Install CWM Recovery" function
    Fix: Preserve function on 1.0.393-r1

    Ver 3.5
    Add: "Install Play Store" function
    Add: "Reboot" button at the bottom
    Change: Custom Overscan Scale Val (0.00 - 0.20)

    Ver 3.0
    Add: Disable Auto Update, but still can check the update in "SYSTEM UPDATES"
    Add: Overscan fix
    5
    For Preserve su & Play Store's apk on firmware update, please read below.

    How it works:
    When Ouya finished download the update.zip, the mod will inject a pre-script & post-script into updater-script to backup & restore the su & mods. So we won't loss them after update.

    Requirement: Root your Ouya, Xposed framework installed
    1. Use CWM to backup you system first
    2. Sideload Mod_Collection4Ouya.apk and enable "Mod Collection For Ouya" in the Xposed installer
    3. Open "Mod Collection For Ouya" in the MAKE menu(or in the Xposed installer), Enable "SU & Mods Preserver".
    4. Few files will be extract into /data/xposed and you may edit them to fit your purpose.
      Code:
      /data/xposed/updater-script.pre   #Injection script for updater-script(Pre-script)
      /data/xposed/updater-script.post  #Injection script for updater-script(Post-script)
      /data/xposed/ouya_script.sh       #Script to inject the pre-script, post-script & busybox into the update.zip
      /data/xposed/busybox              #busybox in recovery mode
      /data/xposed/7z                   #To reassemble the update.zip
    How to test:
    Edit /system/build.prop, find ro.ouya.version and change the version, reboot.
    5
    Update

    Ver 4.1
    Add: In Gameloft games, report Bluetooth HID Device as Moga HID
    Add: Install fake Motion Sensors driver
    5
    Ver 5.0
    Change: Emulate Moga Controller, rewrite code, now support native apps, SU is required when game starts
    Change: Emulate Moga Controller, move to second tab
    Change: Moga Pivot, must install to make Moga emulation works
    Add: Virtual mouse in Moga Enhanced Games, press L1, R1, Left Thumb & Right Thumb to activate
    Add: Ouya Launcher hack, for some apps(like DH4) can't launch in the MAKE menu
    4
    Fake Gyroscope & Accelerometer Sensor Driver

    http://d-h.st/yzX
    download and sideload it to /system/lib/hw, reboot and should works

    Code:
    adb shell
    su
    mount -orw,remount /system
    cat /sdcard/Download/sensors.tegra.so > /system/lib/hw/sensors.tegra.so
    mount -oro,remount /system
    exit
    exit