WQFiles README

The project's README from github.com/kolbicz/WQFiles. As one markdown file: README.md.

Worse Query Files

WQ Files is a file browser, app data manager and cache cleaner for iOS 26 and 27. "WQ" stands for worse_query, the sandbox technique it is built on. It reaches other apps' and system containers with no jailbreak and no kernel exploit. Tested on iOS 26.5 to 27.3 beta 1; see Tested devices.

[!WARNING] Apple patched worse_query in iOS 27.3 beta 2 (build 24C5049d). WQ Files can't open other apps' folders there or on any later build, and its startup check says so. It works up to iOS 27.3 beta 1 (24C5037i) and on iOS 26.0 to 26.7.2. Don't update to the 27.3 beta 2 or later if you want to keep using it.

WQ Files home screen on iPad

iOS 26 (26.0 to 26.7.2): supported since 0.7; tested on 26.7.1. worse_query reaches the app, extension, daemon and app group containers there, but not System Data or the system groups, so WQ Files hides those two and the Cache Cleaner has no crash-log section. A full inode scan would take most of an hour on iOS 26, so App Data, Extension Data and App Groups are listed from the LaunchServices database instead (found once and remembered). Internal Daemons aren't in that database: the first scan for them takes long, later ones only check new files. Apps, backups, restores, clearing app data, the Cache Cleaner and the file browser work as on iOS 27. App icons don't: iOS 26 hands WQ Files only placeholder icons and doesn't let it read other apps' bundles, so apps show symbol tiles.

WQ Files is available in English, German, Italian, Spanish, Portuguese (Brazil), Russian, Polish, Turkish, Thai, Vietnamese, Korean, Arabic and Simplified Chinese. It follows the device language; Language in WQ Files' Settings picks another, used from the next start.

Tested devices

Tested by the maintainer on:

Device iOS
iPhone 16 Pro Max (iPhone17,2) 27.2.1
iPhone 17 Pro Max (iPhone18,2) 27.0.1
iPad Air 5 iPadOS 27.0.1
iPhone 14 Pro (iPhone15,2) 26.7.1

Users have also reported it working on iOS 26.5, 27.2 and 27.3 beta 1. It does not work on 27.3 beta 2 or later (see above). Works on a device or iOS version not listed here? Open an issue with the Log (Settings → Log → Share).

Not supported: iOS 18 and older. worse_query doesn't exist there; WQ Files shows a notice instead of scanning. On iOS 17 and 18 use Cyanide.

What it opens

The container parents can't be listed, so App Data, Extension Data and App Groups come from the LaunchServices database, which lists every installed app's and extension's containers. It is found once (among the newest files, usually within seconds) and remembered. Internal Daemons, and the app folders when the database can't be read, need a scan of every file id (fsgetpath, the way KAMUI does it): minutes on a well-used device the first time, so WQ Files asks before it starts and shows a scan window; later scans only check new files.

Tools

App names come from LaunchServices' own database, read from lsd's container (the LaunchServices API itself refuses this app on 27.x). Apple services that only have localized names use a built-in table. Services without an icon get a symbol tile.

Themes

Settings → Theme sets the colors of the new design: Default, Custom Color (pick one color, WQ Files derives the rest) or a theme you import. Plain Background works with all of them, and Colored Cards (on by default) tints the start screen's cards in the color of their icon. A theme also colors the Wi-Fi Sharing page.

A theme is a small JSON file with the extension .wqtheme. Open one with WQ Files (share sheet or Files app) or use Import Theme…; Export Current Colors… writes the colors you use now as a starting point. WQ Files comes with the two themes in themes/ (Midnight and Sunset) built in; an imported theme with the same name replaces the built-in one.

