Coder Social home page Coder Social logo

Comments (8)

nikias avatar nikias commented on August 19, 2024

Can happen in Restore mode. Have seen this happening on incomplete previous restores, but also sometimes on first time restores. The open source usbmuxd is automatically adding a unique id (usb id), overwriting the last 4 bytes of the fffff* so if two devices are in the same state they will be distinguishable.

from libusbmuxd.

daniel-bluesea avatar daniel-bluesea commented on August 19, 2024

@nikias thanks, but..
on windows we dont use usbmuxd, but the libusbmuxd does what you describes also.
the problem is the for some reason sometime windows and/or its pnp driver or some usbhub hardware driver generates same device instance path (e.g. USB\VID_05AC&PID_12A8\FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF), and this is causing the BSOD..

from libusbmuxd.

daniel-bluesea avatar daniel-bluesea commented on August 19, 2024

it seems both windows7 & iPhone >= 6s "problem".
the iPhone devices when transition from recovery to restore gets this "ffffffffffffffffffffffffffffffffffffffff" udid, and windows7 fails to generate unique device instance path for them.

any clues/thoughts how to overcome this situation?
this bsof is a problem when trying to restore multi devices..

from libusbmuxd.

nikias avatar nikias commented on August 19, 2024

I just realized that actually libusbmuxd is adapting the device UDID
here: https://github.com/libimobiledevice/libusbmuxd/blob/master/src/libusbmuxd.c#L696
and here: https://github.com/libimobiledevice/libusbmuxd/blob/master/src/libusbmuxd.c#L853
So the only reason why this would fail is when windows somehow has a device handle of -1. Not sure why this would happen though.

from libusbmuxd.

mexmer avatar mexmer commented on August 19, 2024

USB\VID_05AC&PID_12A8\FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF as instance ID can only happen with bugged device firmware or driver.
Windows issue query for serial number to USB device (which may or may not be implemented - optional for everything except mass storage). If device responds with unknown/unimplemented command, windows generate "random" identification, but if device responds with value, windows use that value.

i've seen devices (although windows phones, and some chinesse flash drives - mostly fake capacity ones) that responded with weird numbers. although in case of apple udid, i would see it rather as issue with driver, especially if it's exactly 40F - never seen that personaly so far. but without communication capture, one can only guess.

from libusbmuxd.

nikias avatar nikias commented on August 19, 2024

There's a simple solution: don't use Windows. Apple makes iOS and macOS. Yes, they made iTunes for Windows, but that's not their own platform, so it will never be perfect. They just made it work because so many people use Windows. But except for making it work with a single device, trust me they don't really care about Windows.
The only way to get it fixed is by reporting the issue with the driver to Apple and hope for them to fix it.

from libusbmuxd.

nikias avatar nikias commented on August 19, 2024

Closing since the bug clearly doesn't originate from libusbmuxd.

from libusbmuxd.

daniel-bluesea avatar daniel-bluesea commented on August 19, 2024

correct, it is a windows issue, there is a problem with some usb (3) drivers that fails to allocate/generate unique device instance path/id.
no problem here with the libusbmuxd.

thanks

from libusbmuxd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.