Closed hasanalt closed 1 year ago
i like this idea, do you have any resources to confirm these components are okay to disable? could this affect the app in any unintended ways?
it looks like each command needs to be run separately with
pymemuc
instead of being concated with&&
.pymemuc debug output:
2023-07-10 20:04:09,701 - pymemuc.pymemuc - DEBUG - pymemuc._memuc.memuc_run: 2023-07-10 20:04:09,702 - pymemuc.pymemuc - DEBUG - Command: "D:\Program Files\Microvirt\Memu\memuc.exe -i 3 adb shell pm disable com.supercell.clashroyale/com.supercell.titan.TimeAlarm && shell pm disable com.supercell.clashroyale/com.google.firebase.iid.FirebaseInstanceIdReceiver && shell pm disable com.supercell.clashroyale/com.supercell.id.SharedDataBroadcastReceiver && shell pm disable com.supercell.clashroyale/com.supercell.id.SharedDataReceiverBroadcastReceiver && shell pm disable com.supercell.clashroyale/com.google.android.datatransport.runtime.scheduling.jobscheduling.AlarmManagerSchedulerBroadcastReceiver && shell pm disable com.supercell.clashroyale/com.supercell.titan.PushMessageService && shell pm disable com.supercell.clashroyale/com.google.firebase.messaging.FirebaseMessagingService && shell pm disable com.supercell.clashroyale/com.google.firebase.components.ComponentDiscoveryService && shell pm disable com.supercell.clashroyale/com.google.android.gms.auth.api.signin.RevocationBoundService && shell pm disable com.supercell.clashroyale/com.google.android.datatransport.runtime.backends.TransportBackendDiscovery && shell pm disable com.supercell.clashroyale/com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService && shell pm disable com.supercell.clashroyale/com.supercell.titan.GameApp && shell pm disable com.supercell.clashroyale/com.supercell.id.ui.MainActivity && shell pm disable com.supercell.clashroyale/com.google.android.gms.auth.api.signin.internal.SignInHubActivity && shell pm disable com.supercell.clashroyale/com.helpshift.activities.HSMainActivity && shell pm disable com.supercell.clashroyale/com.helpshift.activities.HSDebugActivity && shell pm disable com.supercell.clashroyale/com.android.billingclient.api.ProxyBillingActivity && shell pm disable com.supercell.clashroyale/com.google.android.gms.common.api.GoogleApiActivity && shell pm disable com.supercell.clashroyale/com.google.android.play.core.common.PlayCoreDialogWrapperActivity && shell pm disable com.supercell.clashroyale/com.journeyapps.barcodescanner.CaptureActivity && shell pm disable com.supercell.clashroyale/io.sentry.android.core.SentryInitProvider && shell pm disable com.supercell.clashroyale/io.sentry.android.core.SentryPerformanceProvider && shell pm disable com.supercell.clashroyale/com.google.firebase.provider.FirebaseInitProvider && shell pm disable com.supercell.clashroyale/androidx.lifecycle.ProcessLifecycleOwnerInitializer" 2023-07-10 20:04:10,000 - pymemuc.pymemuc - DEBUG - Output: already connected to 127.0.0.1:21533 2023-07-10 20:04:10,002 - pymemuc.pymemuc - DEBUG - 2023-07-10 20:04:10,003 - pymemuc.pymemuc - DEBUG - Component {com.supercell.clashroyale/com.supercell.titan.TimeAlarm} new state: disabled
also, can you extract this out into a separate method called
disable_app_components()
? thanks
in new version i created new function for named disable_app_components and fixed && error These Are Not Critical Services Disabling Them Will Not Damage Game Function Game Working with Fully Functionality
Clash Royale Component Modifications for Reduce Usage
This pull request focuses on update the clash royale component heres the changes
-- Google Services Disabled (Just For Clash Royale) --
-- Clash Royale Buy Menu Disabled --
-- Notification Services Disabled --
-- Telemetry & Data Services Disabled --
-- Background Work Process Disabled --