{"id":51307985,"url":"https://github.com/matiaspalmac/everything-imu-mobile","last_synced_at":"2026-07-01T01:30:33.692Z","repository":{"id":364030319,"uuid":"1258790076","full_name":"matiaspalmac/everything-imu-mobile","owner":"matiaspalmac","description":"Turn an Android phone or Wear OS watch into full-body SlimeVR trackers — stream the built-in IMU over Wi-Fi, forward paired controllers, and feel haptics back.","archived":false,"fork":false,"pushed_at":"2026-06-20T08:44:52.000Z","size":533,"stargazers_count":0,"open_issues_count":10,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-20T10:12:03.677Z","etag":null,"topics":["android","fbt","full-body-tracking","haptics","imu","jetpack-compose","kotlin","osc","rust","sensor-fusion","slimevr","vr","vrchat","wear-os"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matiaspalmac.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-03T23:27:37.000Z","updated_at":"2026-06-20T08:44:56.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/matiaspalmac/everything-imu-mobile","commit_stats":null,"previous_names":["matiaspalmac/everything-imu-mobile"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/matiaspalmac/everything-imu-mobile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matiaspalmac%2Feverything-imu-mobile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matiaspalmac%2Feverything-imu-mobile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matiaspalmac%2Feverything-imu-mobile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matiaspalmac%2Feverything-imu-mobile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matiaspalmac","download_url":"https://codeload.github.com/matiaspalmac/everything-imu-mobile/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matiaspalmac%2Feverything-imu-mobile/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34989787,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","fbt","full-body-tracking","haptics","imu","jetpack-compose","kotlin","osc","rust","sensor-fusion","slimevr","vr","vrchat","wear-os"],"created_at":"2026-07-01T01:30:32.926Z","updated_at":"2026-07-01T01:30:33.669Z","avatar_url":"https://github.com/matiaspalmac.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eeverything-imu-mobile\u003c/h1\u003e\n  \u003cp\u003e\u003cstrong\u003eTurn an Android phone and a Wear OS watch into full-body SlimeVR trackers\u003c/strong\u003e\u003c/p\u003e\n\n  \u003cp\u003e\n    \u003ca href=\"https://github.com/matiaspalmac/everything-imu-mobile/actions/workflows/ci.yml\"\u003e\u003cimg src=\"https://github.com/matiaspalmac/everything-imu-mobile/actions/workflows/ci.yml/badge.svg\" alt=\"CI\"\u003e\u003c/a\u003e\n    \u003ca href=\"LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg\" alt=\"License\"\u003e\u003c/a\u003e\n    \u003cimg src=\"https://img.shields.io/badge/platform-Android%20%7C%20Wear%20OS-3DDC84.svg\" alt=\"Platform\"\u003e\n    \u003ca href=\"https://github.com/matiaspalmac/everything-imu-mobile/releases/latest\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/matiaspalmac/everything-imu-mobile?include_prereleases\u0026label=release\" alt=\"Latest release\"\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\nNo extra hardware: the device's own IMU is streamed to the eimu desktop app\nover Wi-Fi, and haptics are sent back to the device's vibration motor.\n\nCompanion to the desktop [**everything-imu**](https://github.com/matiaspalmac/everything-imu)\nbridge, which turns game controllers into trackers. This repo is the mobile half.\n\n---\n\n## Features\n\n**Phone tracker**\n- Streams the phone's raw IMU to the eimu desktop app over UDP, which runs\n  sensor fusion and registers the phone as a tracker — one place for all your\n  devices, mounting, and calibration.\n- **Auto-discover**: one tap finds the desktop on your LAN and connects — no\n  IP typing.\n- Live link health in the header: connection state, endpoint, and **round-trip\n  time**; the desktop measures real packet loss from sequence numbers.\n- Configurable send rate up to 400 Hz with a live *streaming / sensor*\n  readout, magnetometer toggle, and shake-to-recenter — applied live, no\n  restart.\n- Magnetometer figure-8 calibration wizard + automatic gyro-bias estimation.\n- Battery level reported to the desktop; notification quick actions for\n  **Recenter** and **Stop**.\n- Foreground service with wake + Wi-Fi locks, plus an OEM battery-optimization\n  helper so aggressive power managers don't kill tracking.\n- Auto-reconnect on Wi-Fi changes.\n- EN / ES localization.\n\n**Controller forwarding**\n- Forwards BLE controllers paired to the phone as **additional trackers**:\n  Joy-Con 2, Switch 2 Pro Controller, and HOPX BLE pucks. Scan, tap connect,\n  and they appear in the desktop device list.\n- Forwards **regular paired gamepads** too (Android 12+): DualSense,\n  DualShock 4, Joy-Con 1, Pro Controller, and any pad whose motion sensors\n  the system exposes — read through Android's InputDevice sensor API, with\n  battery and rumble. Pair in system Bluetooth settings and they stream\n  automatically while connected to the desktop.\n- Hub roles: phone + gamepads, phone only, or gamepads only.\n\n**Haptics**\n- Desktop-initiated rumble flows to the phone's vibration motor and to\n  forwarded controllers; every pulse shows in the haptics log.\n- VRChat OSC → device vibration bridge (UDP `9001`).\n\n**Wear OS companion**\n- Runs standalone — the watch streams its own IMU as an independent tracker.\n- Auto-syncs the desktop address from the phone over the Wearable Data Layer,\n  or set the IP directly on the watch with a rotary/swipe wheel picker (works on\n  AOSP / de-Googled watches with no Play Services — no keyboard, no companion).\n\n---\n\n## Install\n\nDownload the latest APKs from [**Releases**](https://github.com/matiaspalmac/everything-imu-mobile/releases/latest):\n\n- `everything-imu-phone-\u003ctag\u003e.apk` — the phone tracker.\n- `everything-imu-wear-\u003ctag\u003e.apk` — the Wear OS companion (optional).\n\nRelease APKs are signed. If you previously installed an unsigned build, uninstall\nit first — Android refuses an in-place upgrade when the signing key changes.\n\n### Quick start\n1. Install the phone APK, open it, grant sensor + notification permissions.\n2. With the eimu desktop app running on your PC, tap **Auto-discover** — the\n   app finds it and connects (or type the PC's IP manually).\n3. Mount the phone on your body; calibrate; assign the tracker in SlimeVR.\n\n---\n\n## Build from source\n\n### Native fusion core (Rust)\n```sh\ncargo build      # host build\ncargo test\n```\n\n### Android apps\nRequires JDK 17, the Android SDK, an Android NDK, and `cargo-ndk` for the native\ncore:\n```sh\ncargo install cargo-ndk\ncd mobile\n./gradlew :app-mobile:assembleDebug :app-wear:assembleDebug\n```\nAPKs land in `mobile/app-*/build/outputs/apk/`. The Gradle build cross-compiles\nthe Rust core into `mobile/core/src/main/jniLibs/` automatically.\n\n---\n\n## Release signing\n\nTo produce signed release APKs you need a keystore.\n\n```sh\nkeytool -genkey -v -keystore release.keystore -alias eimu \\\n  -keyalg RSA -keysize 2048 -validity 10000\n```\n\n**Local builds** — copy `mobile/keystore.properties.example` to\n`mobile/keystore.properties` and fill in your store/key passwords. Both files are\ngitignored.\n\n**CI builds** — set these repository secrets (the release workflow signs with\nthem automatically; without them it builds unsigned):\n\n| Secret | Value |\n|--------|-------|\n| `ANDROID_RELEASE_KEYSTORE_B64` | `base64 -w0 release.keystore` |\n| `ANDROID_RELEASE_KEYSTORE_PASSWORD` | store password |\n| `ANDROID_RELEASE_KEY_ALIAS` | key alias (`eimu`) |\n| `ANDROID_RELEASE_KEY_PASSWORD` | key password |\n\nTag a commit `v*` to build, sign, and attach phone + wear APKs to a draft\nrelease.\n\n---\n\n## Repository layout\n\n```\ncrates/\n  imu-math/      shared math primitives\n  imu-fusion/    VQF / Madgwick orientation fusion (native core)\n  jni-android/   JNI cdylib bridging the core to the Android apps\nmobile/\n  app-mobile/    phone app\n  app-wear/      Wear OS app\n  core/          shared Android library (consumes the native .so)\n```\n\nThe `imu-math` / `imu-fusion` crates are shared with the desktop project and\nkept in sync manually — they change rarely.\n\n## License\n\n[MIT](LICENSE). Contributions are accepted under the same license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatiaspalmac%2Feverything-imu-mobile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatiaspalmac%2Feverything-imu-mobile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatiaspalmac%2Feverything-imu-mobile/lists"}