iOS7 downloads.28 s...
 
Notifications
Clear all

iOS7 downloads.28 sqlite database file

10 Posts
4 Users
0 Reactions
2,167 Views
Redcelica67
(@redcelica67)
Estimable Member
Joined: 17 years ago
Posts: 130
Topic starter  

Can anyone confirm what the persistent_manager_kind table within downloads.28 database indicates? I am assuming it relates to the types of media downloaded, but I just need clarification to support this theory.

Also, within the same database and under "datausage", I can cross-refer between the ZLIVEUSAGE and ZPROCESS to link app names to data usage and respective time stamps. I cannot figure out the timestamps though as they are in a strange format that is not NSDATE or EPOCH.

The core of this case revolves around excessive data usage via 3G, so any advice or experience of this that you can share would be really welcomed.

David


   
Quote
(@alexc)
Reputable Member
Joined: 16 years ago
Posts: 301
 

Can you share an example of the timestamps - might be something we've seen before?


   
ReplyQuote
(@alexc)
Reputable Member
Joined: 16 years ago
Posts: 301
 

But as a guess, I've occasionally seen the "old" Mac OS9 epoch used on iOS, which is seconds since 1904/01/01.


   
ReplyQuote
Redcelica67
(@redcelica67)
Estimable Member
Joined: 17 years ago
Posts: 130
Topic starter  

Hi Alex, thanks for your reply. I have uploaded 3 screenshots to my blog at http//4en6.me/2014/06/02/screenshots/ which will download a PDF of them.

An example of the timestamps in the table

ZTIMESTAMP
47753-11-11 093628.683


   
ReplyQuote
jaclaz
(@jaclaz)
Illustrious Member
Joined: 18 years ago
Posts: 5133
 

As another guess the tool you are using is attempting to "decode" the RAW date data using one convention (that is not the one actually used).

Seemingly the "epoch" used on iPhones is starting on 2001-01-01 at 000000 (thus it needs a correction of +97830720 to become "normal" Unix Epoch starting 1970-01-01 at 000000), see
http//iphone-recover.blogspot.it/

jaclaz


   
ReplyQuote
(@alexc)
Reputable Member
Joined: 16 years ago
Posts: 301
 

Hi,

What you're seeing is a bit of weirdness cased by things being declared as "TIMESTAMP" in SQLite Expert.

If you go to Tools->Options then in the left hand panel, select "Type Mappings". In the table you'll see find "TIMESTAMP" in the left column, then in the corresponding right cell to the right change it from "DateTime" to "Float". This won't change the database, just the way that datatype is interpreted. you'll see that it's a good old NSDate floating point value underneath.

When you have a database created with the NSStore framework (the columns and tables all starting with Z are a giveaway) timestamps are always set up like this, and SQLite Expert will mangle things like that.


   
ReplyQuote
Redcelica67
(@redcelica67)
Estimable Member
Joined: 17 years ago
Posts: 130
Topic starter  

Alex,

You're a star! Thank you!

David


   
ReplyQuote
PaulSanderson
(@paulsanderson)
Honorable Member
Joined: 19 years ago
Posts: 651
 

Redcelica sent me his db's to have a look at (and gave me permission to post on here) - as stated above the dates and times are NSdates


   
ReplyQuote
(@alexc)
Reputable Member
Joined: 16 years ago
Posts: 301
 

Alex,

You're a star! Thank you!

David

Glad to help. I've done some other interesting things with NSStore databases recently - perhaps I'll do a blog on it at some point…


   
ReplyQuote
Redcelica67
(@redcelica67)
Estimable Member
Joined: 17 years ago
Posts: 130
Topic starter  

Yes, that would be good. I have found a wealth of evidence such as data usage, proving certain apps have been present on a device. Thanks again anyway.


   
ReplyQuote
Share: