Use a phone without a screen
What you could try doing is flashing a custom recovery onto your phone, then get USB debugging permission using the custom recovery, to then launch a screen control software to control your phone.
Every phone have a different way of installing a custom recovery, I remember Oppo phones need edl to install one, you can search up &quot;oppo f5 recovery custom recovery&quot; to find the custom recovery and install method.
After that, get adb, start adb by adb start-server. Next, reboot into recovery mode, it can be done by doing a button combination.
You can then push a key file in your .android folder when your device is detected as in recovery, if you are on Ubuntu, it is in ~/.android. Push the adb_keys in the folder to /data/misc/adb/adb_keys, use adb push ~/.android/adbkey.pub /data/misc/adb/adb_keys
After that, run all these commands to finish our work:
su
mount -o remount,rw /system
cd /
echo &quot;persist.service.adb.enable=1&quot; &gt;&gt; default.prop 
echo &quot;persist.service.debuggable=1&quot; &gt;&gt; default.prop
echo &quot;persist.sys.usb.config=mtp,adb&quot; &gt;&gt; default.prop
echo &quot;persist.service.adb.enable=1&quot; &gt;&gt; /system/build.prop
echo &quot;persist.service.debuggable=1&quot; &gt;&gt; /system/build.prop
echo &quot;persist.sys.usb.config=mtp,adb&quot; &gt;&gt; /system/build.prop

After that, type reboot to reboot to system, you should now be able to use scrcpy to control your screen.