hey guys i keep getting this error with my at&t avail. when i first got the phone i rooted it with no problem with the guide on this forum but then i decided to change back to the stock rom and unroot it temporarily. then i decided i wanted to reroot it the way it was but now everytime i try to use the OTA update, it says ''package is corrupted..phone will now reboot''. and when i try to use the stock t-card method on this forum it won't work either when i select the system updates option on the about phone part of the menu. it just reboots the phone in a loop and never uses the .img or zip files that are on the sdcard to rewrite the rom. does anyone know what this is all about? 
*also the phone will not erase ANYTHING on the device even when i go to settings>privacy>factory data reset --- it just retains all my info and icons on the home screen, etc. all the phone does is reboot.
please help!!!!!!!

*also the phone will not erase ANYTHING on the device even when i go to settings>privacy>factory data reset --- it just retains all my info and icons on the home screen, etc. all the phone does is reboot.
please help!!!!!!!