pymobiledevice3 4.21.1__py3-none-any.whl → 4.21.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pymobiledevice3 might be problematic. Click here for more details.

@@ -17,5 +17,5 @@ __version__: str
17
17
  __version_tuple__: VERSION_TUPLE
18
18
  version_tuple: VERSION_TUPLE
19
19
 
20
- __version__ = version = '4.21.1'
21
- __version_tuple__ = version_tuple = (4, 21, 1)
20
+ __version__ = version = '4.21.3'
21
+ __version_tuple__ = version_tuple = (4, 21, 3)
@@ -5,6 +5,7 @@ import os
5
5
  import plistlib
6
6
  import struct
7
7
  import tempfile
8
+ import time
8
9
  import traceback
9
10
  import typing
10
11
  import zipfile
@@ -1189,6 +1190,8 @@ class Restore(BaseRestore):
1189
1190
  await self.send_manifest()
1190
1191
  elif data_type == 'BasebandUpdaterOutputData':
1191
1192
  await self.handle_baseband_updater_output_data(message)
1193
+ elif data_type == 'HostSystemTime':
1194
+ await self.handle_host_system_time(message)
1192
1195
  else:
1193
1196
  self.logger.error(f'unknown data request: {message}')
1194
1197
 
@@ -1277,6 +1280,9 @@ class Restore(BaseRestore):
1277
1280
  self.logger.debug('Closing connection of BasebandUpdaterOutputData data port')
1278
1281
  client.close()
1279
1282
 
1283
+ async def handle_host_system_time(self, message: dict) -> None:
1284
+ await self._restored.send({'SetHostTimeOnDevice': time.time()})
1285
+
1280
1286
  async def handle_restored_crash(self, message: dict) -> None:
1281
1287
  backtrace = '\n'.join(message['RestoredBacktrace'])
1282
1288
  self.logger.info(f'restored crashed. backtrace:\n{backtrace}')
@@ -1319,7 +1325,8 @@ class Restore(BaseRestore):
1319
1325
 
1320
1326
  sep = self.build_identity['Manifest']['SEP'].get('Info')
1321
1327
  spp = self.build_identity['Info'].get('SystemPartitionPadding')
1322
- opts = RestoreOptions(firmware_preflight_info=self._firmware_preflight_info, sep=sep, macos_variant=self.macos_variant,
1328
+ opts = RestoreOptions(firmware_preflight_info=self._firmware_preflight_info, sep=sep,
1329
+ macos_variant=self.macos_variant,
1323
1330
  build_identity=self.build_identity, restore_boot_args=self.recovery.restore_boot_args,
1324
1331
  spp=spp, restore_behavior=self.build_identity.restore_behavior,
1325
1332
  msp=self.build_identity.minimum_system_partition)
@@ -252,7 +252,12 @@ class MobileConfigService(LockdownService):
252
252
  'AppleTVSubtitle',
253
253
  'Intelligence',
254
254
  'WebContentFiltering',
255
- 'CameraButton'
255
+ 'CameraButton',
256
+ 'AdditionalPrivacySettings',
257
+ 'EnableLockdownMode',
258
+ 'OSShowcase',
259
+ 'SafetyAndHandling',
260
+ 'Tips',
256
261
  ],
257
262
  'SupervisorHostCertificates': [
258
263
  public_key
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pymobiledevice3
3
- Version: 4.21.1
3
+ Version: 4.21.3
4
4
  Summary: Pure python3 implementation for working with iDevices (iPhone, etc...)
5
5
  Author-email: doronz88 <doron88@gmail.com>, matan <matan1008@gmail.com>
6
6
  Maintainer-email: doronz88 <doron88@gmail.com>, matan <matan1008@gmail.com>
@@ -8,7 +8,7 @@ misc/understanding_idevice_protocol_layers.md,sha256=8tEqRXWOUPoxOJLZVh7C7H9JGCh
8
8
  misc/usbmux_sniff.sh,sha256=iWtbucOEQ9_UEFXk9x-2VNt48Jg5zrPsnUbZ_LfZxwA,212
9
9
  pymobiledevice3/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  pymobiledevice3/__main__.py,sha256=nwUgfXBMii2MSXLUls2uMTG88uC13s4haPBM4LuGcaU,11530
11
- pymobiledevice3/_version.py,sha256=2VH9aCpfyESRata4LJaxXA98Om0tKHnqOMprZmRW434,513
11
+ pymobiledevice3/_version.py,sha256=49H9tYu6r5W9yoEiS8r43-nc_Ryx0tr1mu2230beVAQ,513
12
12
  pymobiledevice3/bonjour.py,sha256=FXa_x0Zdo6ims7N7F61hnnZEyn1tc2it3mQpHRMY0Kk,5560
13
13
  pymobiledevice3/ca.py,sha256=Ho0NaOtATe5hdruUSlVDRpfR9ltEYXjL3MoKwEvEJjw,2296
14
14
  pymobiledevice3/common.py,sha256=-PG6oaUkNFlB3jb7E0finMrX8wqhkS-cuTAfmLvZUmc,329
@@ -92,7 +92,7 @@ pymobiledevice3/restore/fdr.py,sha256=KOXZH50oNYseP-PzSkw_uxu1NyGP5d32_DYSoYdbFu
92
92
  pymobiledevice3/restore/ftab.py,sha256=SWNKZRN1pFWzx_qHCkycvsLaHFAqkqQJYRBJYQ_-Wjw,1507
93
93
  pymobiledevice3/restore/img4.py,sha256=qkygkcul1RAXoBVMSAb8uKI4IUORrfCjsALp26NXyrk,4750
94
94
  pymobiledevice3/restore/recovery.py,sha256=YB2wZST3uhQMO1DwewfHb2VdEb-gH8nW58RbTmHIhZE,17090
95
- pymobiledevice3/restore/restore.py,sha256=1X5gpxszUgkiQLVL5rIctni6je4AEMdnn_0MKXJ5Zs8,57207
95
+ pymobiledevice3/restore/restore.py,sha256=k55c7XY2Ot5cu7WeWb8nGlZWdzqN96tHykgdiOMPBs8,57490
96
96
  pymobiledevice3/restore/restore_options.py,sha256=qeh_wRa_bi0Ccl0p0JuX9EChEQBqwJt94EBImWcEJ3E,7255
97
97
  pymobiledevice3/restore/restored_client.py,sha256=h_yBZ_e1wfaIzi0f9-R8Ky2x6xFTkvDlpWIV561uxoU,3638
98
98
  pymobiledevice3/restore/tss.py,sha256=TzvA1_FVZSotHG_vZykKa8v9Ja8Som5zgMH7AY0wFis,29593
@@ -114,7 +114,7 @@ pymobiledevice3/services/installation_proxy.py,sha256=IAoLxOg68oA6oW5uGAwUqpT_ii
114
114
  pymobiledevice3/services/lockdown_service.py,sha256=WP2l3qIdU7XtWDQMfNEPwSJZfS7D6S8btcdoRjt_3mQ,1482
115
115
  pymobiledevice3/services/misagent.py,sha256=YGLo2LhzyYWyICxKDhy3Ph7SewYk5I1VN3-LjKv_plo,2088
116
116
  pymobiledevice3/services/mobile_activation.py,sha256=NTxdiA39-XpN77OJAErVkGsxUZf_b1AOSd08URKu0MA,6139
117
- pymobiledevice3/services/mobile_config.py,sha256=i9qikWlgU23z8D5PjZSBjrip0TSCkUEB1k56WxoephI,17244
117
+ pymobiledevice3/services/mobile_config.py,sha256=Ev1AmJ6pzeZKnwMaSKIwWAOWVMqH2QgDbjD49Jc_l20,17419
118
118
  pymobiledevice3/services/mobile_image_mounter.py,sha256=SIibV5IoB570bqWoNwtYKmRTgXIuLUBaMJFlPwENbD4,14638
119
119
  pymobiledevice3/services/mobilebackup2.py,sha256=1Wo4IpLG5HUfkGJustsv2SoTBBax30PZyKOtEOz5Eac,18217
120
120
  pymobiledevice3/services/notification_proxy.py,sha256=VCOG8G0HNn8_tFKUdLs5BFkshQCtI_LNH-w4MuNF2MM,2109
@@ -164,9 +164,9 @@ pymobiledevice3/services/web_protocol/switch_to.py,sha256=hDddJUEePbRN-8xlllOeGh
164
164
  pymobiledevice3/tunneld/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
165
165
  pymobiledevice3/tunneld/api.py,sha256=EfGKXEWhsMSB__menPmRmL9R6dpazVJDUy7B3pn05MM,2357
166
166
  pymobiledevice3/tunneld/server.py,sha256=SvC57AV_R8YQhA0fCwGNUdhfy8TKMFWwL_fp_FmXrBI,22715
167
- pymobiledevice3-4.21.1.dist-info/licenses/LICENSE,sha256=jOtLnuWt7d5Hsx6XXB2QxzrSe2sWWh3NgMfFRetluQM,35147
168
- pymobiledevice3-4.21.1.dist-info/METADATA,sha256=mVw9pidrlrhtnWI3nuCBtNTQf0WtpFhVIqQp7AHBVIE,17500
169
- pymobiledevice3-4.21.1.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
170
- pymobiledevice3-4.21.1.dist-info/entry_points.txt,sha256=jJMlOanHlVwUxcY__JwvKeWPrvBJr_wJyEq4oHIZNKE,66
171
- pymobiledevice3-4.21.1.dist-info/top_level.txt,sha256=MjZoRqcWPOh5banG-BbDOnKEfsS3kCxqV9cv-nzyg2Q,21
172
- pymobiledevice3-4.21.1.dist-info/RECORD,,
167
+ pymobiledevice3-4.21.3.dist-info/licenses/LICENSE,sha256=jOtLnuWt7d5Hsx6XXB2QxzrSe2sWWh3NgMfFRetluQM,35147
168
+ pymobiledevice3-4.21.3.dist-info/METADATA,sha256=Jxjog8l7LS2VMWDhf_OhOesZVApOAOLEgtvSN7S6h3I,17500
169
+ pymobiledevice3-4.21.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
170
+ pymobiledevice3-4.21.3.dist-info/entry_points.txt,sha256=jJMlOanHlVwUxcY__JwvKeWPrvBJr_wJyEq4oHIZNKE,66
171
+ pymobiledevice3-4.21.3.dist-info/top_level.txt,sha256=MjZoRqcWPOh5banG-BbDOnKEfsS3kCxqV9cv-nzyg2Q,21
172
+ pymobiledevice3-4.21.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.8.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5