The drivers are pretty messed up. I know.
Actually, when you boot to ROM, there are two device detected:
1. ADB/PHONE/DEVICE DRIVER --- which is "My HTC"
2. SDCARD UMS DRIVER --- which is "USB Mass Storage"
In this current recovery, when you boot to recovery, the roles are somehow reversed:
So if you force the drivers the other way around. both things become normal....
1. ADB/PHONE/DEVICE DRIVER --- which is "USB Mass Storage"
2. SDCARD UMS DRIVER --- which is "My HTC"
BUT, as soon as you boot the ROM, you have to repeat the same DRIVER SWAPPING exercise.
I'm trying to sort it out soon though..
Regards
Yasir
Thank you for your fast reply and in advance for sorting this out. However it might be useful to warn other users that uninstalling drivers etc could cause adb to malfunction in recovery. I tried many possible solutions but I can't get it to work again. In normal mode adb works just fine, connecting device to PC etc works fine but every time I boot into recovery and then try to use adb it doesn't recognise the device. So indeed it seems the drivers are pretty messed up. And I don't know how to revert it.
As I said I tried many things like uninstalling/re-installing HTC drivers, hard-resetting the phone, flashing other recoveries etc but no luck. Connected my good old HTC Desire in recovery and adb works just fine. So it has something to do with recovery/drivers combined.
EDIT: so it's a bit of a struggle to get the right drivers for UMS and ADB in system/recovery in W7 (home premium 32 bit) but I finally managed. Might be a detour and a fix will probably be around the corner but I decided to share it anyway:
In recovery:
- reboot into recovery and mount USB Storage
- connect device to pc and go to device manager
- refresh device manager and uninstall driver under 'USB Controllers' - 'USB Mass Storage' that has an exclamation mark
- refresh and then double click the new 'Android Phone' under 'Other Devices' and manually update that driver to 'Android USB Devices' - 'MyHTC'.
- you´ll now have two MyHTC´s and ADB will work.
- to get UMS to work manually update the driver of the one that has USB Mass Storage as an option to 'USB Mass Storage'.
In system:
- reboot to system and connect device to PC, mount USB Storage and go to device manager
- refresh and update the driver from 'USB Controllers' - 'USB Mass Storage' that has an exclamation mark manually to 'MyHTC'.
- from the two 'MyHTC's' manually update the driver that has an option USB Mass Storage to 'USB Mass Storage'
- USB Storage and ADB will now work