Nov 3, 1:23am

LineageOS 24.0 is the Android 17–based branch ( heise,  Android Authority), and on any modern Android (11+) the old adb shell media tool is gone — the equivalent is cmd media_session ( Android SE).

Recommended command (seeks forward by the app's skip interval, which is 10 s in most apps):

bash
adb shell cmd media_session dispatch fast-forward

This sends KEYCODE_MEDIA_FAST_FORWARD to the active media session. Equivalent alternative:

bash
adb shell input keyevent KEYCODE_MEDIA_FAST_FORWARD   # keycode 90

Useful companions:

bash
adb shell cmd media_session list-sessions    # see the active session
adb shell dumpsys media_session              # full state incl. supported actions
adb shell cmd media_session dispatch rewind   # back (KEYCODE_MEDIA_REWIND)

Important caveat: there is no generic ADB command to seek an exact 10 seconds. cmd media_session dispatch only forwards media key codes; the actual jump distance is decided by the app's media session callback ( Android docs codelab,  Android SE). So:

  • YouTube, VLC, most podcasts players → fast-forward = 10 s (or 5–30 s, per app).
  • If the app ignores seek keys, the command does nothing.
  • For an exact 10 s jump in any app, you'd need a small helper (e.g., a Tasker task or a tiny app using MediaController.seekTo(currentPosition + 10000)), since the shell interface doesn't expose onSeekTo.
Nov 3, 1:23am

This is a shared conversation and may include unverified content that doesn't reflect Mistral AI's views. Login to resume chatting.

Vibe can make mistakes. Check answers. Learn more