The most problems with such symptomes are in the ignition ore the vacuum system. When the KF had the same problem it could not be camshaft´s

.
Please also check the cooling system, in the past there some guys which had bad idle because of unsealed coolant caps.
fault code 24 = Lamdasensor back Block, inversion error
this was mine, some years ago, the wining noise are the new bearings from timing belt.
https://www.youtube.com/watch?v=ko4_pKHaNlM