i don't think he means the IMEI
you mean htc_ime? the keyboard right?
you can try copying it over to your sd card in adb shell: cp htc_ime.apk /sdcard
or you can copy it over to your computer, sign it and flash it?
if these 2 methods don't work i assume they are not compatible, this could be the case if you are flashing 2.1 software on a 2.2 rom and visa versa.
if you send me the .apk you want to get, i can sign it and make it into a flashable zip, if that doesn't work it's simply not compatible
Here you go, this will flash the keyboard.
If it does not work then this means 2.1 and 2.2 are not compatible.
The zip will work.