xadium / iphonetunnel-usbmuxconnectbyport

Automatically exported from code.google.com/p/iphonetunnel-usbmuxconnectbyport
0 stars 0 forks source link

Doesn't work with iTunes 12 #13

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Update iTunes

What version of the product are you using? On what operating system?
itunnel_mux_rev71
Windows 8.1

Please provide any additional information below.
[ERROR] Error 0x2 (2): 'No such file or directory'
[FATAL] Could not locate 'Apple Mobile Device Support' folder path in registry:
ABORTING

Original issue reported on code.google.com by Philipha...@gmail.com on 1 Feb 2015 at 8:14

GoogleCodeExporter commented 8 years ago
facing same error on windows 7, x64, itunes version 12.1.0.71 - 64 bit version.

Original comment by sanjay.g...@gmail.com on 2 Feb 2015 at 10:28

GoogleCodeExporter commented 8 years ago
I am facing the same issue the program flashes then exits. 

Windows 7, 64 bit, iTunes 12.1.0.1- 64 bit version. itunnel_mux_rev71 Iport 333 

Original comment by Jdc6...@gmail.com on 3 Feb 2015 at 2:43

GoogleCodeExporter commented 8 years ago
Any news if this issue will be addressed?

Original comment by josh.slo...@gmail.com on 4 Feb 2015 at 7:25

GoogleCodeExporter commented 8 years ago
Also experienced the same issue.

itunnel_mux_rev71
Windows 8.1

Appears that going back to http://filehippo.com/download_itunes_64/58981/ 
resolved this for me. I took a look at the registries and it appears that in 
12.1 they use

'HLKM/SYSTEM/CurrentControlSet/Services/Apple Mobile Device Service' in earlier 
versions but the new version is using...

'HLKM/SYSTEM/CurrentControlSet/Services/Apple Mobile Device'

If someone is using 12.1 and knows not to break things in RegEdit they can 
attempt to create a 'REG_EXPAND_SZ' record for 'ImagePath' with the value 
"C:\Program Files (x86)\Common Files\Apple\Mobile Device 
Support\AppleMobileDeviceService.exe" inside the 
HLKM/SYSTEM/CurrentControlSet/Services/Apple Mobile Device.

Original comment by ChrisCha...@gmail.com on 5 Feb 2015 at 1:50

GoogleCodeExporter commented 8 years ago
^^ completely said that backwards... 

'HLKM/SYSTEM/CurrentControlSet/Services/Apple Mobile Device' old location
'HLKM/SYSTEM/CurrentControlSet/Services/Apple Mobile Device Service' new 
location

Original comment by ChrisCha...@gmail.com on 5 Feb 2015 at 1:51

GoogleCodeExporter commented 8 years ago
this is the code that throws that error:

\itnl\win32_project\libMobiledevice\platform.cpp

line 62:

    cbBuf = sizeof(wbuf);
    error = rgv(HKEY_LOCAL_MACHINE, L"SOFTWARE\\Apple Inc.\\Apple Mobile Device Support", L"InstallDir", RRF_RT_REG_SZ|RRF_ZEROONFAILURE, NULL, (LPBYTE)wbuf, &cbBuf);
    if (ERROR_SUCCESS != error) {
        print_error(error);
        Log(LOG_FATAL, "Could not locate 'Apple Mobile Device Support' folder path in registry: ABORTING");
        return LIBMD_ERR_REGISTRY_ERROR;
    }

the thing is that my machine has that entry ... and still throws the error...

Original comment by car...@towworks.com on 6 Feb 2015 at 9:15

GoogleCodeExporter commented 8 years ago
If you watch the process, the registry key it's looking for is 

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apple Inc.\Apple Mobile Device Support

iTunes 12 moves that registry key to

HKEY_LOCAL_MACHINE\SOFTWARE\Apple Inc.\Apple Mobile Device Support

Copying the registry key back to the original location results in a different 
error.

[ERROR] Error 0xC1 (193): 'Unknown error'
[FATAL] Could not load C:\Program Files\Common Files\Apple\Mobile Device 
Support\\iTunesMobileDevice.dll: ABORTING

It looks like they changed the dll, and it doesn't work with itunnel. :-)

Original comment by x24...@gmail.com on 9 Feb 2015 at 3:53

GoogleCodeExporter commented 8 years ago
Is there a fix for this?

Original comment by nikhi...@gmail.com on 18 Feb 2015 at 9:08

GoogleCodeExporter commented 8 years ago
I was able to get this working again in Win7 64bit with iTunes 12.1.1 as my 
main iTunes install. I took the Mobile Device Support folder from an install of 
iTunes 11.4 (located at C:\Program Files (x86)\Common Files\Apple\Mobile Device 
Support) and put it in a separate location. I then edited the registry like 
others have done, but pointed the InstallDir key in 
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apple Inc.\Apple Mobile Device Support 
to the location that I put the old iTunes 11.4 Mobile Device Support folder. It 
now works like it did pre-iTunes 12.1. I am sure this will work with the Mobile 
Device Support folder from any version of iTunes before 12.1, I just had 11.4 
already installed on another machine.

Original comment by johneric...@gmail.com on 25 Mar 2015 at 5:07

GoogleCodeExporter commented 8 years ago
Thank you John, copying the old files and registry key made it work perfectly.

Original comment by Rexxxo on 8 Apr 2015 at 6:22

GoogleCodeExporter commented 8 years ago
thank you John. I copied 12.1.1 files and then update to 12.1.2 and change 
registry key. it works perfectly.  

Original comment by HaE...@gmail.com on 16 May 2015 at 12:27