Skip to content

docs/android.md: the settings link over adb - #224

Merged
compot-dev merged 1 commit into
masterfrom
docs-android-adb-link
Dec 2, 2026
Merged

compot-dev merged 1 commit into
masterfrom
docs-android-adb-link

Conversation

@compot-dev

@compot-dev compot-dev commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator

A section on sending the settings link to the app over adb, on a TV box without a touchscreen.

adb shell passes its words to the device's shell, and that shell splits an unquoted link at each &, so only h reaches the app. The section shows the command quoted for the device as well. It also names the steps after the link: Save, the VPN consent through appops, START and Start on boot.

Checked on an Android 11 TV box with camex 6.3.0. With one level of quotes, am received camex://connect?h=docs.example.org and the screen marked only Server. Quoted for the device, it received the whole link and the screen marked Server, Client name and Proto. Nothing was saved.

Docs only, no version change.

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

No findings to report

Grey Divider

Tip of the day
💡 Did you know, you can switch off images and animations for a plain-text comment

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

⚠️ Qodo did not complete this review — the change was judged trivial and was not reviewed — so this is not a clean bill of health, and approval was withheld.

Qodo Logo

@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

PR Summary by Qodo

Document opening Android settings links over adb

📝 Documentation 🕐 Less than 10 minutes

Grey Divider

AI Description

• Add an adb command for opening settings links on TV boxes without touchscreens.
• Explain device-shell quoting so every link parameter reaches the app.
• Document saving settings, granting VPN consent, starting the tunnel, and optional boot startup.
Merge Risk 🟢 Low

Blast radius 🟢 Low 💥 0 capabilities

  • No production behavior changes identified.
Behavioral complexity 🟢 Low 🧩 Assessed behavior

  • No production behavior changes identified.
Potential damage 🟢 Low 🩹 Assessed behavior

  • No production behavior changes identified.
Assessed commit 193495b
Diagram

graph TD
  A["adb command"] --> B["Device shell"] --> C["Settings screen"] --> D["Save settings"] --> E["VPN consent"] --> F["Start tunnel"]
  F -->|optional| G["Start on boot"]
Loading
High-Level Assessment

Keep this guidance beside the existing Android settings-link documentation, where readers already learn how links populate the app. A separate guide would add navigation without clarifying this short workflow.

Files changed (1) +17 / -0

Documentation (1) +17 / -0
android.mdAdd an adb workflow for settings links on touchscreen-free boxes +17/-0

Add an adb workflow for settings links on touchscreen-free boxes

• Adds a device-shell-quoted 'am start' example so ampersands do not truncate the settings link. Explains link encoding, the risk of exposing the PSK in command output, and the steps to save settings, grant VPN consent, start, and optionally enable startup after reboot.

docs/android.md

@compot-dev
compot-dev merged commit cbe9354 into master Dec 2, 2026
18 checks passed
@compot-dev
compot-dev deleted the docs-android-adb-link branch December 2, 2026 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant