Commit Graph
11 Commits
Author SHA1 Message Date
shenlei 139bb1fc21 feat(mesh): integrate MeshPort/EasyTier P2P mesh network with NetworkManager auto-connect
Offline project checks / check (push) Canceled after 0s
- Add platina-mesh CLI (scripts/phone-mesh.py) for status inspection, control, and JSON telemetry.
- Add OpenRC service (scripts/phone-mesh.openrc) for managing easytier-core daemon.
- Add NetworkManager dispatcher hook (scripts/phone-mesh-dispatcher.sh) to automatically start mesh when external default route is active and stop when disconnected.
- Add default mesh configuration (scripts/easytier.conf) with node identity Platina (192.168.20.10).
- Integrate mesh runtime into image overlay builder (scripts/image-runtime.py).
- Add unit tests for mesh control and image runtime integration (142 tests passing).
2026-11-10 09:50:00 +09:00
shenlei 2a9ec1e1d6 feat(ipa): port Qualcomm IPA v2.6 driver and add SDM660 device tree support
Offline project checks / check (push) Canceled after 0s
- Add patch 0042: add ipa@1e00000 node in sdm660.dtsi and enable in sdm660-xiaomi-platina.dts.
- Add patch 0043: port IPA v2.6 driver support to Linux kernel 7.2:
  * Define IPA_VERSION_2_6 and hardware configuration (ipa_data_v2_6).
  * Bypass GSI channel init, table commands, and DMA when version < IPA_VERSION_3_0.
  * Establish AP/Modem QMI Service 0x31 handshake over QRTR to prevent Hexagon modem (MPSS) assertion crashes.
  * Gracefully handle null SMP2P interrupts and drop unsupported TX frames until BAM DMA is active.
- Bump candidate kernel package to 7.2.12-r15 and update sources.lock.json checksums.
- Verified on remote ARM64 compile server with successful package generation and test pass.
2026-11-09 05:08:55 -08:00
shenlei 8b7e9690d8 fix(cellular, touch): prevent baseband crash loop, add touch NULL guard, and safe SIM info queries
Offline project checks / check (push) Canceled after 0s
- Guard cellular auto-dialing: check for active IPA/rmnet hardware datapath before connecting, avoiding Hexagon modem DSP assert panics.
- Disable connection.autoconnect on cellular network profiles to prevent NetworkManager auto-dial loops.
- Add QMI fallback for modem/SIM status queries when ModemManager lacks netdev port.
- Fix Novatek touchscreen driver NULL pointer dereference on panel unprepare/suspend (0041 patch).
- Bump candidate kernel release to 7.2.12-r14 with updated checksums and DT binding supplies.
- Add comprehensive test coverage for cellular datapath detection and connection guards.
2026-11-09 17:53:55 +09:00
shenlei 4f3fe1f94b Fix candidate build metadata and runtime safeguards
Offline project checks / check (push) Canceled after 0s
Repair kernel patch formatting and refresh kernel/camera package revisions and checksums. Integrate battery guard into generated images, correct charging controls and emergency shutdown handling, and reject invalid camera authentication configuration.

Extend recipe validation and regression coverage, and update build and installation documentation. Kernel, camera and image compilation remain pending on the build server.
2026-11-09 10:49:22 +09:00
shenandshen 23989f4a18 feat(battery): implement emergency safe shutdown when battery <= 5% discharging
Offline project checks / check (push) Canceled after 0s
- Add should_shutdown() check in BatteryPolicy and trigger_shutdown() in phone-battery-guard.py.
- Auto sync filesystems and invoke safe poweroff if SoC drops to 5% while on battery/discharging.
- Do not power off if external charger is actively connected and charging.
- Update openrc service command args with --shutdown-at 5.
- Add unit tests for emergency shutdown, discharging detection, and threshold validation.
2026-11-08 05:32:04 -08:00
shenandshen db9d190d7b feat(battery): enhance battery guard with thermal runaway protection and openrc service
- Add max_temp thermal protection with 3°C hysteresis to prevent high-temp battery swelling.
- Provide scripts/phone-battery-guard.openrc for automated OpenRC service management.
- Update tests/test_battery_guard.py with thermal throttling tests.
2026-11-08 05:26:21 -08:00
shenandshen 810a467ad3 fix(platina): resolve touchscreen, dual panel, charging reboot, battery guard, camera auth, and internal SIM cellular data
- Add patch 0040: cut panel VSP/VSN always-on rails, attach panel follower to Synaptics TCM touch, add Novatek NT36672A touch node, add BOE panel DTS, and extend DVFS up to 1.84/2.2 GHz.
- Prevent Qualcomm ABL infinite reboot loop on poweroff while charger connected via standby detection in phone-poweroff.py.
- Implement HTTP Basic Auth in camera web preview server with secure digest verification.
- Add battery guard daemon and unit tests to maintain SoC between 50% and 65%.
- Implement Option 2 for cellular data: disable ZRAM swap to prevent Hexagon DMA fragmentation crash, add modem modules to initfs, enable ModemManager/NetworkManager WWAN packages and services, and add phone-cellular-setup.py CLI utility with unit tests.
- Update recipe checksums and verify 109 unit tests and public index boundaries.
2026-11-07 23:27:43 -08:00
Sukecz 655d0f5b49 Release 0.8.1 camera, browser audio and compact controls
Offline project checks / check (push) Canceled after 0s
v0.8.1
2026-10-27 11:45:42 +01:00
Sukecz 965d2ec491 Record verified in-place 0.3.1 upgrade and restart 2026-10-23 20:41:35 +02:00
Sukecz 9c49f58b33 Integrate boot and shutdown runtime into new images 2026-10-23 20:28:26 +02:00
Sukecz b7eb4289b7 Publish Platina Linux source base for Xiaomi Mi 8 Lite 2026-10-23 11:10:29 +02:00