yashsingh1/xdaforums huggingface dataset:
[Nexus 7 General] novakisd2:
copy vendor files to system

hi guys pleas i need a little help. I have Lenovo Ideatab S6000L-F running on 4.2.2. now it is root with framaroot and in ES File Explorer i find that in system/usr/keylayout and in keychars have not these two files Vendor_045e_Product_0291.kl / Vendor_045e_Product_0719.kcm so i downdoad it to tablet folder and unzip it to downloads folder. Now i download android terminal emulator, but i don´t know how i can get these two files from downloads directory to the other "system" directory pleas, any body can you help me. Thanks. And ofcourse i have wireless xbox controller + pc reciever + otg cable.
[Nexus 7 General] novakisd2:
OK i solved this with ROOT Explorer but controller doesn´t work :( any ideas ???
[Nexus 7 General] mattiL:
You should probably ask here: http://xdaforums.com/thinkpad-tablet/general
[Nexus 7 General] guigui727:
Thanks, It's working for me with a tf300t jellybean 4.2.1 and a saitek cyborg rumble pad (usb) :)

I make my own file Vendor_0738_Product_cb02.kl
[Nexus 7 General] thrashman69:
Thanks worked great with fire tv. Used es file explorer instead of terminal.
[Nexus 7 General] psparkers:
Working great

Thanks! You rock.

Had the camera bug on my moto g, and it's now gone. Rooted my phone especially for this. I haven't had neither wired nor wireless layouts so I downloaded the one from the description made a copy with wireless Product ID, then gave it right permissions like you did in a video and it works. Agian, really appreciated!
[Nexus 7 General] Blackest Pain:
OK I'm having a problem with this. My phone is an mb886 Atrix HD rooted and running PAC 4.4.4. I was able to get my phone to connect to my Xbox 360 wireless controller but I had the spinning problem in the games. So i went through and fallowed the video and it seemed to go flawlessly, but now the controller is unresponsive. I got through the process of syncing the dongle and the remote but after controllers lights stop spinning (and it stops almost immediately so that make me think is connected) it doesn't do jack. Nothing even highlights on the phones screen. Any help would be amazing, thanks.
[Nexus 7 General] TylerHarrison21:
Can't get an afterglow to work

I have tried everything and done everything listed here and cannot get it to work. I renamed the file to fit the vendor ids as Vendor_0E6F_Product_0213.kl (i also tried lowercase). Any help would be nice.

P.S. The controller works with usb/bt joy 2 touch but the controller itself has a blinking light in the middle and doesn't work with the UI and stuff with the DPAD which is necessary in any emulator.
[Nexus 7 General] eranor:
Lag problem with the controller

Hi guys.

I have a LG G Pad, which has a quadcore processor and 2GB RAM.

Even though I followed the steps on this tutorial, I'm having some lag issues with my controller.

It is not spining or anything like that, It just lags sometimes...

Like, when I press a key down and release it, sometimes the games and emulators will act as if it's still being pressed for 2~3 seconds. That happens to every action on the controller.

Any idea why is this happening?
[Nexus 7 General] htp24:
Anyone have any luck with the Mediatek Chipset (MTK8125)? I can't seem to get it to work at all.
[Nexus 7 General] diafebus:
Okay guys… i think I did something I shouldn't do there…

I did that

su

cd /system/usr/keylayout/

mount -o remount,rw /system

cp Vendor_045e_Product_0291.kl

Vendor_045e_Product_0719.kl

(I had to remove the italic line)

chmod 644 Vendor_045e_Product_0291.kl

chmod 644 Vendor_045e_Product_0719.kcm (that didn't found the directory)

exit

exit

so I tried that:

su

cd /system/usr/keychars/

mount -o remount,rw /system

cp

Vendor_045e_Product_0719.kl

chmod 644 Vendor_045e_Product_0719.kcm

exit

exit

So now it did his job… and maybe I got way too creative and I broke something… because after rebooting my hardware keys stopped working…

anybody knows what do I have to do to undo what I did? hehe

Thanks!!
[Nexus 7 General] sirvvalrus:
I have no problem with the Camera Spin

But my DPAD do not work...

This manual will help me?
[Nexus 7 General] LouieBlu:
I have a Lenovo S6000 Tablet,

would like to try it out on this 10.1 inch Tablet also have a MS Wired Controller.

My question is would a Y OTG Cable or a OTG Hub work with this?

That way I can connect my wired Xbox controller and also have the power cable connected as well.

http://www.ebay.com/itm/USB-OTG-Power-Y-Cable-/380787104840?pt=US_Cell_Phone_PDA_Cables_Adapters&hash=item58a8ae1c48

Or

http://www.ebay.com/itm/Micro-USB-to-Dual-USB-A-Female-OTG-Cable-Hub-Adapter-For-Samsung-S4-S5-Tab-S-/400698140455?pt=US_Cell_Phone_PDA_Cables_Adapters&hash=item5d4b786727

would like to know if anyone has tried this with success TIA

Louie
[Nexus 7 General] k2828:
does this work with galaxy s4 i9505 @ cm 11?
[Nexus 7 General] benedict.s:
Multiple XBOX Wireless Controllers! issues with one instance of the controller

hi there

i think if there is any hope in getting this to work, it would be through a method related to this method.

As you might now, if you have one wireless receiver and connect two different wireless xbox controllers to it, android would recognise them as one controller. meaning that the controllers share the same actions and you can't play any multiplayer games.

BUT if you have different types of controllers, meaning one xbox wired, one xbox wireless, then it works fine. this is true of any two or even four DIFFERENT controllers. (eg, PS3, etc) i am assuming that this is because there is only one keylayout file per a controller type?

so my question is is there any way of duplicating that? so that one can get several controllers to work?

you might think this is stupid, lol as no one plays multiplayer on their phone, tablet. but this is something which is going to get big, especially since the NVIDIA shield tablet has come out. people are being forced to buy four controllers for over £200 which are made by NVIDIA. which is clearly stupid.

and with NVIDIA shield Multiplayer does make sense, as you can play any of your PC games and project onto a big tv as well.

thanks in advance for helping.
[Nexus 7 General] Diilusionisto:
Dont working on Nexus 7 II

I downloaded the files and i was doing everything as you said but when i write 644 ... he tells me then there isnt file like that. Please help
[Nexus 7 General] CymanPhoenix:
Hi SirValrus,

I had the same problems like you.

Just try to use following files, they should work: http://xdaforums.com/showthread.php?p=40032337&highlight=dpad#post40032337

With best regards

---------- Post added at 03:17 PM ---------- Previous post was at 03:03 PM ----------

Thanks for the fix mate :good:

It works like a charm on my Samsung Galaxy Note 10.1 Wi-Fi Edition 2014
[Nexus 7 General] Airboner:
guyz can anyone help me plz?

i have lenovo s6000l,i have already bought otg cable and have wireless receiver.but doenst sync with my wireless xbox360 controller.

i tried with emulator command but i didnt manage it :/

could anyone help me? step by step??

its important!

skype:

neokosmitis_
[Nexus 7 General] ene90:
file manager with su power but the copy fail, why?
[Nexus 7 General] TylerHarrison21:
Because you're probably using ES File Explorer. I have issues with it too, just use root browser.

https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree&hl=en
[Nexus 7 General] ene90:
Thanks works!
[Nexus 7 General] MrAdamH:
d-pad

You should add the following lines to the .kl file to get the d-pad working (needed for GTA):

key 704 DPAD_LEFT

key 705 DPAD_RIGHT

key 706 DPAD_UP

key 707 DPAD_DOWN

Regards, Adam.
[Nexus 7 General] javi8g8:
Thank's!!!!!!!!!!!!!!
[Nexus 7 General] enrke:
My acer iconia b1-730 doesn't have the driver file

Hello, guys.

I did all the beginning steps to put it to work, but I realised that there is no 'module' folder inside '/system/lib'

There is something I could do to make it works? I have the wireless xbox 360 controller + original microsoft dongle.

By the way, the kernel version is 3.10.20
[Nexus 7 General] hoang51:
For those who have issues with ES Explorer, go under the Tools menu on the left hand side and enable the Root Explorer option. That'll allow you to actually move the file into the directory the file needs to be. I was wondering what's going on when SuperSU was already giving it root access... but I guess you have to enable that option internally in the ES Explorer. Hope this helps anybody out there.
[Nexus 7 General] Bl4ckIn:
not working for sm-g900h
[Nexus 7 General] Masshorde:
Hudl 2

How do you use a wired Afterglow controller on a Hudl 2. I have the OTG cable, the Afterglow Xbox controller and I use ES file explorer mainly because I dont want to root my device. It would probably improve my experience, but I want to wait until after my guarantee wears off. But without rooting my device, using a Hudl 2 could I do this. I have tried to follow the steps using USB viewer on PC, to find the Vendor number as well as the Product number, renamed the file, and then I found there was no usr folder or anything with the same type of file extension, so I made a file directory so it went System/usr/keylayout and then I rebooted the Hudl 2, and nothing. I tried Shadowgun and Max Payne, both not working. So, solutions?
[Nexus 7 General] dan0019:
Hey, I applied Vendor_045e_Product_0719.kl and rebooted. my d-pad is now being recognized in android, Thanks. However has anyone used this on half life 2? everything works apart from the D-Pad. Which seems to work in the main menu but not in submenu's or in-game? would like to know if you have experienced this or have any ideas? I am using the HTC One on Lollipop 5.0.1 Revolution HD.
[Nexus 7 General] amir_us_20:
xpad.ko

Hi

I was just trying to install the modules ff-memless.ko and xpad.ko so that I can use my xbox controller. when I try the command in terminal emulator:

su

insmod /system/lib/modules/xpad.ko

It fails and says: (exec format error)

I have a rooted SmartTouch Trend TE7822116B on stock 4.2.2 with Kernel Ver: 3.4.5 pengfei@server#1 i basically need the xpad.ko and ff-nemless.ko files for this device.

thank you.
[Nexus 7 General] javi8g8:
DPad works fine using MrAdam solution (post 244).

Some games needs aditional app to map the touch screen with the gamepads control (gamekeyboard, tincore...).
[Nexus 7 General] dan0019:
Thanks, not working in HL2 though? :crying: I have applied the D-Pad mapping in the Vendor files as per Adam's post and it is working perfectly in GTASA!?
[Nexus 7 General] amir_us_20:
I need HELP

Plz
[Nexus 7 General] VerseHell:
Anyone tried the LS button with Modern Combat 5 ? It doesn't work for me. (note 3) :(
[Nexus 7 General] Guyver111:
Anyone got the Wireless Controller to work with a MTK powered device like Lenovo S6000 ?

seems like MTK doesn't know the difference between a wireless receiver and a charger.

Because when i plug in the receiver dmesg reports somethin like MTK: Charger detected .....
[Nexus 7 General] Skarinviking:
Hi guys, I have read all the stuff concerning this fix, and I have still got a major issue, not concerning the fix by itself.

I have got an Asus Zenfone, that can't be rooted already, can I apply this fix without having the phone rooted?

Thanks in advance for the reply.
[Nexus 7 General] TehJumpingJawa:
Using a wireless xbox controller along with a wireless receiver for PC. (3rd party receiver, not an official M$ one) on my rooted LG G Pad 8.3" (stock 4.4.2 rom)

The stock lg g pad 4.4.2 rom doesn't have profiles for either product 0291 or 0719 (it does however have a Vendor_045e_Product_028e.kl which from the file's comments appears to be intended for the "XBox 360 USB Controller" ).

So I dropped in the .kl with both 0291 & 0719 names. (using ES File Explorer rather than terminal, so I didn't have to worry about setting access rights; defaults to 777)

Just to be sure, I added the .kcm into /keychars too (appropriately named ofc)

It got rid of the spinning camera problem I was experiencing in GTA:SA.

However, a 2nd problem cropped up; keys easily & frequently become stuck on - as if key release events are frequently not being detected/delivered.

I've tried GTA3 too, and that exhibits the exact same problem.

I didn't play the game while suffering from the spinning camera issue, so cannot be sure whether this issue was already present, or was introduced by the fix.

Any idea what the cause/solution may be?
[Nexus 7 General] Wrathlon:
If anyone is wondering about a way to stop the blinking lights, I found that downloading Joystick Center, run it, search until it finds the controller, then just do nothing and exit stops them blinking but keeps it working with the inbuilt driver.

I'm sure someone cleverer than me can chop down the app to just do that function and use something like tasker to perform the action automatically after connecting it.
[Nexus 7 General] line____:
hi can you make a file to flash with twrp?i dont have eny off the atached files...719 and 291....and i cant make them with terminal......i copy them with root expelor but all key go disable on my phone and i cheng my rom so my phone gose on agine......plz make a file i can flashe it with twrp i cant worck with root expelor :(
[Nexus 7 General] Airboner:
no one please? :(

i have also all the files u have mentioned
[Nexus 7 General] Airboner:
i managed to sync wireless xbox360 with lenovo s6000L

now i have downloaded app USB/BT JoystickCenter free to configure buttoms but i couldnt :/

sticks for camera doesnt work,i fixed d pad only...

do u know other programm which will help me to play all games?

certainly i can play only beach buggy blitz which plays with d pad ;)

most wanted cant play even with buttom..dead trigger plays only left up right and down...

but up and left works with LB and trigger :/

plz guyz someone who can help me
[Nexus 7 General] Peccoskaify:
It's not working with my nvidia shield tablet....
[Nexus 7 General] carlos1331:
I have a weird problem with my z2 tablet and my wireless xbox360 pad, i follow all the steps and when i plug it it looks it works but in a few seconds it lost the conection and doesnt work. I have to replugg and the same thing again, works fine on desktop and emulators but the connection doesnt live more than 30 secs :S. Please somebody help
[Nexus 7 General] dan0019:
Just thought I would update in case anyone has the same issue, on my nexus 7 I was experiencing very slow camera spin at center, Had to adjust the following values to 6000 which totally eliminated it ;)

axis 0x00 X flat 6000

axis 0x01 Y flat 6000

axis 0x03 Z flat 6000

axis 0x04 RZ flat 6000
[Nexus 7 General] Rico6045:
It worked

Thanks it worked great on my moto g xt1032:good::good::good::good::good::good::good::good::good:
[Nexus 7 General] aonavy:
Anyone have an update file for the dpad to work??

---------- Post added at 06:24 PM ---------- Previous post was at 06:20 PM ----------

where abouts do add these lines?
[Nexus 7 General] Vankog:
Here are the kl files for the Microsoft XBox 360 controller wireless and wired directly taken from the NVidia SHIELD Tablet.

So they should work, because they do mind the DPAD difference:

and they should also care about the camera spin:

There are also keylayout files available for these devices:
[Nexus 7 General] Vankog:
Has anyone tried to create a key layout file for the XBox One controller(s)?
[Nexus 7 General] claudioita:
I have a wireless xbox360 dongle original (I think)

a wireless xbox 360 gamepad

an android TV Beelink M18.

My receiver plus gamepad works perfectly on my Note 4, so it works. But when I connect to the Beelink is not working (not recognized at all)

So I tried the solution of first post:

I put Vendor_045e_Product_0719.kcm in usr/keychars (was missing)

I put Vendor_045e_Product_0719.kl in usr/keylayout (was missing)

I put Vendor_045e_Product_0291.kl in usr/keylayout (was missing)

followed the instructions, but nothing happened. What can I do next?
[Nexus 7 General] Coyo_Te:
lenovo tab2 a10-7f doesnt recognize the xbox wireless - it puts out something of a charger in dmesg in the terminal. with usb device info it shows the connected wireless dongle as vendor id 045e as microsoft correctly but the product id as 03eb as unknown.

the linux tab shows it correctly as microsofts wireless receiver as it should but that doesnt affect the android system.

i followed all the steps from the tutorial. nothing. i read somewhere that the drivers for gamepads are missing completly on the lenovo android system. mouse and usb flashdrive work out of the box plg n play.
[Nexus 7 General] PhoneNoobs:
Confirmed working on a sprint lg g3 lollipop. Thank you much bro.
[Nexus 7 General] PhoneNoobs:
Hey guys just wanted to let u know when i did it i did everything thru root explorer with out using codes or terminal but it only worked with the paid version of root explorer. I downloaded and unzipped the KL i skipped the kcm file i only copied the KL and used root explorer to open it in text editor and copy the text from it then all i did was open the generic.kl file in root explorer using text editor i selected all text and erased and then pasted the text from the kl i downloaded here so then i saved and it automaticly made a backup of the original generic file which is cool just incase i messed up. But this way you don't have to mess with the permissions but whats great about root explorer is that u can change the permissions on it too if i wanted to for example add the kcm file i can add it and edit the permissions of it in root explorer. But anyways after i saved it did not work it for some reason does not save the first time although it notifies u that it did u have to open the generic kl u just edited and it will probably not have saved ur changes so if thats the case do it one last time select all >erase then Paste now your generic kl should look identical to the kl u downloaded from here and the permissions are already set. One problem i had with this guys is your power and volume buttons wont work even if u do it the way posted on the thread because when i tried it that way it did not work the controller had no changes i had to manually edit the generic kl its what the controller is reading so modify it like i showed u but now to fix the buttons it was easy actually but took me a while to figure out. By the way u must do this because even because your buttons work perfectly after doing step 1 after a bout a week all a sudden your phones button only turn the phone on from off but not to unlock the screen youll be screwed luckily i have a g3 with a knock on unlock. So do part 2 regardless. This is part 2. Open the qwerty.kl from system>usr>keylayout folder in text editor on root explorer. If u need pro and cabt afford it dl it from apkhere just search root explorer apk on google its the first link download v 3.3.8 free and when u open the file skip the license part but where it starts the keys copy all of that and then head back to the generic kl file u modified on step 1 and paste this under and again save and exit. Reopen make sure it saved correctly if bot again scroll down all the way skip a line and paste. Now your generic kl should have everything the Downloaded kl from this thread has plus all the key layouts from the qwerty kl which has all of your buttons on it and after u can confirm thats saved correctly now u can use your buttons after restart. The reason this happens is because ahen u edit the generic file your phone will automaticly use the generic file instead of the qwerty file for your buttons it said so in the qwerty it reaf something like your device no longer uses thiz file please refer to generic kl thats how i figured out how to fix. Hope this helps some one out there lol.
[Nexus 7 General] :
Worked perfectly in HTC M8 !!! thanks for guide but i have a question can i use DPad for moving ?
[Nexus 7 General] alanf1f1:
it's not working on my phone (redmi 3)

just connect with receiver,and nothing happen :\

test the d-pad,analog and others

please Help :\ i want play ppsspp with this controller :\
[Nexus 7 General] Tarola:
On redmi note 3 pro working, but after 1 minute keep disconnecting from usb/bt joycenter and I have to search for the controller again. Any fix for that?

Le: I changed usb/bt joy gold with free edition and now work 100%
[Nexus 7 General] robgee789:
once this is done is there a way to increase the deadzone on the analogue sticks because the constantly looking around when im playing games
[Nexus 7 General] robgee789:
Anyone know how to edit the dead zones
[Nexus 7 General] ThomasKKKK:
Galaxy Note 5 here. The light is flashing, but i cannot interact with the screen - the phone simply does not recognize the wireless Xbox360 controller.
[Nexus 7 General] tomo92s:
Please help

mido:/ $ su

mido:/ # cd /system/usr/keylayout/

mido:/system/usr/keylayout # mount -o remount,rw /system

mount: '/dev/block/bootdevice/by-name/system'->'/system': Device or resource busy

1|mido:/system/usr/keylayout #
[Nexus 7 General] xR0ME0:
Type it this way: mount -o rw,remount /system

Ran into the same problem, this worked for me.

Hey sleeplessninja, this did work for me at first, but once I press the triggers they still control the camera and when released begin spinning again. I tried at first just copying the KCM but then copied your 291.kl and redid the process to the same result, anything you could think of? Running shield TV stock rooted with xbox360 wireless dongle

Edit: I'm going to run a logcat of my dongle connecting to make sure I get the same ID/Product as you show here.

edit2: I used dmesg to see buffer when I connected my own dongle, it shows the same as 045e and 0719. I'm going to try overwriting my own 719 with your modified one then changing permissions to 644 via es file manager. rebooted and still no dice. rip me I'm going to bed and using a DS3 tomorrow.
[Nexus 7 General] macio787:
It doesn't work on Meizu MX5. This is what i tired so far: did the tutorial step by step (obiously), changed the generic.kl file (added lines from your file), .kmc file was missing so i pasted it and tried various names, such as 'Xbox 360 Usb Controller', 'Xbox Wireless Controller', etc. I also tried to just copy the Vendor_045e_Product_028e.kl file and rename it, as it was already present on my device. Unforunately, none of these help. The controller acts like on your video, when i try to pair it with receiver but does nothing on phone (in-game too) and apps like Gamepad Tester aren't detcting it (Vendor??? Product???).
[Nexus 7 General] Jpaolo.Ortega:
would this work for calibrating deadzones on generic android controllers?
[Nexus 7 General] ivan_ak7:
This keylayout files always worked on my Oneplus One but now, on my Google Pixel 2 XL with Pie the right stick and the left trigger don't work well. Pressing the left trigger the camera start moving on the right, releasing it the camera start moving to the left with no possibily to stop it. The right stick works only if i move it to the left or right but the camera move up and down. It seems that Android doesn't recognize the new keylayout. Any idea?
[Nexus 7 General] wikorninja:
My device

Samsung galaxy s8 exynos android 9 not rooted

Wireless xbox 360 controller with the wireless adapter

.

I have this issue where in games menus and altogether my camera keeps spinning around and goes up and when I press my bumpers I either starts moving left or right. In menus it keep scrolling up for example in minecraft when I scroll down a menu it keeps scrolling up and if I scroll down with my joystick it stops, like if I was holding up and down at the same time.

-

This isn't a controller problem because on my pc it works perfectly fine no delay just like it should.

Please help I'm having a hard time with this.
[Nexus 7 General] esclusoilcane:
Nothing worked for me...

But. .

My only and easiest solution was to install Magisk and 1controller module, a pity it doesn't exist as APK, good luck in installing Magisk