Use a phone without a screen


Question

I have a very peculiar situation/question. Below is my mom's phone, OPPO F5 to be precise. It had a broken screen a long time ago. I removed the broken screen, as it posed threat to my siblings, as it could injure them without us knowing. Then, i decided to buy a new screen from OPPO service centre to fix this problem myself. As it is now a lock down period, most/all service centres are not available. I could wait till the lock down is over, but my question is, can you use the phone, like have the screen displayed/ported to a laptop, by wired means(i have no access to the phone's applications or any other forms, as there is no touch screen to control them), to use the phone, till the lock down is over? The phone functions normally by all means, as you can see from the picture, that there is the notification light is still on. Hey Google is also working partially, as when i say it, there is vibration, but no response by the assistant. Any help will be greatly appreciated.


EDIT: When i connect that phone to my laptop, it is charging but isnt detected by my laptop as a device.


OPPO CPH1723 without a screen


Answer

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 "oppo f5 recovery custom recovery" 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 "persist.service.adb.enable=1" >> default.prop
echo "persist.service.debuggable=1" >> default.prop
echo "persist.sys.usb.config=mtp,adb" >> default.prop
echo "persist.service.adb.enable=1" >> /system/build.prop
echo "persist.service.debuggable=1" >> /system/build.prop
echo "persist.sys.usb.config=mtp,adb" >> /system/build.prop

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


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes