mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-04-25 08:05:56 +03:00
[GH-ISSUE #270] Unknown Error[3a] name: sec_state:BTM_SEC_STATE_GETTING_NAME #125
Labels
No labels
android
bug
documentation
enhancement
good first issue
help wanted
linux
pull-request
reverse-engineering
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librepods#125
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @TitanGames-729 on GitHub (Nov 18, 2025).
Original GitHub issue: https://github.com/kavishdevar/librepods/issues/270
I am running android 13 stock of Pixel 4 XL with magisk and lsposed. I tried the old verison with magisk module and now i am using the new apk with the old magisk module.
I use Airpods pro and when i connect them i get that "Your AirPods are connected via Bluetooth, but LibrePods Couldn't connect to AirPods using L2CAP. Error: Failed to establish the connection : read failed, socket might closed or tiemout, read ret: -1".
I have viperfx installed and thought that could be a problem, but i installed audio modification library (didn't help)
Also i have Play integrity next inject, tricky store, ACC, module for my custom kernel (AK3 Helper module), module to enable soli radar for pixels and zygisk - lsposed
I looked trough the logs and what i noticed is that sec_state error:
`=============
11-19 00:27:59.098 9651 10383 D AirPodsService: LogCollector:Start Connecting to socket
11-19 00:27:59.161 16038 16728 I BluetoothAdapterService: getActiveDevices: A2dp device: null
11-19 00:27:59.165 16038 16728 I BluetoothAdapterService: getActiveDevices: Headset device: 54:2F:04:A0:7D:14
11-19 00:27:59.166 16038 16728 D HearingAidService: getActiveDevices
11-19 00:27:59.166 16038 16728 I BluetoothAdapterService: getActiveDevices: Hearing Aid devices: Left[null] - Right[null]
11-19 00:27:59.167 16038 16164 I bluetooth: packages/modules/Bluetooth/system/main/shim/acl.cc:525 OnReadClockOffsetComplete: UNIMPLEMENTED
11-19 00:27:59.175 9651 10383 W devar.librepods: Unsupported class loader: java.lang.Class<org.lsposed.hiddenapibypass.CoreOjClassLoader>
11-19 00:27:59.230 16038 16290 W bta_ag_at: packages/modules/Bluetooth/system/bta/ag/bta_ag_at.cc:162 bta_ag_process_at: Unmatched command index 28
11-19 00:27:59.234 9651 10383 W devar.librepods: Unsupported class loader: java.lang.Class<org.lsposed.hiddenapibypass.CoreOjClassLoader>
11-19 00:27:59.239 9651 10383 D AirPodsService: BluetoothSocket has 4 constructors:
11-19 00:27:59.241 16038 16057 V BluetoothDatabase: setCustomMeta: metadata not changed.
11-19 00:27:59.249 16038 16057 V BluetoothDatabase: setCustomMeta: metadata not changed.
11-19 00:27:59.251 9651 10383 D AirPodsService: Constructor 0: (int, int, boolean, boolean, BluetoothDevice, int, ParcelUuid)
11-19 00:27:59.251 9651 10383 D AirPodsService: Constructor 1: (int, int, boolean, boolean, BluetoothDevice, int, ParcelUuid, boolean, boolean)
11-19 00:27:59.252 9651 10383 D AirPodsService: Constructor 2: (int, int, boolean, boolean, String, int)
11-19 00:27:59.252 9651 10383 D AirPodsService: Constructor 3: (BluetoothSocket)
11-19 00:27:59.252 9651 10383 D AirPodsService: Trying constructor signature #1
11-19 00:27:59.252 9651 10383 E AirPodsService: Constructor signature #1 failed: Cannot find matching constructor
11-19 00:27:59.252 9651 10383 D AirPodsService: Trying constructor signature #2
11-19 00:27:59.252 9651 10383 E AirPodsService: Constructor signature #2 failed: Cannot find matching constructor
11-19 00:27:59.252 9651 10383 D AirPodsService: Trying constructor signature #3
11-19 00:27:59.254 16038 16164 I bluetooth: packages/modules/Bluetooth/system/gd/hci/hci_layer.cc:113 drop: Dropping event MAX_SLOTS_CHANGE
11-19 00:27:59.255 16038 16728 V BluetoothDatabase: setCustomMeta: metadata not changed.
11-19 00:27:59.258 16038 16728 V BluetoothDatabase: setCustomMeta: metadata not changed.
11-19 00:27:59.260 16038 16057 V BluetoothDatabase: setCustomMeta: metadata not changed.
11-19 00:27:59.264 16038 16057 V BluetoothDatabase: setCustomMeta: metadata not changed.
11-19 00:27:59.266 16038 16057 V BluetoothDatabase: setCustomMeta: metadata not changed.
11-19 00:27:59.267 16038 16057 V BluetoothDatabase: setCustomMeta: metadata not changed.
11-19 00:27:59.268 16038 16728 V BluetoothDatabase: setCustomMeta: metadata not changed.
11-19 00:27:59.269 16038 16420 V BluetoothDatabase: setCustomMeta: metadata not changed.
11-19 00:27:59.270 16038 16420 V BluetoothDatabase: setCustomMeta: metadata not changed.
11-19 00:27:59.271 9651 9651 D AirPodsService: Metadata set: true
11-19 00:27:59.279 16038 16164 E bluetooth: packages/modules/Bluetooth/system/gd/hci/hci_layer.cc:156 on_command_status: Received UNEXPECTED command status:CONTROLLER_BUSY opcode:0x419 (REMOTE_NAME_REQUEST)
11-19 00:27:59.279 16038 16290 W bt_btm_sec: packages/modules/Bluetooth/system/stack/btm/btm_sec.cc:2239 btm_sec_rmt_name_request_complete: Remote read request complete with no underlying link connection
11-19 00:27:59.279 16038 16290 I bt_btm_sec: packages/modules/Bluetooth/system/stack/btm/btm_sec.cc:2250 btm_sec_rmt_name_request_complete: Remote read request complete with no address so searching device database
11-19 00:27:59.279 16038 16290 W bt_btm_sec: packages/modules/Bluetooth/system/stack/btm/btm_sec.cc:2281 btm_sec_rmt_name_request_complete: Remote read request failed for known device pairing_state:IDLE status:Unknown Error[3a] name: sec_state:BTM_SEC_STATE_GETTING_NAME
11-19 00:27:59.294 16038 16057 I bluetooth: packages/modules/Bluetooth/system/btif/src/btif_sock_l2cap.cc:321 btsock_l2cap_alloc_l: Allocated l2cap socket structure socket_id:4
11-19 00:27:59.294 16038 16290 I bt_l2cap: packages/modules/Bluetooth/system/stack/l2cap/l2c_api.cc:139 L2CA_Register: L2CAP Registered service classic PSM: 0x1001
11-19 00:27:59.295 16038 16164 E bluetooth: packages/modules/Bluetooth/system/gd/hci/hci_layer.cc:156 on_command_status: Received UNEXPECTED command status:CONTROLLER_BUSY opcode:0x419 (REMOTE_NAME_REQUEST)
11-19 00:27:59.296 16038 16290 W bt_btm_sec: packages/modules/Bluetooth/system/stack/btm/btm_sec.cc:2239 btm_sec_rmt_name_request_complete: Remote read request complete with no underlying link connection
11-19 00:27:59.296 16038 16290 I bt_btm_sec: packages/modules/Bluetooth/system/stack/btm/btm_sec.cc:2250 btm_sec_rmt_name_request_complete: Remote read request complete with no address so searching device database
11-19 00:27:59.296 16038 16290 W bt_btm_sec: packages/modules/Bluetooth/system/stack/btm/btm_sec.cc:2281 btm_sec_rmt_name_request_complete: Remote read request failed for known device pairing_state:IDLE status:Unknown Error[3a] name: sec_state:BTM_SEC_STATE_GETTING_NAME
11-19 00:27:59.296 16038 16290 I bluetooth: packages/modules/Bluetooth/system/btif/src/btif_sock_l2cap.cc:230 btsock_l2cap_free_l: Application has already closed l2cap socket socket_id:4
=============
11-19 00:27:59.296 9651 10383 D AirPodsService: LogCollector:Complete:Failed Socket not connected
`
The only thing that comes into my mind is that if the issue could be caused by the fact that my airpods show up with russian characters. I connected to a friend of mine so they got the name from him but i didn't bother to change it. Hope it helps and thanks!
airpods_log_20251119_002752.txt