How enable usb mass storage on mate 10 pro without root - Huawei Mate 10 Guides, News, & Discussion

MTP is really slow to transfer many files so how can I enable usb mass storage mode for Mate 10 Pro can this done via adb ? anyone suggest plz.

you can do ADB pull command instead for faster transmission

otonieru said:
you can do ADB pull command instead for faster transmission
Click to expand...
Click to collapse
Oh yes I forgot this method T_T

Related

[Q] Battery Charging, But Computer don't see my Phone.

Hello,
I just installed the new MIUI.us 4.0.3-2.3.9.
Found in this thread: http://forum.xda-developers.com/showthread.php?t=1479348
Everything work perfectly fine. Except..when I plug my USB, my computer can't find it. Nothing pop-up to say do you want to enable USB transfer or something like that. The connector should not be the problem because the battery is charging.
Any ideas on what could cause the problem?
Thank you in advance.
If you have adb setup, you can see if it's recognized by using the 'devices' command. If it is detected then you just need to enable usb mass storage mode from the rom.
evilkorn said:
If you have adb setup, you can see if it's recognized by using the 'devices' command. If it is detected then you just need to enable usb mass storage mode from the rom.
Click to expand...
Click to collapse
That's the problem I don't know where in the rom I can enable usb mass storage because normally it pop up.
Did you even read the thread? I didn't even click the link until now and saw how to enable it within 5 seconds.

[Q] Recovering files from broken phone

