For the tomato jam, peel the ginger and shallots and chop finely. Clean the chilli, cut lengthwise, remove seeds, wash and chop very finely. Wash the tomatoes, dice coarsely. Coarsely crush 150 g sugar.
Heat 2 tablespoons of oil in a saucepan. Sauté the ginger, shallots and chillies in it over medium heat until it begins to brown slightly. Deglaze with approx. 5 tbsp. water, add crushed palm sugar and dissolve at medium heat.
When it is dissolved, raise the temperature and caramelise the sugar for 1-2 minutes.
Add fresh diced and strained tomatoes and fish sauce. Simmer at low heat for 20-30 minutes and reduce. Add vinegar. Season to taste with some palm sugar and possibly fish sauce and chilli powder.
Preheat oven (electric cooker: 180 °C/circulating air: 160 °C/gas: see manufacturer). Heat 1 tablespoon of oil in a coated pan. Wash meat, pat dry and salt from both sides. Place in the pan with the skin facing down.
Fry over medium heat for 4-5 minutes until golden brown. Turn over and fry from the other side for about 1 minute. Place in an ovenproof dish and bake in a hot oven for about 8 minutes. Leave to rest for 1-2 minutes, then cut into strips.
Serve the chicken with tomato jam. Sprinkle coarsely chopped mint over it as desired. Serve with jasmine rice.