It might help to know:
EFI or carby?
How many kms?
I can't help with your issues but I would suggest you try a new plug, the Bosch that comes from the factory is pretty crap and maybe it's breaking down.
He says it has 3,500 kms and that he has put in an NGK. I'll bet it's a bad pin or something in one of those hundred electrical connectors these new bikes have.
Sounds like false air is coming into the manifold. Check all screws and seals.
Try brake cleaner on the manifold. If the rpm advances you have a leak.
The air leak seems to be confirmed.
I hear a hum in the TPS area, when spraying there with body throttle cleaner, the rpm increases for a few seconds and then the engine shuts down. My next step was to check the valve regulation, is it worth doing or do I focus first on fixing the leak?
" I'm really tired and thinking of selling it, because my experience with this bike was not good from day one. I think the problem is in the air and fuel proportions of the mixture (the spark plug is a bit carbonized), but I do not know the procedure to achieve the correct setting. "
Before you give up and scrap a basically good machine, there is a plan "B" that doesn't involve becoming an EFI tech:
https://accessories.hitchcocksmotorcycles.com/41381?ref_page=HimalayanPART No. 90058
CARBURETTOR CONVERSION KIT (Himalayan) ; £335.00
Carburettor conversion kit for the fuel injected Himalayan models. This kit includes all the components required to convert your Himalayan away from fuel injection to a CV carburettor.
All of the components are bolt on items, and it is a completely reversible modification. Supplied jetted to suit the standard Himalayan model.
H's has a PDF of their install instructions on the part page. Here's an excerpt:
"The carburettor is supplied with a base setting for a standard Himalayan and will require fine tuning. The carburettor comes jetted to suit a standard Himalayan. As a base setting, turn the pilot air screw in fully, and then unscrew by 1 ½ to 2 full turns."
Pretty straightforward, just keep the fuel & air clean and it should work well for you.
Good evening friends, I want to consult my engine tune-up problem, I can't get a stable idle, there are ups and downs in the RPM and it ends up turning off, after riding for half an hour and with the engine relatively warm stop failing. It is noticeable with less reaction when operating the accelerator, it works like drowning, you hear back-explosions and it wants to stop, you notice a heavy operatio.....Disconnect negative from Battery about 2 or 3 hours