[KERNEL]Kernel with full support for XBox 360 / One controllers[v1.3]

socksi

Senior Member
Jun 3, 2010
53
27
18
Because of the annoying constantly blinking LEDs of the wireless Xbox 360 controller I decided to compile an updated kernel myself.
I was Inspired by this post.
This kernel is 100% Nvidia source. The only difference is the backported xpad driver.
It is intended for use with Nvidia Shield Marshmallow firmware including zulu99's StockRestyle and full Android Marshmallow firmwares.

I have only tested it with the Pro model. It has been reported that it works with the 16GB model also.
Xbox One controllers are working also but only wired.
You can test the kernel by booting the new kernel with fastboot boot boot_xpad.img before flashing it.
If you are using systemless SuperSU (v2.56+) keep in mind that you will lose root when you flash or boot a new kernel.

Installation:

Code:
adb reboot bootloader

fastboot flash boot boot_xpad.img
Afterwards you can install SuperSU again by booting into recovery and installing the SuperSU.zip.

Download:
v1.4 kernel for firmware v3.3.0 with latest xpad driver from kernel.org
https://mega.nz/#!kUFHDSrY!eBMGNwKvTvr0TGyKRL2sNZQvscelxmGOA3RjKFXoaho

v1.3 kernel for firmware v3.2.0 with xpad driver from Linux kernel 4.7 rc6
https://mega.nz/#!UI1TwCaL!S8BCXWaKBU282mgW_TOtZfFN_69rG_BJnMwYdEkLUxc

v1.2 kernel for firmware v3.1.0 with latest xpad driver from Valve
https://mega.nz/#!cdExRSRI!FyhswyMsBRl3QrrPG--U0EYi_UMwjVi7e3Qiui2xKls

v1.1 kernel for firmware v3.0.0 with latest xpad driver from Valve
https://mega.nz/#!cZF3QZaD!bkQLTwECsH08cxCeef3s7ZR25hqLrr2gc6pNbvDLqm4

v1.0 kernel for firmware v3.0.0 with xpad driver from Linux kernel 4.5
https://mega.nz/#!sNNkCTZQ!TQVxESGSRadb0ueync5uGhnjf2obYzw_Mhh_tGLVgiE

Changelog:

Code:
v1.4
 - kernel for firmware 3.3.0
v1.3
 - kernel for firmware 3.2.0
v1.2
 - kernel for firmware 3.1.0
v1.1
 - found a newer version of the xpad driver directly from Valve
 - support for Xbox One Elite and a few other third party controllers has been added
 
Last edited:

duanim

Senior Member
Feb 20, 2015
196
44
0
53
Because of the annoying constantly blinking LEDs of the wireless Xbox 360 controller I decided to compile an updated kernel myself.
I was Inspired by this post.
This kernel is 100% Nvidia source. The only difference is the backported xpad driver from Linux kernel 4.5.
It is intended for use with Nvidia Shield Marshmallow firmware v3.0 including zulu99's StockRestyle and full Android Marshmallow firmwares.

I have only tested it with the Pro model. Don't know if it works with the 16GB model also.
You can test the kernel by booting the new kernel with fastboot boot boot_xpad.img before flashing it.
If you are using systemless SuperSU (v2.56+) keep in mind that you will lose root when you flash or boot a new kernel.

Installation:

Code:
adb reboot bootloader

fastboot flash boot boot_xpad.img
Afterwards you can install SuperSU again by booting into recovery and installing the SuperSU.zip.
I could not test it with any Xbox One controller. If you got one please test and let me know the results.

Download:

https://mega.nz/#!sNNkCTZQ!TQVxESGSRadb0ueync5uGhnjf2obYzw_Mhh_tGLVgiE
can be done without pc
 

willylemke

New member
Apr 14, 2016
4
0
0
hello i have the 500GB Pro Model and the 1.1 Kernel is working great....my wireless 360 controller and a wired one are working perfect....only wished there were force feedback support in Android....i know some emus can enable rumble effect......
Thank you for sharing.....any other improvements you want to implement to the Kernel?
 

unfnknblvbl

Senior Member
Sep 11, 2009
716
94
0
Adelaide
Any chance to have something similar with dualshoch ? Would be awsome.
The Dualshock 3/4 work just fine via USB, and if you're rooted you can try sideloading the Sixaxis app to pair via USB. It doesn't advertise as being compatible with Android TV though.

I'd try it myself, but I don't particularly want to root this device, as I've already had it replaced under warranty :S
 
Last edited:

Con21

Member
Apr 22, 2015
12
3
0
1) Has anyone tried the kernel on 16 GB version yet?

2) Is the real stock kernel from 500 GB version 100% identical to the 16 GB kernel?

3) I've read somewhere that the stock kernel didn't change with 3.1, is this true?
 

socksi

Senior Member
Jun 3, 2010
53
27
18
1) Has anyone tried the kernel on 16 GB version yet?

2) Is the real stock kernel from 500 GB version 100% identical to the 16 GB kernel?

3) I've read somewhere that the stock kernel didn't change with 3.1, is this true?
I got no feedback yet if it works with the 16GB model also. I've extracted both kernels from the factory image and they look almost identical.

The firmware 3.0.0 kernel is definitely NOT identical with the firmware 3.1.0 kernel.
At the moment I'm compiling the kernel with the updated xpad driver and will upload it when it's finished.
 

Con21

Member
Apr 22, 2015
12
3
0
I got no feedback yet if it works with the 16GB model also. I've extracted both kernels from the factory image and they look almost identical.

The firmware 3.0.0 kernel is definitely NOT identical with the firmware 3.1.0 kernel.
At the moment I'm compiling the kernel with the updated xpad driver and will upload it when it's finished.
Okay, thank you. I'll wait at least for the 3.1 version, but I don't know how great the risk is to boot or even install the kernel if it's not intended for the 16 GB version.
 

gpharos

Member
Mar 6, 2016
6
0
0
Do I need the xbox 360 pc dongle to get my 360 gamepad working with the Shield TV, or this Kernel. I had thought the 360 gamepad controller was bluetooth but it seems it is not. I have Zulu99 full 6.0 installed.
 

socksi

Senior Member
Jun 3, 2010
53
27
18
Do I need the xbox 360 pc dongle to get my 360 gamepad working with the Shield TV, or this Kernel. I had thought the 360 gamepad controller was bluetooth but it seems it is not. I have Zulu99 full 6.0 installed.
Yes, you need the dongle. You can pair multiple controllers with the dongle.
 
  • Like
Reactions: gpharos