Pruritis (itching) and flaky scalp are symptoms, they need a formal diagnosis even without the smell. You seem to be assuming the coconut oil is solely causing the smelly scalp instead of being a catalyst or trigger or contributory factor, that seems highly unlikely in such a short time frame.
2a-2c, medium texture, porous/ colour treated. Three years CG, growing out mechanical and chemical damage = breakage and very high porosity. Past armpit length heading for waist.
CO-wash: Inecto coconut
Treatments: Komaza Matani, coconut oil, Hairveda Sitrinillah
Leave in: Fructis Sleek & Shine (old), Gliss ultimate volume, Inecto argan
Styler: Umberto Giannini jelly, Boots Essentials gel
Experimenting with: going back to basics