{"id":17176117,"url":"https://github.com/upbit/python-imobiledevice_demo","last_synced_at":"2025-04-13T16:31:06.260Z","repository":{"id":24140658,"uuid":"27529956","full_name":"upbit/python-imobiledevice_demo","owner":"upbit","description":"libimobiledevice demo for Python","archived":false,"fork":false,"pushed_at":"2019-01-16T01:18:53.000Z","size":207,"stargazers_count":41,"open_issues_count":1,"forks_count":21,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-27T07:35:59.736Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/upbit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-04T08:04:05.000Z","updated_at":"2025-01-16T10:26:13.000Z","dependencies_parsed_at":"2022-07-16T00:00:33.465Z","dependency_job_id":null,"html_url":"https://github.com/upbit/python-imobiledevice_demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upbit%2Fpython-imobiledevice_demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upbit%2Fpython-imobiledevice_demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upbit%2Fpython-imobiledevice_demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upbit%2Fpython-imobiledevice_demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/upbit","download_url":"https://codeload.github.com/upbit/python-imobiledevice_demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248743731,"owners_count":21154727,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T23:59:09.042Z","updated_at":"2025-04-13T16:31:05.920Z","avatar_url":"https://github.com/upbit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"python-imobiledevice demo\n=========================\n\nlibimobiledevice demos for Python\n\n### afc_and_instproxy_upgrade_ipa.py\nAfcClient and InstallationProxyClient example, install local/network IPA in background.\n\n~~~sh\n$ python afc_and_instproxy_upgrade_ipa.py\n\u003e\u003e\u003e Upload IPA...\n\u003e\u003e\u003e Install IPA...\n\u003e\u003e\u003e Cleanup...\n\u003e\u003e\u003e Done\n~~~\n\n### afc2_dump_keychain-2.py\nAfc2Client example, access root file system and dump keychain-2.db.\n\n~~~sh\n$ python afc2_dump_keychain-2.py\n\u003e\u003e\u003e write keychain-2.db to local, done\n~~~\n\n### debugserver_app_runner.py\nDebugServerClient and InstallationProxyClient example, a Python version of `idevicedebug run \u003cbundle_id\u003e`\n\n~~~sh\n$ ideviceimagemounter /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/8.0/DeveloperDiskImage.dmg{,.signature}\n\n# sometime debugserver crash target\n$ python debugserver_app_runner.py\nSetting logging bitmask: OK\nSetting maximum packet size: OK\nSetting working directory: OK\nSetting argv: OK\nChecking if launch succeeded: None\nSetting thread: OK\nTraceback (most recent call last):\n  File \"debugserver_app_runner.py\", line 98, in \u003cmodule\u003e\n    main()\n  File \"debugserver_app_runner.py\", line 95, in main\n    debugserver_run_app(bin_path)\n  File \"debugserver_app_runner.py\", line 89, in debugserver_run_app\n    response = debugserver.send_command(cmd)\n  File \"debugserver.pxi\", line 116, in imobiledevice.DebugServerClient.send_command (imobiledevice.c:44176)\n  File \"debugserver.pxi\", line 129, in imobiledevice.DebugServerClient.send_command (imobiledevice.c:44051)\n  File \"debugserver.pxi\", line 122, in imobiledevice.DebugServerClient.send_command (imobiledevice.c:43964)\n  File \"imobiledevice.pyx\", line 30, in imobiledevice.Base.handle_error (imobiledevice.c:4814)\n    imobiledevice.DebugServerError: Unknown error (-256)\n\n# just run script again...\n$ python debugserver_app_runner.py\nSetting logging bitmask: OK\nSetting maximum packet size: OK\nSetting working directory: OK\nSetting argv: OK\nChecking if launch succeeded: OK\nSetting thread: OK\n~~~\n\n### afc_shell.py\nAfcClient/Afc2Client example, Apple File Conduit shell like `ifuse`.\n\n~~~sh\n$ python afc_shell.py\nafc:/ # cd /Developer/usr/bin\nafc:/Developer/usr/bin # ls\ndebugserver\nDTDeviceArbitration\niprofiler\nScreenShotr\nXcodeDeviceMonitor\nxctest\nafc:/Developer/usr/bin # help sz\nsz \u003cremote\u003e \u003clocal\u003e\n\nafc:/Developer/usr/bin # sz debugserver debugserver\nWrite 13801968 bytes to debugserver.\nafc:/Developer/usr/bin # help\n\nDocumented commands (type help \u003ctopic\u003e):\n========================================\ncat  help  mkdir  pwd  rename  rm  rn  rz  sz\n\nUndocumented commands:\n======================\ncd  exit  ls  q  quit\n~~~\n\n### instproxy_browse_installed_app.py\nInstallationProxyClient example, a Python version of `ideviceinstaller -l`\n\n~~~sh\n$ python instproxy_browse_installed_app.py\nnet.pxv.iphone - pixiv 5.3.1.2\ncom.tencent.mttlite - QQ浏览器 5.5.0.1075\ncom.sogou.sogouinput - 搜狗输入法 62493\ncom.jonathanlanis.boost - Boost 2 2.4\ncom.duokan.reader - 多看阅读 2014102901\ncom.zzz.RankingLog - RankingLog 1\n~~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fupbit%2Fpython-imobiledevice_demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fupbit%2Fpython-imobiledevice_demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fupbit%2Fpython-imobiledevice_demo/lists"}