Hardware Android JoyCon Lag

Does this happen to you?

  • Yes

  • No


Results are only viewable after voting.

Cyal

New Member
Newbie
Joined
Jan 26, 2015
Messages
3
Trophies
0
XP
54
Country
Germany
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
Joined
Dec 2, 2018
Messages
6
Trophies
0
Age
23
Location
Wisconsin USA
XP
60
Country
United States
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
 

bontalor

New Member
Newbie
Joined
Feb 25, 2020
Messages
1
Trophies
0
Age
22
XP
42
Country
United States
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?
 

Jayro

MediCat USB Dev
Developer
Joined
Jul 23, 2012
Messages
13,007
Trophies
4
Location
WA State
Website
ko-fi.com
XP
17,112
Country
United States
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

tigui

New Member
Newbie
Joined
Apr 5, 2020
Messages
2
Trophies
0
Age
24
XP
36
Country
Portugal
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,

tigui

New Member
Newbie
Joined
Apr 5, 2020
Messages
2
Trophies
0
Age
24
XP
36
Country
Portugal
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!
 

MK73DS

Non-commutative algebra
Member
Joined
Feb 23, 2015
Messages
575
Trophies
0
Age
25
Location
France
Website
www.youtube.com
XP
1,536
Country
France
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.
 

soadroxs

New Member
Newbie
Joined
Apr 9, 2020
Messages
1
Trophies
0
Age
27
XP
42
Country
Portugal
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)!
 

01X

Member
Newcomer
Joined
Jul 29, 2019
Messages
22
Trophies
0
Age
48
XP
80
Country
United Kingdom
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,

Mario119

Well-Known Member
Newcomer
Joined
Sep 2, 2018
Messages
70
Trophies
0
Age
25
XP
455
Country
United States
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.
 

MangoSamurai

New Member
Newbie
Joined
Dec 26, 2020
Messages
1
Trophies
0
Age
21
XP
38
Country
Switzerland
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

  • Input lag fix for switch.zip
    1.6 MB · Views: 271

FapiTweix

New Member
Newbie
Joined
Nov 20, 2021
Messages
1
Trophies
0
Age
36
XP
32
Country
United States
Wow. Just wow. I love you. I wish I could do that. You know, know everything? Awesome. Bravo. I salute you. Good day!
 

ArgoRV

Well-Known Member
Member
Joined
Sep 23, 2017
Messages
239
Trophies
0
Age
40
XP
960
Country
Venezuela
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

General chit-chat
Help Users
  • Sicklyboy @ Sicklyboy:
    I'm planning to start building it back up though. Plus, Usenet automation around music downloading has gotten so much better since then
  • Psionic Roshambo @ Psionic Roshambo:
    I used to use high end headphones and speakers JBL back when they made good speakers lol X-Fi Fatality edition sound card on PCI with XP back when Windows had good sound....
  • SylverReZ @ SylverReZ:
    @Sicklyboy, Using a Fiio DAC and Betron headphones.
    +1
  • Sicklyboy @ Sicklyboy:
    I use AKG K7XX headphones for daily use, but Meze 99 Classics when I want to *enjoy* the music
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I mean built in sound on mobo's has gotten way better but still XP handled sound better and X-Fi was still better than onboard audio even to this day
  • Psionic Roshambo @ Psionic Roshambo:
    Hell not sure what was going on but for like a few weeks MP3's sounded muffled, some driver or Windows update fixed it. Thank god lol
  • Sicklyboy @ Sicklyboy:
    Oh boy Massdrop has $1100 IEMs. Want, but not at that price lmao. https://drop.com/buy/campfire-audio-andromeda-emerald-sea-iem
  • Sicklyboy @ Sicklyboy:
    I'd sooner buy the Meze 109 Pro if I was dropping that much on headphones. I don't even like buds/IEMs
  • Sicklyboy @ Sicklyboy:
    I got the Google Pixel Pro buds, they're good enough for when I need portable audio. And some really cheap IEMs that Dankpods recommends, I think the KZ ZSN Pro
    +1
  • K3Nv2 @ K3Nv2:
    I'd stick with cheapo Chinese $10 ones quality is actually becoming on pair with name brand since name Brand usually quads the price up anyway loose one bud that's another $200
  • Sicklyboy @ Sicklyboy:
    My Pixel Pro buds shit the bed a month or two ago. My wireless charger (which they do support Qi charging) absolutely COOKED them. Caused some problem that caused the case to heat up to 180F+
  • Sicklyboy @ Sicklyboy:
    They were like 9 months out of warranty but I hit up Google support anyway and told them how hot they were getting and they replaced them with new ones because they wanted these for failure analysis lol
  • Psionic Roshambo @ Psionic Roshambo:
    lol wireless charging
  • K3Nv2 @ K3Nv2:
    Yeah that's why I can't bring myself to even spend $100 on wireless earbuds
  • Psionic Roshambo @ Psionic Roshambo:
    I think it's a cool idea but damn
  • Sicklyboy @ Sicklyboy:
    Apparently the case has a problem with >15W wireless chargers. Google design fault, that one.
  • K3Nv2 @ K3Nv2:
    I could live with wireless charging if the damn standard case doesn't block connection
  • Xdqwerty @ Xdqwerty:
    how is wireless charging possible?
  • K3Nv2 @ K3Nv2:
    Dbz said everyone has raging energy senses
    +1
  • cearp @ cearp:
    you mean generally, how does the concept work?
    +1
  • K3Nv2 @ K3Nv2:
    Copper conducting electricity or something
  • Sicklyboy @ Sicklyboy:
    @Xdqwerty, power through a coil of wire causes an electromagnetic field to be generated. Another coil of wire can be set up to harness the power from that electromagnetic field and turn it into usable energy for charging a device
    Xdqwerty @ Xdqwerty: @Sicklyboy, 1) ohkay 2) https://www.youtube.com/watch?v=n5K3jc6Q3HU