Android 6, Galaxy S6 remember allowed MTP connection - Android Q&A, Help & Troubleshooting

Hello all
I got a new Samsung S6 from work. for security reason, I cannot root the device (entrust and other software will not install)
since I got it, I am very annoyed by the fact that every time I connect the phone to my Linux, I have the following message when I want to access the files by MTP
allow access to device media
a MTP connection will be established to access the Data on the connected device : DENY ALLOW
Click to expand...
Click to collapse
is there a way to remember which connection was allowed or to remove once and for all this annoying message ?
thx
Dereut

Hello and welcome to XDA Q&A section of the Forum.
When you connect your phone to your pc, do you get any message in the status bar like "USB used for charging"? If not, go into setting (while connected) and click storage and USB and select MTP.
Hope that helped and hit "thanks" if it did .

thank you for your reply
my problem is not that I cannot connect. I have all the settings correctly done (or so it seems) and I have selected MTP. the issue is that the question to authorize the connection will pop up every time.
the device does not remember the previous authorisations.
example, if i connect to my Linux, then run a virtualbox windows, I have to redirect the USB to the virtualbox, but because it does not remember the authorization, it will disconnect and ask again if I agree, then I will have to redirect to virtualbox as it is seen as a new connection everytime. this in circle
also, I connect and disconnect the device from the USb all the time, everytime, I have to re-authorize the connection, it is getting old

Hi, without root, there is currently no way to automatically authorize a device (kinda stupid really) however with root there are a few ways to do it.

Kyronater said:
Hi, without root, there is currently no way to automatically authorize a device (kinda stupid really) however with root there are a few ways to do it.
Click to expand...
Click to collapse
Tell me more, every time I connect my phone I have to switch from charging to file transfer in cm13.

Related

View/Control Android device from PC (without ROOT)

Hi all. What I need is a way to control Android device (s) from PC via Wi-Fi. I found a lot of apps (and Desktop programs) to do it, but I didn't found a way to View OR control the Android device WITHOUT ROOT. I work on the company which asked me to find a way to do this without root with their Android devices. After googling a lot I started to think that where is no way to do this, because either way I need to root them . Is it true or maybe there is somewhere an app which could do this? It doesn't care if it's paid or not.
I have downloaded and tester these apps:
MyMobiler - Doesn't work because when I restart Android device, app doesn't start WiFi, just keyboard mode only. I need that when the app starts it should run itself and start WiFi automatically.
VMLite VNC Server - Don't know why but it didn't worked for me. Just cannot start server from the browser.
Thank you for any responses and appreciate any help.
What error messages do you get from vmlite vnc server? Make sure you enable USB debugging. We have tens of thousands of users using our app, and your device should work.
Well, actually now I tried to launch VMLite VNC one more time and IT WORKED (don't know how, because earlier I tried it and I was unable to enter to VNC Viewer in the Browser). So yeah, in this case it works perfectly now, but I just realized, that I have no way of connected more Android devices. Because what I need to do is to connect multiple Android devices to computer with USB (as I understand it's required for the first time) and when use it with WiFi. For now I see that I only capable of connecting single Android device with desktop program and everytime I want to connect to Android deice from computer, I need to connect it via USB (where is no way to save Android devices to use it any time I want to via WiFi). Or am I wrong? And it is a problem because in my company all Android devices are far away from each other. Anyway, thank your for such an awesome app, I really don't know how it is capable of connecting to my Android device WITHOUT ROOT (because I found like 10 apps, read a lot of forums, and every solution was with ROOTED devices, I am very interseting of the actual app functionality), but thank you.
You can connect to multiple devices using multiple USB cables. There is a drop down list to display devices, and you choose one by one to start the server. Alternatively, you can write some scripts to auto start the vnc servers.
There are quite some testing companies using our app this way to automate regression tests.
Alternatively, you can write some scripts to auto start the vnc servers.
Click to expand...
Click to collapse
Can I get more information about it? Thank you.
Basically you can automate the starting process using adb command:
adb shell "am start -a android.intent.action.MAIN -n com.vmlite.vncserver/.MainActivity"
adb shell /data/data/com.vmlite.vncserver/files/vmlitevncserver
Deimantas007 said:
Can I get more information about it? Thank you.
Click to expand...
Click to collapse
Thank you for this script (it's very cool, I didn't know this kind of stuff before), but it requires USB connection as well.
I googled a few things and found this app - ADB Wireless (no-root) on Google Play Store. Basically it connects ADB via WiFi and I don't need no USB cable and connection with it. But VMLite Android App Controller program on my Desktop doesn't recognize it (it requires USB connection). Can I actually connect Android device with PC with this method or I am missing something and there is no way of doing it with this method? Thank you (I promise, this is the last question from me, no more dumb questions).
I don't think it will work for you. You mentioned your android device will reboot, right?
If your device gets rebooted, you will have to use a USB connection to a PC. the ADB wireless app has same requirement.
Steps to get it working: (from ADB Wireless app page)
1. Enable USB Debugging on your phone.
2. Connect your phone via usb cable to your PC.
3. Run adb tcpip 5555.
4. Run ADB Wireless (no root).
5. Connect to the IP address.
Deimantas007 said:
Thank you for this script (it's very cool, I didn't know this kind of stuff before), but it requires USB connection as well.
I googled a few things and found this app - ADB Wireless (no-root) on Google Play Store. Basically it connects ADB via WiFi and I don't need no USB cable and connection with it. But VMLite Android App Controller program on my Desktop doesn't recognize it (it requires USB connection). Can I actually connect Android device with PC with this method or I am missing something and there is no way of doing it with this method? Thank you (I promise, this is the last question from me, no more dumb questions).
Click to expand...
Click to collapse
huisinro said:
I don't think it will work for you. You mentioned your android device will reboot, right?
If your device gets rebooted, you will have to use a USB connection to a PC. the ADB wireless app has same requirement.
Steps to get it working: (from ADB Wireless app page)
1. Enable USB Debugging on your phone.
2. Connect your phone via usb cable to your PC.
3. Run adb tcpip 5555.
4. Run ADB Wireless (no root).
5. Connect to the IP address.
Click to expand...
Click to collapse
What's right. It needs to connect my phone via USB. But I thought that maybe there is a way to automate this process, I mean maybe there is a solution to TURN DEBUGGING MODE between phone and pc programs via WiFi connection (not USB) and communicate with VMLite VNC Server program on startup. Either way, again, thank you for your software (app). I will say to my boss that we need to stay where we are at the moment. It's just awesome to have an app which doesn't require ROOT.

Broken screen, any way to retrieve data?

Hello and thanks in advance for any help you can give me. As the tittle states I have a kindle fire HDX 8.9 WiFi and the screen is broken so I am unable to access the device and when I plug it into a Windows computer nothing happens (don't see it pop up in device manager or anything). Is there any way to retrieve the data? It is turned on as I can see it show up as a Bluetooth device when I scan from my phone but it will not connect as I can't use the touchscreen etc.. I bought another same device and wanted to transfer my old pictures and such over. Thanks again!
Mikehud1984 said:
Hello and thanks in advance for any help you can give me. As the tittle states I have a kindle fire HDX 8.9 WiFi and the screen is broken so I am unable to access the device and when I plug it into a Windows computer nothing happens (don't see it pop up in device manager or anything). Is there any way to retrieve the data? It is turned on as I can see it show up as a Bluetooth device when I scan from my phone but it will not connect as I can't use the touchscreen etc.. I bought another same device and wanted to transfer my old pictures and such over. Thanks again!
Click to expand...
Click to collapse
Unfortunately, 'no' if Windows does not respond when the device is attached. You may want to try connecting to a different Windows (or OS X) machine to confirm. Also try switching cables and plugging into different usb ports; avoid external USB hubs and USB3 ports on older machines. ADB (ie: line mode commands) is an alternate method but the lack of any response from Windows suggests you probably did not enable 'USB Debugging' from the Kindle settings menu when it was still working.

USB drive connection between Android and Windows no longer working in Oreo (v8)

Hi everyone,
I often transfer files between my Samsung S7 Edge and my Windows PC through USB cable. However, after (making the mistake of) letting it upgrade to Oreo (v8.0), this is no longer possible: connecting the phone via USB to my laptop only shows charging information in the swipe-down top menu, and I no longer get the prompt asking whether I want to allow access to the phone's contents. Consequently, the phone's internal&SD memory no longer shows up under Windows Explorer.
I've been searching for a fix/workaround for hours (thanks Google for this quality time!). Some of the things I've tried that didn't work:
- enable/disable USB debugging mode under developer options
- change "USB configuration" (under Developer Options) to "MTP" and to all other options there
- use a different USB cable and USB port on the laptop
- search for apps on the Play Store that can help with this (didn't find any that actually do the job)
Connecting Android phones to Windows laptops to access their internal memory through USB cable has (bemusingly!) been a problem with this ****ty OS as long as I can remember, so it doesn't surprise me that users are having to spend even more time now to get it to work again.
Any suggestions much appreciated!
longtalker said:
Hi everyone,
I often transfer files between my Samsung S7 Edge and my Windows PC through USB cable. However, after (making the mistake of) letting it upgrade to Oreo (v8.0), this is no longer possible: connecting the phone via USB to my laptop only shows charging information in the swipe-down top menu, and I no longer get the prompt asking whether I want to allow access to the phone's contents. Consequently, the phone's internal&SD memory no longer shows up under Windows Explorer.
I've been searching for a fix/workaround for hours (thanks Google for this quality time!). Some of the things I've tried that didn't work:
- enable/disable USB debugging mode under developer options
- change "USB configuration" (under Developer Options) to "MTP" and to all other options there
- use a different USB cable and USB port on the laptop
- search for apps on the Play Store that can help with this (didn't find any that actually do the job)
Connecting Android phones to Windows laptops to access their internal memory through USB cable has (bemusingly!) been a problem with this ****ty OS as long as I can remember, so it doesn't surprise me that users are having to spend even more time now to get it to work again.
Any suggestions much appreciated!
Click to expand...
Click to collapse
Hi friend just dial *#0808# choose MTP+ADB click OK and Reboot your device . Try to connect again with usb cable in PC . Good luck
Teddy Lo said:
Hi friend just dial *#0808# choose MTP+ADB click OK and Reboot your device . Try to connect again with usb cable in PC . Good luck
Click to expand...
Click to collapse
Thanks - I tried that, but I still don't see the phone's memory as a USB drive, nor any permission prompt on the phone once I connect it.
longtalker said:
Thanks - I tried that, but I still don't see the phone's memory as a USB drive, nor any permission prompt on the phone once I connect it.
Click to expand...
Click to collapse
Try to reinstall drivers ,uninstall all previously installed use USBDEVIEW tool .
https://www.nirsoft.net/utils/usb_devices_view.html
Before I do that, I should note that, when I tried on a different Win 10 PC, I get the USB drive back no problem, so the problem is Windows/PC-related, it seems?!
Turns out that, when using another USB cable, the phone is once again seen as a USB drive. I didn't think the cable could make a difference! Hope it helps others

[CLOSED] usb not recognized problem

Hello, I'm facing this problem from many years in my phone, i can't plug in my mate 10 to any pc, it always says usb not recognized,
all drivers installed correcly with hisuite , my cable usb is new,
i changed today the USB charging port of the phone at Huawei care service, and i reset factory the phone , still same problem.
I'm still having the same stock rom on the device,
is the "usb not recognized" problem can be a software problem in the phone? thank you for your experience.
chahine21 said:
Hello, I'm facing this problem from many years in my phone, i can't plug in my mate 10 to any pc, it always says usb not recognized
Click to expand...
Click to collapse
I'll try to help you but I'm not an expert, and yet I've had EVERY problem you seem to be speaking about.
a. I have had broken USB ports
b. I have had broken USB cables
c. I have had the USB drivers not install on Windows
etc.
Given I've had some of the same problems, I feel for you, so my first advice is to simply give up on USB for everything that you can.
Specifically, if you can turn on USB debugging and Wireless debugging in the Developer options, you can operate the phone over Wi-Fi using the Windows monitor, keyboard and mouse as shown in my screenshots below.
You don't need anything installed on Android to use these FOSS solutions on Windows to operate the entire phone over Wi-Fi as of Android 12 (which eliminated the need for an initial USB connection to establish the Wi-Fi connection).
In summary, I have had similar problems with USB where I've given up on USB and switched to operating Android over Wi-Fi and even mounting the entire Android file system as a Windows drive letter over Wi-Fi using free software.
a. adb
b. scrcpy
c. vysor
d. webdav
Use Windows Event Viewer to check for error messages on the PC.
If the problem is the PC it will likely show up there and give you more troubleshooting clues.
Thread closed at OP's request.

Question USB File transfer not working

Since i have had my phone i never had got the file transfer to work between my pc and my phone which is so annoying since i have 1tb and I cant access it. I have even called support and they remote into my phone even they never got it to work said it was a compatibility issue can someone help me out here my current setup is windows 10 on my pc adb and pc drivers installed. lattes software update on my phone installed.
jutley said:
Since i have had my phone i never had got the file transfer to work between my pc and my phone which is so annoying since i have 1tb and I cant access it. I have even called support and they remote into my phone even they never got it to work said it was a compatibility issue can someone help me out here my current setup is windows 10 on my pc adb and pc drivers installed. lattes software update on my phone installed.
Click to expand...
Click to collapse
Do you have developer options enabled? Since I've enabled them the only way I can get usb transfer to work is with developer options enabled. If I turn it off, I can't connect to my PC.
yes developer is on i cant even get the transfer option to show in status bar dev option on or off? do we need to install anything for win10?
jutley said:
yes developer is on i cant even get the transfer option to show in status bar dev option on or off? do we need to install anything for win10?
Click to expand...
Click to collapse
Usually, it's plug-and-play, so you wouldn't need any dedicated drivers for this.
Have you double-checked if your cable and ports (on the PC) are OK?
Can you try enabling ADB Debug from the developers option and see if the PC recognizes it in ADB mode?
Finally i changed to another usb cable got the option this time but then had to go to device manager and update the driver mtp choose from list and all set up working now.
jutley​Try deleting the old device from your Google Account.
Leave only the new phone in the profile.
Reboot and try logging into the S23 Ultra computer again.
That's how it worked for me.
Good luck !

Categories

Resources