Hardware Android JoyCon Lag

Does this happen to you?

  • Yes

  • No


Results are only viewable after voting.

qwcan

New Member
Newbie
Joined
Feb 9, 2019
Messages
2
Trophies
0
XP
44
Country
United States
Are there any updates to fixing the lag on Android Pie (9.0)? I can't find any of the hex values in /system/lib64/libbluetooth.so
 

qwcan

New Member
Newbie
Joined
Feb 9, 2019
Messages
2
Trophies
0
XP
44
Country
United States
I made a short youtube video explaining if, hope it helps

I appreciate the help, but it doesn't work for me. I can't find the hex values, and the size of my libbluetooth.so doesn't line up with yours. If it's any help, I'm on a OnePlus 5T running OxygenOS 9.0.3
 

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
EDIT 3 : I was able to make it work by editing the second bluetooth.default.so (in the lib64 folder). I can't make a general protocol on how to patch the file, but on my Galaxy S7 running Oreo I had to replace the first occurence of 09648052 with 09038052. I used objdump to decompile the file (but I wan't able to find any reference to ssr), and searched a line with value 0x320 in it (which is 800, the default value). I wanted to try all lines where 0x320 is assigned, I was lucky it worked on the first one ! (This is why you have to replace only the first occurence)
I found that (this is in reverse order)
  • 52 means "mov"
  • 80 means ???
  • 6409 is 0x640 in the 9th register. I don't know why the value is doubled. (And so, to put 24, which is 0x18, just replace 640 with 0x018 * 2 = 0x030)
I know very little (almost nothing) about assembly and machine code, so this may be completly wrong. However, this works on my phone, so it may be worth it for you to try this (always with a backup just in case :P )

This method works also on my Galaxy Note 9 running Android Pie (One UI). The difference is that the file isn't /system/lib64/hw/bluetooth.default.so but /system/lib64/libbluetooth.so
Again, just replacing the first occurence of 09648052 with 09038052 works fine with me.
As always, be safe and do a backup :)
 
  • Like
Reactions: hippy dave

yul

New Member
Newbie
Joined
May 4, 2019
Messages
1
Trophies
0
Age
123
XP
53
Country
France
This method works also on my Galaxy Note 9 running Android Pie (One UI). The difference is that the file isn't /system/lib64/hw/bluetooth.default.so but /system/lib64/libbluetooth.so
Again, just replacing the first occurence of 09648052 with 09038052 works fine with me.
As always, be safe and do a backup :)

Just made an account to say thanks !
Works on galaxy s9+ lineage android 8.1.
And thanks to OP too btw !
 

Motarde

New Member
Newbie
Joined
May 23, 2019
Messages
1
Trophies
0
Age
22
XP
43
Country
Switzerland
Just made an account to say thanks !
Works on galaxy s9+ lineage android 8.1.
And thanks to OP too btw !
Hey I have an S9+ without root and I never rooted one could someone explain me what I have to do to succeed, especially yul because u have the same phones as me.
 

notrewound

New Member
Newbie
Joined
Jul 26, 2016
Messages
1
Trophies
0
Age
43
XP
41
Country
United States
Has anyone figured out the string that needs to be replaced in /system/lib64/libbluetooth.so on Galaxy S8 (running Android 9)?

I'm not finding the suggesting strings (or subsets of them).

EDIT: In addition to the ones for S5, etc., posted earlier in the thread, I've searched for 09648052.

I do have an app called Bluetooth Auto Connect I was trying to use to solve this issue. So if 09648052 is the correct value to find on a S8 plus, I'm wondering if the value was maybe changed by that app?

Can anyone let me know the offset where I should find the hex value?
 
Last edited by notrewound,

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
Has anyone figured out the string that needs to be replaced in /system/lib64/libbluetooth.so on Galaxy S8 (running Android 9)?

I'm not finding the suggesting strings (or subsets of them).

EDIT: In addition to the ones for S5, etc., posted earlier in the thread, I've searched for 09648052.

I do have an app called Bluetooth Auto Connect I was trying to use to solve this issue. So if 09648052 is the correct value to find on a S8 plus, I'm wondering if the value was maybe changed by that app?

Can anyone let me know the offset where I should find the hex value?

I don't know what program/app you used, but you have to search for hex values and not strings.
 

Shibbro

Member
Newcomer
Joined
Jan 31, 2019
Messages
14
Trophies
0
Age
34
XP
116
Country
Australia
I'm on Android 9, I can't find any of the hex values either. Annoying thing is that when I was on 8.1 I could find them in bluetooth.default.so.
 

your_eye_ah

New Member
Newbie
Joined
Aug 8, 2019
Messages
1
Trophies
0
Age
36
XP
33
Country
United States
I appreciate the help, but it doesn't work for me. I can't find the hex values, and the size of my libbluetooth.so doesn't line up with yours. If it's any help, I'm on a OnePlus 5T running OxygenOS 9.0.3

I found the correct file to edit on my One Plus 6 running OxygenOS 9.0.7. In the /system/lib64/libbluetooth_qti.so file, search for 09648052, then edit the 64 to 03 like in the video. Be sure to backup the original file before making any changes.

*Side note, I had to copy the file to a different folder on my phone to edit it, then replace the original file with the new one in its original location.*
 
  • Like
Reactions: Neo127

OxydBCN

New Member
Newbie
Joined
Aug 17, 2019
Messages
1
Trophies
0
Age
22
XP
52
Country
Belgium
Hello,

Android 9 Pie user here.

Wish someone could track the parameters to edit for us.

