While installing custom rom i think i deleted some key file so now my PC is not able to detect my android phone, nor I have any saved roms on the phone to recover. I do not have SD card slot but have clockworks recovery software so if someone can tell me how i can make my PC detect the android phone it would be great.
Which device do you have? There might be an option in CWM to enable MTP to gain access to storage over USB.
I managed to fix the phone. I flashed it with custom ROM for T mobile using Odin. I have SAMSUNG GALAXY S3, SGH T999. Initially the phone was not getting detected so i tried using ADB to transfer a ROM. That worked but IMEI no was still not available. It showed null, so i flashed it with stock ROM. Anyone who has same issue can try my method. Here is the link to flash Stock ROM using Odin. http://androidxda.com/flash-samsung-stock-rom-using-odin