mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-05 20:34:27 +01:00
android/rescue: one-screen app that programs the RP2040 (RP2040-Zero or XIAO) over PICOBOOT through an OTG cable with the rescue firmware, the user's official V15 and JieLi's loader, reboots it, and follows the FM-1 repair on the board's data port. Core (RescueImage, Picoboot, RescueStatus) tested on a computer against a mock RP2040: the flash ends identical to the web page's .uf2. Built by the android workflow. Firmware: `rescue` is answered on core 0 with phase and sector, so the progress is readable during a restore. The done flag no longer survives a watchdog reboot (a re-flashed board could have reported done for a new unit). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UVqsRpwNe3f8G3bWubf9TX
37 lines
1.8 KiB
Markdown
37 lines
1.8 KiB
Markdown
# JIANT on Android
|
||
|
||
**JIANT Probe** (`android/probe`, 0.4) is built by GitHub Actions (`.github/workflows/android.yml`) on every push that
|
||
touches `android/`: the one-screen test of what a phone does with the FM-1's USB audio (channel counts, its own USB
|
||
driver, the mic through the FM-1 and back). Kept for diagnosing a phone; see [probe/README.md](probe/README.md).
|
||
|
||
| | What it is | APK |
|
||
|---|---|---|
|
||
| **JIANT Probe** (`android/probe`, 0.4) | What a phone does with the FM-1 over USB: the channels Android passes, the stream read directly, the round trip. | `jiant-probe.apk` |
|
||
| **FM-1 Rescue** (`android/rescue`, 0.1) | Unbricks a hard-bricked FM-1 with an RP2040 and the phone: programs the RP2040 over OTG, then shows the repair. See [LEEME](rescue/LEEME.md). | artifact `fm1-rescue` |
|
||
|
||
Download it from the site (<https://juanjiant-bit.github.io/JIANT/app/jiant-probe.apk>, once the change is on `main`)
|
||
or from any branch: the Actions tab → the **android** run → **Artifacts** → `jiant-probe`. Android 10 or later and a
|
||
USB-C data cable.
|
||
|
||
## On the FM-1
|
||
|
||
**MENU › SYSTEM › USB**, then unplug and plug the cable again (the FM-1 re-enumerates):
|
||
|
||
| Mode | Channels to the host |
|
||
|---|---|
|
||
| **STEMS+IN** (0.8.0) | 10: T1–T6, FX L R, VOX (your voice as the last live track mixed it), DRY (your voice as it came); the host's audio comes in as the voice |
|
||
| **STEMS** (0.7.1) | 8: T1–T6, FX L R |
|
||
| STEREO / CONSOLE / IN+OUT | 2: the master |
|
||
|
||
The tracks are each mono, before the master (no leveler, limiter or MASTER knob): their sum with the FX return is the
|
||
mix as the FM-1's buses hear it. USB LEVEL at −6 dB or lower gives headroom. Clean STEMS need firmware **0.9.8** or
|
||
later.
|
||
|
||
## Building
|
||
|
||
JDK 17 and Gradle 8.9 (the workflow's versions):
|
||
|
||
```sh
|
||
gradle -p android/probe assembleDebug
|
||
```
|