Android How to stop a mediatek android device from auto exit EDL mode?

nightHawk12

Contributor
I have a device running mediatek dm 7050. For some work I need the edl mode, but every time I connect the usb it auto reboots to OS in 5sec. I have tried some solutions for Qualcomm devices including driver signature enable/disable but itr dident wwokr. Please helep