3arthur6 / BluetoothLibraryPatcher

95 stars 9 forks source link

S22 A13 #27

Closed bklynali closed 1 year ago

bklynali commented 1 year ago

I see you pulled the android 13 off but on my s22 ultra on android 13 after restart I have to readd the Bluetooth devices.

Conan179 commented 1 year ago

I refer to https://github.com/3arthur6/BluetoothLibraryPatcher/issues/24 That's been the same problem. My Galaxy Bus Live was always connected even after a reboot. My SPen Pro is always connected, the only problem I had was that I couldn't connect my watches (watch3 and Gear s2).

bklynali commented 1 year ago

yes sure. It doesn't work, but something has changed, now I see the message that Bluethotto force is being closed. I didn't even see the message with the other version because it immediately disappeared. logcat2.log

Huh.. You could these one but at this point i'm trying some kind of random changes.. BluetoothLibraryPatcher_magisk_2.6_test_w8_1.zip BluetoothLibraryPatcher_magisk_2.6_test_w8_0.zip BluetoothLibraryPatcher_magisk_2.6_test_w25w19.zip


[BluetoothLibraryPatcher_magisk_2.6_test_w8_1.zip] Works well on Note 20.

/BluetoothLibraryPatcher_magisk_2.6_test_w8_0.zip) < Bluetooth keeps disconnecting and connecting.

3arthur6 commented 1 year ago

[BluetoothLibraryPatcher_magisk_2.6_test_w8_1.zip] Works well on Note 20.

/BluetoothLibraryPatcher_magisk_2.6_test_w8_0.zip) < Bluetooth keeps disconnecting and connecting.

And what about your S22?

bklynali commented 1 year ago

[BluetoothLibraryPatcher_magisk_2.6_test_w8_1.zip] Works well on Note 20. /BluetoothLibraryPatcher_magisk_2.6_test_w8_0.zip) < Bluetooth keeps disconnecting and connecting.

And what about your S22?

Right now s22 doesn't require patch but I flash it didn't notice any difference. Maybe next update when Samsung changes vendor and kernel to android 13 we'll know for sure

bklynali commented 1 year ago

mount -w /system_root; cp -f /system_root/system/apex/com.android.btservices.apex /tmp; busybox xxd -p /tmp/com.android.btservices.apex|tr -d ' \n'|sed 's/6804003528008052/2a00001428008052/'|busybox xxd -pr > /system_root/system/apex/com.android.btservices.apex; NOW=$(date) && date "$(stat -c %z /system_root/system/apex/com.android.runtime.apex|cut -b -16)" > /dev/null && touch /system_root/system/apex/com.android.btservices.apex && date "$NOW" > /dev/null; rm -f /tmp/com.android.btservices.apex; umount /system_root;

Quick question when we change 6804003528008052 to this 2a00001428008052 what does it change?

3arthur6 commented 1 year ago

Quick question when we change 6804003528008052 to this 2a00001428008052 what does it change?

It's arm instructions converted to hexadecimal. In quick it bypass the vaultkeeper check by jumping at the end of the checking fonction. Use a binary disassembler and compare to to see in detail.

bklynali commented 1 year ago

Quick question when we change 6804003528008052 to this 2a00001428008052 what does it change?

It's arm instructions converted to hexadecimal. In quick it bypass the vaultkeeper check by jumping at the end of the checking fonction. Use a binary disassembler and compare to to see in detail.

You can close this issue 2.6.1 works on S22 I just tired it I removed vaultkeeper and stuff and flashed the zip and it worked without any issue

3arthur6 commented 1 year ago

You can close this issue 2.6.1 works on S22 I just tired it I removed vaultkeeper and stuff and flashed the zip and it worked without any issue

Thanks for the feedback