Ok nevermind, I found the problem. There’s a connection issue. I have tried with multiple USB ports and cables, and I have had a broken USB-C port before so I pulled the phone apart and replaced the new one with the old one. Nothing changed. I think the board may have some issues. At least this is just a project, and not my main phone!