First of all, i have tried to solve this problem for hours and so far i don't have found anything that could help me.
So my screen is broken, completetely black, and i would like to save some files from my galaxy S(files are NOT on external SD card). Connecting phone to computer doesnt help because i should turn mass media mode on, and thats kind of hard when the touch screen is not working. Kies recognizes my phone(tries to connect), but can't connect because i should turn some other mode on? I have read that it could be possible to save files with ADB and i even tried but i didnt find any suitable instructions. So could anybody tell me how to save my holiday pictures :crying:
tuotanin said:
First of all, i have tried to solve this problem for hours and so far i don't have found anything that could help me.
So my screen is broken, completetely black, and i would like to save some files from my galaxy S(files are NOT on external SD card). Connecting phone to computer doesnt help because i should turn mass media mode on, and thats kind of hard when the touch screen is not working. Kies recognizes my phone(tries to connect), but can't connect because i should turn some other mode on? I have read that it could be possible to save files with ADB and i even tried but i didnt find any suitable instructions. So could anybody tell me how to save my holiday pictures :crying:
Click to expand...
Click to collapse
Hi,
I have a solution for you
No need to turn on mass storage.
What you need:
USB cable
Working pc
Android SDK http://developer.android.com/sdk/index.html
USB Driver http://developer.android.com/sdk/win-usb.html
1. Download and install this tool: http://de.codeplex.com/releases/view/107423
2. Boot your phone into recovery (worked for me) ( volume up+home+power)
3. Connect your usb cable
4. Start Droid Explorer and search for your sd card
cixty said:
Hi,
I have a solution for you
No need to turn on mass storage.
What you need:
USB cable
Working pc
Android SDK
USB Driver
1. Download and install this tool:
2. Boot your phone into recovery (worked for me) ( volume up+home+power)
3. Connect your usb cable
4. Start Droid Explorer and search for your sd card
Click to expand...
Click to collapse
Thank you for your answer. I think i can't get my phone into recevory mode. At least Droid explorer doesn't find it. When i try to boot it into recovery, my computer makes that "connected sound" several times, so i think the phone really is broken... Also, when the phone is connected to computer with usb cable, and i put the battery into the phone, i can hear that connected sound immediately, so i guess the phone automatically boots on? Well i keep trying but i think it is not possible to boot this phone into recovery mode
tuotanin said:
I have read that it could be possible to save files with ADB and i even tried but i didnt find any suitable instructions. So could anybody tell me how to save my holiday pictures :crying:
Click to expand...
Click to collapse
What you need therefore is a (rooted) phone and USB debugging must be enabled - at least I never tried withouit thos options turned on. Since you don't need to do sthg with su I think technically you can go without root as well, but did never run it without so not sure on that. Hope you had USB debugging active before your screen broke...
Install the adb tools on your pc if you haven't already. (google is your friend )
What you want to do now is connect your phone to the PC, open up a terminal session (within windows e.g. execute -> cmd ) and then fire up those commands:
Code:
adb
lot of stuff, ignore - if it doesn't work: google installing drivers and the adb tools
Code:
adb devices
here your phone should be listed if it is in debugging mode.
then just
Code:
adb pull [pathToYourHolidaypics] [pathToSaveOnHarddisk]
so for example:
Code:
adb pull /sdcard/DCIM Holidaypics
and you photos should be rescued. Good luck!
2 Be said:
What you need therefore is a (rooted) phone and USB debugging must be enabled - at least I never tried withouit thos options turned on. Since you don't need to do sthg with su I think technically you can go without root as well, but did never run it without so not sure on that. Hope you had USB debugging active before your screen broke...
Install the adb tools on your pc if you haven't already. (google is your friend )
What you want to do now is connect your phone to the PC, open up a terminal session (within windows e.g. execute -> cmd ) and then fire up those commands:
Code:
adb
lot of stuff, ignore - if it doesn't work: google installing drivers and the adb tools
Code:
adb devices
here your phone should be listed if it is in debugging mode.
then just
Code:
adb pull [pathToYourHolidaypics] [pathToSaveOnHarddisk]
so for example:
Code:
adb pull /sdcard/DCIM Holidaypics
and you photos should be rescued. Good luck!
Click to expand...
Click to collapse
Thank you for your answer. Unfortunately, this method doesn't find my phone either.. I think that USB debugging mode was on but can't say for sure. Maybe my Samsung is just completely broken. I guess we are out of ways to recover files . Thank you for your help and of course feel free to post anything if anybody have any idea.
tuotanin said:
Thank you for your answer. Unfortunately, this method doesn't find my phone either.. I think that USB debugging mode was on but can't say for sure. Maybe my Samsung is just completely broken. I guess we are out of ways to recover files . Thank you for your help and of course feel free to post anything if anybody have any idea.
Click to expand...
Click to collapse
if usb debugging off, mtp still working so pc must detect ur fone unless its already not working.if pc recognised ur fone when plugged in, use any partition backup app in pc to backup da entire partition
n i m sorry if its doesnt help u
Sent from my GT-I9000 using xda premium
compacity said:
if usb debugging off, mtp still working so pc must detect ur fone unless its already not working.if pc recognised ur fone when plugged in, use any partition backup app in pc to backup da entire partition
n i m sorry if its doesnt help u
Sent from my GT-I9000 using xda premium
Click to expand...
Click to collapse
It should be in USB storage mode. I dont know what mode is on atm. Even Kies doenst recognize phone

[Q] [Help] Stuck at the HTC Bootloader with the sdcard, system formatted through CWM

Hello there,
Right now I'm stuck with an HTC one with its complete system wiped out i.e format cache/system/sdcard/media etc via CWM recovery throught the option in mounts and storage (I did that by mistake on CWM, forgetting about how the phone does not have an external sd card which I'm used to...) I don't think its USB debugging option was enabled either because I had fresh unlocked the bootloader so the phone was reset to factory settings, so I don't know if adb sideload is an option. (I don't know how this works either, at least not entirely... only what I learnt over the past 4-5 hours through the web) I feel like i have the adb path set up right, all I need to do is be able to access the device through my computer so I can somehow transfer the ROM zip onto the sdcard so I can install it. Can I just flash the ROM zip through fastboot? I already read around that prolly not but someone mentioned that I can flash the factory stock update... Where can I get that. Help pls! 2 months salary down the drain... replacement is not an option here... there is no customer service where I come from..
crazhy said:
Hello there,
Right now I'm stuck with an HTC one with its complete system wiped out i.e format cache/system/sdcard/media etc via CWM recovery throught the option in mounts and storage (I did that by mistake on CWM, forgetting about how the phone does not have an external sd card which I'm used to...) I don't think its USB debugging option was enabled either because I had fresh unlocked the bootloader so the phone was reset to factory settings, so I don't know if adb sideload is an option. (I don't know how this works either, at least not entirely... only what I learnt over the past 4-5 hours through the web) I feel like i have the adb path set up right, all I need to do is be able to access the device through my computer so I can somehow transfer the ROM zip onto the sdcard so I can install it. Can I just flash the ROM zip through fastboot? I already read around that prolly not but someone mentioned that I can flash the factory stock update... Where can I get that. Help pls! 2 months salary down the drain... replacement is not an option here... there is no customer service where I come from..
Click to expand...
Click to collapse
Check my guide
If u still have cwm recovery u can plug ur phone to pc via USB and select mount USB storage and drop the Rom zip onto internal sd and flash it through recovery.. if not u can download a cwm recovery that u can flash thru adb via command prompt on pc then u can do what I sed earlier
Sent from my HTC Sensation Z710e using xda premium
sibozzy1811 said:
If u still have cwm recovery u can plug ur phone to pc via USB and select mount USB storage and drop the Rom zip onto internal sd and flash it through recovery.. if not u can download a cwm recovery that u can flash thru adb via command prompt on pc then u can do what I sed earlier
Sent from my HTC Sensation Z710e using xda premium
Click to expand...
Click to collapse
No you can't
Thank you for the quick response! This is the message I get after typing "adb devices" in the command prompt from the platform tools folder
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
I'd already tried this before but this time I extracted the sdk in C:\ just to see if it made any difference... I even used the command "adb remount" it still says "error device not found". Could this be because of the USB debugging option from the developers menu in settings? I can't make that change right now because i can't boot into the phone! What can i do to correct this?
"C:\adt-bundle-windows-x86-20130522\sdk\platform-tools>adb devices
List of devices attached
C:\adt-bundle-windows-x86-20130522\sdk\platform-tools>adb remount
error: device not found"
This is what i get in the cmd script
My laptop that i connect to the phone is on a 64 bit operating system does it matter if the sdk i downloaded is for 32 bit?
crazhy said:
Thank you for the quick response! This is the message I get after typing "adb devices" in the command prompt from the platform tools folder
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
I'd already tried this before but this time I extracted the sdk in C:\ just to see if it made any difference... I even used the command "adb remount" it still says "error device not found". Could this be because of the USB debugging option from the developers menu in settings? I can't make that change right now because i can't boot into the phone! What can i do to correct this?
"C:\adt-bundle-windows-x86-20130522\sdk\platform-tools>adb devices
List of devices attached
C:\adt-bundle-windows-x86-20130522\sdk\platform-tools>adb remount
error: device not found"
This is what i get in the cmd script
My laptop that i connect to the phone is on a 64 bit operating system does it matter if the sdk i downloaded is for 32 bit?
Click to expand...
Click to collapse
did you give up or is this resolved ?
clsA said:
did you give up or is this resolved ?
Click to expand...
Click to collapse
Still looking for a solution!
crazhy said:
Still looking for a solution!
Click to expand...
Click to collapse
are you using MacHackz guide here ? >> http://forum.xda-developers.com/showthread.php?t=2325853
Also do you still have the fastboot folder in c:\fastboot you used to unlock the bootloader ?
crazhy said:
Still looking for a solution!
Click to expand...
Click to collapse
Hop on TeamViewer, think I have the solution
clsA said:
are you using MacHackz guide here ? >> http://forum.xda-developers.com/showthread.php?t=2325853
Also do you still have the fastboot folder in c:\fastboot you used to unlock the bootloader ?
Click to expand...
Click to collapse
Yes I do
MacHackz said:
Hop on TeamViewer, think I have the solution
Click to expand...
Click to collapse
Downloading right now... my internet is really bad today itll be 10 mins to doenload that 5 mb file
crazhy said:
Downloading right now... my internet is really bad today itll be 10 mins to doenload that 5 mb file
Click to expand...
Click to collapse
Will it sustain a connection then ;D
MacHackz said:
Hop on TeamViewer, think I have the solution
Click to expand...
Click to collapse
MacHackz I just had a couple suggestions and I'll step aside
I use the same fastboot folder I used to unlock the bootloader for all adb stuff it contains a working copy of adb
and makes sure the path is easy and correct. (no spaces)
2. I see he mentions using a laptop ..be sure your using a usb 2 port .. not the blue usb 3.0 ports their know to cause issues with adb.
MacHackz said:
Will it sustain a connection then ;D
Click to expand...
Click to collapse
Ill restart it, it reverts to high speeds its just being super spiky right now
MacHackz said:
Will it sustain a connection then ;D
Click to expand...
Click to collapse
Ok lets go! remote control or meeting?
@ clsa, its most deifinitely a usb 2.0 port
crazhy said:
Ok lets go! remote control or meeting?
@ clsa, its most deifinitely a usb 2.0 port
Click to expand...
Click to collapse
Remote just post your id and pass, I will get there first
MacHackz said:
Remote just post your id and pass, I will get there first
Click to expand...
Click to collapse
186 608 490
z57pf4
crazhy said:
186 608 490
z57pf4
Click to expand...
Click to collapse
Black screen ;D
dammit again... i dunno which button to press lol
crazhy said:
dammit again... i dunno which button to press lol
Click to expand...
Click to collapse
Just had the same problem but i got my rom on with usb otg can you try that?
mount usb otg and load zip

MTP file transfer trouble in Redmi-4A

I have rooted Redmi-4A. I have supersu 2.79. My MIUI version is MIUI Global 8.2 | Stable 8.2.1.0 (MCCMIDL).
My USB debugging option is enabled.
I tried the following android applications but failed to get access to the MTP file transfer mode through my phone to PC.
1. MTP enabler Release 3.3
https://forum.xda-developers.com/android/apps-games/app-mtp-enbaler-t3263467
2. QCustomShortcut application
3. MIUI Usb settings
I can select the MTP mode easily in the phone using the default method and the 3rd party apps that I listed above but my PC does not detect my phone. The ADB drivers are installed on my PC. However, my PC detects insertion of USB device and shows a notification upon insertion and taking out of USB cable connected to the phone.
I tried using MI PC suite and it also is not detecting my phone.
Have you tried installing the USB drivers? USB driver is NOT the same as the ADB driver. Google "Redmi 4A driver" and install the USB drivers.
Fobos531 said:
Have you tried installing the USB drivers? USB driver is NOT the same as the ADB driver. Google "Redmi 4A driver" and install the USB drivers.
Click to expand...
Click to collapse
I've installed them as well. They came along with the MiFlash tool. I forgot to mention it earlier
Sent from my Redmi 4A using Tapatalk
archz2 said:
I've installed them as well. They came along with the MiFlash tool. I forgot to mention it earlier
Sent from my Redmi 4A using Tapatalk
Click to expand...
Click to collapse
Have you tried with USB debugging disabled? Also, does changing the USB mode to PTP help?
Fobos531 said:
Have you tried with USB debugging disabled? Also, does changing the USB mode to PTP help?
Click to expand...
Click to collapse
Yes, I tried with both of these options but failed.
Hmm, that leads me to think that something's wrong on the PC's side. Can you boot up a Linux distro and see if you can transfer files there?
Fobos531 said:
Hmm, that leads me to think that something's wrong on the PC's side. Can you boot up a Linux distro and see if you can transfer files there?
Click to expand...
Click to collapse
I have Windows 10 on my PC. I DON'T have Linux.
archz2 said:
I have Windows 10 on my PC. I DON'T have Linux.
Click to expand...
Click to collapse
You can easily create a bootable Ubuntu USB and test the phone in the live session (i.e. without installing it).
I am currently getting that error with my phone. Not sure but it could happen because of the computer. I have two os in my computer. Win10 and Linux mint. Win10 can detect my phone without an issue but mint not. With usb debugging on I can use adb in linux but still no file sharing.
dokuz said:
I am currently getting that error with my phone. Not sure but it could happen because of the computer. I have two os in my computer. Win10 and Linux mint. Win10 can detect my phone without an issue but mint not. With usb debugging on I can use adb in linux but still no file sharing.
Click to expand...
Click to collapse
Do you have a rooted phone?
archz2 said:
Do you have a rooted phone?
Click to expand...
Click to collapse
Yes and no I mean both. Got same issue in different times with different phones. When the time I use crunchbang I would able to fix it. (by installing things on crunchbang not on the phone). But this time, I did not try to fix actually. I am connecting my not rooted phone only for android studio. It detects it. I can install my apps and can test them. But I cant see my phone in file manager. Thats the story.
the same thing is happening to my wife's rooted 4a and her sisters unrooted one
the same for my not rooted one, I've seen my phone one day in windows 10 explorer (this day it makes 10 seconds to see and when reconnected I could see it one time over 2), but the next day nothing more, I spent hours to try fixing it and have a few computers (all with windows 10), I think it's a miui problem not letting windows acces to the storage.
I have a part of a solution, have ejected my sandisk 64GB SD card, found it was formatted in exFat, empty it in windows, put it back in redmi, after redmi search errors I clicked on the notification and saw a few remaining folders and files, so I went to storage to format the sd card, after this the sd card (and only it) was visible in Windows explorer, but only in MTP (without usb debugging), but the copy from the PC is a kind of erratic (drag and drop 1 folder full of subfolders and files is ok but selection of 10GB gb folders and files to copy stops after the first file copied...), I don't understand how one day I manage to see correctly internal storage and sd card...
edit: today I can see the sd card as empty in windows explorer despite of properties shows it is not, and impossible to copy anything...
So i use now a turnaround, I tried airdroid but device folders were shown as sd card(?), but tried another app "gestionnaire de fichiers" flashlight + clock which can activate ftp service (edit: I have seen after that file explorer from miui could, but it hangs before I found the soulution)
so I type on chrome ftp://192.168.0.45:1234 (1234 is the port number you can choose) with the phone on my box with wifi and all (device ssytem androïd too) is accessible (but to copy to the sd card I would have to use a ftp client).
EDIT: Eureka! I uncheck the fictive sd card optimisation (optimisation de la carte sd fictive in french) option in developper's options and all is ok.
---------- Post added at 05:38 PM ---------- Previous post was at 05:22 PM ----------
So for me to access both sd card and internal device memory in USB in Windows 10 for my not rooted xiaomi 4A miui global miui 9 global 8.1.11 beta android 7.1.2N2G47H
I had to:
-activate developper's mode (7 taps on Miui version)
to activate debugging usb (seems better)
-unactivate fictive sd card optimisation (windows and airdroid do not understand internal memory like a sd)
-format the sd card in the phone (in stockage menu, delete the sd card)
using the MPT mode seems the better option (in "selectionner la configuration usb" in french in developper's mode options) or with the notification when usb is connected.
For me Adb drivers were ok.
And there was a problem with file explorer that hangs when "fictive sd card optimisation" was activated, so even redmi can't access to sd card when this option is on...

Problem with USB to PC

It stuck, with or without USB Debug enabled.
Only work if i select Image transfer. Not files..
Any help?
(S10 / SM-G9730 Snapdragon)
k44mos said:
It stuck, with or without USB Debug enabled.
Only work if i select Image transfer. Not files..
Any help?
(S10 / SM-G9730 Snapdragon)
Click to expand...
Click to collapse
In developer mode disable USB Debuging. After again enable USB debuging. Now try again.
ZmisiS said:
In developer mode disable USB Debuging. After again enable USB debuging. Now try again.
Click to expand...
Click to collapse
I did, Nothing. Also updated the USB Samsung drivers.
k44mos said:
I did, Nothing. Also updated the USB Samsung drivers.
Click to expand...
Click to collapse
Have you adb on PC? In adb file on PC open CMD as Administrator. Connect phone and PC with USB cable. In CMD type ' adb devices' and Enter.
Actually, I don't understand why you need it at all.

Categories

Resources