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

Ipad apps: AppStart Review

AppStart For iPad Review Free for a limited time only , AppStart for iPad is a terrific app by the folks over at  AppAdvice.com  that’s meant to serve as a starter guide for new iPad users and owners. The promotion is only available for a limited time as customers flock to pick up their iPad 2s this week. Whether you’ve had your iPad since launch day or you just picked one up, AppStart For iPad is a detailed and comprehensive guide for the most popular and useful ways to utilize your iPad in addition to recommending a few apps to get your feet wet. When you first open the app, the home screen is displayed in a clean grid of buttons for you to tap-in and find out everything there is to do with the iPad. Each grid-box allows you to open up a mini-guide for how you can use your iPad as an eReader, home theater, radio, nightstand, magazine, or social media hub. Within each mini-guide, the folks over at App-Advice also throw in their suggestions for both free and paid apps that re...

Ipad 2 Accesories

Zagg have done it again and released what we are excited to say is the seasons MUST HAVE iPad accessory: The  ZAGGmate iPad case with keyboard . It’s not often that we get entirely blown away by an accessory for the iPad, but this one has left us shell shocked and in awe. The perfect compliment to your iPad, this is the first iPad keyboard case combo that we have seen yet that has done it right. In fact, it’s the best bluetooth keyboard we’ve seen to date as well! It’s so right and so perfect that we already wonder how we ever used our iPad without it! Check out the review below… ZAGGmate with Keyboard The iPad’s New Best Friend Our first impression of the ZAGGmate was: “Where’s the rest of it?” This iPad case is unlike anything else we’ve seen on the market to date and the designers at Zagg worked hard to literally rethink what an iPad case could be. This is an iPad case that doesn’t cover the whole iPad, but rather just covers the iPad’s screen, and leaves the back of the tablet...

Ipad 2 Apps: Skyfire Web browser Review

Ipad 2 Apps: Skyfire Web browser Review Skyfire for the iPad made headlines when it was first released, due to its ability to play Flash videos on a device previously void of this popular technology. Users flocked to the App Store, eager to drop five bucks for the chance to view their favorite clips, shows, and movies on their iPad. Not only did the browser play these videos, but the integrated video compression saved a significant amount of bandwidth for people on a restricted data plan. The initial excitement wore off quickly, though, as complaints were rampant about many sites not playing videos as expected. Since its inception Skyfire has certainly improved in this area, now claiming support for over 200,000 websites containing Flash. The dissenters will always be there as not every Flash video on the Web will be playable, even if the developers at Skype Labs remain diligent. Some of the backlash is warranted to a certain extent. If I paid $4.99 with the intent of viewi...