Hello everyone. Hopefully this hasn't been done before. This mod is a bit more of a fun one (In my humble opinion ).
You may have noticed that when you connect your phone up to a computer, while booted into a Sense-based ROM, the phone will mount two drives -- one being a mass storage device, and the other being a CD-ROM drive. Interestingly enough, when you select HTC Sync Manager from the USB connection type list, it makes the computer think that you inserted a CD-ROM.
That's interesting because that means that you could essentially hook the phone up to just about any computer, and it would recognize that "CD-ROM drive."
I found that you can actually change that CD-ROM to just about anything you could possibly want (having some trouble with bootable ISOs though).
There is a file named PCTOOL.ISO inside the /system/etc directory that normally contains the HTC Sync Manager Software. By replacing that ISO with another, it'll mount that one instead. Because there isn't too much room to spare in the /system partition, the file should probably be kept relatively small.
Okay. Why does this matter? I can think of two reasons:
1. ROM Developers can include a package that contains a copy of the ADB and Fastboot executables within their ROM. ADB would be useful while the device is on; Fastboot would probably have to be copied to the computer.
2. Because the ISO is mounted as Read-Only media, it could be incredibly useful for field technicians who need to run portable software, without the risk of being infected with a virus on the host machine.
It's not hard to create these ISOs, and flash them to the phone. I can put up a how-to in the second post if anybody would like me to.
For now, here's a flashable zip containing ADB and Fastboot executables for Windows, Linux, and Mac OS X.
Just flash the file like you would flash any other.
There is an old version of the PCSC.apk in this file. A newer version is here for the time being.
To use it, while booted, change the device-connection type to HTC Sync Manager. Tap 'Done'. You'll likely see a message on the phone that says "Connecting to HTC Sync Manager ..." Just tap the back button on your phone to clear that message.
On your computer:
If you're running Windows, you may get an AutoPlay window that gives you the option to launch the "ADB and Fastboot Command Prompt." If you click that, you'll get a Command Prompt Window that's pointed at the drive already. To use any of the commands, just type adb [COMMAND], or fastboot [COMMAND] (again, fastboot may be useless unless copied to the computer).
If you don't get an AutoPlay window, open up the CD-ROM drive, and double-click on the 'ADB_FASTBOOT_SHELL.BAT' icon to bring up the window. That batch file contains only one command (just to launch the Command Prompt to the CD location).
If you're running Linux, you may have to copy the binaries over to your computer to use them (they may not have correct permissions).
On Mac OS X, you'll likely have to open a terminal window and navigate to the CD-ROM drive to use them.
Disclaimer: I am not responsible for anything that happens (including, but not limited) to your phone, computer, Sprint contract, etc. This is provided free of charge without any warranty.