Advertisement
Huntereb

Joycons Android + HOS pairing

Sep 10th, 2019
562
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. Dump HOS system partition, retrieve the file "/save/8000000000000050".
  2.  
  3. Open 8000000000000050 in a hex editor, find the string "Joy-Con"
  4.  
  5. You should see two entries within the file, for your left and right joycon, and whatever other controllers you've synced I guess.
  6.  
  7. The entries should look like this: https://lewd.pics/f/c9ec2b60/2019-08-11--1565575206_954x1147_scrot.png
  8.  
  9. Under those strings, you should see a block of bytes like "25 08 XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX 01"
  10.  
  11. The 16 bytes between "25 08" and "01" are your joycon pairing keys. Write both of them down somewhere.
  12.  
  13.  
  14. You need to get your console's Bluetooth Mac address as well. That's in your prodinfo at 0x220, the first six bytes.
  15.  
  16.  
  17. Now open up your Android userdata partition and go to /misc/bluedroid/. Find the file "bt_config.conf".
  18.  
  19. If you've paired your joycons in android before, there should already be two entries for them.
  20.  
  21. In those entries, find the "LinkKey" setting. Stick the keys you obtained earlier here, instead of what was already there. Lowercase, no spaces, exactly as what was already there.
  22.  
  23. You can also probably change the "[Adapter]" entry's address to your HOS mac address, but I don't think it really matters.
  24.  
  25.  
  26. After all of that, you need to change Android's Bluetooth address to the one HOS uses. You can do that easiest by opening your android boot partition (can be dumped in TWRP), and searching for the string of bytes AC1F00A35643 (This is the default bluetooth address in little endian; 43:56:a3:00:1f:ac)
  27.  
  28. You'll find two results. Replace these with HOS's bluetooth mac address you retrieved earlier, little-endian.
  29.  
  30. Flash your boot partition back.
  31.  
  32.  
  33. If you did everything right then your joycons should work in HOS and Android without requiring a repair every time you swap. Horray!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement