{"action":"created","issue":{"url":"https://api.github.com/repos/libimobiledevice/libimobiledevice/issues/724","repository_url":"https://api.github.com/repos/libimobiledevice/libimobiledevice","labels_url":"https://api.github.com/repos/libimobiledevice/libimobiledevice/issues/724/labels{/name}","comments_url":"https://api.github.com/repos/libimobiledevice/libimobiledevice/issues/724/comments","events_url":"https://api.github.com/repos/libimobiledevice/libimobiledevice/issues/724/events","html_url":"https://github.com/libimobiledevice/libimobiledevice/issues/724","id":369843048,"node_id":"MDU6SXNzdWUzNjk4NDMwNDg=","number":724,"title":"ideviceinfo returns ProductType iPhone8,2 however idevicerestore detects iPhone7,2","user":{"login":"pubsocent","id":44124963,"node_id":"MDQ6VXNlcjQ0MTI0OTYz","avatar_url":"https://avatars1.githubusercontent.com/u/44124963?v=4","gravatar_id":"","url":"https://api.github.com/users/pubsocent","html_url":"https://github.com/pubsocent","followers_url":"https://api.github.com/users/pubsocent/followers","following_url":"https://api.github.com/users/pubsocent/following{/other_user}","gists_url":"https://api.github.com/users/pubsocent/gists{/gist_id}","starred_url":"https://api.github.com/users/pubsocent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pubsocent/subscriptions","organizations_url":"https://api.github.com/users/pubsocent/orgs","repos_url":"https://api.github.com/users/pubsocent/repos","events_url":"https://api.github.com/users/pubsocent/events{/privacy}","received_events_url":"https://api.github.com/users/pubsocent/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-13T21:27:30Z","updated_at":"2018-10-14T14:12:53Z","closed_at":null,"author_association":"NONE","body":"ideviceinfo returns the following information:\r\n...\r\nProductName: iPhone OS\\nProductType: iPhone8,2\\nProductVersion: 11.4\\n\r\n...\r\n\r\nfor that reason, I used the following restore command:\r\nidevicerestore iPhone_5.5_11.4.1_15G77_Restore.ipsw -e -d -u <device_id>\r\n\r\nI get the following response:\r\nCode: 255\r\nNOTE: using cached version data\\nFound device in Recovery mode\\nIdentified device as n61ap, iPhone7,2\\nExtracting BuildManifest from IPSW\\n\r\n\r\nReading data from version.xml\\nopening device 05ac:1281...\\nSetting to configuration 1\\nSetting to interface 0:0\\nopening device 05ac:1281...\\nSetting to configuration 1\\nSetting to interface 0:0\\nERROR: Could not make sure this firmware is suitable for the current device. Refusing to continue.\\n\r\n\r\nI then try the restore command with the corresponding file for iPhone7,2\r\nidevicerestore iPhone_4.7_11.4.1_15G77_Restore.ipsw -e -d -u ....\r\nwhich works fine.\r\n\r\n\r\nAny reason why ideviceinfo and idevicerestore for the same device detects different ProductType ?\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/libimobiledevice/libimobiledevice/issues/comments/429629760","html_url":"https://github.com/libimobiledevice/libimobiledevice/issues/724#issuecomment-429629760","issue_url":"https://api.github.com/repos/libimobiledevice/libimobiledevice/issues/724","id":429629760,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTYyOTc2MA==","user":{"login":"pubsocent","id":44124963,"node_id":"MDQ6VXNlcjQ0MTI0OTYz","avatar_url":"https://avatars1.githubusercontent.com/u/44124963?v=4","gravatar_id":"","url":"https://api.github.com/users/pubsocent","html_url":"https://github.com/pubsocent","followers_url":"https://api.github.com/users/pubsocent/followers","following_url":"https://api.github.com/users/pubsocent/following{/other_user}","gists_url":"https://api.github.com/users/pubsocent/gists{/gist_id}","starred_url":"https://api.github.com/users/pubsocent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pubsocent/subscriptions","organizations_url":"https://api.github.com/users/pubsocent/orgs","repos_url":"https://api.github.com/users/pubsocent/repos","events_url":"https://api.github.com/users/pubsocent/events{/privacy}","received_events_url":"https://api.github.com/users/pubsocent/received_events","type":"User","site_admin":false},"created_at":"2018-10-14T14:12:53Z","updated_at":"2018-10-14T14:12:53Z","author_association":"NONE","body":"ideviceinfo shows N66AP while idevicerestore shows n61ap\r\nThis is a iPhone 6s Plus.\r\n\r\n"}}
{"actor":{"display_login":"pubsocent"}}