Since we don't know which phone it is or which files you deleted, all we can give you is general advice. Do a full backup of data you need. Then reflash a stock ROM.
Since we don't know which phone it is or which files you deleted, all we can give you is general advice. Do a full backup of data you need. Then reflash a stock ROM.