Skip to content

Add LSPosed interception stats#175

Merged
okhsunrog merged 1 commit into
feat/native-intercept-statsfrom
feat/lsposed-intercept-stats
Jun 28, 2026
Merged

Add LSPosed interception stats#175
okhsunrog merged 1 commit into
feat/native-intercept-statsfrom
feat/lsposed-intercept-stats

Conversation

@okhsunrog

Copy link
Copy Markdown
Owner

Summary

  • add LSPosed Java/app-hiding hook ids to the shared hook registry and regenerated C/Rust/Kotlin ids
  • replace the old /data/system/vpnhide_hook_active heartbeat with one /data/system/vpnhide_lsposed_state readback file carrying vpnhide 1 status plus vpnhide 1 stats
  • record successful LSPosed result mutations per caller UID and hook id, and include the state file in dashboard/root snapshot and diagnostics
  • keep native JSON hook-list projection bounded to kernel-owned hook ids

Stacked on #174.

Validation

  • cd lsposed && ./gradlew :app:testDebugUnitTest :app:ktlintCheck :app:detekt cpdCheck
  • cargo fmt --check && cargo test -p vpnhide_activator -p vpnhide_protocol
  • python3 scripts/codegen-hooks.py idempotence check over generated hook id files
  • make -C kmod kpm
  • host C protocol/logic tests (test_iface_lists, test_vpnhide_logic, test_protocol)
  • git diff --check

@claude

claude Bot commented Jun 28, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@okhsunrog okhsunrog force-pushed the feat/lsposed-intercept-stats branch from 530207a to 1964fa1 Compare June 28, 2026 23:29
@okhsunrog okhsunrog merged commit 319cfc4 into feat/native-intercept-stats Jun 28, 2026
33 checks passed
@okhsunrog okhsunrog deleted the feat/lsposed-intercept-stats branch June 28, 2026 23:40
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