File browser, app data manager and cache cleaner for iOS 26 and 27 (worse_query, no jailbreak)
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.
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 a placeholder (see App Store Icons below).
WQ Files is available in English, German, Italian, Spanish, Portuguese (Brazil), Russian, Polish, Turkish, Thai, Vietnamese, Korean, Arabic, Japanese and Simplified Chinese. It follows the device language; Language in WQ Files' Settings picks another, used from the next start.
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.
Containers/Data/Application), shown with the app's name, bundle ID and icon instead of a UUID./var/containers/Bundle/Application) with its .app, labeled with the app's name; also from Apps: long-press an app ? Open App Bundle. Shown only where iOS lets WQ Files open these folders (the startup check tries; iOS 26 and 27.0.1 don't)./var/containers/Data/System (listing only; its contents are owned by root).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.
Documents/Library (another device's shared backup, another tool's export) into a normal verified backup of that app, ready to restore; data that says it belongs to a different app asks first. Apps Manager backups (.adbk) work too: the app's data folder is imported; its App Group data and its keychain items (encrypted by Apps Manager) are not. Show all apps, only Apple's, only others, only backed-up ones, or only installed or offloaded ones (when nearly every app's state can be read); long-press to copy the bundle ID or container path. Apps and the Cache Cleaner keep their last results, including across app launches. Scanning is a task, not a page lifetime: switch tabs or leave the screen without discarding work. Pause Scan keeps progress; Resume Scan continues it. Pull to refresh explicitly starts a new measurement, while the previous result stays visible with its timestamp. There is no automatic ten-minute rescan. When iOS backgrounds the app, scan workers pause at a work boundary and continue on return. After termination, opening the relevant screen resumes an interrupted task; an explicitly paused task stays paused. Completed inode ranges and directory measurements are saved in app-private Application Support (excluded from backups). A restart may replay the current directory and work since the last checkpoint (writes are coalesced to about one second), not the whole scan. Sizes can include earlier measurements: refresh for current sizes. The filesystem is not a snapshot; cache cleaning still revalidates target identities before deleting anything, and restored results are not preselected. Read-only scan orchestration uses its own queue; directory measurement yields the serial mutation queue between directories so other file operations can run. iOS still controls when a suspended or terminated app can execute. tmp is intentionally ephemeral: clear removes it, but app backups do not include it and restore leaves the current tmp untouched.Library/Application Support/Instagram/VideoUpload, which keeps uploaded videos) ? Add to Cache Cleaner, choosing Always Select (selected after every scan and by Select All, like caches) or Select by Hand. It then appears there as "Added by you"; a folder is emptied, a file deleted. Long-press it in the Cache Cleaner to switch Select Automatically. Stored by app, so it keeps working after the app moves to a new container. Long-press it in the Cache Cleaner to remove it from the list.-wal file; close the app first for an up-to-date copy. Edit changes that copy: tap a value in a row to change it, swipe a row to delete it, or run any SQL. Save writes the copy back to the app: force-quit the app first (WQ Files can't tell whether it's running). Before writing, WQ Files checks the copy with SQLite's integrity check and refuses if the app changed the database since it was opened; the previous database goes to Backups. SQLite writes the edited database in a transaction and handles its journal or WAL so the target app can recover even if WQ Files is interrupted.source.json from this repository and shows a note on the start screen when a newer version is out. This is the only connection WQ Files makes itself (Wi-Fi Sharing only listens while its screen is open); nothing about the device or its data is sent. Turn it off to keep WQ Files fully offline.wq, a new random password each time, or a fixed one in Settings ? Sharing Password, kept in the keychain). It stops when you close the screen or leave WQ Files. The page follows the design and theme.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. Apple services without an icon get a symbol tile.
Other apps' icons can't be read with worse_query, so they show a neutral placeholder. Settings ? App Store Icons (off by default) fetches them from Apple's public App Store lookup instead: one request per 50 apps, in your region's store and then the US store. This sends the bundle IDs of your apps and your region to Apple. Icons are kept as small PNGs (a few KB each) and not backed up; sideloaded or removed apps keep the placeholder, and are asked for again after a week. Turning the setting off deletes the downloaded icons.
Small JavaScript programs that show a file's contents your way (#45). WQ Files ships only the runtime; the inspectors are yours. Long-press a file ? Open As ? Custom Inspector…. When one inspector matches the file's extension it opens directly, otherwise you pick one.
Installing: open a .zip holding an inspector with WQ Files (share sheet, AirDrop or the Files app ? Share ? WQ Files): it is checked and installed, and installing one with the same name again updates it. Or copy the folder into WQ Files' Inspectors folder yourself: Settings ? Inspectors (in the classic design under Tools) opens it, with Import Folder / Import Files in its ? menu, and the Files app shows it under On My iPhone ? WQ Files. One folder per inspector:
Inspectors/
JSON Summary/
manifest.json { "name": "JSON Summary", "api": 1, "extensions": ["json"] }
inspect.js
data.json optional reference data (lookup tables, schemas)
manifest.json: name (1–80 characters), api (must be 1), extensions (for example ["json", "plist"], or ["*"] for any file). Optional: script (default inspect.js), data (default data.json when present), description.
inspect.js defines inspect(input, data) and returns what to show:
function inspect(input, data) {
const record = JSON.parse(input.text);
return {
title: "My inspector", // optional
sections: [
{ title: "Details", rows: [
{ label: "Name", value: record.name },
{ label: "Type", value: data.types[record.type] ?? "Unknown" } ] },
{ title: "Raw", text: input.text } // monospaced text
]
};
}input has name, extension, size, truncated, bytes (a Uint8Array of at most 8 MB of the file), text (the bytes as UTF-8, or null) and plist (the file parsed as a property list, or null; dates become ISO 8601 strings, data becomes base64). Row values can be any JSON value; objects and arrays are shown as JSON. console.log(...) lines appear under the result.
Tap a value to copy it; Share sends the whole result as text. Inspectors are read-only: scripts run off the main thread with a 2-second limit and have no access to files, the network or the app. Results are capped at 100 sections, 5,000 rows and 20,000 characters per text. Errors (with the line number) are shown in place of the result. Two examples are in examples/inspectors.
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.
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.
Startup check: while the start screen is up, WQ Files checks in the background the App Group, whether it finds other apps' folders, whether its sandbox access really opens a sample of them, and whether the app database identifies them. A new iOS version can break any of these; instead of empty or wrong lists, WQ Files then covers everything with what failed (Try Again, Log, Continue Anyway). Problems that leave it partly usable (app names, an untested iOS version) are shown once as a warning. The result is in Log as health: ….
iOS 27.3 beta 2 or later: Apple patched worse_query there. The startup check recognizes these builds by their build number: when no folder opens, it says the patch is the reason (and offers no Reset Access Cache, which can't help); the iOS version row warns about it even if some folders still open. Stay on 27.3 beta 1 or earlier.
LiveContainer: inside LiveContainer, iOS reports WQ Files' App Group as a stand-in folder in LiveContainer's own group, while access tokens are issued for the real group folder. WQ Files uses the real one (Log: App group: LiveContainer stand-in …; using the real group folder …).
Every folder refused (token cache recovery failed): WQ Files briefly swaps its own Library/Caches folder in the App Group to get each access token. If a swap was interrupted, or another app sharing the App Group changed that folder, it refuses every token instead of risking the contents. The Log line says what it found (swap marker, preserved Caches, what Caches is now). WQ Files now repairs this by itself (at most once a minute; Log: grant: access cache repaired automatically). Settings ? Troubleshooting ? Reset Access Cache (also on the startup check screen) puts the folder back; nothing is deleted. If it keeps coming back, another app signed with the same App Group is changing it.
Apps list is empty: the Apps screen depends on a full fsgetpath scan of the data volume. A missing/denied container parent, an unavailable inode probe, or an exhausted scan bound is logged as enumerate: … and app scan: … in Log. The current build only treats a missing parent as failure; a denied parent and a completion-probe miss still return the scanned subset, so refresh instead of assuming there are no apps.
NO TOKEN: the container path was visible but wq_grant could not obtain a sandbox token. Common causes are a signer that dropped the App Group, an app-group cache-swap failure, or a container the app-group query refuses. See the grant failed/enumerate lines in Log.
(no label): a token was obtained, but the container identifier (com.apple.containermanager.identifier xattr or the container metadata plist) could not be read. On iOS 27.2 the attribute can't be read at all, so WQ Files also asks the container manager for a path-to-identifier map and then looks the container up in the LaunchServices database, which lists the data container of every app and most extensions. If the identifier is still missing (for example a system/daemon container with none, or an extension the database doesn't list), the folder stays browsable but cannot be backed up or cleared until identity is available.
User Comments
Previous Comments