Samsung P3100 Facing Software Problem

Here i am Facing some headache problem regarding with Samsung Tab P3100:confused::confused:

My Phone is going to automatically restart in every time 2 minutes
then i downloaded some custom rom from internet and put into the mmc and open root mode applied for update from mmc it takes rom and after some time failed operation are arrives there are not take any custom rom from memory card and failed to update also i used odin software but there are same problems i faced it will start for processing but after some time it will failed.

Also i open my tab on root mode for wipe and cache clearing but it not clear or wipe any data on my phone.

Even my stored application when i removed it but when it will restarted it will automatically restored.

I am very very confused in this problem please short me out of this