Skip to content

Sender

The Sender tab sends your own requests from an app already running on the device: it starts activities and services, sends broadcasts and calls content providers. Each request is saved in the project, and each time you send it the result is kept as a run. No extra APK is needed.

Select the device and a Running sender application, then choose Connect. If only one device is found, it is selected for you. If the app is not listed, open it on the device and choose Refresh.

Sender attaches to the app without restarting it. If it is the app noxen is already connected to from Home, Sender shares that connection.

The sender app’s identity is the caller Android sees: its UID, permissions and signature. Choose it on purpose:

  • To test what any app can reach, use an ordinary third-party app with no special permissions.
  • A call from the target app itself is an internal call, not proof of external access.
  • System apps, shared UIDs and existing URI grants can reach what other apps cannot.

Each run records the sender’s package, PID, UID, Android and target SDK versions, whether it is a system app, which packages share its UID, and its permissions with their grant state. It does not record AppOps or temporary URI grants.

Each request is a tab. + creates an empty one and lists the operations at the cursor; choosing one writes what it needs. There is always at least one tab: closing the last one leaves an empty request.

Right-click a tab to Rename, Duplicate or Close it, or to close several at once with Close other tabs, Close tabs to the left or Close tabs to the right. Closing a tab permanently deletes its request, draft and saved runs. A request with a run in progress can be closed once the run finishes.

The request is JSON: an operation and its arguments.

{
"operation": "sendBroadcast",
"intent": {
"action": "dev.example.PING",
"extras": {
"count": {"type": "int", "value": 3},
"id": {"type": "long", "value": "9007199254740993"}
}
}
}
  • An absent field is not set; null and "" are values.
  • A typed value names its type. A long is a decimal string, so that all 64 bits survive.
  • Control characters use JSON escapes, such as \n and \u0000.

Sender saves your edits automatically. If the text is not a valid request, it is saved in the project as a draft, separately from the last valid revision. The editor restores it when you reopen the project and shows what needs fixing. Send stays disabled while the draft is invalid. Saving does not send anything.

Use To Sender to open a new request from the current selection. The call starts when you choose Send.

FromCreates
HistoryA request based on the selected Intent or supported provider call
MonitorA request based on a provider call recorded by a Monitor hook
Info appA request for the selected component

For an Intent in History, the operation follows the hook. A sending hook keeps its operation, getIntent and onNewIntent become startActivity, onReceive becomes sendBroadcast, and a PendingIntent request becomes the operation it wraps. For other hooks, such as bindService, you choose the operation.

If some values were not captured in full, noxen lists them and asks first. Send without them creates the request without those values; check it before sending.

For a provider call in History, noxen needs enough captured arguments to recreate the operation. If an argument is incomplete or the operation is unsupported, create the request directly in Sender.

From Monitor, To Sender is available only for a query, delete, call or file read whose arguments were all captured. Monitor does not record ContentValues or Bundle extras, so inserts, updates and calls with extras have to be written in Sender.

From Info app, a provider request gets the authority; you add the path. To Sender is disabled when no request can be made, for example for a provider with several authorities.

To Sender in History copies complete query, getType, insert, update, delete and call requests. A call with an opaque extras Bundle cannot be reconstructed. File-descriptor opens in mode r, incoming openFile reads and openInputStream captures become Sender file-read requests. Sender reads through openFileDescriptor and uses its own capture limits. Write modes, typed asset opens and partially captured query Bundles require a request authored in Sender.

Query Bundles containing only SQL selection, selection arguments and sort order can be copied to Sender when noxen confirms that all keys and types were captured. Sender expresses these as its selection fields. Bundles with additional keys and older captures without this completeness information require a request authored in Sender.

OperationArguments and result
startActivityIntent. It must include FLAG_ACTIVITY_NEW_TASK (0x10000000), because the call uses the application context
sendBroadcastIntent and optional receiver permission. Returns when the sending call returns
sendOrderedBroadcastIntent and optional receiver permission. Waits for the last receiver and records its result code, data and extras
startService, startForegroundServiceIntent. Records the returned component or the exception
stopServiceIntent. Records the returned boolean
queryURI, projection, selection, selection arguments and sort order. Records the rows
getTypeURI. Records the MIME type
insert, update, deleteURI with values or selection. Records the returned URI or row count
callURI, method, argument and Bundle extras. Records the returned Bundle
openFileDescriptorURI. Opens it read-only and records the content as Base64

An Intent supports component, package, action, data, MIME type, flags, categories, extras, selector and ClipData, including nested Intents. Extras can be strings, booleans, numbers, chars, URIs, Bundles, Intents and arrays. Custom Parcelable and Serializable objects are not supported. extras set to {} creates an empty Bundle; omitting it creates none.

Use Android flag names in a JSON list, for example:

"flags": ["FLAG_ACTIVITY_NEW_TASK", "FLAG_GRANT_READ_URI_PERMISSION"]

The editor suggests names inside the list. Sender saves the names as written and combines their bits when sending. An unsigned 32-bit decimal mask also works, including for bits that noxen does not name.

Android’s rules still apply. Before a startActivity, noxen checks whether the sender app is in the background, where Android may block the launch, and lets you send anyway or bring the app to the front first. startForegroundService needs a target service that can start in the foreground.

The result panel summarizes what the operation returned. Queries show a table preview and mark omitted or truncated data. File reads show the byte count and whether the capture is partial. Raw shows the saved response, including Base64 file content; Details shows timing and sender identity.

‹ and › go through earlier runs and load each run’s request into the editor. Edits update the current request. The earlier run keeps the request it actually sent. A returned call does not confirm that an Activity opened or that an unordered broadcast was delivered. If noxen recorded a sender crash, the run shows the crash ID without inferring its cause.

StateMeaning
preparingThe run was saved; Android has not started it yet
runningThe call started
returnedThe call returned, or the ordered broadcast finished
errorThe call threw an exception
cancelledAndroid reported a cancellation
unknownnoxen lost track of the call. It may have completed

An activity launch shows Call returned · Activity launch unverified: Android can block a launch without an exception. Check the receiving side.

If Intercept or another hook changed the call, the run still shows what was sent. Check History for edits or drops.

Start and finish times come from the device. Sender runs are not numbered with History and Monitor’s capture order.

One request runs at a time per sender. Cancel stops a running query or file read if the provider supports it. A run in progress when noxen closed is marked unknown when the project reopens, and is never sent again.

LimitValue
Request size256 KiB of JSON, 8 levels of nesting
Query rows100 by default, up to 1,000, and up to 256 columns
Query and file capture256 KiB; files default to 64 KiB
Returned Bundles100 entries each, 4 levels, 4,096 characters per value, 32,768 characters in all
Saved result384 KiB

These limits apply to what noxen records, not to what the provider does. Truncated values are marked in the result.

  • MCP, to send requests from an MCP client