MTP issues, looking for a fix - Xiaomi Mi MIX Questions & Answers

My problem is MTP won't stay, everytime I plug the device into my computer it's in charging mode an I'm unable to see folders in my internal storage. I have to go into developer setting an hit MTP mode even know it says it's already in it. Then I get folders to show but once I unplug the device an plug it back in it's back to the same charging only. This is causing issues with me being able to flash SU after I flash twrp. In twrp when I open sdcard it shows nothing ,which I believe it stems from the device not staying in MTP mode. Any help would be greatly appreciated!

kjm2323 said:
My problem is MTP won't stay, everytime I plug the device into my computer it's in charging mode an I'm unable to see folders in my internal storage. I have to go into developer setting an hit MTP mode even know it says it's already in it. Then I get folders to show but once I unplug the device an plug it back in it's back to the same charging only. This is causing issues with me being able to flash SU after I flash twrp. In twrp when I open sdcard it shows nothing ,which I believe it stems from the device not staying in MTP mode. Any help would be greatly appreciated!
Click to expand...
Click to collapse
Try editing your build.prop to contain the following:
persist.sys.usb.config=mtp,adb

adwinp said:
Try editing your build.prop to contain the following:
persist.sys.usb.config=mtp,adb
Click to expand...
Click to collapse
lol i don't know how to do that! I'm gonna do what you said in in twrp thread......latest global dev stable rom an the lastest twrp you posted an see if that works

kjm2323 said:
lol i don't know how to do that! I'm gonna do what you said in in twrp thread......latest global dev stable rom an the lastest twrp you posted an see if that works
Click to expand...
Click to collapse
Deleted

Issue has been fixed, seems like the latest global stable an latest twrp caused the issue , use same twrp but flash global stable developer rom. Everything works perfectly

Related

recovery problem

my phone is not getting into recovery mode i.e,by pressing volume down it is not getting into recovery mode.this problem started after i gave my mobile to the service center
dsrdy1996 said:
my phone is not getting into recovery mode i.e,by pressing volume down it is not getting into recovery mode.this problem started after i gave my mobile to the service center
Click to expand...
Click to collapse
They restore your phone with the ORIGINAL STOCK ROM and everything that your phone has installed (Including Recovery) is lost. You don't have any recovery installed. You have to re-install it again.
Hit thanks if I helped.
After a visit at the mobile center the entire device will be resetted. Meaning official software and no recovery (Sony has no recovery build in so it seems). So yeah, you need to root it again and instal a recovery.
dsrdy1996 said:
my phone is not getting into recovery mode i.e,by pressing volume down it is not getting into recovery mode.this problem started after i gave my mobile to the service center
Click to expand...
Click to collapse
Tech N You said:
They restore your phone with the ORIGINAL STOCK ROM and everything that your phone has installed (Including Recovery) is lost. You don't have any recovery installed. You have to re-install it again.
Hit thanks if I helped.
Click to expand...
Click to collapse
thanks for giving suggestion but iam unable to get into recovery mode after doing what your said.I attached the screen shot of what iam getting.Can u please say the solution by seeing it
dsrdy1996 said:
thanks for giving suggestion but iam unable to get into recovery mode after doing what your said.I attached the screen shot of what iam getting.Can u please say the solution by seeing it
Click to expand...
Click to collapse
Have you enabled USB Debugging option from Developers Option..?
If no then do it. If you cannot see developer options then go to settings -- about phone -- tap o build number 7 times and you'll unlock developer tools option.
Then enable it and then connect your phone to compter via USB and do the necessary steps to flash CWM.
Also you on locked bootloader or unlocked bootloader.?
Tech N You said:
Have you enabled USB Debugging option from Developers Option..?
If no then do it. If you cannot see developer options then go to settings -- about phone -- tap o build number 7 times and you'll unlock developer tools option.
Then enable it and then connect your phone to compter via USB and do the necessary steps to flash CWM.
Also you on locked bootloader or unlocked bootloader.?[/
Click to expand...
Click to collapse
1. Check USB debugging is connected and your PC has properly installed the drivers for your phone. Also make sure your phone has prompted you to authorise the computer you're connected to.
2. Check no ADB is running in task manager before you try this, check flashtool isnt running or anything else that may use ADB (PC companion etc)
3. Try a different recovery
Oh and stupid question but you have re-rooted your phone first right and SuperSU is confirmed working updated and allowing rooted programs to work?
Oblox said:
1. Check USB debugging is connected and your PC has properly installed the drivers for your phone. Also make sure your phone has prompted you to authorise the computer you're connected to.
2. Check no ADB is running in task manager before you try this, check flashtool isnt running or anything else that may use ADB (PC companion etc)
3. Try a different recovery
Oh and stupid question but you have re-rooted your phone first right and SuperSU is confirmed working updated and allowing rooted programs to work?
Click to expand...
Click to collapse
sorry i didnot check usb debugging for installing recovery.Thanx for giving suggestions
Try this step you'll get option
Sent from my C5302 using XDA Free mobile app

Nexus 6 wont detect MTP USB but charges fine

Anyone with the same issue ? I am stuck at the bootloader since I wiped out my system image I can get to the recovery but I don't have a way to transfer new ROM since phone wont detect USB (MTP).
I didn't have any image backed to restore to. Tried OTG cable/USB nothing worked
What are my options ?
rocco24 said:
Anyone with the same issue ? I am stuck at the bootloader since I wiped out my system image I can get to the recovery but I don't have a way to transfer new ROM since phone wont detect USB (MTP).
I didn't have any image backed to restore to. Tried OTG cable/USB nothing worked
What are my options ?
Click to expand...
Click to collapse
Hi... Is data mounted and MTP enabled in TWRP?
Is your phone detected while in bootloader?
Try: fastboot devices
If phone is recognized, download stock firmware of your choice and flash it...
5.1 said:
Hi... Is data mounted and MTP enabled in TWRP?
Is your phone detected while in bootloader?
Try: fastboot devices
If phone is recognized, download stock firmware of your choice and flash it...
Click to expand...
Click to collapse
MTP is enabled but phone is not detected at all
I can access the terminal in recovery mode but it doesn't support ftp command to download any firmware.
I guess I am doomed
rocco24 said:
MTP is enabled but phone is not detected at all
I can access the terminal in recovery mode but it doesn't support ftp command to download any firmware.
I guess I am doomed
Click to expand...
Click to collapse
Wait... I don't get it...
Are you stuck in recovery? Or bootloader?
Also you can't use ftp commands either in bootloader or recovery... I suggest you start by reading this thread to learn a few basics about Android commands and how-to :
https://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
5.1 said:
Wait... I don't get it...
Are you stuck in recovery? Or bootloader?
Also you can't use ftp commands either in bootloader or recovery... I suggest you start by reading this thread to learn a few basics about Android commands and how-to :
https://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
Click to expand...
Click to collapse
Sorry to confuse you I can get to the bootloader and the recovery no problem but when I try to reboot to the system it kept saying no OS installed. I don't have any ROM installed and I can't use USB cable since phone won't detect it. So I am stuck at back-end.
rocco24 said:
Sorry to confuse you I can get to the bootloader and the recovery no problem but when I try to reboot to the system it kept saying no OS installed. I don't have any ROM installed and I can't use USB cable since phone won't detect it. So I am stuck at back-end.
Click to expand...
Click to collapse
So...
What operating system is installed on your computer?
Did you already install adb/fastboot drivers?
In device manager, while being in bootloader, is your phone detected when you plug your USB cable?
Did you try different cables, USB ports?
5.1 said:
So...
What operating system is installed on your computer?
Did you already install adb/fastboot drivers?
In device manager, while being in bootloader, is your phone detected when you plug your USB cable?
Did you try different cables, USB ports?
Click to expand...
Click to collapse
I tried different cables/PCs nothing worked. I think my phone USB port is defected but what confuses me more is that it can be charged just fine but no USB connectivity
It is still under warranty but not sure if it will be honored since I have the bootloader unlocked.
rocco24 said:
Sorry to confuse you I can get to the bootloader and the recovery no problem but when I try to reboot to the system it kept saying no OS installed. I don't have any ROM installed and I can't use USB cable since phone won't detect it. So I am stuck at back-end.
Click to expand...
Click to collapse
Nothing happens in device manager when.you plug your phone? Even not recognized as an unknown device?
5.1 said:
Nothing happens in device manager when.you plug your phone? Even not recognized as an unknown device?
Click to expand...
Click to collapse
Nothing like said it is dead. I have another nexus 6 can connect easily to the PC I am pretty sure it is a phone issue.
Well, if you're 100℅ sure the USB port is damaged, there's nothing else than a repair that could bring your phone back to life... Good luck..!
5.1 said:
Well, if you're 100℅ sure the USB port is damaged, there's nothing else than a repair that could bring your phone back to life... Good luck..!
Click to expand...
Click to collapse
thanks for your time and help.
So the nexus 6 gets old now, may just check to clean your port
coremania said:
So the nexus 6 gets old now, may just check to clean your port
Click to expand...
Click to collapse
Tried that already it didn't work
Might be a driver problem.
Connect it your windows pc and check the Device Manager if it is detected as "Android" device. If so uninstall it and disconnect and reconnect it to the pc. Let windows install the MTP drivers.
aliinbox said:
Might be a driver problem.
Connect it your windows pc and check the Device Manager if it is detected as "Android" device. If so uninstall it and disconnect and reconnect it to the pc. Let windows install the MTP drivers.
Click to expand...
Click to collapse
This has already been discussed if you read the "few" previous posts ... Device isn't detected at all...

couldn't connect to computer via MTP by cable to transfer files ?

hi all,
i'm new in forum, and i've just flashed this ROM theOne3TOS v3.6; after that my phone couldn't connect to computer via MTP to transfer files by cable (it only charging) (everything else stay normal, i have to boot to recovery and connect through Mount button to transfer files)
does anyone meet this problem ? and know how to fix this ?
thanks all.
bakhiem91 said:
hi all,
i'm new in forum, and i've just flashed this ROM theOne3TOS v3.6; after that my phone couldn't connect to computer via MTP to transfer files by cable (it only charging) (everything else stay normal, i have to boot to recovery and connect through Mount button to transfer files)
does anyone meet this problem ? and know how to fix this ?
thanks all.
Click to expand...
Click to collapse
Does the USB Connection type notification appear in the status bar?
ya7hu said:
Does the USB Connection type notification appear in the status bar?
Click to expand...
Click to collapse
no bro, it doesnt show any notification , it just show the LED light of charging through usb cable.
first time after flashing it still have notification shown to choose charging or change other methods: mtp / ptp / ....
then after i'd installed all apps & reboot phone to finish recover apps from Store, this problem shown up
bakhiem91 said:
no bro, it doesnt show any notification , it just show the LED light of charging through usb cable.
first time after flashing it still have notification shown to choose charging or change other methods: mtp / ptp / ....
then after i'd installed all apps & reboot phone to finish recover apps from Store, this problem shown up
Click to expand...
Click to collapse
I see, have you tried clearing the cache of MTP Host from Apps in the System Settings. Also try disabling USB Debugging.
I have this same issue using LOS 15.1. The solution is to go into Developer Settings and enable MTP using the 'Select USB Configuration' option. Then when you plug in via cable you will get the notification as normal. The problem is you have to do this every reboot, otherwise it's the same situation all over again. No Notification on plugging in and no way for your PC to see the device as it defaults to Charging mode.
I have "select USB conf" set as default (charging) and never had this issue. My PC sees the device even if I don't change the mode, I just don't see any files then. What drivers are you using?
przemcio510 said:
I have "select USB conf" set as default (charging) and never had this issue. My PC sees the device even if I don't change the mode, I just don't see any files then. What drivers are you using?
Click to expand...
Click to collapse
I just installed the Official Oneplus drivers but it didn't help. I didn't think it would. The generic Windows 10 drivers were working fine with LOS 14.1. As you said, the PC does see the phone just fine, but not files until MTP is enabled.
It's the lack of a Notification when plugging in that's the problem. Without the Notification i can't switch from Charging to MTP mode. I've tried all Notification levels too. The only way to get the Notification to appear is to use the MTP setting in Dev Options, and then it works.. until next reboot.
Edit: Enabling 'USB Debugging' seems to be a working fix currently!
ya7hu said:
I see, have you tried clearing the cache of MTP Host from Apps in the System Settings. Also try disabling USB Debugging.
Click to expand...
Click to collapse
DirkGently said:
I just installed the Official Oneplus drivers but it didn't help. I didn't think it would. The generic Windows 10 drivers were working fine with LOS 14.1. As you said, the PC does see the phone just fine, but not files until MTP is enabled.
It's the lack of a Notification when plugging in that's the problem. Without the Notification i can't switch from Charging to MTP mode. I've tried all Notification levels too. The only way to get the Notification to appear is to use the MTP setting in Dev Options, and then it works.. until next reboot.
Edit: Enabling 'USB Debugging' seems to be a working fix currently!
Click to expand...
Click to collapse
Thanks you guys, i've tried, but it still doesnt work for me, even when i flashed back to OOS OpenBeta 23, this problem still remain the same
i'm so confused ...
bakhiem91 said:
Thanks you guys, i've tried, but it still doesnt work for me, even when i flashed back to OOS OpenBeta 23, this problem still remain the same
i'm so confused ...
Click to expand...
Click to collapse
I spoke too soon about USB Debugging working. It doesn't help across reboots. Gonna Clean Install now. Hope you find a fix.
Clean install didn't help me. Just Google 'Oreo no mtp' to see how common this is.
I have a Nexus 5X on Oreo that doesn't have this problem. Other N5X owners do have it. It's totally random.
Good news everyone...
A fix is coming:
https://review.lineageos.org/#/c/209834/
At least for LOS 15.1 and any other ROMs based upon it.
@bakhiem91

Phone not recognised by ADB while USB Debugging enabled

Hello,
Phone: Redmi K20 Pro / Xiaomi Mi 9T Pro
ROM: LineageOS 17.0
I installed LineageOS on my phone yesterday.
I used ADB and Fastboot on Windows with TWRP.
Now, I want to install ANXCamera in order to get back full capacity of my camera.
From my understanding, I can also do it using TWRP.
Problem:
When I enter adb devices in the terminal while the phone is on, the device is recognised.
After I enter adb reboot bootloader, and try again adb devices, the phone is not found.
Things done:
In the settings, I allowed USB debugging.
On Windows, I checked for updated of the drivers for the phone.
I follow the same process than yesterday, when I installed LineageOS, but somehow this time it doesn't work.
Do you know where the problem can come from?
-----
Additional question:
Can you confirm if then, I will have to use adb sideload to flash the zip of this program on TWRP please?
-----
Thanks a lot
I also encountered this. I then tried it on another laptop and all went well. You may try this, use other USB port, use system restore in Windows to roll-back to the point it still worked etc (yesterday)..
XedosMD said:
I also encountered this. I then tried it on another laptop and all went well. You may try this, use other USB port, use system restore in Windows to roll-back to the point it still worked etc (yesterday)..
Click to expand...
Click to collapse
Thanks a lot, will try that.
Do you remember that is the command I should use to transfer the file in TWRP?
I don't know how it works to upload a file that is due to be an additional program and not a full ROM.
Please explain, don't know what you mean exactly.. Just copy the zip to your phone and flash within TWRP.
https://camera.aeonax.com/ is where you can download your camera app.
XedosMD said:
Please explain, don't know what you mean exactly.. Just copy the zip to your phone and flash within TWRP.
https://camera.aeonax.com/ is where you can download your camera app.
Click to expand...
Click to collapse
Really sorry, I totally forgot to get back to you...
Yes, the procedure to follow is pretty easy in fact.
I was afraid it would need the use of an external device.
Thanks a lot for your help!

Bricked s2 i9100

Hi, i wanted to install linage os. But unfortunately i got error 7. I deleted the stock android so now I can't go back. Download mode doesn't work for me, the computer doesn't find the phone. Tried removing asserts but then i get invalid zip error. Tried flashing newer trwp with the current one but i get error that the file is bigger than the partition. Any ideas?
TheHaterBg said:
Hi, i wanted to install linage os. But unfortunately i got error 7. I deleted the stock android so now I can't go back. Download mode doesn't work for me, the computer doesn't find the phone. Tried removing asserts but then i get invalid zip error. Tried flashing newer trwp with the current one but i get error that the file is bigger than the partition. Any ideas?
Click to expand...
Click to collapse
Just saw your post.
Here is <Tab S2> forum so you better ask in phone section.
Btw. Afaik in download mode the device is only found by Odin not the PC. So you can flash stock ROM still.
That sees it only in recovery mode or when ROM has started.
bmwdroid said:
Just saw your post.
Here is <Tab S2> forum so you better ask in phone section.
Btw. Afaik in download mode the device is only found by Odin not the PC. So you can flash stock ROM still.
That sees it only in recovery mode or when ROM has started.
Click to expand...
Click to collapse
I tried with Odin but the phone doesn't appear there. I think it's because the usb debugging need to be turn on and actually there is no android
TheHaterBg said:
I tried with Odin but the phone doesn't appear there. I think it's because the usb debugging need to be turn on and actually there is no android.
Click to expand...
Click to collapse
I've never tried without turned on debugging so idk.
Tried other cables/USB ports already?
If a TWRP is working what about flashlng any old custom ROM with it?
I once flashed a friends S2 with LOS 14 or higher but had to repartition it to be able to.
@TheHaterBg seems not necessarily to be turned on.
Which Odin used?

Categories

Resources