Skip to content

feat: Cogan Bridge + responsive Power v1.2 / Thermal v1.3 - #101

Draft
cogan17 wants to merge 4 commits into
devfrom
feat/module-kernel-bridge
Draft

cogan17 wants to merge 4 commits into
devfrom
feat/module-kernel-bridge

Conversation

@cogan17

@cogan17 cogan17 commented Oct 17, 2026 •

Copy link
Copy Markdown
Owner

WebUI lama menunggu hasil perintah root dan membaca inventaris kernel/cooling berulang, sehingga klik dan dropdown dapat tersendat. Power v1.2 dan Thermal v1.3 memakai spawn streaming, satu antrean prioritas, penggabungan pembacaan yang sama dan polling yang menunggu siklus selesai. Aksi pengguna mendapat indikator proses; mode, dropdown dan form tetap terpasang, serta edit belum disimpan dipertahankan.

Identitas utama diringkas menjadi misalnya Cogan r3 · 6.1.177. Release/uname lengkap berada di Detail kernel; compiler/banner punya panel terpisah. Cooling dibaca saat dibuka, ringkasan Thermal hanya diperbarui saat terlihat, dan halaman tersembunyi menghentikan polling. Pembaca sensor/cooling menghindari cat/awk baru per node.

Kompatibilitas GKI 6.1.x mengikuti kemampuan: native ABI 1 bila atributnya benar-benar terbaca (termasuk ukuran stat nol), selain itu sysfs compatibility sesuai driver perangkat. Nomor versi, branding Cogan atau uname spoof bukan bukti bahwa driver native ada. Kandidat /proc/uname tetap diberi label belum terverifikasi. Dukungan dua arah native tetap membutuhkan Cogan Bridge yang dikompilasi dalam kernel.

Perubahan ini juga memuat integrasi bridge/controls sebelumnya: identitas compile-time, heartbeat, CPU MAX QoS tersendiri dengan lease, readback dan pemulihan kontrol, Simpan/Terapkan/Mulai/Henti/Reset, default cas 95/90 dan riwayat tetap ada. Bug serialisasi awk Android sudah diperbaiki.

Validasi:

  • 52 uji modul Python (12 Power, 13 Thermal, 24 bridge/integrasi, 3 matriks Android), 8 client JS dan 5 draft diperiksa. Matriks shell/awk mencakup sembilan kombinasi. Empat uji terkait diverifikasi setelah perbaikan opsi brief/live dan adapter PID khusus container; produksi safe_pid tidak dilemahkan.
  • Kedua WebUI 360 px menggunakan backend shell nyata terhadap sysfs/proc simulasi. Respons root ditunda 1,8 detik: details/select/input tetap interaktif, frame tetap berjalan, satu shell aktif, mode node stabil, edit terjaga dan Simpan/Terapkan/Mulai/Henti/Reset lulus.
  • Benchmark sintetis satu kali (123 sensor, 120 cooling, x86_64): status 1,1679 → 0,3513 detik, live 0,1945 detik. Bukan jaminan performa HP.
  • Simulasi deteksi 6.1.0/138/177/999, uname spoof, nama tanpa Cogan, ABI tak dikenal dan file virtual ukuran nol lulus; bukan full build/boot matrix.
  • Dua ZIP satu tingkat lolos CRC dan seluruh payload cocok source. Hash/batas bukti di docs/validation/cogan-companion-bridge-validation.json.
  • Validate 39095397791 hijau pada 1066ae3392bb9cbb169fbce6ffdd2eafbead78bb: seluruh suite Python/client JS dan validator lulus tanpa adapter PID. Run hijau tidak diulang. Driver tidak berubah pada perbaikan WebUI; bukti object ARM64 GKI 6.1.177 GCC 13.3 sebelumnya tetap berlaku.

Dev b167f65 (PR #103) disinkronkan tanpa force push; pilihan LTO/BBG/Networking A19 dipertahankan. Tidak mengembalikan pengunci percobaan lama atau mengubah pin/guard upstream.

Draft/HOLD untuk kernel produksi: full kernel link Clang/FullLTO dan uji native HP belum selesai. Tidak menjalankan Actions build kernel, publikasi rilis atau flashing.

English: Add the native identity/client/QoS bridge and verified controls, then make both companion WebUIs responsive with streaming, serialized priority work, stable form controls, lazy reads and compact identity. GKI 6.1 capability detection chooses native ABI or honest sysfs compatibility. Production kernel linking and hardware validation remain pending.

Baru: Power Mode v1.1 dan Thermal Monitor v1.2 mengenali kernel melalui Cogan Bridge, dengan Paksa/Henti/Reset dan verifikasi kontrol.
New: Power Mode v1.1 and Thermal Monitor v1.2 add Cogan Bridge identity, leased CPU QoS and verified Apply/Stop/Reset controls.

Validation: 44 module tests and both mobile WebUI flows passed; ARM64 bridge object compiled on GKI 6.1.177. Full production kernel linking and device testing remain pending.
Validate run 39071959730 passed all 44 module tests but draft notes selected the new-version paragraph before the module introduction. Restore purpose-first README ordering in both languages; five draft-release tests pass locally. Module payloads are unchanged.
Diperbaiki: WebUI Power dapat membaca hasil kontrol pada awk Android; kedua modul menampilkan error dan tombol Coba lagi.
Fixed: Parse Power control readbacks with Android awk and show recoverable read errors in both companion WebUIs.

Power v1.1.1 / Thermal v1.2.1. 47 module tests and 5 draft tests passed; Android shell/awk matrix and both 360px browser recovery flows verified.
@cogan17 cogan17 changed the title feat: Cogan Bridge + Power v1.1 / Thermal v1.2 feat: Cogan Bridge + Power v1.1.1 / Thermal v1.2.1 Oct 17, 2026
Baru: Mode kompatibilitas sysfs 6.1 dengan deteksi bridge native otomatis dan identitas kernel ringkas.
New: GKI 6.1 sysfs compatibility with automatic native bridge detection and compact identity.
Diperbaiki: Klik dan dropdown tetap responsif saat membaca kernel, polling ringan dan edit tidak tertimpa.
Fixed: Keep clicks and dropdowns responsive during kernel reads with light polling and preserved edits.

Power v1.2 / Thermal v1.3. Streaming spawn, single priority queue, lazy cooling and stable controls. Sync dev b167f65 while preserving A19 build options. 52 Python module tests, 8 JS client tests and 5 draft tests; delayed-root mobile browser flows verified.
@cogan17 cogan17 changed the title feat: Cogan Bridge + Power v1.1.1 / Thermal v1.2.1 feat: Cogan Bridge + responsive Power v1.2 / Thermal v1.3 Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant