0

I have misplaced a junker phone (LG G3 running Lineage). However, it's still on, and ADB is accessible over TCP/IP. (The phone doesn't have a SIM, so I can't call it.)

Is there a way to turn on the ringer or other audio from ADB? I've tried a couple of remote-screen apps (adb-remote-control.jar and scrcpy) but although they appear to connect, and scrcpy even gets a screen image that looks correct, neither of them seem to send events correctly, so I can't control the phone.

I suspect there's a way to launch an app (Phone? Alarm?) with a "Play Ringtone" intent, but I don't know how.

0
1

Suggestion of Google find my phone worked: Google knows where your phone is, even if you don't.

From another user, you can also do it with ADB:

adb push t.mp3 /sdcard/
adb shell am start -a android.intent.action.VIEW -d file:///sdcard/t.mp3 -t audio/mp3

(Playing a video file the same way or starting youtube (adb shell am start -a android.intent.action.VIEW -d https://www.youtube.com/watch\?v\=oVQqmH4ufCQ)) will not produce any sound if the device is locked it seems like)

1
  • This pops up a player. Is it possible to play back a file without GUI? – Jānis Elmeris Apr 12 at 14:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.