Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several issues with the new 2.6.0 version #613

Open
elinora-cye opened this issue Mar 1, 2025 · 0 comments
Open

Several issues with the new 2.6.0 version #613

elinora-cye opened this issue Mar 1, 2025 · 0 comments

Comments

@elinora-cye
Copy link

elinora-cye commented Mar 1, 2025

Hi all,
I've ran the latest version (2.6.0) on two devices and encountered a few problems:

1. Datausage module error

I've encountered the following error during my testing of an iPhone 11 Pro device running iOS 17.2.1. I've checked the database file itself, it's completely fine and the data under ZLIVEUSAGE is present. I'm not sure what the problem may be.

Error from iPhone 11 Pro:

INFO     [mvt.ios.modules.mixed.net_datausage] Running module          
                  Datausage...                                                  
         INFO     [mvt.ios.modules.mixed.net_datausage] Found DataUsage database
                  at path:                                                      
                  ./00008030-000D18E41438802E/0d/0d609c54856a9bb2d56729df1d68f29
                  58a88426b                                                     
         ERROR    [mvt.ios.modules.mixed.net_datausage] Error in running        
                  extraction from module Datausage: database disk image is      
                  malformed                                                     
                  Traceback (most recent call last):                            
                    File                                                        
                  "/home/user/.local/share/pipx/venvs/mvt/lib/python3.10/site-pa
                  ckages/mvt/common/module.py", line 167, in run_module         
                      exec_or_profile("module.run()", globals(), locals())      
                    File                                                        
                  "/home/user/.local/share/pipx/venvs/mvt/lib/python3.10/site-pa
                  ckages/mvt/common/utils.py", line 263, in exec_or_profile     
                      exec(module, globals, locals)                             
                    File "<string>", line 1, in <module>                        
                    File                                                        
                  "/home/user/.local/share/pipx/venvs/mvt/lib/python3.10/site-pa
                  ckages/mvt/ios/modules/mixed/net_datausage.py", line 50, in   
                  run                                                           
                      self._extract_net_data()                                  
                    File                                                        
                  "/home/user/.local/share/pipx/venvs/mvt/lib/python3.10/site-pa
                  ckages/mvt/ios/modules/net_base.py", line 44, in              
                  _extract_net_data                                             
                      cur.execute(                                              
                  sqlite3.DatabaseError: database disk image is malformed    

Error from iPhone 15 Pro:
I also have another error from an iPhone 15 Pro running iOS 18.2.1, for this one I also looked at the database itself - ZLIVEUSAGE.ZWIFIIN is indeed missing under the ZLIVEUSAGE table. Is this fixable?

mvt.ios.modules.mixed.net_datausage - INFO - Running module Datausage...
2025-03-01 13:25:42,096 - mvt.ios.modules.mixed.net_datausage - INFO - Found DataUsage database at path: ./00008130-000231D41061401C/0d/0d609c54856a9bb2d56729df1d68f2958a88426b
2025-03-01 13:25:42,173 - mvt.ios.modules.mixed.net_datausage - ERROR - Error in running extraction from module Datausage: database disk image is malformed
Traceback (most recent call last):
  File "/home/user/.local/share/pipx/venvs/mvt/lib/python3.10/site-packages/mvt/ios/modules/net_base.py", line 44, in _extract_net_data
    cur.execute(
sqlite3.OperationalError: no such column: ZLIVEUSAGE.ZWIFIIN

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/user/.local/share/pipx/venvs/mvt/lib/python3.10/site-packages/mvt/common/module.py", line 167, in run_module
    exec_or_profile("module.run()", globals(), locals())
  File "/home/user/.local/share/pipx/venvs/mvt/lib/python3.10/site-packages/mvt/common/utils.py", line 262, in exec_or_profile
    exec(module, globals, locals)
  File "<string>", line 1, in <module>
  File "/home/user/.local/share/pipx/venvs/mvt/lib/python3.10/site-packages/mvt/ios/modules/mixed/net_datausage.py", line 50, in run
    self._extract_net_data()
  File "/home/user/.local/share/pipx/venvs/mvt/lib/python3.10/site-packages/mvt/ios/modules/net_base.py", line 70, in _extract_net_data
    cur.execute(
sqlite3.DatabaseError: database disk image is malformed

2. SMS module attempting to recover "malformed" database

Again tested on an iPhone 11 Pro device running iOS 17.2.1. I've extracted the DB by itself, it is not malformed, the data is present and I can open it completely fine, I see all tables and I have message data. For some reason MVT tries to recover the DB, then it shrinks (from 20 MB to 4KB) and MVT doesn't recognize the "message" table anymore. This also happened with another device I was testing which is an iPhone 15 Pro running iOS 18.2.1, which also resulted in the SMS attachments module not working due to the "recovery" of the DB by MVT.

INFO     [mvt.ios.modules.mixed.sms] Running module SMS...             
         INFO     [mvt.ios.modules.mixed.sms] Database at path                  
                  ./00008030-000D18E41438802E/3d/3d0d7e5fb2ce288813306e4d4636395
                  e047a3d28 is malformed. Trying to recover...                  
         INFO     [mvt.ios.modules.mixed.sms] Database at path                  
                  ./00008030-000D18E41438802E/3d/3d0d7e5fb2ce288813306e4d4636395
                  e047a3d28 recovered successfully!                             
         INFO     [mvt.ios.modules.mixed.sms] Found SMS database at path:       
                  ./00008030-000D18E41438802E/3d/3d0d7e5fb2ce288813306e4d4636395
                  e047a3d28                                                     
         ERROR    [mvt.ios.modules.mixed.sms] Error in running extraction from  
                  module SMS: no such table: message                            
                  Traceback (most recent call last):                            
                    File                                                        
                  "/home/user/.local/share/pipx/venvs/mvt/lib/python3.10/site-pa
                  ckages/mvt/common/module.py", line 167, in run_module         
                      exec_or_profile("module.run()", globals(), locals())      
                    File                                                        
                  "/home/user/.local/share/pipx/venvs/mvt/lib/python3.10/site-pa
                  ckages/mvt/common/utils.py", line 263, in exec_or_profile     
                      exec(module, globals, locals)                             
                    File "<string>", line 1, in <module>                        
                    File                                                        
                  "/home/user/.local/share/pipx/venvs/mvt/lib/python3.10/site-pa
                  ckages/mvt/ios/modules/mixed/sms.py", line 127, in run        
                      raise exc                                                 
                    File                                                        
                  "/home/user/.local/share/pipx/venvs/mvt/lib/python3.10/site-pa
                  ckages/mvt/ios/modules/mixed/sms.py", line 99, in run         
                      cur.execute(                                              
                  sqlite3.OperationalError: no such table: message         

3. OSAnalytics module reaching maximum recursion depth

I received this error while testing an iPhone 15 Pro running iOS 18.2.1. Not really sure what to do about it.

mvt.ios.modules.mixed.osanalytics_addaily - ERROR - Error in running extraction from module OSAnalyticsADDaily: maximum recursion depth exceeded while calling a Python object

Traceback (most recent call last):
  File "/home/user/.local/share/pipx/venvs/mvt/lib/python3.10/site-packages/mvt/common/module.py", line 167, in run_module
    exec_or_profile("module.run()", globals(), locals())
  File "/home/user/.local/share/pipx/venvs/mvt/lib/python3.10/site-packages/mvt/common/utils.py", line 262, in exec_or_profile
    exec(module, globals, locals)
  File "<string>", line 1, in <module>
  File "/home/user/.local/share/pipx/venvs/mvt/lib/python3.10/site-packages/mvt/ios/modules/mixed/osanalytics_addaily.py", line 75, in run
    file_plist = plistlib.load(handle)
  File "/usr/lib/python3.10/plistlib.py", line 884, in load
    return p.parse(fp)
  File "/usr/lib/python3.10/plistlib.py", line 486, in parse
    return self._read_object(top_object)
  File "/usr/lib/python3.10/plistlib.py", line 607, in _read_object
    result[self._read_object(k)] = self._read_object(o)
  File "/usr/lib/python3.10/plistlib.py", line 607, in _read_object
    result[self._read_object(k)] = self._read_object(o)
  File "/usr/lib/python3.10/plistlib.py", line 591, in _read_object
    result.extend(self._read_object(x) for x in obj_refs)
  File "/usr/lib/python3.10/plistlib.py", line 591, in <genexpr>
    result.extend(self._read_object(x) for x in obj_refs)
  File "/usr/lib/python3.10/plistlib.py", line 591, in _read_object
    result.extend(self._read_object(x) for x in obj_refs)
  File "/usr/lib/python3.10/plistlib.py", line 591, in <genexpr>
    result.extend(self._read_object(x) for x in obj_refs)
  File "/usr/lib/python3.10/plistlib.py", line 591, in _read_object
    result.extend(self._read_object(x) for x in obj_refs)
  File "/usr/lib/python3.10/plistlib.py", line 591, in <genexpr>............   

4. Error in the Calendar Module

On iPhone 15 Pro running iOS 18.2.1 I get the error below. I extracted the database, it is not melformed or anything, the CalendarItem table exists and has data inside. I really don't understand why MVT detects so many databases as malformed. This also happened with iPhone 11 Pro running iOS 17.2.1.

INFO - Running module Calendar...
2025-03-01 13:25:52,658 - mvt.ios.modules.mixed.calendar - INFO - Database at path ./00008130-000231D41061401C/20/2041457d5fe04d39d0ab481178355df6781e6858 is malformed. Trying to recover...
2025-03-01 13:25:52,720 - mvt.ios.modules.mixed.calendar - INFO - Database at path ./00008130-000231D41061401C/20/2041457d5fe04d39d0ab481178355df6781e6858 recovered successfully!
2025-03-01 13:25:52,729 - mvt.ios.modules.mixed.calendar - INFO - Found calendar database at path: ./00008130-000231D41061401C/20/2041457d5fe04d39d0ab481178355df6781e6858
2025-03-01 13:25:52,736 - mvt.ios.modules.mixed.calendar - ERROR - Error in running extraction from module Calendar: no such table: CalendarItem
Traceback (most recent call last):
  File "/home/user/.local/share/pipx/venvs/mvt/lib/python3.10/site-packages/mvt/common/module.py", line 167, in run_module
    exec_or_profile("module.run()", globals(), locals())
  File "/home/user/.local/share/pipx/venvs/mvt/lib/python3.10/site-packages/mvt/common/utils.py", line 262, in exec_or_profile
    exec(module, globals, locals)
  File "<string>", line 1, in <module>
  File "/home/user/.local/share/pipx/venvs/mvt/lib/python3.10/site-packages/mvt/ios/modules/mixed/calendar.py", line 141, in run
    self._parse_calendar_db()
  File "/home/user/.local/share/pipx/venvs/mvt/lib/python3.10/site-packages/mvt/ios/modules/mixed/calendar.py", line 87, in _parse_calendar_db
    cur.execute(
sqlite3.OperationalError: no such table: CalendarItem

I would really love some help with these issues. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant