What you say is strange because when you install the tow hook in a BMW, the comfort opening of the tailgate is disabled.
Try this
HU_MGU
SMART_OPENER_ENABLE aktiv
SMART_OPENER_SETTING_ENABLE aktiv
SMART_OPENER_SETTING_VISIBLE aktiv
SMART_OPENER_SETTING_AVAILABLE aktiv
if that doesn't work, alternatively, try this
BDC_BODY
FUNKTION_SMART_OPENER nicht_aktiv
SMART_OPENER nicht_aktiv
SMART_OPENER_KICK_FUNCTION nicht_aktiv
SMART_OPENER_KICK_LOCKED nicht_aktiv
however, this will permanently deactivate the tailgate comfort opening