This topic is way to complex for me to try to dig it personally, (i don't know where to start).

My system is a Samsung Galaxy Tab A (2019) SM-T510, with Android 9 Pie, and a tremendously big bluetooth lag with any console controler i have (DS4 and Switch Pro Controller)

If someone gets the codes, i will be super glad.

Thanks in advance.
 

Flumoo

New Member
Newbie
Joined
Aug 22, 2019
Messages
1
Trophies
0
Age
32
XP
45
Country
Poland
I found the correct file to edit on my One Plus 6 running OxygenOS 9.0.7. In the /system/lib64/libbluetooth_qti.so file, search for 09648052, then edit the 64 to 03 like in the video. Be sure to backup the original file before making any changes.

*Side note, I had to copy the file to a different folder on my phone to edit it, then replace the original file with the new one in its original location.*

Not working on 1+ 7 pro, i have a Oxygen OS 9.5.11.GM21AA

Can somebody explain me, what exactly do you change? Are you looking for random hexes or something? I know a little shared objects, maybe somebody have documentation or something of that?

And maybe someone knows whats difference between this libraries, lubbluetooth, bluetooth, libbluetooth_qti etc. ? It is crazy that you are working with that :D
 
Last edited by Flumoo,

Dom83

Member
Newcomer
Joined
Apr 2, 2009
Messages
10
Trophies
0
XP
64
Country
France
Hello. I want to fix gamepad latency on a Lenovo Z6 Lite running Android 9.

In /system/lib/hw/ there is nothing about bluetooth.
In /system/lib64/libbluetooth.so and /system/lib64/libbluetooth_qti.so I can't find any 09648052, neither B1F5487F88BF, neither B2F5487F88BF.

However in libbluetooth.so I found 7109098052 , 7109948052 and 71090D8052 , which I converted to 7109038052.
Then I rebooted the phone. But it did not change anything, there is still the same little lag. :(

Any idea what other value I should search for ?

If you have a few minutes to waste, here are my files :
libbluetooth.so
libbluetooth_qti.so
 
Last edited by Dom83,

Forgotten_Email

Well-Known Member
Newcomer
Joined
Mar 3, 2019
Messages
47
Trophies
0
Location
Manchester, England
XP
241
Country
United Kingdom
I tested my Joy-Cons and the Pro Controller on my Android and while it did work, it was very laggy and unplayable. The Wiimote can connect but it requires a pin that no one seems to know.
I tested my Joy-Cons and the Pro Controller on my Android and while it did work, it was very laggy and unplayable. The Wiimote can connect but it requires a pin that no one seems to know.
There is no actual pin for it, it's just how the wiimote's bluetooth works that it asks for a pin when there isn't one
 

Dracker

New Member
Newbie
Joined
May 6, 2007
Messages
1
Trophies
0
XP
5
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.
 
Last edited by Dracker,

Valtemir

Member
Newcomer
Joined
Mar 29, 2015
Messages
15
Trophies
0
Age
31
Location
Teresina
XP
114
Country
Brazil
I have found one problem, when I eventually got around to trying my Pro Controller I found that it still has the normal lag. Why would it not be affected by this fix.
The fix is working because when I swap back to a Joy-Con it works without lag.
Has anyone else actually tested a Switch Pro Controller?
 

supersonic_32

New Member
Newbie
Joined
Oct 10, 2007
Messages
1
Trophies
0
XP
2
Country
Canada
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.

IT WORKS!! Thank you so much, i did not find anything for my oneplus 7 pro on android 10 anywhere else!! Took 1 minute fixing it for good!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Badcatalex @ Badcatalex:
    sony should #stopkillinggames
  • Badcatalex @ Badcatalex:
    they killed LittleBigPlanet online, which was the main core of every LBP game
  • BakerMan @ BakerMan:
    for real
  • BakerMan @ BakerMan:
    at least with them, it was because of the DDOS attacks, ubisoft was just scummy
  • BakerMan @ BakerMan:
    fuck ubisoft, and fuck activision
    +1
  • realtimesave @ realtimesave:
    Nintendo needs to release a new console, switch is getting such shitty little games lately lol it's pathetic
  • Purple_Heart @ Purple_Heart:
    Lmao a new flashcart... The Unlock Switch... I knew it's not fake xD
    +1
  • NinStar @ NinStar:
    A new consoles won't solve that problem
  • NinStar @ NinStar:
    It will actually make it worse
  • The Real Jdbye @ The Real Jdbye:
    well actually
    a new console won't do anything right now, because the games are still in development, that's why there are few games being released
  • The Real Jdbye @ The Real Jdbye:
    it won't make the games finish any faster
  • Veho @ Veho:
    2/3rds of launch titles for the Switch 2 will just be lazy ports of Switch games anyway.
  • The Real Jdbye @ The Real Jdbye:
    probably
  • The Real Jdbye @ The Real Jdbye:
    maybe mario kart 9 will be a launch title
  • The Real Jdbye @ The Real Jdbye:
    i really want a new mario kart
  • Veho @ Veho:
    What, you mean the endless stream of DLCs doesn't count?
  • Veho @ Veho:
    Why develop a new game when you can just sell season passes forever?
  • Veho @ Veho:
    I'm still on MKDS so I'm not bothered :tpi:
  • The Real Jdbye @ The Real Jdbye:
    i like the dlc tbh, i'd like a new game more
  • ZeroT21 @ ZeroT21:
    but the current version is still selling fine at full price
  • SylverReZ @ SylverReZ:
    Hello
  • ZeroT21 @ ZeroT21:
    sup
    +1
  • SylverReZ @ SylverReZ:
    @realtimesave, You seen the Unlock Switch flashcart yet?
  • K3Nv2 @ K3Nv2:
    I'll see the 19.0 update that blocks use ability to it
    +1
  • K3Nv2 @ K3Nv2:
    Lol newegg+
    Screenshot-20240423-053504-Gmail.jpg
    K3Nv2 @ K3Nv2: Lol newegg+