docs: prepare English public documentation and preserve license scope

This commit is contained in:
Darío Sevilla committed 2026-10-12 05:06:35 +00:00
1 parent 008e4e3d80
commit f727149369
10 files changed
+192 -180

No files matched your search

+115 -111
View File
@@ -1,196 +1,200 @@
# Testing and physical validation status (English summary)
# Testing and physical validation status
Automated checks and physical-device checks are separate. The `0.13.0` / versionCode 16 build passed 152 automated JVM/Robolectric tests (55 app, 87 core, 10 NaviLite), plus 11 Python offline-builder tests. Android lint reported 0 errors and 75 warnings. The debug APK is 81,266,845 bytes, SHA-256 `4901f4fe846e606d3db64e74e1e6b27ad554e46fc01d45d2f7091d441cee8eff`.
**Latest physical report — 2026-10-12:** using the latest version (exact version number not supplied), the rider saw the map work correctly on the Yamaha TFT for approximately 20 minutes. In La Corredoria, Oviedo, the TFT then displayed **“Mapa no disponible”** (“Map unavailable”) and did not recover for the rest of the trip, while the map continued working on the phone with an offline map installed. Whether the phone was locked or the app was in the background, and any diagnostic error code, are unknown. This establishes successful TFT map rendering followed by a persistent failure; it does not establish the failure's cause or prove the TFT's active source was the installed offline map. See the [incident investigation](TFT_MAP_INCIDENT_2026-10-12.md) for findings and recovery checks.
The owner confirmed that static and synthetic NavFrame frames appeared on a Xiaomi 11 Lite 5G NE (Android 14) and a 2026 Yamaha MT-07. The owner also confirmed that the Asturias offline map works on the phone. The last reported MapLibre map attempt on the Yamaha TFT displayed `MAPA NO DISPONIBLE`; a successful physical map render on the TFT is not recorded. Offline regional POI search, route guidance, GPS quality, voice playback, camera alert timing, intercom audio, Bluetooth recovery, and a 30-minute screen-off session still need physical validation unless a newer report records them.
Offline POI behavior, GPS quality, voice instructions, camera-alert timing, intercom audio, Bluetooth recovery, and a controlled 30-minute screen-off session still require physical validation unless a newer report records them. Older statements below describe evidence available at the time and are superseded by the report above.
JVM/Robolectric tests do not run MapLibre JNI/OpenGL or exercise a physical Yamaha display, motorcycle, Bluetooth intercom, or Android TextToSpeech hardware. The detailed historical procedures and per-version records below are maintained in Spanish; the current status above is the English summary.
Automated checks and physical-device checks are separate. Local verification for `0.13.1` passed 159 unit tests (60 app, 89 core, 10 NaviLite), 17 Python offline-builder tests, Android APK assembly, and lint with zero errors and 76 warnings. The earlier `0.13.0` / versionCode 16 build passed 152 automated JVM/Robolectric tests (55 app, 87 core, 10 NaviLite), plus 11 Python offline-builder tests. Android lint reported 0 errors and 75 warnings. Its debug APK was 81,266,845 bytes, SHA-256 `4901f4fe846e606d3db64e74e1e6b27ad554e46fc01d45d2f7091d441cee8eff`.
# Historical test procedures (Spanish)
The owner confirmed static and synthetic NavFrame frames on a Xiaomi 11 Lite 5G NE (Android 14) and a 2026 Yamaha MT-07, and the Asturias offline map on the phone. JVM/Robolectric tests do not run MapLibre JNI/OpenGL or exercise a physical Yamaha display, motorcycle, Bluetooth intercom, or Android TextToSpeech hardware.
## M1-TFT: preparación y humo
UI labels below are translated for readability; the installed app may display their Spanish equivalents. Literal status strings and diagnostic messages are retained where useful.
**M1-TFT completado:** el usuario confirma que NavFrame mostró tanto la imagen fija como la imagen sintética de navegación en la TFT de su Yamaha MT-07 2026, con un Xiaomi 11 Lite 5G NE con Android 14. StreetCross también funciona con esa combinación. La vista previa local y el fake siguen siendo pruebas separadas de la compatibilidad física.
## Historical test procedures
Se observó que la sesión podía desconectarse cuando no llegaban frames nuevos. La versión `0.1.1-continuous` ya conserva y reenvía el último JPEG, mantiene un servicio de primer plano con wake lock parcial acotado y reintenta con pausas de 1, 2, 4, 8 y hasta 15 segundos. El intervalo seleccionable es 0,5, 1 o 2 segundos (1 segundo por defecto). Esta lógica pasó pruebas unitarias, pero el uso prolongado con la pantalla apagada y el cierre completo al pulsar **Desconectar** todavía requieren validación en el teléfono del usuario.
### M1-TFT: preparation and smoke test
### Comprobación local (sin moto)
**M1-TFT completed:** the user confirmed both the static image and synthetic navigation image on the TFT of a 2026 Yamaha MT-07, using a Xiaomi 11 Lite 5G NE with Android 14. StreetCross also works with that combination. Local preview and fake transport remain separate from physical compatibility tests.
1. Compilar e instalar con los comandos de la raíz descritos en `README.md`.
2. Abrir NavFrame. La vista previa aparece antes de conectar y muestra el JPEG generado por `TestTftRenderer` dentro de un visor de 480×240.
3. Pulsar **Conectar simulador**. El estado de conexión debe pasar a `CONNECTED` y el mensaje termina en «Simulador conectado · sin sesión Bluetooth continua». Pulsar **Enviar texto de navegación sintética**; el visor refleja los valores fijos (NEXT TURN 350 m, 23 km, ETA 17:42). Pulsar **Desconectar** al terminar.
4. Esta ruta usa `FakeTftTransport`, no abre Bluetooth ni requiere permiso, y el visor enseña los mismos bytes JPEG que el fake recibe. Verifica render y flujo local. No valida handshake, escritura Bluetooth ni imagen en la TFT física.
The session was observed disconnecting when no new frames arrived. Version `0.1.1-continuous` retains and resends the last JPEG, maintains a foreground service with a bounded partial wake lock, and retries after 1, 2, 4, 8, and up to 15 seconds. Selectable intervals are 0.5, 1, or 2 seconds (default: one second). This logic passed unit tests, but prolonged screen-off operation and complete shutdown after **Disconnect** still require validation on the user's phone.
### Procedimiento M1 (ya completado; repetir solo tras cambios de protocolo)
#### Local check (without a motorcycle)
Usar primero el Xiaomi 11 Lite 5G NE (Android 14) y la MT-07 2026 que ya funcionan con StreetCross. Preparar teléfono y motocicleta detenida en un lugar seguro. Cerrar completamente StreetCross antes de la prueba para que no compita por la sesión del CCU. Activar Bluetooth. En NavFrame, pulsar **Actualizar dispositivos emparejados** y conceder permiso de dispositivos cercanos / `BLUETOOTH_CONNECT`; si aún no hay vínculo, usar **Abrir ajustes Bluetooth / emparejar** y completar el emparejamiento según las instrucciones de la moto. Volver a NavFrame, actualizar, seleccionar la Yamaha en la lista y pulsar **Conectar Yamaha seleccionada**. Autorizar notificaciones si Android lo solicita para la sesión de primer plano. Al completar setup, el estado debe pasar a `CONNECTED` y la app intenta enviar automáticamente la imagen fija; el mensaje queda como «Imagen enviada: … bytes · … ms» si recibió el ACK de servicio. Después se pueden probar **Enviar imagen de prueba** y **Enviar texto de navegación sintética**. Mantener la app en primer plano para el primer diagnóstico. Registrar modelo/año de moto, modelo/versión Android, versión de app, estado de emparejamiento, resultado de conexión y handshake, y si la imagen aparece completa en la TFT. Evitar registrar ubicación precisa, identificadores Bluetooth o datos personales en logs compartidos.
1. Build and install using the root commands documented in `README.md`.
2. Open NavFrame. Preview appears before connection and shows the JPEG generated by `TestTftRenderer` in a 480×240 viewer.
3. Press **Connect simulator**. Connection state must become `CONNECTED`, and the message ends with “Simulator connected · no continuous Bluetooth session.” Press **Send synthetic navigation text**; the viewer reflects fixed values (NEXT TURN 350 m, 23 km, ETA 17:42). Press **Disconnect** afterward.
4. This path uses `FakeTftTransport`, opens no Bluetooth connection, requires no permission, and displays the same JPEG bytes received by the fake. It verifies local rendering/flow, not handshake, Bluetooth writes, or the physical TFT image.
Éxito observable ya reportado: ambas imágenes de NavFrame aparecen en la TFT, sin usar MediaProjection ni capturar otra aplicación. Esto acredita el humo de conexión/render M1 para ese teléfono y esa MT-07 2026; no demuestra todavía estabilidad durante periodos largos, navegación real, GPS ni compatibilidad con otros años Yamaha.
#### M1 procedure (completed; repeat only after protocol changes)
### Prueba de pantalla apagada y recuperación (pendiente)
Start with the Xiaomi 11 Lite 5G NE (Android 14) and 2026 MT-07 already working with StreetCross. Prepare the phone and stationary motorcycle in a safe location. Completely close StreetCross so it does not compete for the CCU session. Enable Bluetooth. In NavFrame, press **Refresh paired devices** and grant nearby-device permission / `BLUETOOTH_CONNECT`; if not paired, use **Open Bluetooth settings / pair** and follow the motorcycle's instructions. Return to NavFrame, refresh, select Yamaha, and press **Connect selected Yamaha**. Allow notifications if Android requests them for the foreground session. After setup, state must become `CONNECTED`; the app automatically attempts to send the static image. The message becomes “Image sent: … bytes · … ms” after the service ACK. Then test **Send test image** and **Send synthetic navigation text**. Keep the app foregrounded for initial diagnosis. Record motorcycle model/year, phone model/Android version, app version, pairing state, connection/handshake result, and whether the complete image appears on the TFT. Avoid precise location, Bluetooth identifiers, or personal data in shared logs.
Instalar la versión `0.2.0` (o posterior) en la Xiaomi 11 Lite 5G NE (Android 14) y usar la MT-07 2026. Cerrar StreetCross y las otras apps de navegación, conectar NavFrame y comprobar primero que se muestra una de las imágenes confirmadas en M1. Revisar en pantalla el estado de optimización de batería. Si Android/Xiaomi impide que la sesión continúe, abrir los ajustes con **Abrir ajustes de optimización de batería** y anotar el cambio que se haga; la app no cambia la política automáticamente. Dejar la moto estacionada de forma segura, con TFT/CCU encendidos, y apagar la pantalla del teléfono; no realizar la prueba mientras se conduce.
Reported observable success: both NavFrame images appear on the TFT without MediaProjection or capturing another application. This validates M1 connection/render smoke testing for that phone and MT-07; it does not establish long-term stability, real navigation, GPS, or compatibility with other Yamaha model years.
Dejar NavFrame en segundo plano y la pantalla apagada durante 30 minutos. Comprobar que la TFT conserva y refresca el último frame, y que al volver a abrir NavFrame el estado aparece conectado y el mensaje muestra «Sesión continua · … ACK … ms». Anotar si Android detuvo el servicio, si hubo cortes visibles, el tiempo hasta la recuperación y cualquier aviso de batería/permisos. En una prueba separada y con la moto parada, desactivar el Bluetooth del teléfono durante unos 10 segundos y volverlo a activar; comprobar que NavFrame muestra el estado de reintento y vuelve a enviar el frame sin iniciar StreetCross ni pulsar conectar. No registrar ubicación ni identificadores Bluetooth.
#### Screen-off and recovery test (pending)
Al terminar, volver a NavFrame y pulsar **Desconectar**. Comprobar que desaparece la notificación de navegación, el estado cambia a `DISCONNECTED`, el mensaje indica «Desconectado · envío y reconexión detenidos» y no hay nuevos reintentos. La última imagen puede quedar estática en la TFT; eso no significa que el servicio siga enviando. La pantalla de la app muestra el estado de la optimización Android, no el estado del wake lock.
Install `0.2.0` or later on the Xiaomi 11 Lite 5G NE (Android 14) and use the 2026 MT-07. Close StreetCross and other navigation apps, connect NavFrame, and first confirm an M1 image. Check the displayed battery-optimization state. If Android/Xiaomi prevents the session continuing, use **Open battery optimization settings** and record any change; the app does not change policy automatically. Leave the motorcycle safely parked with TFT/CCU powered and turn off the phone screen; do not conduct this test while riding.
Para comprobar de forma técnica que el wake lock se libera, con depuración USB autorizada puede consultarse el teléfono antes y después de desconectar: `adb shell dumpsys power | grep -F 'NavFrame:TftSession'`. Debe aparecer durante la sesión real activa y dejar de aparecer después de **Desconectar**. Esta comprobación es opcional y no sustituye la prueba de 30 minutos en el teléfono.
Leave NavFrame backgrounded with the screen off for 30 minutes. Check that the TFT retains and refreshes the last frame and that reopening NavFrame shows a connected state and “Continuous session · … ACK … ms.” Record service termination by Android, visible interruptions, recovery time, and battery/permission warnings. In a separate stationary test, disable phone Bluetooth for approximately ten seconds and re-enable it; verify retry state and frame transmission resume without opening StreetCross or pressing Connect. Do not record location or Bluetooth identifiers.
### Fase 2: demo animada (datos ficticios)
Finally press **Disconnect**. Verify the navigation notification disappears, state becomes `DISCONNECTED`, the message says “Disconnected · sending and reconnection stopped,” and no further retries occur. The last TFT image may remain static; that does not mean the service keeps transmitting. The app shows Android optimization state, not wake-lock state.
1. Abrir NavFrame y, opcionalmente, pulsar **Conectar simulador** o conectar la Yamaha. La demo también puede comprobarse solo en la vista previa.
2. Pulsar **Iniciar demo animada**. No requiere permiso de ubicación. Confirmar que el estado indica `DEMO · carretera, ruta y maniobras ficticias`, que la vista previa cambia y que el JPEG es 480×240.
3. La imagen debe llevar `DEMO · RUTA FICTICIA` y `ETA … · DEMO`; posición, velocidad, carretera, ruta y maniobras son datos inventados. Si está conectada la TFT, confirmar visualmente allí los frames dinámicos. El simulador local solo verifica la vista previa/flujo local, no Bluetooth físico.
4. Pulsar **Detener navegación · mantener TFT**. Debe detener la demo y dejar la conexión TFT disponible; **Desconectar TFT** detiene la sesión Bluetooth también.
For a technical wake-lock release check with authorized USB debugging, inspect before and after disconnecting: `adb shell dumpsys power | grep -F 'NavFrame:TftSession'`. It should appear during the active real session and disappear after **Disconnect**. This optional check does not replace the 30-minute phone test.
### Fase 3: GPS real sin mapa ni ruta
### Phase 2: animated demo (fictional data)
Prueba inicial aparcado y en un lugar seguro; no manipular el teléfono durante la conducción. En el Xiaomi 11 Lite 5G NE con Android 14, cerrar StreetCross antes de conectar la moto para evitar competencia por el canal. Activar ubicación del teléfono. Pulsar **Iniciar GPS real (sin mapa/ruta)** y conceder ubicación precisa cuando Android la solicite. La app necesita `ACCESS_FINE_LOCATION`; si se concede solo ubicación aproximada, explicar que GPS real no puede arrancar y que la demo sigue disponible. Android puede pedir notificaciones para mostrar el servicio en primer plano. La aplicación inicia GPS desde una pantalla visible y no pide permiso de ubicación permanente/en segundo plano.
1. Open NavFrame and optionally press **Connect simulator** or connect Yamaha. Preview alone can also test the demo.
2. Press **Start animated demo**. No location permission is required. Confirm `DEMO · carretera, ruta y maniobras ficticias`, changing preview, and a 480×240 JPEG.
3. The image must display `DEMO · RUTA FICTICIA` and `ETA … · DEMO`; position, speed, road, route, and maneuvers are invented. If TFT is connected, visually confirm dynamic frames there. The local simulator validates preview/local flow, not physical Bluetooth.
4. Press **Stop navigation · keep TFT**. The demo stops while TFT connection remains available; **Disconnect TFT** also stops Bluetooth.
Si el proveedor GPS está apagado, NavFrame indica que hay que activarlo en **Abrir ajustes de ubicación** y volver a pulsar GPS. En un lugar con recepción, esperar un fix: la UI y la TFT deben indicar `GPS · SIN MAPA/RUTA`; se muestran velocidad, rumbo si Android lo entrega, precisión y una cuadrícula de prueba, nunca una ruta real. GPS puede ejecutarse sin TFT para probar la vista previa; con una Yamaha conectada, el mismo frame se transmite a la pantalla. La posición exacta se mantiene en memoria y no debe aparecer en logs ni capturas compartidas.
### Phase 3: real GPS without a map or route
Comprobar el estado sin fix: al superar 15 segundos desde la última posición válida, la pantalla indica `SIN SEÑAL` / `GPS_LOST`, velocidad/rumbo/precisión aparecen como no disponibles y el texto espera una posición reciente. Al volver la señal, los datos deben actualizarse. Se puede revocar el permiso desde **Abrir permisos de NavFrame** para comprobar que la app ofrece la demo como alternativa.
Start parked in a safe location; do not operate the phone while riding. On the Xiaomi 11 Lite 5G NE with Android 14, close StreetCross before connecting the motorcycle to avoid channel competition. Enable phone location. Press **Start real GPS (no map/route)** and grant precise location when Android requests it. The app needs `ACCESS_FINE_LOCATION`; approximate-only permission must explain that real GPS cannot start while the demo remains available. Android may request notifications for the foreground service. GPS starts from a visible screen and requests no permanent/background-location permission.
Pulsar **Detener navegación · mantener TFT**. Debe cesar la fuente GPS y aparecer `NAVEGACIÓN DETENIDA`, conservando la sesión de la TFT si estaba conectada. **Desconectar TFT** finaliza además la conexión; la acción de notificación **Detener todo** cancela navegación y conexión. No inferir liberación de wake lock o estabilidad de pantalla apagada de esta prueba.
If the GPS provider is off, NavFrame asks to enable it via **Open location settings**, then press GPS again. With reception, wait for a fix: UI/TFT must show `GPS · SIN MAPA/RUTA`; speed, heading when supplied by Android, accuracy, and a test grid appear, never a real route. GPS can run without TFT to test preview; with Yamaha connected, the same frame is transmitted. Exact position stays in memory and must not appear in shared logs or screenshots.
Esta fase comprueba posición y render local, no mapas, destino, geocodificación, ruta calculada ni indicaciones giro a giro. La demo nunca debe confundirse con una navegación real. Mantener separadas las evidencias: preview/fake, GPS real en teléfono y TFT física.
Check the no-fix state: more than 15 seconds after the last valid position, display `SIN SEÑAL` / `GPS_LOST`, mark speed/heading/accuracy unavailable, and wait for a recent position. Data should update when reception returns. Revoke permission through **Open NavFrame permissions** to verify the app offers the demo as an alternative.
### Fase 4: mapa real MapLibre
Press **Stop navigation · keep TFT**. GPS stops and `NAVEGACIÓN DETENIDA` appears, preserving any TFT session. **Disconnect TFT** also ends connection; notification action **Stop everything** cancels navigation and connection. Do not infer wake-lock release or screen-off stability from this test.
La fase añade botones **Iniciar Mapa demo (posición simulada)** y **Iniciar Mapa GPS (sin ruta)**, un campo opcional URL HTTPS de estilo vectorial, atribución y **Guardar fuente de mapa**. Con URL vacía usa el estilo oscuro reducido de NavFrame en assets y la fuente OpenFreeMap; el estilo personalizado debe ser un style JSON completo compatible con MapLibre y llevar todos sus créditos en el campo atribución. No introducir `tile.openstreetmap.org` como fuente. El endpoint público OpenFreeMap no requiere clave, pero el servicio no ofrece SLA.
This phase checks position and local rendering, not maps, destinations, geocoding, calculated routes, or turn-by-turn directions. The demo must never be mistaken for real navigation. Keep preview/fake, real phone GPS, and physical TFT evidence separate.
1. Probar primero solo con preview/fake y una conexión de red. Guardar la configuración por defecto (URL vacía y créditos predeterminados), iniciar **Mapa demo** y esperar la primera captura. Debe aparecer cartografía real alrededor de la posición inventada y el estado `MAPA · POSICIÓN SIMULADA · sin ruta`; el indicador móvil en TFT no incluye una línea de ruta ni maniobras. La primera petición online puede tardar; los siguientes snapshots deben actualizarse de forma serial, sin acumular frames.
2. Con GPS preciso autorizado, ubicación activa y teléfono aparcado en exterior, iniciar **Mapa GPS**. La vista previa debe mostrar calles reales alrededor del fix del teléfono y `MAPA GPS · SIN RUTA`. Si también se conecta la Yamaha, comprobar que el JPEG 480×240 recibido conserva la atribución y el indicador. Repetir con GPS sin señal; no deben mostrarse medidas actuales como si fueran válidas.
3. Comprobar una fuente inválida/desconexión de red; NavFrame debe mostrar `MAPA NO DISPONIBLE`, vaciar velocidad/rumbo actuales y reintentar con pausa. No debe sustituir el mapa por la carretera ilustrativa de la demo. Restaurar la red debe recuperar el mapa. Si falla el snapshot TFT, abrir **Ajustes → Información → Diagnóstico del mapa TFT** y revisar código, etapa, tiempo y origen ONLINE/LOCAL; el informe evita coordenadas, URLs y consultas. Sus categorías ayudan a orientar el diagnóstico, pero no identifican por sí solas una causa raíz. Cambiar estilo/fuente detiene la navegación en curso, conserva la configuración local y obliga a iniciar el modo de nuevo.
4. Usar **Detener navegación · mantener TFT** durante una captura: debe cancelar el MapSnapshotter, evitar que un callback atrasado publique un frame de navegación y conservar la sesión Bluetooth. **Desconectar TFT** detiene además la conexión.
### Phase 4: real MapLibre map
La app no registra coordenadas ni URL/tokens en logs; aun así, cargar un mapa remoto envía solicitudes de los recursos de la zona visible al origen configurado, revelando esa área junto con metadatos de red. OpenFreeMap declara que no guarda IP en logs regulares, pero puede usar CDN y hacer logging temporal ante incidentes; revisar su [política de privacidad](https://openfreemap.org/privacy/) y [términos](https://openfreemap.org/tos/). No hay modo de descarga offline en esta fase. La TFT debe mostrar como mínimo `© OpenStreetMap contributors · © OpenMapTiles` y los créditos adicionales que reporte el estilo/configuración; el teléfono expone licencia/créditos desde **Licencia MapLibre y créditos de mapas**.
This phase adds **Start demo map (simulated position)** and **Start GPS map (no route)**, an optional HTTPS vector-style URL, attribution, and **Save map source**. An empty URL uses NavFrame's reduced dark asset style and OpenFreeMap source; custom styles must be complete MapLibre-compatible style JSON with all credits in attribution. Do not use `tile.openstreetmap.org` as a source. Public OpenFreeMap requires no key but offers no SLA.
El mapa real requiere verificación en dispositivo Android con GPU y conectividad. Los tests Robolectric de composición no cargan JNI/OpenGL ni confirman que el endpoint sirva tiles; la compilación tampoco prueba render nativo. La prueba del mapa en Xiaomi/MT-07 queda pendiente hasta que el usuario pueda hacerla con la moto detenida.
1. Start with preview/fake and network access. Save defaults (empty URL and default credits), start **Demo map**, and wait for the first snapshot. Real cartography must appear around the invented position with `MAPA · POSICIÓN SIMULADA · sin ruta`; the TFT position indicator includes neither route line nor maneuvers. The initial online request may take time; subsequent snapshots must update serially without accumulating frames.
2. With precise GPS authorized, location enabled, and phone parked outdoors, start **GPS map**. Preview must show real streets around the phone fix and `MAPA GPS · SIN RUTA`. With Yamaha connected, verify the received 480×240 JPEG preserves attribution and indicator. Repeat without GPS signal; current measurements must not appear valid.
3. Test an invalid source/network disconnection. NavFrame must display `MAPA NO DISPONIBLE`, clear current speed/heading, and retry with pauses, without substituting the demo's illustrated road. Restoring the network should recover the map. If TFT snapshot fails, open **Settings → Info → TFT map diagnostics** and inspect code, stage, timing, and ONLINE/LOCAL source; reports omit coordinates, URLs, and queries. Categories guide diagnosis but do not independently identify a root cause. Changing style/source stops current navigation, preserves local configuration, and requires restarting the mode.
4. Use **Stop navigation · keep TFT** during capture: cancel MapSnapshotter, prevent a late callback publishing a navigation frame, and preserve Bluetooth. **Disconnect TFT** also stops connection.
### Fase 5: cálculo y visualización de un plan (sin guiado)
The app logs neither coordinates nor URLs/tokens. Loading a remote map nevertheless requests visible-area resources from the configured origin, revealing that area and network metadata. OpenFreeMap states that regular logs omit IPs, but may use a CDN and temporary incident logging; review its [privacy policy](https://openfreemap.org/privacy/) and [terms](https://openfreemap.org/tos/). This phase has no offline-download mode. TFT must show at least `© OpenStreetMap contributors · © OpenMapTiles` plus additional style/configuration credits; the phone exposes licenses/credits through **MapLibre license and map credits**.
Esta fase calcula una ruta solo tras una acción explícita y dos coordenadas. No hay geocodificador: introduce latitud/longitud del destino. En **Origen DEMO Oviedo · simulado**, el origen es una posición inventada de Oviedo. En **Origen GPS real · última posición**, se exige un proveedor GPS activo y un fix de menos de 15 segundos; inicia **Iniciar GPS real** o **Iniciar Mapa GPS** y espera una posición reciente antes de calcular. El resultado identifica cuál de los dos orígenes se utilizó. No uses la opción demo para desplazamientos reales.
Real maps require an Android device with GPU and connectivity. Robolectric composition tests load no JNI/OpenGL and do not confirm tile endpoint availability; compilation does not test native rendering. At this phase, the Xiaomi/MT-07 map test remained pending until the user could perform it with the motorcycle stationary.
Para una prueba de desarrollo, usa el servidor público `https://valhalla1.openstreetmap.de/route` solo con coordenadas no sensibles; también puedes configurar un endpoint HTTPS propio. Al calcular se envían el origen y destino al endpoint seleccionado, por lo que el servidor ve esas coordenadas y la solicitud llega desde la IP del teléfono. La aplicación limita solicitudes a una por segundo y envía `User-Agent` y `X-Client-Id`. El guiado GPS puede recalcular por desvío confirmado, con cooldown de al menos 30 segundos; HTTP429 pausa el automático. La instancia pública tiene fair-use y no ofrece SLA; consulta [ROUTING.md](ROUTING.md) antes de usar otro servicio o distribuir la app.
### Phase 5: calculate and display a plan (without guidance)
1. Selecciona el origen DEMO; introduce coordenadas de destino válidas; pulsa **Calcular ruta · vista previa**. Deben aparecer distancia, duración estimada, número de maniobras y el texto `origen DEMO`. Pulsa **Ver ruta en mapa** para ver la polilínea marcada como previa, La vista previa no activa guiado; **Iniciar guiado de ruta calculada** activa las indicaciones.
2. Para el origen GPS, concede ubicación precisa, inicia GPS y espera un fix reciente. Selecciónalo y calcula otra ruta con un destino no sensible. Debe aparecer `origen GPS`; si falta el permiso, el proveedor está apagado o el fix supera 15 segundos, la app debe pedir un fix reciente y no enviar una nueva solicitud. El resultado muestra el plan desde las coordenadas del fix usado al calcularlo.
3. Comprueba cancelación pulsando **Cancelar cálculo**. Calcula rutas sucesivas y cambia de destino: un resultado atrasado no debe sustituir un cálculo posterior. Cambiar entre demo y GPS debe retirar el plan anterior; también prueba un destino mal formado después de cargar una ruta para comprobar que no reaparece el plan previo. **Detener ruta · mantener GPS/TFT** elimina el plan mostrado y conserva la fuente GPS/mapa y la conexión TFT; **Detener navegación · mantener TFT** detiene además la fuente de navegación. Un error HTTP, 429 o falta de red debe poder repetirse manualmente y no debe recuperar una ruta vieja como si fuera nueva.
4. Comprueba el overlay con el mapa visible. La línea representa solo la geometría recibida de Valhalla; el marcador indica la posición actual/demo, pero no el progreso sobre la ruta. El tiempo es una estimación del backend. El perfil `motorcycle` está en beta y la ruta no certifica restricciones o seguridad para esta moto.
This phase calculates a route only after explicit action and two coordinates. There is no geocoder at this stage: enter destination latitude/longitude. **DEMO Oviedo origin · simulated** uses an invented Oviedo position. **Real GPS origin · latest position** requires an active GPS provider and a fix younger than 15 seconds; start **Start real GPS** or **Start GPS map** and wait for a recent position before calculating. The result identifies the origin used. Do not use the demo for real travel.
Esta función todavía no tiene validación física de una ruta renderizada en el Xiaomi/TFT. La fase 6 añade guiado básico y recálculo, descritos abajo. Siguen pendientes voz y comprobación de carreteras aptas para motocicleta. No usarla para guiar una conducción. Las pruebas de parser, HTTP simulado o una consulta sintética al servidor no sustituyen el render GPU en un teléfono ni el ensayo con la TFT; mantienen pendiente también la prueba GPS física y los 30 minutos en pantalla apagada.
For development, use `https://valhalla1.openstreetmap.de/route` only with nonsensitive coordinates, or configure a custom HTTPS endpoint. Calculation sends origin/destination to the selected endpoint, revealing those coordinates and phone IP. The app limits requests to one per second and sends `User-Agent` and `X-Client-Id`. GPS guidance may recalculate after confirmed deviation with at least 30 seconds cooldown; HTTP429 pauses automatic recalculation. The public instance has fair-use conditions and no SLA; read [ROUTING.md](ROUTING.md) before changing service or distributing the app.
### Fase 6: guiado y recálculo
1. Select DEMO origin, enter valid destination coordinates, and press **Calculate route · preview**. Distance, estimated duration, maneuver count, and `origen DEMO` must appear. **View route on map** shows the polyline marked as preview. Preview does not activate guidance; **Start calculated-route guidance** does.
2. For GPS origin, grant precise location, start GPS, wait for a recent fix, select it, and calculate another route to a nonsensitive destination. `origen GPS` must appear. Missing permission, disabled provider, or a fix older than 15 seconds must request a recent fix without sending another request. The result shows a plan from the fix used for calculation.
3. Press **Cancel calculation** to test cancellation. Calculate successive routes/change destination: late results must not replace later calculations. Switching DEMO/GPS must remove the earlier plan. Enter a malformed destination after loading a route to verify the previous plan does not reappear. **Stop route · keep GPS/TFT** removes the displayed plan while preserving GPS/map and TFT; **Stop navigation · keep TFT** also stops the navigation source. HTTP errors, 429, or missing network must permit manual retry without presenting an old route as new.
4. Check the visible map overlay. The line represents only Valhalla's returned geometry; the marker shows current/demo position, not route progress. Time is a backend estimate. The beta `motorcycle` profile does not certify restrictions or safety for this motorcycle.
1. En casa, calcula una ruta con origen DEMO y pulsa **Iniciar guiado de ruta calculada**. El marcador debe recorrerla, cambiar la próxima maniobra y reducir distancia restante hasta llegada. DEMO permanece visible; no lanza recálculos HTTP.
2. Para GPS, usa ubicación precisa y una posición reciente. El guiado exige precisión finita de hasta 25 m; con señal insuficiente oculta giro, distancia y ETA. ETA es aproximada, basada en la duración de Valhalla y la fracción geométrica restante.
3. El desvío requiere al menos tres posiciones distintas durante cinco segundos, separadas de la ruta más de max(40 m, dos veces la precisión). El recálculo conserva la ruta anterior hasta recibir otra válida. Un error no sustituye la ruta; HTTP429 y tres fallos pausan el automático. **Recalcular ahora (GPS)** permite reintentar respetando el cooldown y Retry-After.
4. **Cancelar cálculo** cancela también el recálculo activo y pausa el automático. Comprueba que detener o cambiar de modo impide que una respuesta atrasada restaure el guiado.
At this phase, a route rendered on Xiaomi/TFT had no physical validation. Phase 6 adds basic guidance and recalculation below. Voice and motorcycle-suitable roads remained unverified; the phase was not ready to guide a ride. Parser, mocked HTTP, and synthetic server queries do not replace phone GPU rendering or TFT testing, nor physical GPS and the 30-minute screen-off test.
La imagen `app/build/outputs/preview/guidance.png` se exporta con Canvas Android en Robolectric: comprueba el HUD sobre una base dibujada de prueba, no el render GPU de MapLibre. Las pruebas físicas de guiado, desvío, recálculo, GPS y pantalla apagada siguen pendientes. Los umbrales aún no están calibrados en carretera; los límites geométricos están en [ROUTING.md](ROUTING.md).
### Phase 6: guidance and recalculation
### Fase 7: búsqueda explícita de destino
1. At home, calculate a DEMO-origin route and press **Start calculated-route guidance**. The marker must follow the route, update the next maneuver, and reduce remaining distance until arrival. DEMO remains visible and triggers no HTTP recalculation.
2. For GPS, use precise location and a recent fix. Guidance requires finite accuracy up to 25 m; inadequate signal hides turn, distance, and ETA. ETA is approximate, based on Valhalla duration and remaining geometric fraction.
3. Deviation requires at least three distinct positions over five seconds, separated from the route by more than max(40 m, twice accuracy). Recalculation retains the previous route until another valid route arrives. Errors do not replace it; HTTP429 and three failures pause automatic requests. **Recalculate now (GPS)** permits retry while respecting cooldown and Retry-After.
4. **Cancel calculation** also cancels active recalculation and pauses automatic requests. Stopping/changing mode must prevent late responses restoring guidance.
La búsqueda se inicia solo al pulsar **Buscar**; escribir no emite solicitudes. Escribe un nombre/dirección con ciudad, revisa el endpoint HTTPS y pulsa Buscar. Para el servicio público usa solo consultas no sensibles: el proveedor recibe el texto y la IP de origen. La UI informa que no envía GPS; evita datos personales/confidenciales. No ofrece autocomplete ni consulta de resultados mientras se escribe. Puedes cambiar el endpoint Nominatim-compatible desde Ajustes sin actualizar la app.
`app/build/outputs/preview/guidance.png` is exported with Android Canvas in Robolectric: it checks HUD composition on a drawn test base, not MapLibre GPU rendering. At this stage physical guidance, deviation, recalculation, GPS, and screen-off tests remained pending. Thresholds were not road-calibrated; geometric limits are documented in [ROUTING.md](ROUTING.md).
1. Prueba primero una consulta sintética no privada (por ejemplo un sitio público conocido) y confirma que el resultado incluye nombre completo y atribución OSM/licencia. Sin resultados no es un error. Cambiar el texto o endpoint durante la búsqueda debe cancelar la petición anterior y borrar sus botones; una respuesta atrasada no puede reemplazar la consulta nueva.
2. Pulsa **Cancelar búsqueda** mientras se consulta; debe cerrarse la conexión y no quedar un resultado seleccionable. Repite una consulta idéntica para comprobar el cache de memoria, incluida la respuesta vacía; cambia endpoint/idioma/parámetro para comprobar que no se mezclan entradas. Cache y rate limit viven solo en memoria del proceso (100 entradas/24 h); no se persiste historial.
3. Al elegir un resultado, la app rellena el destino y empieza a calcular una vista previa. No inicia guiado: comprueba que no aparecen maniobras activas antes de pulsar Iniciar. Editar la consulta después debe borrar el destino anterior; pulsar Calcular sin elegir un resultado actual no debe reutilizar coordenadas anteriores. Con guiado en curso, elegir otro resultado y calcularlo debe mantener el guiado actual mientras espera o si falla la respuesta. Un plan nuevo tampoco sustituye al guiado hasta pulsar **Iniciar**. **Detener ruta** elimina la ruta activa a petición. No se selecciona automáticamente el primer resultado.
4. No hagas pruebas de fuerza contra el servicio público. La política OSMF limita todas las instalaciones de esta app juntas a un máximo absoluto de una petición por segundo. El adapter serializa solicitudes, cachea consultas, identifica la app con User-Agent y respeta Retry-After de 429; un 429 bloquea nuevas búsquedas hasta que pase el periodo y requiere acción manual, sin bucle de reintentos. Tests de adapter con servidor controlado cubren cancelación, query encoding, cache y 429; no generes tráfico de prueba automático hacia Nominatim público.
### Phase 7: explicit destination search
Esta búsqueda proporciona candidatos de lugar, no dirección validada ni accesibilidad para moto. El usuario confirma el resultado y cálculo; Valhalla puede ajustar el punto a una carretera cercana. Búsqueda/ruta y guiado aún no se han probado en teléfono/TFT ni en conducción. Consulta [GEOCODING.md](GEOCODING.md) y la [política oficial Nominatim](https://operations.osmfoundation.org/policies/nominatim/).
Search starts only after **Search**; typing issues no requests at this stage. Enter a name/address with city, check the HTTPS endpoint, and press Search. Use only nonsensitive queries on the public service: the provider receives text and source IP. The UI explains GPS is not sent; avoid personal/confidential data. No autocomplete or result fetching occurs while typing. Settings can change the Nominatim-compatible endpoint without updating the app.
### Fase 8: paquete vectorial offline de Asturias
1. Start with a synthetic nonprivate query, such as a known public site, and confirm full name and OSM/license attribution. No results is not an error. Changing text/endpoint while searching must cancel the previous request and remove its buttons; a late response must not replace the new query.
2. Press **Cancel search** during a query; the connection must close with no selectable result remaining. Repeat an identical query to check memory caching, including empty responses; change endpoint/language/parameter to verify entries do not mix. Cache and rate limiter exist only in process memory (100 entries/24 hours); no history is persisted.
3. Selecting a result fills the destination and starts preview calculation without guidance: no active maneuvers appear before **Start**. Editing the query clears the old destination; Calculate without a current selection must not reuse earlier coordinates. With guidance active, choosing/calculating another result preserves existing guidance while waiting or after failure. A new plan does not replace guidance until **Start**. **Stop route** explicitly removes the active route. The first result is not selected automatically.
4. Do not stress-test the public service. OSMF limits all installations of this app together to an absolute maximum of one request per second. The adapter serializes requests, caches queries, identifies the app with User-Agent, and honors Retry-After on 429; a 429 blocks new searches until the period expires and requires manual action without a retry loop. Controlled-server adapter tests cover cancellation, query encoding, caching, and 429; do not generate automatic test traffic to public Nominatim.
La versión `0.7.0` incorpora en el APK un archivo PMTiles generado a partir de un extracto de OpenStreetMap de Geofabrik. **Instalar Asturias incluido** copia el recurso empaquetado al almacenamiento privado de la app; no descarga cartografía de Internet. También se puede importar un PMTiles NavFrame compatible desde el selector de archivos. La copia/importación presenta bytes y puede cancelarse; al cancelar se elimina el staging parcial. El paquete persiste entre reinicios de la app. El límite actual es 3 paquetes, 500 MiB por archivo, 1 GiB en total, hasta 5° de latitud/10° de longitud; la app solo acepta el esquema y estilo NavFrame Offline 1.0.0.
Search provides place candidates, not validated addresses or motorcycle access. The user confirms the result/calculation; Valhalla may snap it to a nearby road. At this phase search/routes and guidance had not been tested on phone/TFT or while riding. See [GEOCODING.md](GEOCODING.md) and the [official Nominatim policy](https://operations.osmfoundation.org/policies/nominatim/).
1. En **Ajustes → Mapas offline**, pulsa **Instalar Asturias incluido**. Confirma que aparece progreso de copia y, al completarse, el paquete queda en estado listo con su tamaño. Pulsa **Usar Asturias · OSM 2026-09-28** (o el nombre equivalente mostrado) para activar la fuente. La misma fuente se usa en el mapa del teléfono y en el renderer 480×240 de la TFT; el crédito OSM debe seguir visible. La fuente actual puede conservar el guiado; borrar el paquete activo cambia primero a la fuente online y libera las vistas/lectores.
2. Cancela una instalación en curso y abre de nuevo el gestor: no debe aparecer ningún paquete incompleto seleccionable ni quedar archivos parciales. Repite la instalación completa, cierra/abre la app y confirma que el paquete listo persiste. Comprueba **Borrar** y vuelve a instalar si quieres seguir probando.
3. Para comprobar uso sin red, activa el paquete antes de desconectar datos y comienza **Mapa DEMO sin ruta** desde **Opciones avanzadas**; Oviedo queda dentro del área almacenada. Desactiva Wi‑Fi/datos (Bluetooth/GPS pueden permanecer activos) y verifica el mapa del teléfono; si tienes la TFT conectada, verifica por separado el frame enviado. El archivo contiene cartografía hasta zoom 14; a mayor zoom se amplía la tesela z14. La cobertura real sigue los datos del extracto y no se extiende automáticamente a las zonas vecinas.
4. Busca/calcula una ruta en otra prueba con red y selecciónala. Una vez calculada, GPS puede seguir su geometría almacenada sin volver a consultar Valhalla, pero búsqueda y cálculo/recálculo de ruta siguen dependiendo de Internet. El paquete **no** incluye un grafo de routing. Confirma que modo demo y datos simulados permanecen identificados como DEMO y que seleccionar o instalar un paquete no empieza una ruta por sí solo.
5. Usa **Importar PMTiles NavFrame** con un archivo del formato documentado en [OFFLINE.md](OFFLINE.md); un archivo genérico PMTiles/Protomaps/OpenMapTiles puede tener un esquema incompatible y debe rechazarse sin cambiar la fuente activa. Cancela una importación desde SAF y comprueba que la copia parcial desaparece. No se requiere permiso general de almacenamiento.
### Phase 8: Asturias offline vector package
El APK contiene el mapa de Asturias (34.617.483 bytes sin comprimir; hash y procedencia en [OFFLINE.md](OFFLINE.md)); el proceso puede aumentar de forma visible el tamaño instalado. El paquete se guarda en `filesDir`, fuera de la caché de teselas ambient de MapLibre. Las pruebas JVM/Robolectric pueden verificar cabecera, persistencia, límites, cancelación y selección de fuente, pero **no** ejecutan JNI/OpenGL.
Version `0.7.0` embeds a PMTiles file generated from a Geofabrik OpenStreetMap extract in the APK. **Install bundled Asturias** copies the bundled resource to app-private storage without downloading maps. A compatible NavFrame PMTiles file can also be imported through the file picker. Copy/import displays bytes and supports cancellation; cancellation removes partial staging. Packages persist across app restarts. Current limits: three packages, 500 MiB per file, 1 GiB total, up to 5° latitude/10° longitude; only the NavFrame Offline 1.0.0 schema/style is accepted.
**Resultado físico reportado por el usuario en la versión 0.7.0 (29 de septiembre de 2026):** en Xiaomi 11 Lite 5G NE / Android 14, el MapView del teléfono muestra correctamente el mapa online de OpenFreeMap. La conexión con la TFT de la Yamaha MT-07 2026 también funciona, pero al enviar el mapa el frame muestra `MAPA NO DISPONIBLE`. No hay diagnóstico del motivo en esa prueba: el mensaje genérico no permite concluir que sea red, estilo, GPU o GPS. **Después, el usuario confirmó que el mapa Asturias funciona offline en el teléfono**; esa confirmación no incluye el catálogo de POI nuevo ni demuestra el render 480×240 en la TFT. La versión 0.7.1 añade categorías/etapa diagnósticas sin coordenadas ni URLs; deben recogerse en una nueva prueba, y no equivalen a una causa confirmada. Para recopilar un primer informe sin moto ni GPS, reproducir en casa: **Ajustes → Opciones avanzadas → Mapa DEMO sin ruta**, esperar 30–40 segundos y abrir **Información → Diagnóstico del mapa TFT → Compartir**. Ese informe de teléfono ayuda a distinguir el fallo del snapshot; no valida que el frame llegue a la Yamaha. El test de pantalla apagada continúa pendiente. El estado M1 confirmado no demuestra estas funciones.
1. In **Settings → Offline maps**, press **Install bundled Asturias**. Check copy progress, then ready state/size. Press **Use Asturias · OSM 2026-09-28** or the equivalent displayed name. Phone map and 480×240 TFT renderer use the same source; OSM credit must remain visible. Changing the current source can preserve guidance; deleting an active package switches to online first and releases views/readers.
2. Cancel an installation and reopen the manager: no incomplete selectable package or partial files may remain. Complete installation, close/reopen the app, and verify the ready package persists. Check **Delete**, then reinstall for further testing.
3. Activate the package before disabling data and start **DEMO map without route** from **Advanced options**; Oviedo is inside the stored area. Disable Wi-Fi/data (Bluetooth/GPS may remain enabled) and check the phone map; with TFT connected, independently check the transmitted frame. Cartography extends to zoom 14; higher zoom enlarges the z14 tile. Actual coverage follows extract data and does not automatically extend into neighboring regions.
4. Search/calculate a route in a separate online test and select it. Once calculated, GPS can follow stored geometry without contacting Valhalla again, but search and route calculation/recalculation still require Internet. The package contains **no** routing graph. DEMO/simulated data must remain identified, and selecting/installing a package must not start a route.
5. Use **Import NavFrame PMTiles** with the format documented in [OFFLINE.md](OFFLINE.md); generic PMTiles/Protomaps/OpenMapTiles may have incompatible schemas and must be rejected without changing the active source. Cancel a SAF import and check partial-copy removal. No broad storage permission is required.
### Fase 9: flujo de navegación en moto y preferencias Yamaha
The APK includes Asturias cartography (34,617,483 uncompressed bytes; hash/provenance in [OFFLINE.md](OFFLINE.md)); installation can noticeably increase storage use. The package lives in `filesDir`, outside MapLibre's ambient tile cache. JVM/Robolectric tests verify headers, persistence, limits, cancellation, and source selection, but **do not** run JNI/OpenGL.
1. En la pantalla principal, confirma que el mapa ocupa el fondo y que la barra superior muestra el estado/conexión Yamaha y el menú. Toca **◎** para centrar y seguir tu ubicación después de desplazar el mapa; el lector de pantalla debe anunciar la acción. Sin permiso GPS, el mapa y la búsqueda deben seguir disponibles. Al dejar NavFrame, la escucha visible se cierra; solo el guiado GPS usa el servicio de ubicación en primer plano y su notificación.
2. Escribe un término no sensible en **Buscar calles y lugares**. Las sugerencias inmediatas deben venir solo de los catálogos POI locales instalados; no se debe enviar HTTP durante escritura, movimiento de mapa ni carga de marcadores. Pulsa el icono de búsqueda o la acción IME para consultar Nominatim explícitamente: los resultados online y offline se etiquetan por origen y se combinan sin duplicados. Comprueba una búsqueda local en modo avión y una búsqueda online con red. No generes solicitudes de carga contra Nominatim público; sus límites aplican al uso agregado de todas las instalaciones. Al escribir otra consulta o cerrar la lista, una respuesta antigua no debe reponer resultados obsoletos.
3. Desplaza el mapa a otra zona con cobertura instalada. Tras asentarse el movimiento, los marcadores locales deben actualizarse desde SQLite y el catálogo regional; no deben contactar a Nominatim, Overpass ni otro servicio. Haz desplazamientos rápidos consecutivos para comprobar que una consulta local cancelada no coloca marcadores de la vista previa anterior. Las etiquetas del mapa muestran clústeres al alejarse y lugares individuales al acercarse; el detalle conserva nombre/categoría y la distancia se identifica como línea recta.
4. Selecciona una sugerencia o resultado. Debe abrir la ficha inferior de ruta con destino, perfil, origen, resumen y **Iniciar**; calcular/preparar una ruta no empieza guiado. Cambia el perfil de moto y confirma que el resumen corresponde a la ruta preparada; son preferencias del backend, no garantías de evitar autopistas o caminos de tierra. Con otra ruta ya guiada, seleccionar un destino alternativo debe dejar accesible la ficha mientras el guiado existente continúa; solo **Iniciar** cambia al nuevo guiado. Ningún error o texto editado debe restaurar una selección anterior.
5. Empareja una moto desde los ajustes Bluetooth del teléfono. El indicador Yamaha superior debe anunciar el estado y permitir conectar/cambiar. Al volver a abrir NavFrame con reconexión automática activada, debe intentar la conexión en primer plano; el servicio reintenta una sesión interrumpida mientras continúe activa. **STOP · Detener ruta** aparece como única acción inferior durante guiado: debe borrar la ruta y parar el guiado, conservando mapa/GPS visible y la sesión Yamaha. **Desconectar Yamaha** pausa la reconexión automática; solo una conexión manual, reactivar la preferencia o elegir otra moto quita esa pausa. **Olvidar Yamaha** elimina la selección guardada sin cambiar ruta/destino.
6. El crédito compacto `© OpenStreetMap` permanece visible sobre el mapa; tocarlo lleva a Información y licencias. Confirma que se puede abrir el texto completo ODbL y el crédito/enlace de copyright OSM. El render TFT incorpora atribución de sus fuentes sobre el frame; la salida de diagnósticos del mapa TFT anterior sigue sin demostrar que el mapa llegue a la Yamaha. Con estilo HTTPS personalizado sin attribution metadata, NavFrame debe comunicar que no hay crédito declarado, sin inventar OpenFreeMap u OSM.
**Physical result reported for 0.7.0 on 2026-09-29:** the Xiaomi 11 Lite 5G NE / Android 14 phone MapView displayed OpenFreeMap online cartography correctly. Yamaha MT-07 2026 TFT connection worked, but its map frame displayed `MAPA NO DISPONIBLE`. No diagnostic cause was recorded; the generic message cannot establish network, style, GPU, or GPS failure. **The user subsequently confirmed Asturias offline maps on the phone**; that did not cover the new POI catalog or establish 480×240 TFT rendering. Version 0.7.1 added sanitized diagnostic categories/stages without coordinates or URLs, requiring a new report rather than representing a confirmed cause. For an initial report without motorcycle/GPS, reproduce at home: **Settings → Advanced options → DEMO map without route**, wait 30–40 seconds, then **Info → TFT map diagnostics → Share**. A phone report distinguishes snapshot failure but does not prove frame delivery to Yamaha. Screen-off testing remained pending; M1 did not establish these functions. Later physical evidence is recorded at the top of this document.
La previsualización de layout generada para `0.11.0` usa un mapa de marcador de posición y permite revisar controles en 360×720; no ejecuta MapLibre Android ni prueba una pantalla física. Repite esta fase en el Xiaomi 11 Lite 5G NE y en una moto detenida antes de considerar validada la navegación real.
### Phase 9: motorcycle navigation workflow and Yamaha preferences
La experiencia usa conceptos generales de navegación en moto como referencia funcional; no se integra ni copia UI, iconos o código de OsmAnd. Consulta [OSMAND_RESEARCH.md](OSMAND_RESEARCH.md). Ninguno de estos pasos sustituye la prueba física de mapa TFT que falló en 0.7.0, ni valida guiado sobre carretera. La estabilidad con pantalla apagada continúa pendiente.
1. On the main screen, confirm a background map and top Yamaha connection/status bar/menu. Tap **◎** to recenter/follow after panning; screen readers must announce the action. Map/search remain available without GPS permission. Leaving NavFrame stops visible-screen location listening; only GPS guidance uses a foreground location service and notification.
2. Type a nonsensitive term in **Search streets and places**. Immediate suggestions must use installed local POI catalogs only; typing, panning, and marker loading must send no HTTP. Press search/IME to explicitly query Nominatim: online/offline results are labeled by source and merged without duplicates. Check local search in airplane mode and online search with networking. Do not load-test public Nominatim; limits aggregate all installations. New queries/list closure must prevent old responses restoring outdated results.
3. Pan to another installed coverage area. After motion settles, markers update from SQLite/regional catalogs without contacting Nominatim, Overpass, or other services. Pan rapidly several times to check cancelled local queries cannot place previous-view markers. Labels show clusters when zoomed out and individual places when zoomed in; details retain name/category, and distance is labeled straight-line.
4. Select a suggestion/result. The route bottom sheet must show destination, profile, origin, summary, and **Start**; preparation/calculation does not start guidance. Change motorcycle profile and verify the prepared-route summary; backend preferences do not guarantee motorway/unpaved avoidance. With another route already guiding, an alternative destination leaves the sheet accessible while existing guidance continues; only **Start** switches guidance. Errors/edited text must not restore an earlier selection.
5. Pair the motorcycle in phone Bluetooth settings. The top Yamaha indicator announces state and allows connection/change. Reopening NavFrame with automatic reconnection enabled attempts foreground connection; the service retries an interrupted session while active. **STOP · Stop route** is the only bottom action during guidance: clear the route/stop guidance while keeping the visible GPS/map and Yamaha session. **Disconnect Yamaha** pauses automatic reconnection; manual connection, re-enabling the preference, or selecting another motorcycle lifts that pause. **Forget Yamaha** clears the saved selection without changing route/destination.
6. Compact `© OpenStreetMap` credit remains visible on the map; tapping opens Info/licenses. Verify full ODbL text and OSM copyright credit/link. TFT frames include source attribution; previous diagnostic output alone does not prove Yamaha map delivery. Custom HTTPS styles without attribution metadata must report undeclared credits rather than inventing OpenFreeMap/OSM attribution.
### Fase 10: catálogo local de lugares de Asturias (0.9)
The `0.11.0` layout preview uses placeholder cartography for 360×720 controls; it runs neither MapLibre Android nor a physical screen. Repeat this phase on the Xiaomi 11 Lite 5G NE and stationary motorcycle before treating real navigation as validated.
El APK incorpora el catálogo SQLite derivado del mismo extracto OSM que el PMTiles. La base se instala automáticamente, en almacenamiento privado e independiente del gestor PMTiles; no hace consultas Nominatim/Overpass para buscar estos lugares. Contiene 11.457 registros (gasolina 259, talleres 196, comida 4.393, alojamiento 1.383, compras 5.226), limitados por el extracto y no necesariamente completos o vigentes. La búsqueda es substring local con normalización de tildes; el marcador del mapa del teléfono se agrupa cuando hay muchos puntos. La distancia es en línea recta desde el centro de mapa usado al abrir **Lugares**, no distancia de carretera. El uso de resultados remotos de direcciones/Nominatim sigue siendo un flujo distinto.
The experience uses general motorcycle-navigation concepts as functional reference; it integrates/copies no OsmAnd UI, icons, or code. See [OSMAND_RESEARCH.md](OSMAND_RESEARCH.md). These steps did not replace the physical TFT test that failed in 0.7.0 or validate road guidance; screen-off stability remained pending at the time.
1. Con cartografía online y también en modo avión con Asturias offline ya activo, pulsa **Lugares**. Comprueba que abre el catálogo sin pedir permiso GPS, almacenamiento ni red. Busca «Oviedo», «Gijón» y una cadena con tildes (por ejemplo «Peñaflor» / «Penaflor»); selecciona categorías y confirma que una consulta nueva reemplaza los marcadores/resultados anteriores. Las categorías vacías o un centro fuera de Asturias deben mostrar un estado sin resultados claro, no coordenadas inventadas. Repite desde varios centros de mapa dentro de Asturias: la navegación de lista y el radio de exploración cambian según categoría/texto. Los clústeres deben separarse al acercar y los marcadores individuales deben distinguir las cinco categorías por color; la ficha/lista conserva siempre el nombre textual de categoría.
2. Selecciona un marcador o resultado y comprueba la ficha: nombre y categoría proceden de tags OSM, «sin nombre» es una etiqueta de fallback, dirección/teléfono/web/horario pueden faltar. El horario se presenta en bruto; no debe afirmar «abierto ahora». Distancia recta no equivale a ruta. Un vendedor de motos sin etiqueta de reparación explícita aparece en Compras, no se promete que cualquier taller atienda motos.
3. Prueba el botón **Abrir web** y el de teléfono solo desde una ficha, tras acción explícita del usuario. La web debe ser HTTP/HTTPS saneada; teléfono utiliza el marcador del sistema, no inicia una llamada. Si no hay aplicación externa disponible, NavFrame debe seguir operativa. No abras un marcador externo al tocar el mapa sin pasar por la ficha.
4. **Elegir destino** debe pedir cálculo de ruta online con ese punto. La consulta de POI continúa local; Valhalla recibe origen/destino al calcular. No se inicia guiado automáticamente: el guiado anterior, si lo había, debe seguir hasta que el usuario pulse **Iniciar**; cerrar o reemplazar una búsqueda y una respuesta local tardía no deben instalar marcadores de una consulta vieja. La ruta no pasa a ser offline: con red desconectada no se calcula ni recalcula.
5. Vuelve a abrir **Lugares** tras cerrar/reiniciar la app. La copia local debe quedar utilizable sin sustituir ni borrar el mapa PMTiles, importaciones o selección activa. Comprobar al menos gasolina, talleres y comercios por nombre en modo avión; buscar POI no debe producir solicitud de red ni añadir historial persistente propio. La atribución `© OpenStreetMap contributors` debe mantenerse visible en el mapa y accesible en la ficha. Prueba **Ocultar marcadores** con una consulta en vuelo: una respuesta vieja no debe volver a colocarlos.
### Phase 10: local Asturias place catalog (0.9)
El catálogo físico 0.9 aún no se ha validado con el usuario; la confirmación de mapa offline Asturias es evidencia de una versión anterior y función distinta. La base puede contener negocios desactualizados, duplicados o con acceso vial incorrecto. Consulta [POIS.md](POIS.md) para esquema, selección de tags, cobertura y hash. Las pruebas de parser/generador/SQLite no prueban el catálogo en una TFT ni aseguran disponibilidad comercial.
The APK embeds a SQLite catalog derived from the same OSM extract as PMTiles. It installs automatically into private storage independently of the PMTiles manager, without Nominatim/Overpass queries for these places. It contains 11,457 records (fuel 259, workshops 196, food 4,393, lodging 1,383, shopping 5,226), limited by the extract and not necessarily complete/current. Search is local substring matching with accent normalization; phone markers cluster when numerous. Distance is straight-line from the map center used when opening **Places**, not road distance. Remote address/Nominatim results remain a separate workflow.
### Permisos y recuperación
1. With online cartography and in airplane mode with Asturias offline active, press **Places**. Catalog opening requires no GPS, storage, or network permission. Search “Oviedo,” “Gijón,” and an accented string such as “Peñaflor” / “Penaflor”; select categories and verify new queries replace previous markers/results. Empty categories or a center outside Asturias show a clear no-results state, not invented coordinates. Repeat from multiple Asturias map centers: list navigation/exploration radius vary with category/text. Clusters separate when zooming in; five categories use distinct marker colors while cards/lists always retain category text.
2. Select a marker/result and inspect its card: name/category come from OSM tags, “unnamed” is a fallback, and address/phone/web/hours may be absent. Hours are raw text and must not claim “open now.” Straight-line distance is not a route. Motorcycle sellers without explicit repair tags appear in Shopping; no promise is made that all workshops service motorcycles.
3. Test **Open website**/phone only from a card after explicit action. Websites must be sanitized HTTP/HTTPS; phone opens the system dialer without starting a call. Missing external apps must not break NavFrame. A map tap must not launch an external dialer without the card step.
4. **Choose destination** requests online route calculation for that point. POI queries remain local; calculation sends origin/destination to Valhalla. Guidance does not start automatically: existing guidance continues until **Start**. Closing/replacing searches and late local responses must not install obsolete markers. Routes do not become offline: without networking they cannot calculate/recalculate.
5. Reopen **Places** after closing/restarting the app. The local copy must remain usable without replacing/deleting PMTiles, imports, or active selection. Check at least fuel, workshops, and shops by name in airplane mode; POI search sends no network request or persistent local history. `© OpenStreetMap contributors` remains visible on the map and accessible in cards. Test **Hide markers** with a query in flight: old responses must not restore them.
La pantalla principal funciona sin GPS ni Bluetooth: mapa online, búsqueda, opciones DEMO y ajustes no solicitan permisos de ubicación ni dispositivos cercanos. Conceder ubicación precisa habilita fixes mientras NavFrame está visible; salir de la app los detiene. Pulsa el botón **◎** o inicia una ruta GPS para centrar/obtener fixes; la sesión de guiado usa FGS de ubicación y notificación. **Yamaha** pide solo Bluetooth y notificaciones que requiera el sistema para el servicio conectado. Una denegación no debe volver a lanzar el diálogo en bucle; el aviso táctil abre los ajustes de NavFrame. Revocar ubicación durante guiado debe detener el seguimiento FGS; volver desde Ajustes no reanuda guiado por sí solo. No se solicita acceso permanente a la ubicación.
The physical 0.9 catalog was not yet user-validated; earlier Asturias offline-map confirmation covered a different version/function. The database may contain stale businesses, duplicates, or incorrect road access. See [POIS.md](POIS.md) for schema, tag selection, coverage, and hash. Parser/generator/SQLite tests do not validate a TFT catalog or business availability.
## Entorno de desarrollo observado
### Permissions and recovery
The main screen works without GPS/Bluetooth: online maps, search, DEMO options, and settings request neither location nor nearby-device permission. Precise location enables fixes while NavFrame is visible; leaving stops them. Press **◎** or start a GPS route to recenter/acquire fixes; guidance uses a location foreground service and notification. **Yamaha** requests only Bluetooth and notifications required by the system for the connected service. Denial must not cause repeated permission dialogs; the tappable notice opens NavFrame settings. Revoking location during guidance stops foreground tracking; returning from Settings does not resume guidance automatically. Permanent location access is not requested.
## Observed development environment
### Ride feedback and regression checks (0.13.1)
The rider confirmed downloaded regional maps display on both the phone and the Yamaha TFT, and voice instructions work during a real ride. Online maps worked on the phone but failed on the TFT. Deviating from the route could incorrectly report GPS loss while the map still followed the rider, with instructions resuming only after returning to the previous route progress.
Previously recorded feedback for 0.13.1: the rider confirmed downloaded regional maps on the phone and Yamaha TFT and working voice instructions during a ride. Online maps worked on the phone but failed on the TFT. Deviating from the route could incorrectly report GPS loss while the map still followed the rider, with instructions resuming only after returning to the previous route progress. This feedback was already recorded before the 12 October incident; it does not identify the cause of the new failure.
Route regressions now distinguish a reliable position outside the reachable route section from an unusable GPS fix. Validate automatic recalculation from the current position after a sustained deviation, including a reversal on the same road. The destination and selected routing profile must remain unchanged, and a successful replacement route must resume instructions.
The TFT snapshot renderer now owns its connectivity lifecycle independently of the phone map. This closes a confirmed lifecycle gap; the reported online-map failure still needs device validation. Test the default online map with no offline source selected, then background the phone, lock the screen, and change between Wi-Fi and mobile data. If rendering fails, use **Info → TFT map diagnostics** to collect the sanitized failure stage and reason.
The TFT snapshot renderer now owns its connectivity lifecycle independently of the phone map. The effect of that change on online TFT rendering still needs device validation. Test the default online map with no offline source selected, then background the phone, lock the screen, and change between Wi-Fi and mobile data. If rendering fails, use **Info → TFT map diagnostics** to collect the sanitized failure stage and reason.
Horizontal GPS uncertainty remains visible as small marker movement. Guidance still rejects fixes older than 15 seconds or with accuracy worse than 25 metres; deviation handling must not hide genuine loss of usable positioning.
Local verification for 0.13.1 passed 159 unit tests (60 app, 89 core, 10 NaviLite), Android APK assembly, and lint with zero errors. The online TFT lifecycle tests do not exercise the native GPU renderer or prove online rendering on the motorcycle.
Cloud verification on 2026-10-12 for 0.13.1 passed 159 unit tests (60 app, 89 core, 10 NaviLite), 17 Python offline-builder tests, Android APK assembly, and lint with zero errors and 76 warnings. The online TFT lifecycle tests do not exercise the native GPU renderer or prove online rendering on the motorcycle.
El shell inicial tenía OpenJDK 25 y `adb` 35.0.2; no definía `ANDROID_HOME`/`ANDROID_SDK_ROOT` ni encontraba `gradle` en PATH. Se encontró un SDK Android bajo `/home/dasemu/.bubblewrap/android_sdk` y JDK 17 bajo `/home/dasemu/.bubblewrap/jdk/jdk-17.0.11+9`; la ejecución de Gradle se realizó con este JDK y `local.properties` apuntando al SDK. No hay un teléfono conectado validado por ADB.
The original shell had OpenJDK 25 and `adb` 35.0.2, no `ANDROID_HOME`/`ANDROID_SDK_ROOT`, and no `gradle` in PATH. An Android SDK was found at `/home/dasemu/.bubblewrap/android_sdk` and JDK 17 at `/home/dasemu/.bubblewrap/jdk/jdk-17.0.11+9`; Gradle ran with that JDK and SDK configured in `local.properties`. No ADB-connected phone was validated. These are historical machine-specific paths, not required cloud paths.
## Registro de verificación local
## Historical local verification records
La versión `0.9.0` (versionCode 11) compiló con JDK 17: **120 pruebas aprobadas, 0 fallos** (42 app, 68 core y 10 NaviLite); lint terminó con **0 errores y 55 avisos**. APK `app/build/outputs/apk/debug/app-debug.apk`: 81.243.815 bytes; SHA-256 `37c0d2b573737449f6b4f910112dfa8c45a9f47d8e8b7f021012b3ad17cd0ab7`. Los 4 tests nuevos del repositorio usan la SQLite empaquetada real para integridad/hash/conteos y preservación del pack de mapa, normalización de tildes y escape de wildcards/SQL, categoría/radio/orden/límite y recuperación de copia privada corrupta; otro test de actividad comprueba que elegir un lugar desde su ficha pide cálculo/vista previa y no inicia guiado. Las pruebas automáticas no ejecutan JNI/OpenGL ni demuestran render de teselas/POI en TFT. El catálogo incluido mide 2.334.720 bytes (SHA-256 `153cbc6d71e5a51b16ddb125ee4e51e34982a34c6da5231b22c786764976fa3d`) y el PMTiles de Asturias 34.617.483 bytes (SHA-256 `f63f65f9c2bc7e169371d3da8c01125f15f3d6ae0caae0d7d7d47aad43f4df9e`). No se hicieron consultas de prueba contra Nominatim público. La consulta sintética de Valhalla documentada en [ROUTING.md](ROUTING.md) no valida cobertura o idoneidad vial.
Version `0.9.0` (versionCode 11) built with JDK 17: **120 tests passed, zero failures** (42 app, 68 core, 10 NaviLite); lint reported **zero errors and 55 warnings**. APK `app/build/outputs/apk/debug/app-debug.apk`: 81,243,815 bytes; SHA-256 `37c0d2b573737449f6b4f910112dfa8c45a9f47d8e8b7f021012b3ad17cd0ab7`. Four new repository tests use the actual packaged SQLite for integrity/hash/counts and map-pack preservation, accent normalization and wildcard/SQL escaping, category/radius/order/limit, and corrupt private-copy recovery; another activity test checks that choosing a place from its card requests calculation/preview without starting guidance. Automated tests run no JNI/OpenGL and do not establish TFT tile/POI rendering. Included catalog: 2,334,720 bytes (SHA-256 `153cbc6d71e5a51b16ddb125ee4e51e34982a34c6da5231b22c786764976fa3d`); Asturias PMTiles: 34,617,483 bytes (SHA-256 `f63f65f9c2bc7e169371d3da8c01125f15f3d6ae0caae0d7d7d47aad43f4df9e`). No public Nominatim test queries were made. The synthetic Valhalla query documented in [ROUTING.md](ROUTING.md) does not validate coverage or road suitability.
Se intentó iniciar dos veces el AVD existente `sports_test` (Android 14 / API 34), pero el emulador terminó con salida 139 antes de completar el arranque; ADB nunca lo mostró como dispositivo disponible. No se instaló ni abrió el APK en un emulador. El usuario confirma M1 físico para las dos imágenes de prueba en Xiaomi 11 Lite 5G NE / Android 14 y MT-07 2026, y confirma cartografía Asturias offline en el teléfono. La versión 0.7.0 falló al mostrar el mapa en la TFT; no hay prueba física posterior que confirme render del mapa/POI en TFT. La búsqueda POI, GPS, rutas, guiado y perfiles en moto todavía requieren validación física. También sigue pendiente la prueba de 30 minutos en segundo plano, recuperación Bluetooth y liberación del wake lock tras STOP.
The existing `sports_test` AVD (Android 14 / API 34) was started twice but exited with code 139 before boot completed; ADB never listed it as available. The APK was not installed/opened in an emulator. At this stage, the user had confirmed physical M1 for two test images on Xiaomi 11 Lite 5G NE / Android 14 and MT-07 2026, and Asturias offline cartography on the phone. Version 0.7.0 had failed to display the TFT map, with no later physical TFT map/POI success yet recorded. Physical POI search, GPS, routes, guidance, motorcycle profiles, 30-minute background operation, Bluetooth recovery, and wake-lock release after STOP remained pending. See the latest reports at the top for subsequent evidence.
### Fase 11: paquete regional local de Cantabria (0.10)
### Phase 11: local Cantabria regional package (0.10)
El archivo `dist/es-cantabria-20260928.1.navframe` se entrega fuera del APK para importarlo con SAF. Copia el archivo al teléfono y abre **Ajustes → Mapas offline → Importar/actualizar región**. Comprueba progreso, nombre/versión y la acción **Usar**. Reinicia la app y confirma que el paquete persiste. Asturias incluido y su catálogo deben seguir disponibles. En Cantabria, centra el mapa en Santander y abre **Lugares**; comprueba resultados locales (por ejemplo gasolina) y repite en modo avión. Centra fuera del polígono Cantabria y Asturias: la app no debe atribuir el área a una región instalada. Importa un ZIP corrupto o con entrada adicional y confirma que se rechaza sin cambiar la fuente activa. Al borrar la región activa, el renderer TFT y el MapView deben soltar sus lectores antes de eliminarla.
`dist/es-cantabria-20260928.1.navframe` is delivered outside the APK for SAF import. Copy it to the phone and open **Settings → Offline maps → Import/update region**. Check progress, name/version, and **Use**. Restart and verify persistence; bundled Asturias and its catalog remain available. Center on Santander in Cantabria and open **Places**; check local results such as fuel, then repeat in airplane mode. Center outside Cantabria/Asturias polygons: the app must not claim installed-region coverage. Import a corrupt ZIP or one with an additional entry and verify rejection without active-source changes. Deleting an active region must release TFT/MapView readers first.
Una prueba Robolectric importa el `.navframe` real desde `dist/`, comprueba cobertura POI en Santander y preservación de Asturias; otra comprueba hash incorrecto y entrada ZIP adicional con rollback. Las pruebas automatizadas no ejecutan MapLibre JNI/OpenGL ni validan el frame TFT. La prueba física nueva de Cantabria/POI y el mapa en TFT quedan pendientes.
A Robolectric test imports the real `.navframe` from `dist/`, checks Santander POI coverage and Asturias preservation; another checks incorrect hashes/additional ZIP entries with rollback. Automated tests run no MapLibre JNI/OpenGL and do not validate TFT frames. New physical Cantabria/POI and TFT-map testing remained pending.
La build final `0.10.0` (versionCode 12) pasó **129 pruebas, 0 fallos y 0 omitidas**: 45 app/Robolectric, 74 core y 10 NaviLite. `assembleDebug` y `lintDebug` pasaron; lint registró **0 errores y 62 avisos**. APK `app/build/outputs/apk/debug/app-debug.apk`: **81.324.605 bytes**, SHA-256 `0b1b4ff07153e9d794b1a26d621d8ad857e635d8b7e21d98b035139d2ed1c4df`.
Final `0.10.0` build (versionCode 12): **129 tests passed, zero failed/skipped** (45 app/Robolectric, 74 core, 10 NaviLite). `assembleDebug` and `lintDebug` passed; lint: **zero errors, 62 warnings**. APK `app/build/outputs/apk/debug/app-debug.apk`: **81,324,605 bytes**, SHA-256 `0b1b4ff07153e9d794b1a26d621d8ad857e635d8b7e21d98b035139d2ed1c4df`.
### Fase 12: pantalla principal de mapa y búsqueda unificada (0.11)
### Phase 12: map main screen and unified search (0.11)
En `0.11.0`, la pantalla de mapa coloca estado Yamaha y menú arriba, búsqueda de calles/lugares en una sola barra, atribución compacta sobre el mapa y botón de recentrado. La búsqueda en escritura solo consulta el catálogo instalado; las peticiones remotas requieren Buscar/IME. Mover el mapa actualiza POI mediante el catálogo local con debounce/cancelación. Seleccionar destino presenta perfil y preparación de ruta; **Iniciar** es una acción separada. Durante guiado, **STOP · Detener ruta** es el único control de acción inferior y conserva la conexión TFT/Yamaha.
In `0.11.0`, the map screen places Yamaha status/menu at the top, street/place search in one bar, compact map attribution, and a recenter button. Typing searches only installed catalogs; remote requests require Search/IME. Moving the map updates local POI with debounce/cancellation. Selecting a destination presents profile/route preparation; **Start** is separate. During guidance, **STOP · Stop route** is the only bottom action and preserves TFT/Yamaha connection.
Revisa las previsualizaciones en `app/build/outputs/preview/phone-layout-placeholder.png` y `phone-route-sheet-placeholder.png`. Son composición de layout con mapa de muestra; no ejercitan MapLibre, GPU, IME del sistema ni el dispositivo físico. En las imágenes de 360×720, el indicador Yamaha/search quedan bajo las barras del sistema; el FAB de centrar queda arriba del crédito OSM y la tarjeta inferior ofrece origen/perfil/resumen/Iniciar. El crédito OSM y STOP ocupan bandas separadas.
Review `app/build/outputs/preview/phone-layout-placeholder.png` and `phone-route-sheet-placeholder.png`. These compose layout with a sample map; they exercise neither MapLibre, GPU, system IME, nor physical hardware. In 360×720 images, Yamaha/search sit below system bars; the recenter FAB sits above OSM credit; the bottom card offers origin/profile/summary/Start. OSM credit and STOP occupy separate bands.
La validación final de `0.11.0` (versionCode 13) pasó **133 pruebas, 0 fallos y 0 omitidas**: 49 app/Robolectric, 74 core y 10 NaviLite. `assembleDebug`, `lintDebug`, `:navilite:testDebugUnitTest` y `:core:test` pasaron; lint registró **0 errores y 62 avisos**. El APK `app/build/outputs/apk/debug/app-debug.apk` mide **81.357.540 bytes**, SHA-256 `1f6850be7077b4a53e1d30a2095bf5458269b734b4d2c33beeeedfa4d90fe516`. Pruebas y preview no ejecutan MapLibre JNI/OpenGL en teléfono. No se realizó una nueva prueba física de mapa TFT, búsqueda/ruta/POI, guiado, compatibilidad de pantalla pequeña real ni pantalla apagada. El último resultado físico de mapa TFT sigue siendo `MAPA NO DISPONIBLE` de la versión 0.7.0; M1 solo confirma imagen fija/sintética y no demuestra el render actual.
Final `0.11.0` validation (versionCode 13): **133 tests passed, zero failed/skipped** (49 app/Robolectric, 74 core, 10 NaviLite). `assembleDebug`, `lintDebug`, `:navilite:testDebugUnitTest`, and `:core:test` passed; lint: **zero errors, 62 warnings**. APK `app/build/outputs/apk/debug/app-debug.apk`: **81,357,540 bytes**, SHA-256 `1f6850be7077b4a53e1d30a2095bf5458269b734b4d2c33beeeedfa4d90fe516`. Tests/previews run no MapLibre JNI/OpenGL on a phone. No new physical TFT map, search/route/POI, guidance, actual small-screen compatibility, or screen-off test was performed. At that time, the latest physical TFT map result remained `MAPA NO DISPONIBLE` in 0.7.0; M1 confirmed only static/synthetic images. This historical status is superseded by later reports above.
### Aviso de GPS al centrar (0.11.1)
### GPS recenter warning (0.11.1)
Con el mapa visible, pulsa centrar sin señal GPS reciente o con precisión insuficiente: aparece un aviso discreto en la parte inferior y la cámara no se mueve. Púlsalo varias veces: debe renovarse un solo aviso. Con un fix reciente y preciso, el botón vuelve a centrar. La prueba Robolectric comprueba ambos caminos; la calibración y el comportamiento físico en el Xiaomi siguen pendientes. `0.11.1` (code 14) compila con 50 pruebas Android aprobadas y lint sin errores (63 avisos). APK: 81.130.894 bytes, SHA-256 `d0c428e4ca67389484c45f65dbafd51cbc8101ae1c4d16ef80b8068a83b8f3e9`. Core/NaviLite permanecen sin cambios respecto a sus 74/10 pruebas previas.
With the map visible, press recenter without a recent GPS fix or with insufficient accuracy: a subtle bottom notice appears and the camera does not move. Repeated presses refresh one notice. A recent accurate fix allows recentering again. Robolectric checks both paths; Xiaomi physical behavior/calibration remained pending. `0.11.1` (code 14) built with 50 passing Android tests and lint with zero errors (63 warnings). APK: 81,130,894 bytes, SHA-256 `d0c428e4ca67389484c45f65dbafd51cbc8101ae1c4d16ef80b8068a83b8f3e9`. Core/NaviLite remained unchanged from 74/10 earlier tests.
### Voz y radares fijos opcionales (0.12.0)
### Voice and optional fixed-camera alerts (0.12.0)
En Ajustes, deja activa la voz en español y comprueba que Android informa una voz instalada. Prepara e inicia una ruta GPS: escucha los anuncios antes de las maniobras; confirma que no se repiten en cada actualización de posición. Silencia la voz y vuelve a activarla. Prueba una ruta con el teléfono bloqueado y el intercomunicador enlazado; la reproducción y el comportamiento de audio son aún pendientes de validación física.
In Settings, leave Spanish voice enabled and check Android reports an installed voice. Prepare/start a GPS route: listen for announcements before maneuvers and verify no repetition on every position update. Mute/unmute voice. Test a route with phone locked and intercom paired; physical playback/audio behavior remained pending at this stage.
Los avisos de posibles radares fijos empiezan desactivados. Tras activarlos en Ajustes, importa `dist/es-cantabria-20260928.2.navframe` si se va a probar Cantabria. Comprueba en una ruta real y legal que el aviso aparece brevemente en el teléfono y, con voz activa, se oye al aproximarse. No hagas una prueba deliberada de exceso de velocidad. Los 83 puntos de Asturias y 22 de Cantabria proceden de OSM, pueden estar incompletos o desactualizados y no certifican carril o sentido; véase [Radares](RADARS.md). Antes de circular, verifica si los avisos están permitidos en el lugar.
Possible fixed-camera alerts default off. Enable them in Settings; import `dist/es-cantabria-20260928.2.navframe` when testing Cantabria. On a real legal route, check the phone briefly displays the alert and enabled voice announces the approach. Do not deliberately speed for testing. The 83 Asturias points and 22 Cantabria points come from OSM, may be incomplete/stale, and certify neither lane nor direction; see [Camera alerts](RADARS.md). Before riding, check whether alerts are permitted locally.
La build final `0.12.0` (code 15) pasó **140 pruebas, 0 fallos**: 50 app/Robolectric, 80 core y 10 NaviLite. `assembleDebug` y `lintDebug` pasaron con **0 errores y 66 avisos**. APK: **81.150.850 bytes**, SHA-256 `26a03dc6f620e8fcdb55e261530f73e1835f499ef1c87b92e06496189f973a0b`. Las pruebas automatizadas no reproducen audio físico, Bluetooth/intercom ni MapLibre GPU/TFT.
Final `0.12.0` build (code 15): **140 tests passed, zero failures** (50 app/Robolectric, 80 core, 10 NaviLite). `assembleDebug`/`lintDebug` passed with **zero errors, 66 warnings**. APK: **81,150,850 bytes**, SHA-256 `26a03dc6f620e8fcdb55e261530f73e1835f499ef1c87b92e06496189f973a0b`. Automated tests reproduce neither physical audio, Bluetooth/intercom, nor MapLibre GPU/TFT.