7 ms·
Would be easier to do a hex search on the binaries, find the device id of the old mic, and patch in the device id of the new mic. I'd be surprised if they had b
by ggambetta 10y ago
Would be easier to do a hex search on the binaries, find the device id of the old mic, and patch in the device id of the new mic. I'd be surprised if they had bothered to obfuscate the id in any way.
- DoubleGlazing 10y agoNow you mention it I feel like I overlooked the obvious solution.
- roghummal 10y agoGood excuse to break out the soldering iron.
- ggambetta 10y agoHahaha :) To each his own, I guess. I would have never thought of anything involving a soldering iron!
- beachstartup 10y agopermanently modifying the hardware is the more portable solution. it will always work with unmodified software i.e. at a colleague's location. i presume your wife works with others that use the same platform.
- hueving 10y ago>permanently modifying the hardware is the more portable solution. it will always work with unmodified software i.e. at a colleague's location. No, as OP mentioned, the software was compiled to match the device ID of the mic it was shipped with. So it would only work with versions of the software that were the same as OP's.
- beachstartup 10y agookay.
- milankragujevic 10y agoI think you misinterpreted. It's the USB device ID, which contains a unique to the model ID and the vendor ID, so any software would work with any device if it has the same model ID. There isn't a such thing (at least not standardized) as a unique device ID.
- hueving 10y agoI think you misinterpreted, because you repeated what I said. >So it would only work with versions of the software that were the same as OP's
- MertsA 10y agoWhat he's saying is that there might be V1, 2 and 3 of the microphone in question. The software is tied to a single version of that microphone so any microphone of the same version is indistinguishable to the software. >the software was compiled to match the device ID of the mic it was shipped with. Since there isn't a "device ID", only a "Model ID", there isn't a new compiled version for everything being shipped. There's maybe 3 or 4 versions of the software total and there's probably one version that's more prolific than the others. He may not have been able to buy one of those USB Microphones off of Amazon that had the same VID and PID but the old model that he repaired is one of the few versions that the manufacturer used so there's a pretty decent chance that the fixed one will work as is with another computer with the software on it.
- StillBored 10y agoAlthough, did you get any of the other legitimate mic's to work? Its possible that the device has a serial number burred in one of the USB descriptors and is using the mic like a hardware dongle (or worse a robust DRM scheme). But, if you hack the binary, its probably worthwhile to spend a little extra time and completely remove the id check. That way you can use any random mic you find.
- kwhitefoot 10y agoWon't be so easy if they obfuscate/encrypt the binaries.
- Joof 10y agoCould do it live, but it's more annoying.
- giancarlostoro 10y agoI thought that was what he was going to do. Hopefully they didn't add too many protections on the software side.
- Someone 10y agoI don't know whether it still works in Windows 10, but you may be able to tweak an .inf file to map the driver to the vendor ID/product ID combination (https://msdn.microsoft.com/en-us/library/windows/hardware/ff537109(v=vs.85).aspx https://msdn.microsoft.com/en-us/library/windows/hardware/ff...) That also may require playing with settings that require drivers to be signed (http://www.alphr.com/blogs/2012/08/06/getting-older-drivers-to-work-in-windows-8 http://www.alphr.com/blogs/2012/08/06/getting-older-drivers-...)
- bjackman 10y agoAlternatively, would be fun to get the OS to lie about the USB device ID. This would definitely be possible on Linux (probably with a kernel module, but perhaps you'd have to modify the USB core) but no idea how flexible Windows is on this kind of thing..
- fatratchet 10y agoShould be possible with DLL injection or function hooking since I would guess they just check the USB id and then use the normal mic access functions so you would only have to intercept 1 or 2 calls. On linux LD_PRELOAD should be enough.
- bjackman 10y agoAlternatively, would be fun to get the OS to lie about the USB device ID. This would definitely be possible on Linux (probably with a kernel module, but perhaps you'd have to modify the USB core) but no idea how flexible Windows is on this kind of thing..
- megablast 10y agoThe same way we used to crack old games. That is how Mech Warrior on the PC fell.
- inafewwords 10y agoI'm wondering if that's "more illegal" than fixing the hardware component (which is silly because changing the ID can be simpler). In hardware you can just say you've replaced a broken part even if it's 99% of the hardware, right?
- mastermachetier 10y agowould you simply change the part of the hex in the binary that references the mic id? I was not aware i could modify the hex directly .
- IshKebab 10y agoThey're only 16 bits though so you will get a lot of false positives.