For a proper fix, you'll need to apply a valid CSC, which will erase all your data including the internal sdcard contents.Thanks a bunch! I'm at work but I'm sure it will work for the restore.
I do want to do a permanent fix though. The rom I downloaded was a .tar.md5 file from sammobile and I used ODIN to flash it. Would the problem be fixed if it was flashed a different way? Can Kies be forced to flash that particular file?
I think I'll try a stand-alone multi-CSC file first.
- flash the appropriate (single or multi) CSC package
- dial: *#272*...your IMEI here...#
- select the CSC you want and press Apply/OK. This will wipe all your data.
For a not so radical solution, you might want to create an init.d script (if you are using a kernel that supports it). That script would run on every boot and therefore leave you with a valid state for kies to connect.