How can I access media on my OnePlus 5 with a Ubuntu OS?
Solution 1
What you want to do is to configure your phone's USB settings for MTP (Media Transfer Protocol). Unfortunately, this is hidden away deep in the Developer Settings on recent OnePlus 5 phones. To enable Developer Options, go to the phone's "About Phone" page (in the settings) and tap the build number 7 times.
Then, open the Developer Options (from System Settings), enable it, and look for the Default USB Configuration option. Change it from "Charging only" or "No data transfer" (probably the default) to "MTP"/"File transfer". Then, your phone should work like any other USB storage device.
Solution 2
None of the answers above worked for me, I had to select the "File transfer" option, then install adb
sudo apt install android-tools-adb
Then execute the .sh file found in one of the mounted drive:
source ./adb_config_Linux_OSX.sh
Only then was I able to see an "Internal Shared Storage" icon in the other mount drive, containing all the files of the device.
Related videos on Youtube
Alex Marshall
Updated on September 18, 2022Comments
-
Alex Marshall over 1 year
So I want to move the photos on my OnePlus5 to my pc. My OS is Ubuntu 16.04. My PC recognises the device and also pops something up to install the drivers but none of them work for me.
.
I've tried both of these that are for different OnePlus models but neither have worked: https://forums.oneplus.net/threads/detect-oneplus2-in-ubuntu-in-mtp-mode.365343/ https://stackoverflow.com/questions/33143928/how-do-you-connect-a-oneplus-two-device-to-ubuntu-through-mtp
-
Admin over 6 yearsYour screenshot also shows the"OnePlus" drive mounted. Ignore the one where you clicked. NO DRIVERS REQUIRED.
-
RogUE over 6 yearsAs @MichaelBay said, have you tried opening the drive 'OnePlus? I had a device which shows up as a CD-ROM and a bunch of softwares/drivers inside it. They were for Reverse USB Tethering and of that sort.
-
Alex Marshall over 6 years@MichaelBay, unfortunately when I click on the 'Oneplus" drive its completely empty. Even though I have lots of photos etc on my phone
-
Admin over 6 yearsSo you need to open the dropdown menu in your Android phone, tap the USB settings and select MPT for everything but photos or PTP for photos only. You need to learn how to use your hardware.
-
-
JBSnorro about 4 yearsOn Android Pie it's at Settings -> System -> Developer options - > Default USB Configuration -> File Transfer
-
runakash over 3 yearsThis worked for me.
-
jmuhire almost 3 yearsyes it works after install and reboot, no need to execute the sh script.