Android Enthusiasts
Q&A for enthusiasts and power users of the Android operating system
Latest Questions
5
votes
1
answers
4523
views
MTP not working under Android 6
I am running out of Ideas how to get MTP working _again_... I am simply not getting the dialog again on my android, asking me wether I want just charging, or MTP or Picture mode... **Until most recently, it was easy: Use a USB cable, concect it to my Ubuntu 16.04 Laptop, get the mentioned choice/app...
I am running out of Ideas how to get MTP working _again_... I am simply not getting the dialog again on my android, asking me wether I want just charging, or MTP or Picture mode...
**Until most recently, it was easy: Use a USB cable, concect it to my Ubuntu 16.04 Laptop, get the mentioned choice/approval box...** and voilà the Tablet appeared as an MTP device in the Ubuntu ‚file explorer‘ (caja) nicely auto-mounted.
* got an Samsung Galaxy S2 tablet
* running Android 6.01
* it worked until recently in this configuration
I already followed some advice:
* I made the developer options visible (by tapping the about device info thrice)
* enabled USB debugging (which some sources say, is something to watch out for)
* dialed on the phone menu *#0808# → which shows I'am on
(o)AP
and on MTP + ADB mode
just like I should (this radio box btw only holds its state, if USB debugging is enabled)
also...
* tried different USB ports
* tried different cables
* tried with another device (MacBook. Thus I have no reason to believe, I messed something up on the host machine OS side... Ubuntu is very stable anyway)
* External Store (4kb) under Settings→Applications→“Show System Apps” is on
well, one last clue:
* Settings → Tethering has the USB switch grayed out „USB cable not connected“. Althoug it clearly is. And I can recharge my tablet through it (otherwise I would have certainly noted...)
Device is not rooted. No other glitches.
Are there maybe some log files (now that Dev mode is enabled) to check out what might got wrong?
Not looked/understood ADB yet. So I couldn't tell you, if that works. Anyway, no dialog to choose upon connecting.
I am out of ammo :-( **Thank you for any piece of advice...**
Frank N
(151 rep)
Oct 26, 2016, 04:30 AM
• Last activity: Jul 13, 2025, 03:11 AM
0
votes
2
answers
72
views
Empty phone (Nothing phone 3a pro) storage while connected to windows 10
I'm using Nothing phone 3a pro, Android 15, it has USB 2.0. PC System: Windows 10 home edition with last update. Tried to connect it to usb 3.1, 3.0, 2.0, I see the storage of my phone, but when I go into it,and it is empty I rebooted my PC, rebooted Phone. Reconnected it. I gave all the recommendat...
I'm using Nothing phone 3a pro, Android 15, it has USB 2.0.
PC System: Windows 10 home edition with last update.
Tried to connect it to usb 3.1, 3.0, 2.0, I see the storage of my phone, but when I go into it,and it is empty
I rebooted my PC, rebooted Phone. Reconnected it.
I gave all the recommendations from “Nothing support.” (change cables, developer settings usb, reset and etc.) Only I didnt do is to reset my phone to factory settings.
My old phone Samsung A80 which has USB 2.0 too, still have good connection to the PC.
Nothing phone haven't got own drivers.
What I did:
- Enable usb debugging mode.
- Enable the transfer file on phone.
- Have screen ON.
- I download program which automatically load new drivers, also I update windows, but nothing happened again.
- I changed drivers in device manager, delete my device, reinstall drivers.
- Also I tried VirtualBox with cleared Windows 10 on same hardware. Got same problem, folders didn’t load.
- Also Installed new clear Windows 10 to another SSD on same hardware. Same problem.
Any possible solutions?
If you need more information, please write your reply.
Леонель
(11 rep)
Jun 14, 2025, 01:10 PM
• Last activity: Jun 14, 2025, 09:42 PM
1
votes
0
answers
38
views
Copying music files to a Pixel
I've got 200GB of music files and a 512GB Pixel 8 Pro, and I'd like to copy all that music to /sdcard/Music. rsync would appear to be an ideal means to do this as it would allow syncing of any changes made to my local library. However, it appears impossible. Here's the rsync command I've been trying...
I've got 200GB of music files and a 512GB Pixel 8 Pro, and I'd like to copy all that music to /sdcard/Music. rsync would appear to be an ideal means to do this as it would allow syncing of any changes made to my local library. However, it appears impossible. Here's the rsync command I've been trying, with my phone connected by USB cable to my Linux laptop:
rsync -avz --recursive --size-only --info=progress --verbose --omit-dir-times --no-perms --usermap=:1000 --groupmap=:1000 ~/Music/ '/run/user/1000/doc/1587bc07/Music/'
The result is a lot of:
rsync: [generator] failed to set times on "/run/user/1000/doc/1587bc07/Music/MyMusicTaste/IsAwesome/Track01.mp3": Operation not supported (95)
I'm out of ideas for rsync options at the moment.
I also tried starting an FTP server on the phone via Solid Explorer, and copying files with Filezilla. This works, as long as Solid Explorer's FTP server keeps running (which it doesn't, despite permission to run in the background).
Does anyone have any other suggestions? Ideally I could connect the phone via cable for the initial copy as rsyncing 200GB over the home network is a bit slow.
knirirr
(111 rep)
May 14, 2025, 12:20 PM
• Last activity: May 14, 2025, 09:47 PM
0
votes
0
answers
230
views
How can I improve copy times between an Android phone and my home computer
How can I improve copy times between an Android phone and my home computer. It is a USB3 port which has faster transfer speeds than the USB 2.0 that is on the right side of my desktop computer. Direct cable from the smart phone to a USB 3 port. I do NOT use WiFi. Thunar is my file manager. Transferr...
How can I improve copy times between an Android phone and my home computer.
It is a USB3 port which has faster transfer speeds than the USB 2.0 that is on the right side of my desktop computer. Direct cable from the smart phone to a USB 3 port. I do NOT use WiFi.
Thunar is my file manager.
Transferring 1.5 Gb of data in the form of pictures and videos takes around 45 minutes using the Copy command.
I am using U_Mate 24.04.
Galaxy A25 5G
Android Version 14

Andrew K
(97 rep)
Nov 23, 2024, 02:28 AM
• Last activity: May 14, 2025, 12:35 PM
0
votes
0
answers
111
views
Revoking data access authorization to a specific computer on Samsung devices
I connected a Samsung smartphone to a Windows computer through a USB cable and had the usual pop-up: > **Allow access to phone data?** > > The connected device will be able to access data on this phone. > > DENY ALLOW I checked "ALLOW," but I'd like to revoke this authorization, and I cannot. When I...
I connected a Samsung smartphone to a Windows computer through a USB cable and had the usual pop-up:
> **Allow access to phone data?**
>
> The connected device will be able to access data on this phone.
>
> DENY ALLOW
I checked "ALLOW," but I'd like to revoke this authorization, and I cannot.
When I plug and unplug the computer, the phone is immediately visible and I can access its data from the computer.
I tried to uninstall the mobile from the *device manager* (and rebooted the computer, just to be sure...). I shut down the mobile and restarted it. But as soon as I plug it again, it is accessible from the computer and reappears in the *device manager*.
Strangely enough, while the phone is entirely removed from the *device manager*, it is still listed in the *autoexecution* section of the *control panel*.
When connected, I could also access *USB parameters* on the phone, that are not accessible otherwise. I can shut the access by choosing "charge only," but it's not permanent (when unplugging and plugging again, it goes back to file transfer mode).
Looking on the internet and on this forum, I only found the opposite question (people who checked "DENY" and would like to "ALLOW" now; but that's not an issue for me as, in this case, unplugging and plugging again makes the popup appear again).
The closest related solution I found was to revoke USB debugging authorization in developer mode, but it seems strange and unrelated to a mere access to the mobile folder. I didn't dare test this option.
Oersted
(101 rep)
Apr 10, 2025, 03:28 PM
• Last activity: Apr 11, 2025, 02:22 PM
0
votes
0
answers
97
views
How do I connect my rooted Android device to my PC as a USB Drive
I want to connect my phone to my pc and the pc detects the phone as a USB flash drive, only one partition, not as an MTP device, like it always does when switching USB modes from charging only to file transfer. Is that possible?, I am on a rooted Android 13 GSI I need that because the GSI I am using...
I want to connect my phone to my pc and the pc detects the phone as a USB flash drive, only one partition, not as an MTP device, like it always does when switching USB modes from charging only to file transfer.
Is that possible?, I am on a rooted Android 13 GSI
I need that because the GSI I am using doesn't support MTP on my device.
Insertx2k_Dev
(21 rep)
Feb 5, 2025, 08:33 PM
123
votes
9
answers
215920
views
Not all files are visible over MTP
I have LG L5 (e610 model) device with Cyanogenmod 10. When I connect the phone to a computer with Linux (I have mtpfs installed), I can see both internal storage and the SD card. However when I navigate inside them, I can't see some of the files. For example, if I open file manager app on the phone,...
I have LG L5 (e610 model) device with Cyanogenmod 10. When I connect the phone to a computer with Linux (I have mtpfs installed), I can see both internal storage and the SD card. However when I navigate inside them, I can't see some of the files.
For example, if I open file manager app on the phone, I can see several files in the
Internal storage/Notifications
directory, however the directory on the computer only shows one of those files.
If I switch USB connection type to PTP (camera) - as OS X doesn't support MTP natively - Image Capture sees the phone as a camera, however it can only see about a third of all the images present on the phone.
I don't have a Windows machine to try, but I suspect the results would be similar.
I tried upgrading Cyanogenmod to the latest nightly, clearing and reinstalling it - same results. Any idea as to what is going on? How can I make all files appear on the host computer?
Aleks G
(1343 rep)
May 29, 2013, 02:01 PM
• Last activity: Jan 23, 2025, 11:07 AM
1
votes
3
answers
3145
views
my computer is not recoginizing my phone but charging it
3 days ago my phone would connect to my computer perfectly fine, but now it isn't working. At first I thought it was the usb cable, but after purchasing a new cable it still doesn't work. It isn't my computer because my dads samsung connects to my computer. I noticed usb tethering is off and greyed...
3 days ago my phone would connect to my computer perfectly fine, but now it isn't working. At first I thought it was the usb cable, but after purchasing a new cable it still doesn't work. It isn't my computer because my dads samsung connects to my computer. I noticed usb tethering is off and greyed out. Is that the issue? If not, what is?
grey
(11 rep)
Jan 22, 2017, 12:20 AM
• Last activity: Jan 8, 2025, 02:00 PM
0
votes
1
answers
169
views
How to see my Android partitions via Linux machine terminal?
When I connect my Android device via USB into a Linux machine (be it Debian, Ubuntu, Arch, etc.) I am unable to find any trace of the device or partitions using cmds `fdisk -l`, `lsblk`, etc. This is apparently due to the Android device not being treated like regular USB storage and being accessed t...
When I connect my Android device via USB into a Linux machine (be it Debian, Ubuntu, Arch, etc.) I am unable to find any trace of the device or partitions using cmds
fdisk -l
, lsblk
, etc.
This is apparently due to the Android device not being treated like regular USB storage and being accessed through MTP.
How can I view my Android partition tables etc? Ideally without downloading adb, using basic Linux pre-installed packages.
Rachel1983
(11 rep)
Aug 4, 2024, 12:19 PM
• Last activity: Aug 5, 2024, 02:28 PM
0
votes
1
answers
99
views
Is MTP only used for transferring media files?
Is MTP only used for transferring media files (image, video, and/or audio files), not files of any type, such as pdf files? Some said that MTP can be used for transferring files of any type, but it only shows me picture files (see https://unix.stackexchange.com/q/779420/)
Is MTP only used for transferring media files (image, video, and/or audio files), not files of any type, such as pdf files? Some said that MTP can be used for transferring files of any type, but it only shows me picture files (see https://unix.stackexchange.com/q/779420/)
Tim
(513 rep)
Jul 3, 2024, 08:52 PM
• Last activity: Jul 4, 2024, 10:22 PM
0
votes
1
answers
352
views
What protocols are involved in the modes of USB connection from an Android phone to a computer?
When I link a phone (HarmonyOS 2.0.0, Honor 10) to a Linux laptop, the phone pops up the following options: - transfer photos, - transfer files, - charge only, - reverse charge, - input MIDI. When I link a phone (Android 12, Moto G Pure) to a Linux laptop, the phone pops up the following options: -...
When I link a phone (HarmonyOS 2.0.0, Honor 10) to a Linux laptop, the phone pops up the following options:
- transfer photos,
- transfer files,
- charge only,
- reverse charge,
- input MIDI.
When I link a phone (Android 12, Moto G Pure) to a Linux laptop, the phone pops up the following options:
- file transfer,
- photo & video transfer
I was wondering what protocol (e.g. MTP, PTP) is involved in each option for the two phones?
Is MTP enabled by file transfer, or photo (& video) transfer?
What is the protocol involved in the previous "USB Massive Storage" mode?
Tim
(513 rep)
Jul 3, 2024, 08:51 PM
• Last activity: Jul 4, 2024, 01:16 PM
28
votes
17
answers
30634
views
How can I transfer photos to my Android Jelly Bean device while preserving the original timestamp?
I recently bought a Nexus 4 and I would like to transfer my photos of my previous device to it. My previous Android phone used the standard USB mass storage which gave 0 problems to copy back and forth stuff, but the Nexus 4, like many other modern Android phones I suppose, uses MTP instead, which h...
I recently bought a Nexus 4 and I would like to transfer my photos of my previous device to it. My previous Android phone used the standard USB mass storage which gave 0 problems to copy back and forth stuff, but the Nexus 4, like many other modern Android phones I suppose, uses MTP instead, which has the interesting feature of refusing to copy the original dates/timestamps of the files, using instead the date at which the files are being copied.
This is obviously a huge bummer when it comes to photos; not only because one cannot check the original date at which the picture was taken while browsing on the phone, but also because they end up completely unsorted.
Is there a way to transfer photos to a Jelly Bean Android phone that doesn't support USB mass storage preserving the original timestamps?
Things I've tried so far:
- Transferring via USB MTP
- ADB push (both full folders and individual files)
- Transferring via SSH (using SSHDroid + WinSCP)
- Uploading and downloading from Dropbox
- Transferring a ZIP file via MTP and uncompressing the file on the phone
- Transferring from the other phone via Bluetooth
None of them preserved the timestamp, and this is driving me insane.
(Also, I am not rooted yet, but if the only viable way requires root I would welcome that answer as well.)
Mahn
(383 rep)
Dec 17, 2012, 01:43 PM
• Last activity: Jun 3, 2024, 04:24 PM
1
votes
0
answers
1176
views
Xperia Play MTP driver fails to install
When trying to update my Xperia Play with PC Companion, it fails to install the drivers for my device. I plug it in, it tries up until it says a problem has occurred installing the hardware. I've tried its recommended diagnostic advice, null. [![][1]][1] [1]: https://i.sstatic.net/j7q6Z.png Edit: Ju...
When trying to update my Xperia Play with PC Companion, it fails to install the drivers for my device. I plug it in, it tries up until it says a problem has occurred installing the hardware.
I've tried its recommended diagnostic advice, null.
Edit: Just installed the update on another computer. It seems to work fine. If you don't have a spare, try a VM.

Calvin B
(11 rep)
Dec 27, 2012, 07:44 PM
• Last activity: May 9, 2024, 02:44 PM
0
votes
0
answers
2705
views
How to make the USB connection default to file transfer on Android 14 (and newer)?
In the past, I could choose the default USB connection function on Android using Developer Options. `Settings->Additional Settings->Developer Options->Default USB Configuration->File Transfer/Android Auto` and `Settings->Additional Settings->Developer Options->Select USB Configuration->MTP` However,...
In the past, I could choose the default USB connection function on Android using Developer Options.
Settings->Additional Settings->Developer Options->Default USB Configuration->File Transfer/Android Auto
and
Settings->Additional Settings->Developer Options->Select USB Configuration->MTP
However, this does not work with Oppo OnePlus Ace 2 Pro. Each time I connect a cable, a popup appears, and I have to tap on "File Transfer" manually. There are rumors that this (anti)"feature" is omnipresent on Android 14, but I am not sure about that.
How do I disable such a behaviour? Assume root is available, and I am not afraid of breaking CTS/SafetyNet, and rebuilding the kernel.
user10732
(46 rep)
May 7, 2024, 07:32 AM
49
votes
7
answers
55815
views
Is there a viable alternative to MTP for file transfer?
Since the latest versions (ICS+?) no longer have mass storage, is there any viable alternative to MTP? The protocol seems inherently broken and the decision to regress to this format seems like a very 'iphone-esque' move (dumb things down, take away power from the users). There seem to be numerous p...
Since the latest versions (ICS+?) no longer have mass storage, is there any viable alternative to MTP?
The protocol seems inherently broken and the decision to regress to this format seems like a very 'iphone-esque' move (dumb things down, take away power from the users).
There seem to be numerous problems (eg) with files not showing and it seems to me that transferring a file should be simpler than requiring a system reboot - I am unreasonably demanding that way.
I'm aware of tools like Wi-Fi file transfer but often I find myself in areas without wifi, with just my laptop, phone and a usb cable. The other day, for example, I was one a plane, which is an environment decidedly non-conducive to using a wireless system.
fostandy
(943 rep)
Dec 16, 2014, 09:59 PM
• Last activity: Nov 5, 2023, 02:41 AM
34
votes
10
answers
96680
views
Drive letter for MTP connection under Windows
In Android 3.0, the connection to the PC as a Mass Storage Controller feature was removed. Is there a way to access the MTP-mounted phone as a drive letter? I want standard file manager programs (e.g. Total Commander) to work.
In Android 3.0, the connection to the PC as a Mass Storage Controller feature was removed.
Is there a way to access the MTP-mounted phone as a drive letter? I want standard file manager programs (e.g. Total Commander) to work.
Csq
(441 rep)
May 13, 2012, 07:53 PM
• Last activity: Aug 13, 2023, 02:37 PM
1
votes
1
answers
308
views
How to recover files from a healthy microSD card in Android?
I accidentally deleted important documents (about 100 PDFs) that weren't backed up yet from a 64 GB microSD card, which is used as the primary storage in my unrooted Android 9.0 smartphone. The microSD card is not encrypted and quite new, but for some reason, I've never been able to access the card...
I accidentally deleted important documents (about 100 PDFs) that weren't backed up yet from a 64 GB microSD card, which is used as the primary storage in my unrooted Android 9.0 smartphone. The microSD card is not encrypted and quite new, but for some reason, I've never been able to access the card from *any* PC when plugged into a card reader - only through the smartphone or when the phone is connected to the PC via USB and only using the MTP protocol. Under Windows, I always get the error message that the card needs to be formatted first.
After the accidental deletion, the microSD card was immediately removed from the phone, so I'm fairly certain that the files are still "healthy". I hope Android and SD cards work the same way as other OSs and common file systems in that normal deletion does not physically remove the data from the storage device, but only from the file table (please correct me if I'm wrong).
QUESTION: **How can I restore my deleted files? Also, is there a way to get RAW access from a PC?**
Any idea why I can access the card only via the MTP protocol from Windows?
For hard drives/storage devices accessible from a Windows or Linux PC, I've been using several recovery programs with mixed success in the past, e.g. Piriform's [Recuva](https://www.ccleaner.com/de-de/recuva) , CGSecurity's [PhotoRec](https://www.cgsecurity.org/wiki/PhotoRec) , and recently also [RecuperaBit](https://github.com/Lazza/RecuperaBit) . I do have the Android SDK platform tools installed and have used ADB before to uninstall apps etc. if that helps. But I have zero experience with this data recovery problem on Android - and I'm also confused why e.g. Windows won't read the card's contents when connected via a card reader.
---
*Small correction:* My poor choice of words seems to have caused some confusion. By
> used as the "primary storage"
I didn't mean to say that Android is running the system partitions (
boot
, system
, data
etc.) on the SD card instead of the internal memory. Rather, all apps are set to store their data on the SD card if possible in order to prevent irretrievable data loss in case of a phone brick. This is due to very bad past experiences with Android's security architecture, which is basically a trap waiting to lock users out of their own data.
Furthermore, I can confirm that SD card encryption is an optional setting in my Samsung's Android 9.0 and has **not** been turned on. Hence, the SD card ought to be unencrypted!
Sorry for not being clearer.
---
Here is a screenshot of [DMDE](https://dmde.com) showing relevant partition information:

srhslvmn
(299 rep)
Mar 19, 2023, 09:50 PM
• Last activity: Mar 24, 2023, 03:47 PM
3
votes
0
answers
81
views
Have the latest Android OS versions brought back the longstanding bug that files copied to the phone have the wrong modification time?
Once upon a time, you could plug an Android phone into a computer running one of the three major OS's (Linux, macOS, Windows), and it would present an interface to the computer that looked like a disk drive (USB-Mass Storage Class) containing a FAT32 filesystem. That made it easy to copy files to or...
Once upon a time, you could plug an Android phone into a computer running one of the three major OS's (Linux, macOS, Windows), and it would present an interface to the computer that looked like a disk drive (USB-Mass Storage Class) containing a FAT32 filesystem. That made it easy to copy files to or from the phone, edit them in place with any editor running on the computer, or use any other application running on the computer that simply treats the files on the phone as ordinary files. But Google had a better ideas -- NOT! Around 2012 they got rid of that interface and replaced it with MTP (Media Transfer Protocol). That created a whole host of problems, one of which is that when files were copied from the computer to the phone, the timestamp was changed to the current time rather than preserving the timestamp of the source file. People constantly complained about that, but for years Google seemed uninterested in fixing it. Then, around 2017, Google finally fixed it by replacing the FUSE-based filesystem implementation running inside the Android OS (FUSE = Filesystem in User Space) with SDCardFS. There's an excellent explanation of the problem at https://www.xda-developers.com/diving-into-sdcardfs-how-googles-fuse-replacement-will-reduce-io-overhead/ . It explains that the architecture of FUSE-based filesystems means that the process that issues the utime() system call to set the timestamp is running with insufficient permission for that system call to succeed.
It now appears that Google didn't sufficiently vet SDCardFS before incorporating it into the Android OS. They're now deprecating SDCardFS and replacing it with "a new FUSE implementation". (See https://source.android.com/docs/core/storage/sdcardfs-deprecate ).
I'm concerned that in reverting back to a FUSE-based filesystem, the old timestamp problems will reappear. I'd like to bring this to the attention of one of Google's Android OS developers to find out if they considered this when they decided to revert to FUSE, and if so, whether or not their new implementation allows the preservation of timestamps of files copied to the phone. Does anyone here have any idea how to contact those developers?
MBR
(51 rep)
Jan 21, 2023, 08:01 AM
• Last activity: Jan 23, 2023, 08:16 AM
1
votes
0
answers
424
views
Samsung Galaxy S7 Edge USB MTP protocol not working
I'm trying to root my Samsung Galaxy S7 Edge, but I can't get the USB to work with MTP. - I've enabled USB debugging and set the USB mode to MTP, but still won't be recognized by the computer. - I've tried installing new USB device drivers from https://developer.samsung.com and it still didn't work....
I'm trying to root my Samsung Galaxy S7 Edge, but I can't get the USB to work with MTP.
- I've enabled USB debugging and set the USB mode to MTP, but still won't be recognized by the computer.
- I've tried installing new USB device drivers from https://developer.samsung.com and it still didn't work.
- I've factory reset the device, still to no avail.
- I've also tried multiple Micro USB cables, which all have the USB Trident Trademark. None of them get recognized by my computer, and neither do they get recognized as plugged in on my laptop when I run
lsusbn
.
- I've also tried getting plugging in my Samsung Galaxy S3, which I believe didn't get recognized either.
When I plug the phone into the computer, I expect to see the prompt or the notification asking to allow the computer to access the phone's data, but it never happens.
Does anybody know what could be the issue here?
bob ross
(11 rep)
Dec 30, 2022, 12:46 PM
• Last activity: Dec 30, 2022, 01:11 PM
2
votes
0
answers
326
views
Is it possible to make Android Emulator appear as an USB device on my Linux machine?
I need to access both ADB and MTP from one emulated device. May be there is some ready-made solution that can emulate android device via usb device emulating? All that I found is an android kernel gadget https://android.googlesource.com/kernel/common/+/59c75bcf603f355ff34282422e8c3f2165b9d5f2/driver...
I need to access both ADB and MTP from one emulated device. May be there is some ready-made solution that can emulate android device via usb device emulating?
All that I found is an android kernel gadget https://android.googlesource.com/kernel/common/+/59c75bcf603f355ff34282422e8c3f2165b9d5f2/drivers/usb/gadget/android.c
It can be useful, but it's not the easiest way to do that.
DarkLex
(21 rep)
Dec 12, 2022, 10:54 AM
• Last activity: Dec 12, 2022, 07:23 PM
Showing page 1 of 20 total questions