I am tasked with restoring some photos from a Huawei P30 that has a broken screen/touchpad. The photos were stored on the device directly, unfortunately not on an SD card or on a cloud provider. The phone does still turn on (it vibrates when plugged into a power outlet and shows up on Windows). However, it's only showing an installer for HiSuite (which did not help), not the file system. USB debugging is enabled.
Things I tried so far and didn't work:
- shining a flashlight at the screen to see if only the backlight is broken (it seems the whole screen is done for) - eyeballing it and trying to blindly enter the passcode - connecting phone to external monitor and keyboard via USB-C -> HDMI (monitor stays black)
Is there anything that may still have a chance of working short of replacing the screen to unlock the phone? Thanks and happy holidays.
The first thing you'll need is Google's platform tools, as well as a compatible ADB driver for your device if you're on Windows.
Then, you can use `adb pull` to copy data from the phone's filesystem to Windows.
Edit: another commenter rightly pointed out that this might not work when your phone is locked.
A quick search found some really interesting tools in this thread here (srcpy especially seems amazing!): https://stackoverflow.com/questions/29072501/how-to-unlock-a...
* See if you can turn on talkback (typically pressing both volume buttons for 3 seconds, 2 times). This should provide you with enough information about what's happening on the screen to unlock it.
* Once you have the phone unlocked, connect to a bluetooth keyboard. This will free up the USB port for ADB
* You need to accept a confirmation dialog to pair via ADB
EDIT: `adb shell` may be able to input keypresses with an unverified device. My normal device isn't recognised at all over USB currently so I can't test.
I decided it'd be cheaper and save time to just buy a new screen. I thought of doing it myself but decided against it because my photos were too valuable. Everything only cost me about £45.
Had a local guy fit the thing for me and in the end I also had a working phone. Moral of the story for me was to set up my Google services so they sync my photos.
Fun fact, oled screens aren't as expensive as I thought and some repair shops won't let you supply a screen either.
This gives a cursor (yes a windows like cursor) on your phone screen that you can move and click which imitates the touch.
I selected my files and sent it over to my computer with WiFi direct. I had to install a 3rd party app on my phone to act it as a server so I can connect from my computer and download.
There are plenty of apps like that on the play store. But I don’t know what I’d have done if the screen was completely broken.
In my case the screen was heavily cracked and touch wasn’t working but it was viewable.
https://www.amazon.it/gp/product/B08C741R65/ref=ppx_yo_dt_b_...
Not all USB-C -> HDMI connectors work properly. This works with Huawei P20 Pro
I suggest this before going with the USB debugging way (using the android console and tools)
Something like
https://www.martview-forum.com/threads/repair-boot-huawei-p3...
Or
https://forum.gsmhosting.com/vbb/f672/huawei-p30-lite-mar-lx...
You only need somehow turn on smartphone, so it will boot system and show SYSTEM login/lock screen.
BTW I'm not sure, what You talked about "pin code". I mean, classically, smartphone boot Android, and it have running usb-otg drivers, etc. But exists "feature-phones", like samsungs with "secure-boot" included directly into SoC, so it's boot loader have some interactivity with very limited interface (like grub), and it does not have usb drivers/etc. I usually avoid such interfaces, prefer to use less secure, but more reliable stock Android.
Other options need to do some things before crash - install app, install alternative boot, activate developer mode, backup all to cloud.
Good luck!
Everything on my phone was already backed up but it did let me wipe the phone completely. Nice feature that I'm sure most people never even think to use.
Ages ago, I implemented a really simple program to screenshot the screen periodically and inject touch events via adb shell commands: https://github.com/nneonneo/android_remote_control. I used this successfully to recover all of the data off of a OnePlus with a broken touchscreen. I believe scrcpy, linked in other threads, is probably a better supported and more mature implementation of this idea, so you should probably try that first. Nevertheless, my little project should demonstrate that it’s possible to implement this kind of control without too much coding effort.
Spoilers: I had to replace the screen.
I had already flashed Lineage OS on it, but this was not helpful.
I first tried to mount the userdata via ADB shell (via LineageOS Recovery or another recovery), but was unable to. AIUI, the recoveries don't have support for Samsung encryption.
Second attempt was to try to boot to GUI, then control the GUI over ADB using scrcpy. This required USB debugging enabled, but I was unable to enable this.
Final attempt was to buy a replacement screen, and follow a YouTube video to replace it.
This was new to me, but it worked. I needed a kit of mobile phone repair prying tools ($15), the screen ($100) and patience.
I've since enabled backups on my partner's phone. :)
Is it easy/recommended to look into creating backup with borg ? Can I regularly backup up an android phone like I do with my laptop ?
I have a couple western digital USB drives, about 10 years old. they show up as a drive when plugged into a Mac or windows laptop but they disconnect when trying to navigate the folders or open/copy files.
If the data is not worth the cost of the replacement display, walk away.
Used a common software.
Hopefully someone with more knowledge will pick it up and help you.