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
12,994
Trophies
4
Location
WA State
Website
ko-fi.com
XP
17,040
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: 269

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
957
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
  • No one is chatting at the moment.
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    as to you
  • K3Nv2 @ K3Nv2:
    How do you know if the night will be good when you're asleep
  • BakerMan @ BakerMan:
    because i didn't say i was asleep
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
    The Real Jdbye @ The Real Jdbye: never had that i don't think