最近在使用一个Framework.jar对通知有限制的A13学习机时,发现无法通过通知栏授权shizuku等adb应用,于是寻找方法。
明明很简单的方法,却没多少资料,最后通过AI解决了。
你可以通过以下 ADB 命令来关闭此限制:
adb shell "/system/bin/device_config set_sync_disabled_for_tests persistent"
adb shell "/system/bin/device_config put activity_manager max_phantom_processes 2147483647"
adb shell settings put global settings_enable_monitor_phantom_procs false
若使用甲壳虫adb工具:
/system/bin/device_config set_sync_disabled_for_tests persistent
/system/bin/device_config put activity_manager max_phantom_processes 2147483647
settings put global settings_enable_monitor_phantom_procs false
最后重启即可
Comments | NOTHING