Finely chop the onion and sauté. Finely chop the garlic. Peel the potatoes. Coarsely grate the cheese, carrots and potatoes. Mix all ingredients into a dough and let the dough rest in the refrigerator for about 30 minutes.
Shape the dough into patties and fry them in oil on both sides.