enabling usb debugging in recovery mode in rooted android
Haven't tried it, but found this solution on xda:

Add to default.prop and /system/build.prop

persist.service.adb.enable=1
persist.service.debuggable=1
persist.sys.usb.config=mtp,adb

http://forum.xda-developers.com/showthread.php?t=2335799