su -c gmscCommand-line for check optimization (in general):
There's a line written Whitelist (except idle) system apps: and if com.google.android.gms or com.android.vending line does not exist it means the app is optimized.
su -c dumpsys deviceidleCommand-line for check the Play Store standby bucket:
5 means exempted, 45 means restricted. Some ROMs move the app back to the exempted bucket on their own; the background permissions set by the module still apply.
su -c am get-standby-bucket com.android.vendingCommand-line for fix delayed incoming messages issue:
If the issue still persist, move the app to Not Optimized battery usage.
Warning: this deletes every file whose name contains gms inside /data/data, for all apps and not only Google Play services.
sucd /data/datafind . -type f -name '*gms*' -deleteIf something stops working after installing:
Re-enable the component with pm enable <package>/<component> (names are listed in service.sh), or uninstall the module to restore everything.
Command-line for enable Find My Device (optional):
The module disables it again on the next boot. To keep it enabled, remove the matching lines from service.sh.
su -c pm enable com.google.android.gms/com.google.android.gms.mdm.receivers.MdmDeviceAdminReceiver
Meta Module Recommended: @NoMount

