these 2 are important files to be removed to stop over the air activation each time u reboot ur hero -
OMADM.apk
OMADM.odex
(Thank you Hetal for identifying)
commands are-
ADB remount
adb shell
su
cd /system/app
rm OMADM.apk
rm OMADM.odex
(follow exit and reboot procedure given below after it completes)
PLEASE NOTE : That you will get the OTA error ONLY in brand new sprint hero's. If you dont get that error that means that your phone had already been activated on Sprint before and is hence not brand new...
Also copy your entire system/app directory to your pc's hard disk (say e:\hero) by this -
CMD
E:
CD HERO
ADB pull /system/app .
after it completes successfully-
exit
exit
adb shell reboot
(the last command will reboot ur device; u can remove usb cable after it starts to reboot)
dont try these commands unless u know what u r doing; read xda forums for details; always take nandroid backup before playing with system files. I will not be responsible for any damage to your device, if u dont know what u r doing....