Closed tademmahesh closed 3 months ago
IOS 17 does not support commands
use code
with RemoteLockdownClient((host, port)) as rsd:
rpc = InstrumentServer(rsd).init()
graphics_display(rpc)
rpc.stop()
Soon I will support commands
Step1 sudo python3 -m pymobiledevice3 remote start-tunnel UDID: 00000030-0000000840E50402E ProductType: iPhone14,9 ProductVersion: 17.3 Interface: utun4 Protocol: TunnelProtocol.QUIC RSD Address: fd63:5b80:4ae3::1 RSD Port: 64060 Use the follow connection option: --rsd fd63:5b80:4ae3::1 64060
Step2 Input I have updated the host and port and executed
from ios_device.remote.remote_lockdown import RemoteLockdownClient from ios_device.servers.Instrument import InstrumentServer from demo.instrument_demo.sysmontap import sysmontap
host = 'fd63:5b80:4ae3::1' port = 64060
with RemoteLockdownClient((host, port)) as rsd: rpc = InstrumentServer(rsd).init() sysmontap(rpc) rpc.stop()
Output start None [ { "PerCPUUsage": [ { "CPU_NiceLoad": 0.0, "CPU_SystemLoad": -1.0, "CPU_TotalLoad": 0.0, "CPU_UserLoad": -1.0 },
Step3 python3 -m pymobiledevice3 developer dvt ls / --rsd fdc7:e4b5:d571::1 64062
Step4 pyidevice enable_developer_mode --mode=2 enable_developer_mode its enabled
Step5 pyidevice instruments display --udid=00000030-0000000840E50402E
getting same error which is ios_device.util.exceptions.StartServiceError: Unable to start service='com.apple.instruments.remoteserver.DVTSecureSocketProxy' - InvalidService Any i am missing or can give me the solution ?