Logo white

宜博 / pixelphone

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • pixelphone
  • xhs_lsposed_a16_fix
  • xhshook_v2_signed.apk
  • feat(xhshook): 实时转发 edith 请求到 Hermes 本地 server ...
    b47aed62
    Hook.java v3:在现有 logcat 日志基础上,后台线程 POST 每条
    edith.xiaohongshu.com 请求(method/url/全量 headers)到
    Hermes event_server(127.0.0.1:8765/xhs_params)。
    Hermes server 未运行时静默失败,logcat 捕获不受影响。
    
    rebuild_xhshook.sh:d8 步骤改用 find 通配所有 .class 文件,
    避免新增匿名类时漏掉(之前写死 Hook$1.class)。
    
    update_xhshook_db.sh:两阶段更新策略
    - Phase 1:Python in-place UPDATE + commit(不做 checkpoint,
      lspd 持有写锁时 checkpoint 会 OperationalError)
    - Phase 2:pull DB+WAL → Mac 本地 checkpoint → push 干净主文件
      → 删设备端 WAL/SHM,确保重启后 DB 正确
    
    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
    yibo authored
    2026-06-30 01:02:18 +0800  
    Browse Code »
xhshook_v2_signed.apk 16.5 KB
Raw History

Download (16.5 KB)