{
  "name": "Midnight",
  "author": "you",
  "dark": {
    "background": ["#05070F", "#0B1226"],
    "glows": ["#2F6BFF9E", "#00C2FF66", "#7A5CFF55", "#00E0B03A"],
    "accent": "#5AA9FF",
    "card": "#1A2A5C33",
    "plain": "#05070F"
  },
  "light": {
    "background": ["#EEF3FF", "#DCE6FF"],
    "glows": ["#7FA8FF80", "#7FE0FF60"],
    "accent": "#2F6BFF"
  }
}
Key Meaning
name 1–40 characters, required. A theme with the same name replaces the installed one.
author Optional.
dark, light Colors for each appearance. At least one is required; a missing one uses the other.
background One color, or two for a top-to-bottom gradient. Required.
glows Up to four soft color spots on the background, usually semi-transparent.
accent Buttons, tabs and links.
card A tint laid over the cards' blur.
plain The solid color used with Plain Background (default: the first background color).
tiles Top level, next to name: colors of the icon tiles (and Colored Cards) by name: blue, sky, violet, indigo, mint, amber, orange, pink, gray, or all for every tile not named. One color or two (gradient), e.g. "tiles": {"sky": ["#8AD9FF", "#2C94E8"], "all": "#5B3FE0"}.

Colors are #RRGGBB or #RRGGBBAA. Unknown keys are ignored, files over 64 KB are refused, and WQ Files names the problem when a file isn't valid. Themes change colors only, not the layout.

Safety

Before a regular file is overwritten or deleted, its contents are copied to Backups inside the app (also reachable in the Files app). Long-press a backup to restore it to its original location. Recently Deleted (in the Backups tab, or under Tools in the classic design) lists the backed-up files whose original is gone, newest first: restore one to where it was (missing folders are created), or delete it from Backups for good. Deleting a folder deletes everything in it after saying how many files that is; every file is copied to Backups first (one backup for the whole folder), so it can be restored from Recently Deleted. App and system containers themselves (and the folders above them) can't be deleted. Symbolic links are removed as links. Clearing an app's data and cleaning caches delete without a file-by-file backup; Apps offers to back up Documents and Library first, while tmp is discarded and cannot be restored. Close the target app before backup, restore, or clear. App copies are verified by a source-stability digest, a destination-shape digest and stored part content hashes (rechecked before restore and rollback), and purge postconditions are rechecked, but the operations are not filesystem snapshots if the target app keeps running. Target data is changed only in response to explicit actions; interrupted safety transactions may be recovered on startup.

File saves retain the original inode and verify descriptor identity and saved contents. Locks are advisory: another app that ignores them can still write concurrently, and in-place writes are not crash-atomic. Close the target app and keep the durable backups. Recovery fails closed when required safety material is missing. Generic overwrite/delete operations on backup-storage files are refused to avoid recursively backing up backups; valid backups can still be restored. App backups live in App Backups (also in the Files app); old ones are never pruned automatically. Tap Select in Backups or App Backups to choose one or more complete backup folders and delete them together; a single folder can still be removed with Delete Backup. Automatic pruning is intentionally left out so a safety copy is never discarded without a user decision.

Editing another app's or the system's files can break things. Keep the backups and only change what you understand.

Troubleshooting

Install with AltStore or SideStore

 

Tap Add AltSource on your iPhone to add the source in AltStore, SideStore, LiveContainer and others (via AltDirect), or add it by hand:

https://raw.githubusercontent.com/kolbicz/WQFiles/main/source.json

Or download WQFiles.ipa from Releases and sign it yourself.

Signing: the App Group

WQ Files needs an App Group to work: worse_query asks for access through your app's group container. Whatever signs the IPA must give it one. The app uses whichever group it receives, so the group name doesn't matter. The top of Log shows the group it got, or "No App Group" when it got none.

Build and signing

./build.sh compiles an arm64 binary and ad-hoc signs it with an App Group entitlement (group.cz.kolbi.wqfiles). The technique needs an App Group, so re-sign with a tool that keeps one; the app uses whichever group it actually receives and shows it at the top of the Log. If it reports "No App Group", the signer dropped it.

