Skip to content

Unknown hardware version on restore command.Β #146

@Endermanbugzjfc

Description

@Endermanbugzjfc

I am trying to downgrade from 3.22.0.64 to 3.3.2.1666 but got this error when running restore:

codexctl on ξ‚  main [$?] is πŸ“¦ v1.2.1 via 🐍 v3.13.6 took 3s 
❯ nix run . -- restore 
Would you like to use a password to connect? (Y/n): y
Enter RM SSH password: 
Success: Connected to device
Traceback (most recent call last):
  File "/nix/store/q5kwrv514n76wbnlv1ic8w867czsb2qy-python3.12-codexctl-2025-07-19-18-10/bin/.codexctl-wrapped", line 9, in <module>
    sys.exit(main())
             ^^^^^^
  File "/nix/store/q5kwrv514n76wbnlv1ic8w867czsb2qy-python3.12-codexctl-2025-07-19-18-10/lib/python3.12/site-packages/codexctl/__init__.py", line 523, in main
    man.call_func(args.command, vars(args))
  File "/nix/store/q5kwrv514n76wbnlv1ic8w867czsb2qy-python3.12-codexctl-2025-07-19-18-10/lib/python3.12/site-packages/codexctl/__init__.py", line 199, in call_func
    remarkable = DeviceManager(
                 ^^^^^^^^^^^^^^
  File "/nix/store/q5kwrv514n76wbnlv1ic8w867czsb2qy-python3.12-codexctl-2025-07-19-18-10/lib/python3.12/site-packages/codexctl/device.py", line 110, in __init__
    self.hardware = HardwareType.parse(machine_contents)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/q5kwrv514n76wbnlv1ic8w867czsb2qy-python3.12-codexctl-2025-07-19-18-10/lib/python3.12/site-packages/codexctl/device.py", line 33, in parse
    raise ValueError(f"Unknown hardware version: {device_type} (rm1, rm2, rmpp)")
ValueError: Unknown hardware version: reMarkable 2.0 (rm1, rm2, rmpp)

Environment

Device: reMarkable 2
OS: 3.22.0.64 (official, upgraded all the way from 2.x.x)
codexctl: 5055a9d (built from source)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions