iOS artifacts · Lesson 5 of 7
Screen Time, app usage and notifications
10 min read
Two questions come up in almost every mobile case: which apps were used, and when; and what the phone told its user through notifications. iOS answers both from several overlapping sources, and none of them is complete on its own. Screen Time keeps its own databases, Biome records app focus and per-app usage, PowerLog tracks app run time, and notifications are kept in property lists and in two families of SEGB streams. This lesson covers where each source lives, what its records mean on current versions, and how to combine them. It builds on the Biome format from lesson 4.4; PowerLog is covered in lesson 4.6.
Screen Time
Screen Time shows users how long they spend in each app, lets them set limits and downtime, and lets parents manage children's devices through Family Sharing. Its data is managed by a system service called remotemanagementd.
The RMAdminStore databases
Screen Time's databases are in /private/var/mobile/Library/Application Support/com.apple.remotemanagementd/:
- RMAdminStore-Local.sqlite holds Screen Time data for this device.
- RMAdminStore-Cloud.sqlite holds data synchronized through iCloud, which can include the user's other devices and family members.
Both are Core Data stores, so table names begin with Z and dates are Mac absolute seconds. Copy their -wal files too. The tables fall into three groups:
| Group | Tables | Content |
|---|---|---|
| Settings | ZSCREENTIMESETTINGS, ZCOREORGANIZATIONSETTINGS | Whether Screen Time and cloud sync are on, communication limits, Communication Safety flags |
| People and devices | ZCOREUSER, ZCOREDEVICE, ZUSERDEVICESTATE, ZINSTALLEDAPP | Apple Account names and identifiers, devices, per-device state such as the last use of the Screen Time passcode, installed apps |
| Usage | ZUSAGE, ZUSAGEBLOCK, ZUSAGECATEGORY, ZUSAGETIMEDITEM, ZUSAGECOUNTEDITEM | Usage blocks with start dates and first pickup, time per category, time per app (ZBUNDLEIDENTIFIER) or web domain (ZDOMAIN) in ZTOTALTIMEINSECONDS, and pickups and notifications per app |
Restrictions and always-allowed apps are stored as blueprints (ZBLUEPRINT) with declarations in ZBLUEPRINTCONFIGURATION, whose payload is a plist. Separate tables for downtime schedules and usage limits, such as ZDOWNTIME and ZBLUEPRINTUSAGELIMIT, exist but were empty in every store iLEAPP tested.
A version change you must know
The usage tables are where older guides tell you to look, and up to iOS 17 that advice usually holds. In iLEAPP's tests on 22 images, the usage tables held rows on 15 of the 16 images from iOS 12.4 to 17.6.1 (one iOS 17.1.1 image had none), and no rows on any of the six iOS 18 and iOS 26 images, in either the local or the cloud store. On three of the images without usage rows, the Core Data persistent history (the tables ATRANSACTION and ACHANGE) shows that rows were created and later deleted. On iOS 18 and iOS 26, therefore, use the RMAdminStore databases for settings, accounts, devices and installed apps, and take per-app usage from the sources below. Parse the persistent history too: it can record deleted rows, and a deleted installed-app row keeps its bundle ID, although that deletion does not prove the app was uninstalled. No published test of these tables on iOS 27 was found, so open them before assuming either pattern.
The Screen Time passcode can also be stored in this store. It is personal data outside most scopes, and tools such as iLEAPP deliberately report only whether one is set.
Biome ScreenTime.AppUsage
From iOS 17.5 to iOS 26, the versions tested so far, the stream /private/var/mobile/Library/Biome/streams/restricted/ScreenTime.AppUsage/local records per-app usage events. Each record holds a bundle ID, a starting flag (the app's usage starts or stops) and an absolute timestamp field. That field is in Unix seconds, not Mac absolute time: Apple's BiomeLibrary framework decodes it that way, and in iLEAPP's tests it was within two seconds of the SEGB record timestamp on almost every record. The stream's retention is about 28 days. Pair each start with the next stop for the same bundle ID to obtain usage intervals, and keep the stored values in your notes.
A worked example with illustrative values from Day 2 of the Corvane case: a start record for net.whatsapp.WhatsApp with absolute timestamp 1,773,222,045 and the next stop record with 1,773,222,130 give an interval of 85 seconds, from 2026-03-11 09:40:45 to 09:42:10 UTC, which is 10:40:45 to 10:42:10 at the case's UTC+01:00. Subtracting 978,307,200 from each value gives 794,914,845 and 794,914,930, the Mac absolute times you would expect in the SEGB record timestamps if the two clocks agree. Checking that agreement is a quick test that you have the epoch right. An unmatched start, with no stop before the file ends or before the next start, should be reported as open rather than closed at an assumed time.
Other sources of app usage
| Source | Path | Best for | Limits |
|---|---|---|---|
| Biome App.InFocus | Biome restricted streams; public/AppLaunch on iOS 15 and 16 (lesson 4.4) | Exact foreground transitions | About 28 days; separate local and remote records |
| knowledgeC /app/inFocus | knowledgeC.db | Older devices | Empty on iOS 16 to 26 test images |
| ScreenTime.AppUsage | Biome restricted stream | Screen Time view of usage | Tested on iOS 17.5 to 26; about 28 days |
| PowerLog | CurrentPowerlog.PLSQL (lesson 4.6) | App run time per hour, app state changes | About a week in the current file, older days in archives |
| applicationState.db snapshots | FrontBoard (lesson 4.1) | Supporting detail | Snapshot dates do not prove the app was in use |
Two cautions apply to all of them. An app in the foreground is not proof that a person was looking at it: the screen may have stayed on, or a call or navigation app may have been displayed on CarPlay. And usage records describe the device, not the user (lesson 1.1). Where sources agree, say so; where they disagree, report both and explain the difference.
Notifications
Notifications can preserve the content of a message after the message itself is gone, and they show which apps were sending information to the user at a given time. iOS keeps them in several places.
DeliveredNotifications.plist
Notifications that are currently in Notification Center are stored in /private/var/mobile/Library/UserNotifications/<folder>/DeliveredNotifications.plist, one folder per app. On iOS 15 and later the folders are named with UUIDs, and the file Library.plist in UserNotifications maps each app's bundle ID to its folder. Each entry is an archived dictionary whose keys include AppNotificationCreationDate, AppNotificationTitle, AppNotificationSubtitle, AppNotificationMessage (the body) and AppNotificationAttachments. Many apps add keys of their own, such as a sender display name (CommunicationContextDisplayName) and a thread identifier, and attachments can include images, for example a thumbnail of a received photo. Decode the archives as described in lesson 4.2, and convert AppNotificationCreationDate as an NSDate. PendingNotifications.plist in the same folders holds notifications scheduled but not yet delivered, with their triggers. When the user clears a notification, it leaves this plist; earlier records may survive only in the streams below.
On iOS 11 and earlier, notifications were stored in SpringBoard's PushStore files instead.
Biome Notification.Usage
The stream /private/var/mobile/Library/Biome/streams/restricted/Notification.Usage records what happened to each notification. Field names come from the BMNotificationUsage class in Apple's Biome framework:
- Usage type: for example 1 Receive, 2 DefaultAction (the user tapped it), 4 Clear, 7 Hidden, 11 Expired, 17 ReceivedAndDeliveredActively and 18 ReceivedAndDeliveredPassively.
- Bundle ID, title, subtitle, thread ID, contact IDs, a group-message flag and the body length.
Retention is about 28 days. On iOS 15 and 16 the same records were in the public stream Notification under /private/var/mobile/Library/Biome/streams/public. Each record has its own timestamp field (Mac absolute seconds) besides the SEGB timestamp. The two often disagree: in iLEAPP's tests they differed by more than a day on about four records in ten. Which one marks the event is not established, so report both. The usage type is valuable: it can show that a notification was received and then cleared, or that the user tapped it to open the app.
Notification.Delivery
A third stream, /private/var/mobile/Library/Biome/streams/restricted/Notification.Delivery, is known so far from a single test image. It records the delivering app, the app's own identifier for the notified item and a delivery time, which iLEAPP reads as Unix seconds. On that image the identifier of each Messages notification matched message.guid in sms.db, which links a notification to a specific message. The delivery time was sometimes up to a day earlier than the SEGB timestamp, and it is not the time the message was sent. The field meanings were inferred from that image, not from Apple's code: use this stream as a lead and validate it on the version you examine.
DuetExpertCenter userNotificationEvents
A separate SEGB stream at /private/var/mobile/Library/DuetExpertCenter/streams/userNotificationEvents/local holds notification records with a time, an identifier, title, subtitle, body and bundle ID. No schema has been published: iLEAPP reads its times as Mac absolute seconds, and the field labels are iLEAPP's own. Where body text is present, this stream can hold the words of a message that was later deleted or unsent, which lesson 5.5 develops.
Interpreting usage and notification records
- Delivery is not reading. A received notification shows that content reached the device, not that anyone looked at it. A DefaultAction or Clear usage type is stronger evidence of interaction.
- Previews depend on settings. If the user chose not to show previews, or the app sends only generic text, the notification may hold no content at all.
- Apps decide what they send. Messaging apps choose what to include in a notification, and some encrypt or omit message text.
- Retention and clearing differ. The plist reflects only what is still in Notification Center; Biome streams keep weeks; neither is complete.
- Time zones. Notification timestamps are UTC values; convert them with the device's time zone history (the Biome Device.TimeZone stream of lesson 4.4; lesson 6.4 covers time zones in depth).
- What is established. Once you have confirmed the path and version, you can rely on the keys and creation date of DeliveredNotifications.plist; the usage type names, bundle ID and title of Notification.Usage; the bundle ID, starting flag and Unix epoch of ScreenTime.AppUsage; and the settings, accounts and devices in the RMAdminStore databases.
- What is only observed. Report as observations, with their limits, which of the two Notification.Usage timestamps marks the event, whether ScreenTime.AppUsage is complete, what an empty RMAdminStore usage table means, and every field of Notification.Delivery.
Applying this to the Corvane case
On Lena's iPhone, which runs iOS 26, RMAdminStore-Local.sqlite shows that Screen Time is enabled but holds no usage rows. That is the pattern of the iOS 18 and iOS 26 test images, so the examiner records the build and draws no conclusion from the empty tables. The phone was collected on Day 9, inside the 28-day retention of the Biome streams. ScreenTime.AppUsage and App.InFocus together show WhatsApp starting and stopping several times during the meeting at the café on Day 2, including the interval of the worked example, which contains the time the three images were sent (lesson 5.2). Notification.Usage records a WhatsApp notification received on Lena's phone shortly after the photos were sent, with a title matching Victor's contact name, and a Clear event minutes later. The examiner reports both the record's own timestamp and the SEGB timestamp of each record; here the two agree to within seconds, which is why the events can be placed in time. The examiner reports these records as evidence of WhatsApp activity and of an incoming notification at those times, and notes that the notification body length is stored but the body itself is not.
Exam focus: Know the RMAdminStore paths, the main table groups, and that their usage tables were empty on the iOS 18 and iOS 26 images tested. Know where DeliveredNotifications.plist, Biome Notification.Usage and DuetExpertCenter userNotificationEvents are stored, what the main usage types mean, and why a notification or an app in focus does not prove the user read or looked at something.
Practice questions
Check your understanding. These questions do not count towards the exam.
Sign in to save your progress and continue where you left off. It is free. Sign in