[Android Apps and Games] oF2pks:
EDIT: android 12 appops added

Superuser ADBcmd appOps freezer ^4 root ed :# su Magisk (all appOps not requiring aosp/sOpPerms i.e. the permission-less ones)

*Official build is live on F-Droid; attached _debug flavor has extended functionalities (and latest chainfire/libsuperuser:1.1.0)

​

Action button added with basic features such as:

Wipe caches for ALL apps

perform idle maintenance now

pm list libraries

pm list permission-groups

am stack list

$ adb shell ____ (w.i.p. interpretor: No safeguards)

List all ADB cmds (w.i.p. pro-active _Help: can cause bootloops)

List all whitelisted apps

RESET ALL appops

profman ALL: extract all app's _profman to local Android/data /com.oF2pks.adbungfu/files

let me know about any ADB related specific needs.

Up-left white spinner to select appOps or icon/Launcher usefullest RUN_IN_BACKGROUND shortcut.

Apps are grayed for empty uses & listed with time durations for active ones.

You can use icon/Launcher shortcut or sort option to toggle +/- ☢DARK/System apps (use with extreme care!).

<item>19,0,GPS</item>
<item>19,8,VIBRATE</item>
<item>19,0,POST_NOTIFICATION</item>
<item>19,0,NEIGHBORING_CELLS</item>
<item>19,5,WRITE_SMS</item>
<item>19,0,WRITE_ICC_SMS</item>
<item>19,8,SYSTEM_ALERT_WINDOW</item>
<item>19,0,PLAY_AUDIO</item>
<item>19,0,READ_CLIPBOARD</item>
<item>19,0,WRITE_CLIPBOARD</item>
<item>19,0,TAKE_MEDIA_BUTTONS</item>
<item>19,0,TAKE_AUDIO_FOCUS</item>
<item>19,0,AUDIO_MASTER_VOLUME</item>
<item>19,0,AUDIO_VOICE_VOLUME</item>
<item>19,0,AUDIO_RING_VOLUME</item>
<item>19,0,AUDIO_MEDIA_VOLUME</item>
<item>19,0,AUDIO_ALARM_VOLUME</item>
<item>19,0,AUDIO_NOTIFICATION_VOLUME</item>
<item>19,0,AUDIO_BLUETOOTH_VOLUME</item>
<item>19,8,WAKE_LOCK</item>
<item>19,0,MONITOR_LOCATION</item>
<item>19,0,MONITOR_HIGH_POWER_LOCATION</item>
<item>21,0,MUTE_MICROPHONE</item>
<item>21,1,TOAST_WINDOW</item>
<item>21,5,PROJECT_MEDIA</item>
<item>21,5,ACTIVATE_VPN</item>
<item>23,0,WRITE_WALLPAPER</item>
<item>23,0,ASSIST_STRUCTURE</item>
<item>23,0,ASSIST_SCREENSHOT</item>
<item>23,8,BODY_SENSORS</item>
<item>23,4,MOCK_LOCATION</item>
<item>23,0,TURN_ON_SCREEN</item>
<item>24,0,RUN_IN_BACKGROUND</item>
<item>26,0,AUDIO_ACCESSIBILITY_VOLUME</item>
<item>26,0,PICTURE_IN_PICTURE</item>
<item>26,8,INSTANT_APP_START_FOREGROUND</item>
<item>28,0,RUN_ANY_IN_BACKGROUND</item>
<item>28,4,MANAGE_IPSEC_TUNNELS</item>
<item>28,8,START_FOREGROUND</item>
<item>28,0,BLUETOOTH_SCAN</item>
<item>29,8,USE_BIOMETRIC</item>
<item>29,8,ACTIVITY_RECOGNITION</item>
<item>29,0,READ_MEDIA_AUDIO</item>
<item>29,4,WRITE_MEDIA_AUDIO</item>
<item>29,0,READ_MEDIA_VIDEO</item>
<item>29,4,WRITE_MEDIA_VIDEO</item>
<item>29,0,READ_MEDIA_IMAGES</item>
<item>29,4,WRITE_MEDIA_IMAGES</item>
<item>29,0,LEGACY_STORAGE</item>
<item>29,0,ACCESS_ACCESSIBILITY</item>
<item>29,4,READ_DEVICE_IDENTIFIERS</item>
<item>30,3,QUERY_ALL_PACKAGES</item>
<item>30,5,ACTIVATE_PLATFORM_VPN</item>
<item>30,3,AUTO_REVOKE_PERMISSIONS_IF_UNUSED</item>
<item>30,0,AUTO_REVOKE_MANAGED_BY_INSTALLER</item>
<item>30,4,NO_ISOLATED_STORAGE</item>
<item>30,0,PHONE_CALL_MICROPHONE</item>
<item>30,0,PHONE_CALL_CAMERA</item>
<item>30,0,RECORD_AUDIO_HOTWORD</item>
<item>31,3,MANAGE_CREDENTIALS</item>
<item>31,0,RECORD_AUDIO_OUTPUT</item>
<item>31,0,FINE_LOCATION_SOURCE</item>
<item>31,0,COARSE_LOCATION_SOURCE</item>
<item>31,0,ACTIVITY_RECOGNITION_SOURCE</item>
<item>31,0,RECORD_INCOMING_PHONE_AUDIO</item>
<item>32,0,ESTABLISH_VPN_SERVICE</item>
<item>32,0,ESTABLISH_VPN_MANAGER</item>

Any disabled app won't appear anymore in launcher but will keep all data safe. Toggle +/- ☢DARK/System apps to re-enabled them.

- If you want to

force-doze or kill

apps, use (fdroid) dynamic warder: https://f-droid.org/en/packages/superfreeze.tool.android/

Despite using permission.PACKAGE_USAGE_STATS added for android 11 and up, ADBungFu will remain strictly static and will not track other app live dynamic behavior (SuperFreezZ can also be used in a simplified way: force-doze + screen-off).

- If you want to

disable Events

like start_at_boot use static

Autostarts

(Pie/arm64 compatible): https://xdaforums.com/t/app-root-7-0-runinbackgroundsetter-v1-4-25-07-2017.3637705/post-81954189

View attachment 5025469 View attachment 5025471 View attachment 5025481 View attachment 5025483 View attachment 5025479

prim-origin: https://xdaforums.com/android/apps-games/app-runinbackgroundsetter-v1-0-t3637705

GPLv3: https://bitbucket.org/oF2pks/adbungfupermissionsetter/commits/