Fix for OneUI, MiUi and other non-stock Android 12L and beyond
Install ADB
Make sure you have the Android Debug Bridge (ADB) installed on your other device. You can download SDK Platform Tools
! If you don't have a computer, you can follow the method shown in the video above to install ADB on your Android device itself.
Check ADB Devices
After the installation, confirm if you have your device connected via ADB
adb devices
Run the Commands
You should see your device listed in the output of the above command. Now run the following commands in the ADB shell:
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
Video
Video link:
https://www.4shared.com/s/fhP-VZodyge
All done!
You should be all set!