diff --git a/10-systems/hardware/s10e-navi-node.md b/10-systems/hardware/s10e-navi-node.md new file mode 100644 index 0000000..0e09c8d --- /dev/null +++ b/10-systems/hardware/s10e-navi-node.md @@ -0,0 +1,42 @@ +--- +title: S10e Navi Node +type: hardware +purpose: Remotely controlled Android node for Navi +owner: gmikcon +status: active +confidence: 100 +last_reviewed: 2026-09-29 +review_interval: 90d +source_of_truth: adb-verified +--- + +# Samsung Galaxy S10e — Navi Android node + +## Overview +Samsung Galaxy S10e (SM-G970F, codename beyond0lte, serial RF8MA0TYJMF, +Android 12 / SDK 31, One UI) repurposed as a permanently connected Android +execution node for Navi. Physically connected via USB to gprint +(192.168.1.131, port 1-3), powered from USB. Screen turns off after 60s +(AMOLED burn-in protection); control does not require the screen. + +## Network / access +- Wi-Fi: 192.168.1.22 (home-lan), adb tcpip 5555 enabled — reachable over the network without USB +- adb: authorized from gprint keys (USB serial RF8MA0TYJMF + 192.168.1.22:5555) +- Control entrypoint: `gprint:~/pixel3a-work/s10e.sh`; from the Navi host: `~/pixel3a/s10e-remote.sh` (sshpass wrapper) +- PIN: stored in `gprint:~/pixel3a-work/.pin` (chmod 600); unlock automation verified (wake → swipe up → input PIN → enter) +- screencap returns 0 bytes on the secure lockscreen (Samsung FLAG_SECURE) — capture only when unlocked + +## Applied settings (2026-09-29) +- stay_on_while_plugged_in=0, screen_off_timeout=60000 +- protect_battery=1 (Samsung charge limit 85% for 24/7 USB power; verify after first day: level should settle ~85%) +- wifi_sleep_policy=2 (Wi-Fi never sleeps) +- Phantom process killer disabled (Termux-friendly) +- Night mode on, brightness 10 (manual), screensaver off + +## Planned +- SIM card (owner plan): mobile channel for the node — SMS read/send via adb (`content://sms`), mobile data as backup uplink, emergency reachability when LAN/WAN is down +- Candidate workloads: Termux (SSH/cron/bots), IP Webcam (camera), Telegram command channel, Syncthing + +## Recovery +- TWRP beyond0lte 3.7.0_9-2 at `gprint:/home/gprint/twrp-beyond0lte.img` (sha256 verified) +- Keepalive service auto-recovers adb after a phone reboot (re-enables tcpip via USB) diff --git a/10-systems/hosts/gprint.md b/10-systems/hosts/gprint.md new file mode 100644 index 0000000..4005434 --- /dev/null +++ b/10-systems/hosts/gprint.md @@ -0,0 +1,53 @@ +--- +title: gprint +type: host +ip: 192.168.1.131 +purpose: NFS network share + S10e Android node host (former 3D-printer brain) +owner: gmikcon +status: active +confidence: 100 +last_reviewed: 2026-09-29 +review_interval: 90d +source_of_truth: ssh-host +--- + +# gprint (192.168.1.131) + +## Overview +Small physically separate x86_64 server in the home LAN. Formerly the brain +of a 3D printer (Klipper/Moonraker stack) — cleaned up 2026-09-29. Now serves +an NFS network share and hosts the S10e Android Navi node +(see `10-systems/hardware/s10e-navi-node.md`). + +## Technical details +- **OS:** Ubuntu 24.04.1 LTS, x86_64, 4 cores, 1.9 GiB RAM +- **Disk:** 13G total, ~6.8G used (57%) after cleanup (was 90%) +- **User:** gprint; SSH and sudo credentials — see gnexus-creds +- **Uptime:** long-lived (46d as of 2026-09-29); kernel update pending reboot — safe to reboot, all services in autostart + +## Services +- **NFS share** (ports 111, 2049) — primary role, untouched by cleanup +- **nginx** (port 80) — fluidd site removed; default config +- **iperf3** (port 5201) +- **ssh** (port 22) +- **adb/fastboot/scrcpy** + udev rules (51-android-nexus.rules, vendor 18d1/04e8) — for the S10e node + +## S10e node stack (~/pixel3a-work/) +- `s10e.sh` — control script: screen/tap/swipe/text/key/shell/launch/pkgs/info/lock/unlock/reboot/status/scrcpy +- `check.sh` — adb connection status +- `keepalive.sh` + systemd `pixel3a-keepalive.service` (active) — reconnects adb-over-WiFi, re-enables tcpip via USB after phone reboot +- `pixel3a-watch.service` (active) — USB presence watcher (watch.log) +- `pixel3a-setup.service` — disabled, one-shot setup completed 8/8 +- `.pin` — phone PIN (chmod 600) +- `README.md` — full node documentation +- TWRP beyond0lte 3.7.0_9-2 at `/home/gprint/twrp-beyond0lte.img` (sha256 verified) + +## Cleanup history (2026-09-29) +- Removed arm-none-eabi cross-compiler (2.4G), trimmed journald to 100M limit +- Klipper/Moonraker remains backed up to `/root/klipper-backup-*.tar.gz`, then removed +- Dead nginx fluidd site removed (nginx -t OK, reloaded); NFS share preserved + +## Gotchas +- USB port 1-2 is glitchy (EMI-disable, connect/disconnect cycle) — keep the phone in port 1-3 +- scrcpy 1.25: no `--no-audio`/`--time-limit` flags (those are 2.x); headless via `xvfb-run -a scrcpy -s 192.168.1.22:5555 --max-size 800` +- With both USB and Wi-Fi adb connected, always use `adb -s `