Repository navigation
Vital cards show the last reading's time; Restart ring; jring factory reset - #72
Merged
Merged
Conversation
- Vital cards: "Updated 2h ago" becomes "Last reading 14:28". An owner read the age as a failed sync; their diagnostics showed the ring itself had logged nothing between 14:28 and 17:28. - Translate the remaining English on those cards (bpm range, % avg, the vs earlier/baseline/previous trend suffixes) and add pt-BR entries. - Ring & sync: Restart ring, for every ring. It drops the link and reconnects, so the connect sequence re-sends clock, background-logging settings and profile, then runs a full history pass. Nothing is erased. Factory reset stays gated on FACTORY_RESET: there is no verified vendor reset command for JRING/YCBT/LuckRing. Claude-Session: https://claude.ai/code/session_01P1t1aUqSUPd3whKXmgVm7w
Read from JRing 2.0.8 (com.jaga.ibraceletplus.jyring), decompiled with jadx: the vendor SDK's setDeviceMode writes 0x0E plus an 8-byte key. The vendor buttons name the modes: 2 "Device off", 3 "Restart device", 4 "Factory reset". Jring now sends mode 4 for factory reset (the existing sync-first, wipe, forget flow, now offered for jring) and mode 3 when Restart ring runs, before it reconnects. Other families keep the reconnect-only restart. decompiled-*/ is gitignored: vendor code is read locally and cited, never committed. AGENTS.md records where the modes come from. Byte-level test against the vendor frames. Claude-Session: https://claude.ai/code/session_01P1t1aUqSUPd3whKXmgVm7w
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
An owner with a JRING ring (firmware V138) saw "Updated 2h ago" on Vitals straight after a sync and read it as a failed sync. Their diagnostics export showed the sync had worked:
They also asked for a way to reset the ring from the app.
What
LastReadingLabelTest.tr(), with pt-BR entries added.com.jaga.ibraceletplus.jyring), decompiled with jadx.setDeviceModewrites0x0Eplus an 8-byte key. The vendor buttons name the modes: 2 "Device off", 3 "Restart device", 4 "Factory reset".FACTORY_RESET, so the existing flow (sync first, wipe, forget) appears for it.JringDeviceModeTestchecks the frames byte for byte against the vendor code.decompiled-*/is now gitignored, so the vendor's code is read locally and cited, never committed. AGENTS.md records where the modes come from.Not yet checked on hardware: jring restart (mode 3) and factory reset (mode 4).
Audit:
audits/2026-11-11-v2.16.1-last-reading-restart-ring.mdDesign canvas: updated.
RingSync.dc.htmlhas the new Restart ring row. Its Factory reset row was already there.Vitals.dc.htmlshows the "Last reading" label.🤖 Generated with Claude Code
https://claude.ai/code/session_01P1t1aUqSUPd3whKXmgVm7w