La découvrabilité Bluetooth n'est censée être active que dans les paramètres Bluetooth. Mais d'une manière ou d'une autre, Xiaomi MIUI a changé cela et elle est toujours active. Existe-t-il un outil qui permette de désactiver automatiquement la fonction de découverte du Bluetooth ? Il n'y a pas d'autre solution que de désactiver la fonction de découverte du Bluetooth à chaque fois que le Bluetooth est activé, que le téléphone redémarre ou autre.
Il existe des outils tels que Paramètres Bluetooth mais chaque fois que le téléphone est redémarré ou que le Bluetooth est réactivé, la découvrabilité est à nouveau activée.
Peut-être existe-t-il quelque chose comme Macrodroid (je n'ai pas trouvé d'option dans ce logiciel) qui pourrait faire cela ?
//edit : comme les commentaires ne peuvent contenir que quelques caractères, j'ajoute ici mon journal non filtré qui est écrit lorsque je change les paramètres via l'outil ci-dessus (seulement les lignes qui ne proviennent pas clairement d'autre chose/qui se répètent).
[ 11-01 23:41:57.281 23646:23646 D/BluetoothAdapter ]
enable(): BT already enabled!
[ 11-01 23:41:57.288 666: 666 D/vendor.qti.bluetooth@1.0-ibs_handler ]
SerialClockVote: vote for UART CLK ON
[ 11-01 23:41:57.289 1925: 2052 D/AdapterProperties ]
Discoverable Timeout:120
[ 11-01 23:41:57.289 666: 666 D/vendor.qti.bluetooth@1.0-wake_lock ]
Acquire wakelock is acquired
[ 11-01 23:41:57.289 666: 666 I/vendor.qti.bluetooth@1.0-ibs_handler ]
DeviceWakeUp: Writing IBS_WAKE_IND
[ 11-01 23:41:57.290 1925: 2052 D/AdapterProperties ]
Scan Mode:20
[ 11-01 23:41:57.293 666: 2642 I/vendor.qti.bluetooth@1.0-ibs_handler ]
ProcessIbsCmd: Received IBS_WAKE_ACK: 0xFC
[ 11-01 23:41:57.294 666: 2642 I/vendor.qti.bluetooth@1.0-ibs_handler ]
ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
[ 11-01 23:41:57.294 666: 2642 I/vendor.qti.bluetooth@1.0-ibs_handler ]
ProcessIbsCmd: Writing IBS_WAKE_ACK
[ 11-01 23:41:57.298 25175:25175 V//vendor/bin/chre ]
vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:1006: remote_handle_open: Successfully opened handle 0xffffffff for '":;./\createstaticpd:sensorspd on domain 0
[ 11-01 23:41:57.337 666: 2642 I/vendor.qti.bluetooth@1.0-ibs_handler ]
ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
[ 11-01 23:41:57.339 25175:25175 D//vendor/bin/chre ]
vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:989: Error 0xfffffffb: remote_handle_open_domain: dynamic loading failed for chre_slpi on domain 0 (dlerror unknown error)
[ 11-01 23:41:57.339 25175:25175 D//vendor/bin/chre ]
vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:925: Error 0x2c: remote_handle_invoke failed for handle 0xffffffff, method 5 on domain 0 (sc 0x5020000)
[ 11-01 23:41:57.339 25175:25175 E/CHRE ]
Failed to deliver timestamp message from host to CHRE: 44
[ 11-01 23:41:57.379 25175:25176 D//vendor/bin/chre ]
vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:989: Error 0xfffffffb: remote_handle_open_domain: dynamic loading failed for chre_slpi on domain 0 (dlerror unknown error)
[ 11-01 23:41:57.379 25175:25176 D//vendor/bin/chre ]
vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:925: Error 0x2c: remote_handle_invoke failed for handle 0xffffffff, method 2 on domain 0 (sc 0x2000000)
[ 11-01 23:41:57.379 25175:25176 E/CHRE ]
Failed to initialize reverse monitor on SLPI: 44
[ 11-01 23:41:57.379 25175:25176 D//vendor/bin/chre ]
vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:1925: Error 4b: adsp current process handle failed. domain 0
[ 11-01 23:41:57.381 25175:25176 V//vendor/bin/chre ]
vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:1006: remote_handle_open: Successfully opened handle 0xfbc6d8c0 for adsp_current_process on domain 0
[ 11-01 23:41:57.383 25175:25176 D//vendor/bin/chre ]
vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:1925: Error 4b: adsp current process handle failed. domain 0
[ 11-01 23:41:57.386 25175:25176 I/chatty ]
uid=1000(system) chre identical 1 line
[ 11-01 23:41:57.389 25175:25176 D//vendor/bin/chre ]
vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:1925: Error 4b: adsp current process handle failed. domain 0
[ 11-01 23:41:57.416 25175:25175 D//vendor/bin/chre ]
vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:989: Error 0xfffffffb: remote_handle_open_domain: dynamic loading failed for chre_slpi on domain 0 (dlerror segment 0 failed hash verification(0x0 B))
[ 11-01 23:41:57.416 25175:25175 D//vendor/bin/chre ]
vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:925: Error 0x2c: remote_handle_invoke failed for handle 0xffffffff, method 0 on domain 0 (sc 0x0)
[ 11-01 23:41:57.416 25175:25175 E/CHRE ]
Failed to start CHRE on SLPI: 44
[ 11-01 23:41:58.297 666: 2648 I/vendor.qti.bluetooth@1.0-ibs_handler ]
DeviceSleep: TX Awake, Sending SLEEP_IND
[ 11-01 23:41:58.297 666: 2648 D/vendor.qti.bluetooth@1.0-ibs_handler ]
SerialClockVote: vote for UART CLK OFF
[ 11-01 23:41:58.300 23646:23646 E/bcr ]
run
[ 11-01 23:41:58.302 23646:23646 D/BluetoothAdapter ]
enable(): BT already enabled!
[ 11-01 23:41:58.332 23646:23646 W/IInputConnectionWrapper ]
getTextBeforeCursor on inactive InputConnection
[ 11-01 23:41:58.343 23646:23646 W/IInputConnectionWrapper ]
getSelectedText on inactive InputConnection
[ 11-01 23:41:58.345 23646:23646 W/IInputConnectionWrapper ]
getTextAfterCursor on inactive InputConnection
[ 11-01 23:41:58.356 23646:23646 W/IInputConnectionWrapper ]
getCursorCapsMode on inactive InputConnection
[ 11-01 23:41:58.367 23646:23646 W/IInputConnectionWrapper ]
beginBatchEdit on inactive InputConnection
[ 11-01 23:41:58.367 23646:23646 W/IInputConnectionWrapper ]
endBatchEdit on inactive InputConnection
[ 11-01 23:41:58.380 1941: 1941 I/KeyboardViewUtil ]
systemKeyboardHeightRatio:1.000000; userKeyboardHeightRatio:1.000000.
[ 11-01 23:41:58.382 1941: 1941 I/AndroidIME ]
LatinIme.onDeactivate()
[ 11-01 23:41:58.383 1941: 1941 I/AndroidIME ]
LatinIme.onActivate() : EditorInfo = Package = by4a.bluetoothsettings : Type = Text : Learning = Disable : Suggestion = Show : AutoCorrection = Enable : Microphone = Show : NoPersonalizedLearning = Disable
[ 11-01 23:41:58.383 1941: 1941 I/Delight5Facilitator ]
initializeForIme() : Locale = [de], layout = qwertz
[ 11-01 23:41:58.400 1941: 1941 W/KeyboardModeManager ]
setInputView() : inputView = com.google.android.apps.inputmethod.libs.framework.core.InputView{9975614 V.E...... ......ID 0,0-1080,2135}
[ 11-01 23:41:58.400 1941: 1941 I/ConversationToQueryExtension ]
Conv2Query not enabled due to current app [by4a.bluetoothsettings] not in whitelist
[ 11-01 23:41:58.400 1941: 1941 I/ConversationToQueryExtension ]
onActivate() : Disabled by unsupported host app
[ 11-01 23:41:58.407 1941:24909 I/FederatedC2QExtension ]
Already registered manifest.
[ 11-01 23:41:58.407 1941:24909 I/FederatedC2QExtension ]
model for de/glowg_click_20190522 is not yet available
[ 11-01 23:41:58.407 1941:24909 I/FederatedC2QExtension ]
requesting model 'federated_conv2query_triggering_de_glowg_click_20190522'
[ 11-01 23:41:58.408 1941:24909 I/FederatedC2QExtension ]
no valid model for inferencing found, switching to baseline.
[ 11-01 23:41:58.411 1941: 3426 I/SP ]
Syncing federatedc2q (20190522) with slices: [], metadata: false
[ 11-01 23:41:58.413 1941: 3426 I/SP ]
Sync for federatedc2q succeeded in 4 ms: no changes
[ 11-01 23:41:58.413 1941: 3426 W/SP ]
isDirectory returned false while listing files for /data/user/0/com.google.android.inputmethod.latin/files/superpacks/federatedc2q
[ 11-01 23:41:58.413 1941: 3426 I/SP ]
GC for 'federatedc2q' (10) with ttl of 0 ms took 0 ms (0/0/0)
[ 11-01 23:41:58.414 1941: 3426 I/FederatedC2QExtension ]
Got no packs for locale: de
[ 11-01 23:41:58.447 1459: 4999 D/CompatibilityInfo ]
mCompatibilityFlags - 0
[ 11-01 23:41:58.447 1459: 4999 D/CompatibilityInfo ]
applicationDensity - 440
[ 11-01 23:41:58.447 1459: 4999 D/CompatibilityInfo ]
applicationScale - 1.0
[ 11-01 23:41:58.447 666: 2440 D/vendor.qti.bluetooth@1.0-wake_lock ]
Release wakelock is released
[ 11-01 23:41:58.460 1459: 4999 D/CompatibilityInfo ]
mCompatibilityFlags - 0
[ 11-01 23:41:58.460 1459: 4999 D/CompatibilityInfo ]
applicationDensity - 440
[ 11-01 23:41:58.460 1459: 4999 D/CompatibilityInfo ]
applicationScale - 1.0
[ 11-01 23:41:58.708 666: 2642 I/vendor.qti.bluetooth@1.0-ibs_handler ]
ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
[ 11-01 23:41:58.709 666: 2642 D/vendor.qti.bluetooth@1.0-ibs_handler ]
SerialClockVote: vote for UART CLK ON
[ 11-01 23:41:58.713 666: 2642 D/vendor.qti.bluetooth@1.0-wake_lock ]
Acquire wakelock is acquired
[ 11-01 23:41:58.713 666: 2642 I/vendor.qti.bluetooth@1.0-ibs_handler ]
ProcessIbsCmd: Writing IBS_WAKE_ACK
[ 11-01 23:41:58.734 1459: 1543 D/CompatibilityInfo ]
mCompatibilityFlags - 0
[ 11-01 23:41:58.734 1459: 1543 D/CompatibilityInfo ]
applicationDensity - 440
[ 11-01 23:41:58.734 1459: 1543 D/CompatibilityInfo ]
applicationScale - 1.0
[ 11-01 23:41:58.755 666: 2642 I/vendor.qti.bluetooth@1.0-ibs_handler ]
ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
[ 11-01 23:41:58.755 666: 2642 D/vendor.qti.bluetooth@1.0-ibs_handler ]
SerialClockVote: vote for UART CLK OFF
[ 11-01 23:41:58.797 1459: 2397 D/CompatibilityInfo ]
mCompatibilityFlags - 0
[ 11-01 23:41:58.797 1459: 2397 D/CompatibilityInfo ]
applicationDensity - 440
[ 11-01 23:41:58.797 1459: 2397 D/CompatibilityInfo ]
applicationScale - 1.0
[ 11-01 23:41:58.905 666: 2440 D/vendor.qti.bluetooth@1.0-wake_lock ]
Release wakelock is released
[ 11-01 23:41:58.980 1459: 1469 I/system_server ]
NativeAlloc concurrent copying GC freed 160321(7MB) AllocSpace objects, 30(1272KB) LOS objects, 36% free, 41MB/65MB, paused 276us total 182.281ms
[ 11-01 23:41:59.527 5981: 5981 I/PowerKeeperBackgroundService ]
onStartCommand()