From 168b9831b26c777085d4558138810d46f56e43ea Mon Sep 17 00:00:00 2001 From: Trey Moen <50057480+greatgitsby@users.noreply.github.com> Date: Fri, 1 May 2026 09:12:25 -0700 Subject: [PATCH] lpa: stop loading BPP once eUICC returns ProfileInstallResult (#37890) --- system/hardware/tici/lpa.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/system/hardware/tici/lpa.py b/system/hardware/tici/lpa.py index 63fe9ae7d..4cb23c5fa 100644 --- a/system/hardware/tici/lpa.py +++ b/system/hardware/tici/lpa.py @@ -604,8 +604,9 @@ def load_bpp(client: AtClient, b64_bpp: str) -> dict: result = None for chunk in _split_bpp(bpp): response = es10x_command(client, chunk) - if response: - result = _parse_install_result(response) or result + if response and (parsed := _parse_install_result(response)): + result = parsed + break if result is None: raise RuntimeError("Profile installation failed: no result from eUICC")