Thank you for responding,
So there is no way to enter or activate ADB with a payload without removing the Pattern?? or activate the transfer of images to the pc?
I have seen that the PIN code can be programmed to force test codes.
I have read on other sites that it is possible to do this. If you look at it, below it talks about android debugging mode and ADB.
Guide use for android
I also found this payload but it only works for Android 5 or lower. The one I use is 10
Github
Thank you very much.