I have a Samsung A5 from a friend. Her screen is totally broken (black) and she wants me to recover her files. The problem is that you need to enter the pass-code of the phone in order to be able to transfer files to your laptop, but we can't enter the code because the screen is broken.
Now I am wondering if there is a way, to access the files from that Android phone from my laptop. We of course know the pass-code, but can't enter it on the phone itself. Ideally would be a way to get a password-input box on my laptop for the phone. Maybe by using a specific Kali Linux Forensic tool?
We already tried those 'Samsung Data Recovery' crapwares but those of course didn't work at all.
TL;DR How to access files on a phone connected to your laptop, knowing the phone's code, but without entering the code on the phone.
Edit: The closest option I got was using ADB (Android Debug Bridge), and sending the pass-code from command line using ADB, but USB debugging is turned of. I actually only need a way to force USB debugging on from my laptop.