Page 1 of 1

Is Android Bluetooth support possible now?

Posted: Fri Nov 27, 2020 1:54 pm
by rokujou
I've seen a couple of posts about Android support in the past but none of them mention the Bluetooth HID Profile API that is supported in recent Android versions. One app exists for the Switch to emulate a Joy Con or Pro Controller (JoyCon Droid), so perhaps it is also possible for an app to emulate a DualShock 4?

I've tried some of the sample apps that use the Bluetooth HID Profile API to emulate a bluetooth keyboard, but I can't seem to connect the phone to my PS4 (PS4 rejects the device after connection). What hurdles does GIMX jump through to connect via Bluetooth?

Re: Is Android Bluetooth support possible now?

Posted: Fri Nov 27, 2020 3:06 pm
by LoneWolf81
Currently there is no android version of GIMX and as far as I am aware there wont be any development done to support android.

In short to emulate a Dualshock 4 you will need to have successful authentication as required by the console. The console uses symmetric-key algorithms so without knowing the private key you cant just send a correct response to the console.

GIMX requires a Dualshock 4 to allow for the authentication and that is how it manages to connect via either Bluetooth on Linux based systems or with the usb adapter on Windows/Linux systems.

Re: Is Android Bluetooth support possible now?

Posted: Fri Nov 27, 2020 5:47 pm
by rokujou
I'm aware of all that, having done a little bit of research beforehand. However, we can connect a Dual Shock 4 to Android, correct? Can we not use a DualShock 4 in the same way on an Android device? What if the device were rooted?

I'm only asking because I would personally find an Android version much more convenient than a PC version. I understand there's no current effort to port to Android, I'm only really trying to ascertain the possibility and the difficulty involved.

Re: Is Android Bluetooth support possible now?

Posted: Mon Dec 21, 2020 9:02 am
by Matlo
GIMX requires low-level access to the bluetooth stack. This is unlikely to be possible on a non-rooted Android device. On a rooted Android device the possibility to emulate a Dualshock 4 depends on the bluetooth stack available on the device.