How to Root and Unlock the Google Nexus 6 on a Mac – XDA TV

In the past, XDA Developer TV Producer droidmodd3rx has shown you how to … more

Set Up Your MediaTek Device with Comprehensive Beginner’s Guide

As can be seen with the use of MediaTek chips in Android One devices … more

Sony Updates AOSP Sources to Android 5.0.1

Just a few days ago, Sony did an utterly fantastic job by pushing out numerous device trees for … more

Stop Your Screen From Turning Off with KeepItOn

We all know the feeling of reading a news article orrather longdocument, when our screen … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

OnLive Universal Controller fix! Compatible with any X360 game, GTA3, Shadowgun, etc.

OP Gary13579

30th December 2011, 02:18 AM   |  #1  
Gary13579's Avatar
OP Retired Moderator
Thanks Meter: 61
 
521 posts
Join Date:Joined: Nov 2008
More
Alright, I've posted this otherwhere on this forum, but now that I've finished it in a manner that's significantly safer to use, I want to make it into it's own thread so that it is easier for people to find it and for SEO reasons.

This method will allow you to play games like GTA 3, Shadowgun, et certa on your tablet with the controller. This works by default on some tablets, but for the two I've tested (Xoom and Eee Pad Transformer) it has issues. Specifically, the right analog stick doesn't work and you are stuck turning left (SEO: running in circles, triggers don't work, can't aim). This method requires a rooted tablet. Rooting most tablets is simple and safe, I strongly suggest doing it, it offers enormous benefits.

