{"action":"created","issue":{"url":"https://api.github.com/repos/KJCracks/Clutch/issues/133","repository_url":"https://api.github.com/repos/KJCracks/Clutch","labels_url":"https://api.github.com/repos/KJCracks/Clutch/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/KJCracks/Clutch/issues/133/comments","events_url":"https://api.github.com/repos/KJCracks/Clutch/issues/133/events","html_url":"https://github.com/KJCracks/Clutch/issues/133","id":166529959,"number":133,"title":"cpusubtype, mysterious debug output and performence","user":{"login":"stas-smedia","id":20554259,"avatar_url":"https://avatars.githubusercontent.com/u/20554259?v=3","gravatar_id":"","url":"https://api.github.com/users/stas-smedia","html_url":"https://github.com/stas-smedia","followers_url":"https://api.github.com/users/stas-smedia/followers","following_url":"https://api.github.com/users/stas-smedia/following{/other_user}","gists_url":"https://api.github.com/users/stas-smedia/gists{/gist_id}","starred_url":"https://api.github.com/users/stas-smedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stas-smedia/subscriptions","organizations_url":"https://api.github.com/users/stas-smedia/orgs","repos_url":"https://api.github.com/users/stas-smedia/repos","events_url":"https://api.github.com/users/stas-smedia/events{/privacy}","received_events_url":"https://api.github.com/users/stas-smedia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-20T08:46:28Z","updated_at":"2016-07-20T19:41:28Z","closed_at":null,"body":"i'm getting this mysterious message when running clutch but also the speed of the process is very slow,\r\nis this is because of the CPU of the device? \r\nhere is the message:\r\n`ClutchPrint.m : 76 | Finding compatible dumper for binary <pokemongo> with arch cputype: 12\r\nClutchPrint.m : 76 | Segment cputype: 12, cpusubtype: 9\r\nClutchPrint.m : 76 | Device cputype: 16777228, cpusubtype: 0\r\nClutchPrint.m : 76 | Dumper supports cputype 16777228\r\nClutchPrint.m : 76 | why cut a potato with a pencil?\r\n`\r\n\r\ni'm running clutch on an iPad Air 2, will running this on an iPhone make it faster?"},"comment":{"url":"https://api.github.com/repos/KJCracks/Clutch/issues/comments/234059262","html_url":"https://github.com/KJCracks/Clutch/issues/133#issuecomment-234059262","issue_url":"https://api.github.com/repos/KJCracks/Clutch/issues/133","id":234059262,"user":{"login":"Tatsh","id":724848,"avatar_url":"https://avatars.githubusercontent.com/u/724848?v=3","gravatar_id":"","url":"https://api.github.com/users/Tatsh","html_url":"https://github.com/Tatsh","followers_url":"https://api.github.com/users/Tatsh/followers","following_url":"https://api.github.com/users/Tatsh/following{/other_user}","gists_url":"https://api.github.com/users/Tatsh/gists{/gist_id}","starred_url":"https://api.github.com/users/Tatsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tatsh/subscriptions","organizations_url":"https://api.github.com/users/Tatsh/orgs","repos_url":"https://api.github.com/users/Tatsh/repos","events_url":"https://api.github.com/users/Tatsh/events{/privacy}","received_events_url":"https://api.github.com/users/Tatsh/received_events","type":"User","site_admin":false},"created_at":"2016-07-20T19:41:28Z","updated_at":"2016-07-20T19:41:28Z","body":"I get similar output and I can dump Pokemon Go just fine.\r\n\r\nThe line that causes this:\r\n```objc\r\n    if (self.supportedCPUType != _thinHeader.header.cputype) {\r\n        [[ClutchPrint sharedInstance] printDeveloper:@\"why cut a potato with a pencil?\"];\r\n```\r\n\r\nThe thin binary you have has an different CPU type than expected (it is not `0x100000c`). I think since iOS 9 Apple has been only providing thin binaries for all devices. iPad Air 2 is arm64 though so it should be fine either way. I am dumping on an iPhone 6s Plus with iOS 9.0.2.\r\n\r\nMaybe for iPad Air 2 Apple is setting a different CPU type for who knows what reason. it would be interesting if you could get this to dump the CPU type. If you are building yourself, modify the line after the check:\r\n\r\n```\r\n    if (self.supportedCPUType != _thinHeader.header.cputype) {\r\n        [[ClutchPrint sharedInstance] printDeveloper:[NSString stringWithFormat:\"cputype: %d 0x%x\", _thinHeader.header.cputype, _thinHeader.header.cputype];\r\n```\r\n\r\n```\r\nClutchPrint.m : 76 | using number\r\nNow dumping com.nianticlabs.pokemongo\r\nClutchPrint.m : 76 | ######## bundle URL file:///private/var/mobile/Containers/Bundle/Application/3923D861-30F6-4D8A-B22F-50FDF090333C\r\nPreparing to dump <pokemongo>\r\nPath: /private/var/mobile/Containers/Bundle/Application/3923D861-30F6-4D8A-B22F-50FDF090333C/pokemongo.app/pokemongo\r\nZipping pokemongo.app\r\nClutchPrint.m : 76 | Finding compatible dumper for binary <pokemongo> with arch cputype: 16777228\r\nClutchPrint.m : 76 | Segment cputype: 16777228, cpusubtype: 0\r\nClutchPrint.m : 76 | Device cputype: 16777228, cpusubtype: 0\r\nClutchPrint.m : 76 | Dumper supports cputype 16777228\r\nClutchPrint.m : 76 | Found compatible dumper <ARM64Dumper: 0x137515090> for binary <pokemongo> with arch arm64\r\nClutchPrint.m : 76 | 64bit dumping: arch arm64 offset 0\r\nClutchPrint.m : 76 | FOUND __TEXT SEGMENT\r\nClutchPrint.m : 76 | FOUND ENCRYPTION INFO: cryptoff 16384 | cryptsize 33177600 | cryptid 1\r\nClutchPrint.m : 76 | FOUND CODE SIGNATURE: dataoff 36323616 | datasize 187296\r\nClutchPrint.m : 76 | found all required load commands for <pokemongo> arm64\r\nClutchPrint.m : 76 | to MH_PIE or not to MH_PIE, that is the question\r\nClutchPrint.m : 76 | got the pid 12483 /private/var/mobile/Containers/Bundle/Application/3923D861-30F6-4D8A-B22F-50FDF090333C/pokemongo.app/pokemongo\r\nClutchPrint.m : 76 | 0 36323616 738197504\r\nClutchPrint.m : 76 | Found CSSLOT_CODEDIRECTORY\r\nClutchPrint.m : 76 | Codesign Pages 8869\r\nASLR slide: 0x10001c000\r\nClutchPrint.m : 76 | checksum size 177380\r\nDumping <pokemongo> (arm64)\r\nPatched cryptid (64bit segment)\r\nWriting new checksum\r\nClutchPrint.m : 76 | Done writing checksum\r\nClutchPrint.m : 76 | done dumping\r\nDONE: /private/var/mobile/Documents/Dumped/com.nianticlabs.pokemongo-iOS8.0-(Clutch-2.0.1)-2.ipa\r\nFinished dumping com.nianticlabs.pokemongo in 20.6 seconds\r\n```"}}
{"actor":{"display_login":"Tatsh"}}