Skip to main content

[Tutorial] How To Enable Game Controller Support On The Samsung Galaxy Tab 10.1


With the arrival of Honeycomb 3.1 came some really nice features, including one of the most useful to date: USB host support. This allows users to plug thumb drives, external hard drives, mice, keyboards, and more into their tablets and use them with little-to-no hassle.
Out of the many uses for USB host support, adding a game controller to your tablet is a simple way to have more fun with your device -- it improves the experience with a lot of games, especially if, like me, you hate touchscreen controls. While most tablet manufacturers have included gamepad support in their devices right out of the box, such is not the case with the Galaxy Tab 10.1(possibly because of the lack of a dedicated USB port), but not to worry -- if you're looking to use a USB game controller on your Tab, there is a way to get it working, granted you have the 30-pin USB adapter.
This requires root access and ClockworkMod Recovery. You can find more information, including easy-to-follow instruction and videos, on how to root theTab 10.1 at Galaxy Tab Hacks. As always, Android Police is not responsible for anything you do to your device.

Required Files

In order to make this happen, you're going to need a few things. Firstly, you'll need ClockworkMod Recovery installed, which you should already have if you're rooted. Other than that you'll need:
This is an overclocked kernel. If you wish to manipulate these settings, you will need an app such as SetCPU. You can get it from the Market or from this thread on XDA.
Okay, now that we have that out of the way, let's get started!

Flashing the Kernel

Once downloaded, move the file to the root of your SD card and reboot into recovery by using ROM Manager or turning the device off and holding volume down+power. Once in recovery, I strongly suggest making a backup in case anything goes wrong. To do this, navigate to "Backup and Restore" by using the volume keys (the power button activates the selection) and choose "backup." This will create a Nandroid backup of the current system state that you can restore later if need be.
After that is finished (it may take a while), navigate back to the main screen by using the "+++++Go Back+++++" option. Navigate down to "install zip from SD card" and select "choose zip from sdcard." From there, you'll choose the kernel file that you downloaded earlier. This should only take a couple of minutes to flash, after which it will tell you that it was successfully completed. Once it's finished, just reboot the device by choosing "+++++Go Back+++++" and "reboot device."
Congratulations! You're now running a custom kernel.

Installing the Modules

In order for the kernel to recognize the game controller for what it is, certain modules need to be loaded into the system. There are two different methods of doing so, each of which are outlined below.

ADB Method

If you already have ADB set up, this is probably the best way to go. If not, you can either skip ahead to the terminal method or go ahead and set ADB up. There are plenty of tutorials on the internet if you need help getting everything going.
Firstly, if you haven't already, go ahead and grab the controller files from the download link above. Save the file somewhere memorable, such as the root of the C: drive, which is the location that I'll be using for this tutorial. Once the download is finished, go ahead and extract the contents of the zip using an appropriate application, such as 7-zip.
Fire up the command line and navigate to where the extracted files are located and move them to the appropriate location using the following command (assuming you saved the files to C:\).
If you copy and paste the following commands, do so one at a time.
cd C:\controller
adb push ff-memless.ko /data/local/modules
adb push xpad.ko /data/local/modules
The next step is to install the modules into the kernel.
adb shell insmod data/local/modules/ff-memlless.ko
adb shell insmod data/local/modules/xpad.ko
That's it! You should now have full support for game controllers!

Root Explorer + Terminal Emulator Method

This one requires no interaction with your computer, so the entire process is done directly from the device.
Download the above controller file directly onto your device. Once downloaded, use a file manager with root privileges (I recommend File Manager HD) to navigate to the download folder and extract the contents of the zip. Select both files (ff-memless.ko and xpad.ko) and move them to '/data/local/modules,' which should have been created during the kernel flashing process.
Once the files have been moved, fire up Terminal Emulator and enter the following commands:
su
insmod /data/local/modules/ff-memless.ko
insmod /data/local/modules/xpad.ko
...and you're done.
One final note: due to a limitation within the kernel, the loaded modules will not survive reboot, so you'll need to reinstall them each time you restart your Tab (you won't need to re-copy the files, just re-run the insmod command.)
Whichever method you choose to use is completely up to you and will yield identical results regardless, but I find it easier to use the Terminal Emulator method to reinstall the modules after each reboot.
Enjoy!

Comments

Popular posts from this blog

How to turn off Ringbacks on Rogers

Rogers just update you to the latest iPhone value pack, or figure out some other way to stick you with their ringbacks service, and you’re desperate to find out how to turn it off? They don’t want to make it easy — they want you to pay money for more Ringbacks — but after over an hour of waiting on 3 different customer service and tech support reps, I got the answer. Here it is: From your Rogers iPhone, text 555 with the word OFF. You’ll get an autoreponder with a link to http://rogers.com/ringbacksoff Tap the link. You need to be on Rogers’ network (i.e. not Wi-Fi) to access this page! Scroll down to the bottom and turn OFF both Ringbacks and Voice Greetings. (Yes, Ringbacks are so annoying they require and additionally annoying Voice Greeting to beg the people who call you not to hang up while they’re annoyed by the Ringback.) Rogers tried to get me to give Ringbacks a chance, saying if I loved the Beatles and my friends new I loved the Beatles, I could entertain them w...

How to Reload Operating System on Nuked or Bricked BlackBerry

Good Afternoon Class! I’ve been a bit slack in my  BlackBerry 101  lectures as of late – I blame the  Smartphone Round Robin , all the  Contests  we’ve been running on the site and the busy Holiday Season. My apologies! This will be the last 101 lecture of the year… but we’ll be back in 2008 bigger and better than ever. Today’s lecture isn’t really a “newbie” topic, but it’s one that I wanted to cover because in the past three weeks I’ve gone through it half a dozen times and that is  Reloading the Operating System on a BlackBerry that’s totally “Nuked” . I’m not sure if nuked is the technically appropriate word for it (I also use one that starts with an F and ends in an ED and has a CK in the middle), but it is how I refer to a BlackBerry that is stuck in a permanent reboot cycle and is completely, completely unusable. With a Nuked Berry, essentially the device turns on (red LED comes on for a few seconds), then you see the white screen with the hou...

Best Ipad and Iphone Photography Apps

Longtime Exposure Calculator Price: Free/ Available for iPhone, iPod touch, iPad Long-exposure photography fanatics will know that an ND filter can be essential when it comes to extending exposure time for those all-important open shutter shots. Longtime Exposure Calculator by HPR-Solutions is a free iPhone,iPad and iPod touch app that enables you to dial in a projected shutter speed to one column and then 'add' an ND filter as graded in both f/stops and filter names (eg 3 stop or ND8) in the other column. The app then calculates the adjusted exposure. While it is, in part, possible to TTL meter with an ND filter attached to the front of a camera's lens, the results won't always be accurate, and there's a point where things get so dark that it's not possible - especially with in-vogue super-dense filters. Having an off-camera calculation method such as this makes it quick and easy to figure out exposures without so much as needing to put those brain...