Skip to content

Devtest images for new models, device info page - #204

Merged
UniqueDroid merged 2 commits into
mainfrom
feat/devtest-deviceinfo
Nov 24, 2026
Merged

UniqueDroid merged 2 commits into
mainfrom
feat/devtest-deviceinfo

Conversation

@UniqueDroid

@UniqueDroid UniqueDroid commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

The first image a tester of a new model gets: no claiming with a button (its buttons are not known yet), and a page that collects everything needed to add the model.

Devtest images

  • board.sh: BOARD_DEVTEST=1 in the case of a model that is being added (not for an unknown model – the emulator tests run without a device tree and must be claimed as usual). S03claim then leaves root with the password shareos – web interface and SSH work at once.
  • post-image.sh: new status column in MODELS (release | devtest). Devtest files are named ShareOS-<version>-<name>-devtest.bin / .sysupgrade.tar; SHAREOS_FWNAME stays the model name, so once the model is released, the box updates normally.
  • Release job: a step No devtest images fails the release if such files are in the build – they only come from the build of a pull request.
  • All current models stay release; nothing changes for them. The DNR-322L (DNR-322L rev A: first build (#180) #181) would be the first candidate.

Device info

  • shareos-deviceinfo (system and rescue system, BusyBox only, read only): ShareOS version, detected board, device-tree model/compatible, cmdline, CPU, memory, /proc/mtd, partitions, the U-Boot environment (partition with "env" in its name, read with dd), LEDs with their trigger, hwmon values, GPIO chips, input devices (buttons), interrupts, serial ports, I2C, USB, network interfaces, ifconfig eth0, kernel log. MAC addresses keep their last two bytes, serial numbers are (masked); --full shows everything.
  • shareos.deviceinfo get {full} (admin ACL).
  • Page DEVICE INFO not in the menu: #/deviceinfo, also http://<box>/deviceinfo (redirect page). Classic view: under System without a tab; desktop view: opens in the Settings window. Download (shareos-deviceinfo-<model>-<date>[-full].txt), Copy, Read again, switch for unmasked data.
  • A devtest box shows a banner on the overview and an info message (shareos-notify check) with the address – the desktop view has no overview.

Tests

  • test-boards.sh: devtest flag (known, unknown, a board.sh with a devtest case), S03claim locks a new DNS-320L and an unknown model but not a devtest box, report contents, masking and --full (29 checks).
  • test-notify.sh: the reminder on a devtest box (32 checks).
  • Mock and Playwright against it: banner, link, masked/full, download name, /deviceinfo/ in classic and desktop view, no script errors.
  • tests/ui-desktop.js expected the storage bar without the DISK CHANGE tab of Disk change wizard: move everything to a new drive (phase 1: bay and USB) #200 (2 checks failed on main) – updated, 72/72.
  • Static analysis, check-i18n.py, check-i18n-coverage.js, check-acl.py pass. 9 new texts in all nine languages.

Docs: DEVICES/GERAETE (Devtest image), TESTING/TESTEN 14zz, RELEASE, CHANGELOG 0.3.0-beta.17, parts README.


Generated by Claude Code

- board.sh: BOARD_DEVTEST (1 for a model that is being added, and for an
  unknown one). S03claim leaves root / shareos on such a box – the buttons
  of a new model are not known yet.
- post-image.sh: a status column in MODELS (release | devtest); devtest
  files are named ShareOS-<version>-<name>-devtest.*, and the release job
  refuses them.
- shareos-deviceinfo (system and rescue system): model, device tree,
  cmdline, CPU, memory, /proc/mtd, partitions, the U-Boot environment
  (read with dd), LEDs, hwmon, GPIO chips, input devices, interrupts,
  serial ports, I2C, USB, network, kernel log. MAC addresses and serial
  numbers masked unless --full.
- shareos.deviceinfo get (admin) and a page not in the menu:
  http://<box>/deviceinfo (redirect to #/deviceinfo), in the desktop view
  in the Settings window; download, copy, masking switch. A devtest box
  shows a banner on the overview and a reminder in the messages.
- Tests: test-boards (devtest, S03claim, report and masking),
  test-notify (reminder), mock; ui-desktop expects the DISK CHANGE tab of
  #200. Docs: DEVICES/GERAETE, TESTING/TESTEN 14zz, RELEASE, CHANGELOG.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Sb3gb1FHs6DNkZHKinKAJv
The emulator tests (test-users) run without a device tree, so the model
is unknown – with BOARD_DEVTEST=1 for unknown models S03claim left root
unlocked there and the six claim checks failed. A real box of a new model
gets its own case in board.sh anyway; an unknown model is claimed as
before. test-boards: unknown model locked, a board.sh with a devtest
case keeps root / shareos.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Sb3gb1FHs6DNkZHKinKAJv
@UniqueDroid
UniqueDroid merged commit a4a9e68 into main Nov 24, 2026
7 checks passed
@UniqueDroid
UniqueDroid deleted the feat/devtest-deviceinfo branch November 24, 2026 09:54
UniqueDroid pushed a commit that referenced this pull request Nov 24, 2026
…t image

- post-image.sh: DNR-322L-rev-Ax with the status devtest – files
  ShareOS-<ver>-DNR-322L-rev-Ax-devtest.*, refused by the release job.
- board.sh: BOARD_DEVTEST=1 in its case – root / shareos, device info,
  banner and reminder; LED_INSTALL kept next to the new DEVTEST.
- test-boards: the DNR-322L is devtest and keeps root / shareos.
- CHANGELOG: the DNR line moves to 0.3.0-beta.17 (it was not in beta.16);
  DEVICES/GERAETE: devtest image, no claiming needed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Sb3gb1FHs6DNkZHKinKAJv
UniqueDroid pushed a commit that referenced this pull request Nov 24, 2026
The Glass entry stood under a new 'Unreleased' heading; the open release
section is 0.3.0-beta.17, which goes into the release text. On the device
info page (#204) the report, the loading note and an error sat directly
under the panel with the buttons – now 16 px apart.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Sb3gb1FHs6DNkZHKinKAJv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants