Who it is forAn Android developer or tester who wants to try DSH Mobile changes against a real harness without using Wi-Fi.
The problemThe phone or emulator cannot reach the harness on the computer by default.
The outcomeThe app connects through a USB or emulator tunnel and shows the harness's sessions.
What you need first
- A computer running DeepSeek Harness with the dsh web command available
- An Android phone running Android 8.0 or newer
- The phone and computer on the same Wi-Fi network for Local network mode
- The APK from the latest DSH Mobile release, or a source build with Gradle
Steps
- Run
dsh webon the computer. - Run
adb reverse tcp:3080 tcp:3080to forward the port to the phone or emulator. - In the app, choose This phone.
- Sign in with the link that
dsh webprinted. - Run
./gradlew :app:assembleDebugin a source checkout to build a debug APK if you want to test your own changes. (inferred, check the README)
Prompt for your agent
Using the repo sorsama/deepseek-harness-mobile, give the exact commands to forward port 3080 from a computer to an Android device over adb and to build the debug APK. Output the commands in order. Verify that the adb reverse command uses tcp:3080 on both ends.
Caveat. The README gives the USB route only as a short setup line, so you need adb installed and working on the computer first.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for sorsama/deepseek-harness-mobile and "Test the app against a local harness over USB"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer