Mibox 3 1028 Nougat Build- XBOX wireless drivers seem to be borked

by flipside1o1

I was trying to get retroplayer working with my wireless xbox controllers (All Official MS gear) and couldnt get the Dpad or right stick to map , though it works on other nougat based Android devices both tablets and the Shield.

I have done some testing with a controller testing app and it shows that not only does the mibox not see the movement of either their Dpad or right joystick, but it's mapped the R1/L1 triggers to be the Joystick up/down, Left/Right respectively.

If I get a chance ill see if I can test newer builds (in 924 it worked) but if is anyone else using this setup and have it working?

EDIT: OK looking back at some past posts this may not be a driver issue, more a layout problem. The Mibox is now not registering the controller as an xbox device so is falling back to a Generic setup.

After some poking about it seems only the wired mapping was installed , I pushed two others I found here https://www.s-config.com/ouya-support-xbox-360-controllers/

The instructions below are a little rough and ready and im not 100% on the impact of disabling verity, I do know that when I re-enabled I had to reinstall the 1028 update via recovery

Step 0 - (not stricly necceasry but here for completeness) pull the files to compare

  • ADB connect MIBOX-ip
  • ADB pull /system/usr/keylayout/Vendor_045e_Product_028e.kl
  • ADB pull /system/usr/keylayout/Generic.kl
  • update Generic.kl enties to match those in the Vendor_X_X.kl#

Step 1 - Make system writeable

  • ADB connect MIBOX-ip
  • adb root
  • ADB connect MIBOX-ip
  • adb disable-verity
  • adb reboot

Step 2 - Mount Systems and push new Generic.kl

  • ADB connect MIBOX-ip
  • adb root
  • ADB connect MIBOX-ip
  • adb remount
  • ADB push Vendor_045e_Product_0291.kl /system/usr/keylayout/Vendor_045e_Product_0291.kl
  • ADB push Vendor_045e_Product_0719.kl /system/usr/keylayout/Vendor_045e_Product_0719.kl
PalebloodSky

Is there a link to download the newer beta build? Still using the one from February, it works pretty well, never had an update available though.

edit: found it here: http://www.mediafire.com/folder/9k82rbe2nc0vw/mdz-16-ab

edit2: sadly the newer 1028 feels more sluggish than 924 so far. Even after a full wipe and reinstall.

edit3: holy crap 1028 is a disaster it keeps randomly rebooting every few minutes to install some update wiped cache still no luck.

edit4: okay seems better once i updated everything and rebooted to wipe cache several times. haven't had a reboot in a few hours of usage.

neoman4426

Best practice probably isn't to fuck with generic.kl, screwing with that could cause other problems with things that don't have a specific keylayout file. Better to copy the one that is there for Xbox style pads to match the IDs of the controller and make sure the permissions match. Looks like you probably figured that out as it's been edited and there's no command listed to actually push a modified generic.kl, but you do make references to doing so. Also, one change I'd make is to edit the entry for BACK in the controller specific kl to BUTTON_SELECT as while Back is what it's called on the controller I'm pretty sure it invokes the system back command rather than the gamepad button as intended