Java-Android-Magisk-Burp-Objection-Root-Emulator-Easy icon indicating copy to clipboard operation
Java-Android-Magisk-Burp-Objection-Root-Emulator-Easy copied to clipboard

Add App manager/killer support

Open freeload101 opened this issue 2 years ago • 0 comments

  • use script from debloat to create a UI for packages/package names
  • perform the following using adb commands or aapt2 etc ( aapt2 may not work in X86 EMU ...so may warn for hardware only etc )

force stop: adb shell am force-stop <PACKAGE> clear cache :

  • adb shell su -c "rm -rf /data/data/<app's package>/cache/*
  • adb shell 'run-as com.ebay.mobile sh -c "rm -rf cache/*"'
  • adb shell pm clear com.my_app.vow

clear data

  • adb shell pm clear my.app.package.name

battery restricted appops set net.languagecourse.vt.de RUN_ANY_IN_BACKGROUND ignore

disable if error : echo Trying to Disable: %%x "%~dp0platform-tools\adb.exe" shell "pm disable --user 0 %%x" 2> nu

uninstall if error notify user echo Trying to Uninstall: %%x "%~dp0platform-tools\adb.exe" shell "pm uninstall -k --user 0 %%x"

freeload101 avatar Jul 25 '23 13:07 freeload101