diff --git a/pymobiledevice3/resources/firmware_notifications.py b/pymobiledevice3/resources/firmware_notifications.py index 4a4206029..a7ba3d4cc 100644 --- a/pymobiledevice3/resources/firmware_notifications.py +++ b/pymobiledevice3/resources/firmware_notifications.py @@ -35,8 +35,12 @@ def main(root_fs): continue filename = os.path.join(launch_daemons, filename) - with open(filename, 'rb') as f: - plist = plistlib.load(f) + try: + with open(filename, 'rb') as f: + plist = plistlib.load(f) + except Exception: + logging.exception(f'error parsing: {filename}') + continue launch_events = plist.get('LaunchEvents', {}) notifyd_matching = launch_events.get('com.apple.notifyd.matching', {}) diff --git a/pymobiledevice3/resources/notifications.txt b/pymobiledevice3/resources/notifications.txt index c0c1ca3a7..b125f3e41 100644 --- a/pymobiledevice3/resources/notifications.txt +++ b/pymobiledevice3/resources/notifications.txt @@ -9,10 +9,12 @@ AppleLanguagePreferencesChangedNotification AppleNumberPreferencesChangedNotification ApplePreferredContentSizeCategoryChangedNotification AppleTimePreferencesChangedNotification +BTSettingsHRMConnectedNotification BYSetupAssistantFinishedDarwinNotification CKAccountChangedNotification CKIdentityUpdateNotification CNContactStoreDidChangeNotification +CNContactStoreLimitedAccessDidChangeNotification CNContactStoreMeContactDidChangeNotification CNFavoritesChangedExternallyNotification CSLDisableWristDetectionChangedNotification @@ -28,6 +30,7 @@ FMLMeDeviceChangedNotification FitnessPlusPlanCoachingDefaultsUpdatedNotification HKHealthDaemonActiveDataCollectionWillStartNotification HKHealthDaemonActiveWorkoutServersDidUpdateNotification +HKHealthPeripheralStatusDidChangeNotification INVoocabularyChangedNotification MFNanoMailImportantBridgeSettingHasChangedDarwinNotification MISProvisioningProfileInstalled @@ -35,23 +38,28 @@ MISProvisioningProfileRemoved MPStoreClientTokenDidChangeNotification NILocalDeviceStartedInteractingWithTokenNotification NanoLifestylePreferencesChangedNotification +NanoLifestylePrivacyPreferencesChangedNotification NewCarrierNotification NewOperatorNotification NoteContextDarwinNotificationWithLoggedChanges PCPreferencesDidChangeNotification RTLocationsOfInterestDidChangeNotification +RTLocationsOfInterestDidClearNotification SBApplicationNotificationStateChanged SLSharedWithYouAppSettingHasChanged SLSharedWithYouSettingHasChanged +SPAccountRemovedNotification SUPreferencesChangedNotification SeymourWorkoutPlanChanged SignificantTimeChangeNotification +TMRTCResetNotification UIAccessibilityInvertColorsChanged VMStoreSetTokenNotification VT Phrase Type changed VVMessageWaitingFallbackNotification _CDPWalrusStateChangeDarwinNotification _CalDatabaseChangedNotification +_CalDatabaseIntegrationDataChangedNotification __ABDataBaseChangedByOtherProcessNotification com.apple.AOSNotification.FMIPStateDidChange com.apple.AirTunes.DACP.device-prevent-playback @@ -66,23 +74,34 @@ com.apple.AirTunes.DACP.repeatadv com.apple.AirTunes.DACP.shuffletoggle com.apple.AirTunes.DACP.volumedown com.apple.AirTunes.DACP.volumeup +com.apple.AppleMediaServices.accountCachedData.dataUpdated com.apple.AppleMediaServices.deviceOffersChanged +com.apple.AppleMediaServices.eligibilityoverridechanged +com.apple.ApplicationService.replicatord.terminus +com.apple.BiometricKit.matchOperationStartAttempted com.apple.BiometricKit.passcodeGracePeriodChanged com.apple.CallHistoryPluginHelper.launchnotification com.apple.Carousel.wristStateChanged +com.apple.CascadeSets.DonateNow com.apple.CloudSubscriptionFeature.Changed +com.apple.CloudSubscriptionFeatures.OptIn.Changed com.apple.ContinuityKeyBoard.enabled com.apple.DuetHeuristic-BM.shutdowsoon com.apple.EscrowSecurityAlert.record com.apple.EscrowSecurityAlert.reset com.apple.EscrowSecurityAlert.server +com.apple.FindMyDevice.LocatableStateReported +com.apple.FitnessCoaching.FCPauseRingsSampleChangedNotification com.apple.GeoServices.PreferencesSync.SettingsChanged com.apple.GeoServices.navigation.started com.apple.GeoServices.navigation.stopped +com.apple.GeoServices.pairedDeviceExperimentsConfigChanged com.apple.InstallerDiagnostics.ReportFactoryInstall com.apple.LaunchServices.ApplicationsChanged com.apple.LaunchServices.applicationRegistered com.apple.LaunchServices.applicationUnregistered +com.apple.LaunchServices.database +com.apple.LocalAuthentication.ratchet.StateDidChange com.apple.LockdownMode.accountChanged com.apple.LoginKit.isLoggedIn com.apple.MCX._managementStatusChangedForDomains @@ -97,6 +116,13 @@ com.apple.MediaRemote.nowPlayingApplicationIsPlayingDidChange com.apple.MediaRemote.nowPlayingInfoDidChange com.apple.MobileAsset.AppleKeyServicesCRL.new-asset-installed com.apple.MobileAsset.AutoAssetAtomicNotification^ATOMIC_INSTANCE_DOWNLOADED +com.apple.MobileAsset.AutoAssetAtomicNotification^ATOMIC_INSTANCE_ELIMINATED +com.apple.MobileAsset.AutoAssetAtomicNotification^ATOMIC_INSTANCE_NO_ENTRIES +com.apple.MobileAsset.AutoAssetAtomicNotification^com.apple.translation.assets^ATOMIC_INSTANCE_DOWNLOADED +com.apple.MobileAsset.AutoAssetAtomicNotification^com.apple.translation.assets^ATOMIC_INSTANCE_ELIMINATED +com.apple.MobileAsset.AutoAssetAtomicNotification^com.apple.translation.assets^ATOMIC_INSTANCE_NO_ENTRIES +com.apple.MobileAsset.AutoAssetNotification^com.apple.MobileAsset.MAAutoAsset^STARTUP_ACTIVATED +com.apple.MobileAsset.AutoAssetNotification^com.apple.MobileAsset.OSEligibility^ASSET_VERSION_DOWNLOADED com.apple.MobileAsset.CoreTextAssets.ma.cached-metadata-updated com.apple.MobileAsset.CoreTextAssets.ma.new-asset-installed com.apple.MobileAsset.EmbeddedSpeech.ma.new-asset-installed @@ -171,6 +197,7 @@ com.apple.SiriTTSTrainingAgent.taskEvent.undefined com.apple.SoftwareUpdate.CheckForCatalogChange com.apple.SoftwareUpdate.SUPreferencesChanged com.apple.SoftwareUpdate.TriggerBackgroundCheck +com.apple.StoreServices.SSAccountStore.activeaccountchanged com.apple.StoreServices.StorefrontChanged com.apple.SynthesisProvider.updatedVoices com.apple.TVRemoteCore.connectionRequested @@ -184,6 +211,7 @@ com.apple.UsageTrackingAgent.registration.application com.apple.UsageTrackingAgent.registration.now-playing com.apple.UsageTrackingAgent.registration.video com.apple.UsageTrackingAgent.registration.web-domain +com.apple.UserProfiles.ProfileStoreDidUpdate com.apple.VideoSubscriberAccount.DidRegisterSubscription com.apple.VideosUI.PlayHistoryUpdatedNotification com.apple.VideosUI.StoreAcquisitionCrossProcessNotification @@ -215,6 +243,11 @@ com.apple.ap.adprivacyd.iTunesActiveStorefrontDidChangeNotification com.apple.ap.adprivacyd.launch com.apple.ap.adprivacyd.reconcile com.apple.appletv.backgroundstate +com.apple.appplaceholdersyncd.replicatorclient.message +com.apple.appplaceholdersyncd.replicatorclient.record +com.apple.appprotection.change +com.apple.appprotection.change.hidden +com.apple.appprotection.change.locked com.apple.appstored.ActivitySubEntitlementsCacheUpdated com.apple.appstored.AppStoreSubEntitlementsCacheUpdated com.apple.appstored.HWBundleSubEntitlementsCacheUpdated @@ -224,6 +257,9 @@ com.apple.appstored.PodcastSubEntitlementsCacheUpdated com.apple.appstored.TVSubEntitlementsCacheUpdated com.apple.appstored.iCloudSubEntitlementsCacheUpdated com.apple.assistant.app_vocabulary +com.apple.assistant.domain.didChange +com.apple.assistant.domain.preferences.didChange +com.apple.assistant.domain.priority.didChange com.apple.assistant.siri_settings_did_change com.apple.assistant.speech-capture.finished com.apple.assistant.sync_data_changed @@ -240,6 +276,7 @@ com.apple.bluetooth.accessory-authentication.success com.apple.bluetooth.connection com.apple.bluetooth.daemonStarted com.apple.bluetooth.pairing +com.apple.bluetooth.pairingWithReason com.apple.bluetooth.state com.apple.bookmarks.BookmarksFileChanged com.apple.calendar.database.preference.notification.kCalPreferredDaysToSyncKey @@ -247,6 +284,7 @@ com.apple.calendar.database.preference.notification.suggestEventLocations com.apple.callhistory.RecentsClearedNotification com.apple.callhistory.notification.calls-changed com.apple.callhistorysync.idslaunchnotification +com.apple.callkit.calldirectorymanager.identificationentrieschanged com.apple.carkit.capabilities-changed com.apple.carkit.carplay-attached com.apple.cddcommunicator.batteryChanged @@ -254,6 +292,8 @@ com.apple.cddcommunicator.nwchanged com.apple.cddcommunicator.pluginChanged com.apple.cddcommunicator.thermalChanged com.apple.chatkit.groups.siri_data_changed +com.apple.chronod.replicator.message +com.apple.chronod.replicator.record com.apple.cloud.quota.simulate.vfs.almostfull com.apple.cloud.quota.simulate.vfs.notfull com.apple.cloudd.pcsIdentityUpdate-com.apple.ProactivePredictionsBackup @@ -264,14 +304,18 @@ com.apple.cmio.VDCAssistant.attach-notification com.apple.commcenter.DataSettingsChangedNotification com.apple.commcenter.InternationalRoamingEDGE.changed com.apple.contacts.clientDidDisplayFavorites +com.apple.coreaudio.BorealisToggled +com.apple.coreaudio.IORunning com.apple.coreaudio.RoutingConfiguration com.apple.coreaudio.borealisTrigger +com.apple.coreaudio.components.changed com.apple.coreaudio.speechDetectionVAD.created com.apple.coreduet.client-needs-help.coreduetd com.apple.coreduet.idslaunchnotification com.apple.coreduetd.knowledgebase.launch.duetexpertd com.apple.coreduetd.nearbydeviceschanged com.apple.coreduetd.remoteDeviceChange +com.apple.coregraphics.GUIConsoleSessionChanged com.apple.coremedia.carplayisconnected com.apple.corerecents.iCloudAccountChanged com.apple.corespotlight.developer.ReindexAllItems @@ -282,6 +326,7 @@ com.apple.dataaccess.checkHolidayCalendarAccount com.apple.dataaccess.ping com.apple.datamigrator.datamigrationcompletecontinuerestore com.apple.datamigrator.migrationDidFinish +com.apple.devicemanagementclient.devicePostureChanged com.apple.devicemanagementclient.longLivedTokenChanged com.apple.dmd.budget.didChange com.apple.dmd.iCloudAccount.didChange @@ -324,6 +369,7 @@ com.apple.duetexpertd.ms.nowplayingplay com.apple.duetexpertd.prefschanged com.apple.duetexpertd.sportsTeamsChanged com.apple.duetexpertd.updateDefaultsDueToRelevantHomeScreenConfigUpdate +com.apple.eventkit.preference.notification.AlertInviteeDeclines com.apple.eventkit.preference.notification.UnselectedCalendarIdentifiersForFocusMode com.apple.exchangesyncd.ping com.apple.fairplayd.resync-fpkeybag @@ -331,6 +377,8 @@ com.apple.family.family_updated com.apple.fitness.FitnessAppInstalled com.apple.gamepolicy.daemon.launch com.apple.geoservices.siri_data_changed +com.apple.gms.availability.notification +com.apple.gms.availability.notification.private com.apple.hangtracerd.htse_state_changed com.apple.healthlite.SleepDetectedActivity com.apple.healthlite.SleepSessionEndRequest @@ -391,9 +439,13 @@ com.apple.kvs.store-did-change.com.apple.iBooks com.apple.kvs.store-did-change.com.apple.reminders com.apple.kvs.store-did-change.com.apple.sleepd com.apple.language.changed +com.apple.liveactivitiesd.replicatorParticipant.message +com.apple.liveactivitiesd.replicatorParticipant.record com.apple.livespeech.localprefschanged com.apple.locationd.appreset com.apple.locationd.authorization +com.apple.locationd.gathering.bufferedDevicesReceived +com.apple.locationd.gathering.came_up com.apple.locationd.vehicle.connected com.apple.locationd.vehicle.disconnected com.apple.locationd.vehicle.exit @@ -414,9 +466,12 @@ com.apple.mobile.lockdown.BonjourPairingServiceChanged com.apple.mobile.lockdown.BonjourServiceChanged com.apple.mobile.lockdown.activation_state com.apple.mobile.lockdown.device_name_changed +com.apple.mobile.lockdown.host_paired +com.apple.mobile.lockdown.trusted_host_attached com.apple.mobile.storage_unmounted com.apple.mobilecal.invitationalertschanged com.apple.mobilecal.preference.notification.calendarsExcludedFromNotifications +com.apple.mobilecal.preference.notification.overlayCalendarID com.apple.mobilecal.preference.notification.weekStart com.apple.mobilecal.timezonechanged com.apple.mobileipod-prefsChanged @@ -427,6 +482,7 @@ com.apple.mobileipod.libraryimportdidfinish com.apple.mobileipod.noncontentspropertieschanged com.apple.mobilemail.afc.poll com.apple.mobileme.fmf1.allowFindMyFriendsModification +com.apple.mobilerepair.refreshui com.apple.mobileslideshow.ICPLStateChanged com.apple.mobileslideshow.PLNotificationKeepOriginalsChanged com.apple.mobiletimerd.bedtimetest @@ -437,6 +493,7 @@ com.apple.mobiletimerd.reset com.apple.mobiletimerd.resttest com.apple.mobiletimerd.waketest com.apple.mobiletimerd.wakeuptest +com.apple.modelcatalog.generative-experiences-readiness com.apple.nanomusic.sync.defaults com.apple.nanophotos.prefs.LibraryCollectionTargetMapData-changed com.apple.nanoregistry.devicedidpair @@ -451,8 +508,16 @@ com.apple.nearfield.handoff.terminal com.apple.networkextension.app-paths-changed com.apple.networkextension.apps-changed com.apple.networkextension.nehelper-init +com.apple.networkrelay.launch.phs com.apple.networkserviceproxy.reset com.apple.nfcacd.multitag.state.change +com.apple.os-eligibility-domain.change +com.apple.os-eligibility-domain.change.aluminum +com.apple.os-eligibility-domain.change.chromium +com.apple.os-eligibility-domain.change.greymatter +com.apple.os-eligibility-domain.change.manganese +com.apple.os-eligibility-domain.change.silicon +com.apple.os-eligibility-domain.input-needed com.apple.pairedsync.syncDidComplete com.apple.parsec-fbf.FLUploadImmediately com.apple.parsecd.bag @@ -460,6 +525,7 @@ com.apple.parsecd.queries.clearData com.apple.pasteboard.notify.changed com.apple.pex.connections.focalappchanged com.apple.photos.DidUpdateAutonamingUserFeedback +com.apple.photosface.network-service com.apple.photostream.idslaunchnotification com.apple.powerlog.batteryServiceNotification com.apple.powermanagement.idlesleeppreventers @@ -469,6 +535,7 @@ com.apple.powermanagement.systemsleeppreventers com.apple.powerui.requiredFullCharge com.apple.powerui.smartcharge com.apple.private.SensorKit.pedometer.stridecalibration +com.apple.private.restrict-post.MobileBackup.backgroundCellularAccessChanged com.apple.proactive.PersonalizationPortrait.namedEntitiesInvalidated com.apple.proactive.information.source.weather com.apple.proactive.queries.clearData @@ -477,14 +544,20 @@ com.apple.purplebuddy.setupdone com.apple.purplebuddy.setupexited com.apple.pushproxy.idslaunchnotification com.apple.rapport.CompanionLinkDeviceAdded +com.apple.rapport.CompanionLinkDeviceRemoved com.apple.rapport.prefsChanged com.apple.remindd.nano_preferences_sync +com.apple.reminderkit.storeChanged com.apple.remotemanagement.accountsChanged +com.apple.remotepairingdevice.host_paired +com.apple.replicatord.devicesChanged +com.apple.request.hipuncap com.apple.sbd.kvstorechange com.apple.screensharing.idslaunchnotification com.apple.security.cloudkeychain.forceupdate com.apple.security.cloudkeychainproxy.kvstorechange3 com.apple.security.itembackup +com.apple.security.kcsharing.groupsupdated com.apple.security.octagon.joined-with-bottle com.apple.security.octagon.peer-changed com.apple.security.octagon.trust-status-change @@ -502,6 +575,7 @@ com.apple.shortcuts.daemon-wakeup-request com.apple.shortcuts.runner-prewarm-request com.apple.siri.ShortcutsCloudKitAccountAddedNotification com.apple.siri.ShortcutsCloudKitAccountModifiedNotification +com.apple.siri.VoiceShortcuts.DataDidUpdateNotification com.apple.siri.client.state.DynamiteClientState.siri_data_changed com.apple.siri.cloud.storage.deleted com.apple.siri.cloud.synch.changed @@ -510,10 +584,20 @@ com.apple.siri.inference.audio-app-signals-update com.apple.siri.koa.donate com.apple.siri.power.PowerContextPolicy.updated com.apple.siri.preheat.quiet +com.apple.siri.uaf.com.apple.MobileAsset.UAF.FM.Overrides +com.apple.siri.uaf.com.apple.MobileAsset.UAF.FM.Overrides.root +com.apple.siri.uaf.com.apple.MobileAsset.UAF.FM.Visual +com.apple.siri.uaf.com.apple.modelcatalog +com.apple.siri.uaf.com.apple.modelcatalog.root +com.apple.siri.uaf.com.apple.siri.understanding +com.apple.siri.uaf.com.apple.siri.understanding.nl.overrides +com.apple.siri.uaf.com.apple.speech.automaticspeechrecognition +com.apple.siri.uaf.com.apple.voiceassistant.perception com.apple.siri.vocabulary.contacts_changed com.apple.sleep.sync.SleepRecordDidChange com.apple.sleep.sync.SleepScheduleDidChange com.apple.sleep.sync.SleepSettingsDidChange +com.apple.sleepd.analytics com.apple.sleepd.cloudkit.reset com.apple.sleepd.diagnostics com.apple.sleepd.ids.test @@ -545,6 +629,8 @@ com.apple.suggestions.settingsChanged com.apple.symptoms.materialLinkQualityChange com.apple.sysdiagnose.sysdiagnoseStarted com.apple.sysdiagnose.sysdiagnoseStopped +com.apple.system.accpowersources.attach +com.apple.system.accpowersources.source com.apple.system.clock_set com.apple.system.config.network_change com.apple.system.hostname @@ -589,6 +675,8 @@ com.apple.ttsasset.NewAssetNotification com.apple.tv.TVWidgetExtension.Register com.apple.tv.appRemoved com.apple.tv.updateAppVisibility +com.apple.uarp.BTLEServer.personalizationNeeded +com.apple.uarp.UARPUpdaterServiceHID.personalizationNeeded com.apple.videos.migrationCompleted com.apple.voicemail.ReloadService com.apple.voicemail.VVVerifierCheckpointDictionaryChanged @@ -602,11 +690,14 @@ com.apple.voicetrigger.RemoteDarwin.EarlyDetect com.apple.voicetrigger.XPCRestarted com.apple.voicetrigger.enablePolicyChanged com.apple.wcd.wake-up +com.apple.webinspectord.disabled +com.apple.webinspectord.enabled com.apple.welcomekitinternalsettings.dismissed com.apple.wirelessinsightsd.anonymity com.apple.wirelessproximity.launch dmf.policy.monitor.app kAFPreferencesDidChangeDarwinNotification +kCTSMSCellBroadcastConfigChangedNotification kCalBirthdayDefaultAlarmChangedNote kCalEventOccurrenceCacheChangedNotification kFZACAppBundleIdentifierLaunchNotification