Skip to content

Linux + iPhone Continuity / iMessage / SMS

fix: better warnings for old BlueZ

Zack Bartelbe617206b9ae
diff --git a/docs/BLUETOOTH.md b/docs/BLUETOOTH.md
index 8d1f2ba..b48de81 100644
--- a/docs/BLUETOOTH.md
+++ b/docs/BLUETOOTH.md
@@ -948,6 +948,7 @@ checks the daemon does not make.
| Messages stopped after turning notification mirroring off | Fixed. The toggle used to restart supervision, which abandoned the MAP and PBAP sessions at obexd instead of removing them, and the iPhone serves one MAP session at a time | Nothing. Mirroring is switched in place now, and a dropped profile supervisor releases its sessions. On an older build, restart `tetherd` |
| Notifications stopped and never came back, while messages and contacts kept working | Fixed. The bearer supervisor used to stop retrying LE after six attempts, and only a Classic drop or a daemon restart re-armed it | Nothing. The solicitation is kept on air whenever LE is down, which is what the iPhone answers -- see 2026-08-22 |
| `tether --bt-status` reports `Bond: BR/EDR only` | The bond was made without cross-transport key derivation, so it has no LE half and can never carry ANCS | Forget this computer on the iPhone and pair again -- it can take more than one attempt, the derivation is flaky on identical inputs (2026-08-25). Check `secure-connections` in the same output first: re-pairing cannot help while it is off |
+| `tether --bt-status` reports `Bond: BR/EDR, notifications live` | BlueZ is too old for the bearer API (5.72 in #226), so it cannot show an LE half, but ANCS is subscribed and delivering | Nothing. The BR/EDR-only warning is held back while ANCS is live, and comes back while the phone is away |
| Walked back into range and nothing reconnected for minutes | Fixed. The ANCS advert was gated on the Classic link, and the Classic backoff had no event that ended the absence | Nothing. The advert stays on air whenever LE is down, and an LE link coming up clears the Classic backoff -- see 2026-08-22 |
| Startup logs `StartNotify not ready yet (InProgress)` for up to a minute | GATT discovery is still running on the new LE link | Nothing. It subscribes on its own. Only treat it as the 2026-08-19 hang if the LE link never comes up |
| `tether --bt-connection` reports LE and messages up but `Notifications: no`, for hours | Fixed. The LE link was opened by the dial and carries no ANCS. A connected link used to take the solicitation off air, so the phone was never asked for the service | Nothing. The advert goes back on air over a link that has stayed up without ANCS -- see 2026-08-23. To clear it by hand on an older build, `tether --bt-solicit`; do not re-pair, and do not cycle the phone's Bluetooth |
diff --git a/po/cs.po b/po/cs.po
index 743361b..99423af 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2026-10-02 19:39-0700\n"
+"POT-Creation-Date: 2026-10-06 18:58-0700\n"
"PO-Revision-Date: 2026-08-23\n"
"Last-Translator: Tether project\n"
"Language-Team: Czech\n"
@@ -418,6 +418,11 @@ msgstr "Secure Connections={}"
msgid "Bond"
msgstr "Vazba"
+#: src/cli/main.cpp
+#, fuzzy
+msgid "BR/EDR, notifications live"
+msgstr "Zatím žádná oznámení."
+
#: src/cli/main.cpp src/gtk/devices_view.cpp src/gtk/main.cpp
msgid "Notifications"
msgstr "Oznámení"
diff --git a/po/de.po b/po/de.po
index 73c87a0..17f4eb2 100644
--- a/po/de.po
+++ b/po/de.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2026-10-02 19:39-0700\n"
+"POT-Creation-Date: 2026-10-06 18:58-0700\n"
"PO-Revision-Date: 2026-08-22\n"
"Last-Translator: Tether project\n"
"Language-Team: German\n"
@@ -420,6 +420,11 @@ msgstr "Secure Connections={}"
msgid "Bond"
msgstr "Bindung"
+#: src/cli/main.cpp
+#, fuzzy
+msgid "BR/EDR, notifications live"
+msgstr "Noch keine Mitteilungen."
+
#: src/cli/main.cpp src/gtk/devices_view.cpp src/gtk/main.cpp
msgid "Notifications"
msgstr "Mitteilungen"
diff --git a/po/es.po b/po/es.po
index e6a83e5..7abbcb2 100644
--- a/po/es.po
+++ b/po/es.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2026-10-02 19:39-0700\n"
+"POT-Creation-Date: 2026-10-06 18:58-0700\n"
"PO-Revision-Date: 2026-08-22\n"
"Last-Translator: Tether project\n"
"Language-Team: Spanish\n"
@@ -425,6 +425,11 @@ msgstr "Secure Connections={}"
msgid "Bond"
msgstr "Vínculo"
+#: src/cli/main.cpp
+#, fuzzy
+msgid "BR/EDR, notifications live"
+msgstr "Aún no hay notificaciones."
+
#: src/cli/main.cpp src/gtk/devices_view.cpp src/gtk/main.cpp
msgid "Notifications"
msgstr "Notificaciones"
diff --git a/po/fr.po b/po/fr.po
index c0c5702..a81ab08 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2026-10-02 19:39-0700\n"
+"POT-Creation-Date: 2026-10-06 18:58-0700\n"
"PO-Revision-Date: 2026-08-22\n"
"Last-Translator: Tether project\n"
"Language-Team: French\n"
@@ -426,6 +426,11 @@ msgstr "Secure Connections={}"
msgid "Bond"
msgstr "Lien"
+#: src/cli/main.cpp
+#, fuzzy
+msgid "BR/EDR, notifications live"
+msgstr "Aucune notification pour l'instant."
+
#: src/cli/main.cpp src/gtk/devices_view.cpp src/gtk/main.cpp
msgid "Notifications"
msgstr "Notifications"
diff --git a/po/it.po b/po/it.po
index 13c5276..e4e7a0c 100644
--- a/po/it.po
+++ b/po/it.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2026-10-02 19:39-0700\n"
+"POT-Creation-Date: 2026-10-06 18:58-0700\n"
"PO-Revision-Date: 2026-08-23\n"
"Last-Translator: Tether project\n"
"Language-Team: Italian\n"
@@ -425,6 +425,11 @@ msgstr "Secure Connections={}"
msgid "Bond"
msgstr "Associazione"
+#: src/cli/main.cpp
+#, fuzzy
+msgid "BR/EDR, notifications live"
+msgstr "Ancora nessuna notifica."
+
#: src/cli/main.cpp src/gtk/devices_view.cpp src/gtk/main.cpp
msgid "Notifications"
msgstr "Notifiche"
diff --git a/po/ja.po b/po/ja.po
index 2fd939e..b0f3606 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2026-10-02 19:39-0700\n"
+"POT-Creation-Date: 2026-10-06 18:58-0700\n"
"PO-Revision-Date: 2026-08-23\n"
"Last-Translator: Tether project\n"
"Language-Team: Japanese\n"
@@ -415,6 +415,11 @@ msgstr "Secure Connections={}"
msgid "Bond"
msgstr "ボンド"
+#: src/cli/main.cpp
+#, fuzzy
+msgid "BR/EDR, notifications live"
+msgstr "まだ通知はありません。"
+
#: src/cli/main.cpp src/gtk/devices_view.cpp src/gtk/main.cpp
msgid "Notifications"
msgstr "通知"
diff --git a/po/ko.po b/po/ko.po
index e968f64..5a884ee 100644
--- a/po/ko.po
+++ b/po/ko.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2026-10-02 19:39-0700\n"
+"POT-Creation-Date: 2026-10-06 18:58-0700\n"
"PO-Revision-Date: 2026-08-23\n"
"Last-Translator: Tether project\n"
"Language-Team: Korean\n"
@@ -409,6 +409,11 @@ msgstr "Secure Connections={}"
msgid "Bond"
msgstr "본드"
+#: src/cli/main.cpp
+#, fuzzy
+msgid "BR/EDR, notifications live"
+msgstr "아직 알림이 없습니다."
+
#: src/cli/main.cpp src/gtk/devices_view.cpp src/gtk/main.cpp
msgid "Notifications"
msgstr "알림"
diff --git a/po/nl.po b/po/nl.po
index 9c9c5e0..0a37528 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2026-10-02 19:39-0700\n"
+"POT-Creation-Date: 2026-10-06 18:58-0700\n"
"PO-Revision-Date: 2026-08-23\n"
"Last-Translator: Tether project\n"
"Language-Team: Dutch\n"
@@ -421,6 +421,11 @@ msgstr "Secure Connections={}"
msgid "Bond"
msgstr "Koppeling"
+#: src/cli/main.cpp
+#, fuzzy
+msgid "BR/EDR, notifications live"
+msgstr "Nog geen meldingen."
+
#: src/cli/main.cpp src/gtk/devices_view.cpp src/gtk/main.cpp
msgid "Notifications"
msgstr "Meldingen"
diff --git a/po/pl.po b/po/pl.po
index 301403e..d30e211 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2026-10-02 19:39-0700\n"
+"POT-Creation-Date: 2026-10-06 18:58-0700\n"
"PO-Revision-Date: 2026-08-23\n"
"Last-Translator: Tether project\n"
"Language-Team: Polish\n"
@@ -421,6 +421,11 @@ msgstr "Secure Connections={}"
msgid "Bond"
msgstr "Powiązanie"
+#: src/cli/main.cpp
+#, fuzzy
+msgid "BR/EDR, notifications live"
+msgstr "Nie ma jeszcze powiadomień."
+
#: src/cli/main.cpp src/gtk/devices_view.cpp src/gtk/main.cpp
msgid "Notifications"
msgstr "Powiadomienia"
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 3678be8..e073490 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2026-10-02 19:39-0700\n"
+"POT-Creation-Date: 2026-10-06 18:58-0700\n"
"PO-Revision-Date: 2026-08-23\n"
"Last-Translator: Tether project\n"
"Language-Team: Brazilian Portuguese\n"
@@ -420,6 +420,11 @@ msgstr "Secure Connections={}"
msgid "Bond"
msgstr "Vínculo"
+#: src/cli/main.cpp
+#, fuzzy
+msgid "BR/EDR, notifications live"
+msgstr "Ainda não há notificações."
+
#: src/cli/main.cpp src/gtk/devices_view.cpp src/gtk/main.cpp
msgid "Notifications"
msgstr "Notificações"
diff --git a/po/ru.po b/po/ru.po
index a4f7556..196571a 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2026-10-02 19:39-0700\n"
+"POT-Creation-Date: 2026-10-06 18:58-0700\n"
"PO-Revision-Date: 2026-08-23\n"
"Last-Translator: Tether project\n"
"Language-Team: Russian\n"
@@ -422,6 +422,11 @@ msgstr "Secure Connections={}"
msgid "Bond"
msgstr "Связь"
+#: src/cli/main.cpp
+#, fuzzy
+msgid "BR/EDR, notifications live"
+msgstr "Уведомлений пока нет."
+
#: src/cli/main.cpp src/gtk/devices_view.cpp src/gtk/main.cpp
msgid "Notifications"
msgstr "Уведомления"
diff --git a/po/sv.po b/po/sv.po
index 03589d1..2133718 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2026-10-02 19:39-0700\n"
+"POT-Creation-Date: 2026-10-06 18:58-0700\n"
"PO-Revision-Date: 2026-08-23\n"
"Last-Translator: Tether project\n"
"Language-Team: Swedish\n"
@@ -419,6 +419,11 @@ msgstr "Secure Connections={}"
msgid "Bond"
msgstr "Bindning"
+#: src/cli/main.cpp
+#, fuzzy
+msgid "BR/EDR, notifications live"
+msgstr "Inga aviseringar ännu."
+
#: src/cli/main.cpp src/gtk/devices_view.cpp src/gtk/main.cpp
msgid "Notifications"
msgstr "Aviseringar"
diff --git a/po/tether.pot b/po/tether.pot
index 06f1871..c5b3af1 100644
--- a/po/tether.pot
+++ b/po/tether.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tether 0.2.35\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2026-10-02 19:39-0700\n"
+"POT-Creation-Date: 2026-10-06 18:58-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -377,6 +377,10 @@ msgstr ""
msgid "Bond"
msgstr ""
+#: src/cli/main.cpp
+msgid "BR/EDR, notifications live"
+msgstr ""
+
#: src/cli/main.cpp src/gtk/devices_view.cpp src/gtk/main.cpp
msgid "Notifications"
msgstr ""
diff --git a/po/tr.po b/po/tr.po
index 7fa0e17..cc8d57d 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2026-10-02 19:39-0700\n"
+"POT-Creation-Date: 2026-10-06 18:58-0700\n"
"PO-Revision-Date: 2026-08-23\n"
"Last-Translator: Tether project\n"
"Language-Team: Turkish\n"
@@ -417,6 +417,11 @@ msgstr "Secure Connections={}"
msgid "Bond"
msgstr "Bağ"
+#: src/cli/main.cpp
+#, fuzzy
+msgid "BR/EDR, notifications live"
+msgstr "Henüz bildirim yok."
+
#: src/cli/main.cpp src/gtk/devices_view.cpp src/gtk/main.cpp
msgid "Notifications"
msgstr "Bildirimler"
diff --git a/po/uk.po b/po/uk.po
index 084aad5..21a7c78 100644
--- a/po/uk.po
+++ b/po/uk.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2026-10-02 19:39-0700\n"
+"POT-Creation-Date: 2026-10-06 18:58-0700\n"
"PO-Revision-Date: 2026-08-23\n"
"Last-Translator: Tether project\n"
"Language-Team: Ukrainian\n"
@@ -422,6 +422,11 @@ msgstr "Secure Connections={}"
msgid "Bond"
msgstr "Зв'язок"
+#: src/cli/main.cpp
+#, fuzzy
+msgid "BR/EDR, notifications live"
+msgstr "Сповіщень поки немає."
+
#: src/cli/main.cpp src/gtk/devices_view.cpp src/gtk/main.cpp
msgid "Notifications"
msgstr "Сповіщення"
diff --git a/po/zh_CN.po b/po/zh_CN.po
index 4247ce2..f3030f8 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2026-10-02 19:39-0700\n"
+"POT-Creation-Date: 2026-10-06 18:58-0700\n"
"PO-Revision-Date: 2026-08-23\n"
"Last-Translator: Tether project\n"
"Language-Team: Simplified Chinese\n"
@@ -399,6 +399,11 @@ msgstr "Secure Connections={}"
msgid "Bond"
msgstr "绑定"
+#: src/cli/main.cpp
+#, fuzzy
+msgid "BR/EDR, notifications live"
+msgstr "暂无通知。"
+
#: src/cli/main.cpp src/gtk/devices_view.cpp src/gtk/main.cpp
msgid "Notifications"
msgstr "通知"
diff --git a/src/cli/main.cpp b/src/cli/main.cpp
index cdc5a60..9f24813 100644
--- a/src/cli/main.cpp
+++ b/src/cli/main.cpp
@@ -462,7 +462,10 @@ static int print_bt_status(tether::Client& client) {
"\n" + tether::tr_format(_("secure-connections={}"), secure));
if (cap.value("bonded_device_present", false))
- fields.emplace_back(_("Bond"), cap.value("bond_has_le", false) ? "BR/EDR + LE" : "BR/EDR only");
+ fields.emplace_back(_("Bond"),
+ cap.value("bond_has_le", false) ? "BR/EDR + LE"
+ : cap.value("bond_carries_ancs", false) ? _("BR/EDR, notifications live")
+ : "BR/EDR only");
// Mirroring off is otherwise invisible here, and it takes the ANCS
// solicitation off air, so the iPhone never offers notification access.
fields.emplace_back(_("Notifications"),
diff --git a/src/core/include/tether/bluetooth/objects.hpp b/src/core/include/tether/bluetooth/objects.hpp
index 63341f9..00b114a 100644
--- a/src/core/include/tether/bluetooth/objects.hpp
+++ b/src/core/include/tether/bluetooth/objects.hpp
@@ -194,6 +194,7 @@ namespace tether::bluetooth {
bool class_ok = false;
bool bonded_device_present = false;
bool bond_has_le = false;
+ bool bond_carries_ancs = false;
bool secure_connections = false;
bool secure_connections_known = false;
// Adapter the steps below apply to, e.g. "hci0". The class unit is templated on it.
diff --git a/src/core/src/bluetooth/objects.cpp b/src/core/src/bluetooth/objects.cpp
index 577c999..794b0da 100644
--- a/src/core/src/bluetooth/objects.cpp
+++ b/src/core/src/bluetooth/objects.cpp
@@ -571,6 +571,8 @@ namespace tether::bluetooth {
// bond has an LE half. Only Bearer.LE1.Bonded says that.
if (d.has_le_bearer && d.le_bonded)
cap.bond_has_le = true;
+ if (d.ancs_notifying)
+ cap.bond_carries_ancs = true;
}
}
if (cap.bearer_api != BearerApi::Confirmed)
@@ -615,7 +617,7 @@ namespace tether::bluetooth {
cap.reasons.emplace_back(_("Bearer API support is unconfirmed until a device is bonded."));
}
- if (cap.bonded_device_present && !cap.bond_has_le) {
+ if (cap.bonded_device_present && !cap.bond_has_le && !cap.bond_carries_ancs) {
std::string reason = _("A device is bonded, but the bond covers BR/EDR only -- no LE keys were derived, "
"so notification mirroring cannot work on it.");
@@ -707,6 +709,7 @@ namespace tether::bluetooth {
{"class_ok", c.class_ok},
{"bonded_device_present", c.bonded_device_present},
{"bond_has_le", c.bond_has_le},
+ {"bond_carries_ancs", c.bond_carries_ancs},
{"secure_connections",
c.secure_connections_known ? nlohmann::json(c.secure_connections) : nlohmann::json(nullptr)},
{"adapter_id", c.adapter_id},
diff --git a/test/test_bluetooth_objects.cpp b/test/test_bluetooth_objects.cpp
index 18d9914..e8eafe8 100644
--- a/test/test_bluetooth_objects.cpp
+++ b/test/test_bluetooth_objects.cpp
@@ -514,6 +514,35 @@ TEST(Capability, ClassicOnlyBondOnANonPhoneIsNotReported) {
EXPECT_EQ(reason.find("BR/EDR only"), std::string::npos) << "blamed a headset for having no LE bond";
}
+// Issue #226: BlueZ 5.72 has no bearer API, so no bond there can show an LE
+// half, yet ANCS was live on it. A working subscription outranks the inference.
+TEST(Capability, LiveAncsOnABondWithNoLeHalfIsNotReported) {
+ Payload p(join(ADAPTER_FULL, R"({
+ '/org/bluez/hci0/dev_02_00_00_00_00_01': {
+ 'org.bluez.Device1': {
+ 'Paired': <true>,
+ 'Bonded': <true>,
+ 'Connected': <true>,
+ 'ServicesResolved': <true>,
+ 'UUIDs': <['00001132-0000-1000-8000-00805f9b34fb', '0000112f-0000-1000-8000-00805f9b34fb']>
+ }
+ },
+ '/org/bluez/hci0/dev_02_00_00_00_00_01/service004f/char0050': {
+ 'org.bluez.GattCharacteristic1': { 'UUID': <'9FBF120D-6301-42D9-8C58-25E699A21DBD'>, 'Notifying': <true> }
+ }
+ })")
+ .c_str());
+ auto objects = parse_managed_objects(p.v);
+ objects.experimental_api = true;
+ auto cap = resolve_capability(objects);
+
+ ASSERT_TRUE(cap.bonded_device_present);
+ EXPECT_FALSE(cap.bond_has_le);
+ EXPECT_TRUE(cap.bond_carries_ancs);
+ for (const auto& reason : cap.reasons)
+ EXPECT_EQ(reason.find("BR/EDR only"), std::string::npos) << "called a working ANCS bond broken";
+}
+
// Observed on a MediaTek MT7925 with the phone's ANCS session live and
// delivering: Bearer.LE1.Connected read false the whole time, because the phone
// opened the link inbound in answer to the solicitation advert. GATT exists only