The deployment minimum is iOS 26.0. Builds first run the host regression suite, then stage and validate the archive, metadata, signature and App Group before replacing WQFiles.ipa in the project directory. Set WQ_SKIP_PREFLIGHT=1 for fixture builds that do not have a test tree. For a separate output, set WQFILES_FINAL_IPA to an absolute path in an existing directory. The source updater validates the IPA's embedded metadata before atomically replacing source.json; its version/build arguments must match the artifact, and an existing release description is preserved when no new notes are supplied.

Regression tests

Run ./tests/run_all_tests.sh on macOS with Xcode and Python 3. It runs portable Foundation fixture executables, the Python release fixtures, static browser checks, and strict iOS arm64 compilation/linkage. Logs and generated files stay under .work/tests/; the existing IPA is not replaced. With only Command Line Tools installed, set WQ_SKIP_IOS_CHECK=1 to run the host tests. Set WQ_ASAN=1 to compile the host fixtures with AddressSanitizer.

For UIKit navigation and recovery checks on a disposable, booted simulator, run WQ_SIMULATOR_UDID=<device-id> ./tests/run_scan_ui_tests.sh. It runs the real Apps/Clean controllers with fixture task results, switches tabs, rebuilds a screen, backgrounds the app via Settings, terminates/relaunches it, and checks that foreground I/O can run between measurement steps. It does not open Simulator.app or exercise the sandbox technique. A screenshot and build artifacts are retained under .work/tests/.

The host recovery fixtures also terminate a scan process without a shutdown callback and verify recovery in a new process, including out-of-order inode chunks, changed root identity, failed writes, and rapid pause/resume races.

These tests use disposable files and entitlement/access doubles. They do not issue sandbox tokens or mutate installed app containers. Real iOS signing, token issuance, navigation/lifecycle timing, power-loss behavior and app-side concurrent writes still require supported-device validation.

Translations

WQ Files is in English, German, Italian, Spanish, Portuguese (Brazil), Russian, Polish, Turkish, Thai, Vietnamese, Korean, Arabic and Simplified Chinese. New languages and corrections are welcome as pull requests:

German, Italian, Spanish, Portuguese, Polish, Turkish and Thai, and the newest Chinese, Arabic and Korean strings, are machine translations so far: corrections from native speakers are especially welcome.

Credit and license

WQ Files is GPL-3.0-or-later (see LICENSE).

WQFiles (kolbicz/WQFiles)

Searching Database…

1.1K ·GitHub
What is this?A file browser, app data manager and cache cleaner for iOS 26 and 27. It works on other apps' and system folders that iOS normally keeps out of reach.
How does it get into other apps' folders without a jailbreak?It is built on the worsequery sandbox technique, which reaches app, extension, daemon and app group containers with no jailbreak and no kernel exploit.
What signing setup do I need?The IPA needs an App Group. AltStore, SideStore or Sideloadly with an Apple ID create one automatically, but wildcard certificate profiles can't include it and signing fails.
What is missing on iOS 26 compared to iOS 27?System Data and the system groups are hidden, the Cache Cleaner has no crash-log section, and apps show symbol tiles instead of real icons.
Which iOS versions does it support?iOS 26.0 is the minimum. iOS 26 has preliminary support, and the app is tested on 26.7.1, 27.0.1 and 27.2.
What built-in tools does it include?A plist editor, a hex viewer and editor, a read-only SQLite viewer, ZIP compress and extract, a media player, and a text and image viewer.
How do I move files from one app's data to another?Select the items, open the target folder in any app's data, and tap Move Here. The move works across apps, and existing items are never replaced.
Can the SQLite viewer change an app's database?No. It reads a copy of the database and its -wal file, so the app's own files are never changed. Close the app first for an up-to-date copy.
What does the Cache Cleaner show and do?It lists cache and temp size per app, with search, a Large Caches (50 MB+) filter and crash logs. Long-press an app to jump to its Caches, tmp or data folder.
Creator
kolbicz
Size
6.9 MB
Stars
1.1K
Age
9d
Commits · 90 Days