[Galaxy S II Q&A, Help & Troubleshooting] darki00:
Edit 1: Wiimote + S2 on TV works for XXLPJ... but it works with the ROM XXLJS (4.1.2 leak => it's the first samsung jelly bean rom on S2)

First you download the ROM I9100XXLPJ and later you root (use CF-Root-SGS2_XX_OXA_LPJ-v5.3-CWM5.zip to root your SGS2). Then you install Bluez IME and BluezIME-HIDEnabler.apk ("wiimotecontroller" app seems to not work but it is not a problem because Bluez IME is better) and your emulator (ex : Gensoid ; or others emulators).

1) If you want to play with N64oid emulator:

a)Launch a game in N64oid (but do not launch bluez IME).

b)Go to "settings", then "input settings" and "bluetooth gamepads".

c)Choose "Controller 1".

d)Choose the "device driver" (it is "Wiimote (some firmwares)"), then touch "select device" and "scan" (accept when your phone asks you to activate bluetooth). At that time, press 1 second (or more if you want, it's the same) the red button next to the batteries of the wiimote and choose the wiimote in the "found devices".

e)Finally check the box "Connect" and wait. If the synchronisation worked, the phone will not ask for a pairing code and "Key Mappings" will be written in white.

If "Key mappings" works, you can change the buttons you want to play.

NB: If you want to play with two, three or four wiimote, you had to redo a) and b) but for c) you had to choose "controller 2", "controller 3" or "controller 4". Then it will be the same for d) and e).

2) If you launch another emulator (like gensoid).

a) Launch the emulator. Go in settings and then other settings and check the box "use input method".

b) Launch Bluez IME. Touch "Set number controllers" and choose "4 active controllers" (to play with 4 wiimotes). Uncheck "activate bluetooth" if it's check.

c) Choose "Select device #1" and scan. It will ask you for activate bluetooth, say "yes". At that time, press 1 second (or more if you want, it's the same) the red button next to the batteries of the wiimote and choose the wiimote in the "found devices". In "Select device driver #1" choose "Wiimote (some firmwares).

d1) Go to "Select IME", choose "Bluez IME" (not "samsung Keyboard") and in the same time :

d2) hit the button 1 and the button 2 of your wiimote.

e) If it works, it will not ask you for a pairing code and the light on the wiimote will remain blue.

f) Go to "configure buttons for device" and choose any keys (it does not matter because the real configuration of the keys will be in the emulator).

g) If you want to play with 2/3 or 4 wiimotes, you have to redo for each controller : c) d2) and e)

Nb: If you play with 2/3/4 controllers, choose random keys in "configure buttons for device" (Caution !! you must not have a common key between each player)

h) Configure your emulator. For Gensoid you had to go in "Settings" and "input setings", "keys mappings". Then touch on the screen of your phone "Up" and touch the button on your wiimote you want for "up" in your game. Then do the same for "Down", "Left", "Right", "Start, "Button A", "Button B", "Button C".

i) If you want to play with two players down at the bottom of the screen and choose "Key Mappings" in "Pad 2". Then, configure the Keys as you want with the Wiimote 2 ;)

Nb: With Gensoid, you can't play with 3 or 4 wiimotes.

3) If you want to play with Mame emulator (I use MAME4droid Reloaded because it seems to be the best Mame emulator)

a) You had to do : 2b)c)d)e)f)g)

b) Configure your emulator : In the emulator, go to "options". Then "Settings" and to finish go to "Define keys". In "Define keys", configure your controllers.

c) Now, you can play with your wiimote ;)

PS: If you don't know how to have a game in an emulator or how launch a game in an emulator, google is your friend ;)

PS2: I hope my post will help some readers :). If you have any question... do not hesitate ;)

PS3: If Bluez IME does not have the option "Wiimote", it's because you did not install this :

BluezIME-HIDEnabler.apk