به نام خداوند مهربان

آخرین مطالب

۲ مطلب با کلمه‌ی کلیدی «adb» ثبت شده است

Connect your phone to PC via USB and then open a CMD (asume adb is installed):

List devices:

adb devices

 

To list all packages:
adb shell  pm list packages

 

For remove a package:

adb shell pm uninstall -k --user 0 com.android.chrome

or

adb uninstall --user 0 com.android.chrome
 

To open an ADB shell:

adb shell 

 

List all of the currently installed packages:

pm list packages

 

Uninstall the app(s):

pm uninstall -k --user 0 package name

ex:

pm uninstall -k --user 0 com.google.android.youtube

 

Change directory:

cd /storage/self/primary/Download

 

Install an apk:
pm install -r --user 0 com.android.chrome.apk

 

  • حسن دلدار

Connect to adb by wifi steps:

1 - stay connect via USB

2 - connect to your WIFI network (computer and mobile device both)

3 - ping DeviceIP (must be have ping to your device)

4 - adb kill-server

5 - adb usb

6 - adb tcpip 5555

7 - adb connect yourDeviceIP

8 - adb devices (must be see two device names , one of them is by deviceIP)

9 - unplug USB cable 

  • حسن دلدار