Put a little bit of oil in a deep, heavy bottomed frying pan. Brown the cheese, turning frequently so no sides burn. When it is browned, set aside on a plate.
Add a little more oil to the pan and throw in the onions. Let them fry until golden, then add the garlic and spices.
Fry some more for a couple minutes, then add the tin of tomatoes and about 1/2 cup of water.
Let simmer for about five minutes, then put in the fried cheese and peas and simmer covered over a low heat for about 20 minutes.
Check the consistency and simmer some more if needed to bring it down to a thickness you like.
Serve with rice.