When I tried to clear data and cash to install a rom it gave a weird error:

E:data not cleared

Something to that effect. Did the same for the cashe?
Any ideas?