fix(glasses): correct One Pro+ tracking and enable verified controls (#2680)

* fix(glasses): correct One Pro+ tracking and enable verified controls

* fix(i18n): translate current XREAL family guidance
This commit is contained in:
informalTechCode authored and GitHub committed 2026-11-24 16:17:12 -05:00
1 parent 2a51b044c5
commit ee6cf20ae4
42 files changed
+325 -68

No files matched your search

+62
View File
@@ -240,3 +240,65 @@ extended gameplay stability need hardware validation. One successful view/motion
check does not establish long-session stability. Users must select Follow mode and disable the glasses' own
stabilization. Factory calibration and XREAL Eye/6DoF are not implemented.
One Pro is not enabled or claimed as tested.
## Native 1 Pro+ implementation and hardware validation — 2026-11-13
The attached device identifies as USB `3318:0444`, product `XREAL 1 Pro+`. This exact
identity enables the experimental 1 Pro+ profile alongside the existing 1S profile.
The [official specifications](https://tutorials.xreal.com/docs/glasses/pro-plus/specifications/)
give 1920×1080 per eye and a 57° diagonal field of view. The direct Kotlin driver
uses the USB-Ethernet control and IMU services; it requires no XREAL SDK or
ControlGlasses installation and includes no vendor SDK binaries or headers.
Verified on the connected phone and glasses:
| Observation | Result |
| --- | --- |
| Control and IMU transport | Individually bound Android Ethernet sockets reach `169.254.2.1:52999` and `:52998` without replacing the default Internet network. |
| Native display | `GET_DISPLAY` (`0x275e`) returns **9**, with Android reporting **1920×1080 at 60 Hz**. This profile preserves mode 9 for native 60 Hz instead of the 1S's mode 29. |
| Legacy 60 Hz command | Setting mode **2** is rejected with status **10001**. A rejected command does not count as a successful display switch. |
| Higher refresh commands | Setting modes **3** and **4** through DroidDeck selects physical **1920×1080 at 90/120 Hz**, confirmed through Android's active display mode. |
| Full SBS | `SET_INPUT` (`0x2822`) with value **1** settles at display mode **5** and Android **3840×1080 at 60 Hz**. Value **0** restores native mode **9**; DroidDeck then restores the saved 90 Hz preference. Tracking resumed after both switches. |
| IMU | Type **11** raw sensor reports arrive at approximately **1,000 Hz**, using the existing 128-byte body layout. |
Mode 9 is an observed native display configuration, not a general mapping from
EDID number to the physical refresh rate selected by every host. The older
[xr-tools enum](https://github.com/0xcaff/xr-tools/blob/main/packages/xreal_one_driver/src/proto/net/dp_get_current_edid_dsp.rs)
contains only modes 2–5. The independent
[one-xr investigation](https://github.com/Skarian/one-xr/blob/main/docs/UNRESOLVED.md)
also records mode 9 and mode-2 rejection status 10001 on other firmware. This
supports keeping display mappings per model and confirming output through Android.
The Pro+ profile applies a nominal **+35° rotation around X** to both gyro and
acceleration before fusion, inverting the factory display-to-IMU mounting
direction. Directed wearer captures separately establish the sign: horizontal
turns primarily rotate around corrected Y, and shoulder tilts around corrected Z.
The initial opposite-sign correction mixed these axes; a stationary capture alone
could not distinguish sensor mounting from the physical angle of the glasses.
This is a model mounting correction, not individually calibrated tracking. Device
calibration data and serial numbers are not stored in the repository. After the
corrected build was installed, the wearer confirmed all three rotation directions
and the horizon were correct. The existing 1S mapping stays unchanged.
The initial APK build and 621 targeted glasses/UI tests completed with zero failures
and one skipped test. After correcting the mounting direction, all 73 focused
XREAL/routing tests passed, including a regression using the measured movement
axes. Native dependency checks passed and the APK contains no vendor
SDK libraries. On this phone, background network restrictions interrupted the
glasses sockets while DroidDeck was away from the foreground; foreground operation
recovered. Sustained background use needs separate validation.
Brightness remains limited to the known protocol values **0–9**. XREAL's
[display guide](https://tutorials.xreal.com/docs/glasses/pro-plus/display-sound/)
documents 14 physical levels in Follow mode with Stabilizer off and 10 in Anchor
or Spatial Anchor. Those counts do not establish a 0–13 direct-protocol range.
The wearer confirmed that DroidDeck's brightness and dimming controls work on the
Pro+. The wider brightness API mapping remains unverified.
Use **Follow** with **Stabilizer off** in the glasses' own menu before using
DroidDeck tracking, following the official
[display-mode](https://tutorials.xreal.com/docs/glasses/pro-plus/spatial-screen/display-modes/)
and [Stabilizer](https://tutorials.xreal.com/docs/glasses/pro-plus/spatial-screen/stabilizer-transparency/)
descriptions. The built-in tracking must not be layered over host tracking.
XREAL Eye, camera capture, and 6DoF are not implemented. Long-session stability
remains an outstanding hardware check.