There is faster an easier way to set up SIXAXIS + MontioninJoy + Android.
What you will need:
PS3 Controller
SIXAXIS Controller App (it's a paid app but worth it)
MotionInJoy
Bluetooth Dongle
USB cable (micro b to a)
USB cable (mini b to a)
File Explorer [with ROOT]
Steps to take:
1) Install the Sixaxis controller app
2) Start the Sixaxis controller app and press "start"
3) Look at the bottom of your screen in the Sixaxis controller app and make note of the "local bluetooth address"
4) Plug your PS3 controller into your computer
5) Load MotionInJoy and check the "BluetoothPair" section to get your "Adapter MAC"
(this number is backwards; so if it shows b5.2e.f.dc.1b.0 then the number we need is actually 00.1b.dc.0f.2e.b5)
6) Open File Manager on your phone with
ROOT SETTINGS and go to
/efs/bluetooth/. (Start from root)
7) Edit file "bt_addr" and replace your "local bluetooth address" with
(reverted) "Adapter MAC"
8) Do the same in "bt_config.xml" file in
/data/misc/bluedroid folder. (Start from root)
9) Go into your phone Settings -> Applications -> SIXAXIS Controller to
"Clear Data" and
"Force stop" before running again (so it detects the changes in the MAC ID file)
10) Now you are ready to pair your PS3 PAD with PC and Android simultaneously.