can i get data off a Pixel 4a phone with FreeBSD?

Recently my google pixel 4a phone got some water in it through the speaker, at which point the sound would blip every 2 seconds when playing audio. The sound wasn't muffled at all, it would just "pause" on playing audio for a split second then keep playing normally. This would keep happening for as long as I played any music. Still not sure why this happened. Since I figured this wouldn't be optimal for making calls and I figured the phone was ruined anyway, I took it apart to see how it was assembled and if I could dry out any water trapped in it. Well there was really no water inside it, and in the process I put a little too much pressure on the paper thin screen while cutting the adhesive and now the screen is totally unresponsive. There's some data (video) I want to get off the phone, but in Windows you either have to tap an option on the screen when you plug it into your PC or if you have no screen, you can directly transfer files if you had USB debugging enabled (I didn't.) So.. if I plug the phone in via USB (USB-C -> male to male usb cable -> front usb port on computer) will FreeBSD recognize the device and is there a way to mount it and copy files directly?
 
The phone will not report itself as usb memory until you change it via the phone menu. Your best option is to give this phone on service so they can replace your screen via temporary spare one and then fetch the data from the phone.
 
Without knowing that exact model, you might be lucky:
  • many models allow booting into recovery just using the hardware buttons (or at least into the bootloader from where you can use the fastboot utility to boot into recovery)
  • some recovery systems configure USB different by default (e.g. with MTP or USB debugging enabled)
Admittedly, it's a small chance...
 
Install adb, reboot into recovery (caution! Only step 1, 2 and 3 from that tutorial!) and adb pull all your files.

See
for more info.

If stock recovery doesn't let you connect with adb, you might have to temporarily boot another recovery like TWRP using fastboot.


Disclaimer: I am not responsible for any data loss or worse (bricked device). Think twice (trice) before issuing any command with adb or fastboot.
 
The phone will not report itself as usb memory until you change it via the phone menu. Your best option is to give this phone on service so they can replace your screen via temporary spare one and then fetch the data from the phone.

No way. Not the best option at all. It would cost way less to buy a USB hub and connect it to my TV than it would to pay someone to replace the screen. I could just buy the screen and connect it, but again that would cost way more than just buying a USB hub, and then i'd still have a broken phone. Unnecessary. I was just wondering if there was a way to copy the files directly in FreeBSD without screen access.
 
Use adb pull /sdcard to copy all files.
Doesn't adb need confirmation (as well as enablement in the settings)? This will be difficult with a broken screen.

Perhaps the OP can plug in a keyboard and hammer the enter button, hoping it will allow it to usb mount? May need a usb->micro adapter. And unfortunately it probably only has one USB making it hard to also plug into the PC... hmm, phones suck.
 
Iirc TWRP lets you pull files without confirmation. But i could be wrong, though.

I think it's worth a try.

Edit:
Mmm. I fear this won't work either since you need a working touch screen for TWRP.
 
Think through the security implications. Imagine that anyone who has found the phone would be able to read all the data from it, by just plugging in a USB cable. That's so insecure, it can not be true.

So in reality, the phone needs an authentication mechanism. For most phones, that's either a fingerprint reader, or facial recognition, or typing a PIN number or alpha password on the screen. Now imagine how this could work over USB: Not well, and not securely. One could in theory connect an external keyboard for the PIN/password, but that implies that the phone is a USB host at boot, looking for a keyboard-type USB peripheral, which precludes the phone being a USB peripheral (a storage device) that a computer can read.

If you already had installed something like ADB or similar "access over USB for debugging" software beforehand, that would make it easier, although I by no means know that it would work.
 
Back
Top