Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,785,567 Members 42,632 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
WonderEkin
Old
(Last edited by WonderEkin; 20th November 2013 at 02:38 AM.)
#1  
Senior Member - OP
Thanks Meter 298
Posts: 162
Join Date: Jul 2007
Prompt [MOD][XPOSED]Mod Collection For Ouya(Play Store, Moga Controller Emu) (11/20/2013)

Hi, another mod using Xposed framework to preserve su & mods during update.



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
Attached Thumbnails
Click image for larger version

Name:	main.jpg
Views:	75148
Size:	87.8 KB
ID:	2180728  
The Following 53 Users Say Thank You to WonderEkin For This Useful Post: [ Click to Expand ]
 
WonderEkin
Old
(Last edited by WonderEkin; 31st August 2013 at 03:01 PM.)
#2  
Senior Member - OP
Thanks Meter 298
Posts: 162
Join Date: Jul 2007
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
The Following 4 Users Say Thank You to WonderEkin For This Useful Post: [ Click to Expand ]
 
WonderEkin
Old
#3  
Senior Member - OP
Thanks Meter 298
Posts: 162
Join Date: Jul 2007
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.
The Following 5 Users Say Thank You to WonderEkin For This Useful Post: [ Click to Expand ]
 
Asadullah
Old
#4  
Asadullah's Avatar
Senior Member
Thanks Meter 284
Posts: 882
Join Date: Aug 2010
Location: casselberry
I'll test the force 720p when I get home tonight. Will that improve performance at all on certain games?
 
WonderEkin
Old
#5  
Senior Member - OP
Thanks Meter 298
Posts: 162
Join Date: Jul 2007
Quote:
Originally Posted by Asadullah View Post
I'll test the force 720p when I get home tonight. Will that improve performance at all on certain games?
I don't know, please help to test the performance. I need it becoz the Ouya have overscan issue on my China brand LCD TV...
 
Asadullah
Old
#6  
Asadullah's Avatar
Senior Member
Thanks Meter 284
Posts: 882
Join Date: Aug 2010
Location: casselberry
No prob
 
toidimaet
Old
#7  
toidimaet's Avatar
Senior Member
Thanks Meter 49
Posts: 160
Join Date: Aug 2012
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
 
Asadullah
Old
#8  
Asadullah's Avatar
Senior Member
Thanks Meter 284
Posts: 882
Join Date: Aug 2010
Location: casselberry
cpu-z is saying that it's still 1080 but I'm guessing it's just the display because it's definitety not 1080 anymore.
 
mikeones42
Old
#9  
Member
Thanks Meter 25
Posts: 58
Join Date: May 2008
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?
 
Theraze
Old
#10  
Senior Member
Thanks Meter 370
Posts: 847
Join Date: Jan 2012
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...

The Following User Says Thank You to Theraze For This Useful Post: [ Click to Expand ]
Tags
moga, ouya, play store, root
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes