.. the problem was because of rock box because i never had a problem with it but the day after i installed rock box it froze
Correlation is not causation.
There is nothing Rockbox could do to bork your player in the manner you describe.
I still suspect there is actually nothing wrong with your player, but the manner of your posts (no caps, little punctuation, run on sentences) makes it hard to follow what is going on.
First off: Describe in detail what steps you take to enter into Apple's Disk Mode.
Second off: Describe every step you take after forcing your iPod into Apple's Disk Mode to connect it to your computer.
Third: What
exactly happens after that?