View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0015280||MediaMonkey (current)||Synchronization||public||2018-12-23 02:45||2019-03-25 14:50|
|Priority||immediate||Severity||major||Reproducibility||unable to reproduce|
|Status||closed||Resolution||unable to reproduce|
|Target Version||4.1.24||Fixed in Version||4.1.24|
|Summary||0015280: iTunes reports corrupted device after sync with MM (iPhone XR and XS)|
|Description||After MMW sync to users iPhone even all looks OK on iPhone when starting iTunes it reports a corrupted device and suggest Factory Reset.|
iPhone XR, iOS 12.1.2 (claiming that it also happened with 12.1.1)
Logs and related info in Ticket
|Tags||No tags attached.|
|Fixed in build||1883|
|related to||0009360||closed||Ludek||MediaMonkey (current)||iOS: iTunes wants to restore device synced by MediaMonkey for iTouch 3rd gen|
|related to||0015378||resolved||rusty||web||Replace [i-FunBox and DiskAid] by [iMazing and iExplorer]|
|related to||0015375||resolved||rusty||MediaMonkey (current)||Syncing with iTunes causes music on iPhone X to disappear|
Capture.PNG (39,578 bytes)
Capture.PNG (39,578 bytes)
I was unable to replicate this with my iTouch and iOS 12.1.3
User can no longer replicate the issue and it is working for him now (based on BAO-120-59505 ).
||Reopen, user supplied new information, I'll ask him for a copy of iTunesCDB prior to iTunes sync and after.|
||Another user reported issue.|
I was unable to replicate this (see notes at 0015375) when testing with an iPhone X (iOS 12.1.2), MMW 4.1.23, and iTunes 220.127.116.11 (64-bit). What I did find, that may be relevant to this issue, is that whenever I ran iExplorer (the app that I was using to access iTunesCDB) with the iPhone connected, then on the next time I ran iTunes with the phone connected, a different error would result as soon as iTunes was run:
"The iPhone 'Ari's iphone X" cannot be synced. An unknown error occurred (-54).
However, initiating a sync with iTunes --> successful synchronization, and elimination of the error when iTunes was run subsequently.
Could this particular user's case be caused by an app similar to iExplorer?
||OK, I asked him.|
It seems that the issue happens with "iPhone XR" only. Not with "iPhone X".
The original user has stopped the communication, debugging further via forums with other users:
Some tech/dev notes:
I have been debugging this remotely via ticket BAO-120-59505 (as I don't have iPhone XR/XS) and found:
- the difference is in the AB hash value (diff between iTunesCDB generated by MM and generated by iTunes)
- the AB hash is calculated from iTunesCDB content + some random part + device UDID
- the UDID for iPhone XR/XS is in the new format, see: https://www.theiphonewiki.com/wiki/UDID
- I tried supplying the new UDID for the hash calculation in various forms, but the error still appears in iTunes
- I also tried to calculate the old style UDID to supply, i.e. SHA1(serial + ECID + wifiMac + bluetoothMac) -- still no luck :-/
So probably the AB hash is calculated another way for the new models.
I used workaround of writing MediaMonkeyCDB (instead of iTunesCDB) with following downsides:
- music synced by MM won't be visible in iTunes anymore, but will be still visible and playable by iPhone itself
- iTunes sync will wipe music synced by MM
This is applied only for the new models (iPhone XR/XS) with the new UDID format.
This workaround is added in 18.104.22.1683
||User confirmed the fix here: http://forum.mediamonkey.com/viewtopic.php?f=7&t=92985&e=1&view=unread#p456984|