Getting started
This page walks you from “haven’t downloaded Pane yet” to “every request my app makes shows up in the capture list”.
Install
Grab the latest build for your OS from the download page.
| Platform | File |
|---|---|
| macOS Apple Silicon | .dmg |
| Linux x86_64 | .AppImage (portable) or .deb / .rpm |
| Windows x86_64 | .msi (recommended) or .exe NSIS installer |
macOS first launch
Closed-alpha builds aren’t notarised yet, so the first launch is awkward.
One-liner that downloads, copies to /Applications and strips the
quarantine bit:
curl -fsSL https://pane.thothlab.tech/install-macos.sh | bash…or after dragging the app from the dmg:
xattr -dr com.apple.quarantine /Applications/Pane.appLinux
chmod +x Pane_*_amd64.AppImage && ./Pane_*_amd64.AppImageWindows
The NSIS installer isn’t signed with an EV cert yet, so SmartScreen will show a warning — click More info → Run anyway.
First device
- Open Pane. Sidebar shows Captures, Rules, Devices; below them as a separate group: Settings, Docs, About; at the bottom — the Start proxy button.
- Hit Start proxy first. If you skip this, Add device refuses
on purpose: pushing the proxy setting onto a phone when nothing
listens on
127.0.0.1:8888silently kills all internet on the device. - Connect your phone via USB:
- Android — enable USB debugging in Developer options. The device must have a PIN / pattern / password lock screen set; Android won’t install user CAs without one.
- iOS — trust the laptop the first time you plug in.
- Devices → Add device. Pane discovers attached phones via
adb/libimobiledevice. Each row labels the device as<vendor> <model> · Android <version> · <serial-tail>— two of the same phone plugged in at once still read as distinct rows thanks to the last six chars of the USB serial. Pick yours → + Add. Pane then:- generates a root CA (ECDSA P-256) and stores it locally;
- iOS — pushes the mobileconfig profile over USB; user confirms the install in Settings;
- Android (rooted) — drops the CA into the system trust store
at
/system/etc/security/cacerts/. Fully automatic. - Android (no root) — pushes the CA file to
/sdcard/Download/pane-ca.pemand the device row shows a step-by-step guide for the manual install (see below); - wires up
adb reverse tcp:8888 tcp:8888,tcp:8889 tcp:8889(PAC), andtcp:8890 tcp:8890(helper heartbeat) — traffic flows over USB, no Wi-Fi setup needed; - sets
http_proxy=127.0.0.1:8888(primary, what OkHttp/Retrofit and native HTTP stacks use) andhttp_proxy_pacpointing at the local PAC server (bonus, for Chromium-based browsers); - installs the companion APK
tech.thothlab.pane.helperand grants itWRITE_SECURE_SETTINGS+POST_NOTIFICATIONSvia adb — a watchdog that clears the proxy when you unplug USB (see “Helper APK” below).
- On Android without root — follow the manual-install guide in the
Devices row. The “How to install the CA certificate” block is
collapsed by default (it’s tall and distracts from the device list);
click the header to expand the step-by-step guide and the
pane-ca.pempath. - On iOS — confirm the profile in Settings → Profile Downloaded.
The next request your app makes is a capture in the list. Click a row to see method / URL / status, headers, body and timing.
Why CA install on Android needs a manual step
Android 11+ always routes CertInstaller through the SAF file picker
(scoped-storage). Samsung One UI on Android 16+ goes further and
blocks programmatic CA installs from every source (shell,
KeyChain.createInstallIntent from an app, MDM-style
DevicePolicyManager) — Google and Samsung made the flow strictly
user-initiated on recent builds. No programmatic workaround exists
without root.
Pane does everything it can to make the manual step painless:
- pushes
pane-ca.peminto/sdcard/Download/— the only folder the system CertInstaller picker opens by default. Custom folders like/sdcard/Pane/are invisible to the SAF picker on most Android builds; - pre-cleans stale
pane-ca*files from/sdcard/Pane/and/sdcard/Documents/(legacy locations from earlier Pane versions) so the picker can’t pull up the wrong file; - the device row in Devices shows a collapsible guide with the exact click path for your Settings layout, a copy-to-clipboard for the file path, and the lock-screen PIN prerequisite reminder.
Proxy configuration on the device
Pane sets two global settings keys on the device:
http_proxy=127.0.0.1:8888— the primary one. OkHttp, Retrofit, native stacks (libcurl), HttpURLConnection — everything that readsProxySelector.getDefault()honors it. This is mandatory: without it, 90% of Android apps don’t route through Pane (Chrome and WebView do, but those aren’t usually the app you’re debugging).http_proxy_pac=http://127.0.0.1:8889/proxy.pac— bonus for Chromium-based stacks (Chrome, WebView, Samsung Internet) which prefer PAC.
A PAC-only setup broke OkHttp apps (banking, MTS, most business apps), so Pane always sets both.
Helper APK — why the device keeps internet on unplug
Earlier versions left http_proxy set after Stop proxy or USB
unplug, so the device kept dialling a dead 127.0.0.1:8888 — no
internet until you ran Remove device. Pane now installs a companion
APK tech.thothlab.pane.helper (~4 MB) that holds a heartbeat
socket back to Pane via adb-reverse’d 127.0.0.1:8890.
When the heartbeat dies (USB unplug, Pane closed or crashed), the
on-device foreground service sets http_proxy=:0 via
WRITE_SECURE_SETTINGS (no root, no Magisk — Pane grants this
permission via adb shell pm grant during first pair). Internet
comes back within ~6 seconds of disconnect.
Safety check: the helper only touches http_proxy if its current
value matches what Pane wrote. If you manually set your own proxy,
the helper leaves it alone.
A “Pane connected” / “Pane disconnected” notification stays in the shade — your only visual signal that Pane is interacting with the device.
If you don’t want the helper (corporate VPN, MDM policies, etc.), uninstall via Settings → Apps → Pane Helper. You lose the unplug auto-cleanup but everything else keeps working.
When something goes sideways
adb not found— Pane looks inANDROID_HOME,~/Library/ Android/sdk,/opt/homebrew/bin,/usr/local/bin. If the Devices page shows a yellow “Android tooling not found” banner, installplatform-toolsfrom the Android SDK or Android Studio.adb reverse failed— usually after USB reseating or an adb- server restart. Hit Re-sync on the paired device row.- Xiaomi / Redmi / POCO:
Permission denial ... WRITE_SECURE_SETTINGSon Add — MIUI and HyperOS won’t let adb change system settings until a second switch is on. Settings → Additional settings → Developer options → turn on “USB debugging (Security settings)” and “Install via USB”. Both ask you to sign in to a Mi account; some builds also want a SIM card inserted. Then hit + Add again and confirm the Pane Helper install on the phone. - Device has “no internet” after Stop proxy / USB unplug — from
v0.1.41 the companion APK handles this autonomously even without
the laptop attached, clearing the proxy within ~6 sec. If the phone
never got the helper (first pair on this machine failed, or you
uninstalled the helper), recover directly on the phone: Settings
→ Wi-Fi → tap the active network → Proxy → None. Or via adb if
the cable is plugged:
adb shell settings put global http_proxy :0. - HTTPS in my app isn’t decrypted — the app has to trust user
CAs. In a debug build, add
network_security_config.xmlwith<debug-overrides>→<trust-anchors><certificates src="user"/> </trust-anchors>. Release builds need an explicit opt-in. Chrome / Samsung Internet ignore user CAs by design — test with Firefox or your own app instead. - TLS pinning — Pane doesn’t try to bypass pinning. Disable pinning in your debug build. For owned-device security research, Frida or Magisk modules layer on top of Pane.
Theme and text size
Settings → Appearance → Theme toggles light / dark (System
follows the OS setting). The choice is synced across every open Pane
window, including standalone Logcat windows.
Settings → Appearance → Text size scales the whole UI in four
steps: Small / Medium / Large / Extra large. It sets font-size
on <html>, so every text size, padding, and icon grows
proportionally. Default is Small — matches the pre-0.1.65 look.
Window size and position
Pane’s main window remembers its size and position across launches — resize/move it once and the next start reopens it right there instead of centered at the default size. The very first launch (nothing saved yet) is centered. Standalone Logcat windows are unaffected: they always open at their own fixed size.
Interface language
Pane ships in English and Russian. English is the default.
Switch from Settings → Appearance → Language. The choice persists
in localStorage, applies reactively without restart, and is synced
to every open Pane window (including standalone Logcat windows) the
moment you switch.
Every UI screen is translated (Captures, Rules, Devices, Settings,
About, Replay, body viewer, manual-install guide). Backend-side
last_error strings (from pane-android / pane-engine) stay in
English on purpose — same policy as logs and source.
Adding a new locale is one file: drop src/i18n/<lang>.ts with the
same shape as en.ts (the Dict type contract enforces it at
compile time), and register it in the LOCALES array in
src/i18n/index.ts.
Updates
Pane checks for new releases:
- at launch,
- once an hour while the window is open,
- whenever the window regains focus.
When a newer build is out, an Update to vX.Y.Z button appears in the sidebar under the version. Click it and Pane downloads the minisign-signed bundle and relaunches. Force a check via About → Check for updates.
Reading captures
The capture list supports a small filter DSL on the search bar:
host:api.example.com # only requests to this hosthost:api.foo.com,api.bar.com # OR — comma-separated alternativesmethod:POST,PUT,DELETE # OR across methodsstatus:200,500..599 # mix: exact 200 OR any 5xxstatus:5.. # any 5xx!error:tls_handshake # exclude pinning + handshake failures!host:cdn.*,fonts.* # "neither cdn.* nor fonts.*"status:200..299 host:*.dev # ranges + globs (tokens AND'd)google # bareword: substring of host or pathSave the current filter with the ☆ icon to pin it to the sidebar. Typing the name of an existing saved filter in the Save dialog turns the button into Update — overwrites query/color/pin in place, no duplicate row.
Hairline dividers run between rows; failures (5xx and transport errors like pinning / TLS-handshake failure) tint the whole row red. Every other status keeps the row default and shows the status code itself in a status-appropriate colour. Right-click any row to open a context menu:
- Copy — puts the full dump of this exchange on the clipboard
(request line → headers → body → blank line → response line →
headers → body) in OkHttp
HttpLoggingInterceptorformat. The same layout the Android logger emits, so the dump pastes into a bug report next to the app’s own logs without reformatting. Bodies are decoded as UTF-8; binary content is replaced with a[N-byte binary body]placeholder so the clipboard doesn’t fill up with mojibake. Body cap is 8 MiB; truncation is annotated inline. Tokens are masked by default: the values ofAuthorization,Cookie,Set-Cookieand headers with token, secret, api-key, auth, session or password in the name become{{TOKEN}}(theBearerscheme, cookie names andSet-Cookieattributes stay). The same goes for Export to a file and cURL in the detail pane. To copy the request as sent, untick the box in Settings → Privacy. - Add to rules — pre-fills a stub rule from this capture (see Response stubs → “Quick path from Captures”).
The Tail toggle on the toolbar pins the list to the latest entry. Turn it off (or scroll up) and the list freezes — periodic fetches pause until you click Tail again or scroll to the bottom, so you can read older entries without the table reflowing under your eye. Filter changes still take effect immediately.
The horizontal split between Headers and Body on the Request/Response tabs is draggable. Position is remembered per pane (stored in localStorage) and persists across restart. Double-click the splitter to reset.
Right pane shows Overview / Request / Response / Timing / TLS. The body viewer auto-detects JSON / XML / text:
- Tree — collapsible nodes, copy by path or by value.
- Pretty — formatted, syntax-highlighted text.
- Raw — bytes as they came off the wire.
Logcat window
A Logcat button shows up next to + Add on Android devices in
the Devices view. It opens a separate non-modal window streaming
adb logcat from that device, so you can keep captures running in
the main window while reading filtered logs alongside. Independent
windows, one per device — clicking Logcat again on the same device
focuses the existing window rather than spawning a duplicate.
What’s inside:
- Virtualized 100k-entry buffer (~5 min of history even on a
chatty firehose): Time · PID · Level (V/D/I/W/E/F) · Tag · Message.
Whole rows tint by level:
verbose/silentmuted,debugblue,infogreen,warnyellow,errorred,fatalbold red with a soft red row background. - Pause (Space) — freezes the buffer, the upstream stream keeps running on the backend. Clear (⌘K) — wipes the buffer. Tail — auto-scroll to newest entry; turns off automatically if you scroll up. While Tail is off, incoming batches are held on the side (no FIFO churn under your viewport — the table stays rock-still) and the status bar shows a +N new badge counting only rows that pass the active filter (exactly how many will land in the table when you re-enable Tail; if nothing matches the filter there’s no badge — no more empty “+N” from the background firehose). Toggling Tail back on (or scrolling all the way down) drains them and resumes auto-scroll.
- FILTERS sidebar (left) — your saved filters. The star ⭐ in the filter field saves the current query; in the sidebar a click applies a filter, hover reveals rename (pencil, inline edit) and delete (✕). Drag the divider to resize the sidebar (double-click it to reset).
- Filter DSL — in-memory (the buffer is already in renderer
memory, no need to go through SQL):
A comma in a value combines alternatives: positives OR together, negatives (OkHttp # bare word: substring in tag or messagetag:OkHttp,Retrofit # comma-joined positives — ORtag:!CatalogParser,!TrafficStats # negatives via ! — all must NOT matchtag:!Spam,!Noise,SSH # mixed: (not Spam AND not Noise) AND contains SSHlevel:E # error onlylevel:W..F # range: warn and abovepid:1234 # exact PIDapp:com.foo,!com.foo.helper # pids of com.foo minus pids of com.foo.helper~^(?!.*Connection) # regex via ~, matches tag or message!tag:OkHttp # outer ! — flips the whole tokentag:OkHttp !msg:keep-alive # AND between tokens
!value) all must NOT match, the two groups AND together. An outer!key:fooflips the entire token. - Regex via
~— the pattern is compiled with the native JSRegExpand tested againsttagORmessage. Case-sensitive (no/.../iflag to pass; workaround — character class[Oo]):~OkHttp # substring via regex (same as bareword)~^Choreographer # tag/message STARTS WITH Choreographer~Connection (refused|reset|aborted) # alternation via |~\d+ms\b # number + "ms" — latency markers~^(?!.*heartbeat).+ # negative lookahead — everything NOT heartbeat~stack.*overflow # any chars between two words!~^E/ # outer ! — drop everything matching~slow tag:OkHttp level:W..F # AND with other keys - Search (
⌘F) — a separate input next to the filter: a plain substring search that highlights matches across every visible column (time, app, tag, message) and does not narrow the rows (that’s the filter’s job). Enter jumps to the next match (down), Ctrl+Enter to the previous (up); the current row gets a ring and ani/Ncounter sits in the box. Handy for spotting a specific word in whatever is already on screen. - Status bar at the foot of the window:
Viewing N of M(M+means the buffer has hit MAX_ENTRIES = 100k and older entries are being dropped FIFO). - Export — save the currently-visible filtered view to a
.logfile inthreadtimeformat (drop-in for Android Studio / any grep pipeline). - ⌘F focuses the search input. ⌘⇧F focuses the filter input.
- Row selection & copy (LogRabbit-style): click selects a row, Shift-click extends a range, ⌘-click toggles one, click-and-drag selects several. ⌘C copies the selected rows in full (threadtime: time · pid · tid · level · tag: message), ⇧⌘C copies just the message field. Right-click → Copy / Copy message / View message; the copy actions operate on the whole selection.
- View a row — double-click a row, or View message from the
menu. The overlay is resizable (drag the bottom-right corner) and
scrollable. A single row lists its fields (Time/App/PID/TID/Level/Tag),
each copyable on its own; below is the content (the message, or the
messages of the selected rows). A search box at the top (
⌘Finside the overlay) highlights matches with Enter (next) / Ctrl+Enter (prev) navigation and a counter. JSON-looking content gets syntax highlighting and a Format button that pretty-prints even broken/truncated JSON by structure (like LogRabbit).
Safety bits:
- Closing the window kills the
adb logcatsubprocess (viaWindowEvent::Destroyed+kill_on_drop). - EOF / stream break (USB reseat, adb-server restart) → automatic reconnect with backoff 0.5s → 10s, capped at 5 attempts.
- The stream is byte-safe: lines are read as raw bytes and decoded
with
from_utf8_lossy(bad bytes →�). Android devices routinely emit non-UTF-8 (Latin-1/binary) inside log messages; previously a single such byte broke the read loop into an endless reconnect that re-dumped the whole ring buffer — the table “repainted” while timestamps stood still. One bad byte no longer breaks the stream. - Entries are emitted in batches (50 lines or 100ms, whichever comes first) so a 1000+ lines/sec firehose doesn’t lock the Solid reactor.
Next
- Response stubs — replace or patch responses for testing.
- Release process — cutting tags, for maintainers.