Repository navigation
SetEdit v4.5
SetEdit v4.5 — privileged access, granted once
Connect once and stay connected. SetEdit now grants itself every permission it needs after a
single connection, and remembers it, so a paired device stops asking you to connect again.
Fixed
- Shizuku was never actually asked. The app only checked whether Shizuku was already
approved, never requested permission, so a device running Shizuku was still told to use
wireless debugging. SetEdit now asks Shizuku directly and waits for your answer. - The ADB endpoint is remembered. Every reconnect used to fall back to mDNS discovery, which
gives up after three seconds when the phone is busy and sent you back to the pairing dialog.
The host and port of the last successful connect are now saved and tried first, so a paired
device reconnects with a single TCP handshake. - A failed action reconnects instead of nagging. Tapping an action used to show
"grant privileged access first" and nothing else. It now restores access silently — root, a
Shizuku grant, or a reconnect from the remembered endpoint — and retries once. The connect
screen only opens when the device has genuinely never had privileged access. - One grant covers everything. A single connect now grants
WRITE_SECURE_SETTINGS,
WRITE_SETTINGSand usage access, and sets the matching AppOps, so settings edits and the
Apps Manager work without keeping the connection alive.
Changed
versionCode25,versionName4.5.- A Shizuku refusal is remembered, so the prompt is not repeated on every screen; the connect
screen still offers it explicitly.
Under the hood
- New
utils/PrivilegedAccessis the single entry point for restoring access: root, then
Shizuku, then ADB. It coalesces concurrent callers onto one attempt on its own thread. AdbConnectortries the remembered endpoint first, then discovers the TLS connect service and
finally the plain ADB service. A stale endpoint that refuses this app's key is treated as
stale rather than as a pairing problem.- Six new unit tests cover endpoint persistence and the granted flags (51 total).
Verify the download
sha256sum SetEdit-4.5-release.apk
# b636f2bb01b2831c6024580e658354dffad256812ac34e349cfeb0100b41c8edPackage io.github.netodev66.setedit · Version 4.5 (versionCode 25) · Requires Android 7.0+ · Signed release