PIE-xu/WCDuoGlass
System ToolsSideloadable iOS tool that enables WeChat's Liquid Glass UI on non-Duo iPhones by patching WeChat's local experiment cache.
What It Does
WeChat 8.0.81 gates its Liquid Glass redesign behind the clicfg_ios26_redesign_enabled experiment flag. On non-Duo slab iPhones the flag is normally absent from the local experiment cache, so the redesign stays off even though the code path exists.
This project is a sideloaded iOS app that inserts that experiment entry into WeChat's own local cache files, without injecting a dylib, re-signing WeChat, or jailbreaking. It writes two files under the WeChat data container's Library/Caches/<MD5(username)>/mmexpt/: exptappkey.cache (key to exptId) and exptappitem.cache (exptId to MMExptItem). Because the vertical tab bar requires supportVerticalBar (true only for iPhone Duo), a slab iPhone simply gets the standard bottom-tab layout once the flag reads as enabled.
The hard part, documented in the README, is the PBCoder container format: a varint length header followed by repeated key/value pairs, with MMExptItem itself as standard protobuf. The project includes its own encoder for inserting entries, since no public implementation existed.
Quick Start
Prerequisites: macOS with Xcode, XcodeGen, an unjailbroken slab iPhone, and a WeChat account already logged in at least once.
- Install XcodeGen and generate the project:
brew install xcodegen
cd WCDuoGlass
# edit project.yml: set DEVELOPMENT_TEAM to your Team ID
xcodegen generate
open WCDuoGlass.xcodeproj
- Build and package unsigned for a sideloading tool to re-sign:
xcodebuild -project WCDuoGlass.xcodeproj -scheme WCDuoGlass \
-sdk iphoneos -configuration Debug \
-destination 'generic/platform=iOS' \
CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO build
-
Sideload with AltStore, SideStore, or Sideloadly. App Groups entitlements must be preserved (Sideloadly users must check the entitlements option).
-
Fully quit WeChat (swipe it out of the app switcher) — running WeChat writes its in-memory experiment table back to disk and overwrites edits.
-
In the tool: Diagnostics → check sandbox capability (expect handle ≥ 0), then locate the experiment directory (
mmexpt). On the Toggle page, enable the switch, then cold-start WeChat.
The toggle is reversible: "off" restores the file to its state before the first modification, using a snapshot saved in UserDefaults; if that record is lost, it falls back to writing a 0 value and logs this.
Constraints
- iOS: 27.3 beta 1 or below. The underlying sandbox bug is patched in 27.3 beta 2; iOS 27.2 is the tested version.
- WeChat: 8.0.81 specifically. Key names, decision chain, and PBCoder format were reverse-engineered from this build.
- Device: only tested on the author's iPhone. No other model, iPad, iOS version, or WeChat version was verified.
- Account: WeChat must have logged in at least once, otherwise the
mmexptdirectory does not exist. Multiple accounts each have separate caches and must be toggled individually. - The tool relies on a sandbox escape and rewrites WeChat's private data files. It includes structural validation, backups (up to 10 in
Documents/Backups/), and read-back verification with auto-restore, but writes to third-party app data still carry risk of corruption or account risk controls. - Logging out forces the flag off; enable only while logged in.
- The search page's Duo style cannot be enabled —
isDuoNewStyleEnabledcheckssupportPhoneLandscapeUI, which is pure device detection with no experiment key to bypass. - WeChat server-side sync or updates can invalidate the change; re-run the toggle if it stops working.
- GPL-3.0 license, because it embeds
worse_query(GPL-3.0) unmodified.
HotRepo's Take
The repo entered HotRepo's new-project list on 2026-12-06, its first recorded snapshot, with 113 stars and 10 forks gained within a roughly 14-hour window from creation. It has no recorded GitHub all-language daily rank. The README stands out for its honesty about scope: one tested device, a narrow iOS and WeChat version window, and a detailed limitations section. That same specificity is the main constraint for anyone reading — it is a research artifact tied to a single app build, not a general-purpose tweak.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.
You might also like
- 34306/ForceDuoAppiOS tweak that forces apps to render in iPhone Duo mode by triggering the worse_query bug on sideloaded builds.
- MasterKPG/rust-glassRust immediate-mode GUI framework that GPU-renders Liquid Glass widgets with refraction, blur and spring animation.
- ammaarreshi/WindowsiOSRuns unmodified Windows 11 ARM64 on non-jailbroken iOS devices via an ARM64-to-ARM64 JIT and a custom virtual PC platform.
- techgenius1/tvOS-LauncherReplace the Android TV home screen with a tvOS/macOS-style launcher, glass dock and remote customization.
- rit3zh/expandable-bottom-tabsAn iOS Liquid Glass bottom tab bar for Expo Router that expands into workspace and profile cards.