Commit Graph
138 Commits
Author SHA1 Message Date
Abdurrahman Kaan Dikeç 53ef0ff58d Merge commit 'refs/tmp/pr373' into liuwang-370-373
# Conflicts:
#	docs/FINDINGS.md
2026-10-24 11:06:50 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 39a4639048 Tests on main: hotspot-verify's refusal line dated after its start, the VPN uplink's seconds from its own clock, each_shell without a subTest
- HotspotVerify.test_a_refused_start_goes_to_2g failed on every Linux runner: hotspot-verify keeps only the dmesg lines
  from its own start (since = /proc/uptime), and the test's line said 27.5 s, before the start on any host up longer
  than that. On macOS there is no /proc/uptime, so every line was kept and it passed. Not dash: dash simply ran first.
  The line is now dated after the host's uptime, and a new test checks that a refusal from before the start is ignored.
- VpnUplink.test_a_vpn_started_before_the_bearer_is_restarted expected "(2 s)" from a time taken once before the loop
  over the shells: the second shell (or a slow first one) ran in a later second and the script said 3 s. The expected
  seconds are now counted from the script's own reading (state/uplink-up).
- each_shell yielded inside a subTest: the loop body's failure never passed through it, and the generator closed later
  made the subTest record the GeneratorExit ("generator ignored GeneratorExit", "'NoneType' object has no attribute
  'success'"): two spurious errors on every failure. Assertion messages now name the shell instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-24 09:53:35 +03:00
liuwang97 85d25c4b03 Cluster power-down: the kernel's enabled interrupts as LP_AP_INTC wake sources (ums9620_lpintc, FINDINGS 218)
TF-A sets the always-on LP_AP_INTC's IRQ_EN once from its own table (INTC0, INTC1, INTC7 bit 6), without the
USB controller (SPI 142), the IPA or the Wi-Fi's PCIe MSI. While CPU0's cluster sat in cluster-pd their
interrupts waited for something else to wake it: USB pings up to ~120 ms, and the workaround was CPU0 without
cluster-pd.

upstream/modules/ums9620_lpintc adds every SPI enabled in GICD_ISENABLER1..8 to IRQ_EN, at load and every 5 s
from deferrable work; it only adds, takes its bits out again before system suspend (mem wakes on exactly what
TF-A chose) and at unload, and puts them back on resume. Built by build-modules.sh, loaded by extra-modules
after mu300_thermal.

U30 Air, 6.18.57, CPU0's cluster-pd allowed, 100 USB pings: 9.5 ms average / 42 ms max with it, 15.7 / 69
without; CPU0 without cluster-pd 10 / 70; WFI only on every CPU 7.1 / 40. Not yet built for 7.2/7.3, the
suspend path not yet run on a device.
2026-10-23 11:55:54 +08:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 f4849caa80 Merge origin/kano-sim-led: FINDINGS entries side by side
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-23 01:58:42 +03:00
44322fd0ac Backup restore through sysupgrade, the boot-control pair checked, cpio parents (FINDINGS 208)
Shared installation fixes from kanoqwq's b8d4f222, ported into this tree:

- openwrt/overlay/usr/libexec/mu300-sysupgrade: his backup_operation
  parser; -r/--restore-backup now passes (LuCI's backup upload ran it and
  was refused), firmware images and mixed requests still refused.
- mu300-next-boot: without /run/mu300/linux-slot the published Linux block
  names the slot; a pair of blocks that names the wrong slots is never
  written (misc unchanged). His boot/init gate on an unknown slot is not
  taken (ours falls back to the image's slot; no boot gates).
- boot/build-boot-image.py: cpio_archive() adds every parent directory.

Not taken: the OTA diff tools, disable-stock-upgrade (rewrites LuCI's
minified flash.js at build time), the E5-family switch plugin.

Co-authored-by: kanoqwq <kanoqwq@qq.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-23 01:07:34 +03:00
479899ad33 SIM ready reports with trailing numbers; the U30 Air's light breathes after a steady one (FINDINGS 209)
From kanoqwq's b8d4f222 and edcdeb27:

- mu300-sim-state: +ECIND: 3,0,0,1 (a card coming up, after 3,100) is a
  SIM event; numbers after the cause pass when every field is a 32-bit
  decimal number. The stock RIL ignores them too.
- mu300-led: breathe() writes brightness 0 before it hands a steady channel
  to the pattern trigger. The SC27xx's pattern_set leaves the steady TYPE
  bit set (kanoqwq read 0x300 on a U30 Air, 0x100 with this).

Not taken (FINDINGS 209 says why): his SMS pool resolver, the dashboard's
battery current, the VoLTE/VoNR receipt fix, the V50 dual-stack radio
resume, the sim-reset data-priority call.

Co-authored-by: kanoqwq <kanoqwq@qq.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-23 01:07:09 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 3ec0e576e3 Merge origin/main into kano-misc: FINDINGS 195-197 and 198-203 side by side
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-19 22:24:28 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 53986bccb2 CI: led_up asks C5GREG only when LTE is not registered; Cockpit catalogs; web installer's method list
The watchdog's round on LTE asks nothing more than before (the data-roaming
test keeps that). Cockpit's tr/zh_CN catalogs get the new strings, and the web
installer's list of mu300-api methods the two new CPU ones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-19 21:52:25 +03:00
360474af82 A SIM's radio off is AT+SFUN=5, as the vendor RIL (FINDINGS 202)
kanoqwq (cf4dcd61, tested on his V50) found the vendor RIL switches a card's
radio with SFUN=5/4 and reads CFUN 0 and 2 as off. mobile-data's rf_off now
sends AT+SFUN=5 and accepts 0 or 2; back on from 0/2 is the ordinary bring-up's
AT+SFUN=4, from an earlier release's flight mode (4) AT+CFUN=1 as before. The
U30 Air's live switch accepts a card in use that is off by its setting at 0, 2
or 4. His SIM2-off default and dual-stack cold-boot init are not taken: only
the card in use has a stack here.

Co-authored-by: kanoqwq <kanoqwq@qq.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-19 21:30:38 +03:00
7d471d66be Network LED: the V50's lamp of the SIM in use; 5G for a 5G SA registration (FINDINGS 199)
kanoqwq read ZTE's V50 firmware (setNetLight, c1293746): logical slot 0 lights
NET2, slot 1 NET1. mu300-led lit NET1 on every V50; now the lamp follows this
boot's slot, colours as before, the other lamp dark, the siren on the same lamp.

led_up told 5G only from CEREG's AcT; a 5G SA registration is in the NR domain
alone, so F50/V50 showed 4G. When CEREG names no NR AcT, AT+C5GREG? decides
(kanoqwq's network-led.sh, f0ed60ff). The U30 Air's light shows the SIM in use
(FINDINGS 154) and is unchanged.

Co-authored-by: kanoqwq <kanoqwq@qq.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-19 21:30:38 +03:00
a1eb65f2f4 U30 Air: the CP after a charger boot (#253), power-on on charge, unplug and power key, low-battery poweroff in every state (FINDINGS 196, 197)
From kanoqwq's 85d72fa9 and 99e1316a, adapted to our charging boot and mu300-power:

- After LK's charger boot (modem=shutdown, the PM running) the stock modem_control loads nothing, so the CP never
  came up until a reboot: issue #253. mu300-modem-coldboot makes a checked copy in RAM of the device's own
  modem_control (sha256 before and after) that loads the CP and CH images alone; only on a U30 Air, in a charger boot
  with modem=shutdown and the CP down. Anything else, or any failure: the stock loader, as before.
- POWER_ON_CHARGER=1 (mu300-power, LuCI, Cockpit, mu300-api): a charger boot is a normal boot; init makes no
  charging-boot marker then. Default 0.
- The charging boot powers off when the charger is gone (two loops), and a held power key starts it, as the stock
  charger mode does.
- Low battery: every state, unplugged, the U30 Air only: the stock charger manager's undervoltage rule (5 samples at
  or under cm-shutdown-voltage + 120 mV, then <= 1 % or <= the shutdown voltage) and Android's (Critical or 0 %, three
  loops), a clean poweroff.

Co-authored-by: kanoqwq <kanoqwq@qq.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-19 21:00:25 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 d0a0e31ea2 tests: Led replaces the device file instead of rewriting it (the V50 siren flake)
Led.test_v50 failed now and then on ubuntu shard 0: after "alarm on" / "alarm off" on a V50 without lamps, a PMIC
LED read 255. "alarm on" starts the siren in the background, a new mu300-led that asks mu300-device for the device.
The test's next call ("alarm off") rewrote run/mu300/device with write_text, which truncates first; a siren that
read it in that moment found no device file and no device tree, took the board for an F50 and flashed the PMIC's
RGB LED. "alarm off" (a V50) then killed it and darkened the V50's lamps, leaving the PMIC channel lit.

Made certain by widening that window to 50 ms: 5 of 5 runs fail with the same 255 and GeneratorExit; with the file
replaced (os.replace) 0 of 10. On a device /run/mu300/device is written once at boot: mu300-led is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-18 15:03:25 +03:00
Abdurrahman Kaan Dikeç e4c3272106 wip: SIM-state availability 2026-10-17 15:07:23 +03:00
Abdurrahman Kaan Dikeç 774dc70a0f wip: SIM-state events 2026-10-17 14:56:00 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 5794ded3b5 tests: the voice replay also follows a radio switched back on
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-17 14:50:52 +03:00
Abdurrahman Kaan Dikeç 416ad241ac Merge sim-voice; FINDINGS 185 2026-10-17 14:40:22 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 52537fddbf Merge origin/main; FINDINGS 184 (was 181), device test on F50-C; voice methods in the web installer list and the panel ACL tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-17 14:39:09 +03:00
Abdurrahman Kaan Dikeç 4b114c6e33 wip: radio hold only for data meant to be up; tests 2026-10-17 14:29:52 +03:00
Abdurrahman Kaan Dikeç b41d438b90 wip: per-SIM radio (tests) 2026-10-17 14:15:15 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 06625e8a05 VoLTE and VoNR per SIM, replayed at every start of the card (FINDINGS 181)
mobile-data voice volte|vonr on|off [--slot 0|1] keeps the choice in /etc/mu300/sim-voice; every bring-up sends
it where AT+CAVIMS=1 was (VoLTE on by default, VoNR only when set), read back with AT+CAVIMS? and
AT+SP5GCMDS="get nr synch_param",42. A change the modem does not read back is undone and not saved.
LuCI Cellular > SIM settings, mu300dash simcard_get/simcard_set, mu300-api voice.get/voice.set.

After kanoqwq's per-SIM voice switches (kanoqwq/mu300-linux 5f4732e, 53ef7b1), rewritten for this tree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-17 13:39:13 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 80fe1024cf mobile data: a VPN that started before the bearer is restarted; the watchdog sees a dead downlink (FINDINGS 176)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-17 08:45:54 +03:00
Abdurrahman Kaan Dikeç c1ffcf2acd Merge origin/main (#277) into u30air-usb-pd: the test table keeps both 2026-10-17 06:00:33 +03:00
Abdurrahman Kaan Dikeç 7cb0ddb4cd Merge origin/main (#271, #274, #286) into u30air-usb-pd: FINDINGS in order, test table keeps both 2026-10-17 05:58:47 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 b58271e99a USB-C PD: the port controller is allowed by the build's DT check; pd on works on OpenWrt (kmodloader drops module options: insmod by path); device test (FINDINGS 150)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-17 05:25:04 +03:00
Abdurrahman Kaan Dikeç 27da60fd67 Merge origin/main into u30air-usb-pd: FINDINGS 150 in order, test table keeps both 2026-10-17 05:23:48 +03:00
Abdurrahman Kaan Dikeç c355016f13 Merge u30air-battery-led (and through it u30air-wifi-led-stock, origin/main) into u30air-net-led-sim: one mu300-led with the battery LED, the SIM colours and the Wi-Fi bands 2026-10-17 05:17:43 +03:00
Abdurrahman Kaan Dikeç 4c753f38ea Merge origin/main (via u30air-wifi-led-stock) into u30air-battery-led: FINDINGS 151 then 152; LED docs say both 2026-10-17 05:08:19 +03:00
Abdurrahman Kaan Dikeç b8d10519ce Merge origin/main into u30air-wifi-led-stock: FINDINGS 152 among 139-156 in order 2026-10-17 05:06:53 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 4c47e53eec mu300_thermal: a trend step_wise can throttle by; thermal-guard backstop; stress stops at 95 C (FINDINGS 166)
Mainline's soc-thmzone did not hold a full CPU load: under the toolkit's stress the
SoC went from 38 to 98 C in three minutes with the cpufreq cooling states at 0-3
of 9. step_wise steps down on every 'dropping' reading, and the core's trend is
reading against reading 100 ms apart, which follows the noise of the hottest of
eleven sensors. mu300_thermal now gives the zone a get_trend (mu300_trend.h,
compiled on the host by tests/test_mu300_thermal.py): the slope between averaged
half seconds a second apart with a dead band, up fast above trip+3 C, back at most
a step a second, held from 80 to 84 C. F50-C, 6.18.56, 10 minutes: 80-84 C,
mean 82.3 C, peak 91.2 C.

thermal-guard caps on top of a bound kernel zone that lets the SoC reach 92 C
(the A76 clusters; all from 95 C), lifted a step a round at 85 C. The toolkit's
stress test stops itself at 95 C with a message.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-17 01:58:45 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 651224a4b3 Merge origin/main (#266, #269) into thermal-guard-vendor-check: FINDINGS 138 then 139
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-17 01:33:18 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 c05d1eb038 U30 Air network LED: the SIM in use, as ZTE's firmware (FINDINGS 154)
White for slot 0 (the nano-SIM, VDDCAMA0), blue for slot 1 (the eSIM, net_blue),
red without service, whatever 4G or 5G; the slot is this boot's pin
(/run/mu300/sim-slot, slot 1 only on OpenWrt). A live SIM switch blinks the
target card's colour until the dial on it (mu300-sim-u30 calls
`mu300-led data switching <slot>`). The F50 and the V50 keep 4G/5G.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-16 22:37:14 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 ae33300433 U30 Air: the battery LED shows the battery, as ZTE's firmware (FINDINGS 151)
Read from the stock firmware (ZteBatteryService and the lights HAL) and ZTE's
guide: white from 60 %, blue from 10 %, red below; steady on the battery,
breathing on the PMIC's own curve (800/1200 ms -> 320/480/480/720) while it
charges, steady white when full on the charger; no LED times out on outside
power, nor the low-battery red; an unplug starts the timeout again. The heat
alarm's siren goes over it. Read at every mu300-buttons tick (mu300-led tick);
CONFIG_LEDS_TRIGGER_PATTERN for the breathing. Compared with kano's fork
(kanoqwq/mu300-linux 2af101f8), whose thresholds and colours were his own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-16 17:43:14 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 e8fbce2aca U30 Air: USB-C power delivery under TCPM, experimental and off by default (FINDINGS 150)
kano's UMP9620 port controller and charger role patch (kanoqwq/mu300-linux 2af101f8),
reviewed and rewritten as upstream/patches 0019 (bq256xx: the boost as the otg-vbus
regulator, refused against an outside supply, a stale boost off at probe, a PD
contract's input current) and 0020 (drivers/usb/typec/tcpm/ump9620-tcpc.c). A module on
both kernels that probes only with enable=1 and only on the U30 Air's device tree;
`mu300-usb pd on|off|status` switches it, host/device then ask TCPM for a data role
swap. The device default at every boot stays. Unit tests for the script and the
driver's callbacks; README, wiki, site (en/tr/zh).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-16 17:26:24 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 bf1282a8cc U30 Air Wi-Fi LED: white on 5 GHz, blue on 2.4 GHz, as ZTE's firmware (FINDINGS 152)
mu300-led had the two elements of the Wi-Fi light the wrong way round. ZTE's own
firmware (services.jar NotificationManagerService.updateLightsLocked() and the
vendor lights HAL, read from a U30 Air backup offline) lights VDDCAMA1 (white)
for a 5 GHz hotspot and VDDCAMA2 (blue) for 2.4 GHz, and ZTE's guide for the
U30 Air says the same. kano's fork (kanoqwq/mu300-linux 2af101f8) had it right.

README, wiki and the website (en/tr/zh) follow; FINDINGS 33f gets a pointer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-16 17:09:19 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 89eb386a82 thermal-guard: ask the vendor 5.4 kernel too whether it throttles (#229)
5.4 was exempt by its release: the guard ran the LED alarm only, trusting
sprd_cpu_cooling to bind soc-thmzone. Issue #229 shows a 5.4 unit whose
cooling driver found no zone, that went past 80 C under load and reset.
The release decides nothing now: the bound-zone check mainline already had
(5.4's thermal-cpufreq-N names included) runs on every kernel, so a 5.4
without a bound zone is capped at 85 C and powered off at 105 C, and one
whose zone is bound is only watched, as before. FINDINGS 139.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-16 15:26:28 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 7832c83e2a mu300-atd: wait for a SIPC tty that is not ready instead of dying at the first open (#226)
The nodes exist before the modem has started its channels, and an open gives
ENODEV until then. open_tty's `exec 3<>"$DEV" || return 1` never reached its
return: a failed redirection on exec ends dash and busybox ash, so the daemon
was gone after one "can't create /dev/stty_nrN: No such device" line. The open
goes through `command exec` now, and the first one is retried every 2 s for up
to MU300_AT_OPEN_WAIT (240 s) with one line at the start and one at the end,
the command fifo held meanwhile; a failed reopen in the loop still ends the
daemon for a fresh start. FINDINGS 138.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-16 15:24:11 +03:00
Abdurrahman Kaan Dikeç 17b64cff43 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	docs/FINDINGS.md
2026-10-16 02:32:50 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 0dc68df26a tests: the roaming hold's stderr line asked for without the runner's JOURNAL_STREAM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-16 02:00:43 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 5c39f92f51 Merge origin/main into data-roaming
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-16 00:50:20 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 6ee34859b4 Merge origin/main into web-manager
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-16 00:50:03 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 c293c522ee Device manager on the devices: busybox awk's gsub, a band with its channel, a hotspot starting, the LAN address changed, a tool's whole message
- json.awk: replacements are literal (rep), never gsub with a backslash: busybox 1.37's awk (OpenWrt 25.12)
  left quotes unescaped and dropped backslashes (a U30 Air: wifi.get broke on an SSID with a quote, a
  hotspot password lost its backslash in uci)
- wifi.set on OpenWrt: a channel given with a band is set after mu300-wifi-band (2.4 GHz ch 11 came up on 6)
- wifi.get/overview on Ubuntu: the hotspot is on while systemd says activating (about 20 s after each change)
- lan-start: the old LAN address leaves the bridge when the address changes (it stayed until the next boot)
- a tool's refusal is its whole last message with its indented lines (wifi-client scan in AP mode)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-16 00:32:19 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 e90cb07d8e mobile-data: the roaming hold's line once in the journal; FINDINGS 120: items 1-5 on a U30 Air and an F50
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-15 23:41:34 +03:00
Abdurrahman Kaan Dikeç 0ab36ab354 Merge remote-tracking branch 'origin/next-boot-misc-first' into integrate-kano
# Conflicts:
#	docs/FINDINGS.md
2026-10-15 23:15:01 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 c0b925d563 mobile-data watch: device results (U30 Air); the OpenWrt watchdog's messages reach the log
Measured on the U30 Air (openwrt-luci v2026.10.27, 6.18.56): a silent nr2 for up to 200 s left the bearer alone, 290 s escalated to the radio check and no redial; a dropped context reconnected in 58 s. procd kept none of the watchdog's stderr, so on OpenWrt nothing it said reached logread: cellwatch now sets stderr 1. The escalation takes about 4.5 min when the daemon hangs (an unanswered command waits 35 s): comment and FINDINGS 90 say so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-15 22:39:32 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 1162d605d9 Data roaming switch: held back in the dial and its watchdog, in every front end (FINDINGS 120)
Mobile data dialled whatever network the SIM registered on, so data roaming was
always on and nothing could turn it off. Now "allow data roaming", as Android
has it, allowed by default (what every release did, so nobody loses data on
update).

- mobile-data: the card's registration (<stat> of AT+CEREG?, AT+C5GREG? for SA;
  5/10 roaming, 1/9 home) on its own AT channel; with data roaming off and the
  card roaming the dial activates no context, writes /run/mu300/data-roaming-held,
  says so once, and exits 4 under netifd (mu300cell: DATA_ROAMING, retried every
  60 s, which brings data back at home) or 0 on Ubuntu (the watchdog brings it
  back). The watchdog takes a live connection down once when the card goes
  roaming, never redials while held, and ends the hold when somebody takes the
  connection down. `mobile-data roaming [--json] | on|off [--slot N]` reads and
  writes the setting: network.wan.roaming / roaming_internal (per card) on
  OpenWrt, MU300_DATA_ROAMING in mobile-data.conf on Ubuntu. A root-owned
  /run/mu300/roaming-test ("home-as-roaming") forces the branch for device tests.
- No modem-side switch is known (none in anything this project has, none found);
  IMS, SMS, USSD and emergency are untouched.
- Front ends: the panel's dashboard (row + Quick controls button, act roaming
  on|off), LuCI's wan page (a flag per card next to its APN), Cockpit's MU300
  page, mu300-toolkit, the mobile-data usage text, the wiki and README. All 31
  panel catalogs and Cockpit's two.
- mu300-sim2-warmup gives no "no data" verdict while data is held for roaming.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-15 21:58:24 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 384fdfd7ce Merge origin/main into next-boot-misc-first
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-15 20:53:45 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 cef51493f8 Merge origin/main into watchdog-at-failure-not-detach
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-15 20:53:14 +03:00
Abdurrahman Kaan Dikeç f4bf1095d0 Merge remote-tracking branch 'origin/main' into panel-update-page-devtest
# Conflicts:
#	docs/FINDINGS.md
2026-10-15 20:17:54 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 45709ebd70 mu300-next-boot: misc first, then the default boot; one change at a time
The default boot (/etc/mu300/default-boot, which the initramfs reads) is
written only after misc was written and read back, whole and never through
a symlink. Every command but status holds flock on
/run/mu300/next-boot.lock, so mu300-boot-ok's --rearm can no longer
overwrite a switch to Android made between its read and its write.

From kanoqwq's clean-tf-7.2 1f8f03fb (the switch changes misc only);
FINDINGS 100.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-15 20:13:51 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5.5 4194e50b39 ZTE V50 (MU3351): experimental third device, ported from kano's line (FINDINGS 95)
kano (kanoqwq) ported this project to the ZTE V50 in his line (clean-tf-7.2: f6b0668d, 0438ab01). Brought over
as an experimental third device; nobody in this project has a V50, nothing of it is measured here.

- How it is told apart: mu300-device and boot/init (one rule, the same code): its device tree has an AW9523B at
  0x5b on I2C3, which no F50's or U30 Air's has (both read). An F50 label on such a tree (an older installer's
  "continue anyway") is a v50; a v50 label without the node is what the tree says. F50 and U30 Air unchanged.
- Installers (install.sh, install.ps1, the Magisk zip, the web installer, the boot chain scripts): exactly
  V50 / MU3351 on ums9620, with one line saying it is experimental; any other V50 refused, never offered as an
  F50; mainline kernel only.
- Kernel: kano's leds-aw9523b (binds only ZTE's binding), patch 0017 keeps the V50's eMMC host awake (his
  measured fix); a mainline bundle names v50 only with the driver, the 5.4 bundle never.
- mu300-led (NET1 network lamp, Wi-Fi lamp by band, never the PMIC's LEDs), no battery, the F50's USB role
  switch, USB network 192.168.79.1; SIM2, NFC and SIM selection stay off (mu300-nfc says so).
- README, wiki Hardware-Notes, FINDINGS 95 (kano's findings apart from what was checked here), ADB-INTERFACE.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-15 19:41:51 +03:00