Advertisement
efxtv

Remove applications from android device using ADB

Oct 9th, 2022 (edited)
416
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | Cybersecurity | 0 0
  1. #Remove applications from Android device using ADB in Linux
  2.  
  3. #We have used apps in Android are listed below:
  4. Uninstaller - Uninstall App
  5. https://play.google.com/store/apps/details?id=com.GoodTools.Uninstaller&hl=en&gl=US
  6.  
  7. Package Name Viewer 2.0
  8. https://play.google.com/store/apps/details?id=com.csdroid.pkg&hl=en_IN&gl=US
  9.  
  10. #Commands we have used in this video are listed below:
  11. #Install adb in Linux
  12. sudo apt-get install adb
  13.  
  14. #Install the app using adb
  15. adb install -r MyApp.apk
  16.  
  17. #start adb shell
  18. adb shell
  19.  
  20. #List installed package
  21. adb shell pm list packages | grep packagename
  22.  
  23. #Unistall the package
  24. adb shell pm uninstall -k --user 0 packagename
  25.  
  26. #copy file from pc to mobile
  27. adb push fileinpc.txt /sdcard
  28.  
  29. #Copy file from mobile to PC
  30. adb pull /sdcard/Download/magisk_patched.img ~/Downloads
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement