Hardware Android JoyCon Lag

  • Thread starter Thread starter gudenau
  • Start date Start date
  • Views Views 155,520
  • Replies Replies 136
  • Likes Likes 1

Does this happen to you?

  • Yes

  • No


Results are only viewable after voting.
Here are the values that you need to change for the ASUS ROG Phone 2:

File: /system/lib64/libbluetooth_qti.so
Replace 71 08 64 80 52 with 71 08 00 80 52
 
  • Like
Reactions: Shibbro
This is happening on my phone too (LG G5 US 992) my joycons work fine on my Nintendo switch v2 wired or wireless.

My phone is running Android 7.0.0 (the one from LG).

I tried to use both that doesn't work and only one it still has lag the phone is Bluetooth 4 so it should work fine but it doesn't and the buttons on the right joycon press the ones on the left one so I can't play Minecraft PSP version on my phone probably have to get a old iPhone 6s because iOS isn't as broken as Android is
 
WORKING on OnePlus 7 Pro (on OxygenOS 10.0.1) using a slight variant of the numbers posted by notrewound

File: /system/lib64/libbluetooth_qti.so
Find: 09648052
Replace: 09008052

Note that if you replace 64 with 03 as suggested above, the phone still only polls every 24ms - button presses between polls won't get picked up. Setting it to 00 fixes this too.

I have made a Magisk module that applies this, I can post it if anyone is interested.

Hey, could you post the module?
 
Joycon are officially supported in Android 11, you only need to hope your phone manufacturer will update your phone to Android 11 when it comes out.
Ffffffffff

I just got Android 10 last month... FML. Looks like I be waiting another year for Samsung to get their shit together.
 
  • Like
Reactions: tigui
Hello! I was reading this thread and tried to find this file on my phone with an app that allows non-rooted phones to view and edit root file and I could not find the specified file. I am on a samsung galaxy A50. Does anyone know a solution to this? Thanks.
 
Last edited by tigui,
WORKING on OnePlus 7 Pro (on OxygenOS 10.0.1) using a slight variant of the numbers posted by notrewound

File: /system/lib64/libbluetooth_qti.so
Find: 09648052
Replace: 09008052

Note that if you replace 64 with 03 as suggested above, the phone still only polls every 24ms - button presses between polls won't get picked up. Setting it to 00 fixes this too.

I have made a Magisk module that applies this, I can post it if anyone is interested.

Could you post the module? Thanks!
 
Hello! I was reading this thread and tried to find this file on my phone with an app that allows non-rooted phones to view and edit root file and I could not find the specified file. I am on a samsung galaxy A50. Does anyone know a solution to this? Thanks.

This isn't possible. If it was, that's a very big security issue. Root is like system administrator, there shouldn't be any way of granting it to a non-root user.
 
WORKING on OnePlus 7 Pro (on OxygenOS 10.0.1) using a slight variant of the numbers posted by notrewound

File: /system/lib64/libbluetooth_qti.so
Find: 09648052
Replace: 09008052

Note that if you replace 64 with 03 as suggested above, the phone still only polls every 24ms - button presses between polls won't get picked up. Setting it to 00 fixes this too.

I have made a Magisk module that applies this, I can post it if anyone is interested.

For those interested, this also works with Realme X2 Pro (on Android 10)!
 
I'm trying to find the hex values to edit in my bluetooth.default.so. I already did find the "B1 F5 48 7F 88 BF 4F F4 48 71" and edit it as Igloo suggested, and it made no difference on my device. I'm using a Sony Xperia Z5 compact. Bootloader unlocked and running Lineage 14.1 - Android version 7.1.2

I put the bluetooth file in a decompiler, Ghidra and searched for some of the information listed here, namely HidSSRMaxLatency and I got quite a few hits, I just dont know what value I should be editing in hex.
I've read that its the 800ms for the SSR, but I'm not sure

These are some of the search results I came up with in Ghidra and they seem to point directly to where I need to edit but the problem is that I'm not sure HOW to edit them. I mean changing the value from 800 to 0 in the Hex Editor.

dJhZtvI.png


EKvF2Gx.png


This last one seems to have a reference to the uVar = 800 which is the mov.hi.w that
MK73DS was referencing.

I noticed that Igloo the original creator of this has been offline since 2018 so I doubt he is going to chime in to provide any advice on hex editing that 800 value.

If anyone wants to take a crack at editing or check the file I'm uploading it on my google drive here.
https://drive.google.com/file/d/1z40fcYH5-mghZsJICrAcO_QCvXUyXkkU/view?usp=sharing

For the time being I'm going to continue to experiment and try and see if I can fix it.
 
Last edited by 01X,
WORKING on OnePlus 7 Pro (on OxygenOS 10.0.1) using a slight variant of the numbers posted by notrewound

File: /system/lib64/libbluetooth_qti.so
Find: 09648052
Replace: 09008052

Note that if you replace 64 with 03 as suggested above, the phone still only polls every 24ms - button presses between polls won't get picked up. Setting it to 00 fixes this too.

I have made a Magisk module that applies this, I can post it if anyone is interested.
If you still have that Magisk module on hand I would very much appreciate it. Experiencing this lag on my OnePlus 7T right now whenever I sync up my Pro Controller.
 
WORKING on OnePlus 7 Pro (on OxygenOS 10.0.1) using a slight variant of the numbers posted by notrewound

File: /system/lib64/libbluetooth_qti.so
Find: 09648052
Replace: 09008052

Note that if you replace 64 with 03 as suggested above, the phone still only polls every 24ms - button presses between polls won't get picked up. Setting it to 00 fixes this too.

I have made a Magisk module that applies this, I can post it if anyone is interested.
For the future people that stumble on this thread, I made a magisk module that will modify the libbluetooth_qti.so file :) just copy the zip file and install it in the magisk manager. (works on Android 10, Oneplus 7T Pro)

I wasted like 10 hours for this simple thing because I had no knowledge about magisk modules.

What I have learned while I was searching for solutions:
  • You cannot edit Android 10 System files with adb or root explorer (idk you just can't)
  • The easiest way is making a magisk module that overrides the file.
 

Attachments

Wow. Just wow. I love you. I wish I could do that. You know, know everything? Awesome. Bravo. I salute you. Good day!
 
Is this thread still alive?
I have an old tablet (Samsung Galaxy Tab 2 7") with a clean ROM of KitKat 4.4.2 installed that i want to use it to play some Snes games through an emulator
I have a generic "pro controller" gamepad, that has almost 1 full second of delay, and wonder if this method can also work with android 4.4.2 devices
Even when i find the bluetooth.default.so file, i can't find any of the hex values @igloo suggested
Also tried some disassemble softwares to search for values called bta_hh_read_ssr_param, MOV, or 800 or 500 but i have no idea what am i doing.
Is anyone familiar with disasseble so i can share the bluetooth.default.so file and help me find the correct hex values to write in the hex editor?
 

Site & Scene News

Popular threads in this forum