Android find what application is using a port

Post Reply
zemerdon
Site Admin
Posts: 337
Joined: Mon Jan 23, 2023 8:13 pm

Android find what application is using a port

Post by zemerdon »

ADB from desktop to phone

** enable wifi debugging on phone

pair to phone

Code: Select all

adb pair HOST[:PORT] [PAIRING CODE]
connect to phone

Code: Select all

adb connect HOST[:PORT]
check protocol activity

Code: Select all

adb shell cat /proc/net/udp
adb shell cat /proc/net/tdp
find package with uid

Code: Select all

adb shell pm list packages --uid [uid]

convert decimal to hex
https://www.rapidtables.com/convert/num ... tml?x=2002
Post Reply