anthonya1999 / iOS-Diagnostics

57 stars 17 forks source link

no success on iPhone 6 with iOS10 #6

Open boschkundendienst opened 8 years ago

boschkundendienst commented 8 years ago

Hi, thanks for the script. Works good with iphone5 and older iOS. Today I tried it with iOS10 on an iPhone 6, It did not work. Btw. it seems, that the diag:// URL does not work in general on the latest iOS10, maybe there will be an update from Apple, soon or they switched to a different diagnostic mechanism now?

I can open diag:// on iOS10 and I then can say, that I want to open this URL with the diagnostics program, but after then it fails either without mitmproxy or with mitmproxy, It does not load the page where you have to enter the ID and the selection for short or long test.

Anyone else has the same findings or am I totally wrong?

daniel-bluesea commented 8 years ago

same here.. still researching

tmacsevern commented 8 years ago

This likely has something to do with it (from the mitmproxy logs:) 192.168.1.221:52378: CONNECT idiagnostics.apple.com:443 << Cannot establish TLS with client (sni: idiagnostics.apple.com): TlsException("(-1, 'Unexpected EOF')",) 192.168.1.221:52378: clientdisconnect

daniel-bluesea commented 8 years ago

@anthonya1999 any lead? did you mange to do it on ios 10? r u looking into it? we're all waiting for your input :)

daniel-bluesea commented 8 years ago

@tmacsevern @boschkundendienst did you update the XML_OK_RESPONSE with your iDevice type (e.g. iPhone8,2)?

also, maybe the 'request' api has cahnged..

tmacsevern commented 8 years ago

did nothing. figuring owner can look into it. did not have time to look any further,.

Shugabuga commented 8 years ago

Also worth noting that the iPhone 7 doesn't even support typing in diags ticket number with diags:// URL scheme on iOS 10.0.1.