You need to open Terminal Emulator (download one from market if you don't have it). Then enter the following commands. Hit enter after every line and ensure that it completes with no errors.

su
cd /system/usr/keylayout/
mount -o remount,rw /system
cp Vendor_045e_Product_028e.kl Vendor_2378_Product_100a.kl
exit
exit

Reboot your tablet, and the OnLive controller should now work be fully compatible with any game that uses an Xbox 360 controller! If the file "Vendor_045e_Product_028e.kl" isn't on your tablet, let me know and I will upload it for you.

Sent from my Transformer TF101
Last edited by Gary13579; 31st December 2011 at 07:58 AM.
The Following 5 Users Say Thank You to Gary13579 For This Useful Post: [ View ]
31st December 2011, 06:50 AM   |  #2  
topxshelfxtre's Avatar
Member
Flag Christiansburg,Va
Thanks Meter: 2
 
43 posts
Join Date:Joined: Oct 2010
More
If you could post up the Vendor_045 that would be awesome it says no such directory found. Thanks!!!
31st December 2011, 07:26 AM   |  #3  
Rob S.'s Avatar
Senior Member
Thanks Meter: 30
 
102 posts
Join Date:Joined: Dec 2011
More
Thanks for the info Gary, going to try it out.

Off topic, Gary from dashhacks?

I was an admin over there for a few years, up until greg sold the site to Caputo Media.
The Following User Says Thank You to Rob S. For This Useful Post: [ View ]
31st December 2011, 08:06 AM   |  #4  
Gary13579's Avatar
OP Retired Moderator
Thanks Meter: 61
 
521 posts
Join Date:Joined: Nov 2008
More
Quote:
Originally Posted by topxshelfxtre

If you could post up the Vendor_045 that would be awesome it says no such directory found. Thanks!!!

https://gist.github.com/a7a52e892d5d8519b10c

Click "raw" and save the file. Transfer it over to the device and copy it to the directory (/system/usr/keylayout/). This version includes a few patches of mine to allow the media keys on the controller to work (the play, next, and previous buttons are mapped to whatever app wants to use them, allows for you to control music with them, etc).


What tablet do you have? I'm kinda shocked any tablet is missing the file
Vendor_045e_Product_028e.kl, as it is necessary for the xbox 360 controller to function properly! You are the second person today to tell me that it doesn't exist for them.


Quote:
Originally Posted by Rob S.

Thanks for the info Gary, going to try it out.

Off topic, Gary from dashhacks?

I was an admin over there for a few years, up until greg sold the site to Caputo Media.

The one and only . You weren't around before I left, were you? I only remember one other admin besides Greg. Sad to hear he sold the site! Can't exactly blame him, the PSP scene was basically dead and none of the other sites (360, ps3, etc) really peaked anywhere near what psp-hacks did.

Sent from my Transformer TF101
31st December 2011, 08:51 AM   |  #5  
Rob S.'s Avatar
Senior Member
Thanks Meter: 30
 
102 posts
Join Date:Joined: Dec 2011
More
Quote:
Originally Posted by Gary13579


The one and only . You weren't around before I left, were you? I only remember one other admin besides Greg. Sad to hear he sold the site! Can't exactly blame him, the PSP scene was basically dead and none of the other sites (360, ps3, etc) really peaked anywhere near what psp-hacks did.

Sent from my Transformer TF101


I joined the site in Jan 06. If i remember Alias420 and Xy were admins at the time.

I don't blame him for selling the site, but the new owners drove a lot of members away.

They simply dropped the ban hammer on anyone who voiced their opinions about the changes they were making in the forums.
31st December 2011, 10:25 PM   |  #6  
i9apps's Avatar
Senior Member
Thanks Meter: 74
 
430 posts
Join Date:Joined: Sep 2011
Does it fix the GTA3 bug with the Xbox 360 controller? (running in circles)
Because its didn't work for me , is there another way to do it?
maybe to edit the file with root explorer?
Thank you
2nd January 2012, 01:24 AM   |  #7  
Gary13579's Avatar
OP Retired Moderator
Thanks Meter: 61
 
521 posts
Join Date:Joined: Nov 2008
More
Quote:
Originally Posted by i9apps

Does it fix the GTA3 bug with the Xbox 360 controller? (running in circles)
Because its didn't work for me , is there another way to do it?
maybe to edit the file with root explorer?
Thank you

Post the logcat of when you connect the controller to your tablet. It should be easy to fix you just need to find the vendor and product ids to make the right keylayout file.

Sent from my HTC Evo 4G
5th January 2012, 10:27 PM   |  #8  
Senior Member
Thanks Meter: 0
 
156 posts
Join Date:Joined: Dec 2007
Quote:
Originally Posted by Gary13579

Alright, I've posted this otherwhere on this forum, but now that I've finished it in a manner that's significantly safer to use, I want to make it into it's own thread so that it is easier for people to find it and for SEO reasons.

This method will allow you to play games like GTA 3, Shadowgun, et certa on your tablet with the controller. This works by default on some tablets, but for the two I've tested (Xoom and Eee Pad Transformer) it has issues. Specifically, the right analog stick doesn't work and you are stuck turning left (SEO: running in circles, triggers don't work, can't aim). This method requires a rooted tablet. Rooting most tablets is simple and safe, I strongly suggest doing it, it offers enormous benefits.

You need to open Terminal Emulator (download one from market if you don't have it). Then enter the following commands. Hit enter after every line and ensure that it completes with no errors.

su
cd /system/usr/keylayout/
mount -o remount,rw /system
cp Vendor_045e_Product_028e.kl Vendor_2378_Product_100a.kl
exit
exit

Reboot your tablet, and the OnLive controller should now work be fully compatible with any game that uses an Xbox 360 controller! If the file "Vendor_045e_Product_028e.kl" isn't on your tablet, let me know and I will upload it for you.

Sent from my Transformer TF101

whenever i type in "cd/system/usr/keylayout" it says not found
but when go through root explorer i see the folder....what do i need to do

Sent from my Transformer TF101 using xda premium
6th January 2012, 05:49 AM   |  #9  
Gary13579's Avatar
OP Retired Moderator
Thanks Meter: 61
 
521 posts
Join Date:Joined: Nov 2008
More
:sigh: there is a space between cd and the rest of the command. It's "cd /system/usr/keylayout" not "cd/system/usr/keylayout".

Sent from my Transformer TF101
6th January 2012, 12:09 PM   |  #10  
Senior Member
Thanks Meter: 0
 
156 posts
Join Date:Joined: Dec 2007
Quote:
Originally Posted by Gary13579

:sigh: there is a space between cd and the rest of the command. It's "cd /system/usr/keylayout" not "cd/system/usr/keylayout".

Sent from my Transformer TF101

Oh....my bad..thanx
It didnt work for me . Still walks in circles after i press the left trigger. and the right analog stick only goes up and down
I'm trying to use a wired xbox 360 controller. That shouldnt matter right
Sent from my Transformer TF101 using xda premium
Last edited by musada; 6th January 2012 at 12:59 PM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes