Creating a Marshmallow-compatible Sixaxis alternative - Android Q&A, Help & Troubleshooting

Hi All,
I have a PS4 controller that I've been using between my Nexus 6 and Shield tablet using the Sixaxis Controller app. When my N6 got Marshmallow, Sixaxis stopped working and instead showed these errors when starting up
Code:
Could not load bluetooth library...
Error: Failed to configure bluetooth...
Could not load HCI library...
Some posts online said it might be because the app needed to request new permissions for api 23. I've tried decompiling, adding the permission, and recompiling with APK Studio. I also installed it as a system app. No change, still broken.
With no word from the Sixaxis dev months after 6.0's release, my question is: what would it take to write a Marshmallow-compatible Sixaxis alternative? I have some experience writing apps, but haven't touched JNI/NDK. Also, I've been doing some research on the history of Bluez vs. Bluedroid and it looks like there aren't really any equivalents to hcitool and hcidump for Bluedroid.
To clarify, the goal is only to get the controller to connect to the system. I'm not interested in the touch mapping, mouse emulation, or other extra features.

I'm interested in it too, don't know why no one ever replied. We can try to make an open sourced app.
Is there any document about the protocol used by PS3 controller? Seems like PS3 controller use some incompatible bluetooth protocol, I used Sixaxis app before, when I connected PS3 controller using BT, all other BT devices were dropped.

I am also getting this issue. No responses?

I have the same problem. any solution?

Yes please,not that I can help,but it'd be greatly appreciated.

Bump

Still nothing? It wouldn't be as bad but the native DS4 pairing mode sucks so bad on Android (Massive input delay after 30 seconds)
EDIT: Their website 404's... http://dancingpixelstudios.com/sixaxiscontroller/about.html

they are alredy working on it http://dancingpixelstudios.com/2016/02/05/migration-to-wordpress/

Love this app. I'm glad he still rocking. Google should just buy him out and implement this into their future OS... Give this man a job!

I am also having the same problem on HTC one m8 with gpe 6.0 rom.
Any news?

So far I have seen no update, but on his site he says he is working on it.

looks like there is no update for this
Is there any alternative available for this?

It' been months and still no update. Does someone know any alternative solution or app?

Related

[Q] [request][CM7] tv out for cm7

I'm very new as a member and I've been trying to find a rom which will allow me to have the ability to connect a Wii controller and use tv out function. I have tried Bluez on TW based roms and understand that the Wii controller will not connect due to the bluetooth stack. On these roms the TV out function works perfectly. With CM7 I can successfully connect Wii controllers but there is as of yet as of any of the release canadates or nightlies (81) no TV out function. Is there anyone aware of a rom with both of these capabilities or can someone tell me where to offically request this ability on CM7?
I really love CM7 and have the entire process memorized to get gps working on CM7, but the lack of tv out just kills it for me. Such possibility as a portable gaming system that I don't see an opportunity to take advantage of.
I've performed searches for those combinations and have thus far yielded nothing. if somone can point me in the right direction I would be extremly greatful and I would love to support through some donations any group willing to take on the task of incorperating both in a single rom.
Not gonna happen. Just no functionality for tv out on cm7 until source is dropped for 2.3 for the T959, which is not going to happen.
Sent from my SGH-T959 using XDA Premium App

[Q] Is there an app to use the PS3 controller yet? Or even the WII mote? Using Sense!

Hi all,
I've just been with my friend in work when we spotted the PS3 controller for android phones app, and so we downloaded the compatibility check, his passed (galaxy Nexus)
Mine Failed EVO 3D running sense
I know there was a problem withe the bluetooth stack within sense UI, but surely someone must have broken through this barrier and got it to work on our beloved androids running Sense UI.
Apparently there was some talk about the wiimote being worked on for Sense phones, but i've not been able to see it nor have i read much on google, try searching "Sense UI bluetooth controller" and you'll find a tonne of sites telling you how it DOENS'T work on sense ui not good.
Any info, (hopefully good news) would be nice.
Cheers
Short of porting the AOSP stack to sense, I don't think it will be possible.
Sent from my PG86100 using Tapatalk
Where does that bluetoothbstack reside? Surely there must be a way to extract it, i read that its only missing a protocol, hid its called, the guys who created cyanogenmod would probably be the best people for this. Gaming on android is going to take off, hdmi connection and controller support, htc needs to get on the bandwagon.

Wired Xbox 360 controller + touchpad

Hey, I'm using ICS on my touchpad and have successfully managed to get USB hosting working to a certain extent. I can use my keyboard with my touchpad with no problems at all However what I was really hoping to be able to do was get a wired xbox 360 controller working. All I get when I plug it in though is a flashing light on the controller itself, the touchpad does not seem to recognise it at all. I heard of an application on the play store called joystick center and have used their "tester" application to see if it can detect the controller. Sadly this didn't seem to work either. Anyone managed to successfully get this working? Or have any suggestions that I can try out?
Thanks for your time
Sent from my Touchpad using xda app-developers app
i think its easier to use a wii or ps3 controller since those have bluetooth built in
I thought that might be the case. Just thought I'd ask as I have an Xbox controller lying around, so would have saved me making a new purchase!
Sent from my Touchpad using xda app-developers app
i know if you want to use an xbox 360 controller on your pc you need to use a usb rf dongle thingy. the usb port on the touchpad isnt powered, and that is another hurdle to jump over.
The Xbox controller I have is the wired version, not the wireless. I have a USB hub that plugs into the mains so it can support things that require power. Have managed to get my keyboard (which requires power) to work perfectly with the touchpad.
Sent from my Touchpad using xda app-developers app
I seem to recall whenever I plugged a Wired 360 controller into a PC, it needed to download some proprietary drivers from Microsoft. I can't imagine those drivers would be built into the Touchpad, so you're probably out of luck as far as that goes.
I can confirm that both PS3 controllers and Wiimotes pair just fine with it, though. Heck, I paired not just the Wiimote, but the Wiimote+Classic Controller Pro and even Wiimote+Tatsunoko vs. Capcom Arcade Stick to the device.
kingteeb said:
The Xbox controller I have is the wired version, not the wireless. I have a USB hub that plugs into the mains so it can support things that require power. Have managed to get my keyboard (which requires power) to work perfectly with the touchpad.
Click to expand...
Click to collapse
oh i see. that is an interesting setup with the hub. its probably just a driver issue then.
Yeah I think that must be it. Any idea if there is any software out there that could address this issue? If not, I suppose I'll have to invest in a new controller!
Sent from my Touchpad using xda app-developers app
I don't know if this is really a driver, but the touchpad (with ICS) has some sort of config file specific to wired 360 controllers. The file can be found at: /system/usr/keylayout/ Vendor_045e_Product_028e.kl
If you poke around at the other things in that folder, it has files for other controllers too including a Logitech one and some steering wheels (heh).
Sent from my Nexus S using xda app-developers app
Oooh well that's a start. I'll have a poke around in there and see what I can find. I love the optimistic steering wheel config files
Sent from my Touchpad using xda app-developers app
Yeah, xbox controllers work with the touchpad, but the kernel cm9 is using doesn't have it enabled by default.
You could either recompile the kernel or just compile the necessary modules to add to your current setup.
The xbox controller actually requires two: ff-memless.ko and xpad.ko. Just stick them in /system/lib/modules once you compile them.
ff-memless.c and xpad.c are already in the tenderloin branch, so you can compile them and pop them in pretty easily. Just look in /drivers/input.
potissimus said:
Yeah, xbox controllers work with the touchpad, but the kernel cm9 is using doesn't have it enabled by default.
You could either recompile the kernel or just compile the necessary modules to add to your current setup.
The xbox controller actually requires two: ff-memless.ko and xpad.ko. Just stick them in /system/lib/modules once you compile them.
ff-memless.c and xpad.c are already in the tenderloin branch, so you can compile them and pop them in pretty easily. Just look in /drivers/input.
Click to expand...
Click to collapse
I've been doing some searching and haven't found what I'm looking for. I don't know how to compile these 2 files for the Touchpad. From what I'm reading it needs to match to the kernel. Does anyone already have the files compiled for CM9 on the touchpad and would share them?
Thanks.
I compiled a CM9 kernel today with wired Xbox 360 gamepad support. It works with the 08/19 CM9 nightly. It may work with other versions, I don't know. Please bear in mind that I am not a developer, and I haven't compiled a kernel of any kind since the last time I installed Gentoo (probably 2005 or earlier). I don't know if this kernel will blow up your Touchpad, summon demons through the speaker-hole, or end world hunger, all I know is that it worked for me, on my Touchpad, with the CM9 08/19 nightly, in John NES Lite, SNESDroid, and Trebuchet (SuperGNES Lite didn't work, it wouldn't recognize the X or Y buttons, and the Back button on the gamepad didn't work in anything I tried). I compiled the support directly into the kernel...probably not the best approach, but it was what I was able to figure out. I don't think I changed anything else in the kernel, and I didn't write any code, just ticked a few options in the make config.
Please try this at your own risk, I don't really have any idea what I am doing, and won't be responsible if bad things happen. If that doesn't scare you off (and it should, you have no idea how new this is to me!), download the attached zip file, unzip it, mount your /boot as rw and copy the uImage.Cyanogenmod.xpad file to /boot, and reboot, selecting the uImage.Cyanogenmod.xpad file in moboot when you reboot. Make sure before you do it that /boot has enough space...if it doesn't, it won't boot when you select it because it won't be fully there.
Anyone smarter than me (ie: almost everyone here) is welcome to tell me what I did wrong and how to do it better.
Has anybody compiled xpad.ko and ff-memless.ko for the Touchpad? I have been looking around and can't find anywhere else that has done this.
Regrettably I have no idea how to compile these myself, maybe I'll try giving one of those tutorials a shot. Would love to have my xbox controller working with the touchpad.
Tired_ said:
I compiled a CM9 kernel today with wired Xbox 360 gamepad support. It works with the 08/19 CM9 nightly. It may work with other versions, I don't know. Please bear in mind that I am not a developer, and I haven't compiled a kernel of any kind since the last time I installed Gentoo (probably 2005 or earlier). I don't know if this kernel will blow up your Touchpad, summon demons through the speaker-hole, or end world hunger, all I know is that it worked for me, on my Touchpad, with the CM9 08/19 nightly, in John NES Lite, SNESDroid, and Trebuchet (SuperGNES Lite didn't work, it wouldn't recognize the X or Y buttons, and the Back button on the gamepad didn't work in anything I tried). I compiled the support directly into the kernel...probably not the best approach, but it was what I was able to figure out. I don't think I changed anything else in the kernel, and I didn't write any code, just ticked a few options in the make config.
Please try this at your own risk, I don't really have any idea what I am doing, and won't be responsible if bad things happen. If that doesn't scare you off (and it should, you have no idea how new this is to me!), download the attached zip file, unzip it, mount your /boot as rw and copy the uImage.Cyanogenmod.xpad file to /boot, and reboot, selecting the uImage.Cyanogenmod.xpad file in moboot when you reboot. Make sure before you do it that /boot has enough space...if it doesn't, it won't boot when you select it because it won't be fully there.
Anyone smarter than me (ie: almost everyone here) is welcome to tell me what I did wrong and how to do it better.
Click to expand...
Click to collapse
Can you explain how did you mount /boot as rw, please ? I tried different shell commands but it always say /boot is not rewritable :crying: so i can't copy the uImage.Cyanogenmod.xpad file.

WiiU Pro Controller

Hi, I've been trying for like five straight days to figure out a method to get the WiiU Pro Controller to work with my HTC One and I've had no luck. The problem is that I need a pin to enter on my phone to pair it when in reality you don't and that's the problem. I can't find a way to bypass not entering a key. I've tried everything and have failed, I'd pay to see someone to get this to work and I think this could be the place. Any help?
Same here. I am looking and will report back if I find something
Sent from my SPH-L720 using Tapatalk 2
Anybody have info on this? I have had no luck with the PS3 controller or the Wii U Pro controller and would love a solution.
I don't have any experience with the WiiU Pro controller but Android 4.2 broke Wiimote support. I am running a 4.1 ROM to use a Wiimote for games. Also I used to own an HTC device and Sense wasn't compatible with Wiimotes and I had to switch to CM to use one but that was ages ago.. Food for thought.
Hey there,
I've lately been exploring the true potential of the Wii U Pro Controller. So far I have been able to pair it with PC and utilize it flawlessly with a Steam game (Mortal Kombat Komplete Edition), so I've moved on to see it's capabilities in the android world.
I've done quite a bit of research and can confirm the only way you can possibly utilize this controller up till today is with an app that specifically claims to support it. At the moment the only known ones are any of Robert Broglia's apps. He has managed to incorporate a feature called "Scan for Wiimotes/iCP/JS1" which works like magic with the Wii U Pro Controllers. I have been able to connect 4 controllers to it just by enabling the scan and pressing the "Sync" button on each controller. Unfortunately though this doesn't actually "pair" the controllers per say, it seems like it's only a very temporary connection which disappears once you press Home button or exit the app. This limits you to only SNES/GB and the other few apps he has but hey at least it's a start.
Now moving onto the actual "pairing" side of things - I have recently downloaded a number of bluetooth manager apps and joystick input apps to experiment with, and using a combination of a few, I was able to somehow pair the controller!
[See attached, noobs aren't allowed to post URLs ]
HOWEVER - unfortunately I have tried using it with a few apps (mainly N64 ones) and it seems to be totally unresponsive. Either that or perhaps I'm not using the correct Joystick button mapping apps...
Btw I'm still using 4.1.2, during my research I've noticed a lot of people on 4.2 have been unsuccessful with most of what I've mentioned above...
-snip-
LiquidRabbit said:
Do you happen to remember the name of the apps that allowed you to pair the controller? Are you able to use the Dpad and buttons within an app normally, just without the use of the analogue sticks?
I love the Wii U Pro controller and I am trying everything to get it to work with my device. Like you said, only the .emu apps work.
The devices that worked were:
Hisense Sero 7 Pro
Galaxy S Blaze 4G
Click to expand...
Click to collapse
Iam intrested as well. I cant figure it out. People say it can be paired with snes9x, but i couldnt pair it.
Ughhh I thought I found the thread with a method
Sent from my SGH-M919 using Tapatalk 4
LiquidRabbit said:
Do you happen to remember the name of the apps that allowed you to pair the controller? Are you able to use the Dpad and buttons within an app normally, just without the use of the analogue sticks?
I love the Wii U Pro controller and I am trying everything to get it to work with my device. Like you said, only the .emu apps work.
The devices that worked were:
Hisense Sero 7 Pro
Galaxy S Blaze 4G
Click to expand...
Click to collapse
Unfortunately, I dont remember
No, regardless of it being paired, there is not a single way I can use it, all four lights on the controller remain blinking (probably normal till an intended-for-use app instructs it to light only 1 LED), and whatever app I try to use it with, won't register or recognize any keypresses.
jlove said:
Iam intrested as well. I cant figure it out. People say it can be paired with snes9x, but i couldnt pair it.
Click to expand...
Click to collapse
I assume your Android OS version is later than 4.1.2?
Supposedly this works, but you may need to attach a bluetooth dongle to your device (yes, even though it already has bluetooth built in):
http://forum.xda-developers.com/showthread.php?t=2381953
is this the app?
LiquidRabbit said:
Do you happen to remember the name of the apps that allowed you to pair the controller? Are you able to use the Dpad and buttons within an app normally, just without the use of the analogue sticks?
I love the Wii U Pro controller and I am trying everything to get it to work with my device. Like you said, only the .emu apps work.
The devices that worked were:
Hisense Sero 7 Pro
Galaxy S Blaze 4G
Click to expand...
Click to collapse
uh.... i found this app in the app store recently and was curious if this would help anybody... it claims that i works with wii remotes and does work with the ps4 controller~
the reason that i cant comfirm if it works or not is because i dont own a wii u pro controller (yet lol)
i hope this helps! sorry if it doesnt
damn it aparently i cant post links yet..
anywho you can search this in the android market and it should send you to one of his apps
poke64738
This might help anybody having pairing issues. My nabi 2 has an option for ''bluetooth time out'' before changing it to ''never off'' i couldn't pair my phone. Afterwards it paired effortlessly.

[ROM][Full Android 5.1 for Shield TV][v.2.2]

Content removed.
Content removed.
Content removed.
Hi Zulu, I think I saw someone get a bit of hate for this suggestion with your Nexus Player LolliRock ROM but is it possible to install the Leanback Launcher onto this full Android ROM and emulate most of the Android TV experience? My reason would be that I want the freedom of the full Play Store app and settings but I do like the Android TV interface for use from my couch.
Also, presumably this requires an unlocked bootloader but not root because I've been struggling to root my 16 GB model.
Thanks for your work.
BenjiHansell said:
Hi Zulu, I think I saw someone get a bit of hate for this suggestion with your Nexus Player LolliRock ROM but is it possible to install the Leanback Launcher onto this full Android ROM and emulate most of the Android TV experience? My reason would be that I want the freedom of the full Play Store app and settings but I do like the Android TV interface for use from my couch.
Also, presumably this requires an unlocked bootloader but not root because I've been struggling to root my 16 GB model.
Thanks for your work.
Click to expand...
Click to collapse
Sure that you can. The leanback launcher is a stupid launcher like others but just a little more stupid because not support mouse. But you can start Android TV apps also without leanback launcher. http://www.apkmirror.com/?s=leanback+launcher&post_type=apps_post
You can start the leanback launcher also like an app if you create a shortcut like in this video https://youtu.be/NMqz8e33oq8 So when you install Android TV apps, you can have all in one bad place that is the leanback launcher. Without create a shortcut for every Android TV app. ( 10 in total )
I prferer Googl Now Launcher.
People not understand that you need just more accessibility on apps and this depend from developers.
You can control an app with a mouse, dpad or controller if a developer want this.
After that you can use Android, Android TV or also Android NOOB.
One thing is sure, Android TV is limited on purpose and you can't have all apps from Google Play.
The 320 dpi in build.prop is not compatible with many beautiful apps also if you sideload.
Every standard app is better and faster than the leanback version. Try standard youtube and leanback youtube to understand.
For me the life is too short to waste time with directional keys. I never used a classic Smart TV for this reason and all my TV are Smart TV.
For this reason i like full Android.
You think that if Android TV was better than Android I lose most of my free time to build these firmware ? I'm not so stupid.
But do not worry i appreciate and respect the requests of all
To have Youtube at 1080p and up read this post
https://plus.google.com/+VideomapIt/posts/QiC1Pksvzaq
I suggest to read also the comments. to understand really what i think.
I am very tired of the forced closures made to defend the economic interests of a few.
Many of these closures are also passed off as security but are just violations of the rules for fair competition between companies.
I hope I am not overlooking something due to lack of sleep, but am I correct in saying the nvidia game controller that came with the box doesn't work in this rom? My box isn't recognizing the controller after flashing rom, gapps, and su
After reading a little closer I see it can be made to work if connected via usb, but I much rather have it work wireless since I use the box connected to a network cable and wireless network connection doesn't pose any interference for me. Is there a way to restore the wireless controller connection?
RebelebeR said:
I hope I am not overlooking something due to lack of sleep, but am I correct in saying the nvidia game controller that came with the box doesn't work in this rom? My box isn't recognizing the controller after flashing rom, gapps, and su
After reading a little closer I see it can be made to work if connected via usb, but I much rather have it work wireless since I use the box connected to a network cable and wireless network connection doesn't pose any interference for me. Is there a way to restore the wireless controller connection?
Click to expand...
Click to collapse
For the controller in wireless mode: ( wired works well )
Request it to Nvidia sayng:
Please Nvidia if you sell an hardware controller, why you not publish the drivers for Android, Windows and Linux like all other companies that sell an hardware controller ? Or explain how to add it in a custom firmware ? You publish also the source code, why not publish it as closed binaries like others parts proprietary ?
In the second post you can find an alternative to use the controller in wireless mode.
It work better than native wireless mode, everyone can compare also in Nvidia Grid. ( Grid is beautiful also with my bad adsl )
And don't forget that you can use also any other standard controller ( also a 5$ chinese controller ), because the voice search capability and audio routing is possible in this firmware in many ways. The smarter way to make voice search in google now ( the full google now ) is with a webcam attached or with a bluetooth headsets. It's smarter because you can do this without nothing in your hands. Just sayng: " OK Google " + videochats in hangout and more...
Unfortunally i can't solve this for now. The only one thing that not work, but not for my incompetence.
I don't want use bad words to explain better why this behaviour. But smart people can understand.
Has anyone tried this on a shield tablet? I would assume you ca get a close experience. Also are the Nvidia apps bundled in the rom(controller, grid, game stream)
Sent from my iPhone using Tapatalk
I like this ROM, but I have come across a few things that might make me go back to stock. The problem with wireless game controller not working unless tethered to the device (Not zulu99's fault), and Doom 3 will no longer run. You start it and it immediately just goes back to the home screen without any error to reference. I downloaded the stock image and am still debating as to whether I want to go back to stock or not.. I didn't say it before and I should have, but thanks for all the time and effort you have invested in this ROM.
RebelebeR said:
I like this ROM, but I have come across a few things that might make me go back to stock. The problem with wireless game controller not working unless tethered to the device (Not zulu99's fault), and Doom 3 will no longer run. You start it and it immediately just goes back to the home screen without any error to reference. I downloaded the stock image and am still debating as to whether I want to go back to stock or not.. I didn't say it before and I should have, but thanks for all the time and effort you have invested in this ROM.
Click to expand...
Click to collapse
you have read the second post about the controller config. it work well for me. what is your problem ? why you can't tether ? I'm curious.
zulu99 said:
you have read the second post about the controller config. it work well for me. what is your problem ? why you can't tether ? I'm curious.
Click to expand...
Click to collapse
I'm not sure what is wrong, but I'll figure it out when I have had a little more time with the device. No worries
Bboy486 said:
Has anyone tried this on a shield tablet? I would assume you ca get a close experience. Also are the Nvidia apps bundled in the rom(controller, grid, game stream)
Sent from my iPhone using Tapatalk
Click to expand...
Click to collapse
This firmware is for Shield Console, not for Shield Tablet.
Shield hub that have also grid inside can be downloaded directly from goole play.
for game stream i can work on the nvidia proprietary apk, but i tested Screen Stream Mirroring app and it work.
You can also record your gameplay with any app for screen recording so this is not a problem.
zulu99 said:
This firmware is for Shield Console, not for Shield Tablet.
Shield hub that have also grid inside can be downloaded directly from goole play.
for game stram i can work on the nvidia proprietary apk, but i tested Screen Stream Mirroring app and it work.
Click to expand...
Click to collapse
Forgive my confusion but isn't the point of this rom to mimic the shield console on other android devices? I have the tablet and want to add the android TV experience to it and immersive mode. Wouldn't flashing this Tom accomplish that?
Sent from my iPhone using Tapatalk
Bboy486 said:
Forgive my confusion but isn't the point of this rom to mimic the shield console on other android devices? I have the tablet and want to add the android TV experience to it and immersive mode. Wouldn't flashing this Tom accomplish that?
Sent from my iPhone using Tapatalk
Click to expand...
Click to collapse
No i ported full Android to Shield Console, because on Android TV you are in a walled garden and you can't have all apps from google play
In Android Tv you have also by default density to 320 dpi that is not good for standard apps.
If you like immersive mode you can simply use xposed framework.
Thanks for the clarification. With that said how can I get the android TV experience with Google now search on my tablet? Is it possible?
Sent from my iPhone using Tapatalk
Bboy486 said:
Thanks for the clarification. With that said how can I get the android TV experience with Google now search on my tablet? Is it possible?
Sent from my iPhone using Tapatalk
Click to expand...
Click to collapse
read the second and fifth post
about xposed framework ( for selective immersive mode) i not know if it work on your tablet, on shield console it work.
zulu99 said:
read the second and fifth post
about xposed framework ( for selective immersive mode) i not know if it work on your tablet, on shield console it work.
Click to expand...
Click to collapse
Unfortunately I get a error code when I try to install it
Sent from my SHIELD Tablet using Tapatalk
RebelebeR said:
I like this ROM, but I have come across a few things that might make me go back to stock. The problem with wireless game controller not working unless tethered to the device (Not zulu99's fault), and Doom 3 will no longer run. You start it and it immediately just goes back to the home screen without any error to reference. I downloaded the stock image and am still debating as to whether I want to go back to stock or not.. I didn't say it before and I should have, but thanks for all the time and effort you have invested in this ROM.
Click to expand...
Click to collapse
Thanks for sharing the Doom 3 problem. Yesterday after your words i had it working on my development build.
I will upload a new firmware version very soon that fix the problem.
New firmware version 1.4 updated in first post.
Compatibility with new games optimized for Tegra X1 like Doom 3
Improved performances

Categories

Resources