Closed VZuyev closed 1 year ago
This report was done before I released SFOS update, so I have no idea what did you use for update. Over here, on XZ2 single sim, BT looks to be working. Will release update officially shortly, please make OTA as expected and test again. I tested using GUI switches in Settings
OK, you skipped one 4.4 release, but I don't know if it is of any importance. Have you tried to start bluetooth from GUI - without touching any systemd services manually? Has bluetooth worked for you on XZ2 SFOS earlier?
I will soon upload 4.5 SFOS images as well. If you are flashing anyway, you could try those too
Bluetooth worked on 4.4.0.58 and 4.4.0.72.
I cannot reproduce it on h8216 (XZ2) and h8324 (XZ2c). On my devices bluetooth starts, connects, and allows to use bt device during a call.
https://forum.sailfishos.org/t/4-5-0-16-xperia-xa2-plus-bluetooth-not-available/14349 Settings-> Utils-> Bluetooth Restart helps now.
Installed 4.5.0.16 https://github.com/sailfishos-sony-tama/main/releases/download/4.5.0.16/Sailfish_OS-4.5.0.16-h8266-0.5.0.1.zip Bluetooth not working. Settings->Utils->Bluetooth Restart helps.
Settings->Utils->Bluetooth Restart helps.
please explain. Does the restart via Utils makes it possible to use BT? After that all works as it should?
Yes. Restart via Utils makes it possible to use BT. After reboot BT doesn't work again.
Please correct flash-on-windows.bat.
Corrected fragment:
:no_error_serialnumbers
for %%d in ( %serialnumbers% ) do ( set fastbootcmd=%fastbootcmd_no_device% -s %%d @call :getvar product findstr /R ":: H8266" %tmpflashfile% >NUL 2>NUL if not errorlevel 1 ( call :new_product_found %%d ) )
Please submit PR with the change. Then I can attribute it to you. File to patch is https://github.com/sailfishos-sony-tama/droid-config-sony-tama-pie/blob/hybris-10/sparse/boot/flash-on-windows.bat
https://github.com/sailfishos-sony-tama/droid-config-sony-tama-pie/blob/hybris-10/sparse/boot/flash-on-windows.bat Everything seems to be correct in this file.
Fragment from file https://github.com/sailfishos-sony-tama/droid-config-sony-tama-pie/blob/hybris-10/sparse/boot/flash-on-windows.bat:
:no_error_serialnumbers
for %%d in ( %serialnumbers% ) do ( set fastbootcmd=%fastbootcmd_no_device% -s %%d @call :getvar product findstr /R "@DEVICES@" %tmpflashfile% >NUL 2>NUL if not errorlevel 1 ( call :new_product_found %%d ) )
Fragment from not working file flash-on-windows.bat Sailfish_OS-4.5.0.16-h8266-0.5.0.1:
:no_error_serialnumbers
for %%d in ( %serialnumbers% ) do ( set fastbootcmd=%fastbootcmd_no_device% -s %%d @call :getvar product findstr /R ":: H8266 :: H8266" %tmpflashfile% >NUL 2>NUL if not errorlevel 1 ( call :new_product_found %%d ) )
Closing as original issue seems to be resolved.
Bluetooth not working. systemctl restart bluetooth (up to three times) Bluetooth working. reboot Bluetooth not working. ...