How hdshare/wauxiliary_public works
Purpose and Runtime
WAuxiliary is an Android WeChat auxiliary module, targeting domestic and Play WeChat versions 8.0.44–8.0.65. It is implemented in Kotlin and is intended to run under an Xposed-compatible environment, with LSPosed explicitly acknowledged. Rather than owning a standalone application flow, it injects behavior into WeChat processes through hook classes.
Primary source root: app/src/main/kotlin/wx/demo/hook.
Entry-Point Model
The supplied tree does not expose an Android manifest, Gradle files, or a central hook-registration class. The apparent executable units are feature-specific Kotlin hook classes beneath wx.demo.hook; a missing/omitted bootstrap must discover or register these hooks and attach them to WeChat lifecycle, methods, or UI flows.
The architectural boundary is therefore: module code runs externally to, but inside the process of, the target WeChat app. Hook implementations must tolerate target-version/API changes.
Hook Framework and Target Introspection
The project’s core implementation model relies on Xposed-style method interception. README acknowledgements indicate YukiHookAPI, KavaRef, Hikage, and DexKit as likely foundations for hook installation, reflective access, and target-code discovery.
This creates a dependency boundary between stable module feature intent and unstable/private WeChat internals. Each hook class is a localized adaptation point for a target capability.
Representative paths:
• app/src/main/kotlin/wx/demo/hook/chat/AntiRevoke1Hook.kt
• app/src/main/kotlin/wx/demo/hook/misc/ShareCheckHook.kt
Chat Interaction Features
The chat package modifies message and media interaction behaviors. Its responsibilities include preventing revocation effects, changing message formatting, suppressing UI/audio behaviors, and automating original-photo actions.
Key components:
• Recall/revocation interception: app/src/main/kotlin/wx/demo/hook/chat/AntiRevoke1Hook.kt
• Message display/format alteration: app/src/main/kotlin/wx/demo/hook/chat/MsgFormatHook.kt
• Media automation: app/src/main/kotlin/wx/demo/hook/chat/AutoSelectOriginalPhotoHook.kt, app/src/main/kotlin/wx/demo/hook/chat/AutoViewOriginalPhotoHook.kt
• Notification/send-status suppression: app/src/main/kotlin/wx/demo/hook/chat/DisableRingtonePlayHook.kt, app/src/main/kotlin/wx/demo/hook/chat/DisableSendStatusHook.kt
Auxiliary Feature Domains
Feature code is partitioned by affected WeChat domain, keeping independent injections isolated.
• Flutter business UI: app/src/main/kotlin/wx/demo/hook/flutterbiz/NewBizListHook.kt modifies a Flutter-backed business/list area.
• Helper behaviors: app/src/main/kotlin/wx/demo/hook/helper/EmojiGameHook.kt, app/src/main/kotlin/wx/demo/hook/helper/LocationHook.kt, and app/src/main/kotlin/wx/demo/hook/helper/VoiceLengthHook.kt affect emoji-game, location, and voice-message flows.
• Miscellaneous platform/UI behavior: app/src/main/kotlin/wx/demo/hook/misc/AutoLoginWinHook.kt, app/src/main/kotlin/wx/demo/hook/misc/MockScanHook.kt, app/src/main/kotlin/wx/demo/hook/misc/MultiWebViewHook.kt.
Sensitive and High-Risk Boundary
Potentially sensitive functionality is intentionally isolated in highrisk, rather than mixed with ordinary chat/UI hooks. app/src/main/kotlin/wx/demo/hook/highrisk/SportStepHook.kt concerns sport-step behavior and should be treated as a separately governed capability due to abuse potential, consistent with the README’s stated removal policy for features widely used illegally.
Delivery and External Surfaces
The module is distributed via GitHub releases and an Xposed Modules Repository listing (me.hd.wauxv), while Telegram channels/groups are community communication surfaces. GitHub automation is limited in the supplied tree to issue management: .github/workflows/auto_close_issues.yml. No backend service, database, or web runtime is evidenced; all core behavior is client-side, in-process Android instrumentation.
Main entry points: AntiRevoke1Hook.kt Anti-revoke · MsgFormatHook.kt Message formatting · AutoSelectOriginalPhotoHook.kt Original-photo automation · DisableRingtonePlayHook.kt Chat suppression
Components 16
WAuxiliary module
Kotlin hooks injected into target WeChat processes.
- Omitted hook bootstrap · An unshown bootstrap discovers or registers feature hooks.
- Xposed hook framework · Xposed-compatible runtime installs method interceptions.
- Target introspection · Reflection and DexKit-style discovery adapt to private target APIs.
Chat hooks
Message, media, and chat UX adaptations.
- Anti-revoke · Intercepts message revocation effects.
app/src/main/kotlin/wx/demo/hook/chat/AntiRevoke1Hook.kt - Message formatting · Alters message display or formatting.
app/src/main/kotlin/wx/demo/hook/chat/MsgFormatHook.kt - Original-photo automation · Automates selecting and viewing original photos.
app/src/main/kotlin/wx/demo/hook/chat/AutoSelectOriginalPhotoHook.kt - Chat suppression · Suppresses ringtone playback and send-status behavior.
app/src/main/kotlin/wx/demo/hook/chat/DisableRingtonePlayHook.kt
Other feature hooks
Independent hooks partitioned by affected WeChat area.
- Flutter business list · Modifies a Flutter-backed business/list area.
app/src/main/kotlin/wx/demo/hook/flutterbiz/NewBizListHook.kt - Helper flows · Adapts emoji-game, location, and voice-message flows.
app/src/main/kotlin/wx/demo/hook/helper/EmojiGameHook.kt - Misc UI and platform · Covers auto-login, scan mocking, and multi-WebView behavior.
app/src/main/kotlin/wx/demo/hook/misc/AutoLoginWinHook.kt - Share checks · Adapts sharing-related target behavior.
app/src/main/kotlin/wx/demo/hook/misc/ShareCheckHook.kt - Sport-step capability · Separately governed due to abuse potential.
app/src/main/kotlin/wx/demo/hook/highrisk/SportStepHook.kt
External surfaces
- WeChat target process · Domestic and Play WeChat 8.0.44–8.0.65 execute injected hooks.
- Issue automation · Automates issue closure.
.github/workflows/auto_close_issues.yml - Module distribution · Published through GitHub releases and Xposed Modules Repository.
- Community channels · Telegram channels and groups provide community communication.
Connections 24
- Omitted hook bootstrap → Xposed hook framework: uses
- Omitted hook bootstrap → Anti-revoke: registers
- Omitted hook bootstrap → Message formatting: registers
- Omitted hook bootstrap → Original-photo automation: registers
- Omitted hook bootstrap → Chat suppression: registers
- Omitted hook bootstrap → Flutter business list: registers
- Omitted hook bootstrap → Helper flows: registers
- Omitted hook bootstrap → Misc UI and platform: registers
- Omitted hook bootstrap → Share checks: registers
- Omitted hook bootstrap → Sport-step capability: registers
- Xposed hook framework → WeChat target process: injects into
- Target introspection → WeChat target process: discovers private APIs
- Anti-revoke → Xposed hook framework: installs interception
- Message formatting → Xposed hook framework: installs interception
- Original-photo automation → Xposed hook framework: installs interception
- Chat suppression → Xposed hook framework: installs interception
- Flutter business list → Xposed hook framework: installs interception
- Helper flows → Xposed hook framework: installs interception
- Misc UI and platform → Xposed hook framework: installs interception
- Share checks → Xposed hook framework: installs interception
- Sport-step capability → Xposed hook framework: installs interception
- Module distribution → Omitted hook bootstrap: distributes module
- Community channels → Module distribution: communicates releases
- Issue automation → Module distribution: